@charset "UTF-8";
/*@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=STIX+Two+Text:ital,wght@0,400..700;1,400..700&display=swap');

:root{
    /*anterior: "Figtree", sans-serif;*/
    --body-font-family: "STIX Two Text", serif;
    --title-font-family: "STIX Two Text", serif;
    --gray-200: #e9f0f0;
    --gray-300: #595959;
    /*anterior principal: #ff0080*/
    --color-principal: #92d3e9;
    --color-acento: #000000;
    --color-textos: #000000;
    --color-textos-secundarios: #3C3C3C;
    --font-size-18: 18px;
    --font-size-20: 20px;
    --font-size-24: 24px;
    --font-size-28: 28px;
    --font-size-32: 32px;
  } 



/***HEADER FIXED****/
header {
    position: fixed;
    background: white;
    width: 100%;
    z-index: 500;
    -webkit-box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.15);
}
header, div.ancla{
    height: 90px;
}    
main {
    display: block;
    margin-top: 90px;
}
@media (min-width:576px){
    header, div.ancla{
        height: 100px;
    }
    main {
        margin-top: 100px;
    }   
}
@media (min-width:768px){
    header, div.ancla {
        height: 90px;
    }
    main {
        margin-top: 120px;
    }   
}
@media (min-width:1200px){
    header, div.ancla {
        height: 104px;
    }
    main {
        margin-top: 104px;
    } 
}
@media (min-width: 1400px) {

}

body {
  font-size: var(--font-size-18);
  font-family: var(--body-font-family) !important;
  color: var(--color-textos);
  word-break: break-word;
}  

body a {
  word-break: break-word;
  color: var(--color-acento);
}
details a {
    text-decoration: underline;
}
a.non-underline{
  text-decoration: none;
}
body .row {
  margin: 0 auto;
}
body .row > * {
  padding-right: 0;
  padding-left: 0;
}
body .region-content {
  padding: 0;
}
body .container {
  /* padding: 0; */
}
body .container.row {
    margin: 0 auto;
}

.container {
    margin: auto;
    width: 100%;
}
@media (min-width:576px){
  .container {
    max-width: 540px;
   }
}
@media (min-width:768px){
  .container {
    max-width: 720px;    
   }
}
@media (min-width:992px){
  .container {
    max-width: 960px;
   }
}
@media (min-width:1200px){
  .container {
    max-width: 1140px;
   }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
   }
}


.grid.views-view-grid .col-md-6.col-lg-6.col-xl-6,
.grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3 {
    padding-right: 0;
    padding-left: 0;
}


