html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .noneOnMobile {
        display: flex !important;
    }

    #renderbody {
        margin-left: 2%;
    }

    #kt_app_content {
        padding-top: 3.5rem !important;
    }

    #kt_app_content_container,
    #kt_app_toolbar_container {
        padding-left: 0px !important;
    }

    #moreIcon {
        display: none;
    }

    #dateIcon {
        display: none;
    }

    #dateText {
        padding-right: 10px;
        padding-left: 20px;
    }

    #badgeDanger {
        width: 25% !important;
    }

    #footerMobile {
        display: none !important;
    }

    #SelectLocalizationFooter {
        display: none !important;
    }

    #icon {
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .app-navbar .app-navbar-item {
        margin-right: 0 !important;
    }

    .noneOnMobile {
        display: none !important;
    }

    #menulink {
        flex-direction: column;
    }

    #renderbody {
        margin-left: 0;
    }

    #kt_app_content {
        padding-top: 2.5rem !important;
    }

    #squareUsers {
        height: 100%;
    }

    #moreText {
        display: none;
    }

    #dateText {
        display: none;
    }

    #moreIcon {
        padding-top: 0.2rem !important;
        padding-bottom: 0.3rem !important;
        padding-right: 0rem !important;
        padding-left: 0.3rem !important;
    }

    #dateIcon {
        padding-top: 0.2rem !important;
        padding-bottom: 0.3rem !important;
        padding-right: 0rem !important;
        padding-left: 0.3rem !important;
    }

    #badgeDanger {
        width: 100% !important;
    }

    #footerDefault {
        display: none !important;
    }

    #footerMobile.app-container {
        padding-left: 0px !important;
        padding-right: 15% !important;
    }

    #SelectLocalizationAppbar {
        display: none !important;
    }

    #icon {
        padding-top: 50% !important;
        padding: 0;
    }
}

@media (max-width: 1199.98px) {
    #blockAlertes {
        margin-top: 15px;
    }

    #blockListChangelogs {
        margin-top: 2.5rem;
    }
}

html {
    position: relative;
    min-height: 100%;
    overflow-x: hidden;
    font-family: Poppins !important;
}

[data-kt-app-sidebar-minimize="on"] .menu-column {
    transition: padding 0.3s ease !important;
    padding-left: 0 !important;
}

[data-kt-app-sidebar-minimize="on"] .menu-item .menu-link {
    transition: align-items 0.3s ease !important;
    align-items: start;
    padding: 1.2rem;
}

    [data-kt-app-sidebar-minimize="on"] .menu-item .menu-link .menu-title {
        display: none;
    }

    [data-kt-app-sidebar-minimize="on"] .menu-item .menu-link .menu-icon {
        margin-top: 5%;
    }

.title-comfortaa {
    font-family: Comfortaa !important;
}

.shadow-white {
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.4) !important;
}

.page-heading {
    font-family: Comfortaa !important;
}

#table-title {
    align-items: center !important;
    border-bottom-color: #d8d8d8 !important;
}

#table-title-changelog {
    justify-content: flex-end !important;
    align-items: center !important;
    border-bottom-color: #d8d8d8 !important;
}

.menu-sub-dropdown .d-flex a:hover {
    background-color: white;
}

#card-header-with-table {
    align-items: center !important;
}

.fs-icon-i {
    font-size: 30px !important;
}

#kt_app_footer .menu-item .menu-link {
    height: auto !important;
}

.noHover {
    pointer-events: none;
}

.row-selected {
    box-shadow: none !important;
}

table.dataTable.table-hover > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px rgba(255, 147, 49, 0.1) !important;
    cursor: pointer;
}

.table-hover > tbody > tr:hover > * {
    color: #3a3a3a !important;
}

.dropdown-menu {
    background-color: #ffffff; /* Arri�re-plan blanc */
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: var(--kt-white);
    color: var(--kt-input-solid-color) !important;
    transition: color 0.2s ease;
    border: 1px solid var(--kt-secondary) !important;
    min-height: calc(1.5em + 1.65rem + 2px) !important;
    font-weight: 500;
    width: 100% !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235E6278' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 2 6 6-6 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding: 0.675rem 1.5rem;
    font-size: 1.15rem;
    border-radius: 0.625rem !important;
    height: auto !important;
    cursor: pointer !important;
}

    /* Placeholders */
    .select2-container--default .select2-selection--single::placeholder,
    .select2-container--default .select2-selection--multiple::placeholder {
        color: var(--kt-white);
    }

    .select2-container--default .select2-selection--single::-moz-placeholder,
    .select2-container--default .select2-selection--multiple::-moz-placeholder {
        color: var(--kt-white);
        opacity: 1;
    }

    /* Hover, focus, active */
    .select2-container--default .select2-selection--single:hover,
    .select2-container--default .select2-selection--multiple:hover,
    .dropdown.show > .select2-container--default .select2-selection--single,
    .dropdown.show > .select2-container--default .select2-selection--multiple,
    .select2-container--default .select2-selection--single:active,
    .select2-container--default .select2-selection--multiple:active,
    .select2-container--default .select2-selection--single.active,
    .select2-container--default .select2-selection--multiple.active,
    .select2-container--default .select2-selection--single:focus,
    .select2-container--default .select2-selection--multiple:focus,
    .select2-container--default .select2-selection--single.focus,
    .select2-container--default .select2-selection--multiple.focus {
        background-color: var(--kt-white);
        border-color: var(--kt-secondary) !important;
        transition: color 0.2s ease;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235E6278' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    }

.select2-selection__arrow {
    display: none;
}

.select2-selection__rendered {
    color: var(--kt-input-solid-color) !important;
    padding: 0px !important;
}

.select2-dropdown {
    color: var(--kt-input-solid-color) !important;
    font-size: 1.15rem;
    border: 1px solid var(--kt-secondary) !important;
    border-radius: 0.625rem !important;
    border-top: 0px;
    box-shadow: 0 0 30px 10px rgba(56, 71, 109, 0.1);
}

.select2-container--default .select2-results > .select2-results__options {
    padding: 5px;
}

.select2-results__option {
    margin-bottom: 4px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: rgba(255, 147, 49, 0.1) !important;
    border-radius: 0.625rem !important;
    color: var(--kt-input-solid-color) !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: rgba(255, 147, 49, 0.2) !important;
    border-radius: 0.625rem !important;
}

.select2-container--default
.select2-selection--single
.select2-selection__placeholder {
    color: var(--kt-input-solid-placeholder-color) !important;
}

#kt_header_user_menu_toggle .menu-sub-dropdown {
    background-color: white;
}

