.bg-gradient-primary {
    background-color: #060;
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(10%,#060),to(#060));
    background-image: linear-gradient(180deg,#060 10%,#060 100%);
    background-size: cover;
    color:white;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: white;
    text-decoration: none;
    background-color: #38b566;
}

.topbar .dropdown-list .dropdown-header {
    background-color: #060;
    border: 1px solid #060;
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: #fff;
}

.topbar {
    height: 3.1rem;
    background-color: #f6c23e !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-header, .sidebar .nav-item .collapsing .collapse-inner .collapse-header {
    margin: 0;
    white-space: nowrap;
    padding: .5rem 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    font-size: .65rem;
    color: #060;
    white-space: normal;
    --text-align: left;
}

.sidebar-dark .sidebar-heading {
    /* color: rgba(255,255,255,1) !important; */
    color: black;
    border: 1px white solid;
    background-color: white;
    text-align: center;
    height: auto;
}

.sidebar .nav-item .nav-link {
    display: block;
    width: auto;
    --text-align: left;
    padding: 1rem;
    margin: 5px;
    border: 1px white solid;
    padding: 0px;
    color:black;
}
.sidebar-dark .nav-item .nav-link i {
    color: black;
}

.profil {
    width: auto;
    right: 0;
    background-color: #38b566 !important;
}
.card-header {
    background-color: #38b566 !important;
    border: 1px solid #38b566;
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: #fff;
}

.card-body {
    border: 1px solid #060 !important;
}
.btn-primary{
    background-color: #060
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link {
    color: #060;
}

.pull-right {
    float: right;
}

.nouveau{

    margin-top: 4px;
    margin-right: 5px;
    height: 30px;
    text-align: center;
    padding-top: 0;

}

.espace{
    margin-top: 30px;
}

.nouveau:hover{
    background-color: #f6c23e  !important;
    color: #000;
}
/** fin du style du template*/


/**
    style des formulaires
*/

.formulaire {
    border: 1px solid #060;
    margin-right: 5px;
    width: 100% !important;
    height: 30px;
    background-color: #e5f6ea;
    color: #000;
}
textarea{
    overflow: auto;
    resize: both !important;
    width: 100% !important;
    height: 90px;
    border: 1px #060 solid;
}

.btnEnregistrer{
    border: 1px solid #FFFFFF;
    background-color: #060;
    border-radius: 0px;
    width: auto;
}
.btnAfficher, .btnAfficher:hover{
    border: 1px solid #FFFFFF;
    background-color: #060;
    border-radius: 0px;
    width: auto;
    height: 33px;
    text-align: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.btnEnregistrer:hover{
    border: 1px solid #FFFFFF;
    background-color: #060;
    border-radius: 0px;
}

.btnEnregistrer:not(:disabled):not(.disabled).active,
.btnEnregistrer:not(:disabled):not(.disabled):active,
.show>.btnEnregistrer.dropdown-toggle {
    border: 1px solid #FFFFFF;
    background-color: #060;
    border-radius: 0px;
}

.btnAnnuler{
    border: 1px solid #FFFFFF;
    background-color: #ff0000;
    border-radius: 0px;
}

.btnAnnuler:hover{
    border: 1px solid #FFFFFF;
    background-color: #ff0000;
    border-radius: 0px;
}
.btnReinitialiser, .btnReinitialiser:hover, .btnReinitialiser:active{
    border: 1px solid #FFFFFF;
    background-color: red;
    border-radius: 0px;
    width: auto;
    height: 33px;
    margin-top: -3px;
    text-align: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.btnAnnuler:not(:disabled):not(.disabled).active,
.btnAnnuler:not(:disabled):not(.disabled):active,
.show>.btnAnnuler.dropdown-toggle {
    border: 1px solid #FFFFFF;
    background-color: #ff0000;
    border-radius: 0px;
}

.is-invalid{
    border: #ff0000 solid 1px;
}

.invalid-feedback {
    display: contents;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #e3342f;
}

.form-group {
    margin-bottom: 1px !important;
}


/**
style pour les tableaux
*/
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: pointer;
    color: #666 !important;
    border: 1px solid #060;
    background: #E8F3DE;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #000 !important;
    border: 1px solid #979797;
    background-color: #99CCCC;

}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 1.5em;
    display: inline-block;
    margin-left: 1px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid #060;
    background: #E8F3DE;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 0.5em;
    /* display: inline-block; */
    width: auto;
    background-color: aliceblue;
    --float: right;
}


.dataTables_wrapper .dataTables_filter {
    color: #000;
    padding-top: 4px;
    height: 38px;
    margin-top: -30px;
}

.table-striped > tbody > tr:nth-of-type(2n+1)>td {
    background-color: #f0F8FF;
}
.table-striped > tbody > tr:nth-of-type(2n)>td {
    border-left: 1px dashed black;
    border-bottom: 1px dashed black;
}
.table-striped > tbody > tr:nth-of-type(2n+1)>td {
    border-left: 1px dashed black;
    border-bottom: 1px dashed black;
}
tr td:first-child
{
    border-left: 0.15em solid black !important;
}
tr td:last-child
{
    border-right: 0.15em solid black !important;
}
tr:last-child td
{
    border-bottom: 0.15em  solid black !important;
}
thead tr th
{
    border-left: 0.15em solid black !important;
    border-top: 0.15em solid black !important;
    border-bottom: 0.15em solid black !important;
}
thead tr th:last-child{
    border-right: 0.15em solid black !important;
}
table{
    font-size: 0.8em !important;
}

.table {
    color: #000;
}

label > div#DataTables_Table_0_filter.dataTables_filter {
    font-weight: normal;
    white-space: nowrap;
    text-align: left;
    color: #FFF;
    background-color: #060;
}

div.dataTables_wrapper div.dataTables_length label {
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    color: #000
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0em;
    white-space: nowrap;
    color: #000
}

div.dataTables_wrapper div.dataTables_paginate {
    margin: -19px 0 0 0;
    white-space: nowrap;
    text-align: right;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #060;
    border-color: #060;
}

.fond-entete{
    background-color: #aac481;
    color: #000;
}

/* Bordure du tableau juste pour voir l'aspect*/
/* .table td, .table th {
    padding: .25rem;
    vertical-align: top;
    border-top: 0.5px solid #e3e6f0;
    border: 1px black solid ;
} */
.table tbody tr{
    padding: .25rem;
    vertical-align: top;
    border-bottom: 0.5px dashed black;
    border-left: 0.5px solid black;
    border-right: 0.5px solid black;
}
/* .table th{
    padding: .25rem;
    vertical-align: top;
    border-top: 0.5px solid black;
} */
/* .table tbody {
    border-left: 3px red dashed !important;
    border-right: 3px red solid !important;
} */
/**
style du bouton de retour en haut
*/
.scroll-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    text-align: center;
    color: #fff;
    background: rgba(91, 200, 126, 0.5);
    line-height: 46px;
}

.scroll-to-top:hover {
    background: #060;
        background-color: #060;
        background-position-x: 0%;
        background-position-y: 0%;
        background-repeat: repeat;
        background-attachment: scroll;
        background-image: none;
        background-size: auto;
        background-origin: padding-box;
        background-clip: border-box;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item.active, .sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
    color: #4e73df;
    font-weight: 700;
    background-color: #eaecf4 !important;
}



fieldset {
    padding: .200em .625em .75em !important;
    margin: 0 2px;
    border: 2px solid #060 !important;
}

legend {
    display: block;
    width: auto ;
    max-width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: #060;
    white-space: normal;
}


/* pour faire afficher le mot de passe */

.field-icon {
    float: right;
    margin-left: -25px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    color: #060;
  }

  .container{
    padding-top:50px;
    margin: auto;
  }

  /* style pour les dates*/

.ui-widget-content {
    border: 1px solid #e5f6ea;
    background: #e5f6ea;
    color: #333333;
}

.ui-datepicker {
    width: auto;
    padding: .2em .2em 0;
    display: none;
}

.ui-widget-header {
    border: 1px solid #dddddd;
    background: #F6C23E;
    color: #060;
    font-weight: bold;
}

.ui-icon, .ui-widget-content .ui-icon {
    background-image: url("images/ui-icons_FFFFFF_256x240.png");
}

.ui-datepicker-week-end{
    color: #e3342f;
}

.ui-state-hover{
    background-color: #060 !important;
    color: #FFF !important;
    border: 1px solid #060;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #060;
    background: #060;
    font-weight: normal;
    color: #FFF;
}

div#detail > .modal-dialog {
    max-width: 800px !important;
    margin: 1.75rem auto;
}

