/* PAGE */

@font-face {
    font-family: 'Bitter';
    src: url(../fonts/Bitter-VariableFont_wght.ttf);
} 

@font-face {
    font-family: 'Open Sans';
    src: url(../fonts/OpenSans-VariableFont_wdth_wght.ttf);
} 

hr{
    color: rgba(var(--bs-link-color-rgb));
    opacity: 1;
}

body{
    font-family: 'Open Sans'; 
}

h1, h2, h3, h4, h5, h6, nav li a, label, button, input, a{
    font-family: 'Bitter';
}

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

a{
    text-decoration: none;
    transition: 0.3s;
}

.button{
    padding: 10px;
    border-radius: 0;
    font-family: 'Bitter';
}

nav.navbar-light.bg-light{
    background-color:white !important;
}

main > .container{
    padding-top:20px;
    padding-bottom:20px;
}

.icon-my-module::before {
    background-image: url('/themes/contrib/fedro-theme/images/redes-sociales.png'), url('/themes/custom/fedro-theme/images/redes-sociales.png');
    width: 20px;
    height: 20px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px; /* espacio entre el ícono y el texto */
  }
  

.front-filo > .container{
    padding-top:0;
    padding-bottom:0;
}

.title a:hover{
    color: rgba(var(--bs-link-color-rgb));
}

#block-fedro-page-title .field--name-title,
#block-fedro-page-title h1{
    color: rgb(var(--bs-primary-rgb));
    font-size: 50px;
}

#block-fedro-main-navigation li a{
    font-family: sans-serif;
}

.navbar-light #block-fedro-main-navigation li a{
    color: rgb(var(--bs-primary-rgb));
}

.nav-multisite{
    padding: 30px 0 ;
}

.header-block2 .nav-multisite .nav-link{
    color: rgb(var(--bs-primary-rgb));
}

.nav-multisite .nav-link:hover,
.nav-filo-tools .nav-link:hover{

    color: rgba(var(--bs-link-color-rgb));
}

.navbar-nav{
    justify-content: left !important;
}

.menu--filo-tools li a{
    font-family: sans-serif;
}

.navbar-brand img{
    width: 200px;
    height: 50px;
}

.navbar-brand #sublogo{
    width: unset;
}

.menu--main{
    font-weight:bold;
    color: rgba(254, 254, 254, 1);
    display: inline-block;
}

.menu--main .navbar-nav{
    display: flex;
    flex-direction: row;
    /* margin-right: 480px; */
}

.menu--main .nav-link{
    border-bottom: solid 5px transparent;
    font-family: 'Bitter' !important;
    text-transform: uppercase;
}

.menu--main .nav-link:hover{
    border-bottom: solid 5px rgba(59, 195, 173, 1);
    color: rgba(59, 195, 173, 1);
}

.d-flex{
    justify-content: right;
}

.navbar-brand{
    justify-content: left;
}

.multifilo-menu .nav-link{
    color: rgb(var(--bs-primary-rgb));
    font-family: 'Open Sans';
    font-weight: 500;
    font-size: 15px;
}

.menu--main .submenu,
.fixed-submenu {
    /* display: none; */
    position: absolute;
    /* top: 45px; */
    left: 0;
    width: 100%; /* El submenú ocupará todo el ancho del contenedor principal */
    background-color: #fff;
    z-index: 20;
    height: 263px;
    transition: all 0.3s ease;
    /* box-shadow: #00000077 0px 5px 10px; */
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}



.fixed-submenu .container{
    height: 100%;
}

.fixed-submenu ul{
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, 25%);
    grid-template-columns: repeat(4, 25%);
    justify-content: left;
    padding: 20px 10px;
    height: 100%;
}

.menu--main .submenu.show,
.fixed-submenu.show {
    /* animation: fadeInDown 0.3s ease forwards; */
    max-height: 300px;
    padding: 10px; /* Espacio interno del submenú */ 
    border: 1px solid #ccc; 
}


.menu--main .submenu .nav-link,
.fixed-submenu .nav-link{
    color: rgb(var(--bs-primary-rgb));
    font-family: 'Open Sans' !important;
    font-weight: 400;
    border: 0;
    display:grid;
    grid-template-columns: 20px auto;
    grid-column-gap: 5px;
}



.menu--main .submenu .nav-link:hover,
.fixed-submenu .nav-link:hover{
    color: rgba(59, 195, 173, 1);
    border: 0 !important;
    
}

.fixed-submenu .nav-link{
    color: transparent;
    transition: all 0.3s ease;
}

.fixed-submenu.show .nav-link{
    color: rgb(var(--bs-primary-rgb));
    transition: all 0.3s ease;
}

.fixed-submenu.show .nav-link:hover{
    color: rgb(var(--bs-link-color-rgb));
    transition: all 0.3s ease;
}


.menu--main .submenu .nav-item:hover,
.fixed-submenu .nav-item:hover{
    border: 0 !important;
    transform: translate3d(10px, 0, 0);
    transition: all 0.3s ease;
}

.menu--main .submenu .nav-item,
.fixed-submenu .nav-item{
    list-style-type: none; /* Quita las viñetas */
    padding: 0;           /* Quita el padding por defecto */
    margin: 0;            /* Quita el margin por defecto */
    transition: all 0.3s ease;
}

.fixed-submenu.show .arrow{
    color: rgb(var(--bs-link-color-rgb));
    transition: all 0.3s ease;
}


.nav-link .arrow{
    color: transparent;
    transition: all 0.3s ease;
}

header{
    background-color: rgba(30, 38, 85, 0.1);
}

.top-header{
    display: block;
    background-color: rgba(254, 254, 254, 1);
    padding-top: 25px;
    padding-bottom: 25px;
}

.low-header{
    background-color: rgba(30, 38, 85);
    border-top: solid 2px rgba(59, 195, 173, 1);
    padding-top: 9px;
}

.low-header .main-nav-grid{
    display: flex;
    justify-content: space-between;
}

.low-header .social-network-menu{
    display: flex;
    gap:5px;
}

.header-block1 .social-network-menu{
    padding:30px;
    display: flex;
    justify-content: space-around;
}


.low-header .d-flex{
    justify-content: space-between;
}

#block-fedro-herramientasdemultifilo{
    font-size: 13px;
    display: flex;
    color: rgba(30, 38, 85, 1);
}

#block-fedro-herramientasdemultifilo .navbar-nav{
    display: contents;
}

#block-fedro-herramientasdemultifilo .nav-link img{
    margin-bottom:3px;
}

#block-fedro-herramientasdemultifilo > .nav-link:hover{
    background-color: rgb(214, 214, 214);
}

.icono-herramientas{
    color: rgba(59, 195, 173, 1);
}

#block-fedro-redessociales{
    justify-content: right;
    color: rgba(254, 254, 254, 1);
    display: inline-block;
    flex-direction: row;
}

#block-fedro-redessociales .navbar-nav{
    display: -webkit-inline-box;
}

#block-fedro-redessociales .nav-link{
    border-radius: 50%;
    width: 36px;
    height: 36px;
    gap: 10px;
    text-align: center;
}

#block-fedro-redessociales .nav-link:hover{
    background-color:rgba(59, 195, 173, 1);
    border-radius: 50%;
    transition-delay:0,7s;
}

#block-fedro-main-navigation{
    display: flex;
    flex-direction: row;
}

