/* Variables */

:root {
    /* Textos */
    --texto: #444444;
    --headers: #222222;
    /* Colores */
    --gris-100: #F9FBFD;
    --gris-200: #FAFAFA;
    --gris-300: #F4F4F4;
    --gris-400: #EFEDED;
    --azul-600: #24335E;
    --azul-700: #1D2C59;
    --azul-800: #192442;
    --azul-900: #141F3E;
    --naranja-600: #F68300;
    --naranja-700: #F57200;
    --naranja-800: #E66D25;
    --naranja-900: #873F00;
    --amarillo: #FFFF1C;
    --blanco: #FFF;
    --verde-wa: #25d366;
}


/* Generales */

/* *, html {
    outline: 1px dotted tomato;
} */

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--texto);
}

@media (min-width: 992px) {
    body {
        font-size: 1.125rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    color: var(--headers);
}

h1 {
    font-weight: 800;
    font-size: 1.75rem;
}

h1.titulo::after,
h2.titulo::after {
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 1rem;
    content: '';
    background-color: var(--naranja-600);
}

h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 2.125rem;
    }
    h2 {
        font-size: 1.875rem;
    }
}

a {
    color: var(--naranja-700);
    text-decoration: none;
    transition: all ease 300ms;
}

a:hover {
    color: var(--naranja-600);
}

.boton {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    color: var(--blanco);
    text-decoration: none;
    text-align: center;
    border: 0;
    border-radius: 3px;
    background-color: var(--naranja-700);
    transition: all ease 300ms;
}

.boton:hover {
    color: var(--blanco);
    background-color: var(--naranja-600);
}

.boton.boton-block {
    display: block !important;
    width: 100%;
}

.boton-blanco-cta {
    display: inline-block;
    padding: 0.8rem 4rem;
    font-size: 1.125rem;
    color: var(--blanco);
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
    border: 2px solid var(--blanco);
    background-color: transparent;
    transition: all ease 300ms;
}

.boton-blanco-cta:hover {
    opacity: 0.7;
    color: var(--blanco);
}

.boton-conversion {
    background-color: var(--azul-600);
}

.boton-filiales {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    font-size: 1.125rem;
    color: var(--blanco);
    text-decoration: none;
    text-align: center;
    border: 0;
    border-radius: 3px;
    background-color: var(--azul-600);
    transition: all ease 300ms;
}

.boton-filiales:hover {
    color: var(--blanco);
    background-color: var(--azul-800);
}

.masthead {
    padding: 2.5rem 1rem;
}

.masthead h2 {
    color: var(--blanco);
    font-size: 1.5rem;
    line-height: 110%;
}

.masthead h2 span {
    display: block;
    font-weight: normal;
    font-size: 1.125rem;
}

@media (min-width: 576px) {
    .masthead {
        padding: 4.375rem 0;
    }
    .masthead h2 {
        font-size: 1.875rem;
        line-height: 80%;
    }
}

@media (min-width: 992px) {
    .masthead {
        padding: 5.625rem 0;
    }
    .masthead h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .masthead {
        padding: 6.25rem 0;
    }
    .masthead h2 {
        font-size: 2.813rem;
    }
}


/* Otros */
.carousel-indicators button {
    width: 100px !important;
    height: 4px !important;
    background-color: var(--naranja-700) !important;
}


/* Bloques */

.bloque {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    background-color: var(--blanco);
}

.bloque.bloque-separador {
    border-top: 0.25rem solid var(--gris-200);
}

.bloque.bloque-gris {
    background-color: var(--gris-200);
}

