@font-face {
  font-family: "Buendia";
  src: url("../fonts/BuendiaRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Buendia";
  src: url("../fonts/BuendiaMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Buendia";
  src: url("../fonts/BuendiaExtraBold.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face{
  font-family: "Dahlia";
  src: url("../fonts/dahlia-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

.page-historia-gabo {
  background-color: #fde4ce;
}

.page-historia-gabo .custom-section {
  padding: 0px 60px 35px 60px;
}

.history-full-content {
  padding-top: 70px;
  padding-bottom: 30px;
  /* background-image: url("../images/fondo_gabo.png"); */
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position-y: 0px;
}

.page-historia-gabo .history-full-content.main-full-page-history{
  padding-top: 0px;
}

.page-historia-gabo .history-full-content.main-full-page-history .custom-section{
  padding-top: 70px;
  background-image: url("../images/fondo_gabo.png");
  /* background-size: auto 100%;
  background-repeat: no-repeat;
  background-position-y: 0px; */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-bottom: 0px;
  margin-bottom: 35px;
}

.history-full-content.node-history{
  background-image: url("../images/fondo_gabo_node.png");
}

.page-historia-gabo .video-embed-history iframe {
  /* max-width: 600px; */
  max-height: 485px;
  position: unset;
  height: 100%;
  border-radius: 15px;
  margin-bottom: 90px;
}

.page-historia-gabo .video-embed-history .btn-primary-history{
  position: absolute;
  left: 100%;
  top: calc(50% + 197.5px);;
  margin-top: 0px;
  transform: translate(-50%, -50%);
}

.page-historia-gabo .video-embed-history .video-embed-field-responsive-video {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.page-historia-gabo .video-embed-history .field-type-video-embed-field {
  width: 100%;
  height: 100%;
}

.page-historia-gabo .field-name-body::first-letter {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  margin-top: inherit !important;
  margin-right: inherit !important;
  text-transform: inherit !important;
}

.row.custom-section {
  display: flex;
}

.row.custom-section > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.row.custom-section .video-embed-history {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 918px;
  margin: 0 auto;
}

.row.custom-section .video-embed-history.gabo-map{
  max-width: unset;
}

.page-historia-gabo
  .video-embed-history
  .field-type-video-embed-field
  > div.field-items {
  height: 100%;
}

.info-section img.img-logo {
  width: 100%;
  max-width: 385px;
  display: block;
}

.info-section img.main-image-page {
  width: auto;
  /* max-width: 304px; */
  display: block;
  max-height: 365px;
  margin-top: 30px;
}

.main-page-history{
  margin-top: 40px !important;
  max-width: 340px;
}

.info-section > p{
  font-size: 17px;
  line-height: 17px;
  font-family: "Buendia", sans-serif;
  font-weight: 500;
  max-width: 470px;
}

.main-full-page-history .info-section > p{
  max-width: 340px;
}

.page-historia-gabo .histories-section,
.page-historia-gabo .aliados-section,
.page-historia-gabo .section-person {
  /* margin-top: 70px;
  padding: 50px; */
  margin-top: 70px !important;
  padding: 0px 50px 50px 50px;
}

/* experiencia  */

.experience-section{
  margin-top: 70px;
}

.selected-image {
  text-align: center;
  margin-bottom: 20px;
}

.selected-image img {
  height: 530px;
  width: 100%;
  object-fit: cover;
  border: 2px solid #22A1C0;
  border-radius: 5px;
}

.carousel-container {
  position: relative;
  padding: 0;
  margin: 0 auto;
}

.thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    margin-bottom: 0px;
    background: none;
    padding: 0px;
    height: 360px;
    object-fit: cover;
    width: 100%;
}

.thumbnail:hover {
  border-color: #22A1C0;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: unset;
  height: 0;
  border-style: solid;
  cursor: pointer;
  z-index: 10;
}

.carousel-control.left-control {
  left: -40px;
  border-width: 15px 20px 15px 0;
  border-color: transparent #22A1C0 transparent transparent;
  right: unset;
}

.carousel-control.right-control {
  right: -40px;
  border-width: 15px 0 15px 20px;
  border-color: transparent transparent transparent #22A1C0;
  left: unset;
}

.carousel-inner {
  box-shadow: none;
}

.description-text {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  color: #555;
}

.no-padding {
  padding: 0px;
}

.page-historia-gabo .section-title {
  /* text-align: center; */
  font-size: 45px;
  margin-bottom: 30px;
  color: #1CA1BF;
  font-family: "Dahlia", sans-serif;
  font-weight: 400;
  margin-top: 20px;
}


.page-historia-gabo .colored-text,
.page-historia-gabo .colored-text a,
.page-historia-gabo .colored-text a:visited,
.page-historia-gabo .colored-text p {
  color: #1CA1BF;
}


.histories-row {
  display: flex;
  flex-wrap: wrap;
}

.historia-image {
    height: 200px;
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.historia-card h3{
    margin: 10px 0px;
    font-size: 26px;
    font-family: "Dahlia", sans-serif;
    font-weight: 400;
}


.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-history{
  position: relative;
  width: fit-content;
}

.dropdown-history .views-element-container{
  top: -3px;
  position: absolute;
  left: 25px;
}

.dropdown-history .views-element-container .dropdown-menu{
  display: flex;
  background-color: transparent;
  border: none;
  box-shadow: none;
  /* padding: 0px; */
  margin-top: 35px;
  border-radius: 0px;
  /* display: flex; */
  /* flex-wrap: wrap; */

  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  
  /* Transición para opacity y transform */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.dropdown-history:hover .dropdown-menu {
  flex-direction: row;
  padding-left: 20px;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);

}

.dropdown-history .views-element-container .dropdown-menu li{
  /* display: inline-block; */
  margin-right: 15px;
}

.dropdown-history .views-element-container .dropdown-menu li a{
  padding: 5px 10px;
  background-color: #22A1C0;
  border-radius: 30px;
  color: #FFFFFF;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

.dropdown-history .views-element-container .dropdown-menu li a:hover{
  background-color: #22A1C0;
  color: #FFFFFF;
}

.btn-primary-history{
  color: #fff;
  background-color: #22A1C0;
  border-color: #22A1C0;
  height: 40px;
  width: 40px;
  padding: 5px;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  margin-top: 35px;
}

.main-full-page-history .btn-primary-history{
  height: 55px;
  width: 55px;
  padding: 10px;
}

.histories-section-video {
  padding: 20px;
}

.histories-section-video .section-title {
  text-align: center;
  margin-bottom: 20px;
}

.histories-section-video .video-container {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.histories-section-video .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 30px;
}

.page-historia-gabo .description {
  margin: 0 auto;
  text-align: center;
  width: 70%;
  color: #1CA1BF;
  line-height: 18px;
  margin-top: 20px;
  font-family: 'Buendia', sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
}

.aliados-section .img-logo,
.aliados-section > img {
  width: 100%;
  height: auto;
}

/* temporal -------------------------------------- */
.central-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: 780px;
  max-width: 970px; 
}

.image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.image-wrapper:hover .central-image{
  transform: translateX(30px); 
}

.central-image {
  display: block;
  transition: transform 0.3s ease;
}


.circles-arc {
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 100%;
  height: 70%;
  max-width: 900px;
  transform: translateX(-50%);
}

.circle-item {
  position: absolute;
  text-align: center;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 30;
}


.circle-image {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.circle-image img {
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.3s ease;
}
.circle-image .gif-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.circle-image:hover .gif-img {
  opacity: 1;
}
.circle-image:hover .static-img {
  opacity: 0;
}


.ver-mas-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #22A1C0;
  color: #fff;
  padding: 3px 8px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 18px;
  display: none;
  font-family: 'Buendia', sans-serif;
  text-align: center;
  width: fit-content;
  white-space: nowrap;
}

.btn-primary-arbol {
  background-color: #22A1C0;
  color: #fff !important;
  padding: 5px 12px;
  text-decoration: none;
  font-size: clamp(8px, 2vw, 14px);;
  border-radius: 30px;
  font-weight: bold;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.2s ease;
  font-family: "Buendia", sans-serif;
  font-weight: 900;
}

.btn-primary-arbol:hover {
  color: #fff;
  text-decoration: none;
}

.page-historia-gabo .show-more {
  background-color: #22A1C0;
  color: #fff !important;
  padding: 5px 12px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 30px;
  transition: all 0.2s ease;
  font-family: "Buendia", sans-serif;
  font-weight: 900;
}

.page-historia-gabo .section-person footer{
  text-align: center;
}

.page-historia-gabo .btn-primary-arbol:hover {
  color: #fff;
  text-decoration: none;
}

.ver-mas-btn:hover {
  color: #fff;
  text-decoration: none;
}



.circle-image:hover .ver-mas-btn {
  display: block;
}


.circle-title {
  margin-top: 5px;
  font-weight: bold;
}

.circle-title a{
  color: #1CA1BF;
  text-decoration: none;
  font-size: 24px;
  font-family: "Buendia", sans-serif;
  font-weight: 400;
}

.circle-title a:hover{
  color: #1CA1BF;
}


.gabo-btn {
  position: absolute;
  top: 50%;
  left: calc(50% - 50px);
  transform: translate(-50%, -50%);
  background-color: #22A1C0;
  color: #fff;
  padding: 5px 12px;
  text-decoration: none;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 90px;
  text-align: right;
  border-radius: 18px;
  font-family: "Buendia", sans-serif;
  font-weight: 900;
  line-height: 14px;
}

.gabo-btn:hover {
  color: #fff;
  text-decoration: none;
}

.image-wrapper:hover .gabo-btn {
  opacity: 1;
}
/* Fin temporal -------------------------------------- */


/* hitos */

.hitos-section,
.gaboteca-section {
  margin-top: 70px;
  color: #1CA1BF;
}

.hitos-section .row:nth-of-type(1) {
  margin-top: 90px !important;
}


.hitos-section .hito-number {
  font-size: 130px;
  /* font-weight: bold; */
  line-height: 60px;
  font-family: "Dahlia", sans-serif;

}

.hitos-section .hito-title{
  font-family: "Dahlia", sans-serif;
  font-weight: 400;
  font-size: 48px;
  margin-top: -30px;
}

.hitos-section .description {
  margin-top: 40px;
}

.gaboteca-section .row {
  display: flex;
  flex-wrap: wrap; 
  align-items: center;
}

.gaboteca-section .description-gaboteca {
  line-height: 17px;
  font-size: 17px;
  font-family: "Buendia", sans-serif;
  font-weight: 500;
}

.gaboteca-section .description-gaboteca > p{
  margin: 0px;
} 

.gaboteca-section .row {
  display: flex;
  align-items: center;
}

.gaboteca-section .row > [class*="col-"] {
  flex: 1;
}

.history-full-content{
  position: relative;
}

.arbol{
  position: absolute;
  top: 8vw;
  right: -55px;
  z-index: 100;
}

.arbol img{
  width: auto;
  max-height: 100px;
  height: 8vw;
  transform: rotate(0deg);
  transition: all 0.5s ease;
}

.arbol:hover img{
  transform: rotate(315deg);
}

.arbol:hover .btn-primary-arbol{
  bottom: unset;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  
  /* transform: translateY(-50%); */
}

.historia-card > p {
  font-size: 18px;
  line-height: 20px;
  font-family: "Buendia", sans-serif;
  font-weight: 500;
}

.card-person{
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.card-person img{
  border-radius: 50%;
  width: 100%;
  height: auto;
  padding: 0px 10px;
}

.card-person .card-person-body{
  color: #1CA1BF;
  margin-top: 20px;
}

.card-person .card-person-body h3 a,
.card-person .card-person-body h3{
  font-size: 26px;
  font-family: "Dahlia", sans-serif;
  font-weight: 400;
  text-decoration: none;
  color: #1CA1BF;
}

.card-person .card-person-body h3 a:hover{
  color: #1CA1BF;
}

.card-person .card-person-body p{
  font-size: 18px;
  line-height: 18px;
  font-family: "Buendia", sans-serif;
  font-weight: 500;
}

.page-historia-gabo .fixed-height-img{
  height: 395px;
}

.description-mobile{
  display: none;
}

.page-historia-gabo .section-person #content-view{
  /* max-height: 0px; */
  /* overflow: hidden; */
  transition: max-height 0.5s ease;
  display: flex;
  flex-wrap: wrap;
}

.page-historia-gabo .section-person .content-view{
  display: flex;
  flex-wrap: wrap;
}

.banner-section{
  width: 100%;
  /* margin-top: 30px; */
  margin-bottom: 0px;
}

.internal-bannner{
  margin-top: 70px;
  margin-bottom: 20px;
} 

.rounded-img img{
  border-radius: 54px;
}

.page-historia-gabo .general-section{
  margin-top: 20px;
}

.page-node.not-front .group-autor:after{
  height: 0px;
  /* margin-bottom: 0px;
  margin-top: 0px;
  width: 0px; */
}

@media (max-width: 768px) {
  .carousel-inner .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .carousel-control.left-control {
    left: -20px;
  }

  .carousel-control.right-control {
    right: -20px;
  }

  .row.custom-section {
    display: unset;
  }

  .page-historia-gabo .description {
    width: 100%;
  }

  .page-historia-gabo .histories-section,
  .page-historia-gabo .aliados-section,
  .page-historia-gabo .section-person {
    margin-top: 20px;
    padding: 15px ;
  }

  .page-historia-gabo .histories-section {
    padding: 15px 40px;
  }

  .page-historia-gabo .paragraph--type--historias-externas-gabo-10-a-100{
    padding: 0px;
  }

  .gaboteca-section .row {
    display: block;
  }

  .gaboteca-section .description-gaboteca {
    text-align: center;
    margin-bottom: 20px;
  }

  .page-historia-gabo .fixed-height-img{
    height: auto;
    display: flex;
    justify-content: center;
  }

  .page-historia-gabo .hitos-section .hito-title {
    margin-bottom: 40px;
  }

  .dropdown-history .views-element-container{
    position: unset;
  }

  .dropdown-history .views-element-container .dropdown-menu{
    position: unset;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-around;
    transform: none;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .dropdown-history .btn-primary-history,
  .page-historia-gabo .video-embed-history .btn-primary-history,
  .page-historia-gabo .carousel-control.right-control,
  .page-historia-gabo .carousel-control.left-control, 
  .page-historia-gabo .info-section > p  {
    display: none;
  }

  .dropdown-history .views-element-container .dropdown-menu li{
    margin-top: 10px;
  }

  .page-historia-gabo .history-full-content.node-history .info-section .section-title{
    text-align: center;
    margin-bottom: 0px;
    font-size: 70px;
  }

  .page-historia-gabo .video-embed-history iframe {
    margin-bottom: 0px;
    border-radius: 10px;
    height: 210px;
  }

  .history-full-content {
    padding-top: 40px;
  }

  .experience-section .thumbnail{
    border: none;
    height: 125px;
  }

  .experience-section .selected-image img {
    height: 185px;
  }

  .no-padding-mobile{
    padding: 0px;
  }

  .description-mobile{
    display: block;
    padding: 0px 15px;
  }

  .description-mobile p{
    font-size: 18px;
    line-height: 18px;
    font-family: "Buendia", sans-serif;
    font-weight: 500;
  }

  .circle-item,
  .circles-arc,
  .central-container{
    position: unset;
    transform: unset;
  }

  .image-wrapper{
    position: relative;
    transform: unset;
    left: unset;
  }

  .image-wrapper:hover .central-image{
    transform: unset; 
  }

  .gabo-btn{
    opacity: 1;
  }

  .page-historia-gabo .info-section .btn-primary-history {
    display: none;
  }

  .circles-arc{
    display: flex;
    flex-wrap: wrap;
    margin: 25px 0px;
  }

  .circle-item{
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .main-full-page-history .info-section .section-title{
    text-align: center;
    margin-bottom: 0px;
    font-size: 60px;
    line-height: 55px;
    margin-top: 10px !important;
  }

  .hitos-section .hito-number {
    font-size: 90px;
  }

  .hitos-section .hito-title {
    font-size: 30px;
    margin-top: 0px;
  }

  .main-page-history {
    max-width: unset;
  }

  .arbol{
    position: relative;
    margin: 0 auto;
    margin-top: 60px;
    width: fit-content;
    right: unset;
    top: unset;
  }

  .btn-primary-arbol{
    font-size: 20px;
  }

  .arbol img {
    max-height: unset;
    height: 150px;
  }

  .page-historia-gabo .section-title {
    font-size: 50px;
  }

  .historia-card h3 {
    font-size: 22px;
  }

  .page-historia-gabo .historia-card{
    margin-bottom: 30px;
  }

  .page-historia-gabo .experience-section .description{
    text-align: left;
    padding: 10px 15px;
  }

  .page-historia-gabo .section-person #content-view{
    max-height: unset;
    overflow: auto;
  }

  .page-historia-gabo .section-person .show-more{
    display: none;
  }

  /* .page-historia-gabo .histories-section-video{
    padding: 20px 0px;
  } */

  .page-historia-gabo .histories-section-video .description{
    padding: 0px 15px;
    margin-top: 20px;
  }

  .page-historia-gabo .video-embed-history .description-mobile{
    margin-top: 30px;
  }

  .page-historia-gabo .hitos-section{
    padding: 0px 30px;
  }

  .main-full-page-history .section-person{
    padding-left: 30px;
    padding-right: 30px;
  }

  .rounded-img img{
    border-radius: 15px;
  }

  .page-historia-gabo .history-full-content:not(.main-full-page-history) .row.custom-section .video-embed-history {
    padding: 0px 20px;
  }

  .card-person .card-person-body h3,
  .card-person .card-person-body h3 a {
    font-size: 22px;
  }

  .page-historia-gabo .general-section{
    padding: 15px;
  }
}

@media (max-width: 1400px) {
  .central-container {
    min-height: 600px;
  }
}

@media (max-width: 560px){
  .page-historia-gabo .history-full-content.main-full-page-history .custom-section{
    background-image: none;
  }

  .history-full-content{
    background-image: url("../images/fondo_gabo_mobile.png") !important;
  }
  
}
