/* Google Fonts Import Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f3f4f6;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    background: #11101d;
    z-index: 100;
    transition: all 0.5s ease;
}

.sidebar.close {
    width: 78px;
}

.sidebar .logo-details {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
}

.sidebar .logo-details i {
    font-size: 30px;
    color: #fff;
    height: 50px;
    min-width: 78px;
    text-align: center;
    line-height: 50px;
}

.sidebar .logo-details .logo_name {
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s ease;
    transition-delay: 0.1s;
}

.sidebar.close .logo-details .logo_name {
    transition-delay: 0s;
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links {
    height: 100%;
    padding: 30px 0 150px 0;
    overflow: auto;
}

.sidebar.close .nav-links {
    overflow: visible;
}

.sidebar .nav-links::-webkit-scrollbar {
    display: none;
}

.sidebar .nav-links li {
    position: relative;
    list-style: none;
    transition: all 0.4s ease;
}

.sidebar .nav-links li:hover {
    background: #1d1b31;
}

.sidebar .nav-links li .iocn-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar.close .nav-links li .iocn-link {
    display: block
}

.sidebar .nav-links li i {
    height: 50px;
    min-width: 78px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar .nav-links li.showMenu i.arrow {
    transform: rotate(-180deg);
}

.sidebar.close .nav-links i.arrow {
    display: none;
}

.sidebar .nav-links li a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sidebar .nav-links li a .link_name {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    transition: all 0.4s ease;
}

.sidebar.close .nav-links li a .link_name {
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links li .sub-menu {
    padding: 6px 6px 14px 80px;
    margin-top: -10px;
    background: #1d1b31;
    display: none;
}

.sidebar .nav-links li.showMenu .sub-menu {
    display: block;
}

.sidebar .nav-links li .sub-menu a {
    color: #fff;
    font-size: 15px;
    padding: 5px 0;
    white-space: nowrap;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sidebar .nav-links li .sub-menu a:hover {
    opacity: 1;
}

.sidebar.close .nav-links li .sub-menu {
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    opacity: 0;
    display: block;
    pointer-events: none;
    transition: 0s;
}

.sidebar.close .nav-links li:hover .sub-menu {
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s ease;
}

.sidebar .nav-links li .sub-menu .link_name {
    display: none;
}

.sidebar.close .nav-links li .sub-menu .link_name {
    font-size: 18px;
    opacity: 1;
    display: block;
}

.sidebar .nav-links li .sub-menu.blank {
    padding: 3px 20px 6px 16px;
    opacity: 0;
    pointer-events: none;
}

.sidebar .nav-links li:hover .sub-menu.blank {
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .profile-details {
    position: fixed;
    bottom: 0;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1d1b31;
    padding: 12px 0;
    transition: all 0.5s ease;
}

.sidebar.close .profile-details {
    background: none;
}

.sidebar.close .profile-details {
    width: 78px;
}

.sidebar .profile-details .profile-content {
    display: flex;
    align-items: center;
}

.sidebar .profile-details img {
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 14px 0 12px;
    background: #1d1b31;
    transition: all 0.5s ease;
}

.sidebar.close .profile-details img {
    padding: 10px;
}

.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job {
    display: none;
}

.sidebar .profile-details .job {
    font-size: 12px;
}

.home-section {
    position: relative;
    height: auto;
    left: 260px;
    width: calc(100% - 260px);
    transition: all 0.5s ease;
}

.sidebar.close ~ .home-section {
    left: 78px;
    width: calc(100% - 78px);
}

.home-section .navbar {
    height: 60px;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.home-section .navbar .sidebar-toggle,
.home-section .navbar .text {
    color: #11101d;
    font-size: 35px;
}

.home-section .navbar .sidebar-toggle {
    margin: 0 15px;
    cursor: pointer;
}

.home-section .navbar .setting {
    position: relative;
    text-align: center;
}

.home-section .navbar .setting img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden
}

.home-section .home-content {
    margin: 15px;
}

@media (max-width: 400px) {
    .sidebar.close .nav-links li .sub-menu {
        display: none;
    }

    .sidebar {
        width: 78px;
    }

    .sidebar.close {
        width: 0;
    }

    .home-section {
        left: 78px;
        width: calc(100% - 78px);
        z-index: 100;
    }

    .sidebar.close ~ .home-section {
        width: 100%;
        left: 0;
    }
}

/* Content style */
.required-form {
    color: red
}