@media (min-width: 576px) {
    .bloque {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

@media (min-width: 992px) {
    .bloque {
        padding-top: 6.25rem;
        padding-bottom: 6.25rem;
    }
}

@media (min-width: 1200px) {
    .bloque {
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
    }
}


/* Header */

.header {
    padding: 1.25rem 0;
    background-color: var(--blanco);
}

.logo-header {
    width: 9.375rem;
    height: auto;
}

.telefonos-header {
    font-size: 0.813rem;
}

.telefonos-header .telefonos {
    font-weight: bold;
    font-size: 1.5rem;
}

.telefonos-header a {
    color: var(--azul-700);
}

.telefonos-header a:hover {
    color: var(--naranja-600);
}

.btn-menu {
    width: 2.813rem;
    height: auto;
}

.menu-principal {
    margin: 0;
    padding: 0;
    color: var(--azul-700);
    list-style-type: none;
}

.menu-principal > li {
    margin-bottom: 0.7rem;
    padding-bottom: 0.7rem;
    font-size: 1.375rem;
    font-weight: 600;
    border-bottom: 1px solid var(--gris-300);
}

.menu-principal > li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: 0;
}

.menu-principal a {
    color: var(--azul-700);
}

.menu-principal a:hover {
    color: var(--naranja-600);
}

.menu-principal ul {
    margin-top: 0.5rem;
    padding: 0 0 0 1rem;
    font-size: 1.125rem;
    font-weight: normal;
    list-style-type: none;
}

.menu-principal ul li {
    margin-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.menu-principal ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.telefonos-menu {
    margin-top: 3.75rem;
    font-size: 0.875rem;
}

.telefonos-menu span {
    display: block;
    margin-bottom: 0.5rem;
}

.telefonos-menu .telefono {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--azul-700);
    line-height: 125%;
}

.telefonos-menu .telefono:hover {
    color: var(--naranja-600);
}

@media (min-width: 576px) {
    .logo-header {
        width: 12.5rem;
    }
}

@media (min-width: 992px) {
    .header {
        padding: 1.875rem 0;
    }
}

/* Convertidor */

.convertidor {
    /* background: url(../img/comunes/fondo-convertidor.svg) no-repeat center center, rgb(245,114,0); */
    /* background: url(../img/comunes/fondo-convertidor.svg) no-repeat center center, linear-gradient(90deg, rgba(245,114,0,1) 0%, rgba(246,150,0,1) 100%); */
    background-color: var(--naranja-700);
    background-size: cover;
}

.widget-convertidor {
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--blanco);
}

.titulo-widget {
    display: block;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
    color: var(--azul-700);
}

.divisa {
    display: flex;
    align-items: center;
    justify-content: center;
    /**/
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1.875rem;
    color: var(--azul-800);
    border-radius: 0.25rem;
    cursor: pointer;
    background-color: var(--gris-200);
}

.divisa img {
    width: 2.5rem;
    height: auto;
    margin-right: 0.75rem;
    border: 2px solid var(--gris-400);
    border-radius: 50%;
}

.divisa.activo {
    color: var(--blanco);
    background-color: var(--azul-600);
}

.compra-venta {
    display: none;
    margin-top: 1rem;
    text-align: center;
}

.compra-venta.d-flex {
    animation: animacion-fondo 1500ms 1;
}

.precio-compra-venta .precio {
    display: block;
    font-weight: bold;
    font-size: 2.25rem;
    line-height: 100%;
    color: var(--naranja-700);
}

.precio-compra-venta strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

@keyframes animacion-fondo {
    from {background-color: var(--amarillo);}
    to {background-color: transparent;}
}

.cta-convertidor {
    margin-top: 1.5rem;
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--blanco);
}

.cta-convertidor a {
    color: var(--azul-600);
}

.cta-convertidor a:hover {
    color: var(--azul-800);
}

@media (min-width: 992px) {
    .cta-convertidor {
        margin-top: 2.5rem;
        font-size: 1.7rem;
    }
}


/* Preguntas Frecuentes */

.accordion-header button {
    font-weight: bold;
    font-size: 1rem;
    background-color: var(--gris-300);
}

.accordion-body {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .accordion-header button {
        font-size: 1.125rem;
    }
}


/* Footer */

.footer-cta-1 {
    padding: 2.5rem 0;
    color: var(--blanco);
    /*background: url(../img/comunes/fondo-footer.svg) no-repeat;*/
    background-color: var(--naranja-700);
    background-size: cover;
}

.footer-cta-1 h3 {
    font-size: 1.5rem;
    color: var(--blanco);
}

.footer-cta-1 h3 span {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 1rem;
}

@media (min-width: 992px) {
    .footer-cta-1 {
        padding: 5rem 0;
    }
    .footer-cta-1 h3 {
        font-size: 1.75rem;
    }
    .footer-cta-1 h3 span {
        font-size: 1.125rem;
    }
}

@media (min-width: 1200px) {
    .footer-cta-1 {
        padding: 6.25rem 0;
    }
    .footer-cta-1 h3 {
        font-size: 1.875rem;
    }
    .footer-cta-1 h3 span {
        font-size: 1.25rem;
    }
}

.footer-cta-2 {
    padding: 2.5rem 0;
    color: var(--blanco);
    font-size: 0.875rem;
    background-color: var(--naranja-800);
}

.footer-cta-2 .telefonos {
    margin-top: 0.5rem;
    font-size: 1.375rem;
    font-weight: bold;
}

.footer-cta-2 .telefonos a {
    color: var(--blanco);
}

.footer-cta-2 .telefonos a:hover {
    color: var(--naranja-600);
}

@media (min-width: 576px) {
    .footer-cta-2 .telefonos {
        margin-top: 0;
        margin-left: 1rem;
        font-size: 1.75rem;
    }
}

@media (min-width: 992px) {
    .footer-cta-2 {
        padding: 3.125rem 0;
    }
}

