/* Header */
.header_padding {
    padding: 3rem 3rem 1.2rem;
}
.header_logo {
    width: 17.4rem;
}
header {
    border-bottom: 2px solid var(--main-color);
    height: 7.9rem;
    position: sticky;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    top: 0;
}
header i {
    font-size: 2rem;
    /* margin-right: 2rem; */
}
header ul {
    margin-bottom: 0.5rem;
}
header li {
    display: inline-block;
    /* margin-left: 1.5em; */
}
header img {
    vertical-align: unset;
}

.header_user_name {
    cursor: pointer;
    font-size: 1.6rem;
    position: relative;
}
.header_user_name > i {
    font-size: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.net-nav {
    /* cursor: pointer; */
}

/* header mobile */
.button_container {
    /* position: fixed;      */
    position: absolute;
    transform: translateZ(0);

    display: none;
    /* top: 0; */
    right: 12px;
    height: 27px;
    width: 30px;
    cursor: pointer;
    z-index: 9999;
    transition: opacity 0.25s ease;
}
.button_container:hover {
    opacity: 0.7;
}
.button_container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: #777;
}
.button_container.active .middle {
    opacity: 0;
    background: #777;
}
.button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #777;
}
.button_container span {
    background: #777;
    border: none;
    height: 4px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.35s ease;
    cursor: pointer;
    border-radius: 5px;
}

.button_container span:nth-of-type(2) {
    top: 11px;
}

.button_container span:nth-of-type(3) {
    top: 22px;
}

.overlay {
    position: fixed;
    background-color: #343c47;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 0%;
    z-index: 9998;
    overflow: hidden;
}
.overlay.open {
    height: 100%;
}
.overlay.open li {
    animation: fadeInRight 0.3s ease forwards;
    animation-delay: 0.15s;
}
.overlay.open li:nth-of-type(2) {
    animation-delay: 0.2s;
}
.overlay.open li:nth-of-type(3) {
    animation-delay: 0.25s;
}
.overlay.open li:nth-of-type(4) {
    animation-delay: 0.3s;
}
.overlay.open li:nth-of-type(5) {
    animation-delay: 0.35s;
}
.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;	 
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.overlay ul li {
    /* display: block; */
    /* text-align: left; */
    /* height: 25%;
    height: calc(100% / 4); */
    /* min-height: 50px; */
    position: relative;
    opacity: 0;
}
.overlay ul li a {
    /* display: block; */
    position: relative;
    color: #777;
    text-decoration: none;
    /* overflow: hidden; */
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
    width: 100%;
}
.overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 1px;
    background: #777;
    transition: 0.35s;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
   }
    100% {
        opacity: 1;
        left: 0;
   }
}

.link_sub_point {
    color: #fff;
    font-size: 2rem !important;
}
.link_sub_item {
    /* font-size: 2rem !important;
    margin-bottom: 2rem;     */
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1.2rem;
    /* width: 18rem; */
    width: 100%;
    margin: 0 2.8rem 1.4rem 2.8rem;
}

.link_sub_item > * {
    color: #fff;
    font-size: 2rem !important;
}

/* dropdown */
.dropdown-toggle {
    all: unset;
}
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 17px);
    border-radius: 0;
    border: 1px solid #d8d8d8;
    padding: 0 0 .8rem;
    /* margin-top: 0.2rem !important; */
}
.dropdown-menu a {
    text-decoration: none;
}
.dropdown-menu-right {
    right: 0;
    left: auto;
} 
.dropdown-menu-box {
    display: none;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2);
    width: 200px;
    /* width: 220px; */
}
.dropdown-menu-box.show {
    display: block;
}
.dropdown-title {
    cursor: default;
    font-size: 1.5rem;
    background-color: #444653;
    color: #fff;
    text-align: center;
    padding: .5rem 0;
}
.dropdown-point {
    cursor: default;
    font-size: 2rem;
    text-align: center;
    padding: 1rem 1.5rem;
    color: #333;
}
em {
    font-style: normal;
    font-weight: 600;
    color: var(--secondary-hover-color);
}
.dropdown-point p {
    margin: 0;
    color: #777; 
    font-size: 1.4rem;
}
.dropdown-item {
    text-align: center;
    font-size: 1.5rem;
    color: var(--secondary-color);

    margin: 0;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* gap: 1.2rem;
    width: 15rem; */
}
.dropdown-item:hover {
    color: var(--main-color);
    /* background-color: transparent; */
}
.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color) !important;
}
.dropdown-item:active span {
    color: var(--bs-dropdown-link-active-color);
}