#block-fedro-main-navigation > .nav-link{
    border-bottom: solid transparent;
}

#block-fedro-main-navigation > .nav-link:hover{
    border-bottom: solid rgba(59, 195, 173, 1);
}

/* MENU T */

.logo-toggle{
    margin-right: auto;
}

.logo-toggle img{
    height: 36.78px;
    width: 150px;
}

.header-toggle {
    display: none;
    color: white;
    z-index: 1000;
}

.branding-toggle{
    display: flex;
    padding: 20px;
    border-bottom: solid 4px #49BFAA;
}

.header-toggle.open {
    display: block;
}

.header-block1{
    background-color: rgba(30, 38, 85, 1);
    /*text-align: center;*/
}

.header-block1 .menu--main{
   background-color: rgba(30, 38, 85, 1);
   display: block;
}

.header-block1 .menu--main .navbar-nav{
    display: block;
    margin: auto;
    width: 100%;
}

.header-block1 .menu--redes-sociales .navbar-nav{
    background-color: rgba(30, 38, 85, 1);
    padding: 10px;
}

.redes-top{
    border-bottom: solid rgba(255, 255, 255, 0.1);
}

.redes-top #block-fedro-navegaciondefilo{
    display: none;
}

.redes-none #block-fedro-navegaciondefilo .nav-link{
    border-bottom: solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.redes-none #block-fedro-redessociales{
    display: none;
    text-align: left !important;
}

.header-block2{
    display: grid;
    grid-template-columns: 50% 50%;
}

.fedro-main-menu-toggle{
    color: rgba(30, 38, 85, 1);
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: #FFF;
}

.fedro-main-menu-toggle .nav-link{
    height: 35.5px;
}

.header-block2 #block-fedro-main-navigation .nav-link{
    border: none;
}

.header-block2 #block-fedro-main-navigation .nav-link:hover{
    border:none;
}


.header-block2 .nav-multisite,
.herramientas-multifilo-toggle {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: normal;
    justify-content: space-around;
    height: 100%;
}


.header-toggle{
    position:absolute;
    width: 100%;
}

.header-toggle.open{
    animation: slideInRight 0.3s ease forwards;
}

.header-toggle .menu--main .nav-item {
    display: block;
    border-bottom: 1px solid #cccccc22;
}

.header-toggle .menu--main .nav-link{
    padding: 20px;
    border: 0;
    text-align:left;
}

.header-toggle .submenu{
    background-color: rgb(var(--bs-primary-rgb));
    position:relative;
    width:100%;
    display: none;
    height: auto;
}

.header-toggle .submenu .arrow{
    color: rgb(var(--bs-link-color-rgb));
}

.header-toggle .submenu.show > .nav-item .nav-link{
    padding-top:0;
}


.header-toggle .submenu.show{
    display: block;
    animation: slideInRight 0.3s ease forwards;
    border: 0;
    max-height: fit-content;
}

.header-toggle .submenu .nav-link{
    color: white;

}

.header-toggle .submenu .nav-item{
    border:0;
}

.white-block{
    background: #FFF;
}

.grey-block{
   background: rgba(233, 234, 238, 1);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    margin-top: 3px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: rgba(30, 38, 85, 1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1023px) {
    .header-full{
       display:none;
    }
}

@media (min-width: 1024px) {
    .branding-toggle{
       display:none;
    }
}

/* CARDS: */

.cards-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom:40px;
}

.card, .card img{
    transition: 0.3s;
}

.card:hover img{
    filter: brightness(105%);
}

.card:hover{
   box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.2);
}

.card .button{
    margin:10px;
}

.fixed-card .button{
    width: 200px;
    margin:0 auto 10px auto;
}

.view-display-id-block_news .card{
    height:300px;
    background-size: cover;
    background-position: 50% 50%;
    -webkit-transition: 500ms ease all;
    -moz-transition: 500ms ease all;
    transition: 500ms ease all;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    display: grid;
}

.view-display-id-block_news .card-title, .view-display-id-block_news .card-title a  {
    font-size: 25px;
    color: white;
    text-shadow: 1px 1px 4px #000000d6;
    justify-self: end;
    display: flex;
    align-self: end;
    padding: 10px;
}

.view-display-id-block_news .news-category{
    background-color: rgb(var(--bs-link-color-rgb));
    display: inline-block;
}

.view-display-id-block_news .right-column .news-image{
    position: relative;
}

.view-display-id-block_news .news-category.no-bg-img{
    position: absolute;
    top: 0;
    left: 0;
}


.view-display-id-page_agenda .agenda-grid{
    grid-template-columns: 92px 337px auto;
}


.view-display-id-page_agenda .event-category a{
    text-transform: uppercase;
    font-family: 'Open Sans';
}

.image-container{
    position: relative;
    display: inline-block; 
}


.image-container h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.5em;
    text-align: center;
}


.image-container img {
    width: 100%;
    height: auto;
}



@media (max-width: 1200px) {
    .cards-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cards-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
}

/* FIGMA NEWS */
.news-section .main-title,
.agenda-section .main-title{
    color: rgba(var(--bs-link-color-rgb));
    font-family: "Bitter";
    font-weight: 700;
    font-size:40px;
}

.news-section .left-column{
    background-color: rgba(var(--bs-primary-rgb));
    height: 100%;
    /* display: flex;
    flex-direction: column; */
    display: grid;
    grid-template-rows: 60% 40%;
}

.news-section .left-column .news-image,
.news-section .left-column .background-image{
    width: 100%;
    height: 100%;
}

.news-section .left-column .background-image{
    background-size: cover;
    background-position: 50% 50%;
}

.left-column-item{
    margin-top:20px;
}

.news-section .left-column .text-area{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    padding:10px;
}

.news-section .left-column .date{
    text-transform: uppercase;
    color: white;
    font-weight: 100;
    font-size: 14px;
}

.news-section .left-column .text-container{
    padding:10px;
}

.news-section .left-column a{
    color: white;
    font-weight: 700;
    font-size: 36px;
}

/* .news-section .right-column-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(var(--bs-link-color-rgb));
    overflow: hidden; 
    flex-direction: row;
    padding-top:10px;
    padding-bottom:10px;

} */

.news-section .right-column-row {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(var(--bs-link-color-rgb));
    overflow: hidden;
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: 10px;
    max-height: 200px;
    padding: 10px 0;
    position: relative;
}



.view-display-id-block_news .right-column-row p{
    margin:0;
}


.view-display-id-block_news .news-category a{

    font-family: 'Open Sans';
    font-size: 13px;
    font-weight: 300;
    padding: 10px 20px;
    text-transform: uppercase;
    color: white;
}

.news-section .right-column-row:first-child {
    padding-top:0; 
}

.news-section .right-column{
    display: flex;
    flex-direction: column;
}
.right-column-row .row-item{
    max-width: 50%;
}

@media(max-width: 1023px){
    .news-section .right-column-row{
        max-height: none;
    }
}

.news-section .right-column .row-item.right{
    padding-left: 20px;
}

.right-column-row .row-item:first-child{
    margin-top: 0;

}

.news-section .title a
{
    font-size:26px;
    color: rgba(var(--bs-primary-rgb));
    line-height: 28px;
}

.news-section .title a:hover{
    color: rgba(var(--bs-link-color-rgb));
}


.news-section .date{
    font-size:14px;
    color: rgba(var(--bs-link-color-rgb));
    text-transform: uppercase;
}

