﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 0px;
    /*padding-bottom: 20px;*/
}

body .ui-widget-overlay.ui-front {
        opacity: .7; 
}

:invalid {
    box-shadow: none; /* FF */
    outline: 0; /* IE 10 */
    border: 2px solid red;
}

p{
    margin-bottom:0px;
}
.ui-button:disabled {
    background-color: #9fa4a9;
}

.ui-autocomplete {
    position: fixed;
    cursor: default;
    z-index: 1000 !important;
    font-size: 0.7rem !important;
}

.ui-dialog {
    z-index: 1010 !important;
}

.nav-tabs .nav-item {
    background-color: #eee;
}
.nav-tabs .nav-link {
    color: #495057;
    background-color: #eee;
    border-color: #dee2e6 #dee2e6 #eee;

}

.nav-tabs .nav-link-nobg {
    background-color: transparent;
    border-color: transparent;
}

/*
.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
*/

form:invalid {
    border: 0px;
}

input[type=number] { /* Firefox */
    -moz-appearance: textfield;
}

.modal {
   /* padding-right: 12px !important */
}

.glyphicon-check {
    width: 16px;
    height: 16px;
    background-image: url("check.png");
    display: inline-block;
}

.small-padding {
    padding: 8px;
}

.no-padding {
    padding: 0px !important;
}

.no-padding-top {
    padding-top: 0px !important;
}

.no-padding-bottom {
    padding-bottom: 0px !important;
}

.no-padding-left {
    padding-left: 0px !important;
}

.no-padding-right {
    padding-right: 0px !important;
}

.padding-top-bricole td {
    padding-top: 5px !important;
}

.ChkSelect {
    margin-left: 2px;
}

.ChkSelect-small {
    margin-left: 2px;
    width: 8px;
    height: 8px;
}

.bg-white{
    background-color:white;
}

.Select-All {
    border-bottom: solid 1px black;
}

#chkAll {
    margin-left: 2px;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.preprend-unisize {
    min-width: 18%;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* width */
::-webkit-scrollbar {
    width: 4px;
}

.visible-scrollbar::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.00);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

[contenteditable="false"] {
    background-color: whitesmoke;
}

[contenteditable="False"] {
    background-color:  whitesmoke;
}

[contenteditable="true"] {
    background-color: ivory;
}

[contenteditable="True"] {
    background-color: ivory;
}

.bg-orange {
    background-color: orange;
}

.text-yellow {
    color: ivory;
}
/* Set widths on the form inputs since otherwise they're 100% wide 
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 480px;
}
*/
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }

}

@media screen and (max-width: 380px) {

    .nomob{
        display:none;
    }
    .entretien-saisie {
        max-width: 60px;
    }

    input[type='text'],
    input[type='number'],
    input[type='password'],
    input[type='date'],
    input[type='time'],
    select,
    textarea {
        font-size: 0.6rem !important;
        min-height: 1.25rem;
    }

    th {
        font-size: 0.7rem !important;
    }

    td {
        font-size: 0.6rem !important;
    }

    .data_number{
        width: 60px;
    }

    .Cellhours {
        min-width: 70px;
        max-width: 70px;
    }

    .Chantier-journee {
        min-width: 70px;
    }

    .btn {
        font-size: 0.5rem;
    }

    h5 {
        font-size: 0.8rem;
    }

    .autocomplete-items div
    {
        font-size: 0.6rem;
    }

    .auto-size {
        font-size: 0.6rem;
    }

    input[type=checkbox] {
        -ms-transform: scale(1); /* IE */
        -moz-transform: scale(1); /* FF */
        -webkit-transform: scale(1); /* Safari and Chrome */
        -o-transform: scale(1); /* Opera */
    }


}

.small-font {
    font-size: 0.7rem !important;
}

@media screen and (min-width: 381px) {

    .nomob {
        display: none;
    }

    .entretien-saisie {
        max-width: 80px;
    }

    input[type='text'],
    input[type='number'],
    input[type='password'],
    input[type='date'],
    input[type='time'],
    select,
    textarea {
        font-size: 0.7rem !important;
        min-height: 1.25rem;
    }

    th {
        font-size: 0.7rem !important;
    }

    td {
        font-size: 0.6rem !important;
    }

    .data_number {
        width: 60px;
    }

    .Cellhours {
        min-width: 70px;
        max-width: 70px;
    }

    .Chantier-journee {
        min-width: 70px;
    }

    input[type=checkbox] {
        -ms-transform: scale(1); /* IE */
        -moz-transform: scale(1); /* FF */
        -webkit-transform: scale(1); /* Safari and Chrome */
        -o-transform: scale(1); /* Opera */
    }

    .auto-size {
        font-size: 0.7rem;
    }
}

