/* CSS global SSD*/
body, html {
    color: black;
    font-family: verdana;
    font-weight: normal;
    padding: 0px;
    padding-top: 0px;
    min-height: 100vh;
}

h1 {
    color: #222222;
    font-family: verdana;
    font-size: 16pt;
    font-weight: bold;
    padding-bottom: 1px;
    padding-top: 2px;
    text-align: left;
    text-decoration: underline;
}

h2 {
    color: #333333;
    font-family: verdana;
    font-size: 14pt;
    font-weight: bold;
    padding-bottom: 1px;
    padding-top: 2px;
    text-align: left;
}

h3 {
    color: #444444;
    font-family: verdana;
    font-size: 12pt;
    font-weight: bold;
    padding-bottom: 1px;
    padding-top: 2px;
    text-align: left;
}

h4 {
    color: #555555;
    font-family: verdana;
    font-size: 10pt;
    font-weight: bold;
    padding-bottom: 0px;
    padding-top: 0px;
    text-align: left;
}

a:link {
    font-family: verdana;
    text-decoration: none;
}

/*Lien fa dans les tableaux*/
a.tlink:link {
    color: #666666;
}

a.tlink:hover {
    color: #5555FF;
}

p {
    color: #000000;
    font-family: verdana;
    font-size: 9pt;
    font-weight: normal;
}

textarea {
    color: #000000;
    font-family: verdana;
    font-size: 9pt;
    font-weight: normal;
}

.btn {
    font-size: 9pt;
}

.control-label {
    font-weight: bold;
    font-size: 9pt;
}

.my-ctrl-label {
    font-weight: bold;
    font-size: 10pt;
}

/* Footer */
/* On rajoute une div de la taille du footer pour pousser vers le haut le contenu du container-fluid, puis on set la margin-bottom en négatif */
.high-ground {
    height: 35px;
}

main {
    margin-bottom: 35px;
}

footer {
    z-index: 1100;
    height: 30px;
    position: fixed;
    bottom: 0;
}

.clock {
    font-size: 9pt;
    color: #eee;
}

/* Fin footer */

/*
* Sidebar
*/
.sidebar {
    position: fixed;
    top: 20px;
    bottom: 0;
    left: 0;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    z-index: 1200;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: white;
    margin-bottom: 5px;
    font-size: 9pt;
}

.sidebar .nav-link:hover {
    background-color: #2470dc;
    color: white;
}

.sidebar ul {
    width: 100%;
    color: white;
}

.sidebar .nav-link.active {
    color: white;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

ul.submenu .active {
    display: block;
}

.arrow {
    float: right;
    margin-top: 4px;
}

.dropdown-item {
    white-space: normal;
}

/* Fin sidebar */

/* tree */
#mySidenav {
    border-left: #212529 solid 3px;
    overflow-y: auto;
}

#closebtn {
    overflow: hidden;
    position: relative;
    border: none;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: transparent;
    color: #1da1f2;
    cursor: pointer;
    float: right;
}

#closebtn:focus {
    outline: solid 0 transparent;
    box-shadow: 0 0 0 2px #8ed0f9
}

#closebtn:hover {
    background: rgba(29, 161, 142, .1)
}

#closebtn:before, #closebtn:after {
    position: absolute;
    top: 15%;
    left: calc(50% - .0625em);
    width: .125em;
    height: 70%;
    border-radius: .125em;
    transform: rotate(45deg);
    background: currentcolor;
    content: ''
}

#closebtn:after {
    transform: rotate(-45deg);
}

/*fin tree */

/*
* Navbar
*/
.navbar {
    justify-content: inherit;
    padding: 10px 0 10px 0;
    z-index: 1300;
}

/* Liste des bornes de la navbar */
#ui-id-1 {
    z-index: 1400;
}

.image-driveco {
    height: 35px;
    min-width: 100px;
}

.navbar .navbar-toggler, .navbar-toggler-icon {
    right: 1rem;
    color: white;
}

.navbar .form-control {
    border-width: 0;
    border-radius: 5px;
}

/* Fin navbar */

/* tree */
#mySidenav {
    margin-bottom: 50px;
}

/* table ( hors datatables )*/
/*
table {
    border-collapse: separate;
    border-spacing: 2px;
}
*/