.news-section .bottom-row{
    margin-top:30px;
}

.news-section .right-column .text{
    font-size:16px;
    color: #5A5A5A;

}

.news-section .right-column .text,
.news-section .right-column .title {
    margin-top: 10px;
}

@media(max-width: 1399px){
    .view-display-id-block_news .right-column-row .title a{
        font-size: 20px;
    }
    .news-section .left-column .news-title a{
        font-size: 30px;
    }
}

/* NEWS PAGE */

.tags-list .field__label {
    font-weight: 400;
    color: rgb(var(--bs-link-color-rgb));
    font-size:18px;
    margin: 40px 0 20px 0;
}

/* .tags-list .field__items{
    display: flex;
    gap: 10px;
} */

.tags-list .field__item{
    background-color: #D9D9D9;
    border-radius: 100px;
    padding:4px 7px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom:10px;
    font-size:12px;
}

.tags-list .field__item a{
    color: #11111188;
}

.news-grid{
    display: grid;
    grid-template-columns: 320px auto;
}

.news-grid .card-title, .mini-news-grid .card-title{
    font-weight: 500;
    font-size: 26px;
    font-family: 'Bitter';
}

.news-grid .card-title a, .mini-news-grid .card-title a{
    color: rgb(var(--bs-primary-rgb));
}

.news-grid .card-date, .mini-news-grid .card-date{
    color: rgb(var(--bs-link-color-rgb));
}

.mini-news-grid{
    display: grid;
    grid-template-columns: 33% 33% 33%; 
}

.mini-news-grid .grid-item{
    padding: 20px;
    border-bottom : 1px solid rgb(var(--bs-link-color-rgb));
}

.embed-featured-news{
    margin-bottom: 20px;
}

.embed-featured-news-info{
    padding:20px 20px 60px 20px;
    background-color: rgb(var(--bs-primary-rgb));
}

.embed-featured-news .news-image img{
    width: 100%;
}

.embed-featured-news .news-title{
    font-size: 38px;
    font-weight: 700;
}

.embed-featured-news .news-title a{
    color: white;
}

.embed-featured-news .news-created{
    font-weight: 400;
    font-size: 14px;
    color: white;
}

.news-content{
    margin: 20px 0;
}

.page-news-title{
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: rgb(var(--bs-primary-rgb));
}

/* news embed */

.tags-list{
    margin-bottom: 40px;
}

.view-display-id-related_news{
    background: #f2f7fb;
    padding: 30px;
}

.related-news .block-title{
    color: rgb(var(--bs-link-color-rgb));
    margin-bottom: 0px;
    font-size: 32px;
    padding-left: 10px;
}

.view-display-id-related_news .related-news-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-rows: repeat(3, 1fr); */
}

.view-display-id-related_news .views-row{
    border-bottom: 1px solid rgb(var(--bs-link-color-rgb));
    padding: 20px 10px 20px 10px;
}


.view-display-id-related_news .views-field-title a{
    color: rgb(var(--bs-primary-rgb));
    font-size: 24px;
    font-weight: 500;
}


.view-display-id-related_news .views-field-title a:hover{
    color: rgb(var(--bs-link-color-rgb));
}


.view-display-id-related_news .views-field-body{
    color: rgb(var(--bs-primary-rgb));    
}

.view-display-id-related_news .views-field-created{
    color: rgb(var(--bs-link-color-rgb));
    text-transform: uppercase;
    font-family: 'Open Sans';
    font-size: 14px;
}

@media(max-width: 1366px){
    .view-display-id-related_news .related-news-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 1024px){
    .view-display-id-related_news .related-news-grid{
        grid-template-columns: repeat(1, 1fr);
    }

    .view-display-id-related_news .additional{
        display: none;
    }

    .view-display-id-related_news .views-row{
        border: 0;
    }
}  


/* accesos */

.accesos{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.accesos div{
    padding:25px;
    background-color: rgba(73, 191, 170, 1);
    display: flex;
}

.accesos a{
    color: #fff;
    font-family: 'Bitter' !important;
    text-align: center;
    display: block;
    margin: auto;
    font-size: 20px;
}

@media (max-width: 1024px) {

    .accesos{
    grid-template-columns: 1fr; /* Una sola columna */
    grid-template-rows: repeat(4, auto); /* 4 filas */
    gap: 20px;
    margin-top: 20px;
}

}
/* Taxonomy */

.path-taxonomy .views-row{
    margin-bottom: 10px;
}

.path-taxonomy .views-field-title{
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    margin-left: 10px;
}

.path-taxonomy .views-field-title a{
    color: rgb(var(--bs-primary-rgb));
}

/* AGENDA */

.upcoming-events-grid{
    display: grid;
    grid-template-columns: 92px auto;
    margin-bottom:10px;
}

.upcoming-events .block-title{
    font-size:32px;
    font-weight:600;
    color: rgb(var(--bs-link-color-rgb));
    margin-top:40px;
}

.upcoming-events-grid .card-title a{
    color: rgb(var(--bs-primary-rgb));
    font-weight: 600;
    font-size: 20px;
}

.upcoming-events-grid .card-info{
    font-size: 16px;
    font-weight: 400;
}

.upcoming-events-grid .card-info .event-category{
    font-weight: 600;
}

@media(max-width: 600px){
    .upcoming-events-grid{
        grid-template-columns: 60px auto;
    }
}

.left-agenda-grid{
    display: grid;
    grid-template-columns: 100px 20% 70%;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 0px;
    margin-bottom: 20px;
}



.right-agenda-grid{
    display: grid;
    grid-template-columns: 20% 80%;
    min-height: 100px;
    gap: 20px;
    margin-bottom:20px;
}

.featured-event-agenda-grid{
    display: grid;
    grid-template-columns: 100px auto 50%;
    margin-bottom:20px;
}

.featured-event-agenda-grid .background-image{
    background-size: cover;
    background-position: 50% 50%;
    height: 100%;
    width: 100%;
}

.featured-event-agenda-grid .image-division{
    width: 100%;
    height: 100%;
}

.title-node-grid{
    /* display: grid;
    grid-template-columns: 100px auto; */
    margin-bottom:20px;
}

.title-node-grid .info-division .main-title{
    color: rgb(var(--bs-link-color-rgb));
    font-weight: 700;
    font-size: 50px;
    padding:0 10px;
}

@media (max-width: 600px) {
    .title-node-grid .info-division .main-title{
        font-size: 24px;
        padding-top: 10px;
    }
    
}

.title-node-grid .info-division .card-info
{
    padding-bottom:20px;
}

.featured-event-agenda-grid .date-division{
    background-color: #DC143C;
}

.featured-event-agenda-grid .info-division{
    background-color: rgb(var(--bs-primary-rgb));
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.featured-event-agenda-grid .info-division a{
    color: white;
}

.events-grid {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;
    flex-wrap: wrap;
}

.agenda-card-grid{
    display: grid;
    grid-template-columns: 20% 80%;    
    gap: 0;
    margin-bottom:0;
    height:100%;
}

.date-division{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(var(--bs-link-color-rgb));
    color: white;
    min-height: 120px;
}

.agenda-date{
    display: block;
    text-align: center;
    font-family: 'Bitter';
    font-weight: 400;
    line-height: 2rem;
}

.agenda-day {
    font-size: 32px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 0;
}

.agenda-month{
    font-size: 32px;
    font-weight: 400;
}

@media(max-width: 768px) {
    .agenda-day {
        font-size: 25px;
    }    
    .agenda-month{
        font-size: 25px;
    }
}

.agenda-year {
    letter-spacing: 2px;
    font-size: 20px;
    margin-left: 5px;
}

.info-division .card-body{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    height: 100%;
}

@media (max-width: 600px) {
    .info-division .card-body{
        padding: 0 0 0 10px !important;
    }
}

.left-agenda-grid .card-title{
    font-size: 26px;
    font-weight: 600;
    line-height: 28px;
}

@media (max-width: 768px) {
    .left-agenda-grid .card-title{
        font-size: 18px;
    }
}

.left-agenda-grid .card-title a{
    color: rgb(var(--bs-primary-rgb));
}

.agenda-grid .card-title a:hover{
    color: rgb(var(--bs-link-color-rgb));
}

.left-agenda-grid .card-body{
    padding:0 20px;
}

.info-division .card-body button{
    margin:0;
    margin-top:auto;
}

.left-agenda-grid .event-info img,
.featured-event-agenda-grid .event-info img{
    margin-right:10px;
}

.featured-event-agenda-grid .event-info{
    color:white;
}

.featured-event-agenda-grid .event-title{
    font-weight: 700;
    font-size: 38px;
}

.agenda-grid .event-info{
    display: inline-block;
    padding-right:20px;
    margin-top: 10px;
    font-family: 'Bitter';
}

.right-agenda-grid .event-info{
    padding-right:0px;
}

.right-agenda-grid .card-title{
    font-weight: 600;
    font-size: 20px;
    line-height: 23px;
    font-family: 'Bitter';
}

.right-agenda-grid .card-title a{
    color: rgb(var(--bs-primary-rgb));
}

@media (max-width: 1024px) {
    .featured-event-agenda-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .agenda-card-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }

    .date-division{
        padding:10px;
    }
}


/* FRONTPAGE EXTERNAL LINKS BUTTONS */

.flex-buttons-frontpage
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap:10px;
  }


