html{
    font-size: 62.5%;
}
body{
    font-family:'Montserrat', 'Arial', sans-serif;
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight:300;
    padding: 0;
    /*color: #ffffff;*/
    background-color: #ffffff;

}
main{
    background-color: #ffffff;

}
.img-responsive{display:inline-block;}

header{
    padding: 2rem 0;
    position: relative;
    background: #ffffff url(img/mrt-occitanie-min.jpg) no-repeat top center / cover;
    min-height: 60vh;
}
header .img-title{
    width:25rem;
    /*margin-bottom: 4rem;*/
}
header h1{
    font-size: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
}
header p.intro{
    text-transform: uppercase;
    font-weight: 700;
    color:#c8985a;
    font-size: 30px;
    line-height:30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    /*text-shadow: #301133 1px 0 10px;*/
}
.linear-gradient-bottom-to-top::before{
    content: "";
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    background: linear-gradient(0deg,#ffffff,rgba(249,243,235,0) 33%);
}
.title{
    margin-top:20rem;
}
h1{
    font-size:5.6rem;
    color:#000000;
    font-weight:700;
    text-align: center;
    margin-top:0;
    text-transform: uppercase;
}
h2{
    font-size:4.4rem;
    color:#d02a4c;
    font-weight:700;
    text-align: center;
}
h3{
    font-size:2.9rem;
    color:#000000;
    text-align:left;
    font-weight:600;
    margin-bottom: 3.5rem;
    padding-left:1.8rem;
}
footer{
    padding: 8rem 0 9rem;
    background-color:#f5f5f5;
}
footer p{
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #000000;
    text-align: justify;
}
footer p a, footer p a:hover, footer p a:focus, footer p a:active{
    color: white;
}
.pseudo-header{
    margin-bottom: 5rem;

}
.pseudo-header img{
    width: 150px;
}

section#form {
    transform: translateY(-10%);

}
section#form .container >.row{
    padding: 4rem 2.5rem;
    background-color: #f5f5f5;
    border-radius: 1rem;
    margin:0;
}
section#form h2{
    margin: 0 0 1.5rem 0;
    text-align: center;
    /*font-size: 3rem;*/
    font-weight: 700;
}
.form-group{
    margin-bottom: 0rem;
}
form span.wpcf7-list-item{
    margin: 0;
}
form .selection-content{
    background-color:white;
    border-radius: 2rem;
    padding:2.5rem 2rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
}
.form-fields .form-group p{
    margin-bottom: 15px;
}
.selection-content .form-group:nth-child(2){
    padding-left:1.5rem;
}
/*.form-fields .form-group:nth-child(odd){*/
/*    padding-right:0;*/
/*    padding-left:0;*/
/*}*/
/*.form-fields .form-group:nth-child(even){*/
/*    padding-left:0;*/
/*    padding-right:0;*/
/*}*/
form .selection-content .form-group{
    margin-bottom:0;
}
form .selection-content .form-group p{
    margin-bottom: 0;
}
form .selection-content .wpcf7-checkbox{
    display: flex;
    flex-direction : column;
    text-align:left;
}
form .selection-content .wpcf7-checkbox .wpcf7-list-item{
    margin: 0.5rem 0;
}
form input.form-control{
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    color: #000000;
    border-radius: 5rem;
    border:none;
    box-shadow: none;
}
form input.form-control::placeholder{
    color: #000000;
    font-weight: 400;
}
.commercial-offers{
    text-align:left;
    padding-left:0;
}
.commercial-offers .form-group{
    margin-bottom:0;
}
.commercial-offers .form-group .wpcf7-list-item-label{
    font-size:1.6rem;
    font-weight:400;
}
.input-lg{
    padding: 30px 30px;
}
form input[type="checkbox"] + span{
    font-family: 'Roboto', 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #000000;
    font-weight: 600;

}
form input[type="checkbox"]{
    accent-color: #d02a4c;
    height:20px;
    width:20px;
}
form input[type="submit"]{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 50px;
    border: 0;
    background-color: #d02a4c;
    padding: 2rem 4rem;
    color: #ffffff;
    font-weight: 500;
    margin-top:3rem;
}
form input[type="submit"]:hover,
form input[type="submit"]:focus{
    background-color: #d02a4c;
}
.wpcf7-form-control-wrap{
    width:100%;
}
.selection-date{
    margin-bottom: 2rem;
}
form input[type="date"]{
    font-family: Roboto, sans-serif;
    color: #000000;
width:100%;
    font-weight:400;
    font-size:1.8rem;
    height: 60px;
    border: none;
    border-radius: 5rem;
    padding: 0px 30px;
}
form input{
    border: 1px solid #dddddd !important;
}
form textarea{
    font-family: Roboto, sans-serif;
    color: #000000;
    font-size:1.8rem;
    resize:none;
    width:100%;
    padding:1rem;
    border-radius:1rem;
    border: 1px solid #dddddd;
}
.wpcf7-mail-sent-ok{
    color: #398f14;
    font-weight: 500;
}
div.wpcf7-validation-errors{
    color: #f00;
    font-weight: 500;
    border-color: #f00;
}
.wpcf7-spinner{
    display: none;
}
.wpcf7-list-item-label{
    font-weight:400;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: black;
}
.success{
    display: none;
    flex-direction: column;
}
.success img{
    max-width: 10rem;
    margin: 0 auto;
    margin-bottom:3rem;
}

@media (max-width: 991px){
    form input[type="submit"]{
        padding: 2rem 5rem;
    }
    /*header{*/
    /*    background: #796155 url(img/header-mipim-min.jpg) no-repeat center center / cover;*/
    /*}*/
}
@media (min-width:2000px){
    /*header{*/
    /*    background: #796155 url(img/header-mipim-bordered-min.jpg) no-repeat center center / contain;*/
    /*}*/
}
@media (min-width:768px) {
    header {
        padding: 3rem 0;
    }
    header .img-title{
        /*margin-bottom: 6rem;*/
    }
    header h1{
        font-size: 4rem;
    }
    header p.intro{
        font-size: 2rem;
        line-height: 2.4rem;
    }
    section#form .container{
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }
    /*.form-fields .form-group:nth-child(odd){*/
    /*    padding-right:0.5rem;*/
    /*    padding-left:1.5rem;*/
    /*}*/
    /*.form-fields .form-group:nth-child(even){*/
    /*    padding-left:0.5rem;*/
    /*    padding-right:1.5rem;*/
    /*}*/
    .selection-content .form-group:nth-child(2){
        padding-left:4rem;
    }
}

@media (min-width:992px) {
    header {
        padding: 4rem 0;
    }
    header .img-title{
        /*margin-bottom: 8rem;*/
    }
    header h1{
        font-size: 5rem;
    }
    header p.intro{
        font-size: 3rem;
        line-height: 3.4rem;
    }
}

@media (min-width:1200px) {
    header {
        padding: 4rem 0;
    }
    header .img-title{
        /*margin-bottom: 12rem;*/
    }
    header h1{
        font-size: 6rem;
    }
}
@media (max-width:400px){
    .btn-lg{
        font-size:15px;
    }
}
