/*Wex Specific CSS*/

:root{
    --xxxl-font-size: 40px;
}

body{
    background-color: #EBF9FF;
}
.container-fluid{
    padding: 0;
}
.header-title{
    height: auto;
}
.header-title h1{
    color: #FFFFFF;
    font-size: var(--xxxl-font-size);
    text-align: center;
    margin: 50px 0;
    font-weight: 700;
    text-transform: uppercase;
}
#header{
    height: auto;
    min-height: auto;
}
.form-subtitle{
    text-align: center;
} 
#logoImg{
    margin-top: 40px;
    max-width: 300px;
}
.ctaLeft h3{
    max-width: 80%;
}
#cardsOverlay{
    background-image: url('/img/wexFuel/cartoesOverlay.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
/*CSS FOR WEX FORM */
#contactform {
    background-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.85);
    /*display: flex;*/
    justify-content: center;
    /*flex-wrap: wrap;*/
    padding: 20px 0;
    border-radius: 10px;
    margin: 20px auto 80px;
    max-width: 700px;
}
.ita #contactform label:not(#terms):not(.error) {
    max-width: 125px;
}
#disc {
    font-size: 10px;
    text-align: left;
    padding-top: 30px;
    padding-left: 20px;
}

.form-title {
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 30px;
}
#contactform label#termos-error{
    margin: 10px auto !important;
}
.step-title {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    line-height: normal;
    margin-bottom: 30px;
}

.step.active {
    display: block;
}

.step:not(.active) {
    display: none;
}

.options-container {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.option-button {
    max-width: 160px;
    width: 100%;
    height: 130px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    opacity: 0.95;
    border-radius: 10px;
    align-items: flex-end;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: center;
    padding: 10px;
    background-repeat: no-repeat;
    background-position: center 40%;
    background-size: 51px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.option-button:hover {
    background-color: #0077b6;
    color: #fff;
}
.titleDiv{
    width: 80%;
}
.titleDiv.ita, .titleDiv.de{
    width: 75%;
}

.round-option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 17px 17px;
    cursor: pointer;
}
#contactform .number-option-button{
    color: #01B4D6;
    max-width: 147px;
    width: 100%;
    height: 130px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    opacity: 0.95;
    border-radius: 10px;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: center;
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}
.round-option-button::before {
    content: '';
    display: block;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid #fff;
    height: 28px;
    width: 28px;
    margin-right: 9px;
    box-shadow: 0px 4px 4px 0 rgba(0,0,0,0.25);
}
#contactform label.error{
    text-align: center;
}
.number-option-button {
    color: #01B4D6;
    max-width: 147px;
    width: 100%;
    height: 130px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    opacity: 0.95;
    border-radius: 10px;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: center;
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

#contactform .number-option-button:hover {
    background-color: #01B4D6;
    color: #fff;
}

#contactform input[type="radio"]:checked + .number-option-button {
    background-color: #0077b6;
    color: #fff;
}

input[type="radio"]:checked + .round-option-button::before,
.round-option-button:hover::before {
    background-color: #0077b6;
}

/*TIPO DI CLIENTE*/
#empresa-label {
    background-image: url('/img/wexFuel/icons/empresa.svg');
}
#empresa:checked ~ #empresa-label{
    background-image: url('/img/wexFuel/icons/empresa_on.png');
    background-color: #0077b6;
    color: #fff;
}
#empresa-label:hover {
    background-image: url('/img/wexFuel/icons/empresa_on.png');
    background-color: #01B4D6;
    color: #fff;
}

#sociedade-label {
    background-image: url('/img/wexFuel/icons/empresa.svg');
}
#sociedade:checked ~ #sociedade-label{
    background-image: url('/img/wexFuel/icons/empresa_on.png');
    background-color: #0077b6;
    color: #fff;
}
#sociedade-label:hover {
    background-image: url('/img/wexFuel/icons/empresa_on.png');
    background-color: #01B4D6;
    color: #fff;
}