.footer-bottom-1 {
    padding: 2.5rem 0;
    font-size: 1rem;
    border-bottom: 4px solid var(--gris-400);
    background-color: var(--gris-300);
}

.titulo-col {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
}

.links-redes img {
    width: 2rem;
    height: auto;
}

@media (min-width: 992px) {
    .footer-bottom-1 {
        padding: 5rem 0;
    }
}

@media (min-width: 1200px) {
    .footer-bottom-1 {
        padding: 6.25rem 0;
    }
}

.footer-bottom-2 {
    padding: 1.875rem 0;
    font-size: 0.875rem;
}

.credenciales img {
    margin: 0 auto 1rem auto;
    width: 6.063rem;
    height: auto;
}

@media (min-width: 992px) {
    .credenciales img {
        margin: 0 1rem 0 0;
    }
}

.float-wa-btn {
    position: fixed;
    width: 3.75rem;
    height: 3.75rem;
    bottom: 2.5rem;
    left: 2.5rem;
    color: var(--blanco);
    text-align:center;
    font-size: 1.875rem;
    border-radius: 3.125rem;
    background-color: var(--verde-wa);
    z-index:100;
}

.my-float-wa-btn {
    width: 2.2rem;
    height: 2.2rem;
    margin-top: 0.6rem;
}


/* Tiempo de cruce en puentes */

.masthead.tiempo-de-cruce-en-puentes {
    background: url(../img/tiempo-de-cruces-en-puentes/fondo-tiempo-de-cruces-en-puentes.jpeg) no-repeat center center, rgba(0, 0, 0, 0.4);
    background-size: cover;
    background-blend-mode: multiply;
}

.card-contenido {
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: -1px 1px 31px 7px rgba(0,0,0,0.14);
    -webkit-box-shadow: -1px 1px 31px 7px rgba(0,0,0,0.14);
    -moz-box-shadow: -1px 1px 31px 7px rgba(0,0,0,0.14);
    background-color: var(--blanco);
}

.card-contenido img {
    width: 2rem;
    height: auto;
    margin-bottom: 1.25rem;
}

.card-contenido .imagen-estado,
.card-contenido .imagen-post {
    width: 100%;
    height: auto;
}

.card-contenido h3 {
    font-size: 1.2rem;
}

.card-contenido h3 span {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: normal;
    font-size: 1rem;
}

.card-contenido .descripcion {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-contenido .tiempo {
    margin-top: 1.2rem;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 100%;
    text-align: center;
    color: var(--azul-700);
}

.card-contenido .enlace {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.card-contenido .tels-email,
.card-contenido .horarios-sucursal {
    font-size: 1rem;
}

.card-contenido.post {
    padding: 0;
}

.card-contenido.post img {
    margin: 0;
}

.post .post-excerpt {
    padding: 1rem;
}

@media (min-width: 576px) {
    .card-contenido {
        padding: 1.875rem;
    }
    .card-contenido img {
        width: 2.5rem;
    }
    .card-contenido h3 {
        font-size: 1.5rem;
    }
    .card-contenido h3 span {
        font-size: 1.2rem;
    }
    .card-contenido .tiempo {
        font-size: 1.875rem;
    }
    .card-contenido .tc {
        font-size: 1.5rem;
    }
}


/* Acerca de nosotros */

.masthead.acerca-de-nosotros {
    background: url(../img/acerca-de-nosotros/fondo-acerca-de-nosotros.jpeg) no-repeat center center, rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-blend-mode: multiply;
}


/* Acerca de CNBV */

.masthead.acerca-de-cnbv {
    background: url(../img/acerca-de-cnbv/fondo-acerca-de-cnbv.jpeg) no-repeat center center, rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-blend-mode: multiply;
}


/* Tipo de cambio oficial */

.masthead.tipo-de-cambio-oficial {
    background: url(../img/tipo-de-cambio-oficial/fondo-tipo-de-cambio-oficial.jpeg) no-repeat center center, rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-blend-mode: multiply;
}


/* Sucursales */

.masthead.sucursales-nuevo-leon {
    background: url(../img/sucursales/fondo-sucursales-nuevo-leon.jpg) no-repeat center center, rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-blend-mode: multiply;
}

.masthead.sucursales-quintana-roo {
    background: url(../img/sucursales/fondo-sucursales-quintana-roo.jpg) no-repeat center center, rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-blend-mode: multiply;
}

/* Blog */

.detalle-post h1 {
    margin-bottom: 2rem !important;
}

.detalle-post h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}


/* Contacto */

.formulario-contacto label {
    font-weight: bold;
    font-size: 0.8rem;
}

.formulario-contacto input,
.formulario-contacto textarea {
    border-width: 2px;
    border-radius: 4px;
}

.mensaje-formulario {
    font-size: 1rem;
}