/* .modal-dialog {
    max-width: 800px !important;
    margin: 1.75rem auto;
}
 */
 .suppModel{
    background: #f00;
    color: white;
 }

 .restaurer{
    background: rgb(250, 165, 6);
    color: white;
 }

.fichierDetail{
    color: #060;
    font-weight: bold;
    text-align:center;
}
.sidebar-dark .nav-item .nav-link[data-toggle="collapse"]::after {
    color: black;
}
/*
.sidebar .nav-item .nav-link[data-toggle="collapse"].collapsed::after {
    content: '\f105';
} */
/* -----------------------Panel ----------------------------------*/
.panel-group {
    margin-bottom: 2px;
    width: inherit;
    /* text-transform: uppercase!important; */
    height: inherit;
    border-bottom: 2px #f6c23e solid;
    text-align: center;
}
.panel-group .panel {
    margin-bottom: 0;
    /* border-radius: 4px; */
}
.panel-default {
    border-color: #ddd;
}
.panel-heading a{
    color:white !important;
    text-decoration: none;
}
.panel {
    margin-bottom: 20px;
    background-color: #060;
    border-top: 2px solid white;
    /* text-align: center; */
    /* border-bottom: 2px solid white; */
    /* border-radius: 4px; */
    padding-bottom: 5px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.panel-group .panel + .panel {
    margin-top: 0px;
}
.panel-group .panel-heading {
    border-bottom: 0;
    /* height: inherit !important; */
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: white;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #ddd;
}

.panel-group .panel-heading + .panel-collapse > .panel-body, .panel-group .panel-heading + .panel-collapse > .list-group {
    border-top: 1px solid white;
    background-color: #F6C23E !important;
    height: inherit !important;
}
.panel-body {
    padding: 5px;
    border:1px white solid;
    margin-left: 8px;
    margin-right: 8px;
}
.activer{
    color:red !important;
    /* background-color: orange !important; */
    font-weight: bold;
}

 /*  .image{
    position: fixed;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    transform: -webkit-translate(-50%, -50%);
    transform: -moz-translate(-50%, -50%);
    transform: -ms-translate(-50%, -50%);
    color:darkred;
  } */
  .sidebar .nav-item .collapse .collapse-inner .collapse-item, .sidebar .nav-item .collapsing .collapse-inner .collapse-item {

    padding: .5rem 1rem;
    margin: 0 .5rem;
    display: block;
    color: #3a3b45;
    text-decoration: none;
    border-radius: .35rem;
    white-space: normal;

}
.requeteResult{
    background-color:#38b566 !important;
    color: white;
}
.localite{
    color: red;
    /* font-weight: bold; */
    font-style: italic;
}
  .loader {
    position : fixed;
    z-index: 9999;
    top : 50px;
    left : 50px;
    height : 100%;
    width : 100%;
    cursor : wait;
    background : url('images/tenor1.gif') 50% 50% no-repeat;
    --background-color: red;
    }
    /* color:darkred; */

    /**
    .load {
    background: url('/images/ajax-loader.gif') 30% 50% no-repeat
    rgba(255, 255, 255, 0.8);
    cursor: wait;
    height: 480px;
    position: fixed;
    width: 100%;
    z-index: 9999;
    display: none;
}
    */
  /**
    style des uploads
  */


div#upload {
    height: 148px;
    padding: 1px;
    text-align: center;
}

