@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 {
    --quovi-white: #FFFEFF;
    --quovi-green: #00A443;
    --quovi-dark: #00402A;
    --quovi-grey: #5F6971;
    --quovi-brown: #615D5A;
    --quovi-green-light: #DCEBE1;
    --quovi-sand: #FFF5EC;
    --quovi-border: #D8CFC7;
}

#quovi {
    width: 100%;
    max-width: 1256px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 15px;
    border: 1px solid var(--quovi-border);
    background: var(--quovi-white);
}

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

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

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

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

#quovi img,
#quovi video {
    display: block;
    width: 100%;
}

#quovi .quovi_media {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
}

#quovi .quovi_link {
    display: block;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

#quovi.active .quovi_link {
    display: none;
}

#quovi .quovi_link:after {
    content: '';
    position: absolute;
    inset: 0;
    cursor: pointer !important;
    display: flex;
}

#quovi .quovi_image_wrap {
    display: block;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

#quovi .quovi_image_wrap:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all 0.5s;
}

#quovi .quovi_image_wrap:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 89px;
    height: 89px;
    border-radius: 0 15px 0 15px;
    background-color: var(--quovi-dark);
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/cita-video/images/ico-play.svg');
    background-size: 32px auto;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    transition: all 0.5s;
}

#quovi .quovi_image {
    height: 311px;
    object-fit: cover;
    object-position: center top;
    transform: scale(1);
    transform-origin: center;
    transition: all 0.5s;
}

#quovi .quovi_video {
    opacity: 0;
    visibility: hidden;
    height: 311px;
    object-fit: contain;
    object-position: center center;
    background-color: #000000;
}

#quovi.active .quovi_video {
    opacity: 1;
    visibility: visible;
}

#quovi .quovi_text {
    color: var(--quovi-brown);
    font-size: 24px;
    line-height: 1.16;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin-bottom: 27px;
}

#quovi .quovi_text strong {
    font-weight: 500;
}

#quovi .quovi_text em {
    font-style: italic;
}

#quovi .quovi_text a {
    color: var(--quovi-border);
    text-decoration: underline;
}

#quovi .quovi_cite {
    display: block;
    color: var(--quovi-brown);
    font-size: 18px;
    line-height: 1.33;
    font-style: normal;
    font-weight: 400;
    text-align: left;
}

#quovi .quovi_cite a {
    color: var(--quovi-brown);
    text-decoration: underline;
}

#quovi .quovi_cite strong {
    display: block;
    color: var(--quovi-green);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.33;
    letter-spacing: -0.016px;
    margin-bottom: 7px;
}

#quovi .quovi_link:hover .quovi_image_wrap:after {
    opacity: 0.2;
}

#quovi .quovi_link:hover .quovi_image_wrap:before {
    background-color: var(--quovi-green);
}

#quovi .quovi_link:hover .quovi_image {
    transform: scale(1.05);
}

@media (min-width: 700px) {

    #quovi {
        flex-direction: row;
    }   

    #quovi .quovi_media {
        width: calc(50% - 16px);
        order: 1;
        margin-left: auto;
        margin-bottom: auto;
    }

    #quovi .quovi_info {
        width: calc(50% - 16px);
        margin-right: auto;
    }

    #quovi .quovi_image,
    #quovi .quovi_video {
        height: 375px;
    }

    #quovi .quovi_text {
        font-size: 28px;
        line-height: 1.21;
    }
    
}
