/* 네베게이션 PC */
nav {
    width: 240px;
    height: 100vh;
    position: fixed;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    z-index: 10;
}

.nav_top_container {
    display: none;
}

.nav_cover {
    display: none;
}

.nav_left {
    position: fixed;
    z-index: 12;
    width: 240px;
    height: 100%;
    border-top-right-radius : 15px;
    border-bottom-right-radius : 15px;
    background-color: #fff; 
    transition-property: width;
    transition-duration: 0.2s;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));    
}

.nav_logo_wrap {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0 16px;
    margin-top : 15px;
    margin-right : 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav_logo {
    flex-direction: row;
    justify-content: flex-start;
    height: 100%;
}

    .nav_logo img {
        height: 100%;
    }
        
.nav_mark {
    background-image: url("/images/logo_mark_white.svg");
    width: 24px;
    height: 24px;
}

.nav_type {
    background-image: url("/images/logo_type_white.svg");
    width: 124px;
    height: 16px;
    margin-left: 10px;
}

.nav_content_wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
}

.nav_account_wrap {
    width: 100%;
    overflow: hidden;
}

.nav_account_content {
    width: 240px;
    padding: 16px;
    background-color: #4c85ff;
    margin-top : 30px
}

.nav_account_name {
    width: 100%;
    flex-direction: row; 
    justify-content: space-between;
    margin-bottom: 16px;
}

    .nav_account_name h2 {
        font-size: 18px;
        color: white;
        font-weight: 500;
    }

.nav_account_date_wrap {
    width: 100%;
    overflow: hidden;
}

.nav_account_date {
    width: 240px;
    flex-direction: row;
    justify-content: space-between;
    background-color: #2f64d7;
    padding: 16px;
}

    .nav_account_date h4 {
        font-size: 13px;
        font-weight: 300;
        color: white;
    }

nav ul {
    width: 100%;
    color: white;
}

    nav ul li {
        width: 100%;
    }