.flex-buttons-frontpage button{
    height: 60px;
    margin:0;
    font-size:18px;
    flex: 1 1 auto;
    max-width: calc(100% / 4); /* Ajusta este valor según el número máximo de columnas que desees */
}

@media (max-width: 1024px) {
    .flex-buttons-frontpage button{
        max-width:100%;
        width:100%;
    }
}

@media (max-width: 240px) {
    .flex-buttons-frontpage button{
        height: 90px;
    }
}

/* Links page */
.links-page-full-width .title-container{
    height: 100%;
    display: flex;
    align-content: end;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

.full-width-img{
    margin-bottom: 30px;
}

.links-page-full-width .title-container h1{
    color: white;
}

.links-page-full-width .full-width-img{
    width: 100%;
    height: 210px;
    background-size:cover;
    background-position: 50% 50%;
}

.links-page-menu li{
    display:flex;
}

.links-page-menu li svg{
    min-width:32px;
}

.links-page-menu li a,
.links-page-menu li svg{
    align-self: center;
}


/* FRONTPAGE BUTTONS */

.front-filo .container .front-plus-btn{
    width: 100%;
    max-width: 400px;
    margin:auto;
    display: block;
    height: 80px;
    font-size: 24px;
}

/* FRONT SECTIONS */

.news-section{
    padding-bottom:30px;
}

/* FOOTER */
footer{
    padding-top: 70px;
}

footer .title{
    text-transform: uppercase;
    margin-bottom: 16px;
    font-size:16px;
    font-weight: 700;
    color:white;
}

footer .title img{
    margin-right:5px;
}

footer .logo{
    width: 100%;
    max-width: 200px;
    margin:auto;
    display: block;
}

footer ul{
    padding-left: 0;
}

footer ul li{
    list-style: none;
    margin-bottom: 16px;
}

footer ul li a{
    font-family: sans-serif;
    display: block;
    margin-top: -25px;
    margin-left: 25px;
}

footer ul li::before {
    /* content: "\25B6";  */
    content: "→ ";
    color: #48c0aa;
}

footer .logo-column{
    padding-right: 50px;
}

footer .social-block a
{
    padding: 10px;
    background: #48c0aa00;
    border-radius: 100%;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    display: flex;
}

nav .social-network-menu a{
    border-radius: 100%;
    padding:10px;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    margin:0;
}

nav .social-network-menu img{
    display: block;
    margin: auto;
}

.nav-multisite .nav-link{
    font-family: 'Open Sans';
    color: rgb(var(--bs-primary-rgb));
    font-size: 16px;
}

footer .social-block a {
    justify-content: center;
    align-self: center;
}

footer .social-block a:hover,
nav .social-network-menu a:hover {
    background: #48c0aa;
}

footer .social-block{
    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 40px 0 45px;
}

footer .btn {
    padding: 10px;
    border-radius: 0;
    margin: auto !important;
    display: block;
    max-width: 150px;
    text-transform: uppercase;
    font-weight: 600;
}


.view-carousel .background-image::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;  
    /* height:263px; */
    background: linear-gradient(to bottom, rgba(0, 0, 255, 0) 0%, rgba(var(--bs-primary-rgb)) 100%);
    pointer-events: none; /* Esto asegura que el gradiente no interfiera con la interacción del usuario con la imagen */
}

.view-carousel .carousel-title{
    z-index: 10;
    position: relative;
    font-weight: 300;
}

.view-carousel .carousel-inner{
    height:263px;
}

.view-carousel .carousel-item{
    width: 100%;
    height: 100%;
}

.view-carousel .background-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    background-size: cover;
    background-position: 50% 50%;
    display: flex;
    flex-direction: column;
    padding:40px;
    justify-content: end;
    gap:10px;
}

.view-carousel .carousel-button a{
    z-index: 10;
    background-color: rgb(var(--bs-link-color-rgb));
    position: relative;
    color: white;
    border-radius: 100px;
    padding:10px;
    font-family: 'Open Sans';
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
}

@media(max-width: 768px) {
    .view-carousel .carousel-button a{
        display: block;
        text-align: center;
    }
}

.view-carousel .carousel-caption {
    position: absolute;
    right: 0;
    bottom: 1.25rem;
    left: 0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    padding: 30px;
}

.carousel-control-prev, .carousel-control-next{
    width: 3%;
}

.carousel-control-prev-icon, .carousel-control-next-icon{
    width: 1rem;
}

.carousel-title-container h3{
    font-weight: 100;
    font-size: 36px;
    text-align: left;
    color: white;
}

.carousel-title-container a{
    color: white;
}

@media(max-width: 768px) {
    footer .footer-column{
        max-width: 300px;
        margin: auto;
        margin-top:30px;
    }

    footer .footer-column:first-child{
        margin-top:0;
    }

    footer .title{
        text-align: left;
    }
}

/* Page */

div.main-image{
    width: 100%;
    height: 200px;
    background-size:cover;
    background-position: 50% 50%;
}

/* NODE ARTICLE */

.page-node-type-news .main-title{
    font-size: 50px;
    color: rgba(var(--bs-primary-rgb));
}

@media (max-width: 768px)
{
    .page-node-type-news .main-title{
        font-size: 24px;
    }
}

.page-node-type-news{
    font-family: "Bitter";
}

