/*
Theme Name: TS Generic Child
Theme URI: https://wordpress.org/themes/twentyseventeen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Mi tema hijo genérico para no-Divi
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentyseventeen
Text Domain: TS-Generic-Child
*/


/* --- Mis estilos --- */
@import url('https://fonts.googleapis.com/css?family=Oswald|Montserrat:400,500,600');
@import url('https://use.fontawesome.com/releases/v5.6.3/css/all.css');

body {
	font-size: 15px;
	font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald',arial,sans-serif;
    margin: 0 0 20px;
}

h1.entry-title {
    font-size: 36px;
}

h2.entry-title {
    font-size: 30px !important;
}


p {
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

@media screen and (min-width: 768px) {

    .site-content {
        padding: 30px 0 0;
    }

    .page-header {
        padding-bottom: 0;
    }

    .site-title {
        font-size: 24px;
    }

    .site-description {
        font-size: 14px;
        font-weight: bold;
        max-width: 500px; 
        margin-right: 30px;
    }

    .custom-logo-link img {
        max-width: 250px;
    }

    .wrap {
        max-width: 1200px !important;
        padding-left: 3em;
        padding-right: 3em;
    }

    .has-sidebar #secondary {
        width: 26%;
    }

    .has-sidebar:not(.error404) #primary {
        width: 70%;
    }

    h2.widget-title {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 15px; 
        color: #5a7307;
        letter-spacing: 1px;
    }
}

.site-branding {
    margin-bottom: 45px !important;
}

@media (max-width: 1021px) {
    #a-home {   
        display: none;
    }
    .site-branding {
        margin-bottom: 0 !important;
        padding: 20px 0 !important;
    }
    .navigation-top {
        bottom: initial !important;
        position: initial !important;
    }
    #barra-sup-top {
        position: initial !important;
        top: initial !important;
    }
}

.navigation-top {
    background: #96bf0d;
    border: none;
}

.navigation-top > .wrap {
    padding: 0 40px;
}

#top-menu li {
    background: #96bf0d;
}

#top-menu li a {
    font-family: 'Oswald',arial,sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    background: #96bf0d;
}

#top-menu li a:hover,
#top-menu li a:focus {
    background: #708f0a;
    color: #fff;
}

#top-menu li.current-menu-item a{
    background: #708f0a;
    color: #fff;
}

#top-menu li ul li a {
    color: #fff !important;
    background: #a74eaf;
    line-height: 26px;
    font-size: 14px !important;
    text-transform: uppercase;
    display: block;
    padding: 10px 20px;
    border-bottom: 1px dashed #fff;
}

#top-menu li ul li a:hover,
#top-menu li ul li a:focus {
    background: #75367a !important;
}

.single-featured-image-header {
    margin: 30px auto;
    display: none;
}

#barra-sup-top {
    background: #333;
    position: relative; 
    top: -52px;
    padding: 5px 0;
    text-align: right;
}

.social-icons {
    text-align: right;
    display: inline-block;
}

.social-icons i {
    color: #fff;
    font-size: 24px;
    margin-left: 5px;
}

#div-idiomas {
    display: inline-block;
    width: 190px;
    vertical-align: bottom;
}

#div-idiomas #flags {
    width: 100% !important;
}

#a-home {
    position: absolute;
    left: 55px;
    background: #96bf0d;
    padding: 14px 20px 8px;
    top: -15px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    z-index: 9;
}

.div-contacto-block {
    display: inline-block;
}

.fab.fa-whatsapp-square {
    color: #7a9816;
    font-size: 24px;
    vertical-align: bottom;
}

/* ===  Footer  ===*/

footer#colophon {
    background: #e5e5e5;
    border: none;
    box-shadow: 0px -5px 25px 25px #e5e5e5;
}

.p-footer {
    font-size: 14px;
}

#glt_widget-2 > #flags {
    width: 200px;
}

#div-createdby {
    font-size: 12px;
    text-align: center;
}

#div-createdby a {
    color: #ffc708;
    background: #333;
    padding: 3px 6px;
    display: inline-block;
    border-radius: 5px;
}

.copyright {
    text-align: center;
}

.div-rating {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.div-rating > div {
    font-size: 12px;
}

.div-rating span {
    font-size: 14px;
}

.div-rating ul { 
    margin-bottom: 0 !important;
    padding: 0;
}

.div-rating ul li {  
    list-style: none;
    display: inline-block; 
    border: none;
}

.div-rating i {
    color: #ffc708;
}


