html,body {
    height: 100%;
}

html {
    background-color: transparent;
    scroll-behavior: smooth;
}
body {
    /* font-size: 1.05rem; */
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    letter-spacing: -.25px;
    font-weight: 700;
}

b, strong {
    font-weight: 500;
}

.container {
    width: 1400px;
    max-width: 100%;
}
.container-fluid {
    width: 1600px;
    max-width: 100%;
}

@media(min-width: 800px) {
    .container {
        padding: 0 2.5rem;
    }
    .container-fluid {
        padding: 0 2.5rem;
    }
    .container {
        padding: 0 4rem;
    }
}

.rounded-xl {
    border-radius: 10rem;
    overflow: hidden;
}

.bottom-0 {
    bottom: 0;
}
.top-0 {
    top: 0;
}
.left-0 {
    left: 0;
}
.right-0 {
    right: 0;
}

.c-pointer {
    cursor: pointer;
}

.transition {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.z-index-99 {
    z-index: 99;
}

.z-index-999 {
    z-index: 999;
}


.row-stretched > div {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.row-stretched {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.icon-rounded {
    border: 1px solid;
    text-align: center;
    border-radius: 100%;
    min-width: 2.75rem;
    min-height: 2.75rem;
    height: 2.75rem;
    width: 2.75rem;
    line-height: 2.75rem;
}

.icon-rounded.icon-1x {
    border: 1px solid;
    text-align: center;
    border-radius: 100%;
    min-width: 3.1rem;
    min-height: 3.1rem;
    height: 3.1rem;
    width: 3.1rem;
    line-height: 3.1rem;
    vertical-align: middle;
}

.icon-rounded.icon-2x,
.img-icon-2x {
    min-width: 4.5rem;
    min-height: 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
}
.icon-rounded.icon-3x,
.img-icon-3x {
    min-width: 4.5rem;
    min-height: 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
}

.btn-rounded {
    border-radius: 10rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.bg-multiply {
    background-blend-mode: multiply;
}
.bg-center {
    background-position: center;
}
.bg-cover {
    background-size: cover;
}
.bg-overlay-2 {
    background: rgb(34 66 174);
    background: linear-gradient(0deg, rgb(34 66 174) 0%, rgba(0,212,255,0) 100%);
    transition: all .5s ease;
}

.bg-fixed {
    background-attachment: fixed;
}

.object-fit-contain {
    object-fit: contain;
}
.object-fit-cover {
    object-fit: cover;
}


#main-header .desktop-navbar .navbar-nav .nav-link {
    padding-right: 1rem;
}


#main-footer .nav-link {
    color: #fff;
    padding: .15rem 0;
    font-size: 95%;
}


.navbar-brand img, #main-footer img {
    height: 60px;
    width: auto;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #2242ae;
    font-weight: 500;
}



#main-footer .wpcf7-email {
    padding-left: 2rem;
    position: relative;
}

#main-footer .wpcf7-form-control-wrap[data-name="email"]:before {
    content: "\f0e0";
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: #fff;
    width: 20px;
    height: 20px;
    z-index: 999;
    padding: .5rem
}


article.page iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

@media(min-width: 1200px) {
    article.page p,
    article.page li {
        color: #253a47;
        margin-bottom: 2rem;
        line-height: 1.85rem;
        font-size: 1.15rem;
    }
}

article.page li {
    margin-bottom: .25rem;
}

.wp-block-image {
    text-align: center;
    margin-bottom: 2rem;
}

.wp-block-image img {
    border: 1px solid #dedede;
}


.card-post img {
    width: 100%;
    height: 200px;
}


.card-post .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5rem;
}
.card-post .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-post .post-contents {
    height: 5.5rem;
}

.border-5px {
    border-width: 5px !important;
}

.post-actividades .single-header .header-contents {
    margin-left: 70px;
}

.post-actividades .single-header .position-absolute {
    margin: 0 !important;
}

.page .post-content img {
    margin: 0 auto 1rem;
    display: block;
    background-color: #fff;
    border-radius: 1rem;
    border: 1px solid #dedede;
    padding: 1rem;
}


.card-actividades .position-absolute {
    margin: 0 !important;
}

.card-actividades .post-contents {
    padding-left: 65px;
}


.card-post .meta,
.card-post-mini .meta {
    text-transform: capitalize;
}


@media(min-width: 1375px) {
    .container .flickity-prev-next-button.next {
        right: -30px;
    }
    
    .container .flickity-prev-next-button.previous {
        left: -30px;
    }
}
@media(min-width: 1200px) {
    .col-xl-10-porcent {
        flex: 0 0 10%;
        max-width: 10%;
    }
}

.card-post-mini .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-post-mini .post-contents {
    height: 6rem;
}


.card-about:hover .card-body {
    background-color: transparent !important;
    color: #fff;
}

.card-about:hover .card-body a {
    color: #fff !important;
}

.card-about:hover .card-body .icon-rounded {
    background-color: #fff !important;
    color: inherit !important;
}


form.wpcf7-form p {
    margin-bottom: 5px;
}


#welcome .slide-content {
    min-height: 550px;
}

#welcome .lead p, #welcome .lead h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#welcome h2 {
    -webkit-line-clamp: 1;
    height: 3rem;
}

