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

#photobenefits {
    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(--photobenefits-white);
}

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

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

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

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

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

#photobenefits .photobenefits_title {
    color: var(--photobenefits-green) !important;
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    width: 100%;
    margin-bottom: 32px;
}

#photobenefits .photobenefits_title strong {
    font-weight: 600;
}

#photobenefits .photobenefits_inner {
    position: relative;
    width: 100%;
    max-width: 252px;
    margin: 0 auto;
}

#photobenefits.inactive .photobenefits_media {
    opacity: 0.2; 
}

#photobenefits .photobenefits_media {
    opacity: 1;
    transition: all 0.5s ease-in-out;
}

#photobenefits .photobenefits_point {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--photobenefits-orange);
    border: 1px solid var(--photobenefits-orange);
    color: var(--photobenefits-white) !important;
    width: 32px;
    height: 32px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100%;
    overflow: hidden;
    position: absolute;
}

#photobenefits .photobenefits_point:hover {
    color: var(--photobenefits-orange) !important;
    background-color: var(--photobenefits-white);
}

#photobenefits .photobenefits_point.active {
    color: var(--photobenefits-white) !important;
    background-color: var(--photobenefits-green);
    border-color: var(--photobenefits-green);
}

#photobenefits .photobenefits_point:nth-of-type(1) {
    top: 1%;
    left: 10%;
}

#photobenefits .photobenefits_point:nth-of-type(2) {
    top: 7%;
    left: 63%;
}

#photobenefits .photobenefits_point:nth-of-type(3) {
    top: 24%;
    left: 21%;
}

#photobenefits .photobenefits_point:nth-of-type(4) {
    top: 57%;
    right: 18%;
}

#photobenefits .photobenefits_point:nth-of-type(5) {
    top: 66%;
    left: 9%;
}

#photobenefits .photobenefits_point:nth-of-type(6) {
    top: 87%;
    right: 19%;
}

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

#photobenefits .photobenefits_modal.active {
    opacity: 1;
    visibility: visible;
}

#photobenefits .photobenefits_modal_close {
    display: block;
    width: 32px;
    height: 32px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/ventajas-fotovoltaica/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: 18px;
    right: 19px;
}

#photobenefits .photobenefits_modal_title {
    color: var(--photobenefits-green) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    width: calc(100% - 40px);
    margin-right: auto;
    margin-bottom: 13px;
}

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

#photobenefits .photobenefits_button {
    display: flex;
    padding: 12px 52px 12px 20px;
    border-radius: 72px;
    border: 1px solid var(--photobenefits-green);
    background-color: var(--photobenefits-white);
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/ventajas-fotovoltaica/images/ico-flecha.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 22px auto;
    color: var(--photobenefits-dark) !important;
    font-size: 16px;
    line-height: 1.62;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    margin-top: 19px;
    margin-left: auto;
}


@media (min-width: 700px) {

    #photobenefits .photobenefits_inner {
        max-width: 511px;
    }

    #photobenefits .photobenefits_point:nth-of-type(1) {
        top: 5%;
        left: 25%;
    }

    #photobenefits .photobenefits_point:nth-of-type(2) {
        top: -3%;
        left: 76%;
    }

    #photobenefits .photobenefits_point:nth-of-type(3) {
        top: 28%;
        left: 53%;
    }

    #photobenefits .photobenefits_point:nth-of-type(4) {
        top: 39%;
        right: 64%;
    }

    #photobenefits .photobenefits_point:nth-of-type(5) {
        top: 54%;
        left: 11%;
    }

    #photobenefits .photobenefits_point:nth-of-type(6) {
        top: 80%;
        right: 46%;
    }

    #photobenefits .photobenefits_modal {
        transform: none;
    }

    #photobenefits .photobenefits_modal#photobenefitsModal1 {
        max-width: 247px;
        left: calc(25% - 123px);
        top: calc(5% + 47px);
    }

    #photobenefits .photobenefits_modal#photobenefitsModal2 {
        max-width: 247px;
        top: calc(-3% + 47px);
        left: calc(76% - 123px);
    }

    #photobenefits .photobenefits_modal#photobenefitsModal3 {
        max-width: 247px;
        left: calc(53% + 47px);
        top: 14%;
    }

    #photobenefits .photobenefits_modal#photobenefitsModal4 {
        max-width: 260px;
        left: calc(36% + 15px);
        top: calc(39% - 105px);
    }

    #photobenefits .photobenefits_modal#photobenefitsModal5 {
        max-width: 237px;
        left: calc(11% - 123px);
        top: -15px;
    }

    #photobenefits .photobenefits_modal#photobenefitsModal6 {
        max-width: 249px;
        left: auto;
        top: auto;
        bottom: 0%;
        right: -30px;
    }

    #photobenefits .photobenefits_button {
        transition: all 0.25s;
    }

    #photobenefits .photobenefits_button:hover {
        background-color: var(--photobenefits-green);
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/ventajas-fotovoltaica/images/ico-flecha-alt.svg');
        color: var(--photobenefits-white) !important;
    }

    #photobenefits.inactive .photobenefits_media {
        opacity: 1; 
    }

}