.main_menu {
    display: block;
    width: 100%;
    height: 46px;
    font-size: 15px;
    font-weight: 400;
    color: white;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

    .main_menu:active h3 {
        color: #4c85ff;
    }

nav ul li .active h3 {
    color: #4c85ff;
}

.main_menu a {
    display: block;
    width: 100%;
}

.main_menu h3 {
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    color: #707070;
}

.main_menu i {
    font-size: 15px;
    color: #707070;
    margin-right: 8px;
}

.main_menu i:active {
    color: #4c85ff;
}

.main_menu q {
    float: right;
    display: block;
    width: 10px;
    height: 10px;
}

    .main_menu q::after {
        content: "\f107";
        font: var(--fa-font-solid);
        color: white;
    }

nav .active .main_menu q::after {
    content: "\f106";
    font: var(--fa-font-solid);
    color: white;
}

.sub_menu {
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
}

    .sub_menu a {
        display: block;
        width: 100%;
        padding: 10px 16px 10px 36px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition-property: background-color, background;
        transition-duration: 0.3s;
    }

    .sub_menu h4 {
        display: inline-block;
        font-size: 14px;
        font-weight: 300;
        color: #707070;
    }

    .sub_menu li {
        width: 100%;
        height: 42px;
        overflow: hidden;
    }

        .sub_menu li a:active h4 {
            color: #4c85ff;
        }

        .sub_menu li a i {
            font-size: 13px;
            color: #707070;     
            margin-right: 8px;  
        }

.nav_top_container {
    display: none;
}   

.nav_bottom_wrap {
    width: 240px;
    padding: 16px;
    position: relative;
    bottom: 0;
}

.nav_bottom_row {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
}

    .nav_bottom_row + .nav_bottom_row {
        margin-top: 8px;
    }

.nav_bottom_wrap a {
    font-size: 12px;
    color: #C3D1E2;
    width: 100%;
}

    .nav_bottom_wrap a:hover {
        color: white;
    }

    .nav_bottom_wrap a:active {
        color: #BCEAFF;
    }

.nav_bottom_row span {
    margin: 0 10px;
    height: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}


@media (max-width: 768px) {
    nav {
        user-select: none;
        width: 100%;
        height: 50px;
        position: fixed;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
        z-index: 10;
    }

    .nav_top_container {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .nav_top {
        position: fixed;
        top: 0;
        display: flex;
        flex-direction: row;
        padding: 0 10px 0 0;
        width: 100%;
        height: 50px;
        background-color: #4c85ff;
        filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
    }

    .nav_top_menu {
        width: 36px;
        height: 36px;
    }

        .nav_top_menu i {
            font-size: 18px;
            color: white;
        }

    .nav_logo_wrap {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        height: 50px;
        padding: 0 16px;
        border-bottom: none;
        background-color: #4c85ff;
        margin-top: 0px;
    }

    .nav_logo {
        flex-direction: row;
        justify-content: flex-start;
        max-height: 42px;
    }

    .nav_cover {
        display: none;
        position: fixed;
        z-index: 11;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .nav_left {
        width: 0px;
        height: 100%;
        min-height: 100%;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: flex-start;
        background-color: #E4E9EF;
        transition-property: width;
        transition-duration: 0.2s;
        filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
        overflow: hidden;
    }

        .nav_left .nav_logo_wrap {
            flex-direction: row;
            justify-content: flex-start;
            align-items: flex-start;
            align-content: flex-start;
            width: 240px;
            height: 140px;
            padding: 16px 16px 0 16px;
            border-bottom: none;
            background-color: #e4e9ef;
        }

    .nav_content_wrap {
        width: 220px;
        height: 100%;
        justify-content: flex-start;
    }

    .nav_account_wrap {
        position: relative;
        width: 220px;
        height: 70px;
        overflow: hidden;
        background-color: white;
        border-radius: 0 10px 0 0;
        margin-top: -56px;
    }

    .nav_account_content {
        width: 240px;
        padding: 16px 24px;
        margin-top: 0px;
    }

    .nav_account_name {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

        .nav_account_name h2 {
            font-size: 17px;
            color: white;
            font-weight: 500;
            margin-top: 10px;
        }

    .nav_account_date_wrap {
        width: 100%;
        overflow: hidden;
        border-radius: 0 0 10px 0;
    }

    .nav_account_date {
        width: 240px;
        flex-direction: row;
        justify-content: space-between;
        background-color: #4c85ff;
        padding: 10px 24px;
    }

        .nav_account_date h4 {
            width: fit-content;
            font-size: 12px;
            font-weight: 300;
            color: #fff;
        }

    nav ul {
        width: 220px;
        color: white;
        margin-top: 10px;
    }

        nav ul li {
            width: 100%;
        }

    .main_menu {
        display: block;
        width: 100%;
        height: 36px;
        font-size: 13px;
        font-weight: 400;
        color: white;
        padding: 8px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        overflow: hidden;
        border-radius: 0 5px 5px 0;
    }

        .main_menu:hover {
            background-color: transparent;
        }

        .main_menu:active {
            background-color: #00377B;
        }

    nav ul li .active {
        border-radius: 0 5px 5px 0;
        background-color: #00377B;
        background: rgb(60, 140, 254);
        background: linear-gradient(140deg, rgba(60, 140, 254, 1) 0%, rgba(99, 105, 248, 1) 100%);
    }

    nav ul .active .main_menu {
        background-color: #4c85ff;
    }

    .main_menu a {
        display: block;
        width: 100%;
    }

    .main_menu h3 {
        display: inline-block;
        font-size: 14px;
        font-weight: 400;
        color: #32383E;
    }

    .main_menu i {
        font-size: 14px;
        color: #6C86A7;
        margin-right: 8px;
    }

    .main_menu q {
        float: right;
        display: block;
        width: 10px;
        height: 10px;
    }

        .main_menu q::after {
            content: "\f107";
            font: var(--fa-font-solid);
            color: #B4B4B4;
        }

    nav .active h3 {
        color: white;
    }

    nav .active i {
        color: white;
    }

    nav .active .main_menu q::after {
        content: "\f106";
        font: var(--fa-font-solid);
        color: white;
    }

    .sub_menu {
        display: block;
        width: 100%;
        height: 0;
        overflow: hidden;
    }

        .sub_menu ul {
            margin: 0;
        }

        .sub_menu a {
            display: block;
            width: 100%;
            padding: 6px 16px 6px 36px;
            border-radius: 0 5px 5px 0;
            background-color: transparent;
            transition-property: background-color, background;
            transition-duration: 0.3s;
        }

        .sub_menu h4 {
            display: inline-block;
            font-size: 13px;
            font-weight: 300;
            color: #32383E;
        }

        .sub_menu li {
            width: 100%;
            height: 34px;
            overflow: hidden;
        }

            .sub_menu li a:hover {
                background-color: transparent;
            }

            .sub_menu li a:active {
                background-color: #C9D1DB;
            }

            .sub_menu li a i {
                font-size: 13px;
                color: #6C86A7;
                margin-right: 8px;
            }

        .sub_menu ul .active h4 {
            color: white;
        }

        .sub_menu ul .active i {
            color: white;
        }

    .nav_bottom_wrap {
        width: 240px;
        padding: 16px;
        position: relative;
        top: 0;
    }

    .nav_bottom_row {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }

        .nav_bottom_row + .nav_bottom_row {
            margin-top: 4px;
        }

    .nav_bottom_wrap a {
        font-size: 12px;
        font-weight: 300;
        color: #5C6A7E;
        width: max-content;
    }

        .nav_bottom_wrap a:hover {
            color: #497DC7;
        }

        .nav_bottom_wrap a:active {
            color: #497DC7;
        }

    .nav_bottom_row span {
        margin: 0 10px;
        height: 12px;
        border-right: 1px solid #A3AEBC;
    }
}