.page-node-type-news .article-content{
    color: rgb(var(--bs-primary-rgb));
    font-size:16px;
    font-weight: 500;
    line-height: 25px;
}

.page-node-type-news .created-at-field{
    font-family: 'Open Sans';
    color: rgba(var(--bs-link-color-rgb));
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
}

.social-share-buttons img{
    width:32px;
    height:32px;
    margin:auto;
    margin-bottom:10px;
    display: block;
}

@media (max-width: 767px) {
    .social-share-buttons{
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

.page-node-type-news .article-image{
    margin-bottom:40px;
}

/* Node Event */

.page-node-type-event .event-image-full-width .event-image
{
    width: 100%;
    z-index: 0;
    display: block;
    max-height: 609px;
    padding-bottom: 609px;
    background-position: center; 
    background-size: cover; 
    background-repeat: no-repeat;
 
}

.page-node-type-event .event-image-full-width img{
    width:100%;
}

.event-image-full-width{
    margin-bottom:20px;
}

@media (max-width: 768px) {

    .event-image-full-width {
        margin:0;
    }

    .date-division{
        min-height: unset;
    }
}

.article-page{
    margin-top: 20px;
}

.event-image-full-width::after{
    content: '';
    position: absolute;
    top: 212px;
    left: 0;
    width: 100%;
    height: 50%; /* El degradado cubrirá la mitad superior */
    background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb)), rgba(0, 0, 255, 0) 100%);
    pointer-events: none; /* Esto asegura que el gradiente no interfiera con la interacción del usuario con la imagen */
}

@media (max-width: 1023px) {
    .event-image-full-width::after{
        top: 80px;
        background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb)), rgba(0, 0, 255, 0) 50%)
    }
}
.event-image-full-width .flex-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height:100%;
}

.event-info.place *{
    display: inline-block;
}

.bg-image-featured-event{
    width: 100%;
    height: 552px;
    background-attachment: fixed;
}

.bg-image-featured-event .date-division{
    height:100%;
    justify-content: flex-start;
    padding-top: 30px;
}

.bg-image-featured-event .info-division{
    background-color: rgba(var(--bs-primary-rgb));
    padding:30px;
}

.bg-image-featured-event .info-division .event-title a{
    color: white;
}

.bg-image-featured-event .title{
    z-index: 1;
    position: relative;
}

.bottom-event-block{
    height:235px;
    display: grid;
    grid-template-columns: 92px auto;
}

.bottom-event-block-container{
    background-image: url('/themes/contrib/fedro-theme/images/bg-color-event.jpg'), url('/themes/custom/fedro-theme/images/bg-color-event.jpg');
    background-size: cover;
}

.bottom-event-block .event-info{
    display: inline-block;
    margin-right: 20px;
}

.bottom-event-block .event-info .card-text{
    color:white;
    margin-left:10px;
    font-family: 'Bitter';
}

/* .date-division::before{
    content: '';
    position: relative;
    top:0;
    left:-1000px;
    width:1000px;
    background-color: rgb(var(--bs-link-color-rgb));
    height: 235px;
} */


.path-agenda .event-image-full-width::after {
    content: '';
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb)) 0%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
}


/* .user-logged-in.toolbar-vertical.page-node-type-event .event-image-full-width::after,
.user-logged-in.toolbar-horizontal.page-node-type-event .event-image-full-width::after
{
    top: 251px;
}

.user-logged-in.toolbar-horizontal.toolbar-tray-open.page-node-type-event .event-image-full-width::after{
    top: 291px;
} */

.event-image-full-width{
    position: relative;
}

.event-image-full-width:after
{
    position: absolute;
    top: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb)), rgba(0, 0, 255, 0) 75%)
}

.event-image-full-width .title{
    color:white;
    z-index: 2;
    position: absolute;
    padding-top: 50px;
}

@media(max-width:768px)
{
    .event-image-full-width .title{
        padding-top: 10px;
    }
}

.title-container{
    position:relative
}

.event-image-full-width .title .thin{
    font-weight: 300;
}

.event-image-full-width .title .strong{
    font-weight: 700;
}

.page-node-type-event .event-content{
    color: rgb(var(--bs-primary-rgb));
    font-size:16px;
    font-weight: 500;
    line-height: 25px;
    font-family: 'Bitter';
}


/* SIDEBAR CATEGORIES */
.sidebar{
    margin-bottom:20px;
}

.sidebar .arrow{
    color: rgb(var(--bs-link-color-rgb));
}

.sidebar .category-item{
    font-family: 'Open Sans';
    font-size: 15px;
}

.sidebar a{
    color: rgb(var(--bs-primary-rgb));
}

.sidebar .title{
    color: rgb(var(--bs-link-color-rgb));
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    font-family: 'Bitter';
    text-transform: uppercase;
}

.region-content{
    padding:0;
}

.sidebar .category-item{
    display: flex;
    gap:4px;
}


@media (max-width: 1199px) {
    /* News home */
    .view-display-id-block_news .right-column{
        margin-top:20px;
    }

    .news-section .left-column{

        grid-template-rows: 300px auto;
    }
    
}

@media (max-width: 1023px) {
    .view-display-id-block_news .bottom-row{
        display: none;
    }

    .view-display-id-block_news .left-column .news-title a{
        font-size: 36px;
    }

    .view-display-id-block_news .right-column .news-image{
        display: none;
    }

    .view-display-id-block_news .right-column-row .right {
        max-width: 100%;
    }

    .view-display-id-block_news hr{
        display: none;
    }

    .view-display-id-block_news .see-all-btn{
        margin:20px 0 40px 0;
        padding-left:20px;
        display: block;
    }

    .view-news .left-column .news-title a{
        font-size:26px;
    }

    /* Agenda Home */

    .view-agenda .agenda-grid{
        gap:0;

    }

    .featured-event-agenda-grid .grid-item:nth-child(2) {
        order: 3;
    }

    .featured-event-agenda-grid .grid-item:nth-child(3) {
        order: 2;
    }

    .featured-event-agenda-grid .date-division{
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .view-agenda .additional{
        display: none;
    }

    .view-agenda .left-agenda-grid,
    .view-moviesview .left-agenda-grid {
        grid-template-columns: minmax(60px, 20%) auto;
    }

    .view-agenda .left-agenda-grid .image-division,
    .view-moviesview .left-agenda-grid .image-division{
        display: none;
    }

    .featured-event-agenda-grid .image-division{
        height: 238px;
    }

    .featured-event-agenda-grid .date-division{
        min-height: 0;
        padding:10px;
    }

    .featured-event-agenda-grid .event-title{
        font-size: 20px;
    }


    /* Carousel */
    .view-carousel .carousel-inner,
    .view-carousel .carousel-img-container::after{

        height:500px;
    }
}

/* Page search and contact */

.custom-title-container{
    position:relative;
    top: -100px;
}

.custom-title-container h1{
    color:white;
}

.path-contact main h1,  .path-search main h1{
    display: none;
}

.path-contact main,  .path-contact label, .path-contact .form-text,
.path-search main, .path-search label, .path-search .form-text{
    font-family: 'Open Sans';
}

.image-container.pages-search-contact .title{
    color:white;
}

.image-container.pages-search-contact .full-width-img{
    display: flex;
    align-items: end;
    padding-bottom: 30px;
}

/* Multifilo search */
.multifilo-search-item{
    border-bottom: 1px solid rgba(var(--bs-link-color-rgb));
    padding: 20px 0;
}

.multifilo-search-item:nth-last-of-type(2) {
    border-bottom: none;
}

#multifilo-search-response .paginator-block nav{
    border-top: 1px solid rgba(var(--bs-link-color-rgb));
}

