/*-----------------------------GENERAL-------------------------------------*/
html,
body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    background-color: #222629;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.container-fluid {
    padding: 20px;
    margin: 0;
}

.blockPage {
    background-color: #fff;
    max-width: 1190px !important;
    min-height: 80vh;
    padding: 20px;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

hr {
    border: 0;
    height: 1px;
    margin: 30px 0;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0)
    );
}

.contentContainer {
    padding: 20px;
}

/*------ BARRE UTILISATEUR -----*/

#userBar {
    background-color: #ffffff;
    padding: 2px 10px;
    border-bottom: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#userInfos {
    display: flex;
    align-items: center;
}

#userRole {
    color: gray;
    font-style: italic;
}

#userImg {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
}

.userPhoto {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/*----------------------------- INPUTS ------------------------------------- */
input[type='text'],
input[type='text'],
input[type='email'],
input[type='number'],
input[type='tel'],
textarea,
select,
.select2-selection,
.select2-selection__rendered {
    background-color: #ededed !important;
}
input[type='text']:focus,
input[type='text']:focus,
input[type='email']:focus,
input[type='number']:focus,
input[type='tel']:focus,
textarea:focus,
select:focus,
.select2-selection:focus,
.select2-selection__rendered:focus {
    background-color: #fff !important;
}

/*----------------- BOOTSTRAP BOUTTON UPLOAD FICHIER -------------------------*/
.custom-file-input:lang(fr) ~ .custom-file-label::after {
    content: 'Choisir un fichier';
}

/*-------------------- MENU NAVIGATION -----------------*/
#menu {
    border-right: 1px solid;
}

.active {
    background-color: #c5c5c5;
    border-radius: 0.25rem;
}

.nav {
    display: inline-block;
}

.nav a {
    color: #333;
}

.nav-link:hover {
    background-color: #dadada;
    border-radius: 0.25rem;
}

/*-------------------- BLOCK HEADER -------------------*/
#header {
    padding: 20px;
    border-bottom: 1px solid #333;
    flex-direction: column;
}

#header label {
    font-size: 26px;
    font-weight: bold;
}

/*---------------------------------- HOME ------------------------------------*/
a {
    color: black;
}
a:hover {
    color: black;
    text-decoration: underline dotted grey;
    /* text-shadow: gray 1px 2px 1px; */
}

.infosQueries {
    border: 1px solid;
    padding: 1rem;
}

.tTQ {
    border-color: #e81717;
}

.pQ {
    border-color: blue;
}

/*---------------------- PAGE AFFICHAGE LISTE DEMANDES ----------------------- */

#table thead th {
    vertical-align: middle;
    text-align: center;
}

#table td {
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

.pagination {
    justify-content: center;
}

.pagination a {
    color: black;
}

.page-item.active .page-link {
    color: black;
    /* background-color: #a3c614;
  border-color: #a3c614; */
}

.btnVoir {
    padding: 1px 6px;
}

.page-link:hover {
    /* color: white; */
    /*   background-color: #85a210;
  border-color: #85a210; */
}

/*------------- PAGE AFFICHAGE D'UNE DEMANDE -------------- */

.etatDemande {
    font-size: 1.2rem;
}

.updateZone {
    font-style: italic;
    font-size: 0.8rem;
    color: darkgray;
}

#buttons {
    padding: 10px 20px;
}

#btnAttribute,
#btnNew,
#btnModif {
    color: white;
}

.btnQuery {
    border-bottom: solid 1px #333;
}

.colLeft {
    border-right: solid 5px white;
}

.colRight {
    border-left: solid 5px white;
}

.infoArea {
    margin-bottom: 10px;
    background-color: #ededed;
}

.infoArea .row {
    margin: 5px;
}

.faAttention {
    color: red;
    font-size: 1.5rem;
}

.infoTitle {
    padding: 0.3rem;
    background-color: #d3d3d3;
}

.info {
    background-color: #f9f9f9;
}

.helpAttribution {
    color: gray;
    font-style: italic;
}

.detailRequest {
    background-color: rgba(249, 220, 134, 0.5);
}

.attachment {
    max-width: 500px;
}

.btn.btn-danger.btn-lg.btnDel {
    padding: 1px 2px;
    font-size: 0.95rem;
}

.formSearch select,
#submitSearch {
    font-size: smaller;
}

#divAttachment {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
}

/*----------------------------- INPUTS ------------------------------------- */
input[type='text'],
input[type='text'],
input[type='email'],
input[type='number'],
input[type='tel'],
textarea,
select,
.select2-selection,
.select2-selection__rendered {
    background-color: #ededed !important;
}
input[type='text']:focus,
input[type='text']:focus,
input[type='email']:focus,
input[type='number']:focus,
input[type='tel']:focus,
textarea:focus,
select:focus,
.select2-selection:focus,
.select2-selection__rendered:focus {
    background-color: #fff !important;
}

/*----------------- BOOTSTRAP BOUTTON UPLOAD FICHIER -------------------------*/
.custom-file-input:lang(fr) ~ .custom-file-label::after {
    content: 'Choisir un fichier';
}

/* ---------------------------- FORMULAIRE -------------------------*/
.asterisque {
    color: red;
}
label.required:before {
    content: '* ';
    color: red;
}

label.required.form-check-label:before {
    content: '' !important;
}

#zoneRib,
#zoneIban {
    box-shadow: 2px 2px 2px #c6c6c6, -1px -1px 2px #c6c6c6;
}

.titleSection {
    font-weight: bold;
}

label[for='identity_pub'] .form-error-icon.badge.badge-danger.text-uppercase {
    display: none;
}

label[for='identity_internet']
    .form-error-icon.badge.badge-danger.text-uppercase {
    display: none;
}

label[for='identity_private']
    .form-error-icon.badge.badge-danger.text-uppercase {
    display: none;
}

.txtInfo {
    font-style: italic;
    font-size: 0.9rem;
}

.txtInfo span {
    font-weight: bold;
}

.titleInfo {
    font-weight: bold;
    margin-bottom: 4px;
}
