.theme-gradient {
    background: linear-gradient(90deg, #2f57ef, #FF0057);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.001);
}

.sidebar .menu-list li a.active {
    background: #ffffff95;
    border-radius: 10px;
    padding: 10px;
}

.rating-block .filter-rating .rating-check p {
    padding-left: 10px !important;
}

.rating-check .fancy-checkbox {
    margin-right: 10px;
}

section#timeline article div.panel div.badge {
    padding: 0 !important;
    white-space: initial !important;
    font-family: arial !important;
}

#timeline .panel-body h6 {
    color: #222 !important;
    font-weight: bold;
}

section#timeline>article.inverted>div.panel .panel-body img,
section#timeline>article>div.panel .panel-body img {
    float: left !important;
    margin: 0 15px 0 0;
}

ul#timeline-menu li a {
    color: #FF0057 !important;
}

ul#timeline-menu li a {
    border-bottom: 5px solid #ccc;
}

.fc-v-event .fc-event-title {
    /* font-size: 16px; */
    font-weight: bold;
    color: #fff
}

.fc-event-time {
    color: #222;
}

#calendar {
    background-color: #fff;
    padding: 10px;
}

.fc-event-title div {
    color: #222;
    font-size: 14px;
}

#tableau {
    display: none;
}

.page-item.active .page-link {
    color: var(--color-fff) !important;
}

.theme-blue, [class*="theme-blue"] {
    --primary-color: #2f57ef;
    --secondary-color: #FF0057;
    --chart-color1: #ED5782;
    --chart-color2: #e5df88;
    --chart-color3: #2f57ef;
    --chart-color4: #a6a6a4;
    --chart-color5: #c9b8b8;
    --primary-gradient: linear-gradient(45deg, #FF0057, #07f);
}

.fond-gradiant {
    background: linear-gradient(45deg, #FF0057, #07f) !important;
    background: var(--primary-gradient, linear-gradient(45deg, #FF0057, #07f)) !important;
    color: #fff !important;
}

.fond-gradiant a {
    color: #222 !important;
}

.sidebar.sidebar-mini .menu-list li a.active {
    margin: 0 10px;
}

.share_btn {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: inline-block;
    line-height: 50px;
    /* border: 1px solid #222; */
    text-align: center;
    font-size: 20px;
    margin-right: 5px;
    color: #fff;
}

.facebook_share {
    background-color: #3b5998;
}

.twitter_share {
    background-color: #1da1f2;
}

.whatsapp_share {
    background-color: #25D366;
}

.linkedin_share {
    background-color: #0077b5;
}

.telegram_share {
    background-color: #0088cc;
}

.avatar.no-thumbnail.alert-success,
.avatar.no-thumbnail.alert-danger,
.avatar.no-thumbnail.alert-warning,
.avatar.no-thumbnail.alert-info {
    background-color: var(--bs-alert-bg) !important;
}

.accordion-button img {
    width: 50px !important;
    margin-right: 10px;
}

.accordion-button:focus {
    border-color: none !important;
    box-shadow: none !important;
}

/* .accordion-button:not(.collapsed) {
    background-color: #FF0057 !important;
} */

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #FF005790 !important;
}

.paypalzone {
    padding: 10px;
    background: #eee;
}

.date-picker-wrapper {
    z-index: 99999 !important;
}

.pulse .pulse-ring {
    border-color: var(--bs-danger) !important;
}

.fc--button {
    display: none !important;
}

.date-picker-wrapper .footer {
    display: none !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--primary-gradient) !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid black 1px;
}

input[type="text"]:focus {
    outline: none !important;
    outline-offset: 0 !important;
}

input[type="text"] {
    outline: 0px solid rgba(0, 0, 0, 0) !important;
    outline-offset: 0px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    border: none !important;
    color: #fff;
    font-size: 14px;
}


.select2-results__option {
    padding-right: 20px;
    vertical-align: middle;
}

.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid #e9e9e9;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 20px;
    vertical-align: middle;
}

.select2-results__option[aria-selected=true]:before {
    font-family: 'IcoFont' !important;
    content: "\ec4b";
    color: #fff;
    background-color: #FF0057;
    border: 0;
    display: inline-block;
    padding: 3px;
    font-size: 10px;
    text-align: center;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #eaeaeb;
    color: #272727;
}

.select2-container--default .select2-selection--multiple {
    margin-bottom: 10px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-radius: 4px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--color-primary);
    border-width: 2px;
}

