body {
    /*overflow-y: scroll;*/
    /*overflow-x: auto;*/
}

.select2-selection__placeholder {
    vertical-align: sub!important;
}

.select2-container--bootstrap5 .select2-selection {
    height: calc(2.25rem + 2px)!important;
}


.btn-danger {

    background-color: #c70000!important;
}

.btn-danger:hover {

    color: #CECECE!important;
}

.btn-danger:hover > i{

    color: #CECECE!important;
}

.btn-primary {
    background-color: #62c5b7!important
}

.btn-primary:hover {

    box-shadow: #878787;
}

.btn-primary:hover > i {

    color: #fff!important;
}

.btn-primary:hover > span > i {

    color: #fff!important;
}

.btn-primary:hover > span {

    color: #fff!important;
}

.btn-active-primary:hover {

    background-color: #03254c!important;
}

.btn-active-primary:hover > span > i {

    color: #0095E8!important;
}

.rotated {
    transform: rotate(180deg);
    transition-duration: 0.3s;
}

.not-displayed {
    display: none;
    transition-duration: 1s;
}

.nav-link {
    color: #878787;
}

#loadingDiv {
    position: absolute;
    width: 100%;
    margin: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.ring {
    width: 100px;
    height: 100px;
    border-top: 6px solid #ef7d00;
    border-radius: 50%;
    position: absolute;
}

.ring:nth-child(1) {
    border-color: #ef7d00;
    animation: rotate 1s linear infinite;
}
.ring:nth-child(2) {
    border-color: #6c6c6c;
    animation: rotate2 1s linear infinite;
}
.ring:nth-child(3) {
    border-color: #62c5b7;
    animation: rotate3 1s linear infinite;
}

#loadingDiv > .textLoading {
    color: #878787;
}

@keyframes rotate {
    0%{
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100%{
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate2 {
    0%{
        transform: rotateX(50deg) rotateY(45deg) rotateZ(0deg);
    }
    100%{
        transform: rotateX(50deg) rotateY(45deg) rotateZ(360deg);
    }
}

@keyframes rotate3 {
    0%{
        transform: rotateX(75deg) rotateY(-160deg) rotateZ(0deg);
    }
    100%{
        transform: rotateX(75deg) rotateY(-160deg) rotateZ(360deg);
    }
}

input[type=color] {
    padding: 0px;
    cursor: pointer;
}

table .fa-file-download:before {

    font-size: 1.3rem;
}

.fa-file-download:hover {

    cursor: pointer;
    color: #0095E8;
}

.fc-timegrid-axis-cushion {

    max-width: 65px!important;
}

.select2-close-mask{
    z-index: 2099;
}
.select2-dropdown{
    z-index: 3051;
}

#kt_aside {
    top: 15px;
    bottom: 15px;
    left: 15px;
    box-shadow: 0px 3px 6px 7px lightgrey;
    border-radius: 30px;
}

#kt_aside {
    top: 15px;
    position: fixed;
}
.logo {
    top: 5px;
    left: 11px;
    position: relative;
}

#kt_header {
    position: absolute;
    top: 15px;
}

.aside-menu .menu .menu-item .menu-content, .aside-menu .menu .menu-item .menu-link {
    padding-left: 20px!important;
}

.aside .aside-logo {
    padding-left: 10px!important;
}

table.dataTable>thead .sorting_asc:after {
    background-image: none;
}

table.dataTable>thead .sorting_desc:after {
    background-image: none;
}

table.dataTable>thead .sorting:after, table.dataTable>thead .sorting:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_desc:before {
    transform: none;
    top: auto;
    left: auto;
    height: auto;
}

table.equipeCongesTable>thead {
    position:sticky;
    top: 0 ;
}

.btn-fake {
    border: none;
    background-color: transparent;
}

.btn-dt-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    border-radius: 0.2rem !important;
}

.datatableAjax td {
    vertical-align: middle;
}