#eni-label {
    background-image: url('/img/wexFuel/icons/eni.svg');
}
#eni:checked ~ #eni-label{
    background-image: url('/img/wexFuel/icons/eni_on.png');
    background-color: #0077b6;
    color: #fff;
}
#eni-label:hover {
    background-image: url('/img/wexFuel/icons/eni_on.png');
    background-color: #01B4D6;
    color: #fff;
}
#privado-label {
    background-image: url('/img/wexFuel/icons/privado.svg');
}
#privado:checked ~ #privado-label{
    background-image: url('/img/wexFuel/icons/privado_on.png');
    background-color: #0077b6;
    color: #fff;
}
#privado-label:hover {
    background-image: url('/img/wexFuel/icons/privado_on.png');
    background-color: #01B4D6;
    color: #fff;
}
#debtTrue-label {
    background-image: url('/img/wexFuel/icons/form_checkmark.svg');
}
#debtTrue:checked ~ #debtTrue-label{
    background-image: url('/img/wexFuel/icons/form_checkmark_branco.svg');
    background-color: #0077b6;
    color: #fff;
}
#debtTrue-label:hover {
    background-image: url('/img/wexFuel/icons/form_checkmark_branco.svg');
    background-color: #01B4D6;
    color: #fff;
}
#debtFalse-label {
    background-image: url('/img/wexFuel/icons/form_crossmark.svg');
}
#debtFalse:checked ~ #debtFalse-label{
    background-image: url('/img/wexFuel/icons/form_crossmark_branco.svg');
    background-color: #0077b6;
    color: #fff;
}
#debtFalse-label:hover {
    background-image: url('/img/wexFuel/icons/form_crossmark_branco.svg');
    background-color: #01B4D6;
    color: #fff;
}

/*Active company time*/

#plus2-label { background-image: url('/img/wexFuel/icons/plus2.svg'); }
#plus2:checked ~ #plus2-label{
    background-image: url('/img/wexFuel/icons/plus2-Painted.svg');
    background-color: #0077b6;
    color: #fff;
}
#plus2-label:hover {
    background-image: url('/img/wexFuel/icons/plus2-Painted.svg');
    background-color: #01B4D6;
    color: #fff;
}

#minus2-label { background-image: url('/img/wexFuel/icons/minus2.svg'); }
#minus2:checked ~ #minus2-label{
    background-image: url('/img/wexFuel/icons/minus2-Painted.svg');
    background-color: #0077b6;
    color: #fff;
}
#minus2-label:hover {
    background-image: url('/img/wexFuel/icons/minus2-Painted.svg');
    background-color: #01B4D6;
    color: #fff;
}

/*TIPO DI VEICOLI*/
#auto-label {background-image: url('/img/wexFuel/icons/auto.png');}
#auto:checked ~ #auto-label {
    background-image: url('/img/wexFuel/icons/auto_on.png');
    background-color: #0077b6;
    color: #fff;
}
#auto-label:hover {
    background-image: url('/img/wexFuel/icons/auto_on.png');
    background-color: #01B4D6;
    color: #fff;
}

#mixed_fleet-label {background-image: url('/img/wexFuel/icons/mixed.png');}
#mixed_fleet:checked ~ #mixed_fleet-label {
    background-image: url('/img/wexFuel/icons/mixed_on.png');
    background-color: #0077b6;
    color: #fff;
}
#mixed_fleet-label:hover {
    background-image: url('/img/wexFuel/icons/mixed_on.png');
    background-color: #01B4D6;
    color: #fff;
}

#furgoni-label {background-image: url('/img/wexFuel/icons/furgoni.png');}
#furgoni:checked ~ #furgoni-label {
    background-image: url('/img/wexFuel/icons/furgoni_on.png');
    background-color: #0077b6;
    color: #fff;
}
#furgoni-label:hover {
    background-image: url('/img/wexFuel/icons/furgoni_on.png');
    background-color: #01B4D6;
    color: #fff;
}
#camion-label {background-image: url('/img/wexFuel/icons/camion.png');}
#camion:checked ~ #camion-label {
    background-image: url('/img/wexFuel/icons/camion_on.png');
    background-color: #0077b6;
    color: #fff;
}
#camion-label:hover {
    background-image: url('/img/wexFuel/icons/camion_on.png');
    background-color: #01B4D6;
    color: #fff;
}

