@charset "utf-8";

body {
    overflow: auto;
}
body.active {
    overflow: hidden;
}

.dim {
    position: fixed;
    z-index: 99;
    background-color: #111;
    width: 100%;
    height: 100vh;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    top: 0;
    transition: all var(--transition);
}

.dim.active {
    opacity: .3;
    visibility: visible;
}

.btnRound {
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-base);
}

/* header */
.headerStage {
    width: 100%;
    z-index: 9;
}

.headerContainer {
    margin-top: 18px;
    padding: 0 var(--container-gutter);
    border-radius: 20px;
    box-shadow: 0 0 15px #00000015;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    background-color: #fff;
}

.headerLogo {
    height: var(--logo-height);
}

.headerLogo>.logo {
    position: static;
}

.headerNavList {
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
}

.headerNavList>li {
    position: relative;
}

a.headerLink {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    transition: var(--transition);
    text-align: center;
}

.subList {
    width: 100%;
    min-width: 160px;
    padding: 18px 6px;
    position: absolute;
    top: 66px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 15px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .09);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 2;
}

.subList.long {
    width: 175px;
}

.headerLink.active + .subList {
    opacity: 1;
    visibility: visible;
}

.subList>li {
    display: block;
}

.subLink {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 14px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    border-radius: 5px;
    transition: var(--transition);
}

.allMenuCloseBtn,
.allMenuBtn {
    width: 40px;
    height: 40px;
}

.allMenuBar {
    position: relative;
}

.allMenuBar,
.allMenuBar::before,
.allMenuBar::after {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    transition: all var(--transition);
}

.allMenuBar::before,
.allMenuBar::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
}

.allMenuBar::before {
    top: -6px;
}

.allMenuBar::after {
    top: 6px;
}

.allMenuCloseBtn .allMenuBar,
.allMenuBtn.active .allMenuBar {
    background-color: transparent;
}

.allMenuCloseBtn .allMenuBar::before,
.allMenuBtn.active .allMenuBar::before {
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
}

.allMenuCloseBtn .allMenuBar::after,
.allMenuBtn.active .allMenuBar::after {
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-45deg);
}

.allMenuStage {
    background-color: #fff;
    position: fixed;
    right: -100%;
    min-width: 320px;
    width: 320px;
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    top: 0;
}

.allMenuStage.active {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.allMenuTop {
    padding: 12px var(--container-gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.allMenuTopList {
    display: flex;
    align-items: center;
    gap: 16px;
}

.allMenuTopList>li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.allMenuTopList>li+li::before {
    content: '';
    display: block;
    width: 1px;
    height: 14px;
    background-color: var(--grey-base);
}

.allMenuTopLink {
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    margin: 0 -10px;
}

.allMenuBottom {
    overflow-y: auto;
    height: calc(100vh - 66px);
}

.allMenuBottom::-webkit-scrollbar {
    display: none;
}

.allMenuSubList,
.allMenuNavList {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.allMenuSubList>li,
.allMenuNavList>li {
    width: 100%;
}

.allMenuNavList>li+li {
    border-top: 1px solid #fff;
}

.allMenuLink {
    width: 100%;
    padding: 16px var(--container-gutter);
    text-align: left;
    background-color: var(--secondary-base);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: all var(--transition);
    position: relative;
}

.allMenuLink::before,
.allMenuLink::after {
    content: '';
    display: block;
    width: 14px;
    background-color: #fff;
    height: 2px;
    border-radius: 2px;
    position: absolute;
    right: var(--container-gutter);
    top: 50%;
    transition: all var(--transition);
}

.allMenuLink::after {
    transform: rotate(90deg);
}

.allMenuLink.active::after {
    background-color: transparent;
}

.allMenuLink.active {
    background-color: var(--secondary-darken3);
}

.allMenuSubList {
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.allMenuLink.active + .allMenuSubList {
    height: auto;
    opacity: 1;
    visibility: visible;
}

.allMenuSubList>li+li {
    border-top: 1px solid var(--grey-lighten4);
}

.allMenuSubLink {
    padding: 10px var(--container-gutter);
    font-size: 16px;
    font-weight: 500;
    width: 100%;
}


.allMenuSubList>li:last-child .allMenuSubLink:last-child {
    border-bottom: 1px solid var(--grey-lighten4);
}

.allMenuTopLink:hover,
.allMenuSubLink:hover {
    text-decoration: none;
}

@media screen and (min-width: 1024px) {
    .headerLink.active,
    .headerLink:hover {
        text-decoration: none;
        color: var(--primary-darken2);
    }
    .subLink:hover {
        text-decoration: none;
        color: #000;
        background-color: var(--primary-lighten5);
    } 
}

@media screen and (max-width: 1200px) {
    .headerNavList {
        gap: 0;
    }
}
@media screen and (max-width: 1023px) {
    .headerNavList>li:not(:last-child) {
        display: none;
    }
}

.footerStage {
    background-color: #2C3045;
}

.footerContainer {
    padding: 22px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 35px;
}

.footerTxt,
.footerCopyright {
    font-size: var(--txt-font-size);
    color: #fff;
}
.footerCopyright {
    color: #9597A2;
}