@media screen and (min-width: 1360px) {

    .nomob {
        display: block;
    }

    #DivSaisieChauffeur {
        min-width: 450px;
    }

    th {
        font-size: 0.9rem !important;
    }
    
    td {
        font-size: 0.7rem !important;
    }

    .data_number {
        width: 80px;
    }

    .Cellhours {
        min-width: 105px;
        max-width: 105px;
    }

    .Chantier-journee {
        min-width: 105px;
    }

    input[type='text'],
    input[type='number'],
    input[type='password'],
    input[type='date'],
    input[type='time'],
    select,
    textarea {
        font-size: 1rem !important;
    }

    input[type=checkbox] {
        -ms-transform: scale(1.5); /* IE */
        -moz-transform: scale(1.5); /* FF */
        -webkit-transform: scale(1.5); /* Safari and Chrome */
        -o-transform: scale(1.5); /* Opera */
        margin-top: 5px !important;
    }

    .auto-size {
        font-size: 0.8rem;
    }
}

@media (min-width: 700px) {

    .nomob {
        display: block;
    }

    #DivSaisieChauffeur {
        min-width: 450px;
    }

    .entretien-saisie {
        max-width: 100px;
    }

    .col-lng-text {
        width: 160px;
        min-width: 160px;
    }

    .col-text {
        width: 100px;
        min-width: 100px;
    }

    .col-image {
        width: 32px;
        min-width: 32px;
    }

    .col-date {
        width: 80px;
        min-width: 80px;
    }

    .col-datetime {
        width: 90px;
        min-width: 90px;
    }

    .col-statut {
        width: 120px;
        min-width: 120px;
    }

    .col-action-2 {
        width: 60px;
        min-width: 60px;
    }

    .CellLib {
        min-width: 80px;
        max-width: 105px;
    }

    .Cellhours {
        min-width: 70px;
        width: 70px;
        max-width: 70px;
    }
}

@media (min-width: 800px) {

    #DivSaisieChauffeur {
        min-width: 450px;
    }
    
    .CellLib {
        min-width: 80px;
        max-width: 205px;
    }

    .Cellhours {
        min-width: 80px;
        width: 80px;
        max-width: 80px;
    }
}

@media (min-width: 1000px) {

    #DivSaisieChauffeur {
        min-width: 450px;
    }

    .entretien-saisie {
        max-width: 120px;
    }

    .col-lng-text {
        width: 160px;
        min-width: 160px;
    }

    .col-text {
        width: 120px;
        min-width: 120px;
    }

    .col-image {
        width: 32px;
        min-width: 32px;
    }

    .col-date {
        width: 80px;
        min-width: 80px;
    }

    .col-datetime {
        width: 120px;
        min-width: 120px;
    }

    .col-statut {
        width: 120px;
        min-width: 120px;
    }

    .col-action-2 {
        width: 65px;
        min-width: 65px;
    }

    .CellLib {
        min-width: 105px;
        max-width: 350px;
    }

    .Cellhours {
        min-width: 90px;
        width: 90px;
        max-width: 90px;
    }
}

@media (min-width: 1100px) {

    .Cellhours {
        min-width: 110px;
        width: 110px;
        max-width: 110px;
    }
}
@media (min-width: 1200px) {

    #DivSaisieChauffeur {
        min-width: 450px;
    }

    .entretien-saisie {
        max-width: 120px;
    }

    .col-lng-text {
        width: 300px;
        min-width: 300px;
    }

    .col-text {
        width: 150px;
        min-width: 150px;
    }

    .col-image {
        width: 32px;
        min-width: 32px;
    }

    .col-date {
        width: 80px;
        min-width: 80px;
    }

    .col-datetime {
        width: 120px;
        min-width: 120px;
    }

    .col-statut {
        width: 160px;
        min-width: 160px;
    }

    .col-action-2 {
        width: 70px;
        min-width: 70px;
    }

    .CellLib {
        min-width: 200px;
        max-width: 400px;
    }

    .Cellhours {
        min-width: 120px;
        width: 120px;
        max-width: 120px;
    }
}

