html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #fbfbfd;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

div.bordered {
    padding: 15px;
    margin: 5px;
    border: 1px solid silver;
}

fieldset {
    margin-top: 10px;
    border: 1px solid silver !important;
    padding: 5px;
}

/* Menu */
nav.sidebar, .main {
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

.main {
    padding: 10px 10px 0 10px;
}

@media (min-width: 765px) {

    .main {
        position: absolute;
        width: calc(100% - 40px);
        margin-left: 40px;
        float: right;
    }

    nav.sidebar:hover + .main {
        margin-left: 200px;
    }

    nav.sidebar.navbar.sidebar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        margin-left: 0px;
    }

    nav.sidebar .navbar-brand, nav.sidebar .navbar-header {
        text-align: center;
        width: 100%;
        margin-left: 0px;
    }

    nav.sidebar a {
        padding-right: 13px;
    }

    nav.sidebar .navbar-nav > li:first-child {
        border-top: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav > li {
        border-bottom: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    nav.sidebar .navbar-collapse, nav.sidebar .container-fluid {
        padding: 0 0px 0 0px;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }

    nav.sidebar {
        height: 100%;
        margin-left: -160px;
        float: left;
        margin-bottom: 0px;
    }

        nav.sidebar li {
            width: 100%;
        }

        nav.sidebar:hover {
            margin-left: 0px;
        }

    .forAnimate {
        opacity: 0;
    }
}

@media (min-width: 1330px) {

    .main {
        width: calc(100% - 200px);
        margin-left: 200px;
    }

    nav.sidebar {
        margin-left: 0px;
        float: left;
    }

        nav.sidebar .forAnimate {
            opacity: 1;
        }
}

nav.sidebar .navbar-nav .open .dropdown-menu > li > a:hover, nav.sidebar .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #CCC;
    background-color: transparent;
}

nav:hover .forAnimate {
    opacity: 1;
}

caption {
    font-weight: bold !important;
    font-size: larger !important;
}

/* Tree */

.tree {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fbfbfb;
    border: 1px solid #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05)
}

    .tree li {
        list-style-type: none;
        margin: 0;
        padding: 10px 5px 0 5px;
        position: relative
    }

        .tree li::before, .tree li::after {
            content: '';
            left: -20px;
            position: absolute;
            right: auto
        }

        .tree li::before {
            border-left: 1px solid #999;
            bottom: 50px;
            height: 100%;
            top: 0;
            width: 1px
        }

        .tree li::after {
            border-top: 1px solid #999;
            height: 20px;
            top: 25px;
            width: 25px
        }

        .tree li span {
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border: 1px solid #999;
            border-radius: 5px;
            display: inline-block;
            padding: 3px 8px;
            text-decoration: none
        }

        .tree li.parent_li > span {
            cursor: pointer
        }


    .tree > ul > li::before, .tree > ul > li::after {
        border: 0
    }

    .tree li:last-child::before {
        height: 30px
    }

    .tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
        background: #eee;
        border: 1px solid #94a0b4;
        color: #000
    }

div.zglobal {
    background-image: url('images/zglobal.png');
    background-repeat: no-repeat;
    display: inline-block;
    padding: 0;
    position: relative;
    height: 28px;
    width: 109px;
}

div.popup {
    position: absolute;
    top: 75px;
    left: 25px;
    border: outset 5px silver;
    background: #eee;
    z-index: 200;
    padding: 15px;
}

.popup div {
    overflow-y: scroll;
}

.popup header {
    text-align: right;
}

button.lien {
    display: inline-block;
    margin-left: 30px;
}

input[type="text"]:not(.exclude), select:not(.exclude) {
    min-width: 15em;
    min-height: 30px;
    padding: 3px;
}

@media (max-width: 765px) {
    .facultatif {
        display: none;
    }

    .btn-primary {
        margin: 5px 0;
        display: inline-block;
    }
}

#__POPUP__, .cache {
    position: absolute;
    z-index: 100;
    background: rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
}

#__SUPERIEUR__ {
    position: absolute;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
}

.pop-up {
    position: absolute;
    width: 800px;
    left: 25px;
    height: 600px;
    top: 60px;
    z-index: 200;
    padding: 10px;
    background: #eee;
    border: 3px outset silver;
    overflow: hidden;
}

.disabledselect {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background: #eee;
    border: none;
}

#criteres {
    padding-bottom: 15px;
}



