:root {
    --primary-color: #09487E;
    --primary-color-rgb: rgba(9, 72, 126);
    --primary-hover-color: #000000;
    --secondary-color: #0895CD;
    --secondary-color-rgb: rgba(8, 149, 205);
    --primary-color-contrast: #616465;
    --primary-color-contrast-rgb: rgba(97, 100, 101);
    --link-color: #0895CD;
    --link-color-hover: #09487E;
}

@font-face {
	font-family: 'Alma-body';
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url(../fonts/Arial.ttf) format('truetype');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Alma-title';
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url(../fonts/Lato-Regular.ttf) format('truetype');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--primary-color);
    font-family: 'Alma-title', sans-serif;
}

h2, .h2 {
    font-size: 3.25rem;
}

h3, .h3 {
    font-size: 2.75rem;
}

h4, .h4 {
    font-size: 2.25rem;
}

@media (width <= 992px) {

    h2, .h2 {
        font-size: 2.25rem;
    }
    
    h3, .h3 {
        font-size: 1.75rem;
    }
    
    h4, .h4 {
        font-size: 1.25rem;
    } 
}

/* Botones */

.sppb-btn-primary.sppb-btn-outline {
    color: #0895cd;
}

.sppb-btn-primary.sppb-btn-outline:hover {
    background-color: #09487e;
    border-color: #09487e;
}

.view-category .article-list .article .readmore, .sppb-addon-articles .sppb-article-info-wrap a.sppb-readmore  {
    font-size: 0.875rem;
    margin-top: 30px;
}

.view-category .article-list .article .readmore a, .sppb-addon-articles .sppb-article-info-wrap a.sppb-readmore {
    border: 1px solid #0895cd;
    color: #0895cd;
    font-weight: 700;
    background-color: transparent;
    padding: 10px 28px 11px 28px;
    border-radius: 100px;
}

.view-category .article-list .article .readmore a:hover, .sppb-addon-articles .sppb-article-info-wrap a.sppb-readmore:hover {
    background-color: #09487e;
    border-color: #09487e;
    color: #ffffff;
}

/* SP Top Bar */

div#sp-top-bar {
    display: none;
}

/* SP Header */

#sp-header {
    box-shadow: none;
}

#sp-header.header-sticky {
    background-color: white;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li span {
    padding: 0 20px;
}

/* Modificación altura header para agrandar logo, no en sticky */

@media (width >= 992px) {

    #sp-header {
        height: 120px;
    }

    #sp-header .logo {
        margin: 15px 0;
    }

    #sp-header.header-sticky {
        height: 100px !important;
    }

    #sp-header.header-sticky .logo {
        margin: 5px 0;
    }

    .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
        line-height: 120px;
    }

    #sp-header.header-sticky .sp-megamenu-parent > li > a, #sp-header.header-sticky .sp-megamenu-parent > li > span {
        line-height: 100px;
    }

}

@media (width < 575px) {

    #sp-header {
        height: 70px;
    }

}

/* SP Page Title */

.sp-page-title {
    background-color: #fff;
    background-position-x: 100%;
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 230px 0 130px 0;
    position: relative;
    margin-top: -90px;
}

.com-content.view-article.layout-blog .sp-page-title {
    display: none;
}

.sp-page-title .container {
    position: relative;
    z-index: 10;
}

.sp-page-title:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(179deg, rgb(0 0 0 / 0%) 8%, hsl(0deg 0% 0% / 0%) 99%);
    z-index: 0;
}

.sp-page-title .sp-page-title-heading {
    color: var(--primary-color);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 50%;

}

.sp-page-title .sp-page-title-sub-heading {
    color: var(--primary_color);
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.4;
    margin-top: 10px;
    max-width: 40%;
}

.sp-page-title .breadcrumb>span, .sp-page-title .breadcrumb>li+li:before, .sp-page-title .breadcrumb>li>a {
    color: #0895cd;
}

.sp-page-title .breadcrumb>.active, .sp-page-title li.float-start {
    color: #616465;
}

.sp-page-title .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 5px 25px;
    width: fit-content;
}

span.divider.fas.fa-map-marker-alt {
    margin-right: 5px;
}

#consortium-logos .overlay-background-image {
    background-size: contain;
}

#consortium-logos .sppb-addon-overlay-image {
    border: 1px solid #f0f0f0;
}

#sp-main-body {
    padding: 90px 0;
}

@media (width >= 2048px) {

    .sp-page-title {
        padding: 400px 0 220px 0;
    }

}

