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

#smartfactory {
  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(--smartfactory-white);
  border: 1px solid var(--smartfactory-border);
}

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

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

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

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

#smartfactory picture,
#smartfactory img {
  display: block;
  width: 100%;
}

#smartfactory .smartfactory_description {
  color: var(--smartfactory-brown) !important;
  font-size: 18px;
  line-height: 1.27;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  width: 92%;
  margin-bottom: 30px;
}

#smartfactory .smartfactory_description strong {
  font-weight: 600;
}

#smartfactory .smartfactory_inner {
  position: relative;
}

#smartfactory.inactive .smartfactory_cloud,
#smartfactory.inactive .smartfactory_media {
  opacity: 0.2;
}

#smartfactory .smartfactory_cloud {
  max-width: 260px;
  display: flex;
  margin: 0 auto 14px;
  position: relative;
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

#smartfactory .smartfactory_cloud ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

#smartfactory .smartfactory_cloud li {
  color: var(--smartfactory-brown) !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
}

#smartfactory .smartfactory_cloud li:nth-of-type(1) {
  width: 100%;
  text-align: center;
  margin-bottom: auto;
}

#smartfactory .smartfactory_cloud li:nth-of-type(2) {
  width: 50%;
  text-align: left;
  margin-right: auto;
  margin-bottom: 38px;
  margin-top: auto;
}

#smartfactory .smartfactory_cloud li:nth-of-type(3) {
  width: 50%;
  text-align: right;
  margin-left: auto;
  margin-bottom: 38px;
  margin-top: auto;
}

#smartfactory .smartfactory_cloud img {
  max-width: 178px;
  margin: 28px auto 0;
}

#smartfactory .smartfactory_media {
  position: relative;
  max-width: 288px;
  margin: 0 auto;
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

#smartfactory .smartfactory_media_text {
  position: absolute;
  color: var(--smartfactory-brown) !important;
  font-size: 12px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
  text-align: right;
  max-width: 175px;
  right: 4px;
  top: 53px;
}

#smartfactory .smartfactory_point {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/smart-clientes-fabrica/images/ico-mas.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
}

#smartfactory .smartfactory_point:nth-of-type(1) {
  top: 26%;
  left: 47%;
}

#smartfactory .smartfactory_point:nth-of-type(2) {
  top: 34%;
  left: 10%;
}

#smartfactory .smartfactory_point:nth-of-type(3) {
  top: 60%;
  left: 9%;
}

#smartfactory .smartfactory_point:nth-of-type(4) {
  top: 83%;
  right: 19%;
}

#smartfactory .smartfactory_point:nth-of-type(5) {
  top: 85%;
  left: 30%;
}

#smartfactory .smartfactory_modal {
  border-radius: 15px;
  border: 1px solid var(--smartfactory-border);
  background: var(--smartfactory-white);
  padding: 56px 16px 18px;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  max-width: 288px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

#smartfactory .smartfactory_modal.active {
  opacity: 1;
  visibility: visible;
}

#smartfactory .smartfactory_modal_close {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/smart-clientes-fabrica/images/ico-cerrar.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: absolute;
  top: 16px;
  right: 16px;
}

#smartfactory .smartfactory_modal_media {
  margin-bottom: 15px;
}

#smartfactory .smartfactory_modal_media picture + picture {
  margin-top: 16px;
}

#smartfactory .smartfactory_modal_logo {
  max-height: 78px;
  margin-left: auto;
  margin-right: 0;
  object-fit: contain;
  object-position: right center;
}

#smartfactory .smartfactory_modal_ref {
  color: var(--smartfactory-green) !important;
  font-size: 18px;
  line-height: 1;
  font-style: normal;
  font-weight: 400;
  text-align: right;
  margin-top: 6px;
  padding-right: 10px;
}

#smartfactory .smartfactory_modal_logo-text {
  color: var(--smartfactory-dark) !important;
  font-size: 32px;
  line-height: 1;
  font-style: normal;
  font-weight: 600;
  text-align: right;
  padding-top: 10px;
}

#smartfactory .smartfactory_extra {
  border-radius: 15px;
  background-color: var(--smartfactory-orange-light);
  padding: 19px 16px;
  display: flex;
  flex-direction: column;
  margin-top: 68px;
}

#smartfactory .smartfactory_extra_image {
  max-width: 206px;
  margin-bottom: 8px;
  margin-left: auto;
  margin-top: -83px;
}

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

