/* rootian default css - 공통 css */

.rootianGrid button.btn {
   display: inline-block;
   font-weight: 400;
   text-align: center;
   white-space: nowrap;
   vertical-align: middle;
   border: 1px solid transparent;
   padding: 5px 12px;
   cursor: pointer;
   line-height: 1.4;
   border-radius: 4px;
   user-select: none;
}

.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;
   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: block;
}

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

.rootianGridTitle {
   font-size: 16px;
   font-weight: 600;
   border-bottom: 1px solid #eee;
   margin-bottom: 5px;
   line-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 {
   display: inline-block;
   float: right;
}

.rootianGridTitle .buttonSet.top .btn {
   padding: 2px 5px;
   font-size: 13px;
   vertical-align: top;
   margin-left: 5px;
}

.rootianGridHead {
   border: 1px solid #C8C8C0;
   position: relative;
   overflow: hidden;
}
   
.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 #C8C8C0;
   background-color: #EBF6FE;
   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: #EBF6FE;
}
.rootianGridHead .scrollCol.active {
   position: inherit;
   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 {
   border: 1px solid #C8C8C0;
   border-top-style: hidden;
   background-color: #F7FAFF;
   min-height: 50px;
   overflow: auto;
}

.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 {
   background-color: #FAD7BA;
}

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

.rootianGridBody > table button {
   width: 90%;
   margin: -2px;
   background-color: #337ab7;
   color: #fff;
}

.rootianGridBody > table button.btn-xs {
   font-size: 12px;
   padding: 2px 4px;
}

/* 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 {
   margin-top: 10px;
   display: inline-block;
   padding-left: 0;
   border-radius: 4px;
}

.rootianGridFooter .pagination > li {
   display: inline;
}

.pagination>li>a, .pagination>li>span {
   position: relative;
   float: left;
   padding: 6px 12px;
   margin-left: -1px;
   line-height: 1.3;
   color: #337ab7;
   text-decoration: none;
   background-color: #fff;
   border: 1px solid #ddd;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
   z-index: 3;
   color: #fff;
   cursor: default;
   background-color: #337ab7;
   border-color: #337ab7;
}

.rootianGridFooter nav {
   display: block;
}

.rootianGridFooter nav.none {
   display: none;
}
