
/* 
    Created on : 24/05/24
    Author     : Nessen
*/
@import url('/assets/global/css/fonts/toyotatype.css');


body{
    line-height: 1;
    font-family: 'Toyota Type', helvetica, sans-serif;
    background:#fff;
    font-style: normal;
    background-color:#fff;
}
a:hover, a:focus {
    color: #ff0022;
    text-decoration: none;
}
a {
    color: #9d9da0;
    text-decoration: underline;
}
.desktop {
    display:block;
}
.responsive {
    display:none;
}
/****** HEADER *******/
header{
    margin-bottom: 10px;
}
.lfthead {
    text-align:left;
}
.logo{
    display: flex
}
.logo img {
    padding: 40px 25px 20px 0;
    width: 95%;
    max-width: 828px;
}

.logo-recap img {
    padding:30px 25px 15px 0;
    width: 10%
}
.txt-logo{
    font-size: 25px;
    text-transform: uppercase;
    padding-top: 20px;
    line-height: 1.1
}
.rgthead {
    text-align:right;
}

.bloc-formulaire{
    margin-top:124px;
}

/****** CONTENT *******/
.main {
    background-image: url('/assets/toyota/2025-04-toyota_yaris_mailing/img/bg.jpg');
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 800px;
}
.offre {
    margin-top:125px;
}
.title {
    margin-bottom:15px;
}
.subtitle {
    color:#fff;
    font-size:28px;
    line-height:1.3;
    padding-left: 0;
}
.modele{
    color:#fff;
    font-size:2.75em;
    margin-bottom:5px;
    padding-left: 0;
    padding-top: 30px;
    text-transform: uppercase;
}
.sous-offre img{
    width: 65%;
    padding-top: 30px;
}
.accroche{
    text-transform: uppercase;
    font-size: 33px;
    color: #ffffff;
    padding-top: 30px
}
.produit{
    position: relative;
    right: 70px;
    padding-top: 30px
}


/******FORM******/
.poptxt {
    background: #FFFFFF;
    padding: 20px 15px;
    text-align: center;
    font-size: 1em;
    color: #282830;
    box-shadow: 2px 2px 2ch 2px rgba(0, 0, 0, 0.15);
    margin-top: 13px;
    margin-bottom: 20px;
}
.poptxt2 {
    padding:0 15px;
    text-align:center;
    font-size:1em;
    color:#282830;
    margin-bottom: 20px
}
.poptxt span{
    color:#ff0022;
    font-weight:bold;
}

.form-content{    
    padding: 10px 0 20px;
    margin-top: 13px;
    margin-bottom: 20px;
    position: fixed;
    z-index: 999;
    margin-right: 50px;
    width: 22%;    
}
input#adresse.form-control:disabled{
    height: 36px;
    color: #999;
    padding-left: 15px
}
.form-group{
    margin-bottom: 0.5rem;
}

.auto_adresse .form-group {
    margin-bottom:0;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 0;
    margin-bottom: -1px;
    background-color:transparent;
    border: none;
    border-bottom:1px solid #eee;
    color:#282830;
}

.form-control{
    background-color: #eaeaeb;
    border-radius: 0;
    border: none;
    color: #495057;
}

.btn-offre.btn{
    width: 100%;
    margin: 5px 0 0 0;
    padding: 15px 0;
    border-radius: 0;
    background-color: #ff0022;
    font-weight: 600;
    font-size: 1.2em;
    color: #fff;
    text-transform: uppercase
}

.btn-offre.btn:hover{
    background-color: #282830;
}

.btn-modif {
    padding:5px 30px;
    border-radius:0;
    background-color:#adadb0;
    text-transform:uppercase;
    font-size:0.9em;
    color:#fff;
}
#telephoneError, #generalError {
    font-size: 0.8em;
    margin: auto;
    margin-bottom:3px;
    margin-top:3px;
    width:91%;
}
#retour {
    border:none;
    background: transparent;
    margin-bottom:10px;
    color:#282830;
}
#suivant {
    width: 91%;
    margin: 0px 0;
    padding: 15px 0 20px;
    border-radius: 0;
    background-color: #ff0022;
    font-size: 20px;
    color: #fff;
    border: none;
    text-transform: uppercase;
}
#suivant:focus {
    outline:transparent;
}
.btn-participer2 {
    width:100%;
    margin:0px 0;
    padding:15px 0;
    border-radius:0;
    background-color:#ff0022;
    font-size:1.5em;
    color:#fff;
}
.btn-participer2:hover {
    color: #fff;
    background-color:#282830;
}
.btn-success{
    border: none ;
}

.btn-essai{
    background-color:#282830;
}

.popin-bloc .form-control {
    border-radius:0;
    border:none;
    -webkit-box-shadow:none;
    box-shadow:none;
    color:#282830;
}
.form-control::placeholder {
    color:#999;
}
.dropdown-toggle.bs-placeholder {
    opacity:1;
}