.dropdown-item-link {
    display: flex;
    align-items: center;
    justify-content: start;
    /* gap: 1.2rem; */
    /* width: 15rem; */
    width: 100%;
}


.wrapper {
    position: relative;
}

header .notification {
    /* float: right; */
    padding: 5px;
    cursor: pointer;
    position: relative;
    /* right: 300px; */
    /* top: 7px; */
}

header .notification:hover i {
    color: #6F7E87;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.notification i {
    color: #9FB6C3;
    font-size: 22px !important;
    line-height: 24px !important;
}

.notify-count.count1 {
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 2px;
    left: 13px;

    width: 16px;
    height: 16px;

    font-size: 10px;
    /* padding-top: 0px; */
}

.notify-count.count2 {        
    display: flex;
    justify-content: center;
    align-items: center;

    width: 20px;
    height: 20px;
    font-size: 14px;
    /* left: 13px; */

    /* padding: 1px;
    margin-left: 3px;
    margin-top: -2px; */
}

.common-count {
    background: var(--danger-color);
    color: #ffffff;
    /* -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px; */
    border-radius: 50%;
    text-align: center;
    border: 1px solid #fff;
}


.arrow-up {
    position: relative;
    height: 8px;
}

.arrow-up:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #344A53;    
}

.notification-dropdown {
    
}

.notification-dropdown.hide {        
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-transition {
    width: 260px;
    position: absolute;
    top: 125%;
    left: 50%;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    /* overflow: hidden; */
    /* -webkit-transform: translateY(18px);
    -moz-transform: translateY(18px);
    -o-transform: translateY(18px); */
    
    /* -webkit-transition: -webkit-transform 0.4s, opacity 0.4s; */
    /* -moz-transition: -moz-transform 0.4s, opacity 0.4s;
    -ms-transition: -ms-transform 0.4s, opacity 0.4s;
    -o-transition: -o-transform 0.4s, opacity 0.4s; */
    
    transition: transform 0.4s, opacity 0.4s;        
    transform: translate(-50%, 10px);

    /* box-shadow: 0 0 5px rgba(0, 0, 0, .35); */
}

.notification-dropdown .header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .8rem;
    color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #344A53;
    width: 100%;
    height: 44px;
    border-bottom: 1px solid #D5DFE4;
    font-size: 14px;
    line-height: 18px;        
}

.notification-dropdown .header .container {
    width: 115px;
    margin: 0px auto;
    padding-top: 12px;
}

.notification-dropdown .items{
    /* background: #E9EFF2; */
    background: #fff;
    width: 100%;
    max-height: 256px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow-y: auto;        
}

.notification-dropdown .items .list-item {
    color: #000;

    padding: 14px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #D5DFE4;
    /* height: 35px; */
    cursor: pointer;
}

.notification-dropdown .items .list-item:hover {
    background: #e1eaf0;
}

.new-item{
    background: #DDECF3;
}

.notification-dropdown .items .list-item:last-child {
    border-bottom: 0px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* .notification-dropdown .items .list-item .image {
    margin-right: 12px;
} */

/* .notification-dropdown .items .list-item img {
    width: 35px;
    height: auto;
    border-radius: 30px;
} */

.notification_content_box {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    position: relative;
}

.notification_text {
    flex-grow: 1;
    color: #50595d;
}

.notification_name {
    color: #7A878E;
}

.notification_close_icon {
    position: absolute;
    top: 0;
    right: 0;
    line-height: 16px;
    color: #777;
    font-size: 2rem;

    transition: all .2s ease;
}

.notification_close_icon:hover {
    color: #000;
    transform: scale(140%);
}


/* Media Query */
@media (max-width: 486px) {
    .mobile-menu {
        display: block;
    }

    .button_container {
        display: block;
    }

    .wrapper {
        margin-right: 2.8rem !important;
    }
    
    /* .net-nav {
        display: none !important;
    } */

    .wrapper {
        margin-right: 2.8rem !important;
    }

    .header_user_name {
        display: none !important;
    }

    .dropdown-transition {      
        left: auto;  
        right: 0;
        transform: translate(0, 10px);
    }

    .arrow-up:before {
        left: auto;
        right: 0;
    }
}

@media (max-width: 320px) {
    header {
        height: 6.9rem;
    }
    .header_padding {
        padding: 2.5rem 3rem 1.2rem;
    }
    .header_logo {
        width: 15.4rem;
    }

    .mobile-menu {
        top: 0.8rem;
    }
}