@media (min-width: 1080px) {

    #photobenefits .photobenefits_inner {
        max-width: 840px;
    }

    #photobenefits .photobenefits_point:nth-of-type(1) {
        top: 8%;
        left: 29%;
    }

    #photobenefits .photobenefits_point:nth-of-type(2) {
        top: 3%;
        left: 80%;
    }

    #photobenefits .photobenefits_point:nth-of-type(3) {
        top: 32%;
        left: 56%;
    }

    #photobenefits .photobenefits_point:nth-of-type(4) {
        top: 42%;
    }

    #photobenefits .photobenefits_point:nth-of-type(5) {
        top: 55%;
        left: 16%;
    }

    #photobenefits .photobenefits_point:nth-of-type(6) {
        top: 79%;
        right: 48%;
    }

    #photobenefits .photobenefits_modal#photobenefitsModal1 {
        left: -20px;
        top: 0%;
    }

    #photobenefits .photobenefits_modal#photobenefitsModal2 {
        top: calc(2% + 47px);
        left: calc(82% - 123px);
    }

    #photobenefits .photobenefits_modal#photobenefitsModal3 {
        left: calc(19% + 47px);
        top: 23%;
    }

    #photobenefits .photobenefits_modal#photobenefitsModal4 {
        left: -5px;
        top: calc(47% - 105px);
    }

    #photobenefits .photobenefits_modal#photobenefitsModal5 {
        left: 2%;
        top: 19%;
    }

    #photobenefits .photobenefits_modal#photobenefitsModal6 {
        max-width: 346px;
        right: 5%;
    }

    #column-2 #photobenefits .photobenefits_inner {
        max-width: 511px;
    }
    
    #column-2 #photobenefits .photobenefits_point:nth-of-type(1) {
        top: 5%;
        left: 25%;
    }
    
    #column-2 #photobenefits .photobenefits_point:nth-of-type(2) {
        top: -3%;
        left: 76%;
    }
    
    #column-2 #photobenefits .photobenefits_point:nth-of-type(3) {
        top: 28%;
        left: 53%;
    }
    
    #column-2 #photobenefits .photobenefits_point:nth-of-type(4) {
        top: 39%;
        right: 64%;
    }
    
    #column-2 #photobenefits .photobenefits_point:nth-of-type(5) {
        top: 54%;
        left: 11%;
    }
    
    #column-2 #photobenefits .photobenefits_point:nth-of-type(6) {
        top: 80%;
        right: 46%;
    }
    
    #column-2 #photobenefits .photobenefits_modal {
        transform: none;
    }
    
    #column-2 #photobenefits .photobenefits_modal#column-2 #photobenefitsModal1 {
        max-width: 247px;
        left: calc(25% - 123px);
        top: calc(5% + 47px);
    }
    
    #column-2 #photobenefits .photobenefits_modal#column-2 #photobenefitsModal2 {
        max-width: 247px;
        top: calc(-3% + 47px);
        left: calc(76% - 123px);
    }
    
    #column-2 #photobenefits .photobenefits_modal#column-2 #photobenefitsModal3 {
        max-width: 247px;
        left: calc(53% + 47px);
        top: 14%;
    }
    
    #column-2 #photobenefits .photobenefits_modal#column-2 #photobenefitsModal4 {
        max-width: 260px;
        left: calc(36% + 15px);
        top: calc(39% - 105px);
    }
    
    #column-2 #photobenefits .photobenefits_modal#column-2 #photobenefitsModal5 {
        max-width: 237px;
        left: calc(11% - 123px);
        top: -15px;
    }
    
    #column-2 #photobenefits .photobenefits_modal#column-2 #photobenefitsModal6 {
        max-width: 249px;
        left: auto;
        top: auto;
        bottom: 0%;
        right: -30px;
    }

}