@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 {
  --subelectric-white: #FFFEFF;
  --subelectric-green: #00A443;
  --subelectric-dark: #00402A;
  --subelectric-black: #3A3735;
  --subelectric-brown: #615D5A;
  --subelectric-border: #D8CFC7;
  --subelectric-orange: #FF9C1A;
  --subelectric-orange-light: #FFF5EC;
}

#subelectric {
  width: 100%;
  max-width: 980px;
  padding: 20px 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(--subelectric-orange-light);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#subelectric .swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
}

#subelectric .swiper-button-prev,
#subelectric .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;
}

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

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

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

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

#subelectric .subelectric_item {
  display: flex;
  flex-direction: column;
}

#subelectric .subelectric_title {
  color: var(--subelectric-green) !important;
  font-size: 32px;
  line-height: 1.18;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  margin-bottom: 32px;
}

#subelectric .subelectric_title strong {
  font-weight: 700;
  display: block;
}

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

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

#subelectric .subelectric_media_link:nth-of-type(1) {
  top: 7%;
  left: 1%;
}

#subelectric .subelectric_media_link:nth-of-type(2) {
  bottom: 8%;
  left: 23%;
}

#subelectric .subelectric_media_link:nth-of-type(3) {
  bottom: 2%;
  left: 36%;
}

#subelectric .subelectric_media_link:nth-of-type(4) {
  top: 28%;
  left: 15%;
}

#subelectric .subelectric_media_link:nth-of-type(5) {
  bottom: 5%;
  right: 22%;
}

#subelectric .subelectric_media_link:nth-of-type(6) {
  bottom: 18%;
  right: 6%;
}

#subelectric .subelectric_media_link:nth-of-type(7) {
  bottom: 23%;
  left: 8%;
}

#subelectric .subelectric_media_link:nth-of-type(8) {
  top: 16%;
  left: 25%;
}

#subelectric .subelectric_media_link:nth-of-type(9) {
  top: 19%;
  left: 56%;
}

#subelectric .subelectric_media_link:nth-of-type(10) {
  top: 23%;
  right: 1%;
}

#subelectric .subelectric_media_link:nth-of-type(11) {
  top: 10%;
  right: 10%;
}

#subelectric .subelectric_media_link:nth-of-type(12) {
  top: 3%;
  right: 25%;
}

#subelectric .subelectric_modal {
  border-radius: 15px;
  background: var(--subelectric-white);
  padding: 12px;
}

#subelectric .subelectric_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/subestacion-electrica/images/ico-cerrar.svg');
  cursor: pointer;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  top: 8px;
  right: 8px;
}

#subelectric .subelectric_modal_media {
  width: 100%;
  margin-bottom: 16px;
}

#subelectric .subelectric_modal_media img {
  max-width: 160px;
  margin: 0 auto;
}

#subelectric .subelectric_modal_text {
  border-radius: 15px;
  background: var(--subelectric-orange-light);
  padding: 16px;
  color: var(--subelectric-brown) !important;
  font-size: 17px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
  text-align: left;
}

#subelectric .subelectric_modal_text strong {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 7px 0px 8px 0px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 100%;
  background-color: var(--subelectric-orange);
  color: var(--subelectric-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) {

  #subelectric {
    padding: 24px 22px 34px;
  }

  #subelectric .subelectric_title {
    margin-bottom: 20px;
  }

  #subelectric .subelectric_media {
    max-width: 595px;
    margin-bottom: 0;
  }

  #subelectric .subelectric_media_link:hover {
    color: var(--subelectric-orange) !important;
    background-color: var(--subelectric-white);
    border: 1px solid var(--subelectric-orange);
  }

  #subelectric .subelectric_media_link:nth-of-type(1) {
    top: 18%;
  }

  #subelectric .subelectric_media_link:nth-of-type(2) {
    bottom: 10%;
    left: 9%;
  }

  #subelectric .subelectric_media_link:nth-of-type(3) {
    bottom: 1%;
    left: 27%;
  }

  #subelectric .subelectric_media_link:nth-of-type(4) {
    top: 25%;
    left: 18.5%;
  }

  #subelectric .subelectric_media_link:nth-of-type(5) {
    bottom: 7%;
    right: 30%;
  }

  #subelectric .subelectric_media_link:nth-of-type(6) {
    bottom: 16%;
    right: 14%;
  }

  #subelectric .subelectric_media_link:nth-of-type(7) {
    bottom: 17%;
    left: 1%;
  }

  #subelectric .subelectric_media_link:nth-of-type(8) {
    top: 17%;
    left: 26%;
  }

  #subelectric .subelectric_media_link:nth-of-type(9) {
    top: 5%;
    left: 59%;
  }

  #subelectric .subelectric_media_link:nth-of-type(10) {
    top: 14%;
  }

  #subelectric .subelectric_media_link:nth-of-type(11) {
    top: 1%;
  }

  #subelectric .subelectric_media_link:nth-of-type(12) {
    top: 1%;
    right: 20.5%;
  }

  #subelectric .subelectric_modal_close {
    display: block;
  }

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

  #subelectric .subelectric_modal {
    width: 100%;
    max-width: 313px;
    border: 1px solid var(--subelectric-border);
    padding: 0px 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 12;
    opacity: 0;
    visibility: hidden;
    display: flex;
  }

  #subelectric .subelectric_modal.active {
    opacity: 1;
    visibility: visible;
  }

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

  #subelectric .swiper-wrapper,
  #subelectric .subelectric_item {
    overflow: visible;
    display: block;
  }

  #subelectric.active .subelectric_media {
    opacity: 0.5;
  }

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

  #subelectric .subelectric_modal_media img {
    width: auto;
    max-width: 100%;
  }

  #subelectric .subelectric_modal_text {
    order: -1;
    width: 120px;
    min-height: 158px;
    padding: 20px 0 15px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  #subelectric .subelectric_modal_text strong {
    margin-bottom: auto;
  }

}
