/* ============== CUSTOM FONTS ================ */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
/* ============== CUSTOM FONTS ================ */


/* ============== CUSTOM COLORS ================ */
:root {
    --primary: #732E2F;
    --secondary: #2D303D;
    --grey: #B6B8C1;
    --light-grey: #F5F6F8;
    --white: #ffffff;
    --black: #000000;
}
/* ============== CUSTOM COLORS ================ */

body {
    background: var(--white);
    color: var(--secondary);
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

    ul li {
        padding: 0;
        margin: 0;
    }

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-style: normal;
    color: var(--secondary);
}

h1 {
    font-size: 60px;
    line-height: 1.2;
    font-weight: bold;
}

h2 {
    font-size: 50px;
    line-height: 1.2;
    font-weight: bold;
}

h3 {
    font-size: 30px;
    line-height: 1.2;
}

h4 {
    font-size: 26px;
    line-height: 1.2;
}

h5 {
    font-size: 20px;
    line-height: 1.3;
}

p {
    padding: 0 0 20px 0;
    margin: 0;
}

a {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    color: var(--secondary);
    outline: none;
    text-decoration: none;
}

    a:hover, a:focus {
        color: var(--secondary);
        -webkit-transition: all 0.2s linear;
        -moz-transition: all 0.2s linear;
        -o-transition: all 0.2s linear;
        transition: all 0.2s linear;
        text-decoration: none !important;
        outline: none !important;
    }

    a > img {
        line-height: 0;
    }

select, button, input {
    box-shadow: none;
    outline: none;
}

    select:hover, button:hover, input:hover, select:focus, button:focus, input:focus {
        box-shadow: none;
        outline: none;
    }

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url(../img/seclect-arrow.png);
    background-repeat: no-repeat;
    background-position: 95% center;
    font-weight: 500;
}

.form-select:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: none;
}

.btn1 {
    padding: 9px 40px;
    border: none;
    font-size: 17px;
    text-align: center;
    color: var(--white);
    font-weight: 600;
    background: var(--primary);
    transition: all 600ms;
    border-radius: 50px;
}

.btn2 {
    padding: 9px 40px;
    border: none;
    font-size: 17px;
    text-align: center;
    color: var(--black);
    font-weight: 600;
    background: var(--light-grey);
    transition: all 600ms;
    border-radius: 50px;
}

    .btn2:hover {
        background: var(--black);
        color: var(--white);
    }

.font-13 {
    font-size: 13px;
}

.form-check-input:checked, .form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--primary);
    border-color: var(--primary);
}

.bg-light-grey {
    background-color: var(--light-grey);
}

.text-grey {
    color: var(--light-grey);
}

.btn1:hover {
    color: var(--white);
    background: var(--secondary)
}

.fw-medium {
    font-weight: 600;
}

.w-100 {
    height: 100%;
}

.primary-gradient {
    background: rgb(115,46,42);
    background: linear-gradient(90deg, rgba(115,46,42,1) 0%, rgba(174,77,78,1) 100%);
}

.cursore-pointer {
    cursor: pointer;
}

.text-primay-color {
    color: var(--primary);
}

.rounded-20 {
    border-radius: 20px;
}

.rounded-10 {
    border-radius: 10px;
}

