body {
    min-height: 100vh;
    font-size: .875rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    background-image: linear-gradient(-180deg, #EEEEEE 0%, #F8F8F8 100%);
}

.image-loading {
    position: absolute;
    top: 215px;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    -webkit-animation: spin 3s linear infinite;
    -moz-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#loading-mask {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 99999;
    background: linear-gradient(160deg,#222D4D, #01B5AD);
    background-size: 100% 100%;
}

#mask, #maskLoad {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 9998;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    cursor: pointer;
}

#context-bar {
    background-color: #01B5AD;
    width: 100%;
    height: 40px;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }

    .sidebar-right {
        top: 5rem;
    }

    .navbar .form-select {
        width: calc(100% - 148px);
    }

    .main-content {
        padding-bottom: 90px !important;
    }
}

.sidebar-right {
    position: fixed;
    z-index: 9999;
    top: 0px;
    right: -298px;
    width: 300px;
    height: calc(100vh);
    padding-top: .5rem;
    background-color: #01B5AD;
    box-shadow: 0 10px 14px 0 rgba(35,36,37,0.30);
}

.sidebar-right-item {
    border-radius: 0.5em;
    padding: 1em;
    border: 0;
    background-color: #F8F8F8;
    margin-bottom: 1em;
    margin-right: 4px;
}

#sidebarRight .nav-link {
    color: #F8F8F8;
}

    #sidebarRight .nav-link:hover {
        color: #222D4D;
    }

#sidebarRight .fa-inverse {
    color: #01B5AD;
}

#remote {
    position: absolute;
    z-index: 9999;
    width: 30px;
    top: calc((100vh/2) - 46px);
    left: -30px;
}

#remoteBadge {
    position: absolute;
    font-weight: bold;
    width: 24px !important;
    text-align: center;
    vertical-align: middle;
    height: 24px;
    z-index: 10000;
    width: 30px;
    top: calc((100vh/2) - 12px);
    left: -24px;
    background-color: #F8F8F8;
    border-radius: 50%;
    cursor: pointer;
}

    #remoteBadge:active {
        box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    }

.sidebar .nav-link {
    font-weight: 500;
    color: #222D4D;
    margin: 0.5em;
    margin-left: 1em;
    margin-right: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 0.5em;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #01B5AD;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.sidebar-list {
    overflow: scroll;
    height: calc(100% - 68px - 2em);
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .sidebar-list::-webkit-scrollbar {
        display: none;
    }

/*
 * Navbar
 */

.navbar {
    background-color: #222D4D !important;
}

.form-select {
    border-radius: 0.5em;
}

.navbar-bottom {
    background-color: #F8F8F8 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, .1);
}

    .navbar-bottom .nav-link {
        text-align: center;
        font-size: normal;
        width: calc(100vw/ 5);
        padding: 0.2em 0 0.2em 0;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #222D4D;
    }

    .navbar-bottom .active {
        color: #01B5AD;
    }

.nav-link-botton-title {
    display: block;
    font-size: 7px;
}

.nav-link-page {
    display: block;
    padding: .5rem .5rem;
    text-decoration: none;
    color: #222D4D;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

    .nav-link-page:hover {
        color: #01B5AD;
    }

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    font-weight: bold;
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.nav-link {
    color: #222D4D;
}

    .nav-link:hover {
        color: #01B5AD;
    }

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.nav-link-icon {
    height: 1.7em;
    text-align: center;
    vertical-align: middle;
    line-height: 1.7em !important;
    width: 1.7em;
    font-size: 1.5em;
}

#sidebarMenu .active {
    background-color: #01B5AD;
    color: #222D4D;
}

#sidebarMenu .nav-link.active:hover {
    background-color: #222D4D;
    color: #fff;
}

    #sidebarMenu .nav-link.active:hover span {
        color: #222D4D;
    }

#sidebarMenu .nav-link:hover {
    background-color: #F8F8F8;
}

.main-panel {
    border: 1px solid #F8F8F8;
    border-radius: 0.5em;
    background-color: white;
    box-shadow: 0 2px 4px 0 rgba(35,36,37,0.30);
    overflow-x: hidden;
}

.btn-saisie {
    padding: 0.3em;
    width: 100%;
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    vertical-align: middle;
    text-align: left;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select-btn {
    display: block;
    width: 100%;
    padding: .5rem .5rem .5rem .5rem;
    font-size: 0.8rem;
    line-height: 1.2;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .2rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

table .form-control,
table .input-group-text {
    font-size: 0.8rem;
}

.table-responsive-stack tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}


.table-responsive-stack td,
.table-responsive-stack th {
    display: block;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.table-responsive-stack .table-responsive-stack-thead {
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .table-responsive-stack tr {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        display: block;
        margin-bottom: 1em;
        border: 1px solid silver;
        border-radius: 0.25em;
    }
    /*  IE9 FIX   */
    .table-responsive-stack td {
        float: left\9;
        width: 100%;
        border: none;
    }
}

.table-oversize {
    overflow-y: scroll;
    width: 30em;
}

.highlight {
    background-color: #01B5AD;
    color: white !important;
}

.list-group > .list-group {
    display: none;
    margin-bottom: 0;
}

.list-group-item:focus-within + .list-group {
    display: block;
}

.list-group > .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
}

    .list-group > .list-group-item:first-child {
        border-top-width: 0;
    }

.list-group > .list-group > .list-group-item {
    padding-left: 2.5rem;
}

#exampleModal {
    z-index: 99999;
}

