@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-BoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-SmBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-SmBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
}

:root {
  --geothermal-white: #FFFEFF;
  --geothermal-green: #00A443;
  --geothermal-dark: #00402A;
  --geothermal-black: #3A3735;
  --geothermal-brown: #615D5A;
  --geothermal-border: #D8CFC7;
  --geothermal-orange: #FF9C1A;
  --geothermal-orange-light: #FFF5EC;
}

#geothermal {
  width: 100%;
  max-width: 980px;
  padding: 16px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background-color: var(--geothermal-orange-light);
}

#geothermal * {
  font-family: 'IberPangea' !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#geothermal h2 {
  margin-top: 0 !important;
}

#geothermal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#geothermal ul li:before {
  content: none !important;
  display: none !important;
}

#geothermal img {
  display: block;
  width: 100%;
}

#geothermal .swiper-autoheight,
#geothermal .swiper-autoheight .swiper-slide {
  height: auto
}

#geothermal .swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform,height
}

#geothermal .swiper-fade.swiper-free-mode .swiper-slide {
  transition-timing-function: ease-out
}

#geothermal .swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity
}

#geothermal .swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none
}

#geothermal .swiper-fade .swiper-slide-active,
#geothermal .swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto
}

#geothermal .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

#geothermal .swiper-android .swiper-slide,
#geothermal .swiper-wrapper {
  transform: translate3d(0px,0,0);
}

#geothermal .swiper-pointer-events {
  touch-action: pan-y;
}

#geothermal .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  transition-property: transform;
}

#geothermal .swiper-slide-invisible-blank {
  visibility: hidden;
}

#geothermal .swiper-css-mode>.swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#geothermal .swiper-css-mode>.swiper-wrapper::-webkit-scrollbar {
  display: none;
}

#geothermal .swiper-horizontal.swiper-css-mode>.swiper-wrapper {
  scroll-snap-type: x mandatory;
}

#geothermal .swiper-button-lock {
  display: none;
}

#geothermal .swiper-slide {
  overflow: hidden;
}

#geothermal .swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto;
}

#geothermal .swiper-button-prev,
#geothermal .swiper-button-next {
  width: 32px;
  height: 32px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin: 0 8px;
}

#geothermal .swiper-button-prev {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/energia-geotermica/images/ico-prev.svg');
}

#geothermal .swiper-button-next {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/energia-geotermica/images/ico-next.svg');
}

#geothermal .swiper-button-prev.swiper-button-disabled,
#geothermal .swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

#geothermal .geothermal_swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

#geothermal .geothermal_item {
  display: flex;
  flex-direction: column;
}

#geothermal .geothermal_title {
  color: var(--geothermal-green) !important;
  font-size: 30px;
  line-height: 1.13;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  margin-right: auto;
  margin-bottom: 24px;
}

#geothermal .geothermal_title strong {
  font-weight: 600;
}

#geothermal .geothermal_media {
  position: relative;
  max-width: 350px;
  margin: 0 auto 32px;
}

#geothermal .geothermal_media_image-sup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#geothermal .geothermal_media_image-smoke {
    animation: smoke 3s linear infinite;
}

#geothermal .geothermal_media_image-smoke + .geothermal_media_image-smoke {
    animation-name: smokeAlt;
}

#geothermal .geothermal_media_image-smoke + .geothermal_media_image-smoke + .geothermal_media_image-smoke {
    animation-delay: 0.2s;
    animation-name: smoke;
}

#geothermal .geothermal_media_image-pipe {
    width: 50%;
    overflow: hidden;
    left: auto;
    right: 0;
    animation: pipe 5s linear infinite;
}

#geothermal .geothermal_media_image-pipe img {
    width: 350px !important;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

#geothermal .geothermal_media_image-pipe2a {
    left: 0;
    right: auto;
}

#geothermal .geothermal_media_image-pipe2b {
    left: 0;
    right: auto;
}

#geothermal .geothermal_media_image-pipe2a img {
    left: 0;
    right: auto;
}

#geothermal .geothermal_media_image-pipe2b img {
    left: 0;
    right: auto;
}

#geothermal .geothermal_media_link {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 100%;
  background-color: var(--geothermal-green);
  color: var(--geothermal-white) !important;
  font-size: 18px;
  line-height: 1;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  position: absolute;
  z-index: 2;
}

#geothermal .geothermal_media_link.current {
    background-color: var(--geothermal-dark);
}

#geothermal .geothermal_media_link:nth-of-type(1) {
    top: 77%;
    left: 65%;
}

#geothermal .geothermal_media_link:nth-of-type(2) {
    top: 45%;
    left: 87%;
}

#geothermal .geothermal_media_link:nth-of-type(3) {
    bottom: 17%;
    right: 2%;
}

#geothermal .geothermal_media_link:nth-of-type(4) {
    top: 63%;
    left: 63%;
}

#geothermal .geothermal_media_link:nth-of-type(5) {
    bottom: 13%;
    right: 46%;
}

#geothermal .geothermal_media_link:nth-of-type(6) {
    bottom: 66%;
    right: 69%;
}