#multifilo-search-response *{
    margin:0;
}

.multifilo-search-url{
    padding-bottom: 10px;
}

.multifilo-search-title a{
    color: rgb(var(--bs-primary-rgb));
}

/* OVERRIDE BOOTSTRAP COLORS */

.active > .page-link
{
    background-color: rgb(var(--bs-link-color-rgb));
    border-color: rgb(var(--bs-link-color-rgb));
}

:root,
[data-bs-theme=light] {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 34, 39, 81;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-primary-text-emphasis: #052c65;
  --bs-secondary-text-emphasis: #2b2f32;
  --bs-success-text-emphasis: #0a3622;
  --bs-info-text-emphasis: #055160;
  --bs-warning-text-emphasis: #664d03;
  --bs-danger-text-emphasis: #58151c;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #cfe2ff;
  --bs-secondary-bg-subtle: #e2e3e5;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-info-bg-subtle: #cff4fc;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #9ec5fe;
  --bs-secondary-border-subtle: #c4c8cb;
  --bs-success-border-subtle: #a3cfbb;
  --bs-info-border-subtle: #9eeaf9;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #646464;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(33, 37, 41, 0.75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(33, 37, 41, 0.5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #48c0aa;
  --bs-link-color-rgb: 72, 192, 170;
  --bs-link-decoration: none;
  --bs-link-hover-color: #0a58ca;
  --bs-link-hover-color-rgb: 57, 164, 144;
  --bs-code-color: #d63384;
  --bs-highlight-color: #212529;
  --bs-highlight-bg: #fff3cd;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
  --bs-form-valid-color: #198754;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #dc3545;
  --bs-form-invalid-border-color: #dc3545;
}

[data-bs-theme=dark] {
    color-scheme: dark;
    --bs-body-color: #dee2e6;
    --bs-body-color-rgb: 222, 226, 230;
    --bs-body-bg: #212529;
    --bs-body-bg-rgb: 33, 37, 41;
    --bs-emphasis-color: #fff;
    --bs-emphasis-color-rgb: 255, 255, 255;
    --bs-secondary-color: rgba(222, 226, 230, 0.75);
    --bs-secondary-color-rgb: 222, 226, 230;
    --bs-secondary-bg: #343a40;
    --bs-secondary-bg-rgb: 52, 58, 64;
    --bs-tertiary-color: rgba(222, 226, 230, 0.5);
    --bs-tertiary-color-rgb: 222, 226, 230;
    --bs-tertiary-bg: #2b3035;
    --bs-tertiary-bg-rgb: 43, 48, 53;
    --bs-primary-text-emphasis: #6ea8fe;
    --bs-secondary-text-emphasis: #a7acb1;
    --bs-success-text-emphasis: #75b798;
    --bs-info-text-emphasis: #6edff6;
    --bs-warning-text-emphasis: #ffda6a;
    --bs-danger-text-emphasis: #ea868f;
    --bs-light-text-emphasis: #f8f9fa;
    --bs-dark-text-emphasis: #dee2e6;
    --bs-primary-bg-subtle: #031633;
    --bs-secondary-bg-subtle: #161719;
    --bs-success-bg-subtle: #051b11;
    --bs-info-bg-subtle: #032830;
    --bs-warning-bg-subtle: #332701;
    --bs-danger-bg-subtle: #2c0b0e;
    --bs-light-bg-subtle: #343a40;
    --bs-dark-bg-subtle: #1a1d20;
    --bs-primary-border-subtle: #084298;
    --bs-secondary-border-subtle: #41464b;
    --bs-success-border-subtle: #0f5132;
    --bs-info-border-subtle: #087990;
    --bs-warning-border-subtle: #997404;
    --bs-danger-border-subtle: #842029;
    --bs-light-border-subtle: #495057;
    --bs-dark-border-subtle: #343a40;
    --bs-heading-color: inherit;
    --bs-link-color: #6ea8fe;
    --bs-link-hover-color: #8bb9fe;
    --bs-link-color-rgb: 110, 168, 254;
    --bs-link-hover-color-rgb: 139, 185, 254;
    --bs-code-color: #e685b5;
    --bs-highlight-color: #dee2e6;
    --bs-highlight-bg: #664d03;
    --bs-border-color: #495057;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
    --bs-form-valid-color: #75b798;
    --bs-form-valid-border-color: #75b798;
    --bs-form-invalid-color: #ea868f;
    --bs-form-invalid-border-color: #ea868f;
  }

  .btn-primary {
    --bs-btn-color: #48c0aa;
    --bs-btn-bg: #00000000;
    --bs-btn-border-color: #48c0aa;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #48c0aa;
    --bs-btn-hover-border-color: #48c0aa;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
  }

/* +++++++++ [STARTOF:] Pagina de enlaces (links_page) +++++++++*/
/* resposive for links */

.page-node-type-links-page .field--name-body ul{
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap:20px 10px;
    list-style: none;
    padding:0;
}

@media(max-width: 1366px) {
    .page-node-type-links-page .field--name-body ul{
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 1024px) {
    .page-node-type-links-page .field--name-body ul {
        grid-template-columns: repeat(2, 1fr); 
    }
}


@media (max-width: 600px) {
    .page-node-type-links-page .field--name-body ul {
        grid-template-columns: 1fr;
        padding: 0;
    }
}





/* typography */
.page-node-type-links-page .field--name-body a {
    color: #1E2655;
    margin-left: 0.5em;
    color: #1E2655;
    font-family: 'Open Sans', sans-serif;
    font-weight: 550;
}
/* +++++++++ [ENDOF:] links pages +++++++++ */

/* ++++++++++++++++++ Changes for Careers' Content types ++++++++++++++++++ */

/* listassign--Lista de las Asignaturas -> Accordion <- */
.accordion .accordion-button {
    --bs-accordion-active-color: #194039;
    --bs-accordion-active-bg: #f4f4f4; /* light-ish grey */
    --bs-accordion-btn-focus-box-shadow: #3a9687;
  }
.accordion-button:not(.collapsed)::after {
    filter: brightness(80%) invert(10%);
  }


/* +++++++++ [STARTOF:] assign--Asignatura +++++++++ */

/* +++++++++ label "Docente a cargo" - position */
/* 1. Parent container PTACADEMIA-FELLOW  with "Docente a cargo" */
.field--name-field-ptacademia-fellow:has(.field--name-field-ptacademia-incharge) {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 50%;
}
/* 2. THIRD and so on ELEMENT(s) in the container with "Docente a cargo" */
.field--name-field-ptacademia-fellow:has(.field--name-field-ptacademia-incharge) .field__item:nth-child(-n+20):nth-child(n+3) {
    flex:0 0 100%;
}

/* +++++++++ label "Docente a cargo" - styling */
/* .field--name-field-ptacademia-incharge:not(:empty) {
    color: black;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    font-style: italic;
    font-size: 0.75em;
    text-transform: uppercase;
    align-self: center;
    padding: 0.5em;
    background-color: rgba(190, 188, 188, 0.788);
    margin-left: 0.9em;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}
.field--name-field-ptacademia-incharge:empty {
    display: none;
} */

/* +++++++++ Cuatrimestre y Modalidad y Es seminario +++++++++ */
/* .field--name-field-assign-isseminar:empty {
    display: none;
}
.field--name-field-assign-isseminar,
.field.field--name-field-assign-semester, 
.field.field--name-field-assign-modality {
    margin-bottom: 1.3em;
    margin-top: 1em;
}
.field--name-field-assign-semester > .field__label,
.field--name-field-assign-modality > .field__label {
    text-transform: uppercase;
    color: #1e2655;
    font-weight: 650;
    border-bottom: 1.5px dashed black;
}
.field--name-field-assign-semester > .field__item, 
.field--name-field-assign-modality > .field__item {
    color: #1f1f1f;
    font-weight: 500;
}
.field--name-field-assign-isseminar.field__item {
    text-transform: uppercase;
    color: #1f1f1f;
    font-weight: 650;
    border-bottom: 1.5px dashed black;
} */

/* +++++++++ text +++++++++*/
#main-left-column .row.inside-upper-row {
    text-align: center;
}
#main-left-column > .inside-lower-row {
    margin-top: 0.4em;
    margin-bottom: 0.8em;
    padding: 0.3em;
}
#main-left-column .inside-lower-row p {
    color: #000;
}
/* +++++++++ image +++++++++*/
.field--name-field-assign-image {
    margin-bottom: 0.6em;
}