@media screen and (min-width: 768px) {
    .table-scroll {
        position: relative;
        margin: auto;
        overflow: hidden;
    }

    .table-wrap {
        width: 100%;
        overflow: auto;
    }

    .table-scroll table {
        width: 100%;
        margin: auto;
    }

    .table-scroll th, .table-scroll td {
        white-space: nowrap;
        vertical-align: top;
    }

    .table-scroll thead, .table-scroll tfoot {
        background: #f9f9f9;
    }

    .clone {
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
    }

        .clone th, .clone td {
            visibility: hidden
        }

        .clone td, .clone th {
        }

        .clone tbody th {
            visibility: visible;
        }

        .clone .fixed-side {
            visibility: visible;
        }

    .fixed-side {
        background-color: rgb(241, 241, 241) !important;
    }

    .clone thead, .clone tfoot {
        background: transparent;
    }
}

#tableFive.tab-1 {
    width: 22em;
    display: inline-block;
}

    #tableFive.tab-1 tbody td {
        height: 55px;
    }

#tableFive.tab-2 {
    width: calc(100% - 23em);
    display: inline-block;
    position: relative;
    overflow: auto;
    margin-left: -1px;
}

#tableFive.tab-1.tab-frais {
    width: 24em;
}

#tableFive.tab-2.tab-frais {
    width: calc(100% - 25em);
    margin-left: -10px;
}

.list-group {
    overflow-y: scroll;
    height: 100%;
}

    .list-group::-webkit-scrollbar {
        width: 10px;
    }

    /* Track */
    .list-group::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Handle */
    .list-group::-webkit-scrollbar-thumb {
        background: #888;
    }

        /* Handle on hover */
        .list-group::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* Ma s?lection */
input#searchDI {
    font-size: 12px;
}

#sidebarRight li.nav-item {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
}

.btnAction :hover .fa-circle:before {
    color: #01B5AD;
}

.loaderTab {
    position: relative;
    width: 100px;
    height: 100px;
    margin: auto;
    overflow: hidden;
}

li {
    cursor: pointer;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    /*height: 7%;*/
    width: 40%;
    transform: translate(-50%,-50%);
    border-radius: 5px;
    padding: 6px 8px 8px;
    box-sizing: border-box;
    text-align: center;
    background-color: #01b5ad;
}

    .center p {
        display: inline-block;
        line-height: normal;
        vertical-align: middle;
        color: white;
        margin-bottom: 0;
        font-weight: bold;
    }

#contentTab .wrapper {
    overflow: auto;
    margin-bottom: 1rem;
}


#contentTab td {
    height: 55px !important;
}

#contentTab .fixed {
    position: absolute;
    height: 38px;
}

#contentTab {
    position: relative;
}

    #contentTab table {
        margin-bottom: 0;
    }

@media screen and (min-width: 768px) {
    #contentTab table .fixed {
        background-color: rgb(241, 241, 241) !important;
    }
}

/* Page Absences */
#filterAbsences .col {
    float: left;
}

#TabAbsence td {
    vertical-align: middle;
    text-align: left;
}

#TabAbsence span {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

    #TabAbsence span.fa-stack {
        line-height: 2em;
        font-size: 1em;
    }

td.icon-action {
    text-align: center;
    cursor: pointer;
}

.icon-action span:hover .fa-circle:before {
    color: #01B5AD;
}

.tooltip {
    z-index: 1049;
}

#TabAbsence td.commentaire span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 10em;
}

#ShowAbsence.modal label,
#Absence.modal label {
    font-weight: bold;
}

#filterAbsences #startDate,
#filterAbsences #endDate {
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 576px) {
    #filterAbsences .col {
        width: 50%;
    }

    #filterAbsences .row {
        display: block;
    }
}

@media screen and (max-width: 991px) {
    #ShowAbsence .modal-body .col {
        flex: 0 0 auto;
    }
}

.form-select:disabled {
    color: #212529;
    background-color: darkgray;
    opacity: 1;
}

#ShowInfos .form-label {
    font-weight: bold;
}

.form-check-input:checked {
    background-color: #01b5ad;
    border-color: #01b5ad;
}

@media screen and (max-width: 768px) {
    #selectionTab ul#AddDi {
        position: fixed;
        bottom: 62px;
        z-index: 3;
        right: 5px;
    }
}

/*.wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 350px 350px 350px;
}*/

.box {
    border-radius: 5px;
    padding: 20px;
    font-size: 100%;
}

.a {
    grid-column: 1 / 3;
    grid-row: 1;
}

.b {
    grid-column: 3;
    grid-row: 1 / 3;
}

.c {
    grid-column: 1;
    grid-row: 2;
}

.d {
    grid-column: 2;
    grid-row: 2;
}

* {
    box-sizing: border-box;
}

#affInput {
    background: #8196aa;
    border: 0;
    border-radius: 7px;
    color: white;
    padding: 12px;
    width: 100%;
}

    #affInput:focus {
        outline: none;
    }

    #affInput::placeholder {
        color: white;
    }

#affButton {
    background: #16bdae;
    border: 0;
    border-radius: 7px;
    color: white;
    padding: 8px;
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
}

.pt-site-footer__submit {
    position: relative;
    width: 100%;
}

#ShowAffaires .btn-secondary {
    border-color: #fff;
}

.bloc-settings {
    border-bottom: 1px solid #222D4D;
    margin-bottom: 1em;
}

.bloc-val-time,
.bloc-code-op {
    max-height: 164px;
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-col {
    flex: 0 0 auto;
    width: 87.666667%;
}

.custom-col2 {
    flex: 0 0 auto;
    width: 12.766667%;
}