.btns-container {
    margin-top: 38px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btns-container .btn {
    margin: 0 24px 20px;
}

.submit-btn,
.avanzar-btn {
    border-radius: 10px;
    background-color: #01B4D6;
    max-width: 264px;
    width: 100%;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.submit-btn:hover,
.avanzar-btn:hover {
    background-color: #ffffff;
    border: 3px solid #01B4D6;
    color: #01B4D6;
}

.back-btn {
    max-width: 76px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #696969;
    background-image: url('/img/wexFuel/icons/left_pointing_triangle_gray.svg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 15px;
    background-color: transparent;
    border: none;
    padding: 0 0 0 19px;
    position: absolute;
    left: 10%;
    display: none;
}
.back-btn:hover,.back-btn:focus,.back-btn:active{
    background-color: transparent;
    border: none;
    color: #696969;
    font-weight: 600;
}
.step[data-step="1"]:not(.active) ~ .btns-container .back-btn{
    display: block;
}

.step[data-step="final"].active ~ .btns-container .avanzar-btn ,
.step[data-step="final"]:not(.active) ~ .btns-container .submit-btn {
    display: none;
}

.step[data-step="final"].active ~ .btns-container .submit-btn {
    display: block;
}


.input-labels {
    font-size: 20px;
    text-align: left;
    color: #fff;
    float: left;
    margin-top: 30px;
    width: 340px;
}

.input-icons {
    background-color: #ffffff;
    max-width: 50px;
    width: 100%;
    padding: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    height: 48px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    border: none;
}

#nombre-icon {
    background-image: url('/img/wexFuel/icons/icon_formNombre.svg');
}

#telefono-icon {
    background-image: url('/img/wexFuel/icons/icon_formTelefono.svg');
}

#email-icon {
    background-image: url('/img/wexFuel/icons/icon_formEmail.svg');
}

#cp-icon {
    background-image: url('/img/wexFuel/icons/icon_formPoplacion.svg');
}
#contactform label.terms-label{
    color: unset;
    font-weight: unset;
    font-size: unset;
    background-color: unset;
    min-width: unset;
    min-height: unset;
    padding: unset;
    text-align: center;

}

#contactform  .inputs-field:not(#terms) {
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    color: #5a6e8b;
    border: none; 
    background-color: #ffffff;
    max-width: 290px;
    width: 100%;
    border-radius: 5px;
    height: 40px; 
    padding-left: 58px;
    background-size: 30px;
    background-position: 18px center;
    background-repeat: no-repeat;
}

#terms-input {display: none;}

#contactform .terms-label {
    width: 100%;
    text-align: center;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#contactform  .terms-label::before {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    border: none;
    background-color: #fff;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 8px;
}

.terms-label a {
    color: #2a2a2a;
}

#contactform  #terms-input:checked + .terms-label:before {
    content: "✓";
    color: #ffffff;
    font-size: 18px;
    line-height: 0.8;
    padding-top: 3px;
    background-color: #01B4D6;
}

label.error {
    color: #ff2710;
    font-size: 14px;
    width: 100%;
}

.error-container label.error {
    color: #ff2710;
    font-size: 14px;
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 10px;
    bottom: auto;
}

.progress {
    max-width: 400px;
    height: 12px;
    border-radius: 55px;
    background-color: #fff;
    position: relative;
    overflow: visible;
    margin: 20px auto;
}

.progress-bar {
    background-color: #01C754;
    background: linear-gradient(270deg, #01C754 0%, rgba(1, 199, 84, 0) 50%), #01B4D6;
    border-radius: 55px;
    color: #2a2a2a;

}

.progress-bar #counter.count {
    background-color: #fff;
    font-size: 12px;
    font-weight: normal;
    font-stretch: condensed;
    font-style: normal;
    letter-spacing: normal;
    text-align: center;
    width: 40px;
    height: 40px;
    position: absolute;
    border-radius: 50%;
    line-height: 40px;
    right: -1px;
}

input[name="nome"],input[name="apelido"] {
    background-image: url('/img/wexFuel/icons/nome.svg');
}

input[name="email"] {
    background-image: url('/img/wexFuel/icons/email.svg');
}

