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

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

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

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

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

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

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

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

#smarthouse .smarthouse_description strong {
  font-weight: 600;
}

#smarthouse .smarthouse_inner {
  position: relative;
}

#smarthouse.inactive .smarthouse_cloud,
#smarthouse.inactive .smarthouse_media {
  opacity: 0.2;
}

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

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

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

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

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

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

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

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

#smarthouse .smarthouse_media_text {
  position: absolute;
  color: var(--smarthouse-brown) !important;
  font-size: 12px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  max-width: 103px;
  right: 0;
  top: 47px;
}

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

#smarthouse .smarthouse_point:nth-of-type(1) {
  top: 23%;
  left: 40%;
}

#smarthouse .smarthouse_point:nth-of-type(2) {
  top: 28%;
  left: 3%;
}

#smarthouse .smarthouse_point:nth-of-type(3) {
  top: 74%;
  left: 13%;
}

#smarthouse .smarthouse_point:nth-of-type(4) {
  top: 83%;
  right: 18%;
}

#smarthouse .smarthouse_modal {
  border-radius: 15px;
  border: 1px solid var(--smarthouse-border);
  background: var(--smarthouse-white);
  padding: 56px 16px 11px;
  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;
}

#smarthouse .smarthouse_modal.active {
  opacity: 1;
  visibility: visible;
}

#smarthouse .smarthouse_modal_close {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/smart-clientes-casa/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;
}

#smarthouse .smarthouse_modal_media {
  margin-bottom: 15px;
}

#smarthouse .smarthouse_modal_media picture + picture {
  margin-top: 16px;
}

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


@media (min-width: 700px) {

  #smarthouse .hide-tablet {
    display: none !important;
  }

  #smarthouse {
    padding: 32px;
  }

  #smarthouse .smarthouse_description {
    font-size: 20px;
    line-height: 1.3;
  }

  #smarthouse .smarthouse_cloud {
    max-width: 200px;
    margin-bottom: 20px;
  }

  #smarthouse .smarthouse_cloud img {
    max-width: 163px;
  }

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

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

  #smarthouse .smarthouse_media {
    max-width: 484px;
  }

  #smarthouse .smarthouse_media_text {
    font-size: 14px;
    max-width: 190px;
    right: 0px;
    top: 80px;
  }

  #smarthouse .smarthouse_point:nth-of-type(1) {
    top: 17%;
    left: 42%;
  }

  #smarthouse .smarthouse_point:nth-of-type(2) {
    top: 30%;
    left: 1%;
  }

  #smarthouse .smarthouse_point:nth-of-type(3) {
    top: 67%;
  }

  #smarthouse .smarthouse_point:nth-of-type(4) {
    top: 76%;
    right: 21%;
  }

  #smarthouse .smarthouse_modal {
    max-width: 372px;
    padding: 62px 24px 24px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal2 {
    max-width: 267px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal3 {
    max-width: 483px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal4 {
    max-width: 328px;
  }

  #smarthouse .smarthouse_modal_close {
    top: 23px;
    right: 22px;
  }

  #smarthouse .smarthouse_modal_media {
    margin-bottom: 18px;
  }

  #smarthouse .smarthouse_modal_logo {
    max-height: 93px;
  }

}

@media (min-width: 1080px) {

  #smarthouse .smarthouse_inner {
    max-width: 917px;
    display: flex;
  }

  #smarthouse .smarthouse_media {
    order: -1;
    max-width: 637px;
    margin-left: 0;
    margin-right: 25px;
  }

  #smarthouse .smarthouse_media_text {
    top: 60px;
    right: 54px;
  }

  #smarthouse .smarthouse_cloud {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0;
    margin-right: auto;
  }

  #smarthouse .smarthouse_cloud {
    max-width: 203px;
  }

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

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

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

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

  #smarthouse .smarthouse_point:nth-of-type(1) {
    top: 10%;
    left: 39%;
  }

  #smarthouse .smarthouse_point:nth-of-type(2) {
    top: 27%;
    left: 2%;
  }

  #smarthouse .smarthouse_point:nth-of-type(4) {
    top: 74%;
    right: 25%;
  }

  #smarthouse .smarthouse_point:nth-of-type(3) {
    top: 63%;
  }

  #smarthouse .smarthouse_modal {
    padding: 24px;
    display: flex;
    flex-direction: row;
  }

  #smarthouse .smarthouse_modal#smarthouseModal1 {
    max-width: 695px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal2 {
    max-width: 544px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal3 {
    max-width: 816px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal4 {
    max-width: 727px;
  }

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

  #smarthouse .smarthouse_modal#smarthouseModal3 .smarthouse_modal_logo {
    max-width: 221px;
  }

  #smarthouse .smarthouse_modal#smarthouseModal4 .smarthouse_modal_logo {
    max-width: 259px;
  }

  #smarthouse .smarthouse_modal_media {
    margin-bottom: 0;
    margin-right: auto;
  }

}