body{
    background-color: var(--color-body-bg);
}

#wrap{
    min-width: 100%;
    width: max-content;
}

/* header */
.header_wrap{
    background: var(--color-header-bg);
    position: relative;
    color: var(--color-body-text);
    font-weight: 500;
    height: 64px;
    padding: 12px 28px;
    box-sizing: border-box;
}

.header_wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_left{
    display: flex;
    align-items: center;
    gap: 32px;
}

.header_logo{
    display: flex;
    max-width: 140px;
    height: 25px;
}

.header_left_list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.header_left_list .list_item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 500;
}

.header_left_list .bar{
    display: block;
    width: 1px;
    height: 11px;
    background: var(--color-body-text);
    opacity: 0.5;
}

.header_menu_wrap{
    display: flex;
    width: 22px;
    height: 15px;
    gap: 5px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.header_menu_wrap span{
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-body-text);
}

#header_time{
    position: absolute;
    color: var(--color-body-text);
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
}

.header_right{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
}
.header_setting_wrap .header_profile_wrap{
    width:100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_setting_wrap .header_profile_wrap .img_profile{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.header_setting_wrap .header_setting_list{
    position: absolute;
    top: 47px;
    right: 0;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    width: 124px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    z-index: 30;
}

.header_setting_wrap .header_setting_list p{
    height: 44px;
    padding: 0px 12px;
    background: var(--color-modal-bg);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--color-body-text);
}

.header_setting_wrap .header_setting_list p:hover{
    background: var(--color-hover-bg);
}

/* main container */
#main_container_wrapper{
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap:14px;
    height: 100%;
    min-height: calc(100vh - 70px);
}

.main_container{
    flex: 0 0 auto;
    padding: 20px 0;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
    height: 100%;
}

.block_content_wrap{
    height: 100%;
}

/* left menu */
.left_menu_wrap{
    border-right: 1px solid var(--color-border);
    box-sizing: border-box;
    transition: margin-left 0.5s ease;
}
.left_menu_list{
    width: 170px;
    min-width: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.left_menu_wrap.left_menu_hide{
    margin-left: -170px;
}

.left_menu_list .left_menu_item{
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.left_menu_list .depth1_menu_wrap{
    position: relative;
    display: flex;
    padding: 12px 20px 12px 28px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.left_menu_list .depth1_menu_wrap .icon_menu_on{
    display: none;
}

.left_menu_list img{
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none
}

.left_menu_list .left_menu_arrow{
    opacity: 0.5;
    transform: rotate(0deg);
}

.left_menu_list .left_menu_item .depth1_menu_wrap .menu_name{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.left_menu_list .left_menu_item p{
    font-weight: 500;
    color: var(--color-sub-text);
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none

}

.left_menu_list .depth1_menu_wrap.active::after{
    content: '';
    position: absolute;
    right: 0px;
    bottom: 0px;
    border-radius: 10px 0px 0px 10px;
    background: var(--color-main-action);
    width: 4px;
    height: 45px;
}

.left_menu_list .depth1_menu_wrap.active{
    background: var(--color-left-menu-bg);
}

.left_menu_list .depth1_menu_wrap.active p{
    color: var(--color-body-text);
}

.left_menu_list .depth1_menu_wrap.active .left_menu_arrow{
    opacity: 1;
    transform: rotate(180deg);
}

.left_menu_list .depth1_menu_wrap.active .icon_menu_on{
    display: block;
}

.left_menu_list .depth1_menu_wrap.active .icon_menu{
    display: none;
}

.left_menu_list .depth2_menu_wrap p{
    padding: 12px 20px 12px 46px;
    background: var(--color-left-menu-depth2-bg);
    color: var(--color-sub-text);
    font-weight: 500;
}

.left_menu_list .depth2_menu_wrap p.active{
    color: var(--color-body-text);
}

.left_menu_list .depth2_menu_wrap{
    display: none;
}


.left_menu_list .depth2_menu_wrap.open{
    display: block;
}

/* scroll */
.common_scroll::-webkit-scrollbar {
    width: 10px;
}

.common_scroll::-webkit-scrollbar-thumb {
    outline: none;
    border-radius: 4px;
    background-clip: padding-box;
    background: var(--color-scrollbar);
    border: 2px solid var(--color-scrollbar-bg);
}

.common_scroll::-webkit-scrollbar-track {
    background: var(--color-scrollbar-bg);
}

/* econotimes */
.section_econotimes .header_wrap{
    background: var(--color-econotimes-bg);
}


.submenu_layout_wrap{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.submenu_layout_wrap .content_submenu_wrap{
    width: 170px;
    flex: 0 0 auto;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.submenu_layout_wrap .content_submenu_wrap .depth1_menu_item{
    padding: 12px 20px;
    color: var(--color-sub-text);
    letter-spacing: -0.35px;
}

.submenu_layout_wrap .content_submenu_wrap .depth1_menu_wrap.active .depth1_menu_item{
    font-weight: 700;
    color: var(--color-body-text);
    background: var(--color-left-menu-bg);
}

.submenu_layout_wrap .content_submenu_wrap .depth2_menu_wrap{
    border-bottom: 1px solid var(--color-border-v4);
}

.submenu_layout_wrap .content_submenu_wrap .depth2_menu_wrap:last-child{
    border-bottom: 0;
}

.submenu_layout_wrap .content_submenu_wrap .depth2_menu_item{
    padding: 12px 20px 12px 40px;
    color: var(--color-sub-text);
    letter-spacing: -0.35px;
}

.submenu_layout_wrap .content_submenu_wrap .depth2_menu_item.active{
    font-weight: 700;
    color: var(--color-body-text);
    background: var(--color-left-submenu-depth2-bg);
}

.submenu_layout_wrap .submenu_content_area{
    width: 100%;
}