
/* ***************************************** */
/* ***************************************** */
/* INPUT                                     */
/* ***************************************** */
/* ***************************************** */

/* FORMAT DE LA STRUCTURE DU CHAMP DE SAISIE */
/* ***************************************** */
.input_box {
    position: relative;
    label {
        position: absolute;
        top: -12px;
        left: 6px;
        margin-left: 6px;
        padding-left: 7px;
        padding-right: 10px;
        background-color: $color_blanc;
    }
    .labeltextarea {
        top: -28px;
    }

    input[type=email] {
        //padding-top: 19px;
        //padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 13px;
        background-color: $color_blanc;
        border: 2px solid $color_noir_fonce;
        outline: none;
            &:focus-visible, &:focus, &:focus-within, &:hover, &:focus, &:active, &:visited, &:target {
                background-color: $color_blanc !important;
                border: 2px solid $color_noir_fonce;
                outline: none;
            }
            &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active, &:-webkit-autofill:focus-visible, &:-webkit-autofill:focus-within, &:-webkit-autofill:visited, &:target {
                box-shadow: 0 0 0 30px white inset !important;
            }

        border-radius: 5px;
        color: $color_noir_fonce;
    }
    input,input[type=text],input[type=tel],input[type=date], textarea {
        @include media_max(phone){
            min-width: 240px;
        }
        @include media_minmax(phone,desktop){
            min-width: 250px;
        }
        @include media_min(desktop){
            min-width: 330px;
        }
        max-width: 500px;
        padding-top: 14px;
        padding-bottom: 6px;
        padding-left: 10px;
        padding-right: 8px;
        background-color: $color_blanc;
        border-radius: 5px;
        outline: none;
            &:focus-visible, &:focus, &:focus-within, &:hover, &:focus, &:active, &:visited, &:target {
                background-color: $color_blanc !important;
                border: 2px solid $color_noir_fonce;
                outline: none;
            }
            &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active, &:-webkit-autofill:focus-visible, &:-webkit-autofill:focus-within, &:-webkit-autofill:visited, &:target {
                box-shadow: 0 0 0 30px white inset !important;
            }
        
    }
    select {
        @include media_max(phone){
            min-width: 261px;
            max-width: 261px;
        }
        @include media_minmax(phone,desktop){
            min-width: 272px;
        }
        @include media_min(desktop){
            min-width: 350px;
        }
        max-width: 500px;

        padding-top: 14px;
        padding-bottom: 6px;
        padding-left: 10px;
        padding-right: 8px;
        background-color: $color_blanc;
        border-radius: 5px;
        outline: none;
            &:focus-visible, &:focus, &:focus-within, &:hover, &:focus, &:active, &:visited, &:target {
                background-color: $color_blanc !important;
                border: 2px solid $color_noir_fonce;
                outline: none;
            }
            &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active, &:-webkit-autofill:focus-visible, &:-webkit-autofill:focus-within, &:-webkit-autofill:visited, &:target {
                box-shadow: 0 0 0 30px white inset !important;
            }
        
    }

}
.input_box_gris {
    label {
        color: $color_gris_fonce;
    }
    input,input[type=text],input[type=tel],input[type=date], select, textarea {
        border: 1.8px solid $color_gris_fonce;
    }
}
.input_box_bleu {
    label {
        color: $color_bleu_clair;
    }
    input,input[type=text],input[type=tel],input[type=date], select, textarea {
        border: 1.8px solid $color_bleu_fonce_1;
    }
}
.input_box_rouge {
    label {
        color: $color_rouge;
    }
    input,input[type=text],input[type=tel],input[type=date], select, textarea {
        border: 1.8px solid $color_rouge;
    }
}

.input_box_green {
    label {
        color: $color_green;
    }
    input,input[type=text],input[type=tel],input[type=date], select, textarea {
        border: 1.8px solid $color_green;
    }
}


/* FORMAT DU CONTENUE DU CHAMP DE SAISIE */
/* ***************************************** */

.input_email {

    margin-bottom: 11px;
    
    input[type="email"],input[type=text] {
       
        @include media_max(phone){
            min-width: 240px;
        }
        @include media_min(phone){
            min-width: 330px;
        }
        max-width: 500px;
        font-family: montserrat_light;
        font-size: 15px;
        @include media_max(phone){
            font-size: 12px;
        }
        
        &::placeholder {
            font-family: cabin_italic;
            font-size: 12px;
            color: $color_gris_clair;
        }
    }
}