input[name="empresa"] {
    background-image: url('/img/wexFuel/icons/azienda.svg');
}

input[name="telefono"] {
    background-image: url('/img/wexFuel/icons/telefone.svg');
}

input[name="cod_postal"] {
    background-image: url('/img/wexFuel/icons/postal.svg');
}

#terms-input {display: none;}

.terms-label {
    width: 100%;
    text-align: center;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.terms-label::before {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    border: none;
    background-color: #fff;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 8px;
}

.terms-label a {
    color: #2a2a2a;
}

#terms-input:checked + .terms-label:before {
    content: "✓";
    color: #ffffff;
    font-size: 18px;
    line-height: 0.8;
    padding-top: 3px;
    background-color: #01B4D6;
}

.partners-slider .slick-slide img{
    width: 180px;
}

@media (max-width:991px) { 
    .option-button {
        max-width: 180px;
    } 
}


@media (max-width:767px) {
    #disc {
        text-align: center;
    }
    .banner {
        padding: 0;
    }
    
    .slider-bg {
        position: relative;
        height: 438px;
        margin-bottom: -438px;
    }
    .slider-bg div {
        background-size: cover;
    }
    .slider-bg div[data-slide="1"]{
        background-image: url('/img/wexFuel/ban1mob.png');
    }
    .slider-bg div[data-slide="2"]{
        background-image: url('/img/wexFuel/ban2mob.png');
    }
    .slider-bg div[data-slide="3"]{
        background-image: url('/img/wexFuel/ban3mob.png');
    }
    
    .title {
        font-size: 29px;
        line-height: 30px;
        color: #fff;
        margin: 0 auto 34px;
        max-width: 335px;
    }
    
    .subtitle {
        font-size: 21px;
        line-height: 26px;
        margin: 0 auto 153px;
        font-weight: 400;
        max-width: 278px;
        
    }
    
    .banner .container {
        padding: 0;
    }
    
    #contactform {
        background-color: #ECECEC;
        padding: 40px 20px 46px;
        border-radius: 0;
        box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    }
    
    .form-wrapper {
        max-width: 100%;
    }
    
    .logo {
        max-width: 163px;
        margin: 20px auto 34px;
    }
    
    .btns-container {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .btns-container .back-btn {
        margin-top: 23px;
        position: relative;
        left: 0;
    }
    
    .number-option-button {
        margin-bottom: 15px;
    }
    
    .step-title {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 22px;
    }
    
    .form-title {
        font-size: 15px;
        margin-bottom: 25px;
    } 
}


.loading {
    max-width: 90px;
    width: 100%;
    margin: 35px auto;
    display: block;
    animation-name: spin;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}


/*Section 1*/
.section1{ 
    background-image: url('/img/wexFuel/sectionBG.svg');
    background-repeat: no-repeat;
    background-size: 20%;
    background-position: top right;
    color: var(--color1);
}
.section1 h3{
    font-weight: 700;
    font-size: var(--xxxl-font-size);
    text-transform: uppercase;
}
.section1 h3.smallerFont{
    font-size: xx-large;
}
.longHR, .shortHR{
    translate: 0 -10px;
    margin: 0 0 50px;
    opacity: 1;
    color: #8BCCED;
    height: 20px !important;
}
.tyAdvantages p.smallerFont{
    font-size: calc( var(--md-font-size) - 2px );
}
.longHR{
    width: 50%;
}
.shortHR{
    width: 30%;
    margin: 0 0 20px;
}
.rightHR{ 
    margin-top: 55px;
    display: flex; 
    flex-direction: column;
    align-items: flex-end;
}
.advantages{ 
    max-width: 70%;
} 

ul.advantages {
    list-style-type: none;
    padding-left: 0;  
}
ul.advantages li { 
    padding-left: 65px;   
    line-height: 1.3;  
    background-size: 50px 50px;
    margin-top: var(--lg-pm); 
    font-size: var(--xl-font-size);
    display: flex;
    align-items: center;
    height: 50px;
}

