/*@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 {
    --barriers-white: #FFFEFF;
    --barriers-green: #00A443;
    --barriers-green-dark: #007F33;
    --barriers-green-alt: #26BF64;
    --barriers-dark: #00402A;
    --barriers-dark-2: #2F6852;
    --barriers-black: #3A3735;
    --barriers-brown: #615D5A;
    --barriers-border: #D8CFC7;
    --barriers-orange: #FF9C1A;
    --barriers-sand: #FFF5EC;
    --barriers-blue: #0DA9FF;
    --barriers-blue-dark: #007ACB;
    --barriers-orange-dark: #FFB536;
    --barriers-grey: #699282;
    --barriers-grey-lighter: #DCEBE1;
}

#barriers {
    width: 100%;
    max-width: 980px;
    padding: 26px 16px;
    margin: 20px auto;
    text-align: left;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    border: 1px solid var(--barriers-border);
    background: var(--barriers-white);
}

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

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

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

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

#barriers img,
#barriers svg {
    display: block;
    width: 100%;
}

#barriers .barriers_title {
    color: var(--barriers-green) !important;
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin-bottom: 13px;
}

#barriers .barriers_title strong {
    font-weight: 600;
}

#barriers .barriers_media {
    position: relative;
    width: calc(100% + 16px);
    max-width: 272px;
    margin: 0 auto 26px;
}

#barriers .barriers_point {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 10px 13px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--barriers-orange);
    color: var(--barriers-white) !important;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    position: absolute;
}

#barriers .barriers_point:nth-of-type(1) {
    top: 7%;
    right: 28%;
}

#barriers .barriers_point:nth-of-type(2) {
    top: 14%;
    left: 14%;
}

#barriers .barriers_point:nth-of-type(3) {
    top: 47%;
    left: 25%;
}

#barriers .barriers_point:nth-of-type(4) {
    top: 41%;
    right: 16%;
}

#barriers .barriers_point:nth-of-type(5) {
    top: 71%;
    left: 48%;
}

#barriers .barriers_point:nth-of-type(6) {
    top: 83%;
    left: 15%;
}

#barriers .barriers_modal {
    width: 100%;
    border-radius: 15px;
    border: 1px solid var(--barriers-border);
    background: var(--barriers-white);
    padding: 16px;
    margin-bottom: 16px;
}

#barriers .barriers_modal_header {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

#barriers .barriers_modal_number {
    display: flex;
    width: 24px;
    height: 24px;
    padding: 4px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--barriers-orange);
    color: var(--barriers-white) !important;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 8px;
}

#barriers .barriers_modal_title {
    color: var(--barriers-green) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    text-wrap: balance;
    position: relative;
    padding-right: 26px;
}

#barriers .barriers_modal_title:before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid var(--barriers-green);
    border-right: 1.5px solid var(--barriers-green);
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%) rotate(135deg);
}

#barriers .barriers_modal_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

#barriers .barriers_modal.active .barriers_modal_content {
    max-height: 1500px;
    transition: max-height 0.7s ease-in-out;
}

#barriers .barriers_modal.active .barriers_modal_title:before {
    transform: rotate(-45deg);

}

#barriers .barriers_modal_content p {
    color: var(--barriers-brown) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    text-wrap: balance;
    margin-top: 8px;
    margin-bottom: 0;
}

#barriers .barriers_modal_content p strong {
    font-weight: 600;
}

#barriers .barriers_source {
    color: var(--barriers-brown);
    font-size: 14px;
    line-height: 1.28;
    font-style: italic;
    font-weight: 400;
    text-align: left;
    margin-bottom: 0;
}

#barriers .barriers_svg {
    display: none;
}

@media (min-width: 700px) {

    #barriers {
        padding: 32px;
    }

    #barriers .barriers_title {
        font-size: 32px;
        line-height: 1.12;
        text-wrap: balance;
    }

    #barriers .barriers_image,
    #barriers .barriers_point {
        display: none;
    }

    #barriers .barriers_content {
        position: relative;
        width: 100%;
        max-width: 531px;
        margin: 0 0 0 auto;
    }

    #barriers .barriers_svg {
        display: block;
        width: calc(100% + 64px);
        transform: translateX(10px);
    }

    #barriers .barriers_media {
        width: calc(100% + 32px);
        max-width: 531px;
        overflow: hidden;
        padding-top: 40px;
        margin-right: -32px;
    }

    #barriers .barriers_modal {
        max-width: 244px;
        position: absolute;
        transition: background 0.75s;
    }

    #barriers .barriers_modal:hover,
    #barriers .barriers_modal.active {
        background: var(--barriers-sand);
    }

    #barriers .barriers_modal#barriers1 {
        top: 0;
        left: 28%;
        z-index: 6;
    }

    #barriers .barriers_modal#barriers2 {
        top: 19%;
        right: 0;
        z-index: 5;
    }

    #barriers .barriers_modal#barriers3 {
        top: 32.5%;
        right: 0;
        z-index: 4;
    }

    #barriers .barriers_modal#barriers4 {
        top: 49%;
        left: 6%;
        z-index: 3;
    }

    #barriers .barriers_modal#barriers5 {
        top: 62%;
        left: 6%;
        z-index: 2;
    }

    #barriers .barriers_modal#barriers6 {
        top: 79%;
        right: 0;
        z-index: 1;
    }

    #barriers.barriers1 .barriers_area,
    #barriers.barriers2 .barriers_area,
    #barriers.barriers3 .barriers_area,
    #barriers.barriers4 .barriers_area,
    #barriers.barriers5 .barriers_area,
    #barriers.barriers6 .barriers_area {
        opacity: 0.4;
        transition: opacity 0.75s;
    }

    #barriers.barriers1 .barriers_area#area-1,
    #barriers.barriers2 .barriers_area#area-2,
    #barriers.barriers3 .barriers_area#area-3,
    #barriers.barriers4 .barriers_area#area-4,
    #barriers.barriers5 .barriers_area#area-5,
    #barriers.barriers6 .barriers_area#area-6 {
        opacity: 1;
    }

}

@media (min-width: 1180px) {

    #barriers .barriers_modal {
        max-width: 312px;
    }

    

    #barriers .barriers_modal#barriers1 {
        left: 18%;
    }

    

    #barriers .barriers_modal#barriers2 {
        right: auto;
        left: -27%;
    }

    #barriers .barriers_modal#barriers3 {
        right: auto;
        left: -27%;
    }

    #barriers .barriers_modal#barriers4 {
        left: -1%;
    }

    #barriers .barriers_modal#barriers5 {
        left: -1%;
    }

    #barriers .barriers_modal#barriers6 {
        right: auto;
        left: -27%;
    }

    

}