.wx-150 {
    width: 150px!important;
}
.wx-130 {
    width: 130px!important;
}
.wx-120 {
    width: 120px!important;
}
.wx-100 {
    width: 100px!important;
}

.hx-40 {
    height: 40px!important;
}

.language-selector .dropdown-toggle:after{
    display: none;
}

.language-selector .dropdown-toggle{
    border: 0;
}

.ti-nav{
    font-size: 20px!important;
}

.ti-md {
    font-size: 1.625rem !important;
}

.ti-sub-nav {
    font-size: 9px!important;
}

.avatar-border{
    border: 2px solid #dbdade;
    border-radius: 0.550rem;
}

.datatables-basic tr > *:nth-child(2) {
    display: none!important;
}

.datatables-basic tr > *:nth-child(1) {
    display: none!important;
}

.form-control{
    display: unset!important;
}

.page-item .page-link, .page-item span{
    width: unset!important;
    height: unset!important;
    border-radius: unset!important;
}

body:not(.dark-version) .datatables-basic tr, body:not(.dark-version) .datatables-basic td{
    vertical-align: middle!important;
    font-size: 14px!important;
    color: #000!important;
    font-weight: 450!important;
}

body.dark-version .datatables-basic tr,
body.dark-version .datatables-basic td,
body.dark-version .datatables-basic tr p{
    color: #f0f0f0!important;
}

.badge-purple {
    color: #7b1fa2; /* texte violet foncé */
    background-color: #e1bee7; /* fond violet clair */
}

.text-purple {
    color: #7b1fa2; /* texte violet foncé */
}

.datatables-basic tr p{
    vertical-align: middle!important;
    font-size: 14px!important;
    font-weight: 450!important;
}

.fi{
    margin-top: -2px!important;
    margin-right: 5px!important;
}

.btn-action{
    margin: 2px!important;
    width: 30px!important;
    height: 30px!important;
    --bs-btn-padding-x: unset!important; 
    --bs-btn-padding-y: unset!important; 
}

.btn-action{
    font-size: 15px!important;
}

.flag-shadow{
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
    padding: 0!important;
}

body:not(.dark-version) .control-label{
    font-size: 14px!important;
    color: #000!important;
    font-weight: 450!important;
}

body.dark-version .control-label{
    font-size: 14px!important;
    color: #e0e0e0!important;
    font-weight: 450!important;
}

.is_required:after {
    content: "  *";
    color: red;
}

.modal-footer {
    padding-bottom: 0!important;
}

.btn.dropdown-toggle.btn-light {
    display: block !important;
    width: 100%;
    padding: 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 500;
    line-height: 1.5rem !important;
    color: #495057 !important;
    background-color: transparent;
    background-clip: padding-box;
    border:1px solid #E3E3E3 !important;
    border-radius: 0.375rem;
    /*transition: border-color .10s ease-in-out !important;*/
    text-transform: unset;
}

body:not(.dark-version) .footer {
    margin-top: 50px;
    padding-top: 10px;
    padding-bottom: 3px;
    position: relative;
    left: 0!important;
    bottom: 0!important;
    width: 100%;
    color: black;
    text-align: right;
}

body.dark-version .footer {
    color: #fff;
}

#ofBar {
    background: #fff;
    z-index: 999999999;
    font-size: 16px;
    color: #333;
    padding: 16px 40px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 25px;
    width: auto;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 13px 27px -5px rgba(50,50,93,0.25), 0 8px 16px -8px rgba(0,0,0,0.3), 0 -6px 16px -6px rgba(0,0,0,0.025);
}

#offBar {
    background: #fff;
    z-index: 999999999;
    font-size: 16px;
    color: #333;
    padding: 16px 40px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 40px;
    width: 80%;
    border-radius: 8px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 13px 27px -5px rgba(50,50,93,0.25), 0 8px 16px -8px rgba(0,0,0,0.3), 0 -6px 16px -6px rgba(0,0,0,0.025);
}



.breadcrumb{
    background-color: transparent!important;
}

h1, .h1, .h1, h2, .h2, .h2, h3, .h3, .h3{
    font-family: unset;
}

.avatar-md {
    width: 43px !important;
    height: 43px !important;
    font-size: 0.875rem;
}

.nav-item.ps-3 .ti {
    font-size: 18px!important;
    color: #818589;
}

.slick-track{
    height: unset!important;
}

.action-list{
    padding: unset!important;
}

.slick-cloned{
    display: none;
}
.horizontal.dark {
    margin: 5px;
}

.currency{
    font-size: 12px!important;
}
/*----------------------------------------------------------------*/

#main-img{
    display:flex;
    overflow:hidden;
    perspective: 600px;
    background:url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80") center/cover;
    /*background-size: cover;*/
}
.pin_images{
    margin-top:.5rem;
    margin-left: auto;
    margin-right: auto;
}
.slid{
    display:block;
    width:60px;
    height:250px;
    background-position:center;
    background-size:cover;
}
.effect{
    animation:move .6s forwards;
}
@keyframes move{
    0%{
        transform:rotateY(0);
    }
    100%{
        transform:rotateY(360deg);
    }
}

/* ----------------------------------------------------- */

div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:last-child{
    overflow-y:auto!important;
}

div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:first-child{
    overflow-y:auto!important;
}

.hidden{display:none!important}

.active-day {
    border: 5px solid black;
}

.current-day.active-day{
    border: 5px solid white;
}


/* ----------------------------------------------------- */

/* Fix pour les dropdowns dans DataTable */
span .dropdown-menu.dropdown-menu-end.show {
    transform: translate(1px, 30px) !important;
    display: inline-block!important;
    z-index: 9999!important;
}

span .dropdown-menu.dropdown-menu-end.show ul{
    z-index: 9999!important;
    position: relative!important;
}

@media (max-width: 767px) {
    .table-responsive{
        overflow-x: auto !important;
        overflow-y: auto !important;
    }
}
@media (min-width: 767px) {
    .table-responsive{
        overflow: inherit !important; /* Sometimes needs !important */
    }
}

/* ----------------------------------------------------- */
/* Dark mode overrides migrés depuis JS */

/* DataTables: entêtes */
body.dark-version .table thead th{
    color: black !important;
}

/* DataTables: boutons disabled + petits headers */
body.dark-version div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-item.disabled .page-link,
body.dark-version .table thead th.text-xxs{
    color: black !important;
    background-color: white !important;
}

/* DataTables: pagination texte */
body.dark-version .page-item:not(:first-child) .page-link{
    color: black !important;
}

/* Modales */
body.dark-version .modal-content{
    background-color: #202940 !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.15) !important;
}

/* Bouton close dans modales en dark */
body.dark-version .btn-close{
    filter: invert(1) grayscale(100%);
    opacity: .8;
}

/* Sélecteur téléphone */
body.dark-version #phoneFlag{
    color: #fff !important;
}

body.dark-version #video_action, body.dark-version #cv_action{
    color: black!important;
}