/* +++++++++ Docencia +++++++++ */
.field.field--name-field-assign-teacher {
    margin-top: 1em;
}
/* describing every teacher in Docentes-Asignatura  */
.field--name-field-ptacademia-rank.field__item {
    color: #1e2655;
    font-weight: 600;
    margin-left: 0.6em;
}
.field--name-field-ptacademia-fellow > .field__item {
    margin-left: 1.2em;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}
.field--name-field-ptacademia-fellow > .field__item a {
    color: #1e2655;
    text-decoration: underline;
}

/* +++++++++ Programs and Plans +++++++++ */
.field.field--name-field-assign-programcurrent {
    margin-top: 1em;
}

.field--name-field-assign-programcurrent > .field__label,
.field--name-field-assign-programformer > .field__label,
.field--name-field-assign-planstudy > .field__label {
    text-transform: uppercase;
    color: #1e2655;
    font-weight: 650;
    margin-left: 0.4em;
}
.field--name-field-assign-programformer > .field__items a, 
.field--name-field-assign-programcurrent > .field__item a,
.field--name-field-assign-planstudy > .field__item a {
    color: #29a08d;
    text-decoration: underline;
}
.field--name-field-assign-programformer > .field__items, 
.field--name-field-assign-programcurrent > .field__item,
.field--name-field-assign-planstudy > .field__item {
    margin-left: 1em;
    margin-top: 0.6m;
    margin-bottom: 0.6em;
}
/* +++++++++ [ENDOF:] assign -- Asignatura +++++++++ */


/* +++++++++ [STARTOF:] teacher -- Teacher +++++++++ */

/* organizing image and text */
.block-teacher-image, 
.block-teacher-assignments,
.block-teacher-description {
    margin-bottom: 1.2em;
}
/* +++++++++ embedded stauff +++++++++ */
/* headings */
#container-teacher h3 span {
    color: #1f1f1f;
    font-style: italic;
    display: inline-block;
    margin-top: 0.4em;
}
/* +++++++++ rank' titles  */
.block-teacher-assignments .field__label {
    text-transform: uppercase;
    color: #1e2655;
    font-weight: 650;
    border-top: 1px dashed #1e2655;
    margin-top: 0.4em;
    margin-bottom: 0.2em;
    padding-top: 0.2em;
    padding-left: 0.5em;
}
/* +++++++++ asignaturas */
.block-teacher-assignments a {
    color: #29a08d;
    font-size: 1.05em;
    text-decoration: underline;
}
.block-teacher-assignments .views-element-container {
    margin-left: 1.2em;
}
/* +++++++++ [ENDOF:] teacher--Teacher +++++++++ */

.field--name-body{
    overflow-wrap: anywhere;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++ CURSO -- POSGRADO (pg_unit) +++++++++++++++ */

.upper-row-image-pg-unitcommon {
  padding: 0 !important;
}
.middle-row-tiles-pg-unitcommon {
    margin-top: 0.6em !important;
    margin-bottom: 0.6em;
}
/* +++ ROW-TILES +++ ROW-TILES +++ ROW-TILES +++ ROW-TILES +++ */
#section-informacion-general-pg-unitcommon {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 0;
}
#section-informacion-general-pg-unitcommon > div {
    flex: 1 1 calc(20% - 15px);
    background: rgba(73,191,170,1);
    color: #fff;
    font-family: 'Bitter' !important;
    text-align: center;
    padding: 15px;
    align-items: center;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1200px) {
    #section-informacion-general-pg-unitcommon > div {
      flex: 1 1 calc(33.33% - 15px); 
    }
}
@media (max-width: 800px) {
    #section-informacion-general-pg-unitcommon > div {
      flex: 1 1 calc(50% - 15px); 
    }
}
@media (max-width: 500px) {
    #section-informacion-general-pg-unitcommon > div {
      flex: 1 1 100%; 
    }
}
#section-informacion-general-pg-unitcommon > div .field__label {
    font-size: 20px;
    border-bottom: 1px dashed #1e2655;
    margin-bottom: 0.4em;
}
.pg-unitcommon-enroll .field__items,
.pg-unitcommon-duration .field__items {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.pg-unitcommon-enroll div .field__item:nth-child(1)::after,
.pg-unitcommon-duration div .field__item:nth-child(1)::after {
  content: "-- ";
  margin: 0 5px;
}
#section-informacion-general-pg-unitcommon > div a {
    text-decoration: underline;
    color: black;
}
/* +++ LOW-ROW +++ LOW-ROW +++ LOW-ROW +++ LOW-ROW +++ */
.low-row-pg-unitcommon {
    padding-left: 0;
    padding-right: 0;
}
.left-main-column-pg-unitcommon {
    margin-top: 0.5em;
}
.right-main-column-pg-unitcommon {
    margin-top: 0.5em;
}
/* +++ ROW-TILES +++ ROW-TILES +++ ROW-TILES +++ ROW-TILES +++ */

/* +++ TEXT - PRESENTACION +++ TEXT - PRESENTACION +++ */
.pg-unitcommon-text {
    margin-bottom: 1em;
}

/* +++ DOCENTE/S A CARGO +++ DOCENTE/S A CARGO +++ */
.pg-unitcommon-docente {
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 0.4em;
}
.pg-unitcommon-docente .field__items a {
    text-decoration: underline;
    color: black;
}
/* +++ DOCENTE -- TAGS -- TEXT +++ DOCENTE -- TAGS -- TEXT +++ */
.pg-unitcommon-text .field__label,
.pg-unitcommon-docente .field__label, 
.pg-unitcommon-area .field__label {
    text-transform: uppercase;
    color: #1e2655;
    font-weight: 650;
    font-family: 'Bitter';
    padding-top: 0.3em;
}
.pg-unitcommon-text .field__item,
.pg-unitcommon-docente .field__items > div, 
.pg-unitcommon-area .field__items > div {
    margin-left: 1em;
    margin-top: 0.3em;
    color: #000;
}
/* +++ TAGS RELACIONADOS (AREA) +++ TAGS RELACIONADOS (AREA) +++ */
.pg-unitcommon-area {
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 0.4em;
    padding-bottom: 0.8em;
    border-top: 1px dashed #1e2655;
    border-bottom: 1px dashed #1e2655;

}
.pg-unitcommon-area .field__items {
    display: flex;
    flex-wrap: wrap;
}
.pg-unitcommon-area div .field__item a {
    text-decoration: none;
    color: #545454;
    background-color: #d9d9d9;
    border-radius: 10px;
    padding: 3px 10px;
    margin: 5px;
}
.right-main-column-pg-unitcommon {
    padding-left: 1.6em !important;
}
/* +++ RIGHT-COLUMN --> DETAILS-SUMMARY-thing-specifics */

