body {

    position: relative;
}
div.dataTables_wrapper div.dataTables_processing {z-index: 99999}
@media print {
  .noPrint {display: none}
}
ul.select2-selection__rendered {
    padding-right: 30px !important;
}

ul.select2-selection__rendered:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid #333;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
.infowindow h3 {font-size:22px;margin-top:0;margin-bottom: 5px;margin-top:0;}
.infowindow hr {margin-bottom: 10px;margin-top: 10px}
.clear {clear:both;}
.select-checkbox {cursor: pointer}
table.dataTable tbody td.select-checkbox:before, table.dataTable tbody td.select-checkbox:after, table.dataTable tbody th.select-checkbox:before, table.dataTable tbody th.select-checkbox:after {
  position:relative;top:inherit;
}
table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before {
  margin-top:0;
}
table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
  margin-top:-13px;
}
.sidebar .logo .simple-text, .off-canvas-sidebar .logo .simple-text {white-space:normal;}
.sidebar .logo .simple-text.logo-mini {display:none;}
.sidebar .logo {max-height:200px;height:200px;text-align: center;white-space:normal;}
.sidebar .logo img {white-space:normal;line-height: inherit;vertical-align:inherit;}
.sidebar-mini .sidebar .logo {height:75px;white-space:nowrap;}
.sidebar-mini .sidebar .logo .simple-text.logo-mini {display: inline-block}
.sidebar .logo .simple-text, .off-canvas-sidebar .logo .simple-text {font-size:10px;}
.login-logo {text-align: center}
.user .info {text-align: center;color:white;}
select.form-control {padding:5px 17px;}
.main-panel > .content {background:url("/public/img/background/geobloc2.jpg") no-repeat top center;background-size: cover;}
div.dataTables_wrapper div.dataTables_length select {width:91px;text-align: center}
.clickable {cursor: pointer}
.login-page .card {margin-bottom: 0}
.login-page > .content, .lock-page > .content {padding-top:5vh;}
#comm {cursor:pointer;}
.no-results{
    cursor: pointer;
}