.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #ffffff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

@media print {
    .noprint {
        display: none;
    }
}

.vignette {
    display: inline-block;
}

    .vignette > a {
        min-width: 5em;
        margin: 0.2em auto;
    }

.dvse {
    background-image: url('images/DVSE_logo.png');
    background-repeat: no-repeat;
    height: 47px;
    width: 70px;
    background-size: 100%;
}

.bosch {
    background-image: url('images/bosch.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    background-size: 100%;
}

.hennigLogo {
    background-image: url('images/hennig.png');
    background-repeat: no-repeat;
    height: 57px;
    width: 206px;
    background-size: 100%;
}

.vanheck {
    background-image: url('images/vhip.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 100%;
    background-size: 100%;
}

.vanwezel {
    background-image: url('images/vanwezel.jpg');
    background-repeat: no-repeat;
    height: 60px;
    width: 77px;
    background-size: 100%;
}

.triscan {
    background-image: url('images/triscan.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 123px;
    background-size: 100%;
}

.car {
    background-image: url('images/car.png');
    background-repeat: no-repeat;
    height: 60px;
    width: 100%;
    background-size: 100%;
}

.motorparts {
    background-image: url('images/motorparts.png');
    background-repeat: no-repeat;
    height: 70px;
    width: 160px;
    background-size: 100%;
}

.teccom {
    background-image: url('images/teccom-logo.svg');
    background-repeat: no-repeat;
    height: 70px;
    width: 70px;
    background-size: 100%;
}
.goedert {
    background-image: url('images/goedert.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    background-size: 100%;
}

.bihr {
    background-image: url('images/logo-bihr.png');
    background-repeat: no-repeat;
    margin-top: 10px;
    height: 30px;
    width: 90px;
    background-size: 100%;
}

.vdm {
    background-image: url('images/vdmparts-logo.png');
    background-repeat: no-repeat;
    margin-top: 10px;
    height: 29px;
    width: 83px;
    background-size: 100%;
}

.doubleRlogo {
    background-image: url('images/doubleR.png');
    background-repeat: no-repeat;
    height: 62px;
    width: 120px;
    background-size: 100%;
}

.letzshop {
    background-image: url('images/letzshop.png');
    background-repeat: no-repeat;
    height: 68px;
    width: 300px;
    background-size: 100%;
}

.midas {
    background-image: url('images/Logo_Midas.png');
    background-repeat: no-repeat;
    margin: 20px 0px;
    height: 34px;
    width: 100px;
    background-size: 100%;
}

/* Style the header */
.header {
    background: #b0d0f0;
}

/* Page content */
.content {
    padding: 16px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 98.5%;
    z-index: 100;
}

    /* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
    .sticky + .content {
        padding-top: 102px;
    }

.header#entete table {
    margin-bottom: 0;
}

.dropdown-menu .vignette {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-menu .btn {
    border: none;
    color: black;
    margin: 0;
    padding: 0;
}

    .dropdown-menu .btn div {
        display: inline-block;
    }


.dropdown-menu .vignette:hover, .dropdown-menu .vignette:focus {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.dropdown-menu .vignette.active, .dropdown-menu .vignette:active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}

.dropdown-menu .vignette.disabled, .dropdown-menu .vignette:disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
}

.btn-outline-info a {
    color: #17a2b8;
}

    .btn-outline-info a:hover {
        color: #ffffff;
    }

.livraison {
    border-bottom: 1px solid silver;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

#collectes section {
    margin: 10px 0;
    padding: 10px;
    background: #eef;
    font-size: smaller;
}

.ville {
    background-image: url('images/ville.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 43px;
    background-size: 100%;
}

.taxi {
    background-image: url('images/taxi.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 43px;
    background-size: 100%;
}

.moselle {
    background-image: url('images/moselle.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 43px;
    background-size: 100%;
}

.steinfort {
    background-image: url('images/steinfort.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 43px;
    background-size: 100%;
}

.sud {
    background-image: url('images/sud.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 43px;
    background-size: 100%;
}

.nord {
    background-image: url('images/nord.png');
    background-repeat: no-repeat;
    height: 50px;
    width: 43px;
    background-size: 100%;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .3rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .15rem;
}

.validateur {
    min-width: 7em;
    max-width: 7em;
}

.pipedrive {
    height: 48px;
    vertical-align: super;
    overflow: hidden;
}

    .pipedrive div {
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 48px;
        margin-top: -22px;
        padding: 0 10px;
        font-weight: 900;
    }

.petits-caracteres {
    font-size: smaller;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 12000;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.marque button {
    font-size: smaller;
}

@media(min-width:1000px) {
    .marque button {
        font-size: inherit;
    }
}

@media (min-width: 400px) {
    .marque {
        width: 32%;
    }
}

@media (min-width: 576px) {
    .marque {
        width: 24%;
    }
}

@media (min-width: 800px) {
    .marque {
        width: 16%;
    }
}

@media (min-width: 1200px) {
    .marque {
        width: 12%;
    }
}


input[type=date] {
    max-width: 15em;
    min-width: 15em;
}

.calendrier {
    background: #444;
    color: white;
    display: inline-block;
    float: right;
    margin-right: 10px;
    padding: 15px;
}

    .calendrier span {
        display: inline-block;
        padding: 10px 20px;
    }

.current-day {
    background: blue;
}

.today {
    border: solid 2px yellow;
}

#saisieclient label {
    min-width: 20%;
}

label {
    min-width: 15em;
}

.indisponible {
    background-image: url('images/apl.png');
    background-repeat: no-repeat;
    background-color: #004;
    height: 100vh;
    width: 100vw;
    background-position: center center;
}

.logo_apl {
    background-image: url('images/apl.png');
    background-repeat: no-repeat;
    background-position: center center;
    height: 155px;
    width: 126px;
    margin: 10px auto;
}

.espace {
    margin-bottom: 5px;
}

.centreV {
    vertical-align: central;
}

.pret table, .pret tr, .pret th, .pret td {
    background: blue;
    color: white;
}

.pret {
    max-height: 50vh;
    overflow-y: auto;
}

#specifique {
    position: absolute;
    top: 15px;
    right: 35px;
    background-color: gold;
    width: auto;
    height: 40px;
    z-index: 15000;
    border: 2px brown outset;
    padding: 5px;
}

input.groupe1, input.groupe2, input.groupe3, input.minimum {
    max-width: 6em;
    min-width: 6em;
    width: 6em;
    font-size: 12px;
}

input.minimum {
    text-align: right;
}

.erreur {
    color: red;
    font-weight: bold;
}

.espacement {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid silver;
}

.bg-red {
    background-color: #500303 !important;
}

.bg-red .nav-link {
    color:antiquewhite !important;
}

.petits-interlignes td {
    padding: 4px 12px;
}

.zorroGlobal {
    background-image: url('images/tenor.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 498px 245px;
}


/* Set red color on striped table */
.table-striped tbody tr.alert-danger:nth-child(even) td {
    background-color: #ff9999;
}

.table-striped tbody tr.alert-danger:nth-child(odd) td {
    background-color: #ffcccc;
}

.input-w label, .input-w input {
    display: inline-block;
    vertical-align: middle;
}

table#found-articles {
    border-collapse: collapse;
}

#found-articles tr {
    background-color: #eee;
    border-top: 1px solid #fff;
}

#found-articles tr:hover {
    background-color: #ccc;
}

#found-articles th {
    background-color: #fff;
}

#found-articles th, #example td {
    padding: 3px 5px;
}

#found-articles td:hover {
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255,255,255,0.8) url("Iphone-spinner-2.gif") center no-repeat;
}
/* Turn off scrollbar when body element has the loading class */
body.loading {
    overflow: hidden;
}
/* Make spinner image visible when body element has the loading class */
body.loading .overlay {
    display: block;
}

/* WTF it's bootstrap class should not be modified
.container {
    max-width: 98% !important;
}

 */

.text-right {
    text-align:right;
}

.coordonnee {
    text-align:right;
    display:inline-block;
    width:5%;
}

.cercle {
    display: inline-block;
    margin-left: 10px;
    color: yellow;
    background-color: blue;
    height: 30px;
    width: 30px;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    vertical-align:middle;
}

.container-centered
{
    display:flex;
    justify-content:center;
    align-items:center;
}

.red-highlight {
    background-color: #ffcccc;
}

#flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.scrollable tbody {
    display: block;
    max-height: 60vh;
    overflow: auto;
}

.scrollable thead, .scrollable tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.scrollable thead {
    width: calc( 100% - 1em )
}

/* Spinner overlay for modal */
.modal-loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.75);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}