

.popup{
    width:100%;
    height:calc(100% - 75px);
    position: fixed;
    z-index: 100;
    top: 0;
    left:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup article{
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    z-index: 1;
    border-radius: 3px;
    padding: 15px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}


/*.popup article .btn-box{
    display: flex;
    justify-content: end;
    margin-top:0px;
    position: fixed;
    bottom: 70px;
    right: 20px;
    height: 60px;
    padding-top: 5px;
    width:100%;
    background-color: #fff;
    z-index: 11;
}

.popup article .btn-box button{
    width:100px;
    height:35px;
    font-size: 13px;
    padding-top:7px;
    background-color: #001E5E;
    border-color: #001E5E;
    color:#fff;
}

.popup article .btn-box button.check{
    background-color:#fff;
    color:#001E5E;  
}

.popup article .btn-box button.cancel{
    border-color:#FF6464;
    background:#fff;
    color:#FF6464;
}

.popup article .btn-box button.check:active{
    background-color: #001E5E;
    color:#BBDBF9;
}

.popup article .btn-box button.check:active{
    background-color: #BBDBF9;
    color:#001E5E;
}

.popup article .btn-box button.cancel:active{
    background-color: #FF6464;
    color:#fff;
    border-color:#FF6464;
}

.popup article .btn-box button + button{
    margin-left : 10px;
}*/


.popup .btn-box{
    display: flex;
    justify-content: end;
    margin-top:0px;
    /*position: absolute;
    bottom: 20px;
    right: 20px;*/
    position: fixed;
    bottom: 70px;
    right: 20px;
    height: 60px;
    padding-top: 5px;
    width:100%;
    background-color: #fff;
    z-index: 11;
}

.popup .btn-box button{
    width:100px;
    height:35px;
    font-size: 13px;
    padding-top:7px;
    background-color: #001E5E;
    border-color: #001E5E;
    color:#fff;
}

.popup .btn-box button.check{
    background-color:#fff;
    color:#001E5E;  
}

.popup .btn-box button.cancel{
    border-color:#FF6464;
    background:#fff;
    color:#FF6464;
}

.popup .btn-box button.check:active{
    background-color: #001E5E;
    color:#BBDBF9;
}

.popup .btn-box button.check:active{
    background-color: #BBDBF9;
    color:#001E5E;
}

.popup .btn-box button.cancel:active{
    background-color: #FF6464;
    color:#fff;
    border-color:#FF6464;
}

.popup .btn-box button + button{
    margin-left : 10px;
}






.popup article .search-box{
    display: flex;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #EAEAEA;
    background-color: #F6F6F6;
    height: 40px;
    margin-bottom:15px;
}

.popup article .search-box input{
    border-start-end-radius: 0;
    border-end-end-radius: 0;
    height: 40px;
}
.popup article .search-box a.btn.search{
    width:60px;
    height:40px;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    background: url(/images/icon_search_w.png) no-repeat center;
    background-size: 30px 30px;
    background-color: #001E5E;
    border-color: #001E5E;
}

.popup article .search-box a.btn.search:active{
    background: url(/images/icon_search.png) no-repeat center;
    background-size: 30px 30px;
    background-color: #fff;
    border-color: #001E5E;
}

.popup article .search-list{
    margin-top:10px;
    height:250px;
    margin-bottom: 10px;
}

.popup article .search-list .table-container{
    height:100%;
}

/*.popup article .table-container table thead tr th{
    border-top: 1px solid #DCEAF7;
    border-bottom: 1px solid #DCEAF7;
}

.popup article .table-container table tbody tr td{
    height:40px;
}*/

.popup article .search-list .table-container .table-box{
    height:100%;
}

.popup article .sub-btn-box{
    display:flex;
    justify-content: end;
}

.popup article .sub-btn-box .btn{
    width: 90px;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
    border: 1px solid #001E5E;
    border-radius: 20px;
    height: 30px;
    padding-top: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup article .sub-btn-box .btn:active{
    background-color: #DCEAF7;
}

.popup article .sub-btn-box .btn + .btn{
    margin-left:10px;
}

.popup article .sub-btn-box .btn i.icon{
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 5px;
}

.popup article .sub-btn-box .btn i.icon.add{
    background: url(/images/icon_add_blue.png) no-repeat center;
    background-size: 100% 100%;
}

.popup article .sub-btn-box .btn i.icon.edit{
    background: url(/images/icon_editing.png) no-repeat center;
    background-size: 100% 100%;
}

.popup article .sub-btn-box .btn i.icon.del{
    background: url(/images/icon_del_red.png) no-repeat center;
    background-size: 100% 100%;
}

.popup article .sub-btn-box .btn span{
    color: #001E5E;
    margin-bottom: 7px;
    height: 12px;
}

.popup article .sub-btn-box .btn.del {
    border: 1px solid #FF4141;
}
.popup article .sub-btn-box .btn.del:active{
    background-color: rgba(255,100,100,0.2);
}   
.popup article .sub-btn-box .btn.del span{
    color: #FF4141;
}

.popup article .info-box{
    width: 100%;
    padding: 2px 0px;    
    height: auto;
    margin-top: 10px;
    border: 1px solid #DCEAF7;
    margin-bottom: 60px;
}

.popup article .info-box .info{
    display: flex;
    height: 40px;
}

.popup article .info-box .info .tit{
    font-size: 13px;
    font-weight: bold;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #DCEAF7;
    border-bottom: 1px solid #fff;
    font-family: "GmarketSans", system-ui, arial, sans-serif;
}

.popup article .info-box .info .input-box{
    border-bottom: 1px solid #EAEAEA;
    width: calc(100% - 80px);
}
.popup article .info-box .info input{
    height: 100%;
    margin-bottom: 0px;
    background-color: #fff;
    border: none;
    padding: 0px 5px;
    font-size: 13px;
}
.popup article .info-box .info .input-box select{
    width:100%;
    height:100%;
    font-size: 13px;
    padding-left: 5px;
    padding-right: 5px;
}
.popup article .info-box .info.full{
    height: 80px;
}



.popup article nav{
    width:100%;
}

.popup article nav ul:last-of-type{
    margin-right: 0;
}

.popup article nav a.btn{
    width:50px;
    padding:5px;
    justify-content: center;
    align-items: center;
    border-color:#001E5E;
    color:#001E5E;
}

.popup article nav a.btn:active{
    background-color: #001E5E;
    color:#fff;
}

.popup article nav ul li + li{
    margin-left:10px;
}

.popup article nav ul li span.tit{
    font-size: 16px;
    font-weight: bold;
}

.popup article .date-box {
    display: flex;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #EAEAEA;
    background-color: #F6F6F6;
    height: 45px;
}

.popup article .date-box .tit-info {
    display: flex;
    border-right: 1px solid #D5D5D5;
    padding: 12px;
}

.popup article .date-box .tit-info span{
    text-align: center;
    width: 100%;
    display: block;
    font-size:13px;
    font-family: "GmarketSans", sans-serif;
}

.popup article .date-box .tit-info i.icon {
    display: block;
    width: 20px;
    height: 20px;
    background: url(/images/icon_calendar.png) no-repeat center;
    background-size: 100% 100%;
    margin-right: 10px;
}
.popup article .date-box .date-info{
    flex: 1;
    position: relative;
}

.popup article .date-box input {
    border: none;
    margin-bottom: 0px;
    width: 100%;
    height: 42px;
    background-color: #F6F6F6;
    font-size: 13px;
    font-weight: 500;
}

.popup article .date-box input[type="date"]{
    width: 100%;
    padding-left: 10px;
    /*width: 0px;
    background: none;
    top: 0;
    left:0;
    position: absolute;
    padding:0;*/
}

.popup article .search-lis{
    margin-top:10px;
    height:calc(100% - 60px);
    overflow-y: auto;
    overflow-x: hidden;
}
.popup article .search-list.auto{
    height:auto;
}
.popup article .search-list .info-list{
   height:100%;
}
.popup article .search-list .info-list::-webkit-scrollbar {
    width: 8px;  /* 스크롤바의 너비 */
    height: 16px;
}
.popup article .search-list .info-list::-webkit-scrollbar-thumb {
    height: 30%; /* 스크롤바의 길이 */
    background: #6D87B9; /* 스크롤바의 색상 */
    border-radius: 10px;
}
.popup article .search-list .info-list::-webkit-scrollbar-track {
    background: rgba(109, 135, 185, .1);  /*스크롤바 뒷 배경 색상*/
}

.popup article .search-list .info-list .row{
    height: auto;
    display: flex;
}

.popup article .search-list .info-list .row + .row{
    margin-top:10px;
}

.popup article .search-list .info-list .row .item{
    height: 45px;
    border-radius: 5px;
    display: flex;
    flex: 1;
}

.popup article .search-list .info-list .row .item.full{
    width:100%;
}

.popup article .search-list .info-list .row .item + .item{
    margin-left:20px;
}

.popup article .search-list .info-list .row .item .tit-box{
    width: 60px;
    height:100%;
    display: flex;
    justify-content: start;
    align-items: center;
}
.popup article .search-list .info-list .row .item .tit-box span{
    font-size:13px;
    font-family: "GmarketSans", sans-serif;
}

.popup article .search-list .info-list .row .item .txt-box{
    width:calc(100% - 60px);
    border-radius: 5px;
    border: 1px solid #EAEAEA;
    background-color: #F6F6F6;
    height:100%;
}

.popup article .search-list .info-list .row .item .txt-box .input-box{
    height:100%;
}
.popup article .search-list .info-list .row .item .txt-box .input-box select,
.popup article .search-list .info-list .row .item .txt-box .input-box input[type='text']{
    width:100%;
    height:100%;
    border:none;
    background-color: transparent;
}

.popup article .search-list .info-list .row .item .txt-box .input-box input[type='date']{
    font-size:12px;
    margin-bottom:0;
    width: calc(100% - 0px);
    height:100%;
    border:none;
    padding: 5px 10px 5px 10px;
}

@media (min-width: 501px){
    .popup article .tablet-ui{
        display:block;
    }
    .popup article .mobile-ui{
        display:none;
    }
    .popup article .flex-box{
        display: flex;
    }
    .popup article .flex-box .search-list{
        flex:1;
        margin-right:20px;
    }
    .popup article .flex-box .info-box{
        flex:1;
    }
    .popup article .flex-box .search-box{
        flex:1;
        margin-right:20px;
    }
    .popup article .flex-box .sub-btn-box{
        flex:1;
        padding-top:5px;
    }    
}

@media (max-width: 500px){
    .popup article .tablet-ui{
        display:none;
    }
    .popup article .mobile-ui{
        display:block;
    }
    .popup article .date-box,
    .popup article .search-list .info-list .row .item{
        height: 38px;
    }
    .popup article .date-box input{
        height:36px;
    }
    .popup article .date-box .tit-info{
        padding: 10px;
    }

    .popup article .search-list .info-list .row:not(.non-column){
        flex-direction: column;
    }
    .popup article .search-list .info-list .row:not(.non-column) .item{
        flex:auto;
    }
    .popup article .search-list .info-list .row:not(.non-column) .item + .item{
        margin-top:10px;
        margin-left:0px;
    }

    .popup article .search-list .info-list .row.non-column .item +.item{
        margin-left:5px;
    }
    .popup article .search-list .info-list .row.non-column .item .tit-box{
        width: 54px;
    }
    .popup article .search-list .info-list .row.non-column .item .input-box input[type='date']{
        font-size:11px;
    }
}