.sidebar-wrapper {    background-color: #542b06;}
.sidebar .sidebar-wrapper > .nav li > a, .off-canvas-sidebar .sidebar-wrapper > .nav li > a {margin:0;}
.verticalalign {margin-top:10%;}

#showfilter {left:20px;margin-top:15px;position:absolute;z-index:5000;}
#filtermap {left:20px;margin-top:50px;display:none;position:absolute;z-index:5000;background:#FFFFFF;padding:10px;}
@media (max-height: 600px) {
	.login-page > .content, .lock-page > .content {padding-top:1vh;}
}
.navbar-brand .miniLogo {display:none;}
@media (max-width: 1285px) {
    .jexcel_content {width: calc(100vw + 265px) !important}
}
@media (max-width: 1400px) {
    body {zoom:70%;min-height:140vh;}
    body .wrapper {min-height: 140vh}
    body .main-panel > .content {min-height: calc(140vh - 75px);}
}
.error-field {border:2px solid red !important}
@media (max-width: 996px) {



	.navbar-brand .miniLogo {display:inline-block;}
}
.toolbar {    float: left;
    padding: 4px 0 0 15px;
    position: absolute;
}
.easy-autocomplete {width:100% !important;}
.easy-autocomplete-container {z-index: 9999}
#message.alert-success span {font-weight: bold;font-size:19px;}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  background-color:#ffed00;
}
.fa.fa-calendar {cursor:pointer;}
a.navbar-brand {cursor: default;}
.cboth {clear:both;}
.firstLine {margin-bottom: 15px}
.delLine {color:red;cursor:pointer;}
.bootstrap-select .btn {border-radius: 4px;border-color:#e8e7e3 !important;}
.has-error .input-group-addon {color:red;border-color:red;}
.form-control {background-color:#fbfbfb;}
.error.help-block {color:#a94442;}
.form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #92887c;
}
.form-control::-moz-placeholder { /* Firefox 19+ */
  color: #92887c;
}
.form-control:-ms-input-placeholder { /* IE 10+ */
  color: #92887c;
}
.form-control:-moz-placeholder { /* Firefox 18- */
  color: #92887c;
}
.has-error .form-control::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #FFF;
}
.has-error .form-control::-moz-placeholder { /* Firefox 19+ */
  color: #FFF;
}
.has-error .form-control:-ms-input-placeholder { /* IE 10+ */
  color: #FFF;
}
.has-error .form-control:-moz-placeholder { /* Firefox 18- */
  color: #FFF;
}
.form-control.iptGroup{padding-left:2px;padding-right:2px;}
.bigIcon {font-size:30px;}
.checkbox.row input[type="text"].form-control {height:22px;padding:2px;font-size:12px;}
.has-error .form-control.ignore, .form-control.error.ignore {    background-color: #F9F9F9;color: #66615b;border: 1px solid #e8e7e3;}

form .form-group label.control-label {text-align: left}
form .form-group label.control-label.iconR {text-align:right}
form h4 {background:#d1c5ab;padding:10px;color:#484848;}
form h4.first {background:#66615b;color:white;}
form h4 span {color:red;font-weight: normal;font-size: 15px;color:#ef6868;font-style:italic;float:right;margin-right:5px;}
form .form-group.col-lg-6 .control-label.col-lg-4 {padding-left:0;}
form input[type="text"]:focus {background-color:#FAFFBD;}

.noPadding {padding-right:5px;}
.noPadding .input-group select.form-control:not(:first-child):not(:last-child) {border-right: 1px solid #e8e7e3;}


.statistique .label-bg1 {background-color:#68B3C8;}
.statistique .label-bg2 {background-color:#F3BB45;}
.statistique .label-bg3 {background-color:#EB5E28;}
.statistique .label-bg4 {background-color:#7AC29A;}
.statistique .label-bg5 {background-color:#7A9E9F;}
.statistique .label-bg6 {background-color:rgb(106, 106, 230);}
.ct-series-f .ct-point, .ct-series-f .ct-line, .ct-series-f .ct-bar, .ct-series-f .ct-slice-donut {stroke:rgb(106, 106, 230);}
.ct-series-f .ct-slice-pie, .ct-series-f .ct-area {fill:rgb(106, 106, 230);}


.infowindow {font-size:20px;}
.dissocier {cursor: pointer;color:red;}
table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected {
    background-color: hsl(200deg 100% 40%) !important;
}
table.dataTable tbody>tr.selected td, table.dataTable tbody>tr>.selected td {
    background-color: hsl(200deg 100% 40%) !important;color: white !important;
}

table.dataTable tbody>tr.selected td strong, table.dataTable tbody>tr>.selected td strong{
    color: white !important;
}

table.dataTable tbody>tr.selected.firstSelected, table.dataTable tbody>tr>.selected.firstSelected {
  background:#532b06 !important;
}


div .yadcf-filter-wrapper {display:block;width:120px;}
div .yadcf-filter-wrapper select {width:150px;max-width: 90%;display: inline-block;}
div#page-2 .yadcf-filter-wrapper select {width:100px;}
div div .yadcf-filter-reset-button {    position: absolute;
    left: 0;
}
div .yadcf-filter-wrapper .yadcf-filter-range-number {width:80px;}
div .yadcf-filter-range-number-seperator {margin-right:5px;}
div .yadcf-filter-range-number-seperator {margin-left:5px;}
div .yadcf-filter-reset-button {
  background:none;
  border:none;
  padding:3px;
  color:red;
  cursor:pointer;
  font-weight: bold;
}
table.dataTable thead tr th .yadcf-filter,
table.dataTable thead tr th .yadcf-filter-range,
table.dataTable thead tr th .yadcf-filter-date   {
  border:none;
  border-radius: 3px;
  padding:5px 5px 10px 5px;
}

table.dataTable thead tr th .yadcf-filter-wrapper {text-align: left;font-size:14px;font-weight: normal;color:black;float:left;
    clear: both;
    width: 80%;}
.yadcf-filter.inuse {background: #8bbef0 !important;}
.yadcf-filter.inuse.select2-container {background: transparent !important;}
.yadcf-filter.inuse .select2-choices {background: #8bbef0 !important;}
table.table-bordered.dataTable th {background:#F3F2EE;}
.yadcf-filter-wrapper-inner {border:none;}
div .yadcf-filter-wrapper input {
    width: 150px;
    max-width: 90%;
    display: inline-block;
}
div#page-2 .yadcf-filter-wrapper input {
  width:100px;
}

div .yadcf-filter-wrapper input.yadcf-filter-range {
    width: 70px;
    max-width: 40%;
}

div#page-2 .yadcf-filter-wrapper input.yadcf-filter-range {width:70px;}

span.thHead {
  display: inline-block;
    width: 90%;
}

.float-left{float:left;}

.totalLigne {
    margin-left: 15px;
    height: 31px;
    line-height: 31px;
    margin-bottom: 0;
    padding-top: 0;
    margin-top: 0;
    background: #F3F2EE;
    color: white;
    padding: 0 10px;
    color:rgb(92, 54, 19);
}

.resetTable {
    margin-left: 15px;
    height: 31px;
    line-height: 31px;
    margin-bottom: 0;
    padding-top: 0;
    margin-top: 0;
    background: #ff0000;
    cursor:pointer;
    color: white;
    padding: 0 10px;
    color:rgb(92, 54, 19);
}
.resetTable:before {
    content:"Réinitialiser les filtres";
    color:white;
}

.overAuto {overflow:auto;}






/*************** SCROLLBAR BASE CSS ***************/
.scroll-wrapper {
    overflow: hidden !important;
    padding: 0 !important;
    position: relative;
}
.scroll-wrapper > .scroll-content {
    border: none !important;
    box-sizing: content-box !important;
    height: auto;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none !important;
    overflow: scroll !important;
    padding: 0;
    position: relative !important;
    top: 0;
    width: auto !important;
}
.scroll-wrapper > .scroll-content::-webkit-scrollbar {
    height: 0;
    width: 0;
}
.scroll-element {
    display: none;
}
.scroll-element, .scroll-element div {
    box-sizing: content-box;
}
.scroll-element.scroll-x.scroll-scrollx_visible,
.scroll-element.scroll-y.scroll-scrolly_visible {
    display: block;
}
.scroll-element .scroll-bar,
.scroll-element .scroll-arrow {
    cursor: default;
}
.scroll-textarea {
    border: 1px solid #cccccc;
    border-top-color: #999999;
}
.scroll-textarea > .scroll-content {
    overflow: hidden !important;
}
.scroll-textarea > .scroll-content > textarea {
    border: none !important;
    box-sizing: border-box;
    height: 100% !important;
    margin: 0;
    max-height: none !important;
    max-width: none !important;
    overflow: scroll !important;
    outline: none;
    padding: 2px;
    position: relative !important;
    top: 0;
    width: 100% !important;
}
.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
    height: 0;
    width: 0;
}
/*************** SCROLLBAR RAIL ***************/
div .dataTables_scrollBody > .scroll-element,
div .dataTables_scrollBody > .scroll-element div
{
    border: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    z-index: 10;
}
div .dataTables_scrollBody > .scroll-element {
    background-color: #ffffff;
}
div .dataTables_scrollBody > .scroll-element div {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}
div .dataTables_scrollBody > .scroll-element .scroll-element_size {
    background-color: #999;
    background-color: rgba(0, 0, 0, 0.3);
}
div .dataTables_scrollBody > .scroll-element .scroll-element_outer:hover .scroll-element_size {
    background-color: #666;
    background-color: rgba(0, 0, 0, 0.5);
}
div .dataTables_scrollBody > .scroll-element.scroll-x {
    bottom: 0;
    height: 20px;
    left: 0;
    min-width: 100%;
    padding: 3px 0 2px;
    width: 100%;
}
div .dataTables_scrollBody > .scroll-element.scroll-y {
    height: 100%;
    min-height: 100%;
    padding: 0 2px 0 3px;
    right: 0;
    top: 0;
    width: 20px;
}
div .dataTables_scrollBody > .scroll-element .scroll-bar {
    background-color: #542b06;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
div .dataTables_scrollBody > .scroll-element .scroll-element_outer:hover .scroll-bar {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
/* scrollbar height/width & offset from container borders */
div .dataTables_scrollBody > .scroll-content.scroll-scrolly_visible { left: -17px; margin-left: 17px; }
div .dataTables_scrollBody > .scroll-content.scroll-scrollx_visible { margin-top: 17px; top: -17px; }
div .dataTables_scrollBody > .scroll-element.scroll-x .scroll-bar { height: 30px; min-width: 10px; top: 1px; }
div .dataTables_scrollBody > .scroll-element.scroll-y .scroll-bar { left: 1px; min-height: 10px; width: 30px; }
div .dataTables_scrollBody > .scroll-element.scroll-x .scroll-element_outer { height: 30px; left: 5px; }
div .dataTables_scrollBody > .scroll-element.scroll-x .scroll-element_size { height: 2px; left: -10px; top: 12px; }
div .dataTables_scrollBody > .scroll-element.scroll-y .scroll-element_outer { top: 5px; width: 30px; }
div .dataTables_scrollBody > .scroll-element.scroll-y .scroll-element_size { left: 12px; top: -10px; width: 2px; }
/* update scrollbar offset if both scrolls are visible */
div .dataTables_scrollBody > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -25px; }
div .dataTables_scrollBody > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -25px; }
div .dataTables_scrollBody > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -25px; }
div .dataTables_scrollBody > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -25px; }


.footer .copyright {margin-bottom: 0}


div.tableScroll .dataTables_scrollBody {
    min-height:225px;
    max-height: calc(100vh - 625px);
}
.statistique.deplacements  div.tableScroll .dataTables_scrollBody {
    min-height:250px;
    max-height: calc(100vh - 380px);
}
div.tableScroll div.dataTables_scrollBody .yadcf-filter-reset-button {
    display: none;
}


.outborder {color: #542b06;background:#ffed00;border:1px solid #F3BB45;padding:5px;border-radius: 5px;}
.cadre {border:1px solid #CECECE;border-radius: 5px;padding:15px;margin:15px 0;}

@media (max-width: 980px) {
    div.tableScroll .dataTables_scrollBody {
        min-height:250px;
        max-height: 300px;
    }
}

.hrButton {margin-bottom:5px;border-bottom:1px solid #5a3412;padding-bottom:5px;}

@media (max-width: 992px) {
    .copyright {display: none}
}
/*
.zoomed2x {
    zoom: 50%;
    -moz-transform: scale(0.5);
}
body.zoomed2x .wrapper {
    min-height: 200vh;
}

.main-panel > .content {
    padding: 30px 15px 0 15px;
    min-height: calc(100vh - 75px);
}
body.zoomed2x .main-panel > .content {
    min-height: calc(200vh - 75px);
}

body.zoomed2x div.tableScroll .dataTables_scrollBody {
    min-height:250px;
    max-height: calc(200vh - 520px);
}

body.zoomed2x .sidebar[data-background-color="brown"] .nav li > a > p{
    font-size:10px;
    font-weight: normal;
    letter-spacing: inherit;
}*/


table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    position: absolute;top:5px;right:5px;
}


div.dropdown-menu.open{
  max-height: 354px !important;
  overflow: hidden;
}
ul.dropdown-menu.inner{
  max-height: 300px !important;
  overflow-y: auto;
}






form a.btn.disabled,
form button.btn.disabled{
    font-size:0px;
}

form a.btn.disabled:after,
form button.btn.disabled:after{
    content: " Envoi en cours...";
    font-size:14px;
}

.isHightlight {
        background-color: #eeeb8e;
}
form a.btn.disabled .fa:before,
form button.btn.disabled .fa:before {
    content:"\f110" !important;
    font-size:14px !important;
}


.visible {display: block !important;}
.notVisible {display: none !important;}

.select2-selection--single {
  height: 100% !important;
}
.select2-selection__rendered{
  word-wrap: break-word !important;
  text-overflow: inherit !important;
  white-space: normal !important;
}


.demande.form .input-group {
    margin-bottom: 0;
}
.demande.form .error.help-block {
    display: none !important;
}

.demande.form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 6px;
    line-height: 28px;
}
.select2-container .select2-results__option.optInvisible {
    display: none;
}




.has-error .form-control, .form-control.error, .has-error  .select2-selection__rendered {
    background-color: #FFC0A4;
    color: #EB5E28;
    border-color: #EB5E28;
}
.has-error  .select2-selection__placeholder {

    color: white !important;
}
.has-error .form-control-feedback, .has-error .control-label {
    color: inherit;
}

.showHideNext {cursor: pointer}
.redline {background: #f0a2a2 !important;}
.axibalcolor {background: #ce83f8 !important;}

.orangeline {background: #ffbb8e !important;}
.orangeline1 {background: #8ebbff !important;}
.greenline {background: #b6d58e !important;}

.table th {position: relative;}


.legende {float: right;margin-bottom: -30px;}

.legende span { border:1px solid black;height:15px;width:30px;display: inline-block; }
.legende .legende1 span {background: #ffbb8e}
.legende .legende11 span {background: #8ebbff}
.legende .legende2 span {background: #f0a2a2}
.legende .legende3 span {background: #b6d58e}

.legende .legende5 span {background: #ffbb8e}
.legende .legende6 span {background: #8ebbff}

.table-loader{
   visibility:hidden;
}
.table-loader:after {
    content: "CHARGEMENT EN COURS...";
    position: absolute;
    top: 250px;
    left: calc(50vw - 220px - 90px);
    z-index: 15155115155151;
    color: hsl(0deg 0% 100%);
    background: hsl(29deg 87% 12%);
    font-size: 18px;
    font-weight: bold;
    display: block;
    visibility: visible;
    padding: 30px;
    opacity: 0.5;
}
.table-loader:before {
    visibility:visible;
    display:table-caption;
    content: " ";
       width: calc(100vw - 260px - 90px);
        height: 600px;
        background-image:
        linear-gradient( rgba(235, 235, 235, 1) 1px, transparent 0 ),
      linear-gradient(90deg, rgba(235, 235, 235, 1) 1px, transparent 0 ),
      linear-gradient( 90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 15%, rgba(255, 255, 255, 0) 30% ),
      linear-gradient( rgba(240, 240, 242, 1) 35px, transparent 0 )
            ;

        background-repeat: repeat;

        background-size:
            1px 35px,
            calc(100% * 0.1666666666) 1px,
      30% 100%,
      2px 70px;

        background-position:
            0 0,
      0 0,
      0 0,
            0 0;

        animation: shine 0.5s infinite;
    }

    @keyframes shine {
        to {
            background-position:
                0 0,
        0 0,
        40% 0,
                0 0;
        }
    }


.bootstrap-select {
    max-width: 100% !important;
    width: 100% !important;
}
.carte.dispatcheur .bootstrap-select.btn-group .dropdown-toggle .caret {
    right: 2px;
}
.dtrg-level-0 th {background-color: #ffed00 !important;color: black !important;}
.dtrg-end.dtrg-level-1 strong {font-weight: normal;}


.leaflet-control-fullscreen-button {
    background-image: url(public/img/fullscreen-light.png) !important;
}

.checkLieu {cursor: pointer;color: black;}
.aVenir {cursor: pointer;text-decoration: underline;}
.estPerdues {cursor: pointer;text-decoration: underline;}
.livraisons {cursor: pointer;text-decoration: underline;}
.allP {cursor: pointer;text-decoration: underline;}



.legendes  {float: right;line-height: 25px;}
.legendes .termine {margin-left: 20px;display: inline-block;background:#a6a6a6;height: 15px;width: 25px}
.legendes .agentNord {margin-left: 20px;display: inline-block;background:#92d050;height: 15px;width: 25px}
.legendes .agentSud {margin-left: 20px;display: inline-block;background:#ffed00;height: 15px;width: 25px}
.legendes .agentNational {margin-left: 20px;display: inline-block;background:#ff00c8;height: 15px;width: 25px}
.fc-unthemed .fc-today {background-color: white;}


@media (max-width: 1250px) {
    .cssAgent .container-fluid .row .col-lg-12 .card {
        height: 80%;
    }
    .cssAgent body .main-panel > .content {
        min-height: calc(140vh - 375px);
    }
    .cssAgent .wrapper {
        height: calc(100vh - 300px);
    }
    .cssAgent body .wrapper {
         min-height: auto !important;
    }
    .cssAgent body {
         min-height: auto !important;
    }
}
@media (max-width: 1024px) {
    .cssAgent .card {border-radius: 0;}
    .cssAgent .content {    height: calc(100vh - 175px) !important;}
    .cssAgent .container-fluid .row {height: 100%;}
    .cssAgent .container-fluid .row .col-lg-12 {height: 100%;}
    .cssAgent .container-fluid .row .col-lg-12 .card {height: 100%;}
    .cssAgent.addPointage .container-fluid .card-content {    height: calc(100vh - -158px) !important;}

    .cssAgent div.tableScroll .dataTables_scrollBody {
        min-height:250px;
        max-height: calc(100vh - 155px);
    }

    .cssAgent .main-panel {
            overflow: hidden;
    }

    .cssAgent .container-fluid .row .col-lg-12 .card {
        height: 80%;
    }
    .cssAgent body .main-panel > .content {
        min-height: calc(140vh - 375px);
    }
    .cssAgent .wrapper {
        height: calc(100vh - 300px);
    }
    .cssAgent body .wrapper {
         min-height: auto !important;
    }
    .cssAgent body {
         min-height: auto !important;
    }
}
@media (max-width: 689px) {
    .cssAgent .container-fluid .row .col-lg-12 .card {
        height: 80%;
    }
    .cssAgent body .main-panel > .content {
        min-height: calc(140vh - 275px);
    }
    .cssAgent .wrapper {
        height: calc(100vh - 100px);
    }
    .cssAgent body .wrapper {
         min-height: auto !important;
    }
    .cssAgent body {
         min-height: auto !important;
    }
}
.popover {
    max-width: 750px;
    /* If max-width does not work, try using width instead */
    width: 750px;background:#e1c091;
}
.popover.top {margin-top:10px !important}
.popover-title {background:black;}
.popover-title strong {color:white}
.popover-content {overflow:auto; max-height:350px;}
.popover-content a {text-decoration: underline !important;color:purple;}
.popover-content hr {margin:5px 0}
.statistiques div.tableScroll .dataTables_scrollBody {
    min-height:250px;
    max-height: calc(100vh - 500px);}




.swal2-content .custom-tabs {
  display: flex;
  border: 1px solid #ddd;
  min-height: 200px;
}

.swal2-content .tab-menu {
  width: 200px;
  border-right: 1px solid #ccc;
  background: #f7f7f7;
}

.swal2-content .tab-link {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
}

.swal2-content .tab-link.active {
  background: #fff;
  font-weight: bold;
}

.swal2-content .tab-content-box {
  flex: 1;
  padding: 10px;
}

.swal2-content .tab-pane {
  display: none;
}

.swal2-content .tab-pane.active {
  display: block;
}




    
/* === Search Bar === */
.searchbar {
  height: 48px;
  width: 100%;
  background: #2196f3;
  box-sizing: border-box;
  padding: 0 16px;
  overflow: hidden;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  color: #fff;
}
.searchbar.no-shadow {
  box-shadow: none;
}
.searchbar a {
  position: relative;
  color: #fff;
}
.searchbar a:before {
  content: '';
  width: 152%;
  height: 152%;
  position: absolute;
  left: -26%;
  top: -26%;
  background-image: -webkit-radial-gradient(center, circle cover, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%);
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 66%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  opacity: 0;
  pointer-events: none;
  -webkit-transition-duration: 600ms;
  transition-duration: 600ms;
}
html:not(.watch-active-state) .searchbar a:active:before,
.searchbar a.active-state:before {
  opacity: 1;
  -webkit-transition-duration: 150ms;
  transition-duration: 150ms;
}
.searchbar .searchbar-input {
  width: 100%;
  height: 32px;
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex-shrink: 1;
  -ms-flex: 0 1 auto;
  flex-shrink: 1;
}
.searchbar input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  display: block;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  border-radius: 0;
  font-family: inherit;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  padding: 0;
  border-bottom: 1px solid #fff;
  height: 100%;
  padding: 0 36px 0 24px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 0 center;
  opacity: 0.6;
  -webkit-background-size: 24px 24px;
  background-size: 24px 24px;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D'%23FFFFFF'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M15.5%2014h-.79l-.28-.27C15.41%2012.59%2016%2011.11%2016%209.5%2016%205.91%2013.09%203%209.5%203S3%205.91%203%209.5%205.91%2016%209.5%2016c1.61%200%203.09-.59%204.23-1.57l.27.28v.79l5%204.99L20.49%2019l-4.99-5zm-6%200C7.01%2014%205%2011.99%205%209.5S7.01%205%209.5%205%2014%207.01%2014%209.5%2011.99%2014%209.5%2014z'%2F%3E%3Cpath%20d%3D'M0%200h24v24H0z'%20fill%3D'none'%2F%3E%3C%2Fsvg%3E");
}
.searchbar input[type="search"]::-webkit-input-placeholder {
  color: #ffffff;
  opacity: 1;
}
.searchbar input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.searchbar .searchbar-clear {
  position: absolute;
  width: 56px;
  height: 100%;
  right: -16px;
  top: 0;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D'%23fff'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%2F%3E%3Cpath%20d%3D'M0%200h24v24H0z'%20fill%3D'none'%2F%3E%3C%2Fsvg%3E");
  -webkit-background-size: 24px 24px;
  background-size: 24px 24px;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  cursor: pointer;
}
.searchbar .searchbar-cancel {
  display: none;
}
.searchbar.searchbar-active input[type="search"] {
  opacity: 1;
}
.searchbar.searchbar-active .searchbar-clear {
  pointer-events: auto;
  opacity: 1;
}
.searchbar.searchbar-not-empty .searchbar-clear {
  pointer-events: auto;
  opacity: 1;
}
.searchbar-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.25);
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.searchbar-overlay.searchbar-overlay-active {
  opacity: 1;
  pointer-events: auto;
}
.searchbar-not-found {
  display: none;
}

.searchbar {
    height: 48px;
    width: 100%;
    background-color: #607d8b;
    box-sizing: border-box;
    padding: 0 16px;
    overflow: hidden;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    color: #fff;
}
.searchbar .searchbar-input {
    width: 100%;
    height: 32px;
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex-shrink: 1;
    -ms-flex: 0 1 auto;
    flex-shrink: 1;
}
#searchBar input {
    padding: 0 24px 0 24px;
    font-size: 13px;
}
.searchbar.searchbar-active input[type=search] {
    opacity: 1;
}
.searchbar input[type=search] {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    display: block;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    border-radius: 0;
    font-family: inherit;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    border-bottom: 1px solid #fff;
    height: 100%;
    padding: 0 36px 0 24px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 center;
    opacity: .6;
    -webkit-background-size: 24px 24px;
    background-size: 24px 24px;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D'%23FFFFFF'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M15.5%2014h-.79l-.28-.27C15.41%2012.59%2016%2011.11%2016%209.5%2016%205.91%2013.09%203%209.5%203S3%205.91%203%209.5%205.91%2016%209.5%2016c1.61%200%203.09-.59%204.23-1.57l.27.28v.79l5%204.99L20.49%2019l-4.99-5zm-6%200C7.01%2014%205%2011.99%205%209.5S7.01%205%209.5%205%2014%207.01%2014%209.5%2011.99%2014%209.5%2014z'%2F%3E%3Cpath%20d%3D'M0%200h24v24H0z'%20fill%3D'none'%2F%3E%3C%2Fsvg%3E");
}
.pac-target-input:not(:-webkit-autofill) {
    animation-name: endBrowserAutofill;
}

.searchbar.searchbar-not-empty .searchbar-clear {
    pointer-events: auto;
    opacity: 1;
}

.searchbar.searchbar-active .searchbar-clear {
    pointer-events: auto;
    opacity: 1;
}
.searchbar .searchbar-clear {
    position: absolute;
    width: 56px;
    height: 100%;
    right: -16px;
    top: 0;
    opacity: 0;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D'%23fff'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%2F%3E%3Cpath%20d%3D'M0%200h24v24H0z'%20fill%3D'none'%2F%3E%3C%2Fsvg%3E");
    -webkit-background-size: 24px 24px;
    background-size: 24px 24px;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    cursor: pointer;
}
.searchbar a:before {
    content: '';
    width: 152%;
    height: 152%;
    position: absolute;
    left: -26%;
    top: -26%;
    background-image: -webkit-radial-gradient(center,circle cover,rgba(255,255,255,.15) 66%,rgba(255,255,255,0) 66%);
    background-image: radial-gradient(circle at center,rgba(255,255,255,.15) 66%,rgba(255,255,255,0) 66%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    opacity: 0;
    pointer-events: none;
    -webkit-transition-duration: .6s;
    transition-duration: .6s;
}

td.badPointage {background: red;color:white}


.bgStatut {padding:3px;border-radius: 3px;margin-bottom: 3px;display: inline-block;width: 100%}

#page-3 .bgStatut.bgStatut0,
#page-3 option[value*='- Demande transmise'],
#page-3 option[value*='- Non traitée'] { 
    background-color: #ff0000;
    color:white;
}

#page-3 .bgStatut.bgStatut1,
#page-3 option[value*='- Envoyée'],
#page-3 option[value*='- Consultation'] { 
    background-color: #ff5050;
    color:white;
}



#page-3 .bgStatut.bgStatut2,
#page-3 option[value*='- Réponse des transporteurs'],
#page-3 option[value*='- En attente de sélection par AXIMUM'] { 
    background-color: #ffa500;
    color:white;
}



#page-3 .bgStatut.bgStatut3,
#page-3 option[value*='- Transporteur sélectionné'],
#page-3 option[value*='- Non sélectionné par AXIMUM'] { 
    background-color: #ffbe47;
    color:white;
}


#page-3 .bgStatut.bgStatut4,
#page-3 option[value*='- Devis transmis'] { 
    background-color: #f5f54f;
    color:black;
}




#page-3 .bgStatut.bgStatut51,
#page-3 option[value*='- Sélectionné par AXIMUM'] { 
    background-color: #ffff00;
    color:black;
}


#page-3 .bgStatut.bgStatut5,
#page-3 option[value*='- Devis validé'] { 
    background-color: #e800ff;
    color:black;
}


#page-3 .bgStatut.bgStatut52,
#page-3 option[value*='- Devis refusé'] { 
    background-color: #d77d1c;
    color:black;
}


#page-3 .bgStatut.bgStatut6,
#page-3 option[value*='- Commandée'] { 
    background-color: #007e00;
    color:white;
}


#page-3 .bgStatut.bgStatut7,
#page-3 option[value*='- Transport effectué'] { 
    background-color: #00bb00;
    color:white;
}

#page-6 .bgStatut.bgStatut0,
#page-6 option[value*='- Demande transmise'],
#page-6 option[value*='- Non traitée'] { 
    background-color: #ff0000;
    color:white;
}

#page-6 .bgStatut.bgStatut1,
#page-6 option[value*='- Envoyée'],
#page-6 option[value*='- Consultation'] { 
    background-color: #ff5050;
    color:white;
}



#page-6 .bgStatut.bgStatut2,
#page-6 option[value*='- Réponse des transporteurs'],
#page-6 option[value*='- En attente de sélection par AXIMUM'] { 
    background-color: #ffa500;
    color:white;
}



#page-6 .bgStatut.bgStatut3,
#page-6 option[value*='- Transporteur sélectionné'],
#page-6 option[value*='- Non sélectionné par AXIMUM'] { 
    background-color: #ffbe47;
    color:white;
}


#page-6 .bgStatut.bgStatut4,
#page-6 option[value*='- Devis transmis'] { 
    background-color: #f5f54f;
    color:black;
}

#page-6 #table6_filter .form-control.input-sm {
    height:31px;margin-right:15px;
}
.dispatcheur li.active .fa-search:before {    content: "\f002" !important;position: relative !important;border:0 !important}


#page-6 .bgStatut.bgStatut51,
#page-6 option[value*='- Sélectionné par AXIMUM'] { 
    background-color: #ffff00;
    color:black;
}


#page-6 .bgStatut.bgStatut5,
#page-6 option[value*='- Devis validé'] { 
    background-color: #e800ff;
    color:black;
}


#page-6 .bgStatut.bgStatut52,
#page-6 option[value*='- Devis refusé'] { 
    background-color: #d77d1c;
    color:black;
}


#page-6 .bgStatut.bgStatut6,
#page-6 option[value*='- Commandée'] { 
    background-color: #007e00;
    color:white;
}


#page-6 .bgStatut.bgStatut7,
#page-6 option[value*='- Transport effectué'] { 
    background-color: #00bb00;
    color:white;
}
#page-4 .bgStatut.bgStatut0,
#page-4 option[value*='- Demande transmise'],
#page-4 option[value*='- Non traitée'] { 
    background-color: #ff0000;
    color:white;
}

#page-4 .bgStatut.bgStatut1,
#page-4 option[value*='- Envoyée'],
#page-4 option[value*='- Consultation'] { 
    background-color: #ff5050;
    color:white;
}



#page-4 .bgStatut.bgStatut2,
#page-4 option[value*='- Réponse des transporteurs'],
#page-4 option[value*='- En attente de sélection par AXIMUM'] { 
    background-color: #ffa500;
    color:white;
}



#page-4 .bgStatut.bgStatut3,
#page-4 option[value*='- Transporteur sélectionné'],
#page-4 option[value*='- Non sélectionné par AXIMUM'] { 
    background-color: #ffbe47;
    color:white;
}


#page-4 .bgStatut.bgStatut4,
#page-4 option[value*='- Devis transmis'] { 
    background-color: #f5f54f;
    color:black;
}