@media (2048px > width >= 1850px) {

    .sp-page-title {
        padding: 260px 0 220px 0;
    }

    .about .sp-page-title {
        padding: 210px 0 160px 0;
    }
}

@media (width < 1400px) {

    .sp-page-title {
        background-position-x: 85%;
    }

    .sp-page-title .sp-page-title-heading {
        font-size: 4rem;
    }

}

@media (width < 1200px) {

    .sp-page-title {
        background-position-x: 85%;
        padding: 210px 0 100px 0;
    }

    .sp-page-title .sp-page-title-heading {
        font-size: 3rem;
        max-width: 55%;
    }

    .sp-page-title .sp-page-title-sub-heading {
        font-size: 1rem;
        max-width: 55%;
        padding-right: 190px;
    }

    #sp-main-body {
        padding: 70px 0;
    }

}

@media (768px <= width < 992px) {

    .sp-page-title {
        background-position: right bottom;
        padding: 40px 0 40% 0;
        background-size: cover;
        margin-top: 0px;
    }

    .itemid-107 .sp-page-title {
        background-position: right bottom;
        padding: 0px 0 45% 0;
        background-size: 180%;
        margin-top: 30px;
    }

    .itemid-115 .sp-page-title {
        background-position: 75% bottom;
        padding: 40px 0 35% 0;
    }

    .itemid-114 .sp-page-title {
        background-position: right bottom;
        padding: 0px 0 40% 0;
        background-size: 150%;
        margin-top: 50px;
    }

    .sp-page-title .sp-page-title-heading {
        font-size: 2.5rem;
        max-width: 65%;
    }

    .sp-page-title .sp-page-title-sub-heading {
        font-size: 1rem;
        max-width: 65%;
    }

    .itemid-107 .sp-page-title .sp-page-title-sub-heading {
        max-width: 100%;
        padding-right: 0;
    }

    #consortium-logos .sppb-addon-overlay-image {
        width: 230px;
        margin: 0 auto;
    }

    #sp-main-body {
        padding: 70px 0;
    }

}

@media (510px < width < 768px) {

    .sp-page-title {
        background-position: right bottom;
        padding: 10px 0 40% 0;
        background-size: cover;
        margin-top: 20px;
    }

    .itemid-107 .sp-page-title {
        background-position: right bottom;
        padding: 10px 0 50% 0;
        background-size: 190%;
        margin-top: 20px;
    }

    .itemid-114 .sp-page-title {
        background-position: right bottom;
        padding: 0px 0 40% 0;
        margin-top: 20px;
        background-size: 150%;
    }

    .sp-page-title .sp-page-title-heading {
        max-width: 100%;
    }

    .sp-page-title .sp-page-title-sub-heading {
        max-width: 100%;
    }

    .itemid-107 .sp-page-title .sp-page-title-sub-heading {
        padding-right: 0;
    }

    #sp-main-body {
        padding: 70px 0;
    }

}

@media (width <= 510px) {

    .sp-page-title {
        background-position: right bottom;
        padding: 0px 0 55% 0;
        background-size: 200%;
        margin-top: 40px;
    }

    .sp-page-title .sp-page-title-heading {
        max-width: 100%;
        text-align: center;
    }

    .sp-page-title .sp-page-title-sub-heading {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }

}

/* Home */

@media (width >= 2048px) {

    #sppb-addon-wrapper-1619605973857 {
        margin-right: -1% !important;
    }

}

/* Articles Joomla */

.view-category .article-list .list-news .article-header h1, .view-category .article-list .list-news .article-header h2 {
    font-size: 1.275rem;
    line-height: 1.3;
}

.view-category .article-list.articles-leading {
    border-bottom: 1px solid #eee;
    margin-bottom: 50px;
}

.view-category .list-news .article-introtext {
    display: none;
}

.article-info>span {
    font-size: 1rem;
    color: var(--primary-color-contrast);
}

.article-list .article {
    border: none;
}

.article-list .article .article-header h1, .article-list .article .article-header h2 {
    font-size: 2.375rem;
}

.article-list .article .article-header h1, .article-list .article .article-header h2 a {
    color: var(--primary-color);
}

.article-list .article .article-header h1 a:hover, .article-list .article .article-header h1 a:active, .article-list .article .article-header h1 a:focus, .article-list .article .article-header h2 a:hover, .article-list .article .article-header h2 a:active, .article-list .article .article-header h2 a:focus {
    color: var(--primary-hover-color);
}

