@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 {
    --antaresm-white: #FFFEFF;
    --antaresm-green: #00A443;
    --antaresm-green-light: #DCEBE1;
    --antaresm-dark: #00402A;
    --antaresm-black: #3A3735;
    --antaresm-brown: #615D5A;
    --antaresm-border: #D8CFC7;
    --antaresm-sand: #FFF5EC;
    --antaresm-orange: #FF9C1A;
    --antaresm-blue: #0DA9FF;
}

#antaresm {
    width: 100%;
    max-width: 980px;
    padding: 35px 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(--antaresm-border);
    background: var(--antaresm-white);
}

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

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

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

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

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

#antaresm .antaresm_title {
    color: var(--antaresm-green) !important;
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    text-wrap: balance;
    width: 100%;
    max-width: 286px;
    margin-bottom: 22px;
}

#antaresm .antaresm_title strong {
    font-weight: 600;
}

#antaresm .antaresm_map {
    width: 100%;
    border-radius: 15px;
    border: 1px solid var(--antaresm-border);
    padding: 35px 24px;
    max-height: 393px;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#antaresm .antaresm_svg {
    min-width: 634px;
    height: 324px;
    position: relative;
}

#antaresm .antaresm_svg svg {
    width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

#antaresm .antaresm_actions {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 22px;
}

#antaresm .antaresm_actions_less,
#antaresm .antaresm_actions_more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    border: 1px solid var(--antaresm-green);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
}

#antaresm .antaresm_actions_less {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/antares-mapa/images/ico-menos.svg');
    margin-left: 16px;
}

#antaresm .antaresm_actions_more {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/antares-mapa/images/ico-mas.svg');
}

#antaresm .antaresm_actions_less.disabled,
#antaresm .antaresm_actions_more.disabled {
    opacity: 0.3;
    cursor: default;
}

#antaresm .antaresm_actions input {
    display: none;
}

#antaresm .antaresm_area {
    cursor: pointer;
}

#antaresm .antaresm_area,
#antaresm .antaresm_area polygon,
#antaresm .antaresm_area path {
    transition: all 0.5s;
}

#antaresm .antaresm_area.hover,
#antaresm .antaresm_area.hover polygon,
#antaresm .antaresm_area.hover path {
    fill: var(--antaresm-orange)
}

#antaresm .antaresm_label {
    display: none;
    position: absolute;
    font-size: 6px;
    cursor: pointer;
    width: 10px;
    height: 10px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/antares-mapa/images/ico-ver.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 100%;
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
}

#antaresm.visible .antaresm_label {
    display: block;
}

#antaresm #antaresmLabel1 {
    top: 39.5%;
    left: 45%;
}

#antaresm #antaresmLabel2 {
    top: 31%;
    left: 51%;
}

#antaresm #antaresmLabel3 {
    top: 37%;
    left: 52.5%;
}

#antaresm #antaresmLabel4 {
    top: 29%;
    left: 46%;
}

#antaresm #antaresmLabel5 {
    top: 39%;
    left: 15%;
}

#antaresm #antaresmLabel6 {
    top: 50%;
    left: 17.5%;
}

#antaresm #antaresmLabel7 {
    top: 69%;
    left: 32%;
}

#antaresm #antaresmLabel8 {
    top: 77%;
    left: 84%;
}

#antaresm .antaresm_modal {
    border-radius: 15px;
    border: 1px solid var(--antaresm-dark);
    background-color: var(--antaresm-green-light);
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/antares-mapa/images/ico-cerrar.svg');
    background-size: 32px auto;
    background-repeat: no-repeat;
    background-position: calc(100% - 13px) 16px;
    padding: 20px;
    width: calc(100% - 32px);
    max-width: 240px;
    position: absolute;
    left: 50%;
    top: 159px;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

#antaresm .antaresm_modal.active {
    opacity: 1;
    visibility: visible;
}

#antaresm .antaresm_modal_countries {
    margin-bottom: 14px;
}

#antaresm .antaresm_modal_countries li {
    color: var(--antaresm-dark) !important;
    font-size: 18px;
    line-height: 1.11;
    font-style: normal;
    font-weight: 600;
    text-align: left;
}