.long-text {
    white-space: nowrap;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hiddenRow {
    padding: 0 !important;
}

/*.long-text:hover {*/
/*    overflow: visible;*/
/*    white-space: pre-wrap;*/
/*    position: relative;*/
/*    background-color: white;*/

/*    box-shadow: 0 0 4px 0 black;*/
/*    border-radius: 1px;*/
/*    opacity: 0.7;*/
/*}*/

.table a.desc::after {
    content: " ↓";
    display: inline-block;
}

.table a.asc::after {
    content: " ↑";
    display: inline-block;
}

.list-image img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.preview-image img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
}

.view-details-image img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
}

.actions {
    width: 200px;
}

.dashboard-card {
    height: 370px;
    width: 100%;
    background-color: #f3f4f6;
    border-radius: 10px;
}

.chart {
    height: 300px;
    width: 100%;
}

.dashboard-sub-card {
    height: 300px;
}

.card-read-more {
    border-top: 1px solid #D4D4D4;
}

.card-read-more a {
    text-decoration: none !important;
    padding: 10px;
    font-weight: 600;
    text-transform: uppercase
}

.search {
    height: 28px;
}

.btn-search {
    width: 90px;
    height: 28px;
    text-align: center;
}

.icon-card {
    font-size: 50px;
    font-weight: bolder;
}

.bg-col-1 {
    background-color: #CDF5F6;
}

.bg-col-2 {
    background-color: #EFF9DA;
}

.bg-col-3 {
    background-color: #F9EBDF;
}

.bg-col-4 {
    background-color: #F9D8D6;
}

.bg-col-5 {
    background-color: #D6CDEA;
}

.card-stats {
    transition: transform .3s;
}

.card-stats:hover {
    transform: scale(1.03);
    cursor: pointer;
}

.card-text-number {
    color: #323f4b;
}

th a, td a {
    text-decoration: none !important;
}

.card-main {
    height: 290px;
}

.card-icon img {
    width: 150px;
    height: 150px;
    border: 1px solid #fff;
    border-radius: 50%;
}

.card-sub-icon img {
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
}

.card {
    border: None;
}

.card-lg-3 {
    width: 200px;
    height: 130px;
    border-radius: 10%;
    border: 1px solid #fff;
}

.card-sm-3 {
    width: 150px;
    height: 110px;
    border-radius: 10%;
    border: 1px solid #fff;
}

thead tr th, thead tr th a, tbody tr td a {
    color: black;
}

.logo img {
    width: 100px;
    height: 100px;
    margin: 5px;
    padding: 5px;
}

.footer {
    position: fixed;
    height: 60px;
    bottom: 0;
    width: 100%;
    padding-bottom: 2px;
}
.card-tips {
    background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)), url("../img/public-image/tips-weekly.avif") center no-repeat;
    background-size: cover;
    border-radius: 5px;
}
.card-learning {
    background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)), url("../img/public-image/learning.jpg") center no-repeat;
    background-size: cover;
    border-radius: 5px;
}
.card-health-staff {
    background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)), url("../img/public-image/health-center-staff.avif") center no-repeat;
    background-size: cover;
    border-radius: 5px;
}
.card-volunteers {
    background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)), url("../img/public-image/volunteer.avif") center no-repeat;
    background-size: cover;
    border-radius: 5px;
}
.header-sticky {
    position: sticky;
    top: 60px;
    background: #f3f4f6;
    z-index: 99;
}