.table-wrapper-scroll-y thead th {
    background: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-wrapper-scroll-y-historique thead th {
    background: lightslategrey;
    margin-top: 10px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.sticky-col {
    position: -webkit-sticky;
    position: sticky;
    background-color: white;
}

.first-col {
    left: 0px;
}

.first-col-project {
    --bs-table-accent-bg: initial;
}

.second-col {
    background: white;
    left: 27px;
}

.projet-th {
    z-index: 2 !important;
}

.table-wrapper-scroll-y tfoot tr {
    background: white;
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.form-section {
    border: #80808078 1px solid;
    border-radius: 8px;
    padding: 10px;
}

/** SURCHARGE DU SELECT2 **/
.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    color: #000000 !important;
}

.card {
    border-left: 1px solid #e4e6ef;
    border-right: 1px solid #e4e6ef;
    border-bottom: 1px solid #e4e6ef;
}
.saisie {
    border-radius: 0 0 0.475rem 0.475rem!important;
}

.teletravail {
    border: none!important;
}

.card > .card-header {
    min-height: auto!important;
}

#filter_annee {
    border-radius: 10px;
    width: auto!important;
    height: 30px;
}

.my-custom-scrollbar {
    position: relative;
    height: auto;
    max-height: 500px;
    overflow: auto;
}

.my-custom-scrollbar-listeProjets {
    position: relative;
    height: auto;
    max-height: 650px;
    overflow: auto;
}

.table-wrapper-scroll-y {
    display: block;
    white-space: nowrap;
}

.big-row span {
    margin-left: 5%;
}

.my-custom-scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.my-custom-scrollbar-listeProjets::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.my-custom-scrollbar::-webkit-scrollbar-thumb {
    background: #62c5b7!important;
    -webkit-border-radius: 5px;
}

.my-custom-scrollbar-listeProjets::-webkit-scrollbar-thumb {
    background: lightgrey !important;
    -webkit-border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ef7d00!important;
}

.noel {
    background-image: url('../media/img/snow.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

.menu-title {
    color: #ABABAB;
}

.menu-link.active,.menu-link:hover {
    background-color: #f5f8fa!important;
    box-shadow: 0px 0px 2px 1px rgb(200,200,200);
}

.aside-dark .menu .menu-item .menu-link.active .menu-title {
    color: #878787!important;
}

.menu-sub.menu-link.active,.menu-sub.menu-link:hover {
    background-color:#03254c;!important;
    box-shadow: none;
    color: white!important;
}

.aside-dark .menu .menu-item .menu-section {
    font-weight: bold;
    color: black!important;
}

.menu-link:hover > .menu-title {
    color: #878787!important;
}

.encartReleve,.alertConges {
    transition: transform ease 0.5s, box-shadow ease 0.5s;
}

.encartReleve:hover,.alertConges:hover {
    /*box-shadow: 0px 0px 5px 1px #ffc790;*/
    box-shadow: 0px 10px 20px 2px #ffc790;

}

#button_valide_modifConges:hover > i {
    color: white!important;
}

#button_valide_modifConges:hover {
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    background-color: #50cd89!important;
}

#button_valide_modifConges {
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
}

#button_refuse_modifConges:hover > i {
    color: white!important;
    border-color: #d9214e!important;
}

#button_refuse_modifConges:hover {
    width: 2rem;
    height: 2rem;
    border-radius: 20px;
    background-color: #d9214e!important;
}

#button_refuse_modifConges {
    width: 2rem;
    height: 2rem;
    border-radius: 20px;
}

#libelleConges {
    position: absolute;
    width: auto;
    border: 1px solid #03254c;
    border-radius: 5px;
    display: none;
    background-color: #FFFFFF;
    margin: -165px -279px;
    padding: 5px;
}

.aside.aside-dark {
    background-color: #ef7d00;
}

.aside-dark .menu .menu-item .menu-link .menu-icon i {
    color: white;
}

.aside-dark .menu .menu-item .menu-link.active .menu-icon i {
    color: #878787!important;
}

.menu-title {
    color: white;
}

.menu-link.active, .menu-link:hover {
    background-color: #878787;
}

.aside-dark .menu .menu-item .menu-link .menu-title {
    color: white;
}

.aside.aside-dark .separator {
    border-bottom-color: white;
}

#kt_content {
    background-color: white;
}

#kt_toolbar {
    background-color: white;
    box-shadow: none;
    position: absolute;
    top: 85px;
    border: none;
}

#kt_toolbar_container .page-title h1 {
    color : #ef7d00;
}

