/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--secondary);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: var(--dark);
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--light);
    font-weight: 500;
    border-left: 3px solid var(--secondary);
    border-radius: 0 30px 30px 0;
    outline: none;
    display: flex;
    justify-content: left;
    align-items: center;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--dark);
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
    color: var(--light);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--light);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.content .navbar .dropdown-item {
    color: var(--light);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

#bugger_xx {
    width: 80px;
    white-space: nowrap;
    text-overflow: ellipsis !important;
    overflow: hidden;
}

.box-fixed {
    float: left;
    width: 100%;
    height: 89.9%;
    position: relative;    
    font-family: 'Plus Jakarta Sans';
}

.box-fixed .box-left {
    position: absolute;
    padding: 15px;
    left: 0;
    bottom: 0;
    top: 0;
    width: 350px;
    background-color: rgb(6, 8, 10);
    overflow: auto;
    border-right: 1px solid rgb(77, 89, 94);
}

.box-fixed .box-left ul {
    float: left;
    width: 100%;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 100%;
    row-gap: 10px;
}

.box-fixed .box-left ul li {
    float: left;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 15px;
    border-radius: 6px;
}



.box-fixed .box-left ul li .right {
    color: black;
    position: relative;
}

.box-fixed .box-left ul li .right h3 {
    font-weight: 400;
    margin: 0;
    font-family: 'Plus Jakarta Sans';
    margin-bottom: 10px;
    font-size: 1rem;
    color: rgb(235, 242, 245);
    width: 82px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.box-fixed .box-left ul li .right div {
    font-size: 12px;
    display: flex;
    justify-content: left;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
}

.box-fixed .box-left ul li .right div b {
    margin: 0px;
    font-size: 0.875rem;
    line-height: 1.6;
    font-family: "Plus Jakarta Sans", sans-serif, "Spline Sans Mono", monospace;
    font-weight: 700;
    color: rgb(235, 242, 245);
}

.box-fixed .box-left ul li .right div p {
    margin: 0;
    width: 150px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: rgb(119, 135, 143);
    font-size: 0.875rem;
    line-height: 1.6;
    font-family: "Plus Jakarta Sans", sans-serif, "Spline Sans Mono", monospace;
    -webkit-box-orient: vertical;
    font-weight: 400;
}

.box-fixed .box-left ul li .left {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 500%;
}

.box-fixed .box-left ul li .left img {
    width: 45px;
    border-radius: 50%;
    height: 45px;
    object-fit: cover;
}

.box-fixed .box-left ul li .left b {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: green;
    position: absolute;
    bottom: 2px;
    right: 3px;
    border: 3px solid rgb(6, 8, 10);
}

.box-fixed .box-left ul li .right span {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 11px;
    color: rgb(156, 174, 184)   ;
}

.box-fixed .box-left input {
    width: 100%;
    margin-bottom: 10px;
    height: 40px;
    border-radius: 6px;
    border: none;
    padding-inline: 10px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    background: rgb(27, 33, 36);
    color: rgb(235, 242, 245);
}

.box-fixed .box-main {
    position: absolute;
    padding: 15px;
    bottom: 0;
    right: 0;
    top: 0;
    left: 350px;
    background-color: rgb(6, 8, 10);
    overflow: auto;
}

.box-fixed .box-main .top-main {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 70px;
    display: flex;
    justify-content: left;
    padding-inline: 20px;
    align-items: center;
    background: rgb(6, 8, 10);
    border-bottom: 1px solid rgb(77, 89, 94);
}

.box-fixed .box-main .top-main h3 {
    font-size: 20px;
    color: rgb(156, 174, 184);
    font-family: 'Plus Jakarta Sans';
}

.box-fixed .box-main .top-main svg {
    position: absolute;
    right: 20px;
    background: rgb(27, 33, 36);
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.box-fixed .box-main .box-list {
    position: absolute;
    top: 70px;
    bottom: 100px;
    left: 0;
    right: 0;
    overflow: auto;
    background-color: rgb(6, 8, 10);
    padding-inline: 50px;
    padding-block: 20px;
}

.box-fixed .box-main .box-list .right, .box-fixed .box-main .box-list .left {
    width: 100%;
    float: left;
    margin-bottom: 15px;
    position: relative;
}

.box-fixed .box-main .box-list .right {
    padding-left: 30%;
}

.box-fixed .box-main .box-list .left {
    padding-right: 30%;
}


.box-fixed .box-main .box-list b {
    margin: 0;
    width: 100%;
    float: left;
    font-weight: 400;
    margin-top: -10px;
    font-size: 12px;
    font-family: 'Plus Jakarta Sans';
}

.box-fixed .box-main .box-list .right .msg {
    float: right;
    width: 100%;
    background: rgb(88, 155, 243);
    color: rgb(10, 27, 48);
    border-radius: 16px 0px 16px 16px;
}

.box-fixed .box-main .box-list .right b {
    text-align: right;
}

.box-fixed .box-main .box-list .left .msg {
    float: left;
    width: 100%;
    background: rgb(27, 33, 36);
    color: rgb(235, 242, 245);
    border-radius: 0px 16px 16px 16px;
}

.box-fixed .box-main .box-list .msg {
    padding: 15px;
    font-family: 'Plus Jakarta Sans';
    font-size: 0.875rem;
}

.box-fixed .box-main .bottom-main {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-inline: 20px;
    gap: 20px;
    border-top: 1px solid rgb(77, 89, 94);
}

.box-fixed .box-main .bottom-main div {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    background: rgb(27, 33, 36);
    padding-inline: 20px;
    border-radius: 8px;
    padding-block: 15px;
}

.box-fixed .box-main .bottom-main textarea {
    width: 100%;
    background: rgb(27, 33, 36);
    resize: none;
    margin: 0;
    outline: none;
    border: none;
    overflow: hidden;
    font-weight: 500;
    color: rgb(235, 242, 245);
    font-size: 16px;
}

.box-fixed textarea::placeholder,.box-fixed input::placeholder {
    color: rgb(77, 89, 94);
}

.box-fixed .box-main .bottom-main button {
    background: rgb(38, 45, 48);
    color: rgb(119, 135, 143);
    border: none;
    padding-inline: 20px;
    padding-block: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
    font-weight: 600;
}


.box-fixed .box-left ul li.active {
    background: rgba(88, 155, 243, 0.24);
}

.box-fixed .box-left ul li:hover {
    background: #111417;
}

.sidebar .navbar .navbar-nav .nav-link span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 150px;
}

*::-webkit-scrollbar {
    width: 10px;
    background: #0b0b1a;
}

*::-webkit-scrollbar-thumb {
    width: 10px;
    background: #EB1616;
    border-radius: 10px;
    cursor: pointer;
}

.top-profil {
    float: left;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 50px;
    margin-bottom: 20px;
}

.top-profil .box {
    width: 200px;
    border-radius: 6px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #EB1616;
    color: #EB1616;
}

.top-profil .box i {
    font-size: 80px;
}

.top-profil .right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}