ul.advantages li:nth-child(1) {
    background: url('/img/wexFuel/icons/vant1.svg') no-repeat left center;
    background-size: 50px 50px;
}
ul.advantages li:nth-child(2) {
    background: url('/img/wexFuel/icons/vant2.svg') no-repeat left center; 
    background-size: 50px 50px;
}
ul.advantages li:nth-child(3) {
    background: url('/img/wexFuel/icons/vant3.svg') no-repeat left center; 
    background-size: 50px 50px;
}
ul.advantages li:nth-child(4) {
    background: url('/img/wexFuel/icons/vant4.svg') no-repeat left center; 
    background-size: 50px 50px;
}
ul.advantages li:nth-child(5) {
    background: url('/img/wexFuel/icons/vant5.svg') no-repeat left center; 
    background-size: 50px 50px;
}
ul.advantages li:nth-child(6) {
    background: url('/img/wexFuel/icons/vant6.svg') no-repeat left center; 
    background-size: 50px 50px;
}
.partners-slider{
    margin: 50px 0;
}
.partners{
    margin: 80px 0 150px;
}
/*Section 2*/

.section2{ 
    background-image: url('/img/wexFuel/sectionBG.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    color: var(--color1);
}
#itaBG:before{
    background-image: url('/img/itaMap.svg');
    height: 65vh;
    top: 5%;
}
#deBG:before{
    background-image: url('/img/deMap.svg');
    height: 65vh;
    top: 5%;
}
/*FOOTER  */
.cta{
    background-image: url('/img/wexFuel/footerBG.svg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top left;
    color: var(--color1);
    height: 300px;
}
.ctaLeft{
    margin: auto auto auto 5% !important;
}
.ctaLeft .bolded{
    font-size: var(--xxxl-font-size);
    text-transform: uppercase;
}
.ctaLeft .bolded.smaller{
    font-size: var(--xxl-font-size);
}
.ctaContent{
    height: 300px;
    align-items: flex-end;
}
#footer{
    margin-top: 0;
    background-color: #ffffff;
}
@media (min-width: 1400px) {
    .titleDiv.ita, .titleDiv.de{
        width: 68%;
    }
}
@media (max-width: 1100px) {
    :root{
        --xxxl-font-size: 32px;
    }
    .ctaLeft{
        width: 40%;
    }
    .section1{
        background-size: 30%;
    }

    #itaBG:before, #deBG::before{
        top: 20%;
    }
    ul.advantages li{
        font-size: calc(var(--xl-font-size) - 4px);
    }
}

@media (max-width: 1000px) {
    :root{
        --ctaLeft-width: 50%;
        --ctaLeft-width: 100%;
        --xxxl-font-size: 28px;
        --lg-font-size: 16px;
    }
    .ctaLeft{
        width: 100%;
        margin: auto !important;
        text-align: center;
        padding: 0;
    } 
    #cta-button{
        max-width: 250px;
        margin: auto !important; 
    } 
    .ctaImg img{
        max-height: 200px;
    }
    .cta{
        height: 400px;
        background-position: bottom left;
    }
    .ctaContent{
        height: 100%;
        max-width: 100vw;
        margin: auto;
    }
    .ctaLeft h3{
        margin: 20px auto 30px;
    }
    .ctaLeft .bolded.smaller{
        font-size: var(--xxxl-font-size);
        text-align: center; 
    }
    .section1 h3.smallerFont{
        font-size: var(--xxxl-font-size);
    }
    .section1{
        background-position: right 20%;
    }  
    ul.advantages li{
        font-size: var(--lg-font-size);
    }
}

