/* GENERAL */

body{
    font-family: 'brandon-grotesque', sans-serif !important;
    margin: 0 !important;
    background: #e9eff6 !important;
    font-size: 20px !important;
}

/* GRID */

.container{
    max-width: 800px !important;
    width: 90% !important;
    margin: 0 auto !important;
    position: relative !important;
}

.df{
    display: flex;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.dffs{
    display: flex;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.centerAlign {
    text-align: center !important;
}

.dateCheque {
    display: inline-flex;
    width: 100%;
}

.col-12{width: 100% !important;}
.col-10{width: calc(83.3333333% - 45px) !important;}
.col-9{width: calc(75% - 45px) !important;}
.col-8{width: calc(66.666666% - 45px) !important;}
.col-6{width: calc(50% - 45px) !important;}
.col-4{width: calc(33.333333% - 45px) !important;}
.col-3{width: calc(25% - 45px) !important;}
.col-2{width: calc(16.6666667% - 45px) !important;}

h1{
    font-size: 34px  !important;
    line-height: 46px  !important;
}

h2{
    color: #285EA9  !important;
    margin-top: 0  !important;
    font-size: 34px  !important;
    line-height: 38px  !important;
}

h3{
    margin-bottom: 10px  !important;
    font-size: 26px  !important;
    color: #2d2d2d  !important;
    line-height: 30px  !important;
    font-weight: 600  !important;
}

h4{
    margin-top: 0  !important;
    font-size: 20px  !important;

}

/* WYSIWYG */

.wysiwyg a{
    color: black !important;
    font-weight: 600 !important;
    transition: .3s ease !important;
}

.wysiwyg a:hover{
    color: #285EA9 !important;
    transition: .3s ease !important;
}

/* FORM */

.formField{
    margin-bottom: 15px !important;
}


input{
    border-radius: 30px !important;
    height: 50px !important;
    background: white !important;
    padding: 0 20px !important;
    box-shadow: none !important;
    font-family: 'brandon-grotesque', sans-serif !important;
    font-size: 20px !important;
    border: none !important;
}

textarea{
    border-radius: 30px !important;
    height: 150px !important;
    background: white !important;
    padding: 20px !important;
    box-shadow: none !important;
    font-family: 'brandon-grotesque', sans-serif !important;
    border: none !important;
    min-width: calc(100% - 40px) !important;
    font-size: 20px !important;
    min-height: 50px !important;
}

.selectContainer{
    position: relative !important;
}

.selectContainer .arrow{
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 30px !important;
    background: white !important;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: none !important;
}

.selectContainer .arrow svg{
    width: 10px !important;
}

.selectContainer.col-6{
    width: calc(50% - 5px) !important;
}

select{
    display: inline-block;
    font-family: 'brandon-grotesque', sans-serif !important;
    height: 50px !important;
    outline: none !important;
    border: none !important;
    border-radius: 30px !important;
    box-shadow: none !important;
    font-size: 20px !important;
    background: white !important;
    padding: 0 20px !important;
    width: 100% !important;
}

/* CHECKBOX */

/* Cachons la case à cocher */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute !important;
    left: -9999px !important;
}

/* on prépare le label */
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    position: relative !important; /* permet de positionner les pseudo-éléments */
    padding-left: 30px !important; /* fait un peu d'espace pour notre case à venir */
    cursor: pointer !important;    /* affiche un curseur adapté */
    font-size: 20px !important;
    margin-bottom: 30px !important;
    max-width: 600px !important;
    color: black !important;
    font-family: 'brandon-grotesque', sans-serif !important;
}

/* Aspect des checkboxes */
/* :before sert à créer la case à cocher */
[type="checkbox"]:not(:checked) + label:before{
    content: '' !important;
    position: absolute !important;
    left:1px !important; top: 6px !important;
    width: 17px !important; height: 17px !important; /* dim. de la case */
    transition: .3s ease !important;
    background: white !important;

}

[type="checkbox"]:checked + label:before {
    content: '' !important;
    position: absolute !important;
    left:1px !important; top: 6px !important;
    width: 17px !important; height: 17px !important; /* dim. de la case */
    transition: .3s ease !important;
    background: #285EA9 !important;

}

/* Aspect si "pas cochée" */
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0 !important; /* coche invisible */
    transform: scale(0) !important; /* mise à l'échelle à 0 */
}
/* Aspect si "cochée" */
[type="checkbox"]:checked + label:after {
    opacity: 1 !important; /* coche opaque */
    transform: scale(1) !important; /* mise à l'échelle 1:1 */
}

/* aspect désactivée */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none !important;
    border-color: #bbb !important;
}

/* styles de la coche (si cochée/désactivée) */
[type="checkbox"]:disabled:checked + label:after {
    color: black !important;
}

/* on style aussi le label quand désactivé */
[type="checkbox"]:disabled + label {
    color: black !important;
}



/* CUSTOM RADIO */

.radio .formField{
    position: relative !important;
}

input[type='radio'] + label{
    background: white !important;
    cursor: pointer !important;
    border-radius: 30px !important;
    padding: 0px 20px !important;
    box-shadow: none !important;
    font-family: 'brandon-grotesque', sans-serif !important;
    border: none !important;
    transition: .3s ease !important;
    line-height: 47px !important;
    display: inline-block;
    margin-right: 15px !important;
}

input[type='radio']:checked + label{
    background: #285EA9 !important;
    color: white !important;
    transition: .3s ease !important;
}

input[type="radio"] {
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
}

input[type=submit]{
    background:#ce382a !important;
    min-width: 200px !important;
    color: white !important;
    margin: 0 auto 50px !important;
    opacity: 1 !important;
    font-size: 20px !important;
    transition: .3s ease !important;
    cursor: pointer !important;
}

input[type=submit]:hover{
    opacity: .7 !important;
    transition: .3s ease !important;
}

/* HEADER */

header .top{
    padding: 5px 0 !important;
}

header .top a{
    color: black !important;
    text-decoration: none !important;
}

header .headerContent{
    background: #285EA9 !important;
    padding: 60px 0 40px !important;
    text-align: center !important;
    color: white !important;
    position: relative !important;
}

.headerContent h1{
    position: relative !important;
    z-index: 1 !important;
}

.headerContent .header-bgImg{
    position: absolute !important;
    top: -60px !important;
    left: 0 !important;
    width: calc(50% + 50vw) !important;
    height: calc(100% + 124px)  !important;
    object-fit: cover !important;
    opacity: .7 !important;
}

#dizajn {
    position: absolute !important;
    right: 40% !important;
    top: -60px !important;
    bottom: 0 !important;
    height: calc(100% + 124px)  !important;
}

@media (max-width: 1199px) {
    #dizajn {
        right: 25% !important;
    }
}
@media (max-width: 991px) {
    #dizajn {
        right: 10% !important;
    }
}
@media (max-width: 575px) {
    #dizajn {
        display: none
    }
}

.headerContent .logo{
    width: 200px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 1 !important;
}

/* MAIN */

main .intro{
    padding-top: 50px !important;
}

main .form{
    padding-top: 30px !important;
}