@media (min-width: 1350px) {

    .Cellhours {
        min-width: 130px;
        width: 130px;
        max-width: 130px;
    }
}
@media (min-width: 1500px) {

    #DivSaisieChauffeur {
        min-width: 450px;
    }

    .entretien-saisie {
        max-width: 90px;
    }

    .col-lng-text {
        width: 400px;
        min-width: 400px;
    }

    .col-text {
        width: 200px;
        min-width: 200px;
    }

    .col-image {
        width: 32px;
        min-width: 32px;
    }

    .col-date {
        width: 90px;
        min-width: 90px;
    }

    .col-datetime {
        width: 130px;
        min-width: 130px;
    }

    .col-statut {
        width: 180px;
        min-width: 180px;
    }

    .col-action-2 {
        width: 80px;
        min-width: 80px;
    }

    .CellLib {
        min-width: 200px;
        max-width: 500px;
    }

    .Cellhours {
        min-width: 140px;
        width: 140px;
        max-width: 140px;
    }
}

    
input::-webkit-calendar-picker-indicator {
        background: url('arrow_down.png') center/80% no-repeat;
        color: rgba(0, 0, 0, 0);
        opacity: 0.5
    }

    hr {
        margin-top: 0rem;
        margin-bottom: 1rem;
        border: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }


    .btn-menu-natel {
        padding: 6px 12px;
    }

    .form-dropdown {
        background-image: url('arrow_down.png');
        border: 2px solid #7d6754;
        border-radius: 5px;
        padding: 3px;
        -webkit-appearance: none;
        background-position: 98%;
        background-repeat: no-repeat;
        text-indent: 0.01px; /*In Firefox*/
        text-overflow: ''; /*In Firefox*/
    }

    .JourSpecial {
        color: brown;
        font-weight: bold;
    }

    .TotalPos {
        color: blueviolet;
        font-weight: bold;
    }

    .no-margin-bottom {
        margin-bottom: 0px;
    }

    .no-margin-top {
    margin-top: 0px;
}

    .TotalNeg {
        color: #d9534f;
        font-weight: bold;
        /*margin-bottom: 0px;*/
    }

    .TotalOk {
        color: #93BA0C;
        font-weight: bold;
    }

.image_bon{
    padding:1px;
}

.font-red {
    color: red;
}

.font-blueviolet {
    color: steelblue;
}