.aside-dark .menu .menu-item .menu-link:hover:not(.disabled):not(.active) .menu-icon i, .aside-dark .menu .menu-item.hover>.menu-link:not(.disabled):not(.active) .menu-icon i {
    color: #878787;
}

.aside.aside-dark .aside-toggle svg [fill]:not(.permanent):not(g) {
    fill : #878787;
}

.btn-check:active+.btn.btn-active-color-primary .svg-icon svg [fill]:not(.permanent):not(g), .btn-check:checked+.btn.btn-active-color-primary .svg-icon svg [fill]:not(.permanent):not(g), .btn.btn-active-color-primary.active .svg-icon svg [fill]:not(.permanent):not(g), .btn.btn-active-color-primary.show .svg-icon svg [fill]:not(.permanent):not(g), .btn.btn-active-color-primary:active:not(.btn-active) .svg-icon svg [fill]:not(.permanent):not(g), .btn.btn-active-color-primary:focus:not(.btn-active) .svg-icon svg [fill]:not(.permanent):not(g), .btn.btn-active-color-primary:hover:not(.btn-active) .svg-icon svg [fill]:not(.permanent):not(g), .show>.btn.btn-active-color-primary .svg-icon svg [fill]:not(.permanent):not(g) {
    fill: white;
}

.btn-secondary {
    background-color: #878787!important;
    color: white!important;
}

button .fc-prev-button fc-button fc-button-primary {
    background-color: #ef7d00!important;
}

.fc-button-primary:disabled {
    background-color: #878787!important;
    border-color: #878787!important ;
}

.fc-button-primary {
    background-color: #ef7d00!important;
    border-color:  #ef7d00!important;
}

.tt-office {
    background: #BFDEA4;
}

.tt-home {
    background-size: cover;
    background-image: url('../../assets/media/img/home_office.png');
    background-color: #ef7d00;
}

.tt-newHome {
    background-size: cover !important;
    background-image: url('../../assets/media/img/home_office.png')!important;
    background-color: #FFFFFF!important;
}

.tt-newHome-matin {
    width:24px;
    height:24px;
    position:relative;
    border-top : 24px solid #e9383f;
    border-right : 24px solid #fff;
    border-radius: 5px;
}
.tt-newHome-matin i {
    position:absolute;
    top:-23px;
    right:0;
    left:1px;
}

.tt-newHome-aprem {
    width:24px;
    height:24px;
    position:relative;
    border-top : 24px solid #fff;
    border-right : 24px solid #e9383f;
    border-radius: 5px;
}
.tt-newHome-aprem i {
    position:absolute;
    top:-23px;
    right:0;
    left:1px;
}

.tt-home-matin {
    width:24px;
    height:24px;
    position:relative;
    border-top : 24px solid #e9383f;
    border-right : 24px solid #ef7d00;
    border-radius: 5px;
}
.tt-home-matin i {
    position:absolute;
    top:-23px;
    right:0;
    left:1px;
}

.tt-home-aprem {
    width:24px;
    height:24px;
    position:relative;
    border-top : 24px solid #ef7d00;
    border-right : 24px solid #e9383f;
    border-radius: 5px;
}
.tt-home-aprem i {
    position:absolute;
    top:-23px;
    right:0;
    left:1px;
}

.day-half-absent-matin {
    width:24px;
    height:24px;
    position:relative;
    border-top : 24px solid #e9383f;
    border-right : 24px solid #BFDEA4;
    border-radius: 5px;
}

.day-half-absent-matin i {
    position:absolute;
    top:-23px;
    right:0;
    left:1px;
}

.day-half-absent-aprem {
    width:24px;
    height:24px;
    position:relative;
    border-top : 24px solid #BFDEA4;
    border-right : 24px solid #e9383f;
    border-radius: 5px;
}

.day-half-absent-aprem i {
    position:absolute;
    top:-12px;
    right:0;
    left:11px;
}

.day-user-conges-matin {
    position: relative;
    width: 0;
    height: 0;
    border: solid 17px;
    border-color: transparent transparent black transparent;
    transform: rotate(-45deg);
    float:left; top: -17px;
    left: -17px;
}

.day-user-conges-aprem {
    position: relative;
    width: 0;
    height: 0;
    border: solid 17px;
    border-color: transparent transparent black transparent;
    transform: rotate(135deg);
    float:left;
    top: -27px;
    left: 7px;
}