/* rules for: "details-common-" see for now in CAREERS of ALL CATEGORIES POSGRADO part; 
need to be moved to a specified area! */

.field--name-field-pg-unit-classagenda .paragraph--type--pt-plannerclass {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    align-items: left;
}
.field--name-field-pt-plannerclass-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* ++++++++++ [ENDOF:] CURSO -- POSGRADO (pg_unit) ++++++++++ */

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++ TODAS LAS CARRERAS -- POSGRADO ++++++++++++++ */
/* (pg_magister) (pg_specialcar) (pg_actualprog) (pg_doctorate)  */

/* *** TABS *** TABS  *** TABS  *** TABS  *** TABS  *** TABS *** */
.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
  }
  .tabset .tab-panel {
    display: none;
  }
  .tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
  .tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
  .tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
  .tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
  .tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
  .tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
    display: block;
  }
  .tabset > label {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
  }
  .tabset > label::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 22px;
    height: 4px;
    background: #8d8d8d;
  }
  input:focus-visible + label {
    /* outline: 2px solid #3BC3AD; */
    outline: 2px solid #49BFAA;
    border-radius: 3px;
  }
  .tabset > label:hover,
  .tabset > input:focus + label,
  .tabset > input:checked + label {
    /* color: #3BC3AD; */
    color: #49BFAA;
  }
  .tabset > label:hover::after,
  .tabset > input:focus + label::after,
  .tabset > input:checked + label::after {
    /* background: #3BC3AD; */
    background: #49BFAA;
  }
  .tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
  }
  .tab-panel {
    padding: 30px 0;
    border-top: 1px solid #ccc;
  } 
/* *** [ENDOF:] *** TABS *** TABS  *** TABS  *** TABS  *** TABS  *** TABS *** */

/* COMMON --> DETAILS-SUMMARY-thing ---- RIGHT-COLUMN ---- */
.details-common {
    border: none;
    color: #000;
}
.details-common-label {
    /* color: #3BC3AD; */
    /* color: #49BFAA; */
    color: #1e2655;
    text-transform: capitalize;
    font-family: 'Bitter';
    font-weight: 600;
    font-size: 20px;
}
.details-common-item,
.details-common-items {
    padding-left: 1.5em;
}
.details-common-item a {
    text-decoration: underline;
    color: black;
}
/* COMMON --- PERIODO DE INSCRIPCION */
.details-common-item > div {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}.details-common-item > div > div:nth-child(1)::after {
    content: "   -   ";
}
.details-common-item > div > div:nth-child(2)::before {
    content: "   -   ";
}
/* COMMON - [specifics] for PT-AUTHORITIES-PERSON */
.field--name-field-pt-authorities-person > .field__item a {
    color: #1e2655;
    text-decoration: underline;
    padding-left: 1em;
}
/* [ENDOF:] COMMON --> DETAILS-SUMMARY-thing ---- RIGHT-COLUMN ---- */

/* ++++ MIDDLE-TILES ++++ MIDDLE-TILES ++++ MIDDLE-TILES ++++ */
#tiles-buttons-pg-common {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}
#tiles-buttons-pg-common div {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1em;
    text-align: center;
    align-items: stretch;
}
#tiles-buttons-pg-common div .field__item {
    flex: 1 1 calc(33.33% - 15px);
    box-sizing: border-box;
    padding: 1em 0;
    background-color: #49BFAA;
}
@media (max-width: 768px) {
    #tiles-buttons-pg-common .field__items {
        flex-direction: column;
        gap: 0.7em;
    }
    #tiles-buttons-pg-common .field__item > div {
      flex: 1 1 100%; 
    }
}
#tiles-buttons-pg-common .field__item a {
    text-decoration: none;
    color: white;
    font-size: 20px;
}
/* ++++ TEXT-DEGREE-ROW ++++ TEXT-DEGREE-ROW ++++ TEXT-DEGREE-ROW ++++ */
.low-row-pg-common {
    box-sizing: border-box;
}
.left-main-column-pg-common,
.right-main-column-pg-common {
    padding-top: 0.4em;
}
#degree-pg-common {
    text-align: center;
    color: #fff;
    padding: 0.8em 0;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background-color: #1e2655;
}
#degree-pg-common .field__label {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    width: 90%;
    margin: 0 auto;
    border-bottom: 1px solid #fff;
}
#degree-pg-common .field__item {
    text-align: center;
    font-size: 18px;
    width: 80%;
    margin: 0 auto;
    padding-top: 10px;
}
#presentation-pg-common {
    margin-top: 0.7em;
}
#presentation-pg-common .field__label,
.list-courses-by-career-tabset-heading {
    text-transform: uppercase;
    color: #1e2655;
    font-weight: 650;
    font-family: 'Bitter';
    padding-top: 0.3em;
}
#presentation-pg-common .field__item {
    margin-left: 1em;
    margin-top: 0.3em;
    color: #000;
}
.list-courses-by-career-tabset-heading {
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}
/* +++++++++ [ENDOF:] TODAS LAS CARRERAS -- POSGRADO +++++++++ */

/* +++ responsive for news-page */
@media (max-width: 768px) {
    .view.view-news.view-id-news.view-display-id-page_news .news-grid,
    .view.view-news.view-id-news.view-display-id-page_news .mini-news-grid {
      display: grid;
      grid-template-columns: 1fr; 
      gap: 10px;
    }
    /* .view.view-news.view-id-news.view-display-id-page_news .news-grid .image-division img {
      display: none;
    } */
  }

/* Tipo de contenido Trámite */
.node--type-procedure .field{
    margin-bottom: 30px;
}

.node--type-procedure .field__label{
    font-family: 'Bitter';
    font-size: 21px;
    color: rgb(var(--bs-primary-rgb));
    margin-bottom:5px;
}

.view-procedures .form--inline{
    display: flex;
    align-items: self-end;
    margin-bottom: 10px;
}
/* \\\\\\ MOVIES -- CINES (node--fedrocine.html.twig) \\\\\\\\\\\\\\\ */
.row-trailer-text {
     display: flex;
     flex-wrap: wrap;
     gap: 2rem;
 }
 .trailer-for-film {
     flex: 1 1 50%;
     position: relative;
     padding-top: 56.25%;
 }
 .trailer-for-film iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%
 }
 .text-for-film {
     flex: 1 1 50%;
     padding-left: 1em;
     padding-right: 0.8em;
 }
 @media (max-width: 768px) {
     .trailer-for-film,
     .text-for-film {
  flex-basis: 100%;
     }
 }

 @media(max-width:1024px){
    #block-fedro-page-title .field--name-title,
    #block-fedro-page-title h1{
            font-size: 28px;
    }
 }