#welcome .lead p {
    -webkit-line-clamp: 2;
    height: 4rem;
}



.card {
    box-shadow: 0px 16px 16px rgb(34 66 174 / 40%);
    border: 0;
    -webkit-box-shadow: 0px 16px 16px rgb(34 66 174 / 40%);
    border-radius: 1rem !important;
    overflow: hidden;
    transition: all .5s ease;
}
.card:hover card-body {
    background-color: inherit;
}

.card .card-body {
    background-color: transparent !important;
}

.card:hover .card-body {
    /* background-color: initial !important; */
}

.card:hover {
    box-shadow: 7px 19px 19px rgb(34 66 174 / 60%);
}

.rounded-lg {
    border-radius: 1rem !important;
}
.card-featured:hover {
    background-size: auto 120%;
    background-position: center -1%;
}
.card-featured:hover .bg-overlay-2 {
    background: linear-gradient(0deg, rgb(34 66 174) 0%, rgba(34, 66, 174,0.5) 100%);
}

.shadow-hover {
    box-shadow: 0px 16px 16px rgb(34 66 174 / 40%);
    -webkit-box-shadow: 0px 16px 16px rgb(34 66 174 / 40%);
    transition: all .5s ease;
    background-color: #000;
}

.shadow-hover:hover {
    box-shadow: 7px 19px 19px rgb(34 66 174 / 60%);
    opacity: .9;
}

/* FIXED HEADER */

header#main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    height: 137px;
}

main#site-main {
    padding-top: 137px;
}
main#site-main.main-top-border {
    padding-top: 142px;
}

body.admin-bar header#main-header {
    top: 32px;
}

/* END FIXED HEADER */


footer#main-footer {
    background-color: #253a47!important;
}


header#main-header a[href="#noticias"]:after,
header#main-header a[href="#estudios"]:after,
header#main-header a[href="#actividades"]:after,
header#main-header a[href="#now"]:after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}


section#main-section-header {
    max-height: 100vh;
    /* overflow: auto; */
    z-index: 9999;
}


.list-group li:first-child a {
    border-radius: 1rem 1rem 0 0;
}
.list-group li:last-child a {
    border-radius: 0 0 1rem 1rem;
}

#uptotop {
    z-index: 99;
}

.card-shortcut .card-body {
    padding: 2.25rem;
}
.navbar-nav .dropdown-menu {
    position: absolute;
}

.mobile-navbar .navbar-nav .dropdown-menu {
    position: relative;
    text-align: center;
}

footer#main-footer div.cf7sr-g-recaptcha div {
    text-align: center;
    margin: 0 auto;
}

.page-template-page-contacto .cf7sr-g-recaptcha div {
    margin-left: auto;
}

.single-post .header-contents .meta p {
    font-size: 1rem;
}

.single-post .header-contents .meta {
    margin: 1.5rem 0 .5rem;
}

.single-post .header-contents h1 {
    font-weight: 900 !important;
}

.single-post .header-contents .badge {
    border-radius: 1rem !important;
}

.single-header.overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 85%);
}
.card-post .badge {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
    border-radius: 1rem !important;
}

.card-post .meta {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#welcome .slide-content {
    min-height: 450px;
}
.card-shortcut .card-body {
    padding: 1.7rem;
}
.img-icon-1x {
    min-width: 3.1rem;
    min-height:3.1rem;
    width: 3.1rem;
    height: 3.1rem;
    line-height: 3.1rem;
}
.card-shortcut P  {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.75rem;
}
.nav-pills .nav-link {
    border-radius: 10rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
#welcome .flickity-page-dots {
    bottom: 1rem;
}

#welcome .flickity-page-dots .dot {
    background-color: #fff;
}

.single-header-3 + section#post {
    margin-top: -9rem !important;
}
@media(min-width: 1200px) {
    #recents .col-lg-4 {
        width: 28.5%;
    }
}

.overlay-dark-before:before {
    content: "";
    background-color: rgba(0,0,0,0.45);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.overflow-visible {
    overflow: visible;
}


@media(max-width: 992px) {
    #filtros .row div {
        border: none !important;
    }
    
    #filtros .row div button, #filtros .row div select {
        width: 100%;
        text-align: center;
    }

    #navbarCategorias {
        overflow: hidden;
        max-width: 100%;
    }
}

.list-group-item.active svg {
    fill: #fff;
}
.list-group-item.active:hover {
    color: #fff;
}
.logos-marcas svg {
    width: 30px;
}


.img-beneficio-container {
    width: 100px;
    max-width: 100px;
    min-width: 100px;
    flex: 0 0 100px;
    margin-top: -75px;
}

.card-beneficio {
    overflow: visible;
}

.card-beneficio .card-img-top {
    border-radius: 1rem 1rem 0 0 !important;
}


.card-beneficio .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 6rem;
}

.close-beneficio {
    z-index: 99;
    opacity: 1;
}


.card-beneficio .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.25rem;
}


@media(max-width: 500px) {
    h1, .h1 {
        font-size: 1.8rem;
    }
    h2, .h2 {
        font-size: 1.68rem;
    }
    h3, .h3 {
        font-size: 1.5rem;
    }
}


header#main-header {
    max-height: 100%;
}

section#main-section-header {
    overflow: auto;
    padding-bottom: 0;
}