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

#aerothermic {
  width: 100%;
  max-width: 980px;
  padding: 49px 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(--aerothermic-sand);
}

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

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

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

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

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

#aerothermic .aerothermic_title {
  color: var(--aerothermic-green) !important;
  font-size: 30px;
  line-height: 1.13;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
  margin: 0 auto 38px 0;
}

#aerothermic .aerothermic_title strong {
  font-weight: 600;
}

#aerothermic .aerothermic_media {
    position: relative;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

#aerothermic .aerothermic_media_image {
    display: block;
    width: 100%;
}

#aerothermic .aerothermic_media_image-desktop {
    display: none !important;
}

#aerothermic .aerothermic_media_image svg {
    display: block;
    width: 100%;
}

#aerothermic .aerothermic_media_image .line {
    stroke-dashoffset: 1000;
    stroke-dasharray: 5;
    animation: dash 5s linear alternate infinite;
}

#aerothermic .aerothermic_media_number {
    display: block;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 100%;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/aerotermia/images/ico-mas.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    text-indent: -9999px;
    overflow: hidden;
}

#aerothermic .aerothermic_media_number.active {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/aerotermia/images/ico-mas-activo.svg');
}

#aerothermic .aerothermic_media_number:nth-of-type(1) {
    /* top: 65%; */
    top: 247px;
    left: 43%;
}

#aerothermic .aerothermic_media_number:nth-of-type(2) {
    /* top: 87%; */
    top: 329px;
    left: 56%;
}

#aerothermic .aerothermic_media_number:nth-of-type(3) {
    /* top: 36%; */
    top: 136px;
    left: -1%;
}

#aerothermic .aerothermic_media_number:nth-of-type(4) {
    /* top: 33%; */
    top: 125px;
    right: 8.5%;
}

#aerothermic .aerothermic_media_number:nth-of-type(5) {
    /* top: 63%; */
    top: 238px;
    right: 2%;
}

#aerothermic .aerothermic_media_item {
    padding: 16px 32px 12px 12px;
    border-radius: 15px;
    border: 1px solid var(--aerothermic-border);
    background-color: var(--aerothermic-white);
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/aerotermia/images/ico-cerrar.svg');
    background-size: 32px auto;
    background-position: calc(100% - 14px) 10px;
    background-repeat: no-repeat;
    display: none;
    width: 100%;
    max-width: 258px;
    position: relative;
    z-index: 2;
}

#aerothermic .aerothermic_media_item.active {
    display: block;
}

#aerothermic .aerothermic_media_item-1 {
    margin-top: -87px;
}

#aerothermic .aerothermic_media_item-2 {
    margin-top: 10px;
}

#aerothermic .aerothermic_media_item-3 {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
}

#aerothermic .aerothermic_media_item-4 {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
}

#aerothermic .aerothermic_media_item-5 {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

#aerothermic .aerothermic_media_title {
    color: var(--aerothermic-green) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    margin-bottom: 17px;
}

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

#aerothermic .aerothermic_media_text strong {
    font-weight: 600;
}

@media (min-width: 700px) {

    #aerothermic {
        padding: 47px 32px;
    }

    #aerothermic .aerothermic_title {
        font-size: 32px;
        line-height: 1.125;
        margin-bottom: 67px;
    }

    #aerothermic .aerothermic_media_number {
        cursor: pointer;
    }

    #aerothermic .aerothermic_media_number:hover {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/aerotermia/images/ico-mas-activo.svg');
    }

    #aerothermic .aerothermic_media_image-mobile {
        display: none !important;
    }
    
    #aerothermic .aerothermic_media_image-desktop {
        display: block !important;
    }

    #aerothermic .aerothermic_media {
        position: relative;
        max-width: 418px;
        margin: 0 auto;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(1) {
        top: 382px;
        left: 26%;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(2) {
        top: 505px;
        left: 35%;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(3) {
        top: 280px;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(4) {
        top: 213px;
        right: 12.5%;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(5) {
        top: 328px;
        right: -3%;
    }

    #aerothermic .aerothermic_media_item {
        max-width: 335px;
        position: absolute;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
        margin-top: 0;
        transform: none;
        left: auto;
        right: auto;
        bottom: auto;
        padding-top: 21px;
        background-position: calc(100% - 14px) 15px;
        padding-bottom: 15px;
    }

    #aerothermic .aerothermic_media_item.active {
        opacity: 1;
        visibility: visible;
    }

    #aerothermic .aerothermic_media_title {
        margin-bottom: 14px;
    }

    #aerothermic .aerothermic_media_item-1 {
        bottom: -10px;
        left: 0;
    }

    #aerothermic .aerothermic_media_item-2 {
        top: 260px;
        left: -45px;
    }

    #aerothermic .aerothermic_media_item-3 {
        top: 140px;
        left: -45px;
    }

    #aerothermic .aerothermic_media_item-4 {
        top: 65px;
        right: -41px;
    }

    #aerothermic .aerothermic_media_item-5 {
        top: 165px;
        right: -41px;
    }
    
}

@media (min-width: 1080px) {

    #aerothermic .aerothermic_title {
        margin-bottom: 18px;
    }

    #column-2 #aerothermic .aerothermic_title {
        margin-bottom: 67px;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(1) {
        top: 402px;
        left: 35%;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(2) {
        top: 520px;
        left: 34%;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(3) {
        top: 270px;
        left: -6%;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(4) {
        right: 10%;
    }

    #aerothermic .aerothermic_media_number:nth-of-type(5) {
        top: 360px;
    }

    #column-2 #aerothermic .aerothermic_media_number:nth-of-type(1) {
        top: 382px;
        left: 26%;
    }

    #column-2 #aerothermic .aerothermic_media_number:nth-of-type(2) {
        top: 505px;
        left: 35%;
    }

    #column-2 #aerothermic .aerothermic_media_number:nth-of-type(3) {
        top: 280px;
        left: -1%;
    }

    #column-2 #aerothermic .aerothermic_media_number:nth-of-type(4) {
        right: 12.5%;
    }

    #column-2 #aerothermic .aerothermic_media_number:nth-of-type(5) {
        top: 328px;
    }

    #aerothermic .aerothermic_media_item-1 {
        left: -250px;
    }

    #column-2 #aerothermic .aerothermic_media_item-1 {
        left: 0;
    }

    #aerothermic .aerothermic_media_item-2 {
        top: auto;
        bottom: 10px;
        left: -220px;
    }

    #column-2 #aerothermic .aerothermic_media_item-2 {
        bottom: auto;
        top: 260px;
        left: -45px;
    }

    #aerothermic .aerothermic_media_item-3 {
        top: 150px;
        left: -250px;
    }

    #column-2 #aerothermic .aerothermic_media_item-3 {
        top: 140px;
        left: -45px;
    }

    #aerothermic .aerothermic_media_item-4 {
        top: 100px;
        right: -250px;
    }

    #column-2 #aerothermic .aerothermic_media_item-4 {
        top: 65px;
        right: -41px;
    }

    #aerothermic .aerothermic_media_item-5 {
        top: auto;
        bottom: 65px;
        right: -250px;
    }

    #column-2 #aerothermic .aerothermic_media_item-5 {
        bottom: auto;
        top: 165px;
        right: -41px;
    }

}

@keyframes dash {
    from {
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: 0;
    }
}
