/* Header css */
.card-new {
    margin-top: -25px;
}

.custom-navbar {
    height: 74px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar .active {
    color: var(--primary-color) !important;
}

.navbar-brand {
    order: 1;
}

#navbarNav {
    order: 2;
}

.menu-user {
    order: 3;
}

.navbar-logo {
    width: 60px;
    height: auto;
}

.separator-vertical {
    width: 2px;
    height: 36px;
    background-color: #000000;
    margin: 0 10px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}


#navbarNav>ul {
    margin-right: 80px;
}

#navbarNav>ul li {
    margin-right: 20px;
}

#navbarNav>ul li .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

#navbarNav>ul li .nav-link::before {
    content: '';
    width: 0%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0px;
    left: 0;
    transition: width .5s linear;
}

#navbarNav>ul li .nav-link:hover::before {
    width: 100%;
}

.btn-login,
.btn-register {
    font-size: 16px !important;
    font-weight: 500;
}

.menu-user {
    display: flex;
    align-items: center;
}


.user-name {
    margin-right: 10px;
    line-height: 40px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
    object-position: center;
}

.avatar-dropdown {
    position: absolute;
    right: 1px;
    top: 41px;
    z-index: 1001;
    width: 300px;
    display: none;
}

.avatar-dropdown .dropdown-item {
    padding-bottom: 10px;
    padding-top: 10px;
    border-radius: 10px;
}

.avatar-dropdown .dropdown-item:hover {
    background-color: var(--second-hover-color);
}

.avatar-container .user-name {
    font-size: var(--fs-16);
    font-weight: 600;
}

.avatar-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar-dropdown .dropdown-item img {
    margin-right: 8px;
}

.avatar-dropdown .icon-svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.notification-container .notification-toggle{
    padding: 8px 9px;
    background-color: #E4E6E8;
    border-radius: 50%;
    font-size: 21px;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#totalNotifiesUnread {
    position: absolute;
    font-size: 13px;
    color: #fff;
    background: red;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    top: 0;
    transform: translate(50%, -50%);
}

#totalNotifiesUnread.hide {
    display: none;
}

.notification-container .dropdown-notification{
    position: absolute;
    background-color: #fff;
    right: -66px;
    top: 44px;
    max-height: 80vh;
    overflow-y: auto;
    width: 380px;
    padding: 10px;
}
.notification-container .dropdown-notification::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: transparent;
}

.notification-container .dropdown-notification::-webkit-scrollbar
{
	width: 7px;
	background-color: #fff;
}

.notification-container .dropdown-notification::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #c6ccd1;
}

.notification-container .dropdown-notification ul {
    padding: 0;
    margin: 0;
}
.notification-container .dropdown-notification ul > li {
    list-style: none !important;
    margin-bottom: 10px;
    border-radius: 10px;
}
.notification-container .dropdown-notification ul > li.unread {
    background-color: #E4E6E8;
}
.notification-container .dropdown-notification ul a{
    border-radius: 10px;
    padding: 5px;
}
.notification-container .dropdown-notification ul a:hover{
    background-color: #E4E6E8;
}

.notification-container .dropdown-notification .notification{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notification-container .dropdown-notification .notification span{
    font-size: 12px;
}
/* new css header  */
.active-menu {
    color: var(--primary-color) !important;
}

/* footer css */
.footer {
    background-color: #262626;
    color: #fff;
    padding: 40px 0;
}

.footer-logo {
    width: 70px;
    height: 60px;
    margin-bottom: 20px;
}

.footer p {
    font-size: 14px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: var(--fs-16);
}

.footer-links a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 1200px) {
    #navbarNav>ul {
        margin-right: 0;
    }
}

@media only screen and (max-width: 991.5px) {
    .avatar-container .user-name {
        display: none;
    }

    .menu-user-mobile {
        display: block;
    }

    .navbar-brand {
        order: initial;
    }

    #navbarNav {
        order: initial;
    }

    .menu-user {
        order: initial;
    }

    #navbarNav {
        background-color: #fff !important;
        padding: 10px 20px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
    }

    .col-md-6 {
        margin-bottom: 30px;
    }

    .avatar-dropdown {
        right: -10px;
        top: 45px;
        z-index: 1001;
        width: 300px;
        display: none;
    }

}

@media screen and (max-width: 768px) {
    .navbar-logo {
        width: 54px;
    }

    .avatar-dropdown .dropdown-item {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 450px) {
    .navbar-toggler img {
        width: 30px;
        height: 30px;
    }

    .footer .row {
        margin-left: 20px;
    }

    .navbar-brand {
        margin: 0;
    }

    .navbar-brand .navbar-logo {
        width: 65px;
        height: 55px;
    }

    .dropdown-menu {
        width: 240px;
        max-height: 400px;
    }

    .menu-user .separator-vertical,
    .menu-user .btn-register {
        display: none;
    }

}