#page-4 .bgStatut.bgStatut51,
#page-4 option[value*='- Sélectionné par AXIMUM'] { 
    background-color: #ffff00;
    color:black;
}


#page-4 .bgStatut.bgStatut5,
#page-4 option[value*='- Devis validé'] { 
    background-color: #e800ff;
    color:black;
}


#page-4 .bgStatut.bgStatut52,
#page-4 option[value*='- Devis refusé'] { 
    background-color: #d77d1c;
    color:black;
}


#page-4 .bgStatut.bgStatut6,
#page-4 option[value*='- Commandée'] { 
    background-color: #007e00;
    color:white;
}


#page-4 .bgStatut.bgStatut7,
#page-4 option[value*='- Transport effectué'] { 
    background-color: #00bb00;
    color:white;
}

#page-5 .bgStatut.bgStatut0,
#page-5 option[value*='- Demande transmise'],
#page-5 option[value*='- Non traitée'] { 
    background-color: #ff0000;
    color:white;
}

#page-5 .bgStatut.bgStatut1,
#page-5 option[value*='- Envoyée'],
#page-5 option[value*='- Consultation'] { 
    background-color: #ff5050;
    color:white;
}



#page-5 .bgStatut.bgStatut2,
#page-5 option[value*='- Réponse des transporteurs'],
#page-5 option[value*='- En attente de sélection par AXIMUM'] { 
    background-color: #ffa500;
    color:white;
}