#antaresm .antaresm_modal_circles {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#antaresm .antaresm_modal_circle {
    display: block;
    width: 22.4px;
    min-width: 22.4px;
    height: 22.4px;
    border-radius: 100%;
    margin-right: 11px;
}

#antaresm .antaresm_modal_circle-blue {
    background-color: var(--antaresm-blue);
}

#antaresm .antaresm_modal_circle-green {
    background-color: var(--antaresm-green);
}

#antaresm .antaresm_modal_circle-dark {
    background-color: var(--antaresm-dark);
}

#antaresm .antaresm_modal_circle-orange {
    background-color: var(--antaresm-orange);
}

#antaresm .antaresm_modal_circle-gray {
    background-color: var(--antaresm-border);
}

#antaresm .antaresm_map,
#antaresm .antaresm_actions {
    opacity: 1;
    transition: all 0.5s;    
}

#antaresm.actived .antaresm_map,
#antaresm.actived .antaresm_actions {
    /* opacity: 0.4; */
}

#antaresm .antaresm_legend_item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--antaresm-dark) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin-bottom: 6px !important;
}

#antaresm .antaresm_legend_item:last-child {
    margin-bottom: 0 !important;
}

#antaresm .antaresm_legend_item:after {
    content: '';
    display: block;
    width: 10px;
    min-width: 10px;
    height: 10px;
    border-radius: 100%;
    margin-right: 8px;
    order: -1;
}

#antaresm .antaresm_legend_item-blue:after {
    background-color: var(--antaresm-blue);
}

#antaresm .antaresm_legend_item-green:after {
    background-color: var(--antaresm-green);
}

#antaresm .antaresm_legend_item-dark:after {
    background-color: var(--antaresm-dark);
}

#antaresm .antaresm_legend_item-orange:after {
    background-color: var(--antaresm-orange);
}

#antaresm .antaresm_legend_item-gray:after {
    background-color: var(--antaresm-border);
}

#antaresm #lines {
    display: none;
}

@media (min-width: 500px) {

    #antaresm .antaresm_title {
        max-width: 450px;
    }

    #antaresm .antaresm_modal {
        top: 125px;
    }

}

@media (min-width: 700px) {

    #antaresm  {
        padding: 36px;
    }

    #antaresm .antaresm_title {
        font-size: 32px;
        line-height: 1.12;
        max-width: 100%;
        margin-bottom: 47px;
    }

    #antaresm .antaresm_actions,
    #antaresm.visible .antaresm_label {
        display: none;
    }

    #antaresm #antaresmViewer {
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    #antaresm .antaresm_map {
        border: none;
        padding: 0;
        margin: 0;
        max-width: 491px;
        max-height: 252px;
    }

    #antaresm .antaresm_wrapper {
        width: 100%;
        max-width: 491px;
        max-height: 252px;
        position: relative;
        margin: 0 auto 42px;
    }

    #antaresm .antaresm_svg {
        min-width: 491px;
        height: 252px;
    }

    #antaresm #lines {
        display: block;
    }

    #antaresm .antaresm_legend {
        display: flex;
        flex-wrap: wrap;
        max-width: 540px;
        margin-left: -47px;
    }

    #antaresm .antaresm_legend_item,
    #antaresm .antaresm_legend_item:last-child {
        margin-left: 42px;
        margin-bottom: 12px !important;
    }

    #antaresm .antaresm_modal {
        opacity: 1;
        visibility: visible;
        border: none;
        background-color: transparent;
        background-image: none;
        padding: 0;
        transform: none;
        top: auto;
        left: auto;
        max-width: 62px;
        border-radius: 0;
    }

    #antaresm #antaresmModal1 {
        top: 40.5%;
        left: 32.7%;
    }

    #antaresm #antaresmModal2 {
        top: 20.8%;
        left: 80.5%;
    }

    #antaresm #antaresmModal3 {
        max-width: 110px;
        top: 54.5%;
        left: 76.5%;
    }

    #antaresm #antaresmModal4 {
        top: 18%;
        left: 35.5%;
    }

    #antaresm #antaresmModal5 {
        top: 34.5%;
        left: 1%;
    }

    #antaresm #antaresmModal6 {
        top: 54.8%;
        left: 1%;
    }

    #antaresm #antaresmModal7 {
        top: 79%;
        left: 37.2%;
    }

    #antaresm #antaresmModal8 {
        top: 86.2%;
        left: 64.2%;
    }

    #antaresm .antaresm_modal_countries {
        margin-bottom: 5px;
    }

    #antaresm .antaresm_modal_countries li {
        font-size: 15px;
        line-height: 1.12;
        font-weight: 400;
    }

    #antaresm .antaresm_modal {
        cursor: pointer;
    }

    #antaresm .antaresm_modal_circles {
        opacity: 0;
        transition: opacity 0.5s;
    }

    #antaresm .antaresm_modal.active .antaresm_modal_circles {
        opacity: 1;
    }

    #antaresm .antaresm_modal_circle {
        width: 8px;
        min-width: 8px;
        height: 8px;
        margin-right: 4px;
    }

    #antaresm .antaresm_area,
    #antaresm .antaresm_area polygon,
    #antaresm .antaresm_area path {
        fill: var(--antaresm-green-light)
    }

    #antaresm .antaresm_area.hover,
    #antaresm .antaresm_area.hover polygon,
    #antaresm .antaresm_area.hover path {
        fill: var(--antaresm-green)
    }

}