.article-list.articles-leading .article .article-intro-image img, .article-list.articles-leading .article .article-featured-video img, .article-list.articles-leading .article .article-featured-audio img, .article-list.articles-leading .article .article-feature-gallery img {
    border-radius: 35px;
}

.article-list .article .article-intro-image img, .article-list .article .article-featured-video img, .article-list .article .article-featured-audio img, .article-list .article .article-feature-gallery img {
    border: 1px solid #eee;
    border-radius: 15px;
    margin: auto;
}

.view-article.layout-blog .article-details h3 {
    font-size: 1.75rem;
    margin-top: 2rem;

}

.view-article.layout-blog .article-details .article-full-image img {
    max-width: 100%;
    margin: 0;
    border-radius: 35px;
}

/*.view-article.layout-blog.news .article-details img {
    max-width: 80%;
    margin: 2.5rem auto;
}*/

.view-article.layout-blog .article-details p > em {
    font-size: 90%;
    color: var(--primary-color-contrast);
    max-width: 80%;
}

.consortium.view-category .blog.consortium .cols-3 > div {
    padding-right: calc(var(--bs-gutter-x)* 1.5);
    padding-left: calc(var(--bs-gutter-x)* 1.5);
}

.consortium.view-category .article-list .article {
    background-color: rgb(250 250 250 / 55%);
    border-radius: 35px;
    border: 1px solid #f5f5f5;
    margin-bottom: 50px;
    padding: 50px 30px 40px;
}

.consortium.view-category .article-list .article .article-intro-image, .consortium.view-category .article-list .article .article-featured-video, .consortium.view-category .article-list .article .article-featured-audio, .consortium.view-category .article-list .article .article-feature-gallery {
    border: none;
    margin-bottom: 30px;
}

.consortium.view-category .article-list .article:hover {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    transition: .3s;
}

.consortium.view-category .article-list .article .readmore {
    display: flex;
    justify-content: center;
    font-size: 0.875rem;
}

.consortium.view-article #sp-main-body {
    padding: 60px 0;
}

.consortium.view-article .article-full-image {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.consortium.view-article #team .sppb-row.sppb-nested-row {
    display: flex;
    justify-content: center;
}

.events.view-category .article-list .list-events .article-header h1, .view-category .article-list .list-events .article-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.events.view-category .article .fields-container {
    list-style: none;
    padding: 0;
}

.events.view-category .article > ul.fields-container {
    display: none;
}

.events.view-category ul.fields-container li.style-1 {
    background-color: rgba(9, 71, 125, 0.05);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 10px 20px 5px;
}
.events.view-category ul.fields-container li.style-2 {
    background-color: rgba(9, 71, 125, 0.05);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0px 20px 10px;
}

.events.view-category ul.fields-container li.field-entry .field-label {
    font-weight: 600;
}

.events.view-article .article-details .fields-container {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.events.view-article ul.fields-container li.style-1 {
    background-color: rgba(9, 71, 125, 0.05);
    font-weight: 600;
    font-size: 1.5rem;
    padding: 20px 20px 10px;
}
.events.view-article ul.fields-container li.style-2 {
    background-color: rgba(9, 71, 125, 0.05);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0px 20px 20px;
}

.events.view-article .article-details .event {
    border-bottom: 1px solid rgba(9, 71, 125, 0.05);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.events.view-article ul.fields-container li.field-entry .field-label {
    font-weight: 600;
}

nav.pagination-wrapper.justify-content-between {
    justify-content: center !important;
}

.pagination>.active>a:hover, .pagination>.active>a:focus, .pagination>.active>span:hover, .pagination>.active>span:focus {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}


/* M´dulos */

#sp-left .sp-module, #sp-right .sp-module {
    border-radius: 32px;
}

.sp-module .sppb-addon-articles .sppb-addon-article h3 {
    font-size: 1.275rem;
    line-height: 1.3;
}

.sp-module .sppb-addon-articles .sppb-addon-article>a>img {
    border-radius: 5px;
}

.sp-module .sppb-addon-articles .sppb-addon-article {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
}

/* SP Bottom */

#sp-bottom .sp-module .sp-module-title {
    color: #000;
}

@media (width <= 768px) {

    #sp-bottom .sp-module {
        text-align: center;
    }

    #sp-bottom .sp-module, #sp-bottom .sp-module p {
        text-align: center;
        max-width: 100% !important;
    }

    #sp-bottom .sp-module, #sp-bottom .sp-module p img {
        margin: 0 auto 20px !important;
    }

    #sp-bottom ul.social-icons {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

}

/* SP Footer */

