/*ESTILOS UNIVERSALES*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
}

/*ESTILOS GENERALES*/

.container-fluid {
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: 600;
    color: #1B5767;
    text-align: center;
}

span {font-size:  1em;}

#btn-whatsapp-contacto div i {
    font-size: 1.5em;
}
/* ---HEADER--- */
header {
    background: linear-gradient(to bottom right, #59AEF8, #2f71aa);
    padding: 7em 0;
    margin-bottom: 3em;
}

header .titulos-del-header {
    padding: 2em 1.5em;
    border: 1px solid #ffffff;
    border-radius: 15px;
}

header .titulos-del-header h1 {
    color: #ffffff;
    text-align: center;
}


/* ---MAIN--- */

/*Blog*/
main .blog {
    padding: 3em 0;
}

main .blog .entrada {margin-bottom: 1.5em;}
/* La imagen va en posición absoluta para que la altura la marque el texto. */
main .blog .entrada .thumbnail {
    position: relative;
    display: block;
    height: 100%;
    min-height: 9.3125em;
    overflow: hidden;
    border-radius: 5px 0 0 5px;
}

main .blog .entrada .thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
main .blog .entrada .descripcion {
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 0 5px 5px 0;
    padding: .75em 1em;
}
main .blog .entrada .descripcion .titulo-entrada {
    text-align: start;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: .25em;
}
main .blog .entrada .descripcion .titulo-entrada a {
    font-size: inherit;
    color: #1B5767;
    text-decoration: none;
}
main .blog .entrada .descripcion .titulo-entrada a:hover {text-decoration: underline;}
main .blog .entrada .descripcion .fecha {
    display: block;
    color: #6c757d;
    font-size: .8em;
}
main .blog .entrada .descripcion .fecha * {font-size: inherit;}

main .blog .entrada .descripcion .desc {font-size: .9em; margin: .5em 0;}
main .blog .entrada .descripcion .cta {font-size: .9em; font-weight: 600;}

main .blog .cta-al-blog {
    display: block;
    width: 100%;
    text-align: center !important;
}

/* //Contacto */
.btn-formulario {
    font-weight: 700;
    color: #ffffff;
    background-color: #59AEF8;
}

.btn-formulario:hover {
    color: #ffffff !important;
    background-color: #36a1ff;
}

/* ---FOOTER--- */
footer {
    padding-top: 2em !important;
    background-color: #1B5767;
    color: #ffffff;
    padding: 20px;
}
footer h3 {
    color: #59AEF8;
    font-size: 1.2em;
    font-weight: 600;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
}

footer ul li a:hover {
    color: #59AEF8; 
}
/* //Suscríbete a nuestro newsletter*/
footer .container .row .col-12 div button {
    color: #ffffff !important;
    font-weight: 700 !important;
    background-color: #E20000 !important;
}
footer .container .row .col-12 div button:hover {
    background-color: #b60000 !important;
}

/*MEDIA QUERY*/

@media only screen and (max-width: 768px) {
    header .contenido-principal-header a .cta-header {
        width: 100%;
    }
}

/* En pantallas chicas se oculta el resumen para que la tarjeta no se desborde. */
@media only screen and (max-width: 517px) {
    main .blog .entrada .descripcion .titulo-entrada {font-size: 1em;}
    main .blog .entrada .descripcion .desc {display: none;}
}