@media (min-width: 700px) {

  #smartfactory {
    padding: 32px 32px 57px;
  }

  #smartfactory .smartfactory_description {
    font-size: 20px;
    line-height: 1.3;
  }

  #smartfactory .smartfactory_cloud {
    max-width: 200px;
    margin-bottom: 20px;
  }

  #smartfactory .smartfactory_cloud img {
    max-width: 163px;
  }

  #smartfactory .smartfactory_cloud li:nth-of-type(2),
  #smartfactory .smartfactory_cloud li:nth-of-type(3) {
    margin-bottom: 29px;
  }

  #smartfactory .smartfactory_cloud li:nth-of-type(3) {
    transform: translateX(40px);
  }

  #smartfactory .smartfactory_media {
    max-width: 484px;
  }

  #smartfactory .smartfactory_media_text {
    font-size: 14px;
    text-align: center;
    max-width: 140px;
    right: -15px;
    top: 110px;
  }

  #smartfactory .smartfactory_point:nth-of-type(1) {
    top: 21%;
    left: 54%;
  }

  #smartfactory .smartfactory_point:nth-of-type(2) {
    top: 24%;
    left: 14%;
  }

  #smartfactory .smartfactory_point:nth-of-type(3) {
    top: 61%;
    left: 13%;
  }

  #smartfactory .smartfactory_point:nth-of-type(4) {
    top: 72%;
    right: 13%;
  }

  #smartfactory .smartfactory_point:nth-of-type(5) {
    top: 81%;
    left: 38%;
  }

  #smartfactory .smartfactory_modal {
    max-width: 372px;
    padding: 62px 24px 24px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal3 {
    max-width: 293px;
  }
  
  #smartfactory .smartfactory_modal_close {
    top: 23px;
    right: 22px;
  }

  #smartfactory .smartfactory_modal_media {
    margin-bottom: 18px;
  }

  #smartfactory .smartfactory_modal_logo {
    max-height: 93px;
  }

  #smartfactory .smartfactory_extra {
    position: relative;
    margin-top: 38px;
  }

  #smartfactory .smartfactory_extra_image {
    max-width: 246px;
    margin: 0;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  #smartfactory .smartfactory_extra_text {
    max-width: 330px;
    margin-right: auto;
  }

  #smartfactory .smartfactory_modal_logo-text {
    font-size: 38px;
  }

}

@media (min-width: 1080px) {

  #smartfactory {
    padding-bottom: 104px;
  }

  #smartfactory .smartfactory_inner {
    max-width: 917px;
    display: flex;
  }

  #smartfactory .smartfactory_media {
    order: -1;
    max-width: 637px;
    margin-left: 0;
    margin-right: 40px;
  }

  #smartfactory .smartfactory_media_text {
    top: 114px;
    right: 53px;
  }

  #smartfactory .smartfactory_cloud {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0;
    margin-right: auto;
    transform: translateY(13px);
  }

  #smartfactory .smartfactory_cloud {
    max-width: 203px;
  }

  #smartfactory .smartfactory_cloud img {
    max-width: 203px;
    min-width: 203px;
    margin-top: 10px;
  }

  #smartfactory .smartfactory_cloud li:nth-of-type(2),
  #smartfactory .smartfactory_cloud li:nth-of-type(3) {
    margin-bottom: 43px;
  }

  #smartfactory .smartfactory_cloud li:nth-of-type(2) {
    transform: translateX(-25px);
  }

  #smartfactory .smartfactory_point:hover {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/smart-clientes-fabrica/images/ico-mas-hover.svg');
  }

  #smartfactory .smartfactory_point:nth-of-type(1) {
    top: 20%;
    left: 49%;
  }

  #smartfactory .smartfactory_point:nth-of-type(2) {
    top: 25%;
    left: 11%;
  }

  #smartfactory .smartfactory_point:nth-of-type(3) {
    top: 59%;
    left: 11%;
  }

  #smartfactory .smartfactory_point:nth-of-type(4) {
    top: 71%;
    right: 24%;
  }

  #smartfactory .smartfactory_point:nth-of-type(5) {
    top: 81%;
    left: 34%;
  }

  #smartfactory .smartfactory_modal {
    padding: 24px;
    display: flex;
    flex-direction: row;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal1 {
    max-width: 683px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal1 .smartfactory_modal_media {
    min-width: 392px;
  }
  
  #smartfactory .smartfactory_modal#smartfactoryModal1 .smartfactory_modal_logo {
    margin-bottom: 22px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal1 .smartfactory_modal_ref {
    position: absolute;
    bottom: 26px;
    right: 24px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal2 {
    max-width: 573px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal2 .smartfactory_modal_media {
    min-width: 343px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal2 .smartfactory_modal_logo-text {
    margin-top: auto;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal3 {
    max-width: 544px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal4 {
    max-width: 699px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal4 .smartfactory_modal_media {
    min-width: 360px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal5 {
    max-width: 616px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal5 .smartfactory_modal_media {
    min-width: 287px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal5 .smartfactory_modal_logo-text {
    margin-top: auto;
  }

  #smartfactory .smartfactory_modal_logo {
    margin-top: auto;
    max-width: 211px;
    margin-left: 32px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal3 .smartfactory_modal_logo {
    max-width: 221px;
  }

  #smartfactory .smartfactory_modal#smartfactoryModal4 .smartfactory_modal_logo {
    max-width: 259px;
  }

  #smartfactory .smartfactory_modal_media {
    margin-bottom: 0;
    margin-right: auto;
  }

  #smartfactory .smartfactory_extra {
    padding: 40px 24px;
    width: 100%;
    max-width: 754px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 66px;
    transform: translateX(-15px);
  }

  #smartfactory .smartfactory_extra_text {
    max-width: 248px;
  }

  #smartfactory .smartfactory_extra_image {
    max-width: 446px;
    right: 25px;
  }

}