@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
body {
    padding: 0;
    box-sizing: border-box;
    background-color: #f6f6f6 !important;
    font-family: "Poppins", sans-serif !important;
}

/*============================================= header and sidebar page starts ================================================*/

.navbar-brand img {
    height: 48px;
}
a.navbar-brand {
    font-size: 1.6rem;
    color: #fff;
}

.nav-box {
    background: #fff;
    padding: 10px 40px !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.min-w-120 {
    min-width: 140px;
    width: 140px !important;
}
.navbar-custom {
    position: fixed;
    top: 0;
}

.sidenav {
    height: 100vh;
    width: 290px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    box-shadow: 0 0 8px #00000042;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    background-color: #fff;
}

.sidenav ul {
    padding-left: 0;
    margin: 0px 15px;
    list-style: none;
}

.sidenav a {
    /* padding: 10px 20px 10px 30px; */
    text-decoration: none;
    font-size: 18px;
    color: #0047ab;
    display: flex;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
    justify-content: space-between;
}

.list-unstyle li a span {
    color: #777777;
    font-size: 16px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: nowrap !important;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.sidenav ul li i {
    margin-right: 15px;
    font-size: 22px;
}

.fa-solid.fa-bars {
    font-size: 35px;
    margin-left: 20px;
}

.list-unstyle li a i {
    color: #777777;
    width: 10px;
    font-size: 7px;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    margin-left: 50px;
}

#main {
    transition: 0.5s;
    padding: 16px;
    position: relative;
    left: 0px;
    margin-left: 290px;
    transition: 0.5s;
}

.nav-fixed {
    position: fixed;
    z-index: 2;
    left: 0;
    width: 100%;
    top: 0;
}

.btn-nav {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

ul.dropdown-menu {
    font-size: 13px;
    color: #404046;
}

/*menu*/
ul.list-unstyle li:hover {
    /* background-color: #2c2c44; */
    color: #252525;
}

ul.list-unstyle li:hover a > span {
    color: #252525;
}

ul.list-unstyle li:hover i {
    color: #252525;
}

ul.list-unstyle li.active {
    background-color: rgba(255, 79, 0, 0.16);
}
.sidebar-icon path {
    fill: #ff4f00;
}

.active .sidebar-icon path {
    fill: #fff !important;
}

.list-unstyle .active span {
    color: #252525;
    font-weight: 500;
}

ul.list-unstyle li {
    margin-top: 5px !important;
}

#submenu-li {
    overflow: hidden;
    cursor: pointer;
}

#submenu-down {
    font-size: 1rem;
    transition: 0.2s;
    margin-right: 0;
    margin-left: 20px;
}

.sidebar-submenu {
    width: 85%;
    /* background: #dee0e3; */
    border-radius: 5px;
    margin-top: 0px;
    transition: 0.5s;
    margin: 5px auto 0;
    overflow: hidden;
}

div#mySidenav ul.list-unstyle li {
    padding: 15px 15px 15px 15px;
    border-radius: 10px;
}



.rotate-180 {
    transform: rotateX(180deg);
}

.sidebar-submenu .submenu-ul li a span {
    font-size: 15px;
}

ul.nav.flex-column.submenu-ul li {
    padding: 0px !important;
}

ul.nav.flex-column.submenu-ul li:hover {
    color: #252525;
}

.nav-link {
    display: block;
    padding: unset;
}

.div#mySidenav ul li {
    margin-top: 15px;
}



.header-hamburger-outer {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 200px);
    padding-left: 10px;
}
.mail-button button {
    background-color: transparent;
    border: none;
}

.notification-button button {
    background-color: transparent;
    border: none;
}

/* sidebar icons  */
.active .sidebar-icon {
    background-color: #ff4f00;
}
.sidebar-icon {
    background-color: rgba(255, 79, 0, 0.16);
    height: 32px;
    width: 32px;
    border-radius: 6px;
    text-align: center;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sidebar-active-icon {
    display: none;
    text-align: right;
}
.active .sidebar-active-icon {
    display: block;
}
.sidebar-submenu a {
    justify-content: left;
    align-items: center;
}
.submenu-ul {
    margin: 0px 10px !important;
}
.active-submenu a i {
    color: #ff4f00 !important;
}
.setting-menu {
    position: absolute;
    bottom: 40px;
    margin-right: 0px !important;
    margin-left: 0px !important;
    width: 90%;
}
.nav-dropdown-item img {
    margin-right: 15px;
}
.nav-dropdown-design {
    padding: 8px 10px !important;
}
.nav-dropdown-item {
    color: #252525 !important;
    font-size: 14px !important;
}
.nav-dropdown-item:hover {
    background-color: transparent !important;
    color: #252525 !important;
}
.user-header {
    gap: 10px;
}
.dropdown-sidebar {
    padding: 0px !important;
}

/*===================================================================  header and sidebar ENds ====================================================*/

.w-280 {
    width: 0px !important;
}

.l-80 {
    margin-left: 40px !important;
    margin-right: 40px;
}



.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #001376;
    position: relative;
}

.main {
    background-color: #efefef;
}

.w-0 {
    width: 0 !important;
}