.select2-container--default .select2-selection--multiple {
    border-width: 2px;
}

.select2-container--open .select2-dropdown--below {

    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

}

.select2-selection .select2-selection--multiple:after {
    content: 'hhghgh';
}

.avatar.xxl {

    height: 150px !important;
    width: 150px !important;
    min-width: 150px !important;
}


#toast {
    position: fixed;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index: 999999;
    max-width: 320px;
}

#toast.active {
    transform: translateX(0%);
}

#toast .toast-content {
    display: flex;
    align-items: center;
}

.toast-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
    background-color: #2770ff;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
}

.warning .toast-content .check,
#toast.warning .toastprogress::before {
    background-color: var(--bs-warning);
}

.danger .toast-content .check,
#toast.danger .toastprogress::before {
    background-color: var(--bs-danger);
}

.success .toast-content .check,
#toast.success .toastprogress::before {
    background-color: var(--bs-success);
}

.toast-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.message .text {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.message .text.text-1 {
    font-weight: 600;
    color: #333;
}

#toast .toastclose {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
    font-size: 10px;
}

#toast .toastclose:hover {
    opacity: 1;
}

#toast .toastprogress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;

}

#toast .toastprogress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #2770ff;
}

.toastprogress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}

.bg-warning {
    color: #222 !important;
}

.card-chat-body .chat-history {
    background: linear-gradient(45deg, #2f57ef10, #FF005715);
    position: relative;
    padding: 10px;
}

.chatimg {
    content: "";
    background-image: url('../images/chat-image.png');
    background-size: contain;
    background-repeat: repeat;
    background-attachment: fixed;
    opacity: 0.3;
    /* Valeur de l'opacité entre 0 et 1 */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-chat,
.card-chat-body {
    height: 80vh !important;
}

.chat-message textarea {
    padding-right: 50px;
    resize: none;
    height: 50px;
}

.chat-message {
    position: relative;
}

#asssender {
    position: absolute;
    top: 0px;
    right: 0;
    width: 50px;
    height: 50px;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.blocksms {
    opacity: 0;
    /* Masquer initialement les messages */
    animation: slideUp 0.5s ease forwards;
    /* Animation de défilement vers le haut */
}

.menuctr {

    position: absolute;
    top: 0;
    left: calc(50% - 50px);
    z-index: 9999;
}

.menuctr .gradient {
    background: var(--primary-gradient);
    width: 100%;
    position: relative;
    border-radius: 0 0 20px 20px;
    text-align: center;
    padding: 5px;
    width: 100px;
    height: 40px;
    opacity: .5;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.menuctr .gradient.active {
    height: 30px;
    font-size: 10px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.sidebar {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

#splayer,
#pplayer,
#vplayer,
#coplayer,
#cooplayer {
    width: 100% !important;
}

#loader {
    display: none;
}

.item-outils:hover {
    border-radius: 5px;
    border: 2px solid #2770ff;
}

#myDataTable td {
    font-size: 14px; 
    padding-top: 0.25rem; 
    padding-bottom: 0.25rem;
    white-space: nowrap; 
}

#myDataTable .avatar.lg {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important; 
}

#myDataTable .avatar.lg i {
    font-size: 1rem !important;
}

.text-gradient {
   
    color: #2f57ef !important;
    
    background: linear-gradient(45deg, #FF0057, #07f, #FF0057) !important;
    background-size: 200% auto !important;
    
    -webkit-background-clip: text !important;
    background-clip: text !important;
    
    -webkit-text-fill-color: transparent !important;
    
    animation: textGradientAnimation 3s linear infinite !important;
    
    display: inline-block !important;
}

@keyframes textGradientAnimation {
    to {
        background-position: 200% center;
    }
}