.line-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9;
    height: 100%;
}
.line-small {
    z-index: 3;
    height: 30px;
    line-height: 30px;
    position: relative;
}
.box-default-header {
    height: 100%;
}
.box-mobile-header {
    display: none;
}
.icon-10 {
    width: 10px;
}
.icon-18 {
    width: 18px;
}
.line-small .line-item {
    display: inline-block;
    position: relative;
}

.line-small .item-more {
    position: absolute;
    top: 2px;
    cursor: pointer;
}

.login a {
    color: #fff;
    padding: 0 10px;
}

.header-bottom .line-main div a, .header-bottom .line-small .line-item a {
    color: #000;
}

.header-bottom {
    background: #fbfbfb;
    border-bottom: 1px solid #cdcdcd;
    padding: 5px 0;
}

.line-main .header-right .local {
    margin-right: 35px;
}

.line-main .header-right .icon-weather {
    position: absolute;
    bottom: 0;
    right: 40px;
    width: 30px;
}
.header-left {
    display: flex;
    float: left;
    align-items: center;
}
.header-left .logo {
    width: 20%;
    min-width: 150px;
}
.header-left .logo img {
    width: 100%;
}
.header-left .logo-mobile{
    width: 119px;
}
.header-right {
    float: right;
}
.nav-menu .line-item a {
    font-size: 16px;
    padding: 6px 9px;
    border-radius: 20px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    font-style: normal;
    display: flex;
    align-items: center;
}

.nav-menu .line-item a img {
    margin-right: 6px;
}

.nav-menu .line-item a:hover {
    background-color: rgb(189, 195, 199, .2);
}

.nav-menu .line-item a.active {
    background-color: rgb(189, 195, 199, .2);
}
.menu-active {
    background-color: #fff;
    padding: 0 7px;
    border-radius: 10px;
}

.menu-active a {
    color: #50006C !important;
    font-weight: 600;
}

.menu-item:first-child {
    margin-left: 0;
}

.menu-item {
    font-size: 0.85em;
    letter-spacing: 0.8px;
    margin-right: 0;
    margin-left: 0;
    cursor: pointer;
    position: relative;
}
.sale-icon {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 26px;
    transform: rotate(40deg);
}
.line-small .login {
    font-size: 0.85em;
    letter-spacing: 0.8px;
    cursor: pointer;
}

.header-right .user {
    position: relative;
    display: flex;
    align-items: center;
}

.header-right .username {
    margin-left: 40px;
    margin-right: 8px;
    cursor: pointer;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    object-fit: cover;
    border: 1px solid #d7d7d7;
}

.crown {
    position: absolute;
    width: 14px;
    top: -7px;
    left: -7px;
    transform: rotate(-45deg);
}

.el-mobile {
    display: none;
}
.header-web {
    display: block;
}
.header-right.header-web {
    display: flex;
    min-width: max-content;
}

#header {
    position: relative;
    height: 80px;
    user-select: none;
}

#header .logo {
    line-height: 1;
    letter-spacing: -2px;
    margin-right: 20px;
}

.logo a {
    font-style: italic;
}

.logo a span:first-child {
    font-size: 0.7em;
}
#header .sl-custom {
    border: none;
    box-shadow: none;
    font-size: 80%;
    color: #3399ff;
}

#header #language .sl-custom {
    width: 90px;
}

.box-mobile .sl-custom {
    width: 55px;
}

#header .sl-custom:focus {
    outline: none;
    border: none;
}
.setting {
    margin-left: 8px;
    cursor: pointer;
}

.box-setting {
    position: fixed;
    background-color: #fff;
    color: #000;
    z-index: 99;
    right: 7.2%;
    top: 56px;
    width: 220px;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    display: none;
}

.box-menu {
    position: absolute;
    background-color: #fff;
    z-index: 99;
    right: -20px;
    width: 220px;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    display: none;
}

.box-menu a {
    color: #000 !important;
}

.box-menu .menu-active {
    padding: 0;
}