.menu-link-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    transition: none;
    outline: none !important;
}

.text-align-right {
    text-align: end;
}

#kt_auth_lang_menu .menu-item .menu-link {
    height: auto !important;
    background-color: transparent;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control::before,
table.dataTable.dtr-column.collapsed > tbody > tr.parent > td.dtr-control::before,
table.dataTable.dtr-column.collapsed > tbody > tr.parent > th.dtr-control::before {
    background-color: #bf124d !important;
}

table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}

    table.dataTable > tbody > tr.child ul.dtr-details > li {
        justify-content: space-between;
    }

table.dataTable > tbody > tr.child span.dtr-data {
    text-align: end;
}

.text-in-box {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ql-toolbar.ql-snow {
    border-color: var(--kt-input-solid-bg) !important;
    border-top-left-radius: 0.625rem !important;
    border-top-right-radius: 0.625rem !important;
}

.ql-container.ql-snow {
    border-color: var(--kt-input-solid-bg) !important;
    border-bottom-left-radius: 0.625rem !important;
    border-bottom-right-radius: 0.625rem !important;
}

.ql-snow .ql-tooltip {
    border: 1px solid var(--kt-input-solid-bg) !important;
    box-shadow: 0px 0px 5px #ddd !important;
    color: var(--kt-input-solid-color) !important;
    padding: 5px 12px !important;
    border-radius: 0.625rem !important;
}

    .ql-snow .ql-tooltip a.ql-remove::before {
        content: "Retirer" !important;
        color: var(--kt-text-primary) !important;
    }

    .ql-snow .ql-tooltip a.ql-action::after {
        content: "Modifier" !important;
    }

    .ql-snow .ql-tooltip::before {
        content: "Visitez l'URL :" !important;
    }

    .ql-snow .ql-tooltip[data-mode="link"]::before {
        content: "Entrer le lien :" !important;
    }

    .ql-snow .ql-tooltip.ql-editing a.ql-action::after {
        content: "Sauvegarder" !important;
    }

#menulink {
    flex-direction: column;
}

.menu-item .menu-link .menu-title {
    font-size: 18px !important;
    text-align: center;
}

.menu-item .menu-link:not(#kt_auth_lang_menu .menu-item .menu-link) {
    padding: 3rem 1rem !important;
}

.w-40 {
    width: 40%;
}

.w-60 {
    width: 60%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 0 !important;
    background-color: var(--kt-white) !important;
    border-color: var(--kt-primary) !important;
    padding-right: 2px !important;
}

.dataTables_length .select2-container--default .select2-selection--single {
    background-color: var(--kt-primary) !important;
    border-color: transparent !important;
    display: flex !important;
    justify-content: start !important;
    align-items: center !important;
    border-radius: 0.475rem !important;
    height: 2.5rem !important;
    min-width: 3rem !important;
    font-weight: 500 !important;
    font-size: 1.075rem !important;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    color: var(--kt-white) !important;
    transition: color 0.2s ease;
    min-height: auto !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 2 6 6-6 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px 12px;
    cursor: pointer !important;
}

    .dataTables_length .select2-container--default .select2-selection--single:hover,
    .dataTables_length .dropdown.show > .select2-container--default .select2-selection--single,
    .dataTables_length .select2-container--default .select2-selection--single:active,
    .dataTables_length .select2-container--default .select2-selection--single.active,
    .dataTables_length .select2-container--default .select2-selection--single:focus,
    .dataTables_length .select2-container--default .select2-selection--single.focus {
        background-color: var(--kt-white);
        transition: color 0.2s ease;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    }

.dataTables_length .select2-selection__rendered {
    color: var(--kt-white) !important;
}

.select2-dropdown:has(.select2-results__options[id^="select2-kt_datatable"]) {
    color: var(--kt-input-solid-color) !important;
    font-size: 1.075rem;
    border: 0px !important;
    border-radius: 0.475rem !important;
    box-shadow: 0 0 30px 10px rgba(56, 71, 109, 0.1);
    text-align: center;
}

.select2-container--default .select2-dropdown:has(.select2-results__options[id^="select2-kt_datatable"]) .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--kt-primary) !important;
    color: var(--kt-white) !important;
}

.select2-container--default .select2-dropdown:has(.select2-results__options[id^="select2-kt_datatable"]) .select2-results__option--selected {
    background-color: var(--kt-primary-active) !important;
    border-radius: 0.475rem !important;
    color: var(--kt-white) !important;
}

.btn.btn-light:focus:not(.btn-active) i, .btn.btn-light:hover:not(.btn-active) i, .btn.btn-light:active:not(.btn-active) i, .btn.btn-light.active i {
    color: var(--kt-primary-active) !important;
}
