:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #1c1c1c;
    --first-color-light: #ffffff;
    --white-color: #f7f6fb;
    --body-font: "Nunito", sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
}

a {
    text-decoration: none;
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: 0.5s;
}

.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.header_img img {
    width: 40px;
}

.header-show {
    transform: translateX(250px); /* Adjust the value based on your sidebar width */
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: 0.5rem 1rem 0 0;
    transition: 0.5s;
    z-index: 999;
    border-right: 1px solid #ebc42a;
}
.main-header {
    z-index: 9;
}
.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.nav_logo,
.nav_link,
.nav_link_active {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
}

.nav_logo {
    margin-bottom: 2rem;
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color);
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700;
    max-width: 140px;
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.nav_link_active {
    position: relative;
    color: var(--color-two);
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.nav_link:hover {
    color: var(--color-two);
}

.nav_icon {
    font-size: 1.25rem;
}

.show {
    left: 0;
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
}

.active {
    color: var(--color-two);
}

/*.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--color-two)
}*/

.height-100 {
    height: 100vh;
}

#nav-bar.show .x-mobile {
    display: none;
}

.x-desktop {
    display: none;
}
#nav-bar.show .x-desktop {
    display: block;
}
.nav_link {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav_icon {
    margin-right: 10px;
}

#toggle-icon.bx-x::before {
    content: "\f335"; /* Unicode character for close icon (use the appropriate icon code) */
}

#toggle-icon.bx-menu::before {
    content: "\f0c9"; /* Unicode character for menu icon (use the appropriate icon code) */
}
#header {
    position: absolute;
    left: 90px;
    top: 30px;
    z-index: 9;
}
.header_toggle i {
    color: #ffffff;
}
#header.body-pd {
    padding-left: 150px;
}
.page-user-wrapper {
    padding-left: 20px;
}
.main-footer {
    margin-top: auto;
    overflow: visible;
}
.dataTables_length select {
    background-image: url("/static/images/user_images/registerotp/select-arrow.png");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 16px;
}
div.dataTables_wrapper div.dataTables_length select {
    width: 75px;
    display: inline-block;
    height: auto;

}
div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 0.5em;
    display: inline-block;
    width: auto;
    height: auto;
}
.dataTable thead tr th {
    font-size: 14px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    font-size: 14px;
}
div.dataTables_wrapper div.dataTables_info {
    font-size: 14px;
}
.form-control::file-selector-button {
    padding: 0.875rem 0.85rem;
}
#header.body-pd .header_toggle {
    background-color: red;
}
.chat-attachment-div {
    position: relative;
    display: flex;
}
.chat-attachment-div button {
    position: absolute;
    right: 0;
    width: 60px !important;
    height: 100%;
    padding: 0;
    min-width: inherit;
    border-radius: 0;
}
.attachment-btn-div label {
    position: absolute;
    top: 0px;
    height: 100%;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ebc42a;
    color: #ffffff;
    border-radius: 0;
}
.attachment-btn-div input {
    opacity: 0;
}
.attachment-btn-div {
    position: absolute;
    right: 60px;
    width: 60px;
    height: 100%;
}
.chat-attachment-div button:hover:before {
    display: none;
}
.ticket-chat .text-right {
    max-width: 400px;
    margin-left: auto;
    border-radius: 20px 20px 0 20px;
}
.ticket-chat .text-left {
    max-width: 400px;
    margin-right: auto;
    border-radius: 20px 20px 20px 0;
}

.chat-input-div {
    padding: 15px;
    background-color: #eeeeee;
}
.chat-attachment-div input {
    background-color: #fff !important;
}
.tabcontentdiv p {
    color: #000000;
    font-size: 16px;
}
.tabcontentdiv ul li{
    font-size: 16px;
    color: #000000;
    list-style: inherit;
}
.tabcontentdiv ol li{
    font-size: 16px;
    color: #000000;
    list-style: inherit;
}
.tabcontentdiv ul {
    margin-bottom: 15px;
}
.tabcontentdiv ul {
    list-style: outside;
    padding-left: 40px;
}
.tabcontentdiv ol {
    padding-left: 40px;
}
#profile .tabcontentdiv ol li {
    margin-bottom: 15px;
}
#profile .tabcontentdiv ol li,
#profile .tabcontentdiv ul li{
    margin-bottom: 15px;
}
.product-price-ul small s {
    font-size: 14px;
    margin-left: 10px;
}
.product-card-body ul {
    list-style: outside;
    padding-left: 15px;
}
.product-card-body ul li{
    list-style: inherit;
    font-size: 16px;
}
@media screen and (min-width: 1200px) and (max-width: 1600px) {
    .main-header .header-lower .logo-box .logo {
        padding-left: 100px;
    }
    #header {
        z-index: 99;
    }
    .page-user-wrapper .header-lower .logo a img {
        max-width: 160px !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .main-header .logo-box .logo {
        position: relative;
        margin-left: 120px;
    }
    #header {
        left: 88px;
        top: 20px;
        z-index: 999;
    }

    .main-header .main-menu .navigation > li > a {
        font-size: 12px;
    }
    header .logo a img {
        max-width: 130px !important;
    }
}
@media screen and (max-width: 767px) {
    #nav-bar.show .x-desktop {
        display: none;
    }
    #nav-bar.show .x-mobile {
        display: block;
    }
    .main-header .logo-box {
        padding: 5px 0 0 50px;
    }
    #header {
        position: absolute;
        left: 15px;
        top: 15px;
        z-index: 99;
    }
    #header.body-pd {
        padding-left: 70px;
    }
    /*.ma5menu__toggle {
        background-color: transparent;
        color: #ffffff;
        font-size: 20px;
    }*/
    .body-pd .header_toggle {
        background: #df0a0a;
        border-radius: 3px;
    }
    .page-user-wrapper {
        padding-top: 75px;
    }
}
@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 4rem) 0 0 0;
        padding-left: 65px;
        display: flex;
        flex-direction: column;
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
    }

    .header_img {
        width: 40px;
        height: 40px;
    }

    .header_img img {
        width: 45px;
    }

    .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0;
    }

    #nav-bar.show {
        width: calc(var(--nav-width) + 156px);
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 155px);
    }
}