div#fichiers {
    --width: 370px;
    margin: auto;
    padding: 5px;
    border: 1px dotted #7e9db5;
    font-size: 13px;
    text-align: left;
    overflow: auto;
    height: 100px;
}

.error.active {
    width  : 100%;
    font-size: 70%;
    color: #900;

}

.select2-container--default .select2-selection--single {
    --background-color: #fff;
    --border: 1px solid #aaa;
    border-radius: 0px;
    border: 1px solid #060;
    margin-right: 5px;
    width: 100% !important;
    height: 30px;
    background-color: #e5f6ea;
    color: #000;
}


.select2-dropdown {
    background-color: #e5f6ea;
    border: 1px solid #060;
    border-radius: 0px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
}

/* Select multiple */
/* .select2-results__option:before {
  content: "";
  display: inline-block;
  position: relative;
  height: 20px;
  width: 20px;
  border: 2px solid #e9e9e9;
  border-radius: 4px;
  background-color: #fff;
  margin-right: 20px;
  vertical-align: middle;
}
.select2-results__option[aria-selected=true]:before {
  font-family:fontAwesome;
  content: "\f00c";
  color: #fff;
  background-color: #f77750;
  border: 0;
  display: inline-block;
  padding-left: 3px;
} */
/*
.sidebar.toggled .nav-item .nav-link{
    --text-align:center;
    padding:0rem;
    width:0rem
}
 */
 .container-fluid, container{
     padding-left: 4px !important;
     padding-right: 4px !important;
     margin-top: 20px;
 }
/* CSS MULTI-SELECT */
 .select2-container--default .select2-results__option .select2-results__option {
    padding-left: 2em;
}
.select2-results__option {
    padding: 0px;
    user-select: none;
    -webkit-user-select: none;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f6c23e;
    color: white;
}
/* FIN CSS MULTI-SELECT */

.sitr{
    color: #060;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-left: 4em;
    --font-weight: bold;
}

.arriereplan{
    background-color: #f5c1c1;
}

/* CSS GRAPHIQUES */
div.highcharts-menu hr{
    margin-top: 0rem;
    margin-bottom: 0rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}

div.highcharts-menu-item:hover{
    color: white;
    /* background: #060; */
    font-size: 11px;
    /* transition: background 250ms ease 0s, color 250ms ease 0s; */
    background-color: #060;
}
/* FIN CSS GRAPHIQUES */

.patienter {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../images/loading-vert.gif) center no-repeat #fff; 
}

/* .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #060 1px;
    outline: 0;
} */
.select2-container--default .select2-selection--multiple {
    background-color: #e5f6ea;
    border: 1px solid #060 !important;
    border-radius: 0px !important;
    cursor: text;
}