@media (min-width:576px){
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:nth-child(2n+1) {
        padding-right: 20px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:nth-child(2n) {
        padding-left: 20px;
    }
}
@media (min-width:768px){
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n+1) {
        padding-right: 20px;
    }
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n) {
        padding-left: 20px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:nth-child(2n+1) {
        padding-right: 20px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:nth-child(2n) {
        padding-left: 20px;
    }    
}
@media (min-width:992px){
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n+1) {
        padding-right: 40px;
    }
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n) {
        padding-left: 40px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:not(:last-child) {
        padding-right: 20px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:not(:first-child) {
        padding-left: 20px;
    }    
}
@media (min-width:1200px){
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n+1) {
        padding-right: 60px;
    }
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n) {
        padding-left: 60px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:not(:last-child) {
        padding-right: 30px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:not(:first-child) {
        padding-left: 30px;
    }    
}
@media (min-width: 1400px) {
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n+1) {
        padding-right: 80px;
    }
    .grid.views-view-grid .col-md-6.col-lg-6.col-xl-6:nth-child(2n) {
        padding-left: 80px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:not(:last-child) {
        padding-right: 40px;
    }
    .grid.views-view-grid .col-sm-6.col-md-6.col-lg-3.col-xl-3:not(:first-child) {
        padding-left: 40px;
    }    
}
.max-width-xs{
    max-width: 520px;
}

.d-flex-column{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pr-5 {
    padding-right: 30px !important;
}
.h-80 img {
    height: 80px;
    width: auto;
}

.font-weight-bold {
    font-weight: bold;
}
.jumbotron{
    background: var(--gray-200);
    border-radius: 20px;
    padding: 40px;
}


/**header **/
.logos .view-content {
    /* display: flex; */
    /* gap: 5px; */
}

footer .logos .view-content {
    margin-bottom: 2rem;
}
header .view-logo img{
    height: 80px;
}
footer .view-logo img {
    height: 30px;
    padding:4px
}
footer .block-views-blocklogo-block-2 img {
    height: 40px;
    width: 100%;
}

@media (min-width:576px){
    header .view-logo img  {
        height: 40px;
    }
    footer .view-logo img  {
        height: 40px;
    }
    footer .block-views-blocklogo-block-2 img {
        height: 40px;
    } 
}
@media (min-width:768px){
    header .view-logo img {
        height: 60px;
    }
   footer .view-logo img  {
        height: 40px;
    }    
        footer .block-views-blocklogo-block-2 img {
        height: 60px;
    } 
}
@media (min-width:1200px){
    header .view-logo img {
        height: 80px;
    }
   footer .view-logo img  {
        height: 42px;
    }  

}
@media (min-width:1400px){
    header .view-logo img {
        height: 80px;
    }
   footer .view-logo img  {
        height: 40px;
    }  
    footer .block-views-blocklogo-block-2 img {
        width: 100%;
        height: 160px;
    } 
}
.text-white a {
    color: white;
}



/**header toggler**/
.navbar-toggler {
    border: 1px solid var(--color-textos);
    border-radius: 0;
}
.navbar-toggler-icon {
    background-image: url(/themes/custom/b5subtheme/images/bars-solid.svg);
    width: 1em;
    height: 1em;
}
button.navbar-toggler[aria-expanded=true] .navbar-toggler-icon {
    background-image: url(/themes/custom/b5subtheme/images/xmark.svg);
}
@media (min-width:576px){
    .navbar-toggler-icon {
        width: 1.5em;
        height: 1.5em;
    }
}






/**enlaces y botones**/
.botones-iguales, .botones-diferentes{
    gap: 20px;
}

.botones-diferentes a.btn-custom:first-child,
.cta a.btn-custom,
.button.button--primary,
.button.btn-primary,
.botones-iguales a.btn-custom,
.botones-diferentes a.btn-custom:last-child,
.boton-principal a,
.boton-secundario a,
a.btn-custom,
a.btn-custom2{
    font-family: var(--title-font-family);
    padding: 8px 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    background: var(--color-acento);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: block;
    width: fit-content;
    margin-bottom: 20px;
}
.botones-diferentes a.btn-custom:first-child:hover,
.cta a.btn-custom:hover,
.button.button--primary:hover,
.button.btn-primary:hover,
.botones-iguales a.btn-custom:hover,
.botones-diferentes a.btn-custom:last-child:hover,
.boton-principal a:hover,
.boton-secundario a:hover,
a.btn-custom:hover,
a.btn-custom2:hover{
    transform: scale(1.05);
}


/**textos**/
h1, h2, h3, h4, h5, h6{
   font-family: var(--title-font-family); 
    line-height: 1em !important;
}
h1, .h1 {
    font-size: 1.8rem;
}
@media (min-width: 768px){
  h1, .h1 {
    font-size: 2.6rem;
  }
}
@media (min-width: 1200px){
  h1, .h1 {
    font-size: 2.5rem  !important;
    /* width: fit-content; */
  }
}
h2, .h2, table caption {
    font-size: 1.8rem  !important;
    color:  var(--color-textos);
}
@media (min-width: 768px){
  h2, .h2, table caption  {
    font-size: 2.2rem  !important;
  }
}
@media (min-width: 1200px){
  h2, .h2, table caption  {
    font-size: 2.3rem !important;
  }
}
.text-white h2{
    color: white;
}
.field--name-body h2 {
    margin-top: 32px;
}
.text-black a {
    color: black;
}
.font-family-title{
    font-family: var(--title-font-family); 
}
.font-size-18{
    font-size: var(--font-size-18);
}
.font-size-24{
    font-size: var(--font-size-20);
}
@media (min-width: 768px){
    .font-size-24{
        font-size: var(--font-size-24);
    }
}
.font-size-28{
    font-size: var(--font-size-28);
}
.font-size-32{
    font-size: var(--font-size-32);
}
.color-texto-ppal a{
    color: var(--color-textos);
    text-decoration: none;
}
.color-texto-ppal a:hover{
    color: var(--color-textos);
    text-decoration: none;
}
.color-texto-secundario{
    color: var(--color-textos-secundarios);
}
.hero-title h1 {
  font-weight: bold;
  hyphens: none;
  /* text-shadow: 2px 2px 2px black; */
  font-size: 2em;
  line-height: 1.1em;
}
.hero-title span {
    font-size: 1.4em;
}
.hero-text {
  opacity: 0; /* El texto comienza invisible */
  animation: fadeIn 2s ease-in forwards; /* Aplica la animación */
  font-weight: bold;
  hyphens: none;
  /* text-shadow: 2px 2px 2px black; */
}
.hero-text p{
    line-height: 1em;
}
.hero-text span {
    display: block;
    font-size: 1.1em;
}
@media (min-width: 1200px){
  .hero-title img{
      max-width: 520px;
  }
  .hero-text{
      max-width: 650px;
  }
}


img.logo-brand {
    padding: 0 45% 50px 0;
}
@media (min-width: 768px) {
    img.logo-brand {
    	padding: 0 50% 50px 0;
    }
}
@media (min-width: 992px) {
    img.logo-brand {
    	padding: 0 0 0 20%;
    }
}
.font-weight-600{
    font-weight: 600;
}

/**separadores**/
.hr-bottom-60::after {
    content: "";
    display: block;
    height: 8px; /* Ajusta el grosor de la línea */
    background-color: var(--color-textos); /* Color de la línea */
    width: 59px; /* Ajusta la longitud de la línea */
 }
.text-white .hr-bottom-60::after {
    background-color: white; /* Color de la línea */
 }
.hr-bottom-30::after {
    content: "";
    display: block;
    height: 8px; /* Ajusta el grosor de la línea */
    background-color: var(--color-textos); /* Color de la línea */    
    width: 30px; /* Ajusta la longitud de la línea */
 }
.hr-bottom-30-light::after {
    content: "";
    display: block;
    height: 1px; /* Ajusta el grosor de la línea */
    background-color: var(--color-textos); /* Color de la línea */    
    width: 30px; /* Ajusta la longitud de la línea */
    margin: 1rem 0;
 }
.hr-top::before {
    content: "";
    display: block;
    width: 100%; /* Ajusta la longitud de la línea */
    height: 1px; /* Ajusta el grosor de la línea */
    background-color: var(--color-textos); /* Color de la línea */
 }
.container-c9 h2::after{
    content: "";
    display: block;
    width: 100%; /* Ajusta la longitud de la línea */
    height: 2px; /* Ajusta el grosor de la línea */
    background-color: var(--color-textos); /* Color de la línea */
    margin-bottom: 30px;
}
.width-fit-content {
    width: fit-content;
}
.margin-auto {
    margin: 0 auto;
}
/**borders**/
.border-dashed {
    border: 1px dashed var(--color-textos);
    border-radius: 0 30px 0 0;
    width: fit-content;
 }
.border-dashed img {
    padding: 20px;
    max-height: 100%;
}
.border-dashed-sm {
    border: 1px dashed var(--color-textos);
    border-radius: 0 16px 0 0;
    width: fit-content;
    font-family: var(--title-font-family);
}
.border-dashed .field--name-field-media-image {
    height: 120px;
    width: 120px;
}
.border-dashed .field--name-field-media-image .field__item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.border-radius-30{
    border-radius: 30px;
}
.img-border-radius-30 img{
    border-radius: 30px;
}

/**fondos**/
.background-white {
    background: white;
}
.fondo-negro {
    background: black;
}
.fondo-ppal{
    background: var(--color-principal);
}
.fondo-gris{
    background: var(--gray-200);
}
.fondo-moleculas {
    background-image: url(/sites/default/files/images/moleculas-aceite.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-attachment: fixed; */
}
.parallax-inflorescencia {
    background-image: url(/sites/default/files/images/inflorescencia.jpg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.banner1 {
    background: #00b8ba;
    background-image: url(/themes/custom/b5subtheme/images/background-1.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
    /* background: red; */
}
.imagen-1{
    background: black;
    background-image: url(/themes/custom/b5subtheme/images/image-1.jpg);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.imagen-2{
    background-image: url(/sites/default/files/styles/large/public/images/cuenco.jpg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.imagen-3 {
    background-image: url(/themes/custom/b5subtheme/images/trama-1.svg);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 50%;
    background-attachment: scroll;
}
.img-rounded-right  {
    padding-right: 0; 
}    
.img-rounded-right img {
    border-radius: 0;
    height: 300px;
    width: 100%;
}
.img-full img {
    width: 100%;
    height: 250px;
}


@media (min-width:768px){

}
@media (min-width:992px){
     .img-full img {
        max-width: 100%;
        height: 100vh;
    }
    .img-rounded-right  {
        padding-right: 30px !important; 
    }    
    .img-rounded-right img {
        height: 100vh;
        border-radius: 0 30px 30px 0;
    }
}
@media (min-width:1200px){
    .img-rounded-right img {

    }
}
@media (min-width: 1400px) {
    .img-full img {
        max-width: 100%;
        height: 80vh;
    }
    .img-rounded-right img {
          height: 70vh;
    }    
}




.rounded-left, .rounded-right{
    border-radius: 0;
}
.fondo-negro ul, .fondo-negro ol {
    padding-left: 2rem;
}
@media (min-width:992px){
    .rounded-left{
        border-radius: 30px 0 0 30px;
    }
    .rounded-right{
        border-radius: 0 30px 30px 0;
    }
}
@media (min-width:992px){

}
@media (min-width:1200px){

}
@media (min-width: 1400px) {

}
    .region.region-nav-branding {
        max-width: 80%;
    }

@media (min-width:1200px){
    .region.region-nav-branding {
        max-width: 60%;
    }

}
@media (min-width: 1400px) {

}
/**imagenes**/
.zoom-img{
    overflow: hidden;
}
.zoom-img img:hover, .zoom:hover{
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    -webkit-transition: all, 0.8s;
    -moz-transition: all, 0.8s;
    -o-transition: all, 0.8s;
    transition: all, 0.3s;    
}
.img-w-100 img{
    width: 100%;
    height: 450px;
}

/**navegacion**/
.region.region-nav-branding {
    display: flex;
}
.region.region-nav-branding img.img-fluid {
    width: fit-content;
}

.nav-link {
    color: var(--color-textos);
}
ul.nav.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}
footer ul.nav.navbar-nav {
    margin: 1rem;
}
a.nav-item.nav-link.active.is-active{
   text-decoration: none;
}
.navbar-default .navbar-nav > li > a {
   color: var(--color-textos);
}


@media (max-width:992px){
  .navbar-expand-lg .navbar-nav {
        padding: 20px 0;
  }
  body.path-frontpage .navbar-expand-lg .navbar-nav {
    /* border-bottom: 1px solid var(--color-textos); */
  }
  
}
@media (min-width:992px){
  .navbar-expand-lg .navbar-nav {
      gap: 20px;
  }
}

@media (min-width:1200px){
    .navbar-expand-lg .navbar-nav {
      font-size: 1.1em;
  }
}
@media (min-width:1400px){
    .navbar-expand-lg .navbar-nav {
      font-size: 1.2em;
  }
}
li.nav-item {
    width: fit-content;
}
li.nav-item a{
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: var(--color-textos);
    text-transform: uppercase;
   font-weight: 600;
}
li.nav-item a:hover{
    color: var(--color-textos);
}
footer li.nav-item a:hover{
    color: white;
  text-decoration: underline;
}
li.nav-item a {
    font-family: var(--title-font-family);
}
footer li.nav-item a.nav-link, footer li.nav-item a, footer a.nav-link, footer a.nav-link.active.is-active, footer a{
    font-family: var(--body-font-family);
    color: black;
    text-transform: none;
    font-weight: 400;
    text-decoration: none;
}
li.nav-item a.nav-link {
    color: var(--color-textos);
    font-weight: 400;
    /* border-bottom: 2px solid var(--color-textos); */
}

ul.nav.nav-tabs.flex-column.flex-md-row.primary li.nav-item a{
  color: var(--color-textos);
}
@media (max-widht:992px){
  div#navbarSupportedContent.show {
    margin: 10px 0;
    background: white;
    padding: 40px 10px;
    border-bottom: 2px solid var(--color-principal);
   }
}
footer {
    padding: 0rem !important;
    margin: 0rem;
}
.footer-top{
    background: var(--gray-200);
    padding: 2rem 0rem;
}
.footer-bottom{
    background: var(--color-principal);
    padding: 2rem 0rem;
}
.border-top-white {
    border-top: 1px solid white;
}
.region.region-footer {
    padding: 0;
}
.b5_center_container {
    /* padding-bottom: 1rem; */
    /* border-bottom: 1px solid white; */
}
.region-footer-center .view-content, .region-footer-right .view-content {
    display: flex;
}
.logo-rss img {
    width: 30px;
}
@media (min-width:576px){
    .logo-rss img {
       width: 36px;
    }
}

/**otros**/

ul, ol {
    /* padding-left: 0rem; */
}
ul li, ol li  {
    margin-left: 0;
}
ul.hr-bottom-30-light, ol.hr-bottom-30-light {
    padding-left: 0rem;
}
ul.hr-bottom-30-light li, ol.hr-bottom-30-light li  {
    margin-left: 1.5rem;
}
ul.hr-bottom-30-light  {
   list-style-type: lower-alpha;
}
#block-progressbar {
  z-index:5000;
  position: fixed;
  left: 0; top: 0px;
  width: 100%; height: .25rem;
  background: var(--color-principal);
  transform-origin: 0 50%;
  animation: grow-progress auto linear;
  animation-timeline: scroll();
}
figcaption {
    /*position: absolute;*/
    bottom: 15px;
    width: auto;
    background-color: rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 25%, rgba(0, 0, 0, 0.5) 100%);
    color: white;
    padding: 10px;
    font-size: 0.3em;
}

/*accordion*/
details {
    border: 0px solid var(--gray-200);
}
details[open] summary {
    color: var(--color-textos);
}
summary {
    display: flex !important;
    border: 1px solid var(--color-textos);
    border-radius: 15px;
    /* min-height: 60px; */
    display: flex;
    align-items: center;
    padding: 8px 16px;
    /* font-size: 1.2rem; */
    width: 100%;
    justify-content: space-between;
}
summary:after{
  content: "";
  background: url("/themes/custom/b5subtheme/images/chevron-down-solid.svg");
  background-repeat: no-repeat;
  width: 30px;
  height: 22px;
  right: 0 !important;
  margin-left: 0;
  margin-top: 0px;
}
details[open] summary:after {
    transform: rotate(180deg);
    animation-name: spin;
    animation-duration: .5s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}
#backtotop {
    border: 1px solid white;
    border-radius: 50%;
}
a.btn.faq{
    width: 100%;
}

.accordion-button:not(.collapsed),
a.accordion-button.faq.collapsed{
    background-color: white;
    border: 1px solid var(--color-textos);
    border-radius: 15px;
    /* min-height: 60px; */
    display: flex;
    align-items: center;
    padding: 8px 16px;
    /* font-size: 1.2rem; */
    width: 100%;
    justify-content: space-between;
}
a.accordion-button{
    text-decoration: none;
    color: var(--color-textos);
}
.accordion-button:focus {
    box-shadow: 0;
}
.accordion  .card.card-body {
    border: 0px;
}

/*cards*/

.card {
    margin: 10px;
    background: black;
    height: 100%;
    border: 0;
    /* border-bottom: 40px solid white; */
}
.card-image img {
    aspect-ratio: 9 / 8;
    width: 100%;
}
img.aspect-ratio-9-8 {
    aspect-ratio: 9 / 8;
}
img.aspect-ratio-2-1 {
    aspect-ratio: 2 / 1;
}
.card-item {
    background: var(--gray-200);
    padding: 5px 10px;
    border-radius: 20px;
    color: black;
}

.card.full-width {
    margin: 0;
    height: 87vh;
    max-height: 100%;
    border: 0;
}
.card.full-width .card-image {
    max-height: 100%;
        display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card.full-width img {
    /* max-height: 100%; */
    /* width: auto; */
    /* margin: 0 auto; */
    /* aspect-ratio: auto; */
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
}
.full-width .fondo-negro {
    position: absolute;
    bottom: 0;
    right: 0;
}
button.slick-next.slick-arrow,
button.slick-prev.slick-arrow{
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

button.slick-next.slick-arrow:hover,
button.slick-prev.slick-arrow:hover {
  opacity: 0.4;
}
button.slick-next.slick-arrow {
    background-image: url(/themes/custom/b5subtheme/images/arrow-right-circle-black.svg);
    right: -50px;
}

button.slick-prev.slick-arrow {
    background-image: url(/themes/custom/b5subtheme/images/arrow-left-circle-black.svg);
    left: -50px;
}

/*navegacion**/
nav.navbar.navbar-expand-lg.container {
    background: white;
}
a.nav-link.active.is-active {
        color: var(--color-acento);
}
/** hover line **/
.hover-line,
header li.nav-item{
    display: inline-block;
    position: relative;
    padding: 0;
    cursor: pointer;
    color: var(--color-textos);
}

.hover-line::after,
header li.nav-item a:after{
    content: '';
    position: absolute;    
    left: 0;
    width: 100%;
    background-color: var(--color-acento);
    transform: scaleX(0.05);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.hover-line::after{
    bottom: -8px;    
    height: 8px;
    transform: scaleX(0.05);
}
header li.nav-item a:after{
    bottom: -6px;    
    height: 8px;
    transform: scaleX(0);
}
.hover-line:hover::after,
header li.nav-item a:hover:after{
    transform: scaleX(1);
}


a.enlace, .enlace a {
  position: relative;
  color: var(--color-acento);
  text-decoration: none;
  font-weight: bold;
}

a.enlace::after, .enlace a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-acento);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

a.enlace:hover::after, .enlace a:hover::after {
  width: 100%;
}




img.icon {
    height: 20px !important;
    width: 20px !important;
    margin-bottom: 4px;
    margin-right: 4px;
}




.image-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Ajusta la altura según tus necesidades */
    background-image: url('/themes/custom/b5subtheme/images/trama-1.svg'); /* Imagen de fondo */
    background-size: cover; /* Ajusta el tamaño de la imagen de fondo */
    background-position: center; /* Centra la imagen de fondo */
    background-attachment: fixed; /* Efecto parallax */
}

.image-container::before {
    content: '';
    position: absolute;
    top: 50px; /* Ajusta la posición según tus necesidades */
    left: 50px; /* Ajusta la posición según tus necesidades */
    width: 200px; /* Ajusta el tamaño según tus necesidades */
    height: 200px; /* Ajusta el tamaño según tus necesidades */
    background-image: url('/themes/custom/b5subtheme/images/trama-2.svg'); /* Imagen superpuesta */
    background-size: contain; /* Ajusta el tamaño de la imagen superpuesta */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    z-index: 1; /* Asegura que la imagen superpuesta esté por encima */
}
/*FOTOGRAFIAS*/
h2.blazy__caption--title {
    font-size: 1rem;
    color: white;
    padding: 0 20px;
    text-align: right;
    background: black;
}
.card-image .label {
    /* padding: 10px; */
    position: absolute;
}
.label a{
    color: white;
    text-decoration: none;
    background: var(--color-principal);
}
@media (max-width:576px){
  nav.slick__arrow{display: none;}
}


.blazy.blazy--media.blazy--field.blazy--field-image.blazy--field-image---custom.field.field--name-field-image.field--type-image.field--label-hidden.field__item.is-blazy,
.media.media--blazy.media--switch.media--switch--media.media--image.is-b-loaded{
    background: black;
}
.blazy .media--blazy img.b-blur, .blazy .media--blazy img.media__element, .blazy .grid figure,
.media.media--blazy.media--switch.media--switch--media.media--image.is-b-loaded img{
    margin: 0 auto;
}
.slick__slide.slick-slide.slick-current.slick-active .row {
    background: black;
}
.nombre-foto {
    font-size: 2em;
    line-height: 1em;
}
/*forms*/
fieldset {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 10px;
}
legend{
    background: black;
    padding: 5px;
    color: white;
    
}

/*otros*/
.slick-list.draggable {
    background: black;
}
.slider-fotciencia .slick-list.draggable {
    background: white;
}
button.slick-arrow {
    background: transparent;
}
.color-grey a {
    color: grey;
}
.bold-principal strong {
    color: var(--color-principal);
}

/* formularios*/
.form--inline.clearfix {
    display: flex;
}

/* descargas */
.descarga{
    border: 1px solid var(--color-textos);
    border-radius: 4px;
    color: var(--color-textos);
    padding: 16px;
    margin-left: 0px;
    text-decoration: none;
    display: flex;
    column-gap: 16px;
    transition: all .5s;
}
.descarga a{
  text-decoration: none;
    color: var(--color-textos);
}
.descarga img {
    width: 30px;
    margin: 0 10px;
    position: relative;
    bottom: 4px;
}
/*calendario*/
.view.view-calendario.view-id-calendario td{
 /* font-size: 0.8em; */
 padding: 10px 5px;
}
th.views-field.views-field-field-edicion{
    min-width: 130px;
}

th.views-field.views-field-field-pais{
    min-width: 100px;
}
th.views-field.views-field-field-fecha-inicio, th.views-field.views-field-field-fecha-fin{
    min-width: 190px;
}
img.svg-icon {
    height: 18px;
}

/*tables*/
.field--name-body thead, .field--name-body  tbody, .field--name-body  tfoot, .field--name-body  tr, .field--name-body td, .field--name-body th{
    padding: 10px;
} 
.field--name-body  table {
    border: 1px solid var(--color-textos);
    margin: 20px 0;
}
.tabla th {
    background: black;
    color: white;
}


.no-results {
    border: 1px solid var(--color-textos);
    padding: 40px;
}
.ver-mas img {
    height: 22px;
    margin: 0 10px;
    position: relative;
    bottom: 4px;
}

/* CARRSUSEL*/
.text-carrusel {
    position: absolute;
    margin-left: calc(100% - 90vw);
    width: 50%;
    max-width: 80vw;
}
.text-carrusel .hero-title,
.text-carrusel .hero-text{
    text-shadow: 2px 2px 2px black;
}
h2.slide__title {
    position: absolute;
    top: -10px;
}

h2.slide__title, .label {
    background: var(--color-principal);
    color: var(--color-textos);
    font-size: 20px !important;
    padding: 5px 20px;
    text-decoration: none;
    font-weight: 400;
}

/*TIMELINE*/
.item-timeline-fecyt {
    color: lightgrey;
}
.item-timeline-fecyt:hover {
    color: var(--color-textos);
}
.item-timeline-fecyt i{
    margin-right: 5px;
}
.item-timeline-fecyt.activado {
    color: var(--color-textos);
}
.item-timeline-fecyt p {
    margin-top: -5px;    
}
.item-timeline-fecyt {
    margin-bottom: 30px;
}
.item-timeline-fecyt.activado a{
    /* color: var(--color-principal); */
}
ul.timeline-list li.timeline-item .timeline-item-wrapper span.timeline-marker {
    width: 16px;
    height: 16px;
}

.btn-check:checked + .btn, .node-preview-container .btn-check:checked + .node-preview-backlink, .btn-check:checked + .button, .btn-check:checked + button.link, :not(.btn-check) + .btn:active, .node-preview-container :not(.btn-check) + .node-preview-backlink:active, :not(.btn-check) + .button:active, :not(.btn-check) + button.link:active, .btn:first-child:active, .node-preview-container .node-preview-backlink:first-child:active, .button:first-child:active, button.link:first-child:active, .btn.active, .media-library-view--widget .view-header a.btn.is-active, .node-preview-container .active.node-preview-backlink, .node-preview-container .media-library-view--widget .view-header a.node-preview-backlink.is-active, .media-library-view--widget .view-header .node-preview-container a.node-preview-backlink.is-active, .active.button, .media-library-view--widget .view-header a.button.is-active, button.active.link, .btn.show, .node-preview-container .show.node-preview-backlink, .show.button, button.show.link {
    color: var(--bs-btn-active-color);
    background-color: var(--color-principal);
    border-color: var(--color-principal);
}

.btn-primary {
     --bs-btn-color: white;
    --bs-btn-bg: var(--color-principal);
    --bs-btn-border-color: var(--color-principal);
    --bs-btn-hover-color: #000000;
    --bs-btn-hover-bg: var(--color-principal);
    --bs-btn-hover-border-color: var(--color-principal);
    --bs-btn-focus-shadow-rgb: 38, 89, 206;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-principal);
    --bs-btn-active-border-color: var(--color-principal);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000000;
    --bs-btn-disabled-bg: var(--color-principal);
    --bs-btn-disabled-border-color: var(--color-principal);
}



/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0; /* Comienza completamente invisible */
  }
  to {
    opacity: 1; /* Termina completamente visible */
  }
}
/*login*/
.user-login-form,
form#user-pass,
.block.block-user.block-user-login-block {
    background: var(--gray-200);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 40px;
}
.user-login-form ul,
form#user-pass ul, 
.block.block-user.block-user-login-block ul {
    list-style: none;
}
.user-login-form li,
form#user-pass li, 
.block.block-user.block-user-login-block .item-list li {
  margin: 0.5rem;
  padding: 0;
}
.user-login-form label,
form#user-pass label, 
.block.block-user.block-user-login-block label {
    font-size: 20px;
}
.block.block-user.block-user-login-block a.request-password-link {
    font-size: 16px;
}
.d-inline a{
    display: inline;
}