#geothermal .geothermal_media_link:nth-of-type(7) {
    bottom: 44%;
    left: 2%;
}

#geothermal .geothermal_modal {
  border-radius: 15px;
  background: var(--geothermal-white);
  border: 1px solid var(--geothermal-border);
  padding: 16px;
}

#geothermal .geothermal_modal_close {
  width: 24px;
  height: 24px;
  display: none;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/energia-geotermica/images/ico-cerrar.svg');
  cursor: pointer;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  top: 20px;
  right: 20px;
}

#geothermal .geothermal_modal_media {
  width: 100%;
  margin-bottom: 16px;
}

#geothermal .geothermal_modal_media img {
  max-width: 160px;
  margin: 0 auto;
}

#geothermal .geothermal_modal_text {
  color: var(--geothermal-brown) !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
  text-align: left;
}

#geothermal .geothermal_modal_text strong {
    font-weight: 600;
}

#geothermal .geothermal_modal_text em {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 100%;
  background-color: var(--geothermal-green);
  color: var(--geothermal-white) !important;
  font-size: 16px;
  line-height: 1;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-bottom: 8px;
}


@media (min-width: 700px) {

  #geothermal {
    padding: 32px;
  }

  #geothermal .geothermal_title {
    font-size: 32px;
    line-height: 1.12;
  }

  #geothermal .geothermal_media {
    width: 100%;
    max-width: 501px;
    margin-bottom: 0;
  }

  #geothermal .geothermal_media_link:hover {
    color: var(--geothermal-green) !important;
    background-color: var(--geothermal-white);
    border: 1px solid var(--geothermal-green);
  }

  #geothermal .geothermal_modal_close {
    display: block;
  }

  #geothermal .swiper-controls {
    display: none;
  }

  #geothermal .geothermal_modal {
    width: 100%;
    max-width: 272px;
    border: 1px solid var(--geothermal-border);
    background-color: var(--geothermal-white);
    padding: 20px 52px 20px 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 12;
    opacity: 0;
    visibility: hidden;
    display: flex;
  }

  #geothermal .geothermal_modal#geothermal1 {
    top: 110px;
    transform: none;
    left: -30px;
  }

  #geothermal .geothermal_modal#geothermal2 {
    top: -100px;
    transform: none;
    left: 110px;
  }

  #geothermal .geothermal_modal#geothermal3 {
    top: 165px;
    transform: none;
    left: 130px;
  }

  #geothermal .geothermal_modal#geothermal4 {
    top: 82px;
    transform: none;
    left: -70px;
  }

  #geothermal .geothermal_modal#geothermal5 {
    top: 222px;
    transform: none;
    left: -70px;
    min-width: 436px;
    max-width: 436px;
  }

  #geothermal .geothermal_modal#geothermal6 {
    top: -228px;
    transform: none;
    left: -95px;
  }

  #geothermal .geothermal_modal#geothermal7 {
    top: -93px;
    transform: none;
    left: -95px;
  }

  #geothermal .geothermal_modal.active {
    opacity: 1;
    visibility: visible;
  }

  #geothermal .geothermal_swiper {
    overflow: visible;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 12;
    width: 100%;
    max-width: 313px;
  }

  #geothermal .swiper-wrapper,
  #geothermal .geothermal_item {
    overflow: visible;
    display: block;
  }

  #geothermal .geothermal_media_link:nth-of-type(1) {
    top: 70%;
    left: 70%;
  }

  #geothermal .geothermal_media_link:nth-of-type(2) {
    top: 48%;
  }

  #geothermal .geothermal_media_link:nth-of-type(3) {
    bottom: 30%;
    right: 1%;
  }

  #geothermal .geothermal_media_link:nth-of-type(5) {
    bottom: 19%;
  }

  #geothermal .geothermal_media_link:nth-of-type(6) {
    right: 71%;
  }

  #geothermal .geothermal_media_link:nth-of-type(7) {
    bottom: 45%;
    left: 6%;
  }


  #geothermal .geothermal_modal_media {
    width: calc(100% - 120px);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 6px 0;
  }

  #geothermal .geothermal_modal_media img {
    width: auto;
    max-width: 100%;
  }

  #geothermal .geothermal_modal_text em {
    display: none;
  }

    #geothermal .geothermal_media_link.current:not(:hover) {
        background-color: var(--geothermal-green);
    }
    
    #geothermal .geothermal_media_image-pipe img {
        width: 501px !important;
   }
}

@media (max-width: 360px) {
    #geothermal .geothermal_media {
        width: 350px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@keyframes smoke {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    80% {
        transform: translate(20px, -10px) rotate(1deg);
        opacity: 0;
    }
    100% {
        transform: translate(20px, -10px) rotate(1deg);
        opacity: 0;
    }
}

@keyframes smokeAlt {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    80% {
        transform: translate(20px, -10px) rotate(-1deg);
        opacity: 0;
    }
    100% {
        transform: translate(20px, -10px) rotate(-1deg);
        opacity: 0;
    }
}

@keyframes pipe {
    0% {
        width: 50%;
    }
    100% {
        width: 100%;
    }
}