﻿.menu-sub-ul > li:hover {
    font-weight: 500;
    color: white;
}

#main-area {
    width: 100%;
    height: calc(100% - 85px);
}

#tab-wraper {
    width: 100%;
    height: 46px;
    position: relative;
}

#iframe-area {
    width: 100%;
    height: calc(100% - 46px);
    overflow-y: auto;
    background-color: var(--mono_back);
    position: relative;
}

.iframe-tab {
    width: 100%;
    border: none;
    height: 100%;
    margin: 0 !important;
    box-sizing: border-box;
    font-size: 0;
    display: block;
}

.tab-choice-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    box-sizing: border-box;
    border-left: 1px solid var(--mono_line);
    border-bottom: 1px solid var(--mono_line);
    background-color: white;
    cursor: pointer;
    z-index: 3;
}

    .tab-choice-btn > .material-icons {
        color: var(--mono_sub);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

#right-tab-move {
    right: 46px;
}

#left-tab-move {
    right: calc(46px + 46px);
}

#tab-inner-wraper {
    height: 100%;
    width: 100%;
    padding-right: calc(46px + 46px + 46px + 5px);
    background-color: white;
    overflow-x: scroll;
    font-size: 0;
    position: relative;
    -ms-overflow-style: none;
    white-space: nowrap;
}

    #tab-inner-wraper::-webkit-scrollbar {
        display: none;
    }

    #tab-inner-wraper:after {
        content: "";
        width: 100%;
        position: absolute;
        z-index: 0;
        left: 0;
        bottom: 0;
        height: 1px;
        background-color: var(--mono_line);
    }
/*Tab-box가 border보다 위로 올라가서 영역을 차지해야하므로, height를 100% 가아닌 wraper와 동일한 46px로 적용하여 위로...*/
.tab-box {
    width: 150px;
    height: 46px;
    border-bottom: 1px solid var(--mono_line);
    display: inline-flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding-right: 36px;
    border-right: 1px solid var(--mono_line);
    position: relative;
}

.tab-box-xbtn {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 46px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--mono_line);
    background-color: white;
    cursor: pointer;
    z-index: 2;
}

    .tab-box-xbtn > .material-icons {
        color: var(--mono_sub);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

.tab-text-box {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    height: 100%;
    line-height: 46px;
    cursor: pointer;
    padding-left: 15px;
}

.home-text {
    text-align: center;
    justify-content: center;
    padding-left: 36px;
}

.active-tab {
    background-color: var(--mono_back);
    border-bottom: 1px solid var(--mono_back);
    z-index: 1;
}

    .active-tab:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: var(--temp_admin_main);
    }

    .active-tab:before {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--mono_back);
    }

    .active-tab > .tab-box-xbtn {
        background-color: var(--mono_back);
        border-bottom: 1px solid var(--mono_back);
    }

        .active-tab > .tab-box-xbtn:after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: var(--temp_admin_main);
        }
/*process bar*/
    #drkid-process-bar {
        border-radius: 9999px;
        height: 10px;
        position: absolute;
        overflow: hidden;
        width: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
    }

    #bar-animate-div {
        background-color: rgba(0, 0, 0, 0.01); /* 완전히 투명에 가까운 색상으로 변경 */
        border-radius: 9999px;
        position: absolute;
        bottom: 0;
        top: 0;
        width: 50%;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        animation-name: infinite-process;
    }



@keyframes infinite-process {
    from {
        left: -50%;
    }

    to {
        left: 100%;
    }
}
