/* 主要文本字体 */
@font-face {
    font-family: 'MyFont';
    src: url('../font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Bold.woff2') format('woff2'),
        url('../font/HarmonyOS_Sans_SC/HarmonyOS_Sans_SC_Bold.woff2') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    /* 或 optional */
}

/* 侧边栏重构样式el-aside */
.el-aside {
    /* background-color: rgb(27, 27, 27); */
    background-color: #fff;
    box-shadow: 0rem 0.25rem 0.38rem -0.25rem rgba(0, 0, 0, 0.1), 0rem 0.63rem 0.94rem -0.19rem rgba(0, 0, 0, 0.1);
    border: 0.01rem solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(0.63rem);
    box-sizing: border-box;
    top: 0;
    padding: 0;
    padding-top: 60px;
    font-family: 'MyFont';
}

body {
    overflow-x: hidden;
}

.menu-top {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    width: 196px;
}

.el-menu--collapse {
    width: 64px;
}

.menu-top:nth-of-type(1) {
    margin-top: 15px !important;
}

.menu-top .el-menu-item {
    background: transparent !important;
    border-width: 0rem 0rem 0rem 0.04rem;
    border-style: solid;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.drawer-menu-list-top {
    padding: 0;
}

.menu-top {
    background: transparent !important;
}

.line {
    border: 1px solid transparent !important;
    margin: 10px auto;
}

.aside-menu-text {
    color: #4B5563;
    font-size: 15px;
    margin-left: 10px;
}

.el-menu-item i {
    color: #4B5563 !important;
}

.el-aside .el-menu-item.is-active {
    background-color: rgb(97 179 255 / 28%) !important;
    box-sizing: border-box;
    border-width: 0rem 0rem 0rem 0.04rem;
    border-style: solid;
    border-color: #2563EB;
}

.menu-top .el-menu-item.is-active {
    background-color: rgb(97 179 255 / 28%) !important;
    box-sizing: border-box;
    border-width: 0rem 0rem 0rem 0.04rem;
    border-style: solid;
    border-color: #2563EB;
}

.menu-top .el-menu-item:hover {
    background-color: rgb(97 179 255 / 28%) !important;
    border-width: 0rem 0rem 0rem 0.04rem;
    border-style: solid;
    border-color: #2563EB;
}

.el-menu-item.is-active span {
    color: #2563EB !important;
}

.menu-top .el-menu-item:hover span {
    color: #2563EB !important;
}

.menu-top .el-menu-item:hover i {
    color: #2563EB !important;
}

.menu-top .el-menu-item.is-active::after {
    display: none;
}

.el-menu-item.is-active i {
    color: #2563EB !important;
}


.ali-logo {
    height: auto !important;
    max-width: 100% !important;
    width: 100%;
    object-fit: contain;
    display: none;
}

/* 头部修改 */
.el-header {
    /* background-color: #000; */
    /* background: linear-gradient(0deg, rgba(0, 0, 0, 0.001), rgba(0, 0, 0, 0.001)), #FFFFFF; */
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    height: 60px !important;
    width: 100% !important;
    left: 0;
    padding: 0 20px 0 0 !important;
}

.Hui-fold {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 1;
}

.Hui-logoqq {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -ms-border-radius: 50% !important;
    -o-border-radius: 50% !important;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 8px 8px 20px 0 rgba(55, 99, 170, 0.4);
}

.Hui-fold img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    cursor: pointer;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    padding: 5px;
}


.Hui-fold img:hover {
    background-color: #dedede;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}

.el-tooltip__popper.is-dark .aside-menu-text {
    color: #fff !important;
}

.el-menu--vertical {
    background-color: #fff;
}

.el-menu--vertical .el-menu-item {
    color: rgb(0 0 0 / 80%) !important;
}

.el-menu--vertical .el-menu-item:focus,
.el-menu-item:hover {
    background-color: rgb(97 179 255 / 28%) !important;
    box-sizing: border-box;
    border-color: #2563EB;
}

.Hui-gai {
    height: 100%;
    width: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
        z-index: 1000;
    position: relative;
}

.Hui-gai .Hui-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0 0.1rem;
    box-sizing: border-box;
}

/* 所有页面的padding */
.el-main {
    /* padding: 90px 0.3rem 0.3rem 0.3rem !important; */
    overflow-x: hidden;
}

/* 二级下拉 */
.menu-top .el-submenu__title i {
    color: #909399 !important;
}

.menu-top .el-submenu a .el-menu-item {
    background-color: #fff !important;
    height: 50px;
    color: #4B5563 !important;
    border-style: solid !important;
    border-color: transparent;
}

.menu-top .el-submenu a .el-menu-item:hover {
    background-color: rgb(97 179 255 / 28%) !important;
    border-width: 0rem 0rem 0rem 0.04rem;
    border-style: solid !important;
    border-color: #2563EB;
    color: #2563EB !important;
}

.el-submenu .el-menu {
    background-color: #fff !important;
}

.menu-top .el-submenu a .el-menu-item.is-active {
    background-color: rgb(97 179 255 / 28%) !important;
    border-width: 0rem 0rem 0rem 0.04rem;
    border-style: solid !important;
    border-color: #2563EB;
    color: #2563EB !important;
}

.menu-top .el-submenu__title {
    background-color: #fff !important;
}

@media screen and (max-width: 768px) {
    .el-main {
        padding: 20vw 5vw 5vw 5vw !important;
    }

    .Hui-gai {
        display: none !important;
    }

    .el-header {
        height: 15vw !important;
        padding: 0 5vw !important;
    }

    .menu-top .el-submenu .el-menu-item a {
        color: #4B5563 !important;
    }

    .menu-top .el-menu-item.is-active a {
        color: #1a56db !important;
    }

    .header-right .header-right-item .un-login {
        font-size: 3.5vw;
    }

    .el-drawer__body {
        background-color: #fff;
    }

    .drawer-menu-logo {
        height: 100%;
        max-width: 80%;
        margin: 3vw auto 0 auto;
        width: 100%;
        display: block;
    }

    .drawer-menu-top {
        width: 100%;
        height: auto;
    }

    .drawer-menu-list-top {
        margin-top: 3vw;
    }
}