.font-strong {
    font-weight: bold;
}
.row{
    margin-left: 0px;
    margin-right: 0px;
}

    .table-calendar {
        border-spacing: 1px;
    }

    .td-calendar {
        padding: 1px;
        width: 14%;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 1px;
    }

    .td-calendar-jour {
        padding: 1px;
        font-size: 10px;
        width: 14%;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 1px;
    }

    .day-enable {
        text-align: center;
        font-weight: bold;
        background-color: #93BA0C;
        border: 1px solid #BBBBBB;
    }

    .day-disable {
        text-align: center;
        font-weight: bold;
        background-color: #DDDDDD;
        border: 1px solid #BBBBBB;
    }

    .align-right-bottom {
        text-align: right;
        vertical-align: bottom !important;
    }

    .align-right {
        text-align: right;
    }

    .align-left {
        text-align: left;
    }

    .align-center {
        text-align: center;
    }

    .align-middle {
        text-align: center;
        vertical-align: middle;
    }

    .noOverflow {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .align-bottom {
        vertical-align: bottom;
        line-height: 50px;
    }

    .noborder {
        border: 0px solid white;
        border-top: 0px solid white;
        border-right: 0px solid white;
        border-bottom: 0px solid white;
    }

    .noresize {
        resize: none;
    }

    .hidden {
        display: none;
    }

    .border {
        border: 2px solid white;
    }

    .titre {
        font-weight: bold;
        font-style: oblique;
        color: rgb(178, 207, 238);
    }

    body {
        background-color: #F7F4EE;
    }

    .FixedHeader {
        position: absolute;
    }

    .table-fixed tbody {
        /*height: 400px;*/
        overflow-y: auto;
        width: 100%;
    }

    .table-fixed thead,
    .table-fixed tbody,
    .table-fixed tr,
    .table-fixed td,
    .table-fixed th {
        display: block;
    }

        .table-fixed tr:after {
            content: "";
            display: block;
            visibility: hidden;
            clear: both;
        }

        .table-fixed tbody td,
        .table-fixed thead > tr > th {
            float: left;
        }

    .gridRounded {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    .row-selected {
        background-color: Highlight !important;
        font-style: oblique;
    }

    .font-bold {
        font-weight: bold;
    }

    .table > thead > tr > td.selected,
    .table > tbody > tr > td.selected,
    .table > tfoot > tr > td.selected,
    .table > thead > tr > th.selected,
    .table > tbody > tr > th.selected,
    .table > tfoot > tr > th.selected,
    .table > thead > tr.selected > td,
    .table > tbody > tr.selected > td,
    .table > tfoot > tr.selected > td,
    .table > thead > tr.selected > th,
    .table > tbody > tr.selected > th,
    .table > tfoot > tr.selected > th {
        background-color: Highlight;
        font-style: oblique;
    }

    .table-hover > tbody > tr > td.selected:hover,
    .table-hover > tbody > tr > th.selected:hover,
    .table-hover > tbody > tr.selected:hover > td {
        background-color: Highlight;
        font-style: oblique;
    }

    .uppercase {
        text-transform: uppercase;
    }

    .Cell_Border_right {
        border-right: 1px solid #dddddd;
    }

.GridView_Row_NoSelectable {
    padding: 2px;
    line-height: 1.428571429;
    vertical-align: top;
    border-top: 1px solid #dddddd;
    background-color: #f9f9f9;
}

.GridView_SelectedRow_NoSelectable {
    padding: 2px !important;
    line-height: 1.428571429 !important;
    vertical-align: top !important;
    border-top: 1px solid #dddddd !important;
    background-color: #B5D5FF !important;
}

    .GridView_Row {
        padding: 2px;
        line-height: 1.428571429;
        vertical-align: top;
        border-top: 1px solid #dddddd;
        background-color: #f9f9f9;
    }

        .GridView_Row:hover {
            background-color: #f1f1f1;
            cursor: pointer;
        }

    .GridView_SelectedRow {
        padding: 2px !important;
        line-height: 1.428571429 !important;
        vertical-align: top !important;
        border-top: 1px solid #dddddd !important;
        background-color: #B5D5FF !important;
    }

        .GridView_SelectedRow:hover {
            background-color: #ABCBF4 !important;
            cursor: pointer !important;
        }

    #GvFormulaire > tbody > tr:hover {
        cursor: pointer;
        font-weight: bold;
        background-color: #ABCBF4;
    }

    .Form_type1 {
        font-weight: bold;
        background-color: lightcoral
    }

    .Form_type2 {
        font-weight: bold;
        background-color: lightpink;
    }

    .password:hover {
        cursor: pointer;
    }

    .GridView_AlternateRow {
        padding: 2px;
        line-height: 1.428571429;
        vertical-align: top;
        border-top: 1px solid #dddddd;
        background-color: white;
    }

        .GridView_AlternateRow:hover {
            background-color: #f1f1f1;
            cursor: pointer;
        }

    .header-cell-control {
        display: block;
        font-size: 12px !important;
        font-weight: bold;
        width: 100%;
        padding: 0.15rem 0.25rem;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

    .GridView_HreBaseRow {
        padding: 2px;
        line-height: 1.428571429;
        vertical-align: top;
        font-weight: bold;
        border-bottom: 2px solid #dddddd;
        background-color: gray;
    }


    .GridView_HreTotalRow {
        padding: 2px;
        line-height: 1.428571429;
        vertical-align: top;
        font-weight: bold;
        border-bottom: 2px solid #dddddd;
        background-color: gainsboro;
    }

    .GridView_HeaderRow {
        padding: 2px;
        line-height: 1.428571429;
        vertical-align: top;
        font-weight: bold;
        border-bottom: 2px solid #dddddd;
        background-color: #CED8E1;
    }

.GridView_recapRow:hover td {
    background-color: Highlight;
}

    .labelStatut {
        display: block;
        font-size: 10px;
        font-weight: bold;
        color: white;
        border-radius: .25em;
    }

    .Statut-accepted {
        background-color: #5cb85c;
    }

    .Statut-refused {
        background-color: #f0ad4e;
    }

    .Statut-waiting {
        background-color: darkkhaki;
    }

.NoCursor {
    cursor: default;
}
.NoCursor:hover {
    cursor: default;
}

    .image {
        width: 16px;
        height: 5px;
        overflow: hidden;
    }

    .clickable {
        cursor: pointer;
    }

    .imgMarged {
        margin-left: 7px;
    }

    .imgMargedRight {
        margin-right: 7px;
    }

    .row-editable {
        cursor: pointer;
    }

        .row-editable:hover {
            background-color: skyblue;
        }

    /*.modal {
        position: fixed;
        background-color: black;
        z-index: 99;
        opacity: 0.8;
        filter: alpha(opacity=80);
        min-height: 100%;
        width: 100%;
    }
*/
    .Calendrier {
        font-family: Arial;
        font-size: 10pt;
        border: 5px solid #BBBBBB;
        width: 250px;
        height: 198px;
        position: fixed;
        top: 250px;
        left: 150px;
        background-color: White;
        z-index: 999;
        text-align: center;
        display: none;
    }

.InfoMessagePhone {
    font-family: Arial;
    font-size: 10pt;
    border: 5px solid #B5D5FF;
    width: 350px;
    height: 150px;
    background-color: White;
    z-index: 999;
    text-align: center;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -75px;
    margin-left: -175px;
}

    .InfoMessage {
        font-family: Arial;
        font-size: 10pt;
        border: 5px solid #B5D5FF;
        width: 500px;
        height: 150px;
        background-color: White;
        z-index: 999;
        text-align: center;
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -75px;
        margin-left: -250px;
    }

    .Tab {
        text-indent: 40px;
    }

    .Fond-Humain {
        background-color: cornflowerblue;
    }

    .Fond-Machine {
        background-color: khaki;
    }

    .comment {
        padding-left: 10px;
        text-align: left;
        font-style: oblique;
        color: gray;
    }

    .italic {
        font-style: oblique;
    }

    .Border-cell {
        border-left: 1px solid gray;
        border-bottom: 1px solid gray;
        border-top: 1px solid gray;
        border-right: 1px solid gray;
    }

    .Border-cell-left {
        border-left: 1px solid gray;
    }

    .Border-cell-right {
        border-right: 1px solid gray;
    }

    .Border-cell-bottom {
        border-bottom: 1px solid gray;
    }

    .Border-cell-top {
        border-top: 1px solid gray !important;
    }

    .Planning-cell {
        border-left: 1px solid gray;
        border-right: 1px solid gray;
        border-bottom: 1px solid gray;
        border-top: 1px solid gray;
        padding-top: 1em;
    }

.Planning-cell-desi {
    border-left: 1px solid gray;
    border-bottom: 1px solid gray;
    border-top: 1px solid gray;
    border-right: 1px solid gray;
    background-color: lightgray;
}

    .Planning-cell-header {
        border-left: 1px solid gray;
        border-bottom: 1px solid gray;
        border-top: 1px solid gray;
        border-right: 1px solid gray;
        background-color: lightgray;
        font-weight: bold;
    }

    .Planning-cell-top {
        border-left: 1px solid gray;
        border-bottom: 1px solid gray;
        border-right: 1px solid gray;
        background-color: whitesmoke;
        font-weight: bold;
    }

    .Planning-cell-bottom {
        border-left: 1px solid gray;
        border-top: 1px solid gray;
        border-right: 1px solid gray;
        background-color: whitesmoke;
        font-weight: bold;
    }

    .Planning-row-resource {
        background-color: cornsilk;
    }

.Planning-row-edit {
    background-color: ivory;
}

.Planning-cell-noborder {
    background-color: white;
    border: 0px;
}

.Planning-cell-link {
    color: blue;
    cursor: pointer;
}

.Planning-row-locked {
    background-color: lightgray;
}

.Planning-row-compute {
    background-color: yellow;
}

.Planning-cell-reel {
    background-color: peru ;
}

.Planning-row-group {
    background-color: Wheat;
}

    .small {
        font-size: 0.6rem;
    }

    .medium {
        font-size: 0.8rem !important;
    }

    .searchclear {
        position: absolute;
        display: none;
        background-image: url("refuse_16.png");
        background-repeat: no-repeat;
        right: 65px;
        top: 0;
        bottom: 0;
        width: 16px;
        height: 16px;
        margin: auto;
        font-size: 14px;
        cursor: pointer;
        color: #ccc;
    }


    .font-12 {
        font-size: 1rem;
    }

    .font-16 {
        font-size: 16px;
    }

    .red {
        color: red;
    }

    .NumberError {
        color: red;
        font-weight: bold;
        background-color: #fbefee;
    }

    .hours {
        width: 47px;
        text-align: center;
        font-size: 16px;
    }

    .horaire {
        width: 80px;
        text-align: center;
        font-size: 16px;
    }

    .hoursMob {
        width: 80px;
        font-size: 16px;
    }

    .overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        background: #000;
        display: none;
        opacity: .6;
        filter: alpha(opacity=60);
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
        z-index: 998;
    }

.overlayMsg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    opacity: .6;
    filter: alpha(opacity=60);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    z-index: 998;
}