@media (max-width: 800px) {
    :root{
        --xxxl-font-size: 35px;
        --lg-font-size: 18px;
    }
    #header{
        height: auto !important;
        min-height: auto !important;
    }
    .header-title h1{
        font-size: 30px;
    }
    .ctaContent{
        width: 100vw;
    }
    .titleDiv, .titleDiv.ita, .titleDiv.be{
        width: 100%;
    }
    .ctaLeft .bolded{
        font-size: 25px;
    }
    .ctaLeft h3{
        margin: auto auto 30px;
    }
    #cta-button.smallerFont{
        font-size: var(--md-font-size);
    }
    #itaBG:before, #deBG::before{
        top: 15%;
    }
}
@media (max-width: 768px){
    :root{
        --xxxl-font-size: 27px;
        --lg-font-size: 16px;
    }
    .title{
        color: var(--color1);
        font-size: var(--xxxl-font-size);
    }
    .partners-slider .slick-slide img{
        width: 130px;
    }
    .section2{
        background-image: none;
    }
}
@media (max-width: 768px){
    .advantages{
        max-width: 95%;
    }
    ul.advantages li{
        font-size: 15px !important;
    }
    .section1{
        background-size: 15%;
    }
    .title{
        max-width: 100%;
    }
    .titleDiv.ita, .titleDiv.de{
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 500px) {
    :root{
        --xxxl-font-size: 22px;
        --lg-font-size: 14px;
    } 
    .ctaLeft .bolded{
        font-size: 18px;
    }
    .section1, .section2{
        background-image: none;
    }
    .advantages{
        max-width: 100%;
    }
    ul.advantages li{
        font-size: var(--md-font-size);
        padding-left: 50px;
        line-height: 50px;
    }
    ul.advantages li span{
        font-size: var(--lg-font-size);
        display: inline-block;
        vertical-align: middle;
        line-height: normal;
    }
    ul.advantages li:nth-child(1), ul.advantages li:nth-child(2), ul.advantages li:nth-child(3), ul.advantages li:nth-child(4), ul.advantages li:nth-child(5), ul.advantages li:nth-child(6){
        background-size: 40px 40px;
        height: 50px; 
        vertical-align: middle;
    }
    .rightHR{
        margin-top: 0;
    }
    .titleDiv{
        max-width: 100%;
        width: 100%;
    }
    .ctaContent{
        margin-left: 10px;
        align-content: end;
    }
    .ctaImg img{
        height: auto;
    }
    #cta-button{
        min-width: 150px;
        width: 150px;
    }

    .partners-slider .slick-slide img{
        width: 100px;
    }
    .partners{
        margin: 50px 0 100px;
    }
    #logoImg{
        max-width: 270px;
    }
    .header-title h1{
        font-size: 28px;
    }
    #cardsOverlay{
        background-position: top;
    }

    .ctaLeft .bolded.smaller{
        font-size: calc(var(--xxxl-font-size) - 2px);
    }
}
@media (max-width: 375px){
    :root{ 
        --lg-font-size: 10px;
    }
    .header-title h1{
        font-size: 20px;
    }
    #logoImg{
        max-width: 220px;
    }
    .ctaLeft h3{
        max-width: 100%;
    }
    .ctaLeft{
        width: 100%;
        max-width: 80%;
    }
}


/* TY page CSS*/
.ty-header{
    background-color: #fff;
    min-height: 300px;
    height: fit-content;
} 
.ty-page-wex{
    display: flex;
    justify-content: center;
    align-items: center;
}
.par-page-wex {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 50px;
}
.par-page-wex h5 {
    max-width: 70%;
}
.ty-page-wex img:first-child{ 
    max-height: 40px;
}
.ty-page-wex img{ 
    max-height: 120px;
}
.ty-page-middle{
    height: 350px;
    align-items: center;
    background-color: #EBF9FF;
    background-image: url('/img/wexFuel/sectionBG.svg');
    background-size: 20%;
    background-position: center right;
    background-repeat: no-repeat;
}
.ty-page-middle .ty-page-wex img{
    max-height: unset;
}
.ty-page-wex h2{
    font-weight: 700;
    font-size: 50px;  
    max-width: 500px;
}
.ty-header h3{
    font-weight: 400;
    font-size: 25px;   
    color: var(--color1);
    text-align: center;
    max-width: 75%;
    margin: auto;
}
.ty-page-wex span{
    color: #3cbeaa;
}
.ty-wex hr{
    color: #3cbeaa;
}
.tyAdvantages h2{
    font-weight: 700;
    font-size: var(--xxxl-font-size);
}

.tyAdvantages h5{
    font-weight: 700;
    font-size: var(--xxl-font-size);
    color: #3cbeaa;
}