.input_identifiant {

    margin-bottom: 11px;
    
    .inputbox_identifiant {
       
        @include media_max(phone){
            min-width: 240px;
        }
        @include media_min(phone){
            min-width: 330px;
        }
        max-width: 500px;
        padding-top: 19px !important;
        padding-bottom: 16px !important;
        padding-left: 16px !important;
        padding-right: 13px !important;
        background-color: $color_blanc !important;
        border: 2px solid $color_noir_fonce !important;
        outline: none;
            &:focus-visible, &:focus, &:focus-within, &:hover, &:focus, &:active, &:visited, &:target {
                background-color: $color_blanc !important;
                border: 2px solid $color_noir_fonce;
                outline: none;
            }
            &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active, &:-webkit-autofill:focus-visible, &:-webkit-autofill:focus-within, &:-webkit-autofill:visited, &:target {
                box-shadow: 0 0 0 30px white inset !important;
            }
        color: $color_noir_fonce;
        @include media_max(phone){
            font-size: 12px;
        }
        
        &::placeholder {
            font-family: cabin_italic;
            font-size: 12px;
            color: $color_gris_clair;
        }
    }
}

.input_text {
    label {
        font-size: 14px;
        @include media_max(phone){
            font-size: 13px;
        }
    }
    input,input[type=text],input[type=tel],input[type=date], select, textarea {
        // appearance: initial;
        font-family: cabin_regular;
        font-size: 14px;
        @include media_max(phone){
            font-size: 13px;
        }
        color: $color_noir_clair;
        &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active, &:-webkit-autofill:focus-visible, &:-webkit-autofill:focus-within, &:-webkit-autofill:visited, &:target {
            -webkit-text-fill-color: $color_noir_clair;
        }
        &::placeholder {
            font-family: cabin_italic;
            font-size: 12px;
            color: $color_gris_clair;
        }
    }
}

.uppercase {
    text-transform: uppercase;
}
.capitalize {
    text-transform: capitalize;
}

/* ***************************************** */
/* ***************************************** */
/* CHECKBOX                                     */
/* ***************************************** */
/* ***************************************** */

// ROUGE
.input_checkbox {
    //max-width: 300px;

    label {
        margin-left: 5px;
        font-size: 14px;
        @include media_max(phone){
            font-size: 13px;
        }
        color: $color_gris_fonce;
    }
    input[type="checkbox"] {
        appearance: none;
        width: 17px;
        height: 17px;
        margin: 0;
        transform: translateY(3.9px);
        border: 0.15em solid $color_rouge;
        border-radius: 3px;
        font: inherit;
        &:checked {
            background-color: $color_rouge;
        }
      }
}

// NOIR
.input_checkbox_bleu {

    input[type="checkbox"] {
        
        border: 0.15em solid $color_bleu !important;
        &:checked {
            background-color: $color_bleu !important;
        }
        
      }
}

.input_checkbox_green {

    input[type="checkbox"] {
        
        border: 0.15em solid $color_green !important;
        &:checked {
            background-color: $color_green !important;
        }
        
      }
}


/* ***************************************** */
/* ***************************************** */
/* BUTTONS                                     */
/* ***************************************** */
/* ***************************************** */

.button_icone {
    appearance: none;
    width: 170px;
    height: 60px;
    margin: 0;
    box-shadow: -10px 16px 24px -18px rgb(0 0 0 / 60%);
    border: none;
    border-radius: 28px;
    font: inherit;
    background-color: $color_rouge;
    color: $color_blanc;
    .btn_icone {
        font-family: montserrat_regular;
        font-size: 36px;
    }
    .btn_texte {
        display: inline-block;
        transform: translateY(-7px);
        padding-left: 10px;
        font-size: 17px;
    }

}

.button_text {
    appearance: none;
    width: 100px;
    height: 35px;
    margin: 0;
    box-shadow: -10px 16px 24px -18px rgb(0 0 0 / 60%);
    border: none;
    border-radius: 20px;
    font: inherit;
    background-color: $color_rouge;
    color: $color_blanc;
    font-size: 15px;
}

.button_sansicone {
    .btn_texte {
        transform: translateY(0px);
        padding-left: 00px;
    }

}


.text_listeatt{
    font-size: 12px;
    text-decoration: underline;
}