@import url(./font.css);


.mobile_mode{
    width: 100%;
    height: 100%;
    display: block;
    display: none;
}
.mobile_top{
    position: absolute;
    width: 100%;
    height: 40px;
    background: #39393e;
}
.mobile_top > .text{    
    font-size: 20px;
    top: 8px;
    position: absolute;
    left: 8px;
    color: #fff;
}
.mobile_middle{
    position: absolute;
    top: 40px;
    height: calc(100% - 40px);
    width: 100%;
}

.mobile_depth.mobile_depth_1{
    position: absolute;
    width: 100px;
    height: 100%;
    z-index: 1;
    overflow-y: auto;
}

.mobile_depth_1 > .mobile_depth_1_button{
    position: relative;
    width: 100%;
    height: 85px;
}
.mobile_depth_1 > .mobile_depth_1_button.toggle[data-set="1"] > .icon{background: url(../img/UI/depth_1_1_over.png) no-repeat;}
.mobile_depth_1 > .mobile_depth_1_button.toggle[data-set="2"] > .icon{background: url(../img/UI/depth_1_2_over.png) no-repeat;}
.mobile_depth_1 > .mobile_depth_1_button.toggle[data-set="3"] > .icon{background: url(../img/UI/depth_1_3_over.png) no-repeat;}
.mobile_depth_1 > .mobile_depth_1_button.toggle[data-set="4"] > .icon{background: url(../img/UI/depth_1_4_over.png) no-repeat;}
.mobile_depth_1 > .mobile_depth_1_button.toggle[data-set="5"] > .icon{background: url(../img/UI/depth_1_5_over.png) no-repeat;}
.mobile_depth_1 > .mobile_depth_1_button.toggle[data-set="6"] > .icon{background: url(../img/UI/depth_1_6_over.png) no-repeat;}
.mobile_depth_1 > .mobile_depth_1_button.toggle[data-set="7"] > .icon{background: url(../img/UI/depth_1_7_over.png) no-repeat;}
.mobile_depth_1 > .mobile_depth_1_button.toggle > .text{
    color: #fff;

}
.mobile_depth_1_button > .icon{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    background-position: center !important;
}
.mobile_depth_1_button[data-set="1"] > .icon{ background: url(../img/UI/depth_1_1.png) no-repeat; }
.mobile_depth_1_button[data-set="2"] > .icon{ background: url(../img/UI/depth_1_2.png) no-repeat; }
.mobile_depth_1_button[data-set="3"] > .icon{ background: url(../img/UI/depth_1_3.png) no-repeat; }
.mobile_depth_1_button[data-set="4"] > .icon{ background: url(../img/UI/depth_1_4.png) no-repeat; }
.mobile_depth_1_button[data-set="5"] > .icon{ background: url(../img/UI/depth_1_5.png) no-repeat; }
.mobile_depth_1_button[data-set="6"] > .icon{ background: url(../img/UI/depth_1_6.png) no-repeat; }
.mobile_depth_1_button[data-set="7"] > .icon{ background: url(../img/UI/depth_1_7.png) no-repeat; }
.mobile_depth_1_button > .text{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 7px;
    z-index: 2;
}

.mobile_depth.mobile_depth_2{
    position: absolute;
    width: calc(100% - 99px);
    height: 100%;
    left: 99px;
    overflow-y: auto;
    z-index: 2;
    display: none;
}