@media (min-width: 1080px) {

    #antaresm .antaresm_title {
        margin-bottom: 79px;
    }

    #column-2 #antaresm .antaresm_title {
        margin-bottom: 47px;
    }

    #antaresm .antaresm_wrapper,
    #antaresm .antaresm_map,
    #antaresm .antaresm_svg {
        min-width: 874px;
        max-width: 874px;
        height: 444px;
        max-height: 444px;
    }

    #column-2 #antaresm .antaresm_wrapper,
    #column-2 #antaresm .antaresm_map,
    #column-2 #antaresm .antaresm_svg {
        min-width: 491px;
        max-width: 491px;
        height: 252px;
        max-height: 252px;
    }

    #antaresm .antaresm_modal_countries li {
        font-size: 16px;
    }

    #column-2 #antaresm .antaresm_modal_countries li {
        font-size: 15px;
    }

    #antaresm .antaresm_modal_countries {
        margin-bottom: 10px;
    }

    #column-2 #antaresm .antaresm_modal_countries {
        margin-bottom: 5px;
    }

    #antaresm #antaresmModal1 {
        top: 43%;
    }

    #column-2 #antaresm #antaresmModal1 {
        top: 40.5%;
    }

    #antaresm #antaresmModal2 {
        top: 31.5%;
    }

    #column-2 #antaresm #antaresmModal2 {
        top: 20.8%;
    }

    #antaresm #antaresmModal3 {
        max-width: 120px;
        top: 58%;
    }

    #column-2 #antaresm #antaresmModal3 {
        max-width: 110px;
        top: 54.5%;
    }

    #antaresm #antaresmModal4 {
        top: 23.5%;
        left: 35%;
    }

    #column-2 #antaresm #antaresmModal4 {
        top: 18%;
        left: 35.5%;
    }

    #antaresm #antaresmModal5 {
        top: 37.4%;
        left: 0.9%;
    }

    #column-2 #antaresm #antaresmModal5 {
        top: 34.5%;
        left: 1%;
    }

    #antaresm #antaresmModal6 {
        top: 57.8%;
        left: 0.5%;
    }

    #column-2 #antaresm #antaresmModal6 {
        top: 54.8%;
        left: 1%;
    }

    #antaresm #antaresmModal7 {
        top: 82%;
        left: 38%;
    }

    #column-2 #antaresm #antaresmModal7 {
        top: 79%;
        left: 37.2%;
    }

    #antaresm #antaresmModal8 {
        top: 89.5%;
    }

    #column-2 #antaresm #antaresmModal8 {
        top: 86.2%;
    }
    
}