.tyAdvantages h4{
    font-weight: 500;
    font-size: var(--xxl-font-size); 
    margin-bottom: 125px;
}
.tyAdvantages p{
    max-height: 50px;
    height: 50px;
    font-weight: 500;
    font-size: var(--md-font-size);
    margin-bottom: 40px;
}
.tyAdvantages .container{ 
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    background-color: #EBF9FF;
    min-height: 300px;
    width: 300px;
    margin: 0 auto;
    text-align: center;
    padding: 0 35px;
}
.tyAdvantages .justify-content-evenly{
    margin: 50px 0;
}
.tyAdvantages img{
    max-width: 100px; 
}
.wexSlideThanks{
    max-width: 85%; 
    margin: 20px auto 50px auto;
}
.intro-thanks {
    max-width: 80%;
    text-wrap: balance;
    margin: 100px auto 0 auto;
}
.wexit_q8 p {
    line-height: 1.2;
    text-wrap: balance;
    font-size: 13px;
}
.wexit_q8 .container {
    padding: 30px;
    justify-content: flex-start;
}
.wexit_q8 h5 {
    font-size: 26px;
    margin-bottom: 10px;
}
.wexit_q8 h6 {
    margin: 0 auto 30px auto;
    text-align: center;
    font-size: 18px;
    text-wrap: balance;
}
.wexit_q8 h6 span {
    font-weight: 700;
    color: #3cbeaa;
}
@media (max-width: 1024px){
    .ty-page-middle{
        background-size: 50%;
    }
    .ty-page-wex h2{
        font-size: var(--xxxl-font-size);
    }
    .container-fluid.my-5.p-5{
        padding: 0 !important;
        margin: 50px  0 !important;
    }
    .ty-header h3{
        font-size: 22px;
        max-width: 90%;
    }
    .wexSlideThanks{
        max-width: 65%;
    }
    .intro-thanks {
        font-size: 18px;
    }
}

@media (max-width: 768px){ 
    .ty-page-wex h2{
        margin: 0 auto;
        text-align: center;
        font-size: 40px;
    }
    .ty-page-middle .ty-page-wex img{
        max-height: 300px;
    }
    .tyAdvantages .container{
        min-height: 250px;
        justify-content: center;
        margin: 15px auto;
        width: 80%; 
    }
    .tyAdvantages h4{
        max-width: 80%;
        margin: 0 auto 60px;
    }
    .tyAdvantages p{
        height: unset;
    }
    .intro-thanks {
        max-width: 100%;
        font-size: 16px;
        margin: 60px auto 0 auto;
    }
    .par-page-wex {
        text-align: center;
        margin: 0 auto;
        max-width: 90%;
    }
    .par-page-wex h5 {
        max-width: 100%;
    }
}


@media (max-width: 450px){  
    .ty-page-wex h2{
        margin: 0 auto;
        text-align: center;
        font-size: 26px;
        text-wrap: balance;
    }
    .ty-page-middle{ 
        flex-direction: column;
        justify-content: center;
    }
    .ty-page-middle .ty-page-wex img{
        display: block;
        margin: auto;
        max-height: 200px;
    }
    .ty-page-wex h2{
        text-align: center;
        margin: 0;
    }
    .ty-header h3{
        font-size: 12px;
    }
    .wexSlideThanks{
        max-width: 85%;
    }
    .ty-page-middle{
        height: 250px;
    }
    .thanksCards{
        display: none !important;
    }
    .cardsMob{
        display: block !important;
        height: 150px;
    }
    .tyAdvantages h4{
        font-size: 16px;
    }
    .cta{
        background-image: none;
    }
    .ctaContent{
        margin: 0;
    }
    .ctaLeft{
        margin: 25px auto !important;
    }
    #itaBG::before{
        top: 0;
    }
}

@media (max-width: 375px){   
    .ty-page-wex h2{
        padding: 0 20px;
    }
    .tyAdvantages h2{
        padding: 0 50px;
    }
    .wexit_q8 h6 {
        font-size: 16px;
    }
}

@media (max-width: 350px){   
    .ty-header h3{
        font-size: 11px !important;
    } 
    .ty-page-wex h2 {
        font-size: 22px;
    }
    .title{
        max-width: 90%;
    }
    .ty-page-wex img {
        height: 30px !important;
    }
    .ty-page-middle .ty-page-wex img {
        height: 150px !important;
    }
}