@font-face {
    font-family: 'BentonSansBBVA-Book';
    src: url("../fonts/BentonSansBBVA-Book.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/BentonSansBBVA-Book.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Book.woff") format("woff"), url("../fonts/BentonSansBBVA-Book.ttf") format("truetype"), url("../fonts/BentonSansBBVA-Book.svg#svgFontName") format("svg"), url("../fonts/BentonSansBBVA-Book.otf") format("opentype");
}

@font-face {
    font-family: 'BentonSansBBVA-Medium';
    src: url("../fonts/BentonSansBBVA-Medium.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/BentonSansBBVA-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Medium.woff") format("woff"), url("../fonts/BentonSansBBVA-Medium.ttf") format("truetype"), url("../fonts/BentonSansBBVA-Medium.svg#svgFontName") format("svg"), url("../fonts/BentonSansBBVA-Medium.otf") format("opentype");
}

@font-face {
    font-family: 'BentonSansBBVA-Bold';
    src: url("../fonts/BentonSansBBVA-Bold.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/BentonSansBBVA-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Bold.woff") format("woff"), url("../fonts/BentonSansBBVA-Bold.ttf") format("truetype"), url("../fonts/BentonSansBBVA-Bold.svg#svgFontName") format("svg"), url("../fonts/BentonSansBBVA-Bold.otf") format("opentype");
}

@font-face {
    font-family: 'BentonSansBBVA-Light';
    src: url("../fonts/BentonSansBBVA-Light.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/BentonSansBBVA-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/BentonSansBBVA-Light.woff") format("woff"), url("../fonts/BentonSansBBVA-Light.ttf") format("truetype"), url("../fonts/BentonSansBBVA-Light.svg#svgFontName") format("svg"), url("../fonts/BentonSansBBVA-Light.otf") format("opentype");
}

* {
    font-family: 'BentonSansBBVA-Medium';
    color: #002f65;
}

h2 {
    color: #002f65;
    font-size:2.3rem;
}

.container section:first-child {
    margin-bottom: 3em;
}

.title-box-v1 {
    background-color: #caeefd;
    margin-top: 5rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem !important;
}
.title-box-v2 {
    background-color: #e5fafa;
    padding: 1.5rem 1.5rem 1rem 1.5rem !important;
}

.title-box-v1 h2 strong, .title-box-v2 h2 strong {
    font-family: 'BentonSansBBVA-Bold' !important;
}

.boxes {
    background-color: #ededed;
    padding-top: 4rem !important;
    padding-bottom: 5rem !important;
}

.boxes strong {
    font-family: 'BentonSansBBVA-Bold' !important; 
}

.boxes .custom-margin {
    margin-top: 4rem;
}

.letter-text-item {
    font-weight: bold;
    font-size: 2rem;
    padding-bottom: 0 !important;
}

.p-text-item {
    font-size: 0.9rem;
    line-height: 1.1em;
    padding-top: 0 !important;
}

#img-main {
    left: -3rem;
    position: absolute;
    top: -24rem;
    z-index: 1;
}

#img-main > img {
    max-width: 895px;
}

@media (min-width: 320px) and (max-width: 767.98px) {
    h2 {
        font-size:1.6rem;
    }
    .title-box-v1 {
        margin-top: 0;
    }
    .title-box-v1 img {
        margin-bottom: 0.7rem;
        width: 30%;
    }
    .title-box-v2 img {
        margin-bottom: 0.5rem;
        width: 40%;
    }
    .boxes > div {
        margin-bottom: 1rem;
    }
    .boxes .custom-margin {
        margin-top: 0;
    }
    .text-center {
        text-align: center !important;
    }
    .mobile-hidden {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    h2 {
        font-size:1.8rem;
    }
    .title-box-v1 img {
        width: 75%;
    }
    .title-box-v2 img {
        width: 95%;
    }
    .title-box-v1 {
        margin-top: 1rem;
    }
    .text-left {
        text-align: left !important;
    }
    .letter-text-item {
        font-size: 1.8rem;
    }
    .p-text-item {
        font-size: 0.8rem;
    }
    #img-main {
        left:-3rem;
        top: -3.8rem;
    }
    #img-main > img {
        max-width: 525px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    h2 {
        font-size:1.9rem;
    }
    .title-box-v1 {
        margin-top: 1rem;
    }
    .title-box-v1 img {
        width: 85%;
    }
    .title-box-v2 img {
        width: 75%;
    }
    .text-left {
        text-align: left !important;
    }
    #img-main {
        left: -6.5rem;
        top: -18rem;
    }
    #img-main > img {
        max-width: 770px;
    }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .text-left {
        text-align: left !important;
    }
}

@media (min-width: 1601px) and (max-width: 2560px) {
    .text-left {
        text-align: left !important;
    }
}