.top-profil .right div span,.top-profil .right div b {
    float: left;
    width: 100%;
    font-weight: 500;
    font-size: 13px;
}

.top-profil .right div span {
    color: white;
}

.fixed-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #000000;
    font-size: 13px;
    border-radius: 6px;
    padding: 20px;
    column-gap: 20px;
    row-gap: 20px;
}

.fixed-box b {
    color: white;
    width: 100%;
    float: left;
    margin-bottom: 10px;
}

.fixed-box b, .fixed-box p {
    margin: 0;
}

.hhh3 {
    float: left;
    width: 100%;
    font-size: 17px;
    margin-bottom: 20px;
}

.top-match {
    float: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 100px;
}

.top-match img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-inline: auto;
    display: block;
}

.top-art-5 {
    float: left;
    width: 100%;
}

.top-match h4 {
    float: left;
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

.top-match p {
    float: left;
    width: 100%;
    text-align: center;
}

.top-match h1 {
    float: left;
    width: 100%;
    text-align: center;
}

.line-box {
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    row-gap: 10px;
}

.line-box div {
    display: flex;
    justify-content: space-between;
    border: 1px solid black;
    padding-inline: 20px;
    padding-block: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.line-box div .center {
    color: white;
}

.line-box div .left {
    color: rgb(255, 174, 0);
}

#snackbar {
    visibility: hidden;
    min-width: 100px;
    background-color: #198754;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: fixed;
    z-index: 550000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 17px;
  }
  
  #snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }


.box-fixed .box-main.not::after {
    content: "Cliquez sur une discussion pour afficher les messages";
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    top: 0;
    background: #1b2124;
}

.box-fixed .box-main.load::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    top: 0;
    background: #1b2124;
}

.box-fixed .box-main.load::before {
    content: "";
    position: absolute;
    border: 7px solid rgb(196, 195, 195);
    border-radius: 100%;
    z-index: 100000000;
    border-left-color: rgb(103, 101, 101);
    animation: rotate 2s linear infinite;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    0% {
      transform: rotate(-360deg);
    }

    100% {
      transform: rotate(360deg)
    }
  }


  .box-fixed .box-main .box-list .left .msg img {
    float: left;
    width: 100%;
  }

.box-fixed .box-main .box-list .left .msg span {
    display: flex;
    justify-content: left;
    align-items: center;
    cursor: pointer;
    border: 1px solid #2d3e4b;
    padding: 5px;
    border-radius: 10px;
    gap: 10px;
}