.popin-bloc .auto_adresse .form-control, .popin-bloc  .disabled  {
    background-color:#282830;
}
.popin-bloc .auto_adresse .form-control:hover {
    background-color:#eeeded;
}
.btn-default.disabled:hover {
    background:#eeeded;
    opacity: 1;
}
.popin-bloc .disabled:hover {
    background-color: #eeeded;
}
.form-control.disabled {
    background:#282830!important;
}
.form-control.disabled:hover {
    background:#eeeded!important;
}
.form-control.disabled
.popin-bloc input#adresse.form-control:hover {
    background-color: #eeeded;
}
input#adresse.form-control:not(disabled){
    background: #eeeded;
    height: 36px;
    color: #999;
    padding-left: 15px
}

.relax{
    text-align: center;
    margin-top: 70px;
}

.relax img{
    width: 75%;
}
/****line1****/

.mentions {
    margin: 0;
    font-size: 0.7em;
    font-weight: 300;
    line-height: 1.2;
    color: #282830;
    text-align: justify;
    font-family: 'Toyota Type Book', sans-serif ;
    padding: 15px 15px 0px 15px;
}

.btn-participer2{
    margin: auto;
    text-align: center;
    width: 35%;
    height: 60px;
    background-color: #ff0022;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    border: none;
    margin-top: 50px;
    margin-bottom: 20px;
    text-decoration: none;
    text-transform: uppercase;

}
.btn-participer2:focus{
    outline:transparent;

}
.line1{
    margin-top: 80px;
    padding-bottom: 20px;
}

.line1 h4{
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.4;
    color: #006e7e;
    text-align: center;
    font-family: 'Toyota Type', sans-serif ;
}

/****line2****/

.line2{
    margin-top: 60px;
    padding-bottom: 0px;
}
.line2 img{
    width: 100%;
    margin-top: 25px;
}

.title-concours{
    text-align: center;
    padding:25px;
    margin:35px 0;
    border:5px solid #dba240;
    font-size:1.4em;
    line-height: 1.4;
    text-transform:uppercase;
}

h2{
    font-size: 34px;
    color: #282830;
    margin:15px 0;
    font-weight:bold;
    text-align: left;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h3{
    font-size: 24px;
    color: #282830;
    margin: 20px 0;
    text-align: left;
    font-weight: 600;
}

.txt img{
    width: 100%;
}

p{
    text-align: left;
    font-size: 16px;
    line-height: initial;
    color: #282830;
    font-weight: 300;
}

.line3{
    margin-top: 55px;
    margin-bottom: 40px;
}
.line3 img{
    width: 100%;
}

.bouton{
    text-align: center;
}
.bouton button {
    margin:auto;
}

/*recap*/
.recap .left-content {
    padding-right:0!important;
    padding-left:0!important;
}
#recap{
    text-align: left
}


.line3 {
    padding:25px
}
.line3 .hashtag {
    text-align: center;
    font-size:1.0em;
    line-height: 1.4;
    font-weight:400;
    margin-bottom:25px;
}
.polluscore {
    padding-top: 60px;

    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.4;
    color: #9d9da0;
    text-align: justify;
}
.polluscore img {
    width:170px;
}

.row_flex{
    align-items: center;
}

/****** FOOTER *******/
footer {
    margin-top:0;
    background:#282830;
}
footer .ml {
    margin: 0;
    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.4;
    color: #9d9da0;
    text-align: justify;
    font-family: 'Toyota Type Book', sans-serif ;
    padding: 50px 0 50px 0;
}

.ml span{
    font-family: 'Toyota Type Semibold', sans-serif;
}
.ml b{
    font-weight: bold
}


@media (min-width: 2000px) {
    .main {
        background-position: bottom center;
    }
}

@media (max-width: 1199px) {

    .main{
        background-position: right 50% center;
    }
    .accroche{
        padding-top: 15px;
        font-size: 27px;
    }
    .sous-offre img{
        width: 86%;
        padding-top: 20px;
    }
    .bloc-formulaire{
        margin-top:120px;
    }


}


@media (max-width: 991px) {
    .desktop {
        display:none;
    }
    .responsive {
        display:block;
    }
    .remerciement{
        display: none
    }
    #suivant {
        width: 96%;
    }
    .left-content{
        padding-right: 0;
        padding-left:0;
        padding-bottom: 0;
    }
    .offre {
        margin-top:0;
    }
    .offre.responsive img {
        width:100%;
    }
    .bloc-formulaire{
        margin-top:0;
    }
    .gazoo-centers img {
        margin-bottom:15px;
    }
    .line1 .visuel {
        text-align: center;
    }
    .line1 .visuel img {
        width: 100%;
    }
    .computer{
        min-height: 0px
    }
    select#concession.form-control{
        margin: 0;
    }
    .btn-participer2{
        width: 100%;
    }
    .title{
        margin-top: 0;
        margin-bottom:0;
    }

    .modele{
        font-size: 3em
    }
    .main{
        background-color: #fff;
        background-image: none;
        min-height: auto;
    }
    .txt{
        font-size: 16px;
    }
    .txt span{
        font-size: 21px
    }
    .line3 .polluscores img {
        width: 45%;
    }
    .margleft {
        margin-left: 0px;
    }
    .padtop {
        padding-top: 20px;
    }
    .padbottom {
        padding-bottom: 0px;
    }

    .form-content{
        margin-top: 0;
        margin-bottom: 0;
        background: rgba(255, 255, 255, 1);
        padding: 20px;
        position: relative;
        z-index: 999;
        margin-right: 0;
        width: 100%;
        box-shadow: none;
    }

    h2{
        font-size: 28px;
    }

    footer .ml{
        padding-top: 16px !important;
    }


}
@media (max-width: 780px) {
    .main {
        background-image: none;
    }
    .sous-offre, .car{
        display: none
    }

    header {
        margin-bottom: 0;
    }
    .logo img {
        padding: 15px 15px 15px 0;
        width: 60px;
    }
    .details {
        margin-bottom:45px;
    }

    .btn-participer3{
        width: 100%;
        margin: 0px 0;
    }

    .title{
        margin-top: 0
    }

    .line2.first{
        margin-top: 20px
    }
    .left-content{
        padding-bottom: 0px
    }
    .txt img{
        width: 50%
    }
    .txt{
        font-size: 22px;
    }
    .txt span{
        font-size: 28px
    }
    .polluscore img {
        width:35%;
    }
}