.jourFerme {
    background-color: grey;
}

.btn-validation, .btn-refus {
    float:right;
    transform: translate(0%,0%);
    width: 150px;
    background-color:#ef7d00;
    border: 2px solid #ef7d00;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    padding: 10px;
}

/* Style the p tag */
.btn-validation p, .btn-refus p{
    /*text-transform: uppercase;*/
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    margin-left: 30px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

/* Style the first icon with class send */
.send{
    position: absolute;
    top:21px;
    left: 30px;
    color:#fff;
    transition: all 0.3s ease;
}

/* Style the second icon with class send2 */
.send2{
    position: absolute;
    top:80px;
    left: 30px;
    color: #fff;
    transition: all 0.3s ease;
}

/* Hover effects */
.btn-validation:hover{
    background: #62c5b7;
    transition: all 0.3s ease;
    border-color: #62c5b7;
}

.btn-refus:hover{
    background: #e9383f;
    transition: all 0.3s ease;
    border-color: #e9383f;
}

.btn-validation:hover p,.btn-refus:hover p {
    color: #fff;
    transition: all 0.3s ease;
}

.btn-validation:hover .send,.btn-refus:hover .send{
    top: -50px;
    transition: all 0.3s ease;
}

.btn-validation:hover .send2,.btn-refus:hover .send2{
    top: 21px;
    transition: all 0.3s ease;
}

.loadAllProjects {
    background:#ef7d00!important;
}

.loadAllProjects i {
    color: #fff!important;
}

.loadAllProjects:hover {
    box-shadow: 0 0 2px 2px lightgrey!important;
}

.indicator-progress{
    color: #fff!important;
}

.releve {
    border: none!important;
}

#valider-new-releve:hover {
    background-color: #62c5b7!important;
    color: #fff!important;
}

select {
    height: 25px;
    width: 80px;
    outline: none;
    color: #74646e;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #999;
    background: #eee;
}

#filter_site {
    height: 30px;
    width: 200px;
    outline: none;
    color: #74646e;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #999;
    background: #eee;
}

#filter_service {
    height: 30px;
    width: 230px;
    outline: none;
    color: #74646e;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #999;
    background: #eee;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    box-shadow: 2px -3px 3px 0px lightgray;
}

.card:not(.cardMesProjets,.cardConges,.cardDemandeConges,.cardRelevesHeures) {
    box-shadow: 3px -2px 3px 1px lightgray;
}

.cardMesProjets, .cardConges, .cardDemandeConges, .cardRelevesHeures {
    background-color: rgba(98,197,183,0.1);
    transition: transform ease 0.5s, box-shadow ease 0.5s;
    border: none;
}

.cardMesProjets:hover, .cardConges:hover, .cardDemandeConges:hover, .cardRelevesHeures:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
}


#js-valid-tache, #js-valid-deplacement {
    background-color: #ef7d00!important;
    color: #fff!important;
}

#js-valid-tache:hover, #js-valid-deplacement:hover {
    background-color: #62c5b7!important;
    color: #fff!important;
}

.table>:not(caption)>*>* {
    box-shadow: none;
}

.planning-day-sunday {
    background: #333 !important;
    color: #FFF !important;
    text-align:center;
    font-size: 10px !important;
}

.planning-day-ferie {
    background: #444444 !important;
    color: #FFF !important;
    text-align:center;
    font-size: 10px !important;
}

.planning-day-exceptionnel {
    background: #444444 !important;
    color: #FFF !important;
    text-align:center;
    font-size: 10px !important;
}

.hovered {
    opacity: 0.5;
}

.btn-session:hover {
    background-color: red!important;
}

.takeControl {
    position: fixed;
    bottom: 0;
    background-color: red;
    height: 36px;
    text-align: center;
    color: white;
    z-index: 999;
    font-size: 16px;
    font-weight: bold;
}

.modal-releve {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-releveContent {
    background: linear-gradient(135deg, #f3f4f7, #fff);
    padding: 25px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-buttonReleve {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
.modal-releveContent p > a:hover {
    text-decoration: underline !important;
}

/*.fc-v-event .fc-event-main {*/
/*    color: rgb(50,50,50);*/
/*    font-weight: bold;*/
/*}*/

@media screen and (min-width: 1600px) {
    .break {
        display: none;
    }
}