td {
    color: #000000;
    font-size: 9pt;
    font-weight: normal;
    padding: 2px;
}

table.dataTable th, table.dataTable td {
    text-align: justify;
}

.DTheader {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    font-weight: 0;
}

.DTheaderLeft {
    border-left: 1px solid #ccc;
    border-bottom-left-radius:5px;
    border-top-left-radius:5px;
}

.DTheaderRight {
    border-right: 1px solid #ccc!important;
    border-bottom-right-radius:5px;
    border-top-right-radius:5px;
}

.vheader {
    vertical-align: middle;
    font-family: verdana;
    font-weight: bold;
    font-size: 9pt;
    border-bottom: none;
    text-align: center;
    border-bottom: 1px solid #ccc;
    min-height: 30px;
}

.vdata {
    vertical-align: middle;
    font-family: verdana;
    font-weight: normal;
    font-size: 9pt;
    text-align: center;
    border-bottom: 1px solid #ccc;
    min-height: 30px;
    overflow-wrap: break-word;
}

tr.clickable-row {
    cursor: pointer;
}

/* Fin table */

/* Affichage des informations dans les views */
.hheader {
    vertical-align: middle;
    font-family: verdana;
    font-weight: bold;
    font-size: 9pt;
    border-bottom: none;
    text-align: left;
    padding-left: 0px;
    padding-right: 15px;
    border-bottom: 1px solid #ccc;
}

.hdata {
    vertical-align: middle;
    font-family: verdana;
    font-weight: normal;
    font-size: 9pt;
    text-align: left;
    min-height: 20px;
    padding-left: 0px;
    padding-right: 0px;
    overflow-wrap: break-word;
    border-bottom: 1px solid #ccc;
}

/* Fin */

/* popover widgets, TODO : remplacer par popover bootstrap 5*/
.field-tip {
    cursor: help;
    position: relative;
    padding: 3px;
    width: max-content;
    float: left;
    margin-bottom: 3px;
}

.field-tip-for-contract {
    position: relative;
    padding: 3px;
    width: max-content;
    margin-bottom: 3px;
}

.field-tip .tip-content, .field-tip-for-contract .tip-content {
    position: absolute;
    z-index: 99999;
    top: -10px;
    right: 9999px;
    width: 200px;
    margin-right: -190px;
    padding: 10px;
    color: #fff;
    background: #333;
    -webkit-box-shadow: 2px 2px 5px #aaa;
    -moz-box-shadow: 2px 2px 5px #aaa;
    box-shadow: 2px 2px 5px #aaa;
    opacity: 0;
    -webkit-transition: opacity 250ms ease-out;
    -moz-transition: opacity 250ms ease-out;
    -ms-transition: opacity 250ms ease-out;
    -o-transition: opacity 250ms ease-out;
    transition: opacity 250ms ease-out;
}

.field-tip .tip-content:before, .field-tip-for-contract .tip-content:before {
    content: ' ';
    position: absolute;
    top: 50%;
    left: -16px;
    width: 0;
    height: 0;
    margin-top: -8px;
    border: 8px solid transparent;
    border-right-color: #333;
}

.field-tip:hover .tip-content {
    right: -20px;
    opacity: 1;
}

/* Fin popover widgets */

/* Affichage du prix dans CZPrice */
.chargePriceDetails {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin-top: 7px;
    margin-bottom: 7px;
    font-size: 12px;
    background-color: #e6e6e6;
}

/* Fin du prix */

/* Disponibilité */
.availability .inline {
    display: inline-flex;
}

.availability .block {
    margin-bottom: 5px;
    margin-top: 5px;
}

.availability .subBlock {
    margin-right: 10px;
}

.availability .titre_widget {
    text-align: center;
    color: grey;
}

.availability .separator_right {
    border-right: dotted 1px #9D9D9D;
}

.availability P {
    COLOR: #000000;
    FONT-FAMILY: verdana;
    FONT-SIZE: 9pt;
    FONT-WEIGHT: normal;
}

.availability .separator_top {
    border-top: dotted 1px #9D9D9D;
    text-align: center;
    padding-top: 10px;
}

.progress {
    padding: 0;
}

/* Fin disponibilité */

/* CSS tree */
#search_tree {
    width: 100%;
    margin-left: 6px;
    margin-bottom: 6px;
}

#jsTree {
    color: black;
}

