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

#vdifferences {
    width: 100%;
    max-width: 980px;
    margin: 20px auto;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

#vdifferences em {
    font-style: italic !important;
}

#vdifferences strong {
    font-weight: 600 !important;
}

#vdifferences .vdifferences_graph {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

#vdifferences .vdifferences_graph_point {
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/vehiculos-diferencias/images/ico-mas.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s 2s;
}

#vdifferences.viewport .vdifferences_graph_point {
    opacity: 1;
    visibility: visible;
}

#vdifferences .vdifferences_graph_point:hover {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/vehiculos-diferencias/images/ico-mas-hover.svg');
}

#vdifferences .vdifferences_graph_point.active {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/vehiculos-diferencias/images/ico-mas-active.svg');
}

#vdifferences .vdifferences_graph_point-1 {
    top: 47%;
    left: 23%;
}

#vdifferences .vdifferences_graph_point-2 {
    top: 34%;
    left: 10%;
}

#vdifferences .vdifferences_graph_point-3 {
    top: 65%;
    left: 48%;
}

#vdifferences .vdifferences_graph_point-4 {
    top: 54%;
    right: 24%;
}

#vdifferences .vdifferences_graph_point-5 {
    top: 40%;
    right: 35%;
}

#vdifferences .vdifferences_graph_image-1 {
    position: relative;
    z-index: 1;
}

#vdifferences .vdifferences_graph_image-2,
#vdifferences .vdifferences_graph_image-3,
#vdifferences .vdifferences_graph_image-4,
#vdifferences .vdifferences_graph_image-5,
#vdifferences .vdifferences_graph_image-6 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 1s;
}

#vdifferences .vdifferences_graph_image-2 {
    z-index: 6;
    top: -1%
}

#vdifferences.viewport .vdifferences_graph_image-2 {
    z-index: 6;
    top: 0%
}

#vdifferences .vdifferences_graph_image-3 {
    z-index: 3;
    transition: top 2s 0s, left 2s 0s;
    top: 14%;
    left: 19%;
}

#vdifferences.viewport .vdifferences_graph_image-3 {
    top: -2%;
    left: -3.5%;
}

#vdifferences .vdifferences_graph_image-4 {
    z-index: 4;
    transition: top 2s 0s, left 2s 0s;
}

#vdifferences.viewport .vdifferences_graph_image-4 {
    top: -21%;
    left: -31%;
}

#vdifferences .vdifferences_graph_image-5 {
    z-index: 5;
    opacity: 1;
    transition: top 2s 0s, left 2s 0s, opacity 1.5s 0s;
}

#vdifferences.viewport .vdifferences_graph_image-5 {
    top: -21%;
    left: -31%;
    opacity: 0;
}

#vdifferences .vdifferences_graph_image-6 {
    z-index: 6;
    opacity: 0;
    top: 21%;
    left: 31%;
    transition: top 2s 0s, left 2s 0s, opacity 1.5s 0.5s;
}

#vdifferences.viewport .vdifferences_graph_image-6 {
    top: 0%;
    left: 0%;;
    opacity: 1;
}

#vdifferences .vdifferences_modal {
    display: none;
    background-color: var(--vdifferences-white);
    margin: 16px auto 0;
    z-index: 12;
}

#vdifferences .vdifferences_modal.active {
    display: block;
}

#vdifferences .vdifferences_modal_header {
    border-radius: 15px 15px 0px 0px;
    background: var(--vdifferences-green);
    padding: 16px 78px 16px 24px;
    position: relative;
}

#vdifferences .vdifferences_modal_title {
    color: var(--vdifferences-white) !important;
    font-size: 24px;
    line-height: 1.16;
    font-style: normal;
    font-weight: 400;
    text-align: left;
}

#vdifferences .vdifferences_modal_close {
    display: block;
    width: 32px;
    height: 32px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/vehiculos-diferencias/images/ico-cerrar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
}

#vdifferences .vdifferences_modal_body {
    border-radius: 0 0 15px 15px;
    border: 1px solid var(--vdifferences-border);
    padding: 14px;
}

#vdifferences .vdifferences_modal_content {
    border-radius: 15px;
    background: var(--vdifferences-forest);
    padding: 16px 20px;
    margin-bottom: 14px;
    overflow: hidden;
}

#vdifferences .vdifferences_modal_content:last-child {
    margin-bottom: 0;
}

#vdifferences .vdifferences_modal_subtitle {
    border-radius: 15px;
    background: var(--vdifferences-white);
    padding: 10px;
    color: var(--vdifferences-dark);
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
}

#vdifferences .vdifferences_modal_image {
    background-color: var(--vdifferences-white);
    min-height: 236px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 40px);
    margin: 0 -20px 20px;
}

#vdifferences .vdifferences_modal_image img {
    width: calc(100% + 20px);
    margin: 0 -10px;
}

#vdifferences .vdifferences_modal_text {
    border-radius: 15px;
    background: var(--vdifferences-white);
    padding: 16px 20px;
}

#vdifferences .vdifferences_modal_text p {
    color: var(--vdifferences-brown) !important;
    font-size: 15px;
    line-height: 1.33;
    font-style: normal;
    font-weight: 400;
    text-align: left;
}


@media (min-width: 700px) {

    #vdifferences .vdifferences_graph_point-1 {
        top: 49%;
        left: 28%;
    }
    
    #vdifferences .vdifferences_graph_point-2 {
        top: 42%;
        left: 18%;
    }
    
    #vdifferences .vdifferences_graph_point-3 {
        top: 66%;
        left: 53.5%;
    }
    
    #vdifferences .vdifferences_graph_point-4 {
        top: 60%;
        right: 32%;
    }
    
    #vdifferences .vdifferences_graph_point-5 {
        top: 45%;
        right: 40%;
    }

    #vdifferences .vdifferences_modal {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 94%;
        max-width: 808px;
    }

    #vdifferences .vdifferences_modal_body {
        display: flex;
        gap: 20px;
        padding: 19px;
    }

    #vdifferences .vdifferences_modal_content {
        flex: 1;
        margin-bottom: 0;
    }

    #vdifferences .vdifferences_modal_header {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    #vdifferences .vdifferences_modal_image img {
        width: 100%;
        margin: 0 auto;
    }

}
