/*
Theme Name: Altosa Child
Author: elgrupo
Template: Altosa
Version: 1.0.0
Text Domain: Altosa-child
*/

/* Estructura */
a:hover,
.innerFooter a:hover {
    text-decoration: underline;
}
.languageWrapper a:hover,
.featured-grid a:hover {
    text-decoration: none;
}
#rowTitle {
    padding-top: 40px;
    padding-bottom: 80px;
}
/* ======== Header ========*/
html, body {
    height: auto;
}
header {
    max-width: 100vw;
    height: auto;
    transition: box-shadow 0s;
}
header.fixed {
    position: fixed !important;
    display: flex !important;
    top: 0 !important;
    max-width: 100vw;
    box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.5);
}
header.fixed #header-container {
    margin-bottom: 15px;
}
.home header {
    display: block;
    height: auto;
    position: relative;
}
#header-container {
    /*width: 100%;*/
    /*padding: 0 15px;*/
    display: flex;
    margin-top: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: auto;
    height: 50px;
}
body.home #header-container {
    width: 100%;
    padding: 0 20px;
}
/* MENU */
.menuBtn {
    display: flex;
    align-items: center;
    /*cursor: pointer;*/
    align-items: flex-start;
    z-index: 1;
}
.menuBtn i {
    font-size: 22px;
    color: #ccc;
    padding: 0;
    cursor: pointer;
    /*margin-left: -27px;*/
}
.navMenu {
    position: static;
    display: flex;
    background: #fff;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 3;
}
nav:after {
    display: none;
}
ul.mainMenu {
    display: flex;
    list-style: none;
    margin: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: -7px;
    z-index: 99999999999;
    /*background: #fff;*/
    left: 0;
    max-width: calc(100% - 40px);
    padding: 0 20px;
}
body:not(.home) ul.mainMenu {
    padding: 0;
    left: -2px;
}
ul.mainMenu li {
    padding: 0;
}
ul.mainMenu li a {
    color: #503908;
    font-weight: bold;
    padding: 20px;
    display: inline-block;
}
ul.mainMenu > li:first-child a {
    padding-left: 0;
}
ul.mainMenu > li:last-child {
    font-size: 22px;
    margin-left: 55px;
}
ul.mainMenu > li:last-child i {
    padding: 20px;
    color: #222;
    /*padding-right: 0;*/
    cursor: pointer;
    /*background: #fff;*/
}
.logoWrapper {
    position: absolute;
    margin: auto;
    display: block;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 0;
    top: 5px;
    display: none;
    /*opacity: 0;*/
    /*transition: opacity 0.3s;*/
}
header.fixed .logoWrapper {
    /*opacity: 1;*/
    display: block;
}
.logoWrapper img {
    max-height: 40px;
    width: auto;
}
/* LANGUAGE SWITCHER */
.languageWrapper {
    transition: all 0.3s;
    padding: 12px;
    display: flex;
    flex-direction: column;
    margin-right: -12px;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
}
.home .languageWrapper {
    right: 27px;
}
.languageWrapper.active {
    background-color: #633b32;
}
.languageWrapper > div {
    display: none;
    order: 0;
    /*flex: 0 0 100%;*/
}
.languageWrapper > div.active {
    display: block;
    order: -1;
}
.languageWrapper a {
    font-weight: bold;
    color: #ccc;
    display: flex;
}
.languageWrapper > div:not(.active) a {
    color: #fff;
}
.languageWrapper i {
    display: none;
    /*margin-left: 5px;*/
    align-items: center;
    width: 20px;
    justify-content: flex-end;
    padding-bottom: 3px;
}
.languageWrapper .active i {
    display: flex;

}
.languageWrapper.active > div i::after {
    content: '\f00c';
}
.languageWrapper.active > div a:hover i {
    display: flex;
}
.languageWrapper.active > div a:hover i::after {
    display: flex;
}
.languageWrapper.active > div i::before {
    content: '';
}
.languageWrapper span {
    width: 28px;
    display: inline-block;
}
.hideOnMenuShow {
    transition: opacity 0.3s;
}
/* Home Page */
body .featured-grid > .wpb_wrapper:hover {
    background-color: rgba(99, 59, 50, 0.85);
}
body .featured-grid > .wpb_wrapper:hover a {
    display: flex;
}
body .featured-grid > .wpb_wrapper a {
    font-weight: 600;
    font-size: 22px;
}
.noticiasSection {
    padding: 0;
}
#titleNoticias {
    margin-top: 35px;
    margin-bottom: 52px;
    font-size: 22px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.01px;
    text-align: center;
    color: #000; 
}
.noticiasWrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.noticiasWrapper .noticiaContainer {
    flex: 0 0 calc(33.33333% - 30px);
    /*padding: 0 15px;*/
    border-bottom: 10px solid #e8e8e8;
    padding-bottom: 25px;
}
.noticiaContainer .titleNoticia a {
    font-family: Montserrat;
    font-size: 18px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.11;
    letter-spacing: 0.01px;
    color: #503908;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}
.thumbnailNoticia {
    margin-bottom: 18px;
}
.noticiaContainer .excerpt {
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56em;
    letter-spacing: 0.01px;
    color: #000;
}
.noticiaContainer .excerpt > a {
    color: #503908;
    font-weight: bold;
}
.noticiaContainer .excerpt > a:hover {
    text-decoration: underline;
}
/* Footer */
.footer1 {
    padding: 30px 0;
    background: #e8e8e8;
}
.footer1 p {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: 0.01px;
    text-align: center;
    color: #503908;
    margin-bottom: 0;
}
#footer-container {
    width: 100%;
}
body footer {
    margin-top: 52px;
    height: auto;
    padding-bottom: 43px;
    border: none !important;
}
.footer1 {
    margin-bottom: 10px;
}
.footer1 .innerFooter { 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#logoFooter {
    text-align: center;
}
#logoFooter img {
    max-width: 222px;
}
body .legalPages {
    flex: 0 0 100%;
    margin-left: 0;
    justify-content: center;
}
span.cp {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: 0px;
    text-align: center;
    color: #000;
    text-align: center;
    flex: 0 0 100%;
}
body .legalPages a {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    /*line-height: 1.25;*/
    letter-spacing: 0.01px;
    text-align: center;
}
body .legalPages > a:first-child {
    margin-right: 20px;
    padding-right: 0;
    border-right: none;
}
/*@media (max-width: 767px) {
    #footer-container {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
        box-sizing: border-box;
    }
}
@media (max-width: 1024px) {
    #footer-container {
        width: 100%;
        padding-left: 80px;
        padding-right: 80px;
    }
}
@media (max-width: 1260px) {
    #footer-container {
        width: 860px;
        
    }
}
@media (max-width: 1466) {
    #footer-container {
        width: 940px;
        
    }
}*/
#cookie-law-info-bar {
    max-width: 100vw !important;
}
@media (max-width: 1200px) {
    .navMenu {
        padding: 70px 30px;
    }
    #header-container {
        width: 100%;
        padding-left: 80px;
        padding-right: 80px;
        box-sizing: border-box;
    }
    .navMenu.show {
        display: flex;
        position: fixed;
        height: 100vh;
        width: 100%;
        background: #633b32;
        z-index: 999999999; 
        left: 0;
        top: -15px;
    }
    ul.mainMenu {
        flex-wrap: wrap;
        background: transparent;
        position: relative;
        justify-content: flex-start;
        max-width: none;
    }
    ul.mainMenu li {
        flex: 0 0 100%;
    }
    ul.mainMenu li a,
    ul.mainMenu > li:last-child i {
        color: #fff;
        padding: 0;
        margin-bottom: 30px;
        background: transparent;
    }
    ul.mainMenu > li:last-child {
        position: fixed;
        right: 20px;
        top: 20px;
        background: transparent;
    }
    .featured-grid > .wpb_wrapper > p {
        justify-content: flex-end;
        padding-top: 40px;
        align-items: baseline;
    }
    body .featured-grid > .wpb_wrapper a {
        background: rgba(99, 59, 50, 0.85);
        font-size: 22px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: 0.01px;
        text-align: center;
        width: auto;
        height: auto;
        text-indent: initial;
        text-transform: none;
        padding: 16px 30px;
        margin-bottom: 0;
    }
    body .featured-grid > .wpb_wrapper:hover {
        background-color: transparent;
    }
    #main {
        margin-top: 40px;
    }
    body .featured-grid> .wpb_wrapper> p {
        height: 100%;
        padding: 0;
    }
    body .featured-grid > .wpb_wrapper a {
        width: 100%;
        height: 100%;
        text-align: right;
        background: transparent;
        padding: 0;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }
    body .featured-grid > .wpb_wrapper a > strong {
        background: rgba(99, 59, 50, 0.85);
        padding: 16px 30px;
        /* margin-left: auto; */
        height: auto;
        margin-top: 40px;
    }
    .languageWrapper {
        right: 80px;
    }
}
@media (max-width: 991px) {
    .noticiasWrapper .noticiaContainer {
        flex: 0 0 100%;
    }
    .noticiasWrapper > .noticiaContainer:not(:last-child) {
        margin-bottom: 35px;
    }
    /*    #main {
            margin-top: 40px;
        }*/
    #rowTitle {
        padding-top: 0;
        padding-bottom: 40px;
    }
}
@media (max-width: 480px) {
    .footer1 .innerFooter strong { 
        flex: 0 0 100%;
        text-align: center;
    }
    .footer1 .innerFooter > strong:first-child {
        margin-bottom: 18px;
    }
    body .featured-grid, body .featured-grid.featured-grid-2 {
        height: 265px;
    }
    body .hideOnMenuShow .featured-grid.right > .wpb_wrapper > p > a {
        justify-content: flex-start;
    }
    body .hideOnMenuShow .featured-grid.left > .wpb_wrapper > p > a {
        justify-content: flex-end;
    }
    #header-container, .container, #pre-hero, #footer-container {
        padding: 0 20px;
    }
    .languageWrapper {
        right: 15px;
    }
    .languageWrapper span {
        font-size: 20px;
        /*font-weight: normal;*/
    }
    .languageWrapper i {
        font-size: 22px;
        margin-left: 10px;
    }
}