/* Fin tree*/

.customers-without-contract {
    background-color: rgb(230, 235, 245) !important;
}

/* History */
.br-widget a {
    width: 13px;
    height: 13px;
    float: left;
    margin: 1px;
}

.zhistoryResponses {
    border: 2px black dashed;
    padding: 5px;
}

/* Fin History */

/* Documents */
.documents_view {
    font-size: 9pt;
}

.documents_view .list-group {
    width: 100%;
}

.documents_view .list-group-item {
    background-color: #ebebeb;
    padding: 10px 0;
    border: 1px solid #ddd;
}

.documents_view .file_download, .documents_view .document_verif_before_upload, .documents_view .file_delete, .documents_view .fa-caret-down, .fa-caret-up {
    COLOR: #666666;
}

.documents_view .file_download:hover, .documents_view .document_verif_before_upload:hover, .documents_view .file_delete:hover {
    COLOR: #5555FF;
}

.documents_view .dropdown-menu {
    width: 100%;
    border: none;
    background-color: #f8f8f8;
    position: initial;
    box-shadow: none;
}

.documents_view .dropdown-menu li {
    background-color: #f8f8f8;
    border-left: 4px solid transparent;
    padding: 6px 0;
    overflow: hidden;
}

.documents_view .dropdown-menu li span {
    COLOR: #000000;
    FONT-FAMILY: verdana;
    FONT-SIZE: 9pt;
    FONT-WEIGHT: normal;
}

.documents_view .dropdown-toggle {
    cursor: pointer;
}

.documents_view .dropdown-toggle::after {
    display: none;
}

/* Design for button excel into DataTables */
.designExportExcelBtn {
    background-color: #0d6efd !important;
    border-color: #ddd !important;
    color: white !important;
    border-radius: 3px !important;
    font-size: 0.77em !important;
    float: none !important;
    text-align: right !important;
}

.designExportExcelBtn:hover {
    color: green !important;
    background-color: white !important;
    border-color: green !important;
}


/* Permet d'afficher les boutons en bleu sur les multi select */
.multi-select-button .btn-group button {
    /* color: rgb(250, 250, 250); */
    background: rgb(56, 168, 224);
}

/* Fin document */

#chargeBoxHS > :first-child {
    background-color: red !important;
}

form#updateTproperty {
    padding: 0;
}

form#updateTproperty > div {
    display: inline-block;
}

p.updateTpropertyShow {
    margin-bottom: 0;
}

.panel {
    margin-top: 15px;
    margin-bottom: 0px;
}

.panel-body {
    padding: 10px;
}

.tablePrixAddons {
    border: none;
    width: 100%;
}

/* Bootstrap modal */
.modal {
    z-index: 2000;
}

.modal-backdrop {
    display: none;
}

/* Eye icon for show or hide password */
.eyeIntoInput {
    float: right;
    margin-right: 6px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
}

.eyeForShow {
    color: #2b908f;
}

.eyeForShow:hover {
    opacity: 0.8;
}

.eyeForHide {
    color: indianred;
}

.eyeForHide:hover {
    color: coral;
}

.password-icon:hover {
    cursor: pointer;
    color: #ff4754;
}

.password-icon .eyeForHide {
    display: none;
}

/* Cursor : pointer into datatable of 'list of stations' */
#ZStationList {
    cursor: pointer;
}

/* White color for link */
.btn-with-link a {
    color: white;
}

.form-control-focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.was-validated :valid+.form-control-focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.was-validated :invalid+.form-control-focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.this-chargebox-section {
    margin-left: 14px;
}

.this-chargebox-section:hover A, .this-chargebox-section:hover{
    color: #fa824e;
}

.this-chargebox-section:nth-child(2) {
    margin: 0 !important;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

#loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

#loader img {
    max-width: 100px;
    width: 80%;
    margin-top: 20px;
}

.rapport-underline-title, .rapport-no-underline-key {
    font-family: verdana;
    font-size: 16pt;
    font-weight: bold;
    padding-bottom: 1px;
    padding-top: 2px;
    text-align: left;
}
.rapport-underline-title {
    color: #222222;
    text-decoration: underline;
}

.rapport-no-underline-key {
    color: #6FC2BC !important;
}
.mt-142 {
    margin-top: 142px;
}