/* header  */
header { 
    height:70px;
    border-bottom:2px solid #cccccc;
}
header>ul>li {
    float:left;    
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox  */
input[type='number'] {
  -moz-appearance: textfield;
}

/* content  */

#wrap {
    position: relative;
    clear: both;
    padding: 0 10px;
    /* height: 100%; */
    height: calc(100% - 70px);    
    min-height:600px !important;
}


#table_area {
    margin-top: 3rem; overflow: visible; padding: 2rem;
}



/* rightarea */

#RightArea {
    position:absolute;
    right:0;   
    width:200px;
    height:-webkit-fill-available;
    border:1px solid #cccccc;
}


/* footer  */


footer {
    background-color: #fff !important;
    height:10% !important;
    line-height:50px;
    bottom:0px;
    border:0 !important;
    background: url(/static/img/footer_bg.png);        
}

    /* SCORE */
    #wrap {
        font-family: 'TmonMonsoriOTF';
        font-style: normal;
        font-weight: 900;
        font-size: 20px;
        line-height: 38px;
        /* identical to box height */

        color: #000000;

    }
    #wrap { 
        padding:0;
        margin-top: -1px;
        height:calc( 100% - 70px );
        /* height:100%; */
        overflow:hidden;
        min-width:1290px;
     }    

     body {
        overflow:hidden;
     }
    
    #wrap > div { border:1px solid #cccccc;height:100%;position: absolute; }
    .left_area { width:300px;float:left; }

    .left-content { width:100%;}
    .score_area {
        /* margin-top: 20px; */
        width:100%;     
        position: relative;
        padding: 10px;
        min-width:2000px;
    }
    .score_header {
        width:100%;
        height:50px;
        background-color:#000;
        color:#fff;
        overflow:hidden;
        margin-bottom:15px;
    }
    .score_title, .score_line{
        height:50px;
        display:flex;
        flex-direction: row;
        justify-content: space-between;
    }    
    .score_title>.score_title_unit, .score_line>.score_line_unit {
        float:left;
        flex: 1;
        text-align:center;
        line-height:50px;        
    }
    .score_title>.score_title_unit:first-child, .score_line>.score_line_unit:first-child {
        margin-left:40px;
        flex:2;
    }
    .score_title {
        background:url(/static/img/scoretitle_bg.png) no-repeat;
    }    
    .score_view { 
        width:100%;
        position: relative;   
    }
    .score_line {
/* Rectangle 192 */

        box-sizing: border-box;
        width: 100%;
        height: 50px;
        left: calc(50% - 1781px/2 - 0.5px);
        top: 284px;

        background: #FFFFFF;
        box-shadow: 0px 4px 10px rgba(162, 162, 162, 0.25);
        margin-bottom:15px;
    }

    .score_line>.score_line_unit {
        line-height:50px;
    }

    .score_line_title_num {
        display:block;
        float:left;
        width: 24px;
        height: 24px;
        background-color:#000;        
        margin:5px;
        border-radius: 7px;
        font-size: 20px;
        color: #fff;
        line-height: 24px;
        text-align: center;
        margin-top: 13px;      
        margin-right:10px;  
    }
    .score_title_unit.title, .score_line_unit.title {
        font-weight:bold;
        text-align:left;
    }

    .score_input_num { 
        /* Frame 221 */
        box-sizing: border-box;
        width: 65px;
        height: 34px;
        left: 428px;
        top: 295px;
        border: 1px solid #D4D4D4;
        border-radius: 5px;
        float:left;
        margin-right: 5px;
        margin-left: 10%;        
        margin-top:7px;
        text-align:center;
    }

    
    .quiz_area .score_input_num { 
        /* Frame 221 */
        box-sizing: border-box;
        width: 65px;
        height: 34px;
        left: 428px;
        top: 295px;
        border: 1px solid #D4D4D4;
        border-radius: 5px;
        float:unset;        
        margin-right: 5px;
        margin-left: 10%;        
        margin-top:7px;
        text-align:center;
    }
    
    .checker {
        /* Frame 229 */
        display: flex;
        width: 20px;
        height: 30px;
        background: #FFFFFF;
        border: 1px solid #D4D4D4;
        border-radius: 5px;
        line-height:30px;
        text-align:center;
        margin-top:9px;
        padding: 0 2px;
        font-size:16px;
        cursor:pointer;
        color:#b6b3b3;
    }

    .checker.select {
        /* Frame 229 */        
        background: #28A800;        
        color:#fff;
    }    
    
    .score_top {
        margin-bottom: 20px;
    }
    .score_top .subject {
        width:100px;
        float:left;
        font-style: italic;
    }

    .score_top .class_title {
        font-size:14px;
        float:left;
    }


    .green_btn {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size:16px;
        color:#28A800;
        background-color:#fff;
        padding: 8px 8px;
        gap: 2px;

        width: 110px;
        height: 30px;
        border: 1px solid #28A800;
        border-radius: 7px;
        float:left;
        margin:3px;
    }


    .gray_btn {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size:16px;
        color:#5f5e5e;
        background-color:#ffffff;
        padding: 8px 8px;
        gap: 2px;

        width: 110px;
        height: 30px;
        border: 1px solid #525252;
        border-radius: 7px;
        float:left;
        margin:3px;
    }    

    .black_btn {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size:16px;
        color:#fff;
        background-color:#000000;
        padding: 8px 8px;
        gap: 2px;

        width: 90px;
        height: 30px;
        border: 1px solid #000000;
        border-radius: 7px;
        float:left;
        margin:3px;
    }    

    .party_btn {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size:16px;
        background-color:#fff;
        padding: 10px 8px;
        gap: 2px;

        width: 70px;
        height: 30px;
        border: 1px solid #000000;
        border-radius: 20px;
        float:left;
        margin:3px;
    }    
    .party_btn img {
        height:26px;
    }
    .mission_btn {
        margin-left:50px;
    }
    .score_form.list_popup {
        width: 300px;
        padding: 1.5%;
        background-color: #fff;
        border-radius: 15px;
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%,-50%);
        box-shadow: 5px 10px 10px 1px rgba(0, 0, 0, .3);
        z-index: 1000;
        flex-direction: column;
        /* display: none; */
    }
    .score_form.list_popup ul:first-child {

        justify-content: space-between;
    }    

    .score_form #cancel {
        width: 112px;
        height: 37px;

        background: #FFFFFF;
        border: 1px solid #D4D4D4;
        border-radius: 10px;
        line-height: 0px;
        box-shadow: none !important;        
    }


    .score_form #apply {
        width: 112px;
        height: 37px;
        color:#fff;
        background: #000;
        border: 1px solid #D4D4D4;
        border-radius: 10px;
        line-height: 0px;
        box-shadow: none !important;
    }    

    .score_form .form {
        text-align:center;
    }

    .score_form .form p {
        font-size:16px;
    }    

    
    .left_area li {
        height:50px;
        padding:10px;
        cursor: pointer;
    }
    
    
    .right_area { 
        width:calc( 100% - 299px );
        min-width:990px;
        right:0;
        height:100%;
    }
        
    #class_list { 
        height:2000px;
        overflow-y: scroll;  
        min-height:600px;      
    }

    #class_list::-webkit-scrollbar-thumb {
        height: 95%;
    }

    #class_list::-webkit-scrollbar {
        width: 10px;  /* 스크롤바의 너비 */
    }    


    #class_list {
        padding: 0 0.5em;
        max-width: 100%;
        height: 67%;
        overflow: auto;
        padding-bottom:100px;
    }
    #class_list::-webkit-scrollbar {
        width: 10px;
    }
    #class_list::-webkit-scrollbar-track {
        background-color: rgb(201, 201, 201);
    }
    #class_list::-webkit-scrollbar-thumb { 
        background-color: rgb(73, 123, 165);
    }
    #class_list::-webkit-scrollbar-button {
        display: none;
    }    

    .game_leftmenu.leftset {
        background-color: #9d6c6c;
        color:#fff;
    }

    .right_area .page_title {
        width:calc( 100% - 300px );
        height:100px;
        line-height:100px;
        text-align:left;
        font-size:26px;
        padding: 0px 38px;
    }
    
    .right_area .page_type {
        width:calc( 100% - 300px );
        height: calc(100% - 230px);
        text-align:center;
        font-size:26px;
        padding-top:100px;
        margin: 30px;    
    }
    .right_area .page_type ul {
        margin: 0 auto;
        width: 60%;
    }
    .right_area .page_type li {
        float:left;
        width:30%;
    }
    
    .right_area .page_type li .page_type_icon {
        background-color:#efefef;
        border-radius:10px;
        width:100px;    
        height:100px;
        line-height:100px;
        margin:30px auto;
        cursor:pointer;
    }
    
    .right_area .page_type li .page_type_btn {
        border-radius: 8px;
        background: var(--Gradient, linear-gradient(270deg, #3082F4 28.07%, #2D9FE8 68.74%, #21C4CF 104.09%));
        display: flex;
        width: 90%;
        padding: 8px 16px;
        justify-content: center;
        align-items: center;
        gap: 2px;
        color: #fff;
        border: 0;
        margin: 0 auto;
        font-size: 20px;
        cursor:pointer;
    }
    
    .game_add_btn {
        border-radius: 8px;
        background: var(--Gradient, linear-gradient(270deg, #3082F4 28.07%, #2D9FE8 68.74%, #21C4CF 104.09%));
        display: flex;
        width: 110px;
        padding: 2px 10px;
        justify-content: center;
        align-items: center;
        gap: 2px;
        color: #fff;
        border: 0;
        font-size:16px;
        height:32px;
    }
    
    .game_in_btn, .quiz_in_btn {
            display: flex;
            width: 120px;
            padding: 8px 16px;
            justify-content: center;
            align-items: center;
            gap: 2px;
            border-radius: 8px;
            background: var(--Pale-Soft, #E5ECFF);    
            color:#3366ff;   
            border:0;
            color: var(--Blue-Vivid, #36F);
            text-align: center;
            /* Bold2/Bold */
            font-family: Pretendard;
            font-size: 14px;
            font-style: normal;
            font-weight: 700;
            line-height: 154%; /* 21.56px */
            letter-spacing: -0.28px;         
    }
/* 
    .game_in_btn:hover, .quiz_in_btn:hover {
        display: flex;
        width: 120px;
        padding: 8px 16px;
        justify-content: center;
        align-items: center;
        gap: 2px;
        border-radius: 8px;
        background: var(--Blue-Vivid, #36F); 
        border:0;
        color: #fff;
        text-align: center;
        font-family: Pretendard;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 154%;
        letter-spacing: -0.28px;         
    }
     */
    .listunitbox {
        cursor:pointer;
    }

    .listunitbox li:first-child{
        position:relative;
    }
    
    .listunitbox .qr_in_btn, .listunitbox .quiz_qr_in_btn {
        display: flex;
        width: 120px;
        padding: 8px 16px;
        padding-left:32px;
        justify-content: center;
        align-items: center;
        gap: 2px;
        border-radius: 8px;
        color:#fff;   
        border:0;
        color: var(--Blue-Vivid, #373737);
        text-align: center;
        /* Bold2/Bold */
        font-family: Pretendard;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 154%; /* 21.56px */
        letter-spacing: -0.28px;        
        position:absolute;
        right:0;
        top:0;
        background: url(/static/img/qr_icon.png) 22px 13px;
        background-size: 10%;
        background-repeat: no-repeat;
        background-color: #ced5e7;        
    }
    
    .listunitbox .qr_in_btn:hover, .listunitbox .quiz_qr_in_btn:hover {
        display: flex;
        width: 120px;
        padding: 8px 16px;
        padding-left:32px;    
        justify-content: center;
        align-items: center;
        gap: 2px;
        border-radius: 8px;
        color:#fff;   
        border:0;
        color: var(--Blue-Vivid, #fff);
        text-align: center;
        /* Bold2/Bold */
        font-family: Pretendard;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 154%; /* 21.56px */
        letter-spacing: -0.28px;        
        position:absolute;
        right:0;
        top:0;
        background: url(/static/img/qr_icon.png) 22px 13px;
        background-size: 10%;
        background-repeat: no-repeat;
        background-color: #7e7f83;            
    }
.menu_list {
    overflow-y: scroll;
    height:100%;
}


.menu_list::-webkit-scrollbar {
    width: 10px;
}
.menu_list::-webkit-scrollbar-track {
    background-color: rgb(165, 165, 165);
}
.menu_list::-webkit-scrollbar-thumb { 
    background-color: rgb(85, 91, 109);
}
.container::-webkit-scrollbar-button {
    display: none;
}

.menu_list li {
    background-color:#efefef;
    margin:3px;
    border-radius: 5px;
    line-height:50px;
    padding:2px 10px;
}

.menu_list li.game_list {
    background-color:#fff;
    border:1px solid #b2b2b2;
    padding:10px 10px;    
    height: 80px;
}
.menu_list li.game_list.focuslist {
    background-color:#cfc6c6;    
    border:1px solid #8f7171;
}

.R_top_area { width:100%;height:100px;}
.R_top_area .page_title {
    width:calc( 100% - 300px );
    height:100px;
    line-height:100px;
    /* text-align:center; */
    position:absolute;
    font-size:26px;

}
.R_top_area button { 
    margin-top:60px;
    margin-right: 35px;
}
.R_left_area { 
    position: absolute;
    width:calc( 100% - 450px );
    min-width:550px;
    height:calc( 100% - 100px );
    float:left;
    /* border-top:1px solid #cccccc; */
 }

 .R_right_area { 
    position: absolute;
    width:450px;
    height:calc( 100% - 100px );
    /* height:100%; */
    min-height:526px;
    right:0;
    /* border:1px solid #cccccc;     */
    overflow-y: auto;
 }


 
.R_right_area::-webkit-scrollbar {
    width: 10px;
}
.R_right_area::-webkit-scrollbar-track {
    background-color: rgb(165, 165, 165);
}
.R_right_area::-webkit-scrollbar-thumb { 
    background-color: rgb(85, 91, 109);
}
.R_right_area::-webkit-scrollbar-button {
    display: none;
}

 .edit_box>.body_title {
    font-size:16px;
    padding:5px 5px 0 5px;
    border-radius: 5px;
    padding: 1px 10px;
    margin:5px 0;    
    background-color:#efefef;
 }

 .edit_box input, .edit_box select, .edit_box textarea {
/*     width:90%;
    height:35px;
    margin:5px;
    border-radius:5px;
    font-size:18px;
    padding:0 20px;
    border: 1px solid #666; */
    width: 99%;
    height: 35px;
    margin: 5px 0;
    border-radius: 5px;
    font-size: 18px;
    padding: 0 20px;
    border: 1px solid #b2b2b2;    
 }

 .edit_box textarea {
    min-height:70px;
    font-size:18px;
    line-height:24px;    
    padding:10px 20px;    
 }

.mission_info { 
    width:90%;
    height:95%;
    /* background-color:#efefef; */
    margin:5px auto;
    border-radius:30px;
}

.mission_info>div, .mission_info>textarea  {
    min-height:40px;
    display:block;
}
.mission_info>.page_question, .mission_info>.page_answer { 
    /* width:calc( 100% - 60px );
    margin:5px 30px; */
    width:calc( 100% - 0px );
    margin:5px 0px;    
    border:1px solid #efefef;
    border-radius:10px;    
    padding:20px;
}
.mission_info>.page_question {
    height:200px;
}

.mission_info>.page_answer {
    height:100px;
}

.mission_info>.subject1, .mission_info>.subject2 {
    /* padding:10px 30px; */
    font-size: 16px;
    padding: 5px 5px 0 5px;
    border-radius: 5px;
    padding: 1px 10px;
    margin: 5px 0;
    background-color: #efefef;

}

.ctype_score.title { 
    width:39%;
    float:left;
    text-align:center;
    font-size:16px;
}
.ctype_score.add_btn, .ctype_score.del_btn {
    width:20%;
    float:left;
    text-align:center;
    font-size:16px;    
}
input.ctype_score { 
    width: 37%;
    height: 35px;
    margin: 5px;
    border-radius: 5px;
    font-size: 20px;
    border: 1px solid #666;    
    padding:0;
    float:left;    
    text-align:center;
}
.score_in_title, .score_in_list {
    display:flex;
    flex:1;
}
.add_btn, .del_btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #fff;
    background-color: #db6363;
    padding: 8px 8px;
    gap: 2px;
    width: 90px;
    height: 30px;
    border: 1px solid #a34141;
    border-radius: 7px;
    float: right;
    margin: 3px;
    margin-top: 7px;    
    cursor:pointer;
}

.nlink {
    font-size: 14px;
    text-decoration: none;
    color: #000;    
 }

.user_menu { 
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    position: absolute;
    width: 100px;
    right: 10px;
    background-color: #fff;
    z-index: 10;
    display:none;
}

.user_menu.show {
    display:block;
}

.user_menu li {
    padding: 5px;
    text-align:center;
}

.user_menu hr {
    width:100%;   
    margin: 4px 0;
}

.user_menu a { 
    text-decoration: none;
    color:#333;
}
/*=========================================*/

    
/* toast */

    /* 스타일링 */
    #toast {
        visibility: hidden;
        min-width: 250px;
        margin-left: -125px;
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 2px;
        padding: 16px;
        position: fixed;
        z-index: 99;
        left: 50%;
        bottom: 30px;
      }
  
      #toast.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
      }
  
      @-webkit-keyframes fadein {
        from {bottom: 0; opacity: 0;} 
        to {bottom: 30px; opacity: 1;}
      }
  
      @keyframes fadein {
        from {bottom: 0; opacity: 0;}
        to {bottom: 30px; opacity: 1;}
      }
  
      @-webkit-keyframes fadeout {
        from {bottom: 30px; opacity: 1;} 
        to {bottom: 0; opacity: 0;}
      }
  
      @keyframes fadeout {
        from {bottom: 30px; opacity: 1;}
        to {bottom: 0; opacity: 0;}
      }