#page-5 .bgStatut.bgStatut3,
#page-5 option[value*='- Transporteur sélectionné'],
#page-5 option[value*='- Non sélectionné par AXIMUM'] { 
    background-color: #ffbe47;
    color:white;
}


#page-5 .bgStatut.bgStatut4,
#page-5 option[value*='- Devis transmis'] { 
    background-color: #f5f54f;
    color:black;
}




#page-5 .bgStatut.bgStatut51,
#page-5 option[value*='- Sélectionné par AXIMUM'] { 
    background-color: #ffff00;
    color:black;
}


#page-5 .bgStatut.bgStatut5,
#page-5 option[value*='- Devis validé'] { 
    background-color: #e800ff;
    color:black;
}


#page-5 .bgStatut.bgStatut52,
#page-5 option[value*='- Devis refusé'] { 
    background-color: #d77d1c;
    color:black;
}


#page-5 .bgStatut.bgStatut6,
#page-5 option[value*='- Commandée'] { 
    background-color: #007e00;
    color:white;
}


#page-5 .bgStatut.bgStatut7,
#page-5 option[value*='- Transport effectué'] { 
    background-color: #00bb00;
    color:white;
}



.draggingElement ul.connectedSortable { background:#f9f8e0 !important;border:1px dotted black  }
.ui-sortable-placeholder {height:6px; background:black;padding:0 !important}
.timeline {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 10px;
}

.etape, .trajetInX {
  padding: 10px;
  border-radius: 8px;
  min-width: 180px;
  text-align: center;
}

.etape {
  background-color: #e0f7fa;
  font-weight: bold;
}

.trajetInX {
  background-color: #ffe0b2;
  font-style: italic;
      text-align: center;
}


.forceBgYellow {background: yellow !important;}
.forceBgPink {background: #ff3399 !important;}

        .jdropdown-content {max-width: 50vw}


.demande.planning .main-panel > .content {
    padding:0;
    min-height: calc(100vh - 75px);
    border: 0;
}
.demande.planning .main-panel > .content  {
    border:0;
    background:white;
}

.demande.planning .filter-container {
            margin: 10px 0;
            padding: 10px;
            background: #e9ecef;
            border-radius: 4px;
        }
        
.demande.planning .filter-input {
            margin: 5px;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 3px;
        }

       
.demande.planning .error-field {
            background-color: #f8d7da !important;
            border: 2px solid #dc3545 !important;
        }
        
.demande.planning .info-panel {
            margin-top: 15px;
            padding: 10px;
            background: #d1ecf1;
            border: 1px solid #bee5eb;
            border-radius: 4px;
        }
        
.demande.planning .save-status {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 10px 15px;
            border-radius: 4px;
            color: white;
            font-weight: bold;
            z-index: 10000;
            transform: translateX(100%);
            transition: transform 0.1s ease;
        }
        
.demande.planning .save-status.show {
            transform: translateX(0);
        }
        
.demande.planning .save-status.success {
            background: #28a745;
        }
        
.demande.planning .save-status.error {
            background: #dc3545;
        }
        
.demande.planning .save-status.saving {
            background: #ffc107;
            color: #212529;
        }




  /* Overlay gris semi-transparent couvrant tout le panel */
  .loading-overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: rgba(128,128,128,0.45); /* gris + transparence */
    display: none; /* caché par défaut */
    align-items: center;
    justify-content: center;
    z-index: 40;
    pointer-events: auto; /* bloque les interactions sous-jacentes */
  }

  /* Spinner */
  .spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.85);
    border-top-color: rgba(0,0,0,0.85);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    animation: spin 0.85s linear infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  /* Optionnel : un message sous le spinner */
  .loading-message {
    margin-top: 10px;
    font-size: 13px;
    color: #fff;
    text-align: center;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }

  /* Assure que le contenu reste visible en dessous si besoin (mais grisé par overlay) */
  .content .container-fluid .row:first-child {
    filter: none; /* on utilise l'overlay pour le grisage */
  }