.object-fit-cover {
    object-fit: cover;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

.form-control {
    height: auto;
    padding: 10px 17px;
    border: 0;
    color: var(--grey);
    font-weight: 500 !important;
    color: var(--black);
    font-size: 17px;
    transition: all 400ms;
}

    .form-control::placeholder {
        opacity: 1;
        color: var(--grey);
        font-weight: 500 !important;
    }

.form-floating > label {
    font-weight: 500 !important;
    color: var(--grey);
    font-size: 17px;
}

.form-control:focus {
    box-shadow: none;
    outline: none;
    border: 1px solid var(--primary);
}

.form-check-input:checked, .form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus, .form-check-input[type="checkbox"]:indeterminate:focus {
    border-color: var(--primary);
    outline: 0;
    box-shadow: none;
}

/* ============== LOGIN ================ */
.loginImage img {
    height: calc(100vh - 2rem);
}

.loginBox {
    background-color: var(--light-grey);
    padding: 50px;
}

.Logincopyright {
    position: absolute;
    width: 40%;
    text-align: center;
    right: 0;
    bottom: 20px;
    color: var(--grey);
}

    .Logincopyright a {
        color: var(--grey);
    }

/* ============== LOGIN ================ */


/* ============== Main Dashboard ================ */
.mainDashboard::before {
    content: "";
    width: 100%;
    position: absolute;
    top: 0;
    height: 35%;
    z-index: -1;
    background-image: url(../img/dashboard-bg-2.0.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/* ============== Main Dashboard ================ */



/* ============== Sidebar & header ================ */

.sidebar {
    background-color: var(--light-grey);
    width: 240px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    transition: all 400ms;
    -webkit-transition: all 400ms;
    -moz-transition: all 400ms;
    -ms-transition: all 400ms;
    -o-transition: all 400ms;
    top: 120px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

    .sidebar.active {
        width: 75px;
    }

    .sidebar .navlist ul li a span {
        transition: all 400ms;
    }

    .sidebar.active .navlist ul li a span {
        display: none;
        opacity: 0;
    }

    .sidebar.active .navlist ul li a, .sidebar.active .navlist ul li a:hover {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

.mnutog {
    display: none;
}

.sidebar .navlist ul li a {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    gap: 10px;
    padding: 10px;
    transition: all 400ms;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    white-space: nowrap;
}

    .sidebar .navlist ul li a.active, .sidebar .navlist ul li a:hover {
        background-color: var(--primary);
        color: var(--white);
        fill: var(--white);
    }

.sidebar .navlist ul li {
    margin-bottom: 13px;
}

    .sidebar .navlist ul li .nav-content li {
        margin-bottom: 0px;
    }

.toggleicon img {
    cursor: pointer;
    transform: rotate(180deg);
    transition: all 400ms;
}

.toggleicon.iconactive img {
    transform: rotate(0deg);
}

.toggleicon {
    text-align: right;
}

    .toggleicon.iconactive {
        text-align: center;
    }

.nav-content {
    position: static;
    z-index: 99;
    top: 100%;
    padding: 5px 5px 5px 0px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.sidebar .navlist ul li .nav-content li a.active, .sidebar .navlist ul li .nav-content li a:hover {
    background-color: var(--light-grey);
    color: var(--primary);
    fill: var(--white);
}

.sidebar.active .navlist ul li .nav-content li a span {
    display: block !important;
    opacity: 1 !important;
}

.sidebar .navlist ul li .nav-content li:last-child {
    margin-bottom: 0px;
}

.sidebar .navlist ul li .nav-content li {
    margin-bottom: 5px;
}

.sidebar.active .nav-content {
    position: absolute;
    z-index: 999999999;
    top: 0;
    padding: 5px 5px 5px 0px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #fff;
    left: 127%;
    box-shadow: 0px 0px 10px #ddd;
}

header.header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 999;
}

.header.header.active {
    box-shadow: 0px 0px 10px #dddddd6e;
}

.headerTab {
    font-size: 18px;
    font-weight: 600;
}

.headerTabButton {
    cursor: pointer;
}

.headerTab .headerTabButton.active, .headerTab .headerTabButton:hover {
    color: var(--primary);
    text-decoration: underline !important;
    font-weight: bolder;
    transition: all 400ms;
}

header .logo {
    width: 200px;
    text-align: center;
}

    header .logo img {
        width: 60px;
        margin: auto;
    }

/* ============== Sidebar & Header ================ */


/* ============== Main ================ */

.main {
    position: relative;
    margin-left: 76px;
    transition: all 400ms;
    height: calc(100% - 76px);
}

    .main.active {
        margin-left: 240px;
        height: calc(100% - 76px);
    }

/* ============== Main ================ */

.customModel .modal-header {
    background-color: var(--primary);
}

.tcBox {
    font-size: 20px;
}








/*==============  Media Query ============== */

@media only screen and (min-width: 992px) and (max-width:1169px) {
    .loginImage img {
        height: 100%;
    }

    .Logincopyright {
        width: 100%;
        position: static;
        padding: 15px 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .loginImage img {
        height: 100%;
    }

    .Logincopyright {
        width: 100%;
        position: static;
        padding: 15px 0;
    }

    .loginBox {
        padding: 30px;
    }
}

@media screen and (max-width: 991px) {

    h2 {
        font-size: 30px;
    }

    h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
        line-height: 1.2;
    }

    h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .mobscroll::-webkit-scrollbar {
        display: none;
    }

    h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .loginImage img {
        height: 100%;
    }

    .loginBox {
        background-color: var(--light-grey);
        padding: 30px;
    }

    .Logincopyright {
        width: 100%;
        position: static;
        padding: 15px 0;
    }

        .Logincopyright a {
            color: var(--grey);
        }

    .rounded-20 {
        border-radius: 10px;
    }

    header .logo {
        width: auto;
    }

    .headerTab {
        font-size: 16px;
        margin-left: auto;
    }

    .headerUser {
        display: none !important;
    }

    .mnutog {
        display: block;
    }

    .main.active, .main {
        margin-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
        z-index: 9999;
        width: 100%;
        top: 70px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        height: calc(100% - 73px );
    }

        .sidebar.active {
            transform: translateX(0);
            width: 100%;
        }

            .sidebar.active .navlist ul li a span {
                display: block;
                opacity: 1;
            }

    .main {
        padding: 15px;
    }

    .sidebar.active .nav-content {
        position: static;
        background-color: #f5f6f8;
        box-shadow: none;
    }

    .navlist {
        height: calc(100vh - 200px);
        overflow: auto;
    }

    .tcBox {
        font-size: 17px;
    }
}

.pagination .page-link {
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.pagination .page-link:hover {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}