.loading {
    font-family: Arial;
    font-size: 10pt;
    border: 3px solid lightblue;
    top: 50%;
    left: 50%;
    margin-left: -100px; 
    margin-top: -50px;
    width: 200px;
    height: 100px;
    display: none;
    position: fixed;
    background-color: White;
    z-index: 999;
}

.text-vertical {
    writing-mode: vertical-lr;
    transform: rotate(-90deg);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -120px;
    width: 500px;
    height: 240px;
    display: none;
    background: #f5f5f5;
    z-index: 1500;
    border-radius: 6px;
}

    .categorie-Prov {
        background-color: rgb(238, 214, 178);
    }

    .CptAnalytic-Prov {
        background-color: rgba(238, 214, 178, 0.33);
    }

    .Lbl-Prov {
        color: rgb(238, 214, 178);
    }

    .categorie {
        background-color: rgb(178, 207, 238);
    }


    .categorie-Gray {
        background-color: lightgray;
    }

    .CptAnalytic {
        background-color: rgba(178, 207, 238, 0.33);
    }

    .CptOthers {
        background-color: papayawhip;
    }

    .Absence {
        background-color: tan;
    }

    .TotalCell {
        background-color: lightgray;
    }

    .popupAddAct {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -300px;
        margin-top: -125px;
        width: 600px;
        height: 250px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
    }

    .popupQte {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -170px;
        margin-top: -45px;
        width: 340px;
        height: 90px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

    #slider {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -150px;
        margin-top: -135px;
        width: 300px;
        height: 270px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

    .popupAddCde {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -175px;
        margin-top: -60px;
        width: 350px;
        height: 120px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

    .popupAddRes {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -300px;
        margin-top: -50px;
        width: 600px;
        height: 100px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

    .popupQuestion {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -250px;
        margin-top: -75px;
        width: 500px;
        height: 150px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

    .popupQuestionSP {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -160px;
        margin-top: -75px;
        width: 320px;
        height: 150px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

    .popupChantier {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -375px;
        margin-top: -140px;
        width: 750px;
        height: 280px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

.table-nowidth {
    max-width: 100%;
    background-color: transparent;
}
.popupMajSaisie {
    position: fixed;
    display: none;
    background: #f5f5f5;
    z-index: 999;
    border-radius: 6px;
}


    .popupMajRH {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -512px;
        margin-top: -300px;
        width: 1024px;
        height: 600px;
        display: none;
        background: #f5f5f5;
        /*z-index: 999;*/
        border-radius: 6px;
    }

    .popupQuestionMob {
        position: fixed;
        top: 50%;
        left: 50%;
        margin-left: -150px;
        margin-top: -50px;
        width: 300px;
        height: 100px;
        display: none;
        background: #f5f5f5;
        z-index: 999;
        border-radius: 6px;
    }

    .trunc {
        overflow: hidden;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: inline-block;
        padding-right: 15px;
        max-width: inherit;
        white-space: nowrap;
    }

    .image-inline {
        display: inline-flex;
    }

.PopupCustomValue {
    display: none;
    position: absolute;
}

    .PopupCustomValue .PopupCustomValueText {
        width: 80px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
    }

        .PopupCustomValue .PopupCustomValueText::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }
/*
.DispMessage { 
        -webkit-animation: seconds 0.5s forwards;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-delay: 10s;
        animation: seconds 0.5s forwards;
        animation-iteration-count: 1;
        animation-delay: 10s;
        opacity: 0;
    }
*/        
    .autocomplete {
        /*the container must be positioned relative:*/
        position: relative;
        display: inline-block;
    }

    .autocomplete-items {
        position: absolute;
        background-color: white;
        border: 1px solid #d4d4d4;
        border-top: none;
        display: none;
        z-index: 1100;
        /*position the autocomplete items to be the same width as the container:*/
        overflow: auto;
        left: 0;
        right: 0;
    }

        .autocomplete-items div {
            padding: 5px 5px 0px 5px;
            cursor: pointer;
            background-color: #eff;
            /*border-bottom: 1px solid #d4d4d4;*/
        }

            .autocomplete-items div:hover {
                /*when hovering an item:*/
                background-color: #e9e9e9;
            }

    .autocomplete-active {
        /*when navigating through the items using the arrow keys:*/
        background-color: DodgerBlue !important;
        color: #ffffff;
    }

    @-webkit-keyframes seconds {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            left: -9999px;
            position: absolute;
        }
    }

    @keyframes seconds {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            left: -9999px;
            position: absolute;
        }
    }

    .tooltipBox {
        margin: 8px;
        padding: 8px;
        border: 1px solid blue;
        background-color: mediumpurple;
        position: absolute;
        display: none;
        z-index: 2500;
    }



.TableFixHead thead th {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: inset 0 2px 0 #000000, inset 0 -2px 0 #000000;
    background-color: lightgray;
}

.TableFixHead thead td {
    border-top: none !important;
    border-bottom: none !important;
   
    background-color: gray;
}

/*
    Cellule récap mensuel
*/
@media screen and (max-width: 575px) {

    .no-display-smartphone{
        display:none;
    }

    .col-md-1, .col-md-2, col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        padding-right: 2px;
        padding-left: 2px;
    }
}

@media screen and (min-width: 576px) {
    .no-display-smartphone {
        display: block;
    }
    
    .modal-dialog {
        max-width: 540px;
        margin: 1.75rem auto;
    }

    .col-md-1, .col-md-2, col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        padding-right: 5px;
        padding-left: 5px;
    }
}

@media screen and (min-width: 768px) {
        .modal-dialog {
            max-width: 540px;
            margin: 1.75rem auto;
        }

        .cell-day {
            font-size: 0.4rem !important;
            min-width: 30px;
        }

        .cell-total {
            font-size: 0.4rem !important;
            width: 45px;
        }


        .cell-desi {
            font-size: 0.4rem !important;
            width: 90px;
        }

        .Visa-Big {
            font-size: 1rem;
        }

        .Visa-Medium {
            font-size: 0.8rem;
        }

    .Visa-Small td,
    input[type='text'],
    input[type='number'],
    input[type='password'],
    input[type='date'],
    input[type='time'],
    input[type='email'],
    select,
    textarea {
        font-size: 0.6rem !important;
    }

    .auto-size {
        font-size: 0.6rem;
    }

    }

    @media screen and (min-width: 1024px) {

        .modal-dialog {
            max-width: 540px;
            margin: 1.75rem auto;
        }

        .cell-day {
            font-size: 0.4rem !important;
            min-width: 30px;
        }

        .cell-total {
            font-size: 0.5rem !important;
            width: 50px;
        }

        .cell-desi {
            font-size: 0.5rem !important;
            width: 110px;
        }

        .Visa-Big {
            font-size: 1rem;
        }

        .Visa-Medium {
            font-size: 0.8rem;
        }

        .Visa-Small td,
        input[type='text'],
        input[type='number'],
        input[type='password'],
        input[type='date'],
        input[type='time'],
        input[type='email'],
        select,
        textarea {
            font-size: 0.6rem !important;
        }

        .auto-size {
            font-size: 0.6rem;
        }
    }

    @media screen and (min-width: 1280px) {

        .modal-dialog {
            max-width: 540px;
            margin: 1.75rem auto;
        }

        .cell-day {
            font-size: 0.5rem !important;
            min-width: 35px;
        }

        .cell-total {
            font-size: 0.6rem !important;
            width: 55px;
        }

        .cell-desi {
            font-size: 0.6rem !important;
            width: 150px;
        }

        .Visa-Big {
            font-size: 1rem;
        }

        .Visa-Medium {
            font-size: 0.8rem;
        }

        .Visa-Small td,
        input[type='text'],
        input[type='number'],
        input[type='password'],
        input[type='date'],
        input[type='time'],
        input[type='email'],
        select,
        textarea {
            font-size: 0.6rem !important;
        }

        .auto-size {
            font-size: 0.6rem;
        }
    }

    @media screen and (min-width: 1450px) {
        .modal-dialog {
            max-width: 600px;
            margin: 1.75rem auto;
        }

        .cell-day {
            font-size: 0.6rem !important;
            min-width: 40px;
        }

        .cell-total {
            font-size: 0.7rem !important;
            width: 65px;
        }

        .cell-desi {
            font-size: 0.7rem !important;
            min-width: 170px;
            max-width: 380px;
        }

        .Visa-Big {
            font-size: 1rem;
        }

        .Visa-Medium {
            font-size: 0.8rem;
        }

        .Visa-Small td,
        input[type='text'],
        input[type='number'],
        input[type='password'],
        input[type='date'],
        input[type='time'],
        input[type='email'],
        select,
        textarea {
            font-size: 0.7rem !important;
        }

        .auto-size {
            font-size: 0.7rem;
        }
    }

.nav-tabs-right {
    text-align: right;
}

.nav-tabs-right > li {
    display: inline-block;
    float: none;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: cornflowerblue;
    border-color: #4e555b;
}

.no-border-collapse{
    border-top: 0px;
    border-bottom: 0px;
}


.sdplan-fixed-col {
    position: sticky;
    left: 0;
}

.sdplan-sel-res {
    background-color: cornflowerblue;
}

.act-sel-ligne {
    background-color: Highlight;
}

.navbar .dropdown-menu {
    background-color: #343a40;
}

.navbar .dropdown-item {
    color: #fff;
}

    .navbar .dropdown-item:hover {
        background-color: #343a40;
        color: rgba(255, 255, 255, 0.75);
    }

.notificationBadge {
    position: absolute;
    top: -2px;
    right: -2px;
    padding: 1px 6px;
    border-radius: 50%;
    background-color: red;
    color: white;
    font-size: 8pt;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
    margin-top: 25px;
    display: block;
    margin: auto;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

select.form-control:not([size]):not([multiple]) {
    /*height: 28px;*/
}

.form-row > .col, .form-row > [class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 0;
}


.trunc-fixed {
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding-right: 15px;
    max-width: inherit;
    white-space: nowrap;
}

.APT-OBJ {
    text-align: center;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
    overflow: hidden;
}

.APT-PREV {
    border: 2px solid red;
    line-height: 12px !important;
}

.dotted-orange {
    background-image: radial-gradient(highlight 10%, transparent 10%);
    background-image: -moz-radial-gradient(highlight 10%, transparent 10%);
    background-image: -webkit-radial-gradient(highlight 10%, transparent 10%);
    -webkit-background-size: 3px 3px;
    -moz-background-size: 3px 3px;
    background-size: 3px 3px;
}

.dotted-red {
    background-image: radial-gradient(red 20%, transparent 20%);
    background-image: -moz-radial-gradient(red 20%, transparent 20%);
    background-image: -webkit-radial-gradient(red 20%, transparent 20%);
    -webkit-background-size: 3px 3px;
    -moz-background-size: 3px 3px;
    background-size: 3px 3px;
}

.infinite-bottom-scrollbar {
    height: 10px;
    
}

.special-right-scrollbar::-webkit-scrollbar {
    width: 8px;
}  

.msg-warning {
    color: darkorange;
    font-weight: bold;
    /*margin-bottom: 0px;*/
}

/*
.input-group-text {
    padding: 0.375rem 0.375rem;
}
*/
.form-control {
    padding: 0.375rem 0.375rem;
}

.Chantier-journee{
    min-width: 70px;
}

.input-group-text-sml-padding {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.375rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;    
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.font-6d{
    font-size: 0.6rem !important;
}

.nav-link-small {
    display: block;
    padding: 0.5rem 0.5rem;
}

.cbo-nav-padding {
    padding: 0.5rem 0.5rem;
}

.left-border{
    border-left: 1px solid gray;
}

.right-border {
    border-right: 1px solid gray;
}

.nav-tabs .nav-link-small {
    color: #495057;
    background-color: #eee;
    border-color: #dee2e6 #dee2e6 #eee;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.nav-tabs .nav-link-small.active, .nav-tabs .nav-item.show .nav-link-small {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.no-padding-hor{
    padding-left: 0px;
    padding-right: 0px;
}

.bg-entretien {
    background-color: #ffc107 !important;
    border-color: #bf9005 !important;
}

.PlanOver:hover td {
    background-color: burlywood !important;
}

.small-row {
    line-height: 5px;
}

.rotate {
    position: absolute;
    text-align: center;
    width: 100%;
    top: 50%;
    left: 50%;
    font-size: 0.5rem !important;
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    /* Legacy vendor prefixes that you probably don't need... */
    /* Safari */
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    /* Firefox */
    -moz-transform: translateY(-50%) rotate(-90deg);
    /* IE */
    -ms-transform: translateY(-50%) rotate(-90deg);
    /* Opera */
    -o-transform: translateY(-50%) rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

#LstSalFor th {
    background-color: white;
}

.bg-detail-visarh {
    background-color: #CED8E1;
}

.Font-H1 {
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.5em !important;
    text-align: center;
    border: 2px solid grey ;
}

.currentMonth {
    color:blue;
}

.table-sm th, .table-sm td {
    padding: 0.1rem;
}