@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
body {
    margin: 0 auto;
    background-color: #eee;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    line-height: 1 !important;
}

.bg-mainchain {
    background: #084C61;
}

main {
    min-height: calc(100vh - 177px);
}

table:not(.ui-datepicker-calendar):not(#tranches) {
    margin: 20px auto;
    border-collapse: collapse;
    width: 94%;
    -webkit-box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.4);
}

/* for edge and IE*/

_:-ms-lang(x), table:not(.ui-datepicker-calendar):not(#tranches) {
    display: block;
}

/* for IE*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    table:not(.ui-datepicker-calendar):not(#tranches) {
        display: table;
        box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.4);
    }
}

/*------------*/

table:not(.ui-datepicker-calendar):not(#tranches) th {
    background: url(../img/fond.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    border-top: none !important;
}

table, table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

table, table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

table, table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

table, table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

table:not(.ui-datepicker-calendar):not(#tranches) td, table:not(.ui-datepicker-calendar):not(#tranches) th {
    border-right: 1px solid grey;
    padding: 10px;
    text-align: center;
}

table:not(.ui-datepicker-calendar):not(#tranches) td:last-child, table:not(.ui-datepicker-calendar):not(#tranches) th:last-child {
    border-right: none;
}

table td a.button {
    background: white;
    display: inline-block;
    border: 2px solid black;
    padding: 9px;
    text-decoration: none;
    color: black;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    width: 100px;
    text-align: center;
}

table td a.button:hover {
    color: white;
    background-color: black;
}

table:not(.ui-datepicker-calendar):not(#tranches) tr:not(:first-child) {
    border-top: 1px solid grey;
}

table:not(.ui-datepicker-calendar):not(#tranches) thead {
    width: 100%;
    display: block;
}

table:not(.ui-datepicker-calendar):not(#tranches) tbody {
    width: calc(100% + 1rem);
    display: block;
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

table#printDemand tbody {
    max-height: 37.6vh !important;
}

table:not(.ui-datepicker-calendar):not(#tranches) thead tr, table:not(.ui-datepicker-calendar):not(#tranches) tbody tr {
    display: table;
    width: calc(100% + 1rem);
    table-layout: fixed;
    /* even columns width , fix width of table too*/
}

nav ul {
    /* box-sizing: unset; */
    list-style: none;
    background-color: #084C61;
    z-index: 50;
    padding-left: 0;
}

nav ul li {
    margin: 10px 0;
    border: 1px solid white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li a {
    display: block;
    padding: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: white;
    text-decoration: underline;
}

nav ul img {
    text-align: center;
    padding-top: 25px;
}

.doubleborder {
    -webkit-box-shadow: 0 0 4px 4px inset rgba(255, 255, 255, 0.5);
    -moz-box-shadow: 0 0 4px 4px inset rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 4px 4px inset rgba(255, 255, 255, 0.5);
}

#user {
    position: absolute;
    right: 15px;
    top: 9px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

#user img {
    height: 80px;
}

#user a i {
    font-size: 30px;
    margin: 0 25px;
}

#user>i {
    font-size: 65px;
}

#user a {
    text-decoration: none;
    color: white;
}

.smallsize {
    font-size: 12px !important;
    margin: 0 !important;
}

a.big {
    font-size: 2rem;
}

#burgerbutton {
    position: absolute;
    top: 25px;
    left: 40px;
    font-size: 2.1rem;
    cursor: pointer;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    display: none;
    line-height: 42px;
    height: 50px;
    width: 50px;
    text-align: center;
    padding: 2px;
}

#burger {
    display: none;
}

.panelhead {
    padding-top: 5vh;
    height: 60vh;
}

.panel {
    height: 150px;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: radial-gradient(rgba(8, 76, 97, 0.7), #084C61);
    border-radius: 20px;
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.4);
}

.panel:hover {
    color: white;
    text-decoration: underline;
}

a.help {
    position: absolute;
    top: 18px;
    left: 65px;
    text-decoration: none;
    z-index: 150;
}

a.help:hover {
    font-weight: bold;
    text-decoration: underline;
}

.addtranche {
    display: block;
    width: 190px;
}

/* retirer les ascenceurs des types number */

/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

/* Chrome */

input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Opéra*/

input::-o-inner-spin-button, input::-o-outer-spin-button {
    -o-appearance: none;
    margin: 0
}

.programmed ,.printed,.conform{
    width: 35px;
    height: 15px;
    border:1px solid black;
}

.programmed {
    background-color: #c23434;
}

.printed {
    background-color: #e1eb26;
}

.conform {
    background-color: #30a128;
}

/*-------------------------------------------- FORM -------------------------------------------------------- */

._form {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin: 10vh auto 0;
    background: white;
    color: black;
    border: 1px solid black;
    width: 100%;
}

/*------- switch ON OFF ---- */

.switch, .switchconforme {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 23px;
}

.switch input, .switchconforme input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider.blueversion {
    background-color: grey;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: green;
}

input:checked+.slider.blueversion {
    background-color: royalblue;
}

input:checked+.slider:before {
    background-color: white;
}

input:focus+.slider {
    box-shadow: 0 0 1px green;
}

input:focus+.slider.blueversion {
    box-shadow: 0 0 1px royalblue;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 23px;
}

.slider.round:before {
    border-radius: 50%;
}

/*--------------- FIN SWITCH --------------------*/

.modeleco {
    margin: 0 auto;
}

.modeleco div {
    padding: 5px 0;
}

#menu, .mainwindow {
    min-height: calc(100vh - 177px);
}

#menu {
    width: 17%;
}

.mainwindow {
    width: 83%;
}

.bootstrap-datetimepicker-widget .datepicker-days table tbody tr:hover {
    background-color: #eee;
}

.w-10 {
    width: 132px;
}

.w-15 {
    width: 12%;
}

/* .btn-retour{
    position: absolute;
    right:15px;
    bottom:10px;
    z-index:99;
} */

.hauteurplus {
    min-height: 66vh;
}

.logomainchain {
    height: 60px;
}

/* ------------------------------ MEDIA QUERIES --------------------------*/

@media screen and (max-width:992px) {
    .w-10 {
        width: 0%;
    }
    #burgerbutton {
        display: block;
    }
    #menu {
        display: none;
        position: absolute;
        width: 200px;
        z-index: 99;
    }
    a.help {
        position: static;
        display: block;
        width: 50%;
        margin: 0 auto;
    }
    .mainwindow {
        width: 100%;
    }
    table {
        font-size: 0.8rem;
    }
}