.table_responsable_drop_overflow{
    overflow-x: initial !important;
}

#custom-card-white {
    background-color: #eeeeee;
    border-radius: 5px;
    font-size: 0.8rem !important;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    margin-bottom: 20px;
}
#custom-card-white p {
    text-align: center;
    font-weight: bolder;
    margin-bottom: 5px;
} 

#custom-card-white hr {
    padding: 0 10px 0 10px;
}

#custom-card-white .table thead th {
        font-weight: initial;
}

.text-orange {
    color: #ffa500;
    font-size: larger;
    padding: 10px 10px 0 10px;
}

.text-green {
    color: #008000;
    font-size: larger;
    padding: 10px 10px 0 10px;
}

.color-green {
    color: #008000;
}

.value-orange {
    color: #ffa500;
    font-size: 25px;
}

.value-green {
    color: #008000;
    font-size: 25px;
}

.value-gray {
    color: #808080;
    font-size: 25px;
}

@media only screen and (max-device-width: 667px) {
    .texte-gray {
        font-size: 0.65rem !important;
        text-align: center !important;
    }
    .texte-blue {
        font-size: 0.65rem !important;
        text-align: center !important;
    }
    .texte-red {
        font-size: 0.65rem !important;
        text-align: center !important;
    }
    .value-gray {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    .value-blue {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    .value-red {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
}

.text-gray {
    color: #808080;
}

.texte-gray {
    color: #808080;
}

.value-red {
    color: #ff0000;
    font-size: 25px;
}

.texte-red {
    color: #ff0000;;
}

.value-blue {
    color: #0000ff;
    font-size: 25px;
}

.texte-blue {
    color: #0000ff;
}

strong.text-red, strong.text-blue {
    font-size: large;
}
/*on descend le tableau pour Les 2 boutons d'export au dessus du tableau si tableau vide*/
.table_margin_top{
    margin-top: 40px;
}

/*Les 2 boutons d'export au dessus du tableau s'il y a des éléments*/
.bouton-export-table{
    margin-bottom: -30px;
    position: relative;
    z-index: 2;
    /* Aligner l'élément à gauche */
    margin-left: -15px;
}

/*bouton de recherche dans le reporting*/
.reporting_container_bouton_filtre{
    padding: 0 0.75rem;
    margin-left: -13px;
}

.card-body-safetoload{
    padding: 15px 5px 5px 5px !important;
    font-size: 0.8rem !important;
}

.card-body-safetoload a {
    font-size: 0.8rem !important;
}

.btn-secondary:hover {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;

}

/* 
* Switch button
*/
.switch.ios, .switch-on.ios, .switch-off.ios { border-radius: 20rem; }
.switch.ios .switch-handle { border-radius: 20rem; }


.text-sm {
    font-size: 0.8rem !important;
}

.custom-checkbox {
    min-height: 1rem;
    padding-left: 0;
    margin-right: 0;
    cursor: pointer; 
  }
    .custom-checkbox .custom-control-indicator {
      content: "";
      display: inline-block;
      position: relative;
      width: 30px;
      height: 10px;
      background-color: #818181;
      border-radius: 15px;
      margin-right: 10px;
      -webkit-transition: background .3s ease;
      transition: background .3s ease;
      vertical-align: middle;
      margin: 0 16px;
      box-shadow: none; 
    }
      .custom-checkbox .custom-control-indicator:after {
        content: "";
        position: absolute;
        display: inline-block;
        width: 18px;
        height: 18px;
        background-color: #f1f1f1;
        border-radius: 21px;
        box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
        left: -2px;
        top: -4px;
        -webkit-transition: left .3s ease, background .3s ease, box-shadow .1s ease;
        transition: left .3s ease, background .3s ease, box-shadow .1s ease; 
      }
    .custom-checkbox .custom-control-input:checked ~ .custom-control-indicator {
      background-color: #84c7c1;
      background-image: none;
      box-shadow: none !important; 
    }
      .custom-checkbox .custom-control-input:checked ~ .custom-control-indicator:after {
        background-color: #84c7c1;
        left: 15px; 
      }
    .custom-checkbox .custom-control-input:focus ~ .custom-control-indicator {
      box-shadow: none !important; 
    }


.required{
    color: red;
}

/*PAGINATION : bouton du datatables*/
.dataTables_wrapper .dataTables_paginate .paginate_button{
    padding: 2px !important;
}
/*PAGINATION : bouton de paginatin activé*/
.page-item.active .page-link{
    background-color: #4b96cd !important;
    border-color: #4b96cd !important;
    color: white !important;
}

.font-30-resp {
    font-size: 25px;
}

.font-20-resp {
    font-size: 15px;
}

.adjust-height {
    height: 100% !important;
}

@media all and (max-width: 667px) {
    .font-30-resp {
        font-size: 20px !important;
    }
    .font-20-resp {
        font-size: 10px !important;
    }
}

/*loading blockui de la page*/
.loading-message {
    display: inline-block;
    min-width: 125px;
    margin-left: -60px;
    padding: 10px;
    margin: 0 auto;
    color: #000 !important;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
}

.loading-message.loading-message-boxed {
    border: 1px solid #ddd;
    background-color: #eee;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.loading-message>span {
    line-height: 20px;
    vertical-align: middle;
}

.page-loading {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 125px;
    margin-left: -60px;
    margin-top: -30px;
    padding: 7px;
    text-align: center;
    color: #333;
    font-size: 13px;
    border: 1px solid #ddd;
    background-color: #eee;
    vertical-align: middle;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.page-loading>span {
    line-height: 20px;
    vertical-align: middle;
}

/* boutton se deconnecter */
button#logout:hover, button#logout:active, button#logout:focus{
    outline: none !important;
    box-shadow: none;
}