@media (max-width: 500px) {
    .title-description h2{
        font-size: 22px
    }
    .txt{
        font-size: 16px;
    }
    .txt span{
        font-size: 21px
    }
    .txt .golden{
        font-size: 16px
    }

    .main {

        min-height: 300px;
    }


}
@media (max-width: 360px) {

    .title {
        font-size:0.5em;
    }

    .polluscore img {
        width:35%;
    }

}

.d-none {
    display: none !important;
}

.container.mobile{
    max-width:600px;
    padding:0;
}

.mobile .offer{
    position:relative;
    text-align: center
}

.mobile .btn-participer-mobile {
    width: 80%;
    background: #ff0022;
    border: 0;
    padding: 16px;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.15em;
    border-radius:0;
    margin:0 auto;

}
.mobile .sub-cta {
    color:#eff0f0;
    font-family: 'Toyota Type Book', sans-serif;
    font-weight: normal;
    font-size:0.80em;
    padding:5px 30px;
    line-height: 1.2;
}

.mobile .cta{
    position:absolute;
    bottom:10px;
    width:100%;
    z-index:10
}


/**Animation popin**/
.t-overlay{
    position:absolute;
    z-index:5;
    bottom:0;
    top:0;
    right:0;
    left:0;
    background:rgba(0,0,0,0.7)
}
.pop-validation{
    display:none;
    background-color:#fff;
    padding:1em;
    position:absolute;
    border-radius:8px;
    width:90%;
    left:5%;
    bottom:140px;
    text-align:center;
}
.pop-validation img{
    margin:0 auto 10px auto;
    width:20%
}
.pop-validation p{
    font-size:1.0em;
}
/*.pop-validation p strong{
    font-size:.76em
}*/

/* ----------------------------------------------
 * Generated by Animista on 2020-6-11 9:46:21
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation bounce-top
 * ----------------------------------------
 */
@-webkit-keyframes bounce-top {
    0% {
        -webkit-transform: translateY(-45px);
        transform: translateY(-45px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    40% {
        -webkit-transform: translateY(-24px);
        transform: translateY(-24px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    65% {
        -webkit-transform: translateY(-12px);
        transform: translateY(-12px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    82% {
        -webkit-transform: translateY(-6px);
        transform: translateY(-6px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    93% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    25%,
    55%,
    75%,
    87% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}
@keyframes bounce-top {
    0% {
        -webkit-transform: translateY(-45px);
        transform: translateY(-45px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 1;
    }
    24% {
        opacity: 1;
    }
    40% {
        -webkit-transform: translateY(-24px);
        transform: translateY(-24px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    65% {
        -webkit-transform: translateY(-12px);
        transform: translateY(-12px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    82% {
        -webkit-transform: translateY(-6px);
        transform: translateY(-6px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    93% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    25%,
    55%,
    75%,
    87% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    100% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }
}

.bounce-top {
    -webkit-animation: bounce-top 2s ease-in-out infinite alternate both;
    animation: bounce-top 2s ease-in-out infinite alternate both;
}

.triangle-code{
    display : inline-block;
    height : 0;
    width : 0;
    border-top : 20px solid #fff;
    border-right : 20px solid transparent;
    border-left : 20px solid transparent;
    position:absolute;
    bottom:-12px;
    left:calc(50% - 15px)
}
/* Styles pour les messages d'erreur */
.error-message {
    color: #D8000C; /* Couleur du texte */
    background-color: #FFD2D2; /* Couleur de fond */
    border: 1px solid #D8000C; /* Bordure */
    padding: 10px; /* Espacement interne */
    margin-bottom: 20px; /* Marge extérieure en bas */
    border-radius: 5px; /* Arrondissement des coins */
    display: none; /* Caché par défaut */
    font-size: 14px; /* Taille de police */
}
#bloc-form {
    display: none;
}


@media (min-width: 1600px) {
    .form-content {
        width: 20%;
      }
      .sub-form {padding:0 30px;width:100%;}
}