@charset "utf-8";
* {
    box-sizing: border-box;
}
body {
    height: 100%;
    overflow: auto;
    xpadding-top: 120px;
}
#app {
    xmargin-left: 45px;
    xpadding-left: 1em;
    background-color: white;
    xxbackground-color: #f0f0f0;
    min-height: 100vh;
    width: calc(100%/1.5 - 5%);		
    margin-left: calc(100% - 82%);	
    padding-top: 1%;
}
h1 {
    vertical-align : bottom;
    font-size : 24px;
    padding-top: 0.5em;
    padding-left : 0.7em;
    xcolor : gray;
    overflow: hidden;
    xbackground-color: white;
    border-bottom-left-radius : .25rem;
    border-bottom-right-radius : .25rem;
}
pre {
    display: none;
}
body::-webkit-scrollbar{
    width: 20px;
}
body::-webkit-scrollbar-thumb{
    background-color: #999;
    background-clip: padding-box;
    border: 1px solid transparent;
    border-radius:5px;
}
body::-webkit-scrollbar-track{
    background-color: #ddd;
    box-shadow: inset 0px 0px 5px white;
}

/* 스크롤 상위 이동 버튼 */ 
#upbtn{
    position: fixed;
    right: 15%;
    bottom: 5%;
    cursor: pointer;
    color:grey;
}
#upbtn:hover{
    color:#222587;
}

/* 헤더 부분 */ 
.page-top {
    padding-bottom: 0;
    position: relative;
    text-align: center;
    margin: 0;
    width: calc(100%/1.5 - 5%);		
    margin-left: calc(100% - 82%);	
}
.page-top.container.container-fluid img div{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}
.page-top h1{
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    font-size: 24px;
    color: white;
    padding-left:0;
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0 15px;
}
.top-bg-color{
    width: 100%;
    height: 50px;
    background: #ef984df5;
    position: absolute;
}

/* 바디 부분 */ 
#app .container-xxl:first-child{
    padding: 32px;
    position: relative;
}
#app .container-xxl h1 {
    display: inline-block;
    font-weight: bold;
}

/* 테이블 상위 선택란  */ 
.opt {
    color : #666666;
    background-color: white;
    border: 0px;
    font-size: 14px;
    margin-top : 12px;
    margin-bottom : 12px;
}
.card{
    border:none;
}
.card.opt{
    border-bottom: 1px solid #bbb;
}
.card-body{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}
.card-body.flex-box{
    display: flex;
    flex-flow: column;
    align-items: start;
}
.card-body.flex-box div{
    padding-bottom: 1%;
}
.card-body.flex-box .search{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: end;
}
.card-body.flex-box .search input{
    background: #003876;
    color: white;
    padding: 0.2rem 4rem;
    font-size: 1.2rem;
    font-weight: 500;
}
.card-body.flex-box .search input:hover{
    background: #666;
}
.card-body.flex-box .form-control {
    display: inline;
    width: 220px;
}

/* 테이블 */  
.table {
    text-align: center;
    margin-bottom: 0rem;
}
.table td {
    vertical-align : middle;
}
.hd {
    color : white;
    background-color: #bababb;
    font-size : 16px;
    border-top-left-radius : .25rem;
    border-top-right-radius : .25rem;
}
.bd {
    font-size : 14px;
    padding-left: 1.5em;
}

/* 데이터 테이블 */ 
#m-datatable-1 td:last-child{
    display:flex;
    flex-flow:column;
    align-items: center;
}
#m-datatable-1 td .btn{
    width:70%;
    border:1px solid black;
    background-color:#999;
    color:white;
    margin:2% 1%;
    font-size:0.8rem;
    text-align:center;
}
#m-datatable-1 tbody tr:hover, #m-datatable-10 tbody tr:hover{
    background-color:#f1f1ff;
}
#m-datatable-1 td .btn:hover{
    background-color:#444;
}
table.dataTable thead th, table.dataTable thead td{
    text-align: center;
    vertical-align: middle;
}
#m-datatable-1_wrapper, #m-datatable-10_wrapper{
    margin-bottom:2%;
}
#m-datatable-1 td:last-child{
    display:table-cell;
}

/* 버튼 */ 
.btn {
    color:gray;
    font-size : 14px;
    background-color : white;
    border-color: #aaa;
    border-inline:1px;
}
label {
    margin-bottom: 0rem;
    font-weight: 600;
}
.dt-buttons{
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    position: relative;
}
.dt-buttons>button{
    margin-right:0.5%;
}
.dt-buttons button{
    border : none;
    border-bottom: 1px solid grey;
}
.inline-block{
    display: inline-block;
    width: 50%;
}
.bottom-bar {
    margin-top: 2em;
}
.top-bar {
    margin-bottom: 2em;
}
img.logo {
    padding-right: .25em;
    margin-bottom: .25em;
    right: 1em;
    top: 35%;
    xfloat: right;
    width:30%;
    margin:0 auto;
}
.dt-button{
    font-style: oblique;
    margin-bottom:1%;
    border:1px solid;
    font-weight: 400;
    border-radius:5px;
    font-size: 0.9rem;
}
.dt-button:hover{
    background-color:#666;
    color:white;
}
.dt-button{
    border-radius: 0;
}
.dt-button-collection div{
    position: absolute;
    top: 75%;
    left: 0;
    display: flex;
    flex-flow: column;
    z-index:1000;
}

@media(max-width:1300px){
    .dv1{grid-area: dv1;} .dv2{grid-area: dv2;}
    .card-body{
        display: grid;
        grid-template-columns: repeat(1,1fr); 
        grid-template-rows: repeat(2, auto);  
        grid-gap: 20% 1%;
        grid-template-areas: 
        "dv1"
        "dv2";
    }
    .page-top h1{
        font-size:20px;
        padding-top: 2%;
    }
}
@media(max-width:1200px){
    .page-top, #app{
        margin-left: calc(100% - 79%);
    }
}
@media(max-width:960px){
    /* .card-body.flex-box .select-01:nth-of-type(1){
        display: flex;
        flex-flow: column;
        align-items: end;
    } */
    .select-01, .select-02, .select-03{
        display: flex;
        flex-flow: column;
        align-items: flex-start;
    }
    .page-top, #app{
        margin-left: calc(100% - 76%);
    }
}