/*........................................................
ESTILOS DE MENU
...........................................................*/

.l-navbar {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    min-height: 100px;
    top: 0;
    z-index: 1;
}

.l-nav-container {
    max-width: var(--layout);
    width: 100%;
    margin: auto;
}

.l-nav-elements {
    max-width: 505px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.l-nav-elements a {
    margin: 0 5px;
}

.l-nav-bar {
    max-width: 581px;
    width: 100%;
    margin: 0 5px;
    position: relative;
}

.l-nav-line {
    max-width: 581px;
    width: 100%;
    border: 1px solid var(--white);
}

.l-nav-brand {
    max-width: 226px;
    min-width: 180px;
    height: auto;
    margin: 0 5px;
    object-fit: contain;
}

.l-nav-elements.u-auto-right {
    max-width: 505px;
}


/*****************
MENU MOVIL
*********************/

.l-movil-mid {
    display: none;
    transition: 0.5s all ease-in-out;
}

.l-movil-section:hover .l-movil-mid {
    display: block;
}

a.l-navbar-xs:nth-child(3) {
    width: 223px;
    text-align: center;
}

a.l-navbar-xs:nth-child(1) {
    padding: 0 10px 0 15px;
}

a.l-navbar-xs:nth-child(5) {
    padding: 0 15px 0 10px;
}

@media (min-width: 1041px) {
    #mobil {
        display: none;
    }
    #desk {
        display: flex;
    }
}

@media (max-width: 1040px) {
    #mobil {
        display: block;
    }
    #desk {
        display: none;
    }
}

.l-menu-icon {
    max-width: 35px;
    height: 35px;
    object-fit: contain;
}

.m-overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    background-color: #528808c4;
    overflow-x: hidden;
    transition: 0.5s;
}

.m-overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.m-overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));
    color: #fff;
    display: block;
    transition: 0.3s;
}

.m-overlay a:hover,
.m-overlay a:focus {
    color: #f1f1f1;
}

.m-overlay p {
    padding: 8px;
    text-decoration: none;
    font-size: calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));
    color: #fff;
    display: block;
    transition: 0.3s;
}

.m-overlay p:hover,
.m-overlay a:focus {
    color: #f1f1f1;
}

.m-overlay .closebtn {
    position: absolute;
    top: 46px;
    right: 45px;
    color: #fff;
}

.closebtn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

#mobil .l-nav-anchor:hover {
    background-color: var(--azul);
    color: #fff;
}

@media screen and (max-height: 450px) {
    .m-overlay a {
        font-size: 20px;
    }
    .m-overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

#mobil .l-nav-brand {
    max-width: 160px;
    min-width: 80px;
    height: auto;
    margin: 0 5px;
    width: 100%;
}

div#mobil.u-padding {
    padding: 0;
}

#mobil .l-burgersi {
    fill: var(--white);
    width: 40px;
    height: 40px;
}

.l-closing {
    fill: var(--white);
    width: 40px;
    height: 40px;
}

.l-social-icons {
    position: absolute;
    right: 0;
    top: 53px;
}

.l-social-icons svg {
    width: 31px;
    height: 31px;
    fill: #fff;
}


/*FOOTER */

.l-footer {
    min-height: 431px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.l-footer-content {}

.l-line-footv {
    border: 1px solid #000000;
    margin: 10px;
    height: 13px;
}

.l-fanc-items {
    display: flex;
    align-items: center;
    justify-content: center;
}


/*COOKIES*/

.verPolitCooki {
    display: inline-block;
    position: relative;
    color: var(--morado3);
}

#barraaceptacion {
    display: none;
    position: fixed;
    color: #fff;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    text-align: center;
    font-family: "Arial";
    background: linear-gradient( 141deg, #3a3a3a 0%, rgba(0, 0, 0, 0.85) 51%, rgba(0, 0, 0, 0.92) 75%);
    z-index: 99999;
    padding: 25px 0;
    font-size: 14px;
    line-height: 26px;
}

.contCookiesInt {
    display: inline-block;
    max-width: 1200px;
    width: 90%;
    vertical-align: text-top;
    position: relative;
}

.cerrCokkies {
    background: #000;
    color: #fff;
    border: solid 1px #fff;
    font-size: 11px;
    line-height: 11px;
    margin: 0;
    position: absolute;
    top: -2px;
    border-radius: 50%;
    right: -25px;
    cursor: pointer;
    padding: 3px 5px;
}

.cerrCokkies:hover {
    background: rgba(76, 75, 75, 0.81);
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

@media only screen and (max-width: 650px) {
    .cerrCokkies {
        top: 5px;
        right: -6%;
    }
    .contCookiesInt {
        width: 87%;
        float: left;
        margin: 0 0 0 3%;
    }
}

@media only screen and (max-width: 450px) {
    .cerrCokkies {
        top: 10px;
        right: -8%;
    }
    .c-noticia-2__title {
        text-align: center;
        padding: 1rem;
    }
}

.cookiesAviso {
    color: #89accc;
}


/*MODAL DE CONTACTO */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 54px;
    max-width: var(--layout990);
    min-height: auto;
    max-width: 1140px;
    width: 100%;
}

.l-contacto-layout {
    margin: auto;
    width: 100%;
    background-color: var(--white);
    border-radius: 8px;
    min-height: 481px;
    padding: 36px 10px 0 10px;
}

.l-flex-contacto {
    display: flex;
}

.l-contacto-content {
    max-width: 550px;
    width: 100%;
    height: auto;
    padding: 30px 50px;
}

.l-contacto-content .l-brand {
    max-width: 236px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.modal--active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation-name: animatetop;
    animation-duration: 1s;
}

@keyframes animatetop {
    0% {
        top: -600px;
        opacity: 0;
        transform: scaleY(0.005) scaleX(0);
    }
    50% {
        top: 0;
        opacity: 1;
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 920px) {
    .l-flex-contacto {
        flex-wrap: wrap;
        justify-content: center;
    }
    .l-contacto-content {
        text-align: center;
        padding: 30px 20px;
    }
    .l-contacto-content a {
        display: block;
        margin: auto;
    }
    .l-flex-contacto .u-object-fit-contain {
        max-height: 400px;
    }
    .modal-content {
        padding: 54px 20px;
    }
}


/* FANCY BOX */

.fancybox-slide--iframe .fancybox-content {
    max-width: 600px;
    width: 100%;
    height: 600px;
    margin: 0;
}