.box-setting:after, .box-user:after, .box-menu::after {
    content: "";
    position: absolute;
    bottom: 100%;
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.box-setting:after {
    right: 20px;
}

.box-user::after {
    right: 40%;
}
.box-menu::after {
    right: 6px;
}
.box-setting .setting-item {
    border-bottom: 1px solid #d9d9d9;
    padding: 7px 0;
    display: flex;
    justify-content: space-between;
}
.box-setting .setting-item:last-child {
    border-bottom: 1px solid #fff;
}

.box-user {
    position: absolute;
    background-color: #fff;
    color: #000;
    z-index: 99;
    width: 160px;
    top: 35px;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    display: none;
}

.box-user a {
    display: block;
    color: #000 !important;
}

.main-mobile {
    line-height: 50px;
    width: 100%;
}
.cover {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10;
    display: none;
    background: rgba(0, 0, 0, .2);
}
details.el-mobile summary::-webkit-details-marker,
details.el-mobile summary::marker {
    content: "";
    display: none;
}
details.el-mobile summary::after,
details.el-mobile[open] summary::after {
    content: '';
    position: absolute;
    right: 0;
}
details.el-mobile summary::after {
    top: 4px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;

}
details.el-mobile[open] summary::after {
    top: 6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
} 
details.el-mobile {
    padding: 6px 20px;
    font-size: 16px;
    font-weight: 500;
}
.menu-item-mobi {
    background-color: #e0e0e0;
    font-weight: 600;
    width: fit-content;
    padding: 5px 12px;
    margin-right: 5px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-size: 0.95em;
    display: inline-block;
    cursor: pointer;
} 

.menu-item-mobi a {
    color: #fff;
} 
.list-menu-item {
    padding: 10px 0;
    font-size: 0.9em;
}

.list-menu-item .active {
    background-color: #ffffff;
}

.header-bottom .line-item a {
    margin-right: 10px;
}
.new-feature {
    position: absolute;
    top: -6px;
    right: -12px;
    transform: rotate(20deg);
    width: 25px;
}
@media screen and (max-width: 1323px) {
    #header .logo {
        margin-right: 0;
    }
    .nav-menu .line-item.home {
        display: none !important;
    }
}

@media screen and (max-width: 1323px) {
    .nav-menu .line-item a,
    .header-right.header-web {
        font-size: 14px;
    }
    .header-right.header-web {
        font-size: 14px;
    }
    .login a {
        padding: 6px 9px;
    }
}

@media screen and (max-width: 820px) {
    .nav-menu .line-item a {
        padding: 6px 5px;
    }
    .login a {
        padding: 6px 3px;
    }
}

@media screen and (max-width: 767.99px) {
    .line-main {
        width: 250px;
        display: block;
        position: fixed;
        background-color: #291669;
        background-image: linear-gradient(to right, #291669, #7f20a3);
        color: #ffffff;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 11;
        transform: translateX(-100%);
        transition-duration: .3s;
    }
    .line-main.open-menu-left {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    .el-mobile {
        display: block;
    }
    .header-mobile {
        background-color: white;
        padding: 20px;
    }
    .header-web {
        display: none !important;
    }
    .header-mobile .logo img {
        width: 184px;
    }
    
    .profile-public {
        margin: 60px auto;
    }

    .header {
        top: 0;
        position: fixed;
        width: 100%;
        z-index: 9999999999;
    }
    .box-mobile-header {
       display: block; 
       position: fixed;
       overflow-y: auto;
       height: 100vh;
    }
    #header .btn-menu {
        top: 19px !important;
    }

    #header {
        height: 50px;
    }

    .logo a, .username {
        color: #291669 !important;
        margin-right: 5px;
        font-size: 14px;
    }
    .header-bottom {
        display: none;
    }
    .main-mobile {
        line-height: 50px;
        width: 85%;
        padding: 0 15px;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-left {
        display: block;
        float: initial;
    }    
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: start;
    }
    .line-item {
        width: 100%;
    }
    .nav-menu .line-item a {
        padding: 6px 20px;
        border-radius: 0;
    }
    .nav-menu .line-item a img {
        margin: 0;
        margin-right: 6px;
    }
    .box-setting {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: initial;
        border-radius: 0;
        transform: translateY(100%);
        transition-duration: .3s;
        display: block;
    }
    .box-setting::after {
        display: none;
    }
    .box-setting .setting-item {
        border-bottom: none;
    }
    .setting-mobile-title {
        font-size: 20px;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
    }
    .box-setting.open-setting-panel {
        -webkit-transform: translateY(0);
        transform: translateY(0%);
    }
    .main-mobile {
        max-width: calc(95% - 30px);
        height: 50px;
    }
    .box-default-header .box-web {
        font-size: 0.85em;
    }
}