@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;
}

:root {
  --activity-green: #00A443;
  --activity-forest: #00402A;
  --activity-white: #FFFEFF;
  --activity-sand: #FFF5EC;
  --activity-border: #D8CFC7;
  --activity-grey: #615D5A;
}

#activity {
  width: 100%;
  margin: 20px auto;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  padding: 24px 0 0;
  font-family: 'IberPangea';
}

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

#activity .activity_slide {
  position: relative;
  display: flex;
  flex-direction: column;
}

#activity .activity_container {
  background-color: var(--activity-sand);
  padding: 35px 12px 50px;
}

#activity .swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  z-index: 1;
  width: 100%;
}

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

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

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

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

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

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

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

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

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

#activity .swiper-pagination.swiper-pagination-hidden {
  opacity: 0;
}

#activity .activity_controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-bottom: 1px solid var(--activity-border);
  padding-bottom: 15px;
}

#activity .swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

#activity .swiper-pagination-bullet {
  cursor: pointer;
  width: 11px;
  height: 11px;
  margin: 0 2px;
  display: block;
  position: relative;
  opacity: 1;
}

#activity .swiper-pagination-bullet:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--activity-green);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#activity .swiper-pagination-bullet-active:before {
  background: var(--activity-green);
}

#activity .activity_navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--ofshore-grey-light);
  width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
}

#activity .swiper-button-next,
#activity .swiper-button-prev {
  min-width: 16px;
  width: 16px;
  min-height: 30px;
  height: 30px;
  z-index: 10;
  cursor: pointer;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin: 0 20px;
}

#activity .swiper-button-next {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/Careers_Nuestros-equipos_Areas-de-actividad/images/ico-next.svg');
  margin-right: 0;
}

#activity .swiper-button-prev {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/Careers_Nuestros-equipos_Areas-de-actividad/images/ico-prev.svg');
  margin-left: 0;
}

#activity .swiper-button-next.swiper-button-disabled,
#activity .swiper-button-prev.swiper-button-disabled {
  opacity: .35;
  filter: grayscale(1);
  cursor: auto;
  pointer-events: none
}

#activity .activity_title {
  color: var(--activity-green) !important;
  font-size: 26px;
  line-height: 30px;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/Careers_Nuestros-equipos_Areas-de-actividad/images/ico-dots.svg');
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 5px auto;
  padding-left: 15px;
  width: calc(100% - 26px);
  margin: 0 auto 17px;
}

#activity .activity_media {
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  position: relative;
}

#activity .activity_media img {
  display: block;
  width: 100%;
  height: 266px;
  object-fit: cover; 
  object-position: center;
}

#activity .activity_media strong {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 15px;
  border: 1px solid var(--activity-white);
  color: var(--activity-white);
  text-align: center;
  font-size: 26px;
  line-height: 36px;
  font-style: normal;
  font-weight: 500;
  min-width: 255px;
  max-width: 90%;
  padding: 11px 11px 14px;
}

#activity .activity_text {
  background-color: var(--activity-white);
  border-radius: 0 0 15px 15px;
  padding: 54px 20px 11px;
  margin-bottom: 30px;
}

#activity .activity_text p {
  color: var(--activity-grey);
  font-size: 17px;
  line-height: 26px;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  margin-bottom: 29px;
}

#activity .activity_text p strong {
  font-weight: bold;
  color: var(--activity-green);
}

#activity .activity_button {
  border-radius: 100px;
  border: 1px solid var(--activity-green);
  background: var(--activity-green);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--activity-white);
  text-align: center;
  font-size: 14px;
  line-height: 26px;
  font-style: normal;
  font-weight: 500;
  text-decoration: none;
  max-width: 338px;
  margin: 34px auto 0;
}

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

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

@media (min-width: 768px) {

  #activity {
    max-width: 1256px;
  }

  #activity .activity_title {
    font-size: 32px;
    line-height: 36px;
    max-width: 980px;
    margin: 0 auto 27px;
  }

  #activity .activity_slide {
    flex-direction: row;
  }

  #activity .activity_container {
    max-width: 1253px;
    padding: 46px 84px 41px;
    border-radius: 15px;
  }

  #activity .activity_media {
    width: 50%;
    max-width: 562px;
    border-radius: 15px 0 0 15px;
    margin: 0;
    display: flex;
  }

  #activity .activity_media img {
    height: 100%;
  }

  #activity .activity_text {
    width: 50%;
    max-width: 522px;
    padding: 47px 37px 61px 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 15px 15px 0;
    margin: 0;
  }

  #activity .activity_text p:last-child {
    margin-bottom: 0;
  }

  #activity .activity_controls {
    margin-top: 21px;
    padding-bottom: 16px;
    width: 100%;
    justify-content: space-between;
  }

  #activity .activity_button {
    margin-top: 27px;
    font-size: 16px;
  }

  #activity .activity_media strong {
    min-width: 100px;
    max-width: calc(100% - 78px);
    width: auto;
    left: 43px;
    bottom: 46px;
    transform: translateX(0);
    padding: 18px 21px 17px;
    font-size: 28px;
    line-height: 36px;
    text-align: left;
  }

  #activity .swiper-pagination-bullet {
    margin: 0 5px;
  }

  #activity .swiper-button-next,
  #activity .swiper-button-prev {
    min-width: 20px;
    width: 20px;
    min-height: 38px;
    height: 38px;
  }

}

@media (min-width: 1024px) {

  #activity .activity_media {
    width: 52%;
  }

  #activity .activity_text {
    width: 47%;
  }

  #activity .activity_slide:nth-of-type(5) .activity_media strong {
    max-width: 335px;
  }

  #activity .activity_media img {
    height: auto;
  }

}
