/* CSS POUR LE DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
    padding: 10px 0;
}

/* Le bouton pour ouvrir le dropdown */
.dropbtn {
    background-color: transparent;
    color: white;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0 10px;
    align-items: center;
}

.dropbtn:hover {
    color: #dddddd;
}

.dropbtn i {
    margin-left: 10px;
    color: white;
    font-size: 12px;
}

/* Le conteneur pour les items du dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    /* background-color: #f9f9f9; */
    min-width: 185px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 101;
    margin-top: 5px;
}

/* Style pour les liens dans le dropdown */
.dropdown-content a {
    color: white;
    text-decoration: none;
    display: block;
    background-color: #000B20;
    font-size: 14px;
    padding: 10px;
    border-bottom: 1px solid #5C5C5C;
}

.dropdown-content a:last-child {
    border: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Change la couleur des liens lors du survol */
.dropdown-content a:hover {background-color: #000}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}
@media (max-width: 992px) {
    .dropdown-content {
        position: initial;
        min-width: initial;
    }

    .dropbtn {
        padding: 0;
    }
}

select {
    -webkit-appearance: none; /* WebKit browsers */
    -moz-appearance: none;    /* Firefox browsers */
    appearance: none;         /* default styling */
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1px center;
    background-size: 20px 20px;
    padding-right: 15px; 
}

/* Fleche select */
header select,
footer select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
}


/* Breadcrumb */
.breadcrumb-page {
    padding: 10px;
    background-color: #F5F5F5;
}
.breadcrumb-page > div {
    display: flex;
    align-items: center;
    width: auto;
    max-width: var(--max-width);
    margin: 0 auto;
}

.breadcrumb-page a {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-page a::after {
    content: "/";
    font-size: 14px;
    margin: 0 5px;
}

.breadcrumb-page a:hover {
    color: #5C5C5C;
}

.breadcrumb-page p {
    margin: 0;
    color: #5C5C5C;
    font-size: 14px;
}

/* balises */
h1 {
    font-size: 27px;
    margin: 0;
}

/* Classes */
.required::after {
    content: "*";
    color: red;
    margin-left: 3px;
}

/* Formulaire sous forme : form ul li */

.form ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.form ul li {
    display: grid;
    margin-bottom: 10px;
}

.form ul li input,
.form ul li select,
.form ul li textarea {
    padding: 5px;
    background-color: transparent;
    border: 1px solid #B0B0B0;
    border-radius: 5px;
    resize: vertical;
    font-size: 15px;
}

.form ul li select {
    padding: 8px;
    width: 100%;
}

.form ul li input[type='file'] {
    width: 100%;
    box-sizing: border-box;
}

.form ul li input:not(input[type="file"]):disabled,
.form ul li textarea:not(input[type="file"]):disabled,
.form ul li select:not(input[type="file"]):disabled,
.form ul li input:not(input[type="file"]):read-only,
.form ul li textarea:not(input[type="file"]):read-only {
    background-color: #F2F2F2;
}

.form ul li input::file-selector-button {
    font-family: inherit;
    cursor: pointer;
    padding: 0 10px;
    background-color: #000B20;
    border: 1px solid #000B20;
    color: white;
    border-radius: 5px;
}

.form ul li#radio,
.form ul li#checkbox {
    display: flex;
    align-items: center;
}

.form ul li#radio input {
    margin: 0 5px;
}

.form ul li#submit button {
    padding: 7px 31px;
    width: fit-content;
    background-color: #75151E;
    color: white;
    border: 1px solid #75151E;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

.form ul li#submit button:not(:disabled):hover {
    background-color: #82151e;
    border-color: #82151e;
}

.form ul li#submit button:disabled {
    background-color: #9D9D9D;
    border-color: #9D9D9D;
    cursor: default;
}

.form ul .form-step {
    border-bottom: 1px solid #CCCCCC;
}

.form ul .endFormText p {
    font-size: 12px;
} 

.form ul li #field-indication {
    font-size: 12px;
    margin: 0;
} 

.form ul #conditionalField #conditionalLabel #lastLabel {
    margin-left: 10px;
}

.form ul li.hidden {
    display: none;
}

/* NOTIF */
.message {
    margin: 0;
    padding: 10px;
    margin: 10px 0;
    background-color: #F03535;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.message i {
    margin-right: 5px;
    color: white;
}

/* FONT */

.bold {
    font-weight: bold;
}

.thin {
    font-weight: normal;
}

.italic {
    font-style: italic;
}

.justify {
    text-align: justify;
}

.center {
    text-align: center;
}

/* MARGIN */

.m0 {
    margin: 0;
}

/* COLOR SET FOR BUTTON */

button {
    padding: 7px 15px;
    border: 1px solid #000B20;
    background-color: #000B20;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
}

button:hover:not(.dropbtn) {
    background-color: black;
    border-color:  black;
}

button.red {
    background-color: #75151E;
    border-color:  #75151E;
}

button.red:hover {
    background-color: #82151e;
    border-color:  #82151e;
}

@media (max-width: 576px) {
    button:not(.owl-dot, .dropbtn) {
        width: 100% !important;
        padding: 8px 18px;
        font-size: 15px;
    }
}

/* PASSWORD CHECK */

#strengthMessage, #confirmMessage {
    font-size: 12px;
    margin-top: 5px;
}
.faible, 
.error {
    color: red;
}
.moyen {
    color: orange;
}
.fort {
    color: green;
}

.h-separator {
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
}

/* .v-separator {
    width: 1px;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
} */