.left-sidebar {
    width: 280px;
    height: 100vh;
    background-color: #001376;
    box-shadow: 0px 0px 15px #b5b5b5;
    position: fixed;
    overflow: hidden;
    transition: 0.45s;
    left: 0;
}

.left-sidebar ul li a {
    text-decoration: none;
    color: #121212;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.left-sidebar ul li a span {
    margin-left: 10px;
}

.left-sidebar ul {
    padding-left: 0px;
}

.left-sidebar ul li {
    padding: 13px;
}

.header {
    background-color: #fff;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-outer {
    width: 200px;
    text-align: center;
}

.user-img {
    width: 35px;
    height: 35px;
    border-radius: 25px;
}

.hamberger-parent {
    display: flex;
    gap: 20px;
    width: 30%;
}
.search-design {
    background-color: transparent;
}
.input-design {
    background-color: #f5f5f5;
}
.input-design input {
    background-color: transparent;
    color: #8c8c8c;
}
.input-design input::placeholder {
    color: #8c8c8c;
}
.input-design input:focus {
    background-color: transparent;
    box-shadow: none;
}
.search-design i {
    color: #8c8c8c;
}

/* =======================================================  Responsive ================================================== */

@media (max-width: 1366px) {
    .active {
        padding: 0px 0;
    }

    ul.list-unstyle.mt-4 li {
        margin-top: 5px !important;
    }

    .sidenav {
        width: 260px;
    }

    #submenu-down {
        font-size: 0.9rem;
    }

    .list-unstyle li a span {
        font-size: 15px;
    }

    .sidebar-submenu .submenu-ul li a span {
        font-size: 14px;
    }

    #main {
        margin-left: 260px;
    }
    .hamberger-parent {
        width: 40%;
    }
}

@media (max-width: 1024px) {
    .sidenav {
        width: 200px;
    }

    #main {
        margin-left: 200px;
    }
    .header-hamburger-outer {
        width: calc(100% - 170px);
    }
    .logo-outer {
        width: 150px;
    }
}

@media (max-width: 920px) {
    .hamberger-parent .input-design {
        display: none;
    }
    .sidenav {
        width: 0;
    }

    #main {
        margin-left: 0px;
        margin-right: 0px;
    }

    .l-80 {
        margin-left: 0px !important;
    }

    .d-none-resp {
        display: none;
    }

    .logo-outer {
        width: 20%;
    }

    .header-hamburger-outer {
        width: 80%;
        justify-content: space-between;
        /* padding-right: 30px; */
    }

    .w-280 {
        width: 250px !important;
    }
}
@media (max-width: 768px) {
    .logo-outer {
        width: 30%;
        text-align: left;
    }
    .header-hamburger-outer {
        width: 70%;
    }
    .nav-box {
        padding: 10px 20px !important;
    }
    .navbar-brand img {
        height: 35px;
    }
    .hamberger-parent {
        width: 20%;
    }
    /* .user-name {
        display: none;
    } */
    .nav-dropdown-design {
        left: -140px !important;
    }
}



.mt-50 {
    margin-top: 60px;
}


.active-checked{
    font-weight: 700;
}

.inactive{
    font-weight: 700;
}


/*  block and unblock button tech */
.btn-outline-primary {
    padding: 10px 20px;
    border-radius: 20px;
    border-color: #ff4f00;
    color: #ff4f00;
  }
  
  .btn-outline-primary.inactive {
    background-color: #fff;
    color: #ff4f00;
  }
  
  .btn-outline-primary.active {
    background-color: #ff4f00;
    color: #fff;
  }


  .btn {
    padding: 10px 20px;
    border-radius: 20px;
  }
  
  .btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
  }
  
  .btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
  }
  
  .btn-success {
    background-color: #28a745;
    color: #fff;
  }
  
  .btn-success:hover {
    background-color: #1e7e34;
    color: #fff;
  }


  .btn {
    padding: 10px 20px;
    border-radius: 20px;
  }
  
  .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
  }
  
  .btn-outline-primary:hover {
    background-color: #007bff;
    color: #fff;
  }
  
  .btn-danger {
    background-color: #dc3545;
    color: #fff;
  }
  
  .btn-danger:hover {
    background-color: #bd2130;
    color: #fff;
  }
  .form-switch .form-check-input {
    width: 50px;
}



/* 08 Jan 2025 */
p.version_text {
    padding: 5px 18px;
    margin-top: auto;
    margin-bottom: 0;
    color: #ff4f00;
    text-align: center;
}
#mySidenav {
    display: flex;
    flex-direction: column;
}
body:has(.setting-menu p.version_text) span.setting-menu {
    bottom: 0;
}
@media(max-width:767px){
    #submenu-down {
        margin-left: auto;
    }
    .sidenav ul {
        margin: 0 8px;
    }
    .dataTables_filter label {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 8px;
    }
}

 
    div#mySidenav .setting-menu{
        position: unset;
    }
 



/* 21 Feb 2025 */
div#mySidenav:has(span.setting-menu p.version_text) > ul {
    display: flex !important;
    flex-direction: column !important;
    height: calc(100dvh - 88px);
}
div#mySidenav:has(span.setting-menu p.version_text) > ul span.setting-menu {
    margin-top: auto;
}