/* rootian default css - 공통 css */
.rootianGrid {
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
   align-items: stretch;   
   position: relative;
}

.rootianGrid.fitParent {
/*    flex-grow: 1; */
   width: 100%;
   height: 100%;
}

.rootianGridTitle, .rootianGridHead, .rootianGridSum, .rootianGridFooter {
   flex-shrink: 0;
}

.rootianGridTitle, .rootianGridFooter {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.rootianGridBody {
   flex-grow: 1;
   border: 1px solid #EFF1F3;
   border-top-style: hidden;
   background-color: #fff;
   min-height: 50px;
   overflow: auto;
}

.rootianGrid button.btn {
   display: inline-block;
   font-weight: 400;
   text-align: center;
   white-space: nowrap;
   vertical-align: middle;
   padding: 5px 12px;
   cursor: pointer;
   user-select: none;
   background-color: #15181C;
   color: #fff;
   border: none;
}

.rootianGrid button.btn.btn-gray { 
   background-color: #FFFFFF; 
   border: 1px solid #E3E3E3; 
   color: #000000;
} 

/* .rootianGrid button.btn.btn-success { */
/*    color: #fff; */
/*    background-color: #5cb85c; */
/*    border-color: #4cae4c; */
/* } */
/* .rootianGrid button.btn.btn-danger { */
/*    color: #fff; */
/*    background-color: #d9534f; */
/*    border-color: #d43f3a; */
/* } */
/* .rootianGrid button.btn.btn-primary { */
/*    color: #fff; */
/*    background-color: #337ab7; */
/*    border-color: #2e6da4; */
/* } */
/* .rootianGrid button.btn.btn-info { */
/*    color: #fff; */
/*    background-color: #31b0d5; */
/*    border-color: #269abc; */
/* } */


.rootianGridLoading {
   display: none;
   justify-content: center;
   align-items: center;
   text-align: center;
   background: rgb(0, 0, 0, 0.2);
   position:absolute;
   z-index:1;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
}

.rootianGridLoading.show {
   display: flex;
}

.rootianGridLoading .spinner {
   vertical-align: middle;
   position: absolute;
   top: calc(50% - 45px);
   color: #EBF6FE;
}

.rootianGridTitle {
   display: flex;
   justify-content: space-between; 
   align-items: center;

   font-size: 16px;
   font-weight: 600;
   margin-bottom: 5px;
   height: 25px;
   text-align: left;
}

.rootianGridTitle.notUse {
   height: 0px;
   margin-bottom: 0px;
   display: none;
   border-bottom: none;
}

.rootianGridTitle small {
   font-weight: normal;
}

.rootianGridTitle .buttonSet.top .btn {
   background-color: #FFFFFF; 
   border: 1px solid #E3E3E3; 
   color: #000000;
   
   font-size: 12px;
   vertical-align: top;
   margin-left: 5px;
}

.rootianGridTitle .head-info {
   margin-left: 5px;
   letter-spacing: -0.2px;
   font-weight: 300;
   font-size: 13px;
}

.rootianGridHead {
   border: 1px solid #576373;
   position: relative;
   overflow: hidden;
   color: #fff;
}
.rootianGridHead a:link, .rootianGridHead a:visited {
   color: #fff;
}
   
.rootianGridHead table {
   table-layout: fixed;
   word-wrap: break-word;
   margin-bottom: 0px;
}
.rootianGridHead table.fit { width: 100%; }
.rootianGridHead table.fit tr th:last-child{ border-right: none; }

   
.rootianGridHead table th {
   border: none;
   border-right: 1px solid #576373;
   background-color: #576373;
   vertical-align: middle;
   text-align: center;
   padding: 6px 5px;
   height: 18px;
}
/* .rootianGridHead table th:last-child { */
/*    border-right: none; */
/* } */
.rootianGridHead table th.colGroup {
   border-bottom: 1px solid #C8C8C0;
}

.rootianGridHead .scrollCol {
   display: none;
   position: absolute;
   top: 0px;
   right: 0px;
   height: 100%;

   border: none;
   background-color: #576373;
}
.rootianGridHead .scrollCol.active {
   display: block;
}

.rootianGridHead table th .sort.asc:after {
   font: normal normal normal 12px/1 FontAwesome;
   content: ' \f176';
}
.rootianGridHead table th .sort.desc:after {
   font: normal normal normal 12px/1 FontAwesome;
   content: ' \f175';
}

.rootianGridHead table th .sort:hover {
   text-decoration: underline;
}


.rootianGridHead table tbody {
   display: none;
}


.rootianGridBody > table {
   table-layout: fixed;
   
}
.rootianGridBody > table.fit { width: 100%; }
.rootianGridBody > table.fit tr td:last-child{ border-right: none; }


/* .rootianGridBody>table tr { */
/*    background-color: #FCFCFC; */
/* } */

.rootianGridBody>table tr.selected > td:not(.mergeCol) {
   background-color: #FAD7BA;
}

.rootianGridBody>table tr td {
   padding: 7px 5px;
   word-wrap: break-word;
   border: none;
   border-right: 1px solid #EFF1F380;
   border-bottom: 1px solid #EFF1F3;
   vertical-align: middle;
}

.rootianGridBody>table tr td.mergeCol {
   position: relative;
   vertical-align: middle;
}

.rootianGridBody>table tr td.mergeCol > div.mergeData {
   position: sticky;
   top: 10px;
   bottom: 10px;
}

/* .rootianGridBody>table tr td:last-child { */
/*    border-right: none; */
/* } */

.rootianGridBody > table button {
   width: 90%;
   margin: -2px;
}

.rootianGridBody > table button.btn-xs {
   background-color: #FFFFFF; 
   border: 1px solid #E3E3E3; 
   color: #000000;
   
   padding: 2px 4px;

   font-size: 12px;
   vertical-align: top;
   margin-left: 5px;
}

/* Rootian Grid SumRow */
.rootianGridSum {
   border: 1px solid #C8C8C0;
   border-top-style: hidden;
   position: relative;
   overflow: hidden;
}

.rootianGridSum.notUse {
   min-height: 0px;
   height: 0px;
   display: none;
}

.rootianGridSum table {
   table-layout: fixed;
   word-wrap: break-word;
   margin-bottom: 0px;
}

.rootianGridSum table.fit { width: 100%; }
.rootianGridSum table.fit tr td:last-child{ border-right: none; }

.rootianGridSum table td {
   border: none;
   border-right: 1px solid #C8C8C0;
   background-color: #F3F3F3;
   vertical-align: middle;
   padding: 6px 5px;
   height: 20px;
   font-weight: 600;
}

/* Rootian Grid Footer */
.rootianGridFooter {
   position: relative;
   min-height: 40px;
}
.rootianGridFooter.notUse {
   min-height: 0px;
   height: 0px;
   display: none;
}
.rootianGridFooter .buttonSet {
/*    position: absolute; */
   
/*    display: inline-block; */
   
   margin-top: 10px;
   text-align: right;
}

.rootianGridFooter .buttonSet.right {
   right: 0px;
}
.rootianGridFooter .buttonSet.left {
   left: 0px;
}

.rootianGridFooter .buttonSet.right .btn {
   margin-left: 5px;
}
.rootianGridFooter .buttonSet.left .btn {
   margin-right: 5px;
}

/* 페이징 */
.rootianGridFooter .pagination {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 4px;
   
   margin-top: 10px;
   padding-left: 0;
   border-radius: 4px;
}

.rootianGridFooter .pagination.none {
   display: none;
}

.pagination .page-item {
   display: flex;
   justify-content: center;
   align-items: center;
   
   width: 28px;
   height: 28px;
   
   color: #15181C;
   font-size: 13px;
   background-color: #fff;
   border: 1px solid #EFF1F3;
   cursor: pointer;
}

.pagination .page-item.active, .pagination .page-item.active:focus, .pagination .page-item.active:hover {
   z-index: 3;
   color: #fff;
   cursor: default;
   background-color: #15181C;
   border-color: #15181C;
}

.rootianGridBody>table td input {
   width: 100%;
}
.rootianGridBody>table td input.number {
   text-align: right;
}

.rootianGridBody > .guideText {
   margin-top: 40px;
   text-align: center;
}