/* HEADER */
/* ====== */

.header-compatible {
    height: 72px !important;
}
@media (max-width: 67em) {
    .header-compatible { height: auto; }
}

.header {
    height: 85px;
    border-bottom: 9px double #34084d;
    box-sizing: border-box;
    background-color: #FFFFFF;
}
.header__text {
    margin-bottom: 24px;
    width: 520px;
    height: auto;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
}
.header__logo {
    margin-right: 22px;
    margin-bottom: 26px;
}
.header__logo .logo-img_full {
    height: 132px;
}

@media (min-width: 67em) {
    .header-hide {display:none !important;}
}

@media (max-width: 67em ) {
    .header {
        height: auto;
        border-bottom: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        transition: top 0.4s, max-height 0.1s linear;
    }
    .header__text-and-logo-wrapper {
        position: relative;
        padding: none;
        height: 100%;
    }
    .header__text-and-logo {
        max-height: 143px;
        height: 96px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        background-color: #34084d;
        transition: top 0.4s, max-height 0.1s linear;
        padding: 20px 20px 10px 20px;
    }
    .black-border { border-bottom: 9px solid #000000; }
    .header.smaller {
        max-height: 109px;
        transition: top 0.4s, max-height 0.1s linear;
    }
    .header__text-and-logo.smaller {
        max-height: 100px;
        transition: top 0.4s, max-height 0.1s linear;
    }
    .header__logo {
        height: fit-content;
        margin: 0;
        align-self: flex-start;
    }
    .header__logo .logo-img_full {
        height: 53px;
    }
    .header__logo .logo-img_no-text {
        height: 53px;
    }

    .header__text {
        display: none;
    }
}


/* NAVBAR */
/* ====== */

@media (min-width: 67em) {
    .navlink-wrapper:hover { font-weight: bold; }
    .md-bold {
        font-family: "Helvetica Neue", Helvetica, sans-serif;
        font-weight: bold;
    }
    .md-yellow { color: #00fedc; }
}

.hidden { display: none !important; }
.toggle-menu { display: none; }

a.navlink {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}
.navbar a span::after {
    display: block;
    content: attr(title);
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-weight: bold;
    content: attr(data-name);
    line-height: 1;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    z-index: 1;
    width: 100%;
    transition: top 0.4s;
    font-size: 15px;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    border-bottom: 9px solid transparent;
}

.main-menu-bg { background-color: #000000; }
.sub-menu-bg { background-color: #FFFFFF; }
.expanded-menu-bg { background-color:rgba(245, 245, 245, 0.9); }


/* Aqui se modifico esto

    max-width: 63rem;
    margin: auto;
    box-sizing: border-box;
    min-height: 72px;
    padding: 20px 0 16px 0;
    display: grid;
    grid-template-columns: 180px repeat(4, max-content) 1fr;
    grid-auto-columns: max-content;
    column-gap: 2em;
    color: #FFFFFF;*/
.menu-grid {
    max-width: 70rem;
    margin: auto;
    box-sizing: border-box;
    min-height: 89px;
    padding: 20px 0 16px 0;
    display: grid;
    grid-template-columns: 230px repeat(5, max-content) 1fr;
    grid-auto-columns: max-content;
    column-gap: 1em;
    color: #FFFFFF;
    margin-right: 20%;
}

.sub-menu .menu-grid,
.expanded-menu .menu-grid {
    grid-template-columns: 230px repeat(6, max-content);
    color: #3C3732;
}

.main-menu .border-left {
    border-left: 1px solid #FFFFFF;
    padding-left: 10px;
}
.sub-menu .border-left, .expanded-menu .border-left {
    border-left: 1px solid #3C3732;
    padding-left: 10px;
}

.main-menu .navlink-wrapper, .sub-menu .navlink-wrapper { height: 53px; }
.navlink-wrapper.parent-link { padding-bottom: 14px; }

.mobile-arrow-right, .mobile-arrow-left { display: none; }

@media (min-width: 67em) {
    .sub-menu > .menu-grid > div:first-child { visibility: hidden; }
}

@media (max-width: 52em) {
    .navbar_responsive {
        overflow-y: scroll;
    }
}
@media (max-width: 67em) {
    .body-override { margin-top: 143px !important; }
    .body-overlay {
        position: fixed;
        display: none;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ffffff;
        z-index: 1;
        opacity: 0.5;
    }
    .toggle-menu {
        display: block;
        width: 9vmin;
        align-self: flex-start;
        cursor: pointer;
        padding-top: 17px;
    }
    .navbar {
        width: 320px;
        max-width: 100vw;
        height: 100vh;
        top: 0;
        right: -320px;
        box-sizing: border-box;
        border-bottom: 9px solid transparent;
        transition: right 0.2s ease-in;
    }
    .navbar_responsive {
        top: 0;
        right: 0;
        transition: right 0.2s ease-in;
        overflow: hidden;
        border-bottom: none;
    }
    .main-menu-bg,
    .sub-menu-bg,
    .expanded-menu-bg {
        background-color: #ffffff;
        height: 100vh;
        z-index: 10;
    }
    .sub-menu-bg, .expanded-menu-bg {
        position: absolute;
        width: 320px;
        max-width: 100vw;
        top: 0;
        bottom: 0;
        right: -320px;
        background-color: #FFFFFF;
        z-index: 20;
        transition: right 0.2s ease-in;
    }
    .sub-menu_visible, .expanded-menu_visible {
        right: 0;
        transition: right 0.2s ease-in;
    }
    .menu-grid,
    .sub-menu .menu-grid,
    .expanded-menu .menu-grid {
        width: 100%;
        grid-template-columns: 1fr;
        column-gap: 0;
        padding: 0;
    }
    .menu-grid .navlink-wrapper:first-child {
        background: #34084d;
    }
    .main-menu .navlink-wrapper,
    .sub-menu .navlink-wrapper,
    .expanded-menu .navlink-wrapper {
        height: auto;
        padding: 20px;
        border: 1px solid #34084d;
        border-collapse:collapse;
        display: flex;
        justify-content: space-between;
        align-content: center;
        color: #34084d;
        font-size: 20px;
        background: #F5F5F5;
    }
    .border-left {
        border: none;
        padding-left: 20px;
        border: 1px solid #3C3732;
        border-collapse:collapse;
    }
    .expanded-menu .border-left { padding-left: 0; }
    .mobile-arrow-right {
        display: block;
        padding-left: 20px;
        width: 20px;
        cursor: pointer;
        font-size: 10px;
    }
    .mobile-arrow-left {
        display: block;
        padding-right: 20px;
        width: 40px;
        cursor: pointer;
    }
    .mobile-hidden {
        display: none;
    }
}


.navbar-search.navlink-wrapper {
    grid-row: 1;
    grid-column: -1;
}
.navbar-search a > span {
    color: white;
    font-weight: normal;
}
@media (min-width: 67em) {
    .navbar-search { width: 70px; }
}
@media (max-width: 67em) {
    .navbar-search.navlink-wrapper {
        background-color: #FFFFFF;
        grid-column: 1;
        grid-row: 7;
        margin: 0;
    }
    .navbar-search > div { width: 100%; }
    .navbar-search a > span { color: #78736E; }
}



/* FOOTER */
/* ====== */

.footer__wrapper {
    background: #34084D;
    margin-top: 60px;
}
.footer {
    height: 360px;
    margin: auto;
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, max-content) 1fr;
    grid-template-rows: max-content auto;
    column-gap: 36px;
}
.footer__column {
    border-left: 1px solid #FFFFFF;
    padding-left: 14px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}
.footer,
.footer__column a,
.footer__column span,
.footer__bottom-row,
.footer__bottom-row a {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.5;
    color: #FFFFFF;
}
.footer__column a:hover {
    color: #F0A51E;
    font-weight: bold;
    text-decoration: none;
}
.footer__column > a::after {
    display: block;
    content: attr(data-name);
    font-weight: bold;
    line-height: 1;
    height: 0;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.footer__address {
    grid-column: 1 / span 3;
    grid-row: 2;
    align-self: end;
}

.footer__logo {
    grid-column: 4 / span 1;
    grid-row: 2;
    align-self: end;
    justify-self: end;
}

.footer__column.logos {
    justify-self: end;
    border: none;
}
.footer__column.logos h3 {
    font-size: 12px;
    margin-top: 0;
    font-variant: small-caps;
    text-transform: none;
}
.logo-row {
    display: flex;
}
.logo-row img {
    width: 30px;
    padding-right: 1rem;
}
.logo-row a:last-child img { padding-right: 0; }

.logo-hover { position: relative; }
.logo-hover img:last-child { display: none; }
.logo-hover:hover img:last-child {
    display: inline;
    position: absolute;
    top: 0;
    left: 0;
}

.footer__bottom-row, .footer__bottom-row a {
    background-color: #3C3732;
    color: #96918C;
}
.footer__bottom-row .container > div {
    display: flex;
    height: auto;
    padding: 14px 0;
}
.footer__bottom-row #toTop {
    cursor: pointer;
}

@media (min-width: 52em) {
    .footer__address > .footer__column { display: none; }
}
@media (max-width: 52em) {
    .footer__wrapper {
        height: auto;
    }
    .footer {
        display: flex;
        flex-direction: column;
        padding-left: 30px;
        height: 100%;
    }
    .footer__column {
        border: none;
        padding: 0;
        padding-bottom: 24px;
    }
    .footer__logo {
        justify-self: start;
        align-self: start;
    }
    .logo-row {
        justify-content: flex-start;
    }

    .footer__bottom-row .container > div {
        flex-direction: column;
        height: auto;
        padding: 14px 30px 30px 30px;
    }
    .footer__bottom-row .container > div > div {
        padding-top: 16px;
    }
    .footer__bottom-row .rights { text-align: justify; }

    .footer__bottom-row .container > div > div:nth-child(2) { order: 3; }
    .footer__bottom-row .container > div > div:nth-child(3) { order: 2; }

}

.btn-flotante {
    font-size: 16px; /* Cambiar el tamaño de la tipografia */
    text-transform: uppercase; /* Texto en mayusculas */
    font-weight: bold; /* Fuente en negrita o bold */
    color: #ffffff; /* Color del texto */
    border-radius: 5px; /* Borde del boton */
    letter-spacing: 2px; /* Espacio entre letras */
    background-color: #34084d; /* Color de fondo */
    padding: 18px 30px; /* Relleno del boton */
    position: fixed;
    bottom: 40px;
    right: 40px;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
}
.btn-flotante:hover {
    background-color: #2c2fa5; /* Color de fondo al pasar el cursor */
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-7px);
}
@media only screen and (max-width: 600px) {
    .btn-flotante {
        width: 36%;
        font-size: 14px;
        padding: 12px 20px;
        bottom: 20px;
        left: 20px;
    }
} 

.btn-flotante2 {
    font-size: 16px; /* Cambiar el tamaño de la tipografia */
    text-transform: uppercase; /* Texto en mayusculas */
    font-weight: bold; /* Fuente en negrita o bold */
    color: #34084d; /* Color del texto */
    border-radius: 5px; /* Borde del boton */
    letter-spacing: 2px; /* Espacio entre letras */
    background-color: #ffffff; /* Color de fondo */
    border: 3px solid #34084d;
    padding: 18px 30px; /* Relleno del boton */
    position: fixed;
    bottom: 40px;
    left: 40px;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
}
.btn-flotante2:hover {
    color: #ffffff;
    background-color: #34084d; /* Color de fondo al pasar el cursor */
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-7px);
}
.btn-flotante2 a{
    color: #34084d;
}
.btn-flotante2 a:hover{
    color: #ffffff;
}

@media only screen and (max-width: 600px) {
    .btn-flotante2 {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 100px;
        left: 20px;
        /*left: auto;*/
    }


} 
.btn-flotante3 {
    font-size: 16px; /* Cambiar el tamaño de la tipografia */
    text-transform: uppercase; /* Texto en mayusculas */
    font-weight: bold; /* Fuente en negrita o bold */
    color: #ffffff; /* Color del texto */
    border-radius: 5px; /* Borde del boton */
    letter-spacing: 2px; /* Espacio entre letras */
    background-color: transparent; /* Color de fondo */
    padding: 18px 30px; /* Relleno del boton */
    position: fixed;
    bottom: auto;
    right: 40px;
    width: 6%;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgb(255 255 255 / 0%);
    z-index: 99;

    
}
.btn-flotante3:hover {
    /*background-color: #2c2fa5; /* Color de fondo al pasar el cursor */
    /*box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);*/
    transform: translateY(-7px);
}
@media only screen and (max-width: 600px) {
    .btn-flotante3 {
        width: 15%;
        font-size: 14px;
        padding: 12px 20px;
        /* bottom: 20px; */
        right: 0px;
        top: 60px;
    }
} 