.mobile_depth.mobile_depth_2[data-set="1"]{
    display: block;
    background: #869dd0;
}
.mobile_depth.mobile_depth_2[data-set="2"]{background: #67c8cd;}
.mobile_depth.mobile_depth_2[data-set="3"]{background: #b079b4;}
.mobile_depth.mobile_depth_2[data-set="4"]{background: #92b532;}
.mobile_depth.mobile_depth_2[data-set="5"]{background: #f3a074;}
.mobile_depth.mobile_depth_2[data-set="6"]{background: #f389a3;}
.mobile_depth.mobile_depth_2[data-set="7"]{background: #fbae3f;}

.mobile_depth_2_button{
    position: relative;
    width: 94%;
    margin: 10px 3%;
    height: fit-content;
    background: #fff;
    border-radius: 14px;
    padding-bottom: 5px;
}
.mobile_depth_2_button > div{
    position: relative;
    margin-left: 12px;
    width: calc(100% - 22px);
}
.mobile_depth_2_button > .button{
    font-size: 20px;
    padding: 13px 0 7px 0;
    cursor: pointer;
}
.mobile_depth_2_button > .depth_2_line{
    width: 92%;
    height: 1px;
    margin: 0px auto;
    display: none;
}
.mobile_depth.mobile_depth_2[data-set="1"] > .mobile_depth_2_button > .depth_2_line{background: #869dd0;}
.mobile_depth.mobile_depth_2[data-set="2"] > .mobile_depth_2_button > .depth_2_line{background: #67c8cd;}
.mobile_depth.mobile_depth_2[data-set="3"] > .mobile_depth_2_button > .depth_2_line{background: #b079b4;}
.mobile_depth.mobile_depth_2[data-set="4"] > .mobile_depth_2_button > .depth_2_line{background: #92b532;}
.mobile_depth.mobile_depth_2[data-set="5"] > .mobile_depth_2_button > .depth_2_line{background: #f3a074;}
.mobile_depth.mobile_depth_2[data-set="6"] > .mobile_depth_2_button > .depth_2_line{background: #f389a3;}
.mobile_depth.mobile_depth_2[data-set="7"] > .mobile_depth_2_button > .depth_2_line{background: #fbae3f;}
.mobile_depth_3_button{
    display: none;
}
.mobile_depth_2_button[data-state="open"] > .depth_2_line,
.mobile_depth_2_button[data-state="open"] > .mobile_depth_3_button{
    display: block;
}
.mobile_depth_3_button > div{
    margin-left: 4px;
}
.mobile_depth_3_button > .button{
    padding: 8px 0 5px 0;
    cursor: pointer;
    position: relative;
    margin-left: 12px;
}
.mobile_depth_3_button > .button:before {
    content: "◎";
    margin-right: 2px;
    font-size: 12px;
    font-weight: bold;
    color: #b1b1b1;
    position: absolute;
    left: -13px;
    top: 10px;
}
.mobile_depth_4_button {
    display: none;
    background-color: #eaeded;
    border-radius: 10px;
}
.mobile_depth_4_button > .button{
    padding: 6px 0 4px 0;
    margin: 3px auto;
    cursor: pointer;
    margin-left: 22px;
}
.mobile_depth_4_button > .button:before {
    content: "ㄴ";
    margin-right: 2px;
    margin-left: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #b1b1b1;
    position: absolute;
    left: 0px;
}

.mobile_depth_3_button[data-state="open"] > .mobile_depth_4_button{
    display: block;
}
.mobile_depth_5_button {
    display: none;
    background-color: #eaeded;
    border-radius: 10px;
    margin-left: 18px;
}
.mobile_depth_5_button > .button{
    padding: 6px 0 4px 0;
    margin: 3px auto;
    cursor: pointer;
    margin-left: 22px;
}
.mobile_depth_5_button > .button:before {
    content: "ㄴ";
    margin-right: 2px;
    margin-left: 28px;
    font-size: 12px;
    font-weight: bold;
    color: #b1b1b1;
    position: absolute;
    left: 0px;
}

.mobile_depth_4_button[data-state="open"] > .mobile_depth_5_button{
    display: block;
}

.mobile_detail_wrap{
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    display: none;
}


.mobile_detail_wrap > div{
    position: relative;
}
.mobile_detail_layer > .detail_title{
    width: 100%;
    height: 40px;
    background: #39393e;
}

.mobile_detail_layer > .detail_title > .text{
    position: absolute;
    font-size: 20px;
    top: 9px;
    left: 10px;
    color: #fff;
}
.mobile_detail_layer > .detail_title > .close_button{
    position: absolute;
    right: 5px;
    top: -3px;
    font-size: 37px;
    color: #fff;
    width: 35px;
    text-align: center;
}
.mobile_detail_layer > .detail_item_wrap{
    width: 94%;
    margin: 11px 2%;
}

.detail_item_wrap > .title{
    position: relative;
}

.mobile_detail_layer > .division_wrap > .substance{
    width: 98%;
}
.mobile_detail_layer > .detail_wrap > .substance{
    width: 98%;
}
.mobile_detail_layer > .data_wrap > .substance > div {
    width: 94px;
    height: 93px;
    position: relative;
    float: left;
    margin: 0 4px;
    cursor: pointer;
}
.mobile_detail_layer > .level_wrap > .substance > .level {
    padding: 4px 9%;
}
.mobile_detail_layer > .data_wrap > .substance > .video_button{
    background: url(../img/UI/video_button_m.png) no-repeat;  
}
.mobile_detail_layer > .data_wrap > .substance > .book_button{
    background: url(../img/UI/book_button_m.png) no-repeat;  
}
.mobile_detail_layer > .data_wrap > .substance > .audio_button{
    background: url(../img/UI/audio_button_m.png) no-repeat;  
}
.mobile_detail_layer > .data_wrap > .substance > .simulation_button{
    background: url(../img/UI/simulation_button_m.png) no-repeat;  
}




.temp_layer_wrap{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 12;
    display: none;
}
.temp_layer_wrap > .dim{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000bb;
}
.temp_layer_wrap > .temp_layer{
    position: absolute;
    width: fit-content;
    height: fit-content;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.temp_button{
    position: relative;
    width: 100%;
    height: 70px;
    margin: 7px auto;
    padding: 5px 10px;
    font-size: 26px;
    text-align: center;
    line-height: 240%;
    background: #fff;
    border-radius: 15px;
    font-family: "GmarketSansBold";
    cursor: pointer;
    border: 0;
}




@media screen and (max-width: 850px) {
    .select_mode{
        display: none;
    }
    .total_mode{
        display: none;
    }
    .mobile_mode{
        display: block;
    }
}
