/*!common css*/

:root {

    --fontColor: #333;
    --fontColorLight: #666;
    --fontColorPrimaryLight: #bac6db;

    --primaryColor: #0b1b36;            /*side*/
    --primaryColorDark: #030f23;        /*side-hover*/
    --primaryColorLight: #162a4c;       /*1depth-header, 2depth-menu-hover*/
    --primaryColorDLight: #21385f;      /*2depth-menu*/

    --accentColor: #036eb8;             /*header*/
    --accentColorDark: #035792;         /*hover*/
    --accentColorLight: #288ace;
    --accentColorDLight: #3aa1e8;

    --lineColor: #d2d6de;               /*line-default*/
    --lineColorAccent: #b7d8ef;         /*line-box*/
    --lineColorAccentDark: #76aed5;
    --lineColorAccentLight: #d8e5ed;

    --bgColorLight: #f0f5fc;
    --bgColorAccent: #dbe8fd;
    --bgColorAccentDark: #bdd6fd;
    --bgColorAccentLight: #f0f5fc;

    --bgColorErr: #dc3545;
    --bgColorErrLight: #ff6a6a;

    --grey: #ddd;
    --greyLight: #eee;
    --greyDark: #ccc;

}

body{overflow-y: scroll; margin: 0; padding: 0; line-height: 1.42857143; }
body{-ms-overflow-style: none;}
::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.hidden {display: none !important;}
/*link*/
a {color: var(--accentColor);}
a:hover,a:active,a:focus {color: var(--accentColorDark);}
a:hover {text-decoration: underline;}

/*padding*/
.p0 {padding: 0 !important;}
.pl0 {padding-left: 0 !important;}
.pr0 {padding-right: 0 !important;}
.pt0 {padding-top: 0 !important;}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4
, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9
, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4
, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9
, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4
, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9
, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4
, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {padding-right: 5px; padding-left: 5px;}

/*register 로그인, 가입, 비밀번호찾기*/
.register-page {background-color: var(--bgColorAccent);}
.register-box {width:420px; margin: 0 auto; padding-top: 10%;}
.register-logo > b {display: block; height: 70px; padding-top: 70px; overflow: hidden; background: url("/img/common/logo-color.png") top center no-repeat; background-size: 250px auto; }
.register-box-body {padding: 40px 60px; border-radius: 20px; border:1px solid var(--lineColorAccent); box-shadow: inset 2px 2px 2px #f3f9fb;}
.register-box-msg {color: var(--accentColor); font-size: 16px;}
.register-box-body .form-control {height:40px; border-radius: 4px; font-size: 16px;}
.register-box-body .glyphicon {width: 40px; height: 40px; line-height: 40px;}
.register-box-body .icheck {height: 34px; margin: 5px 0;}
.register-box-body .icheck span {padding-left:4px; vertical-align: middle;}
.register-box-body .btn {border-radius: 4px;}
.user-links {padding-top: 10px; border-top: 1px solid var(--lineGray);}
.user-links a {display: block; padding: 6px 0 4px 0; font-size: 15px; font-weight: 600;}
.user-links a i {width: 20px;}

/*error-page*/
.error-page {padding-top:10%; text-align: center;}
.error-page > i {color: var(--bgColorErr); font-size: 65pt;}
.error-page > h1 {padding:15px 0; font-weight:500;}
.error-page > .error-con {font-size: 14pt;}

/*home*/
.content-wrapper.home {background: #ecf0f5 url("/img/common/bg-home.png") left bottom no-repeat;}
.content-wrapper.home .content {padding: 6% 6% 0 10%;}
.content-wrapper.home .content h1 {color: var(--primaryColor); font-size: 52px; letter-spacing: -1px;}
.content-wrapper.home .content .txt-primary {color: var(--accentColor); font-weight: 600;}
.content-wrapper.home .content .txt-exp {padding-top: 30px; color: var(--primaryColor); font-size: 32px; letter-spacing: -1px;}
.content-wrapper.home .content .txt-exp > strong {font-weight: 600;}
@media (max-width: 767px) {
    .content-wrapper.home {background-size:auto 100%;}
    .content-wrapper.home .content h1 {font-size: 40px;}
    .content-wrapper.home .content .txt-exp {font-size: 26px;}
}

/*header*/
.skin-blue .main-header .navbar {background-color: var(--accentColor);}
/**logo**/
.skin-blue .main-header .logo {background-color: var(--bgColorAccentLight); transition: none; padding: 0; }
.skin-blue .main-header .logo:hover {background-color: var(--bgColorAccent);}
.main-header .logo > .logo-lg {font-size:0;}
.main-header .logo > .logo-lg > img {width: auto; height: auto; max-width: 100%; max-height:46px;}
@media (max-width: 767px) {
    .sidebar-mini.sidebar-collapse .main-header .logo>.logo-mini {width:34px; margin-left: -7px; background-position: 5px 7px;}
}

/**user**/
.skin-blue .main-header .navbar .sidebar-toggle{color: white; font-size: 14px; text-decoration: none;}
.skin-blue .main-header .navbar .sidebar-toggle:hover {background-color: var(--accentColorDark); text-decoration: none;}
.skin-blue .main-header li.user-header {background-color: #aaa;}
.navbar-nav .user-logout {height: 50px; padding: 10px 15px; background-color: var(--accentColor);}
.main-header .btn-logout {background-color: #fff; color: var(--accentColor); border-color: var(--accentColor);}
.main-header .btn-logout:hover,
.main-header .btn-logout:active {color: var(--accentColorDark); border-color: var(--accentColorDark);}
@media (max-width: 991px) {
    .main-header .navbar-custom-menu a.btn-logout,
    .main-header .navbar-right a.btn-logout {background-color: #fff; color: var(--accentColorDark);}
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header > img {border: 0;}
.navbar-nav > .user-menu > .dropdown-menu {padding: 0;}

/*side - menu*/
.skin-blue .wrapper, .skin-blue .main-sidebar, .skin-blue .left-side {background-color: var(--primaryColor); min-height: 90%}
.skin-blue .sidebar a {color: var(--fontColorPrimaryLight);}
/**1depth**/
.skin-blue .sidebar-menu > li.header {color: var(--fontColorPrimaryLight); background: var(--primaryColorLight);}
.skin-blue .sidebar-menu > li > a {font-weight: 600; font-size: 14px; text-decoration: none;}
.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a {background: var(--primaryColorDark); border-left-color: var(--accentColor);}
.skin-blue .sidebar-menu > li > .treeview-menu {background: var(--primaryColorDLight);}
/**2depth**/
.sidebar-menu .treeview-menu {padding-left:0;}
.skin-blue .treeview-menu > li > a {color: var(--fontColorPrimaryLight);}
.skin-blue .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li > a:hover {background: var(--primaryColorLight);}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {width: 230px;}
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {left: 230px !important;}
}

/*content*/
.content-wrapper {}
.content-wrapper, .right-side{ min-height: unset;  }
.content {min-height: 300px; padding: 10px;}
.content-header > h1 {padding-left: 18px; font-size: 17px; font-weight: 600;} /*contents title*/
.content-header > h1:before {content:''; display:block; position:absolute; top:50%; left:15px; width:8px; height:8px; margin-top: 2px; border-radius: 8px; background-color: var(--accentColor);}
.content > .row > div:first-child {padding-left: 0;}
.content > .row > div:last-child {padding-right: 0;}
@media (max-width: 991px) {
    .content > .row > div {padding: 0;}
}

/*footer*/
.main-footer .user-info > span {display: inline-flex; justify-content: flex-start; align-items: center;}
.main-footer .user-info i {padding-right: 4px;}
.main-footer .user-info .divider {padding: 0 5px; color: #aaa;}
.text-info {color: var(--accentColor);}

/*box*/
.box  {border-top-width: 2px; margin-bottom: 10px;}
.box.box-primary {border-top-color: var(--lineColorAccentDark);}
.box-header {padding: 10px 10px 10px 15px;}
.box-header .box-title {font-size: 15px; font-weight: 600; line-height: 20px;}
.box-header.with-border {border-bottom-color: var(--lineColorAccentLight);}
.box-header>.box-tools {right: 10px;}
.box-footer  {border-top-color: var(--lineColorAccentLight);}

/*btn*/
.btn:hover,.btn:active,.btn.hover {font-weight: 500;}
.btn-default {background-color: #fff; border-color: var(--lineColor);}
.btn-default:hover,.btn-default:active,.btn-default.hover {font-weight: 500;}
.btn-primary {background-color: var(--accentColorLight); border-color: var(--accentColorLight);}
.btn-primary:hover,.btn-primary:active,.btn-primary.hover,.btn-primary.focus {background-color: var(--accentColor);}
.btn-outline-primary {background-color: #fff; color: var(--accentColorLight); border-color: var(--accentColorLight);}
.btn-outline-primary:hover,.btn-outline-primary:active,.btn-outline-primary.hover,.btn-outline-primary.focus {background-color: var(--accentColor); color: #fff; border-color: var(--accentColor);}
.btn-excel {background-color: #25b77b; border-color: #25b77b; color: white;}
.btn-excel:hover,.btn-excel:active,.btn-excel.hover,.btn-excel.focus {background-color: #1f6e42; border-color:#1f6e42; color: white;}
.btn > i {margin-right: 4px;}
.btn.i-only > i {margin-right: 0;}
.btn.btn-box-tool> i {margin: 0 4px;}
.btn.btn-sm {font-size: 13px;}
.btn-sm > i {font-size: 14px;}

/*search*/
.box.search-panel {border: 1px solid var(--lineColorAccent);}
.search-panel .box-body {padding: 6px 10px;}
.form-inline .form-group {width: 100%; display: flex; justify-content: flex-start; margin: 4px 0;} /*search item*/
.search-panel .form-inline .form-group label.control-label {display: flex; width: 100px; justify-content: flex-end;}
.search-panel .form-inline .form-group label.control-label > span {padding: 5px 8px 0 0;}
.search-panel .form-inline .form-group .wrap-form-control {display: flex; width: calc(100% - 100px); padding: 0;}
.search-panel .wrap-btn-search {padding: 4px 0;}
@media (max-width: 991px) {
    .form-inline .form-group {margin: 8px 0;}
    .search-panel .form-inline .form-group label {text-align: left;}
    .search-panel .wrap-btn-search {padding: 4px 10px;}
    .search-panel .wrap-btn-search .btn-search {width: 100%;}
}
@media (min-width: 992px) {
    .search-panel .form-inline {width: calc(100% - 76px); padding-right:10px; display: flex; justify-content: flex-start; flex-direction: row; flex-wrap: wrap;}
    .search-panel .form-inline:after {content: ''; position: absolute; right: 0; top: 4px; width: 1px; height: calc( 100% - 10px); background: var(--lineColorAccentLight);}
    .search-panel .form-inline .form-group label.col-md-4 {text-align: right; justify-content:end;}
    .search-panel .wrap-btn-search {display: flex; width: 76px;}
    .search-panel .wrap-btn-search .btn-search {margin-left:10px;}
}

/*form*/
.form-control {width: 100%; height: 30px; padding: 3px 8px; font-size: 14px; border-radius: 4px;} /*input*/
.form-control:focus {border-color: var(--lineColorAccentDark);}
.row, .form-horizontal .form-group {margin-right: 0; margin-left: 0;}
.form-group {margin-bottom: 8px;}
.form-panel .form-group .control-label {position: relative; margin-bottom: 3px;}
.form-panel .form-group label[defrequired="Y"]:after { content:''; display:block; position:absolute; top:0; right:-8px; width:4px; height:4px; border-radius: 4px; background-color: var(--bgColorErr);}
.form-panel .form-horizontal .form-group label[defrequired="Y"]:after {top:5px; right:0;}
.form-panel .itemactions {cursor: pointer;}
.user-menu {cursor: pointer;}
@media (min-width: 992px) {
    .form-panel .box-body {max-height: 508px; overflow-y: auto;}
}

/*select2*/
.select2-container .select2-selection--single {height: 30px}
.select2-container--default .select2-selection--single .select2-selection__rendered {padding-left: 0; font-size: 14px; line-height: 26px;}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-dropdown {border-radius: 4px; border-color: var(--lineColor);}
.select2-container--default.select2-container--open,
.select2-container--open .select2-dropdown {border-color: var(--lineColorAccentDark);}
.select2-container--open .select2-selection--single {border-color: var(--lineColorAccentDark); border-bottom-color: var(--lineColorAccentLight);}
.select2-container--default .select2-results__option--highlighted[aria-selected] {background-color: var(--lineColorAccentDark);}
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {color: #fff;}

/*datatable*/
.table.dataTable {margin-top:0 !important;}
.datatablepanel .dataTable tbody tr td,
.datatablepanelsub .dataTable tbody tr td {cursor: pointer;}
.table > tbody > tr:hover {background-color: var(--greyLight);}
.datatablepanel .dataTable tbody tr.selected td,
.datatablepanelsub .dataTable tbody tr.selected td {background-color: var(--bgColorAccent);}
.datatablepanel .dataTable tfoot {display: none;} /*table footer에 따라오는 header 삭제*/
.datatablepanel > div > div.box {/*overflow: auto;*/}
.datatablepanel .box-body,
.datatablepanelsub .box-body {height: 560px; overflow-y: auto;}
.dataTable tbody td.pre-line {white-space: pre-line;}
/**bordered**/
.table-bordered {border-color: var(--grey);}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {border-color: var(--grey);}
.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {border-bottom-width: 1px;}
table.table-bordered.dataTable {border-left-width: 0; border-right-width: 0; border-top-width: 0;}
table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable td:last-child,
table.table-bordered.dataTable td:last-child {/*border-right-width: 1px*/}
/**head-fixed**/
.table.table-head-fixed thead tr:nth-child(1) th {background-color: #fff; border-top:1px solid var(--greyDark); position: -webkit-sticky; position: sticky; top: 0; z-index: 10;}

/**allcheck**/
th:has(.allcheck), td:has(.onecheck){padding-right: 0 !important; text-align: center; vertical-align: middle;}
input[type=checkbox].allcheck, input[type=checkbox].onecheck {margin-right:8px;}
/**sorting**/
table.dataTable > thead > tr > th {padding-right: 8px}
table.dataTable > thead > tr > th:not(.sorting_disabled),
table.dataTable > thead > tr > td:not(.sorting_disabled) {padding-right: 30px}
table.dataTable > thead .sorting,
table.dataTable > thead .sorting_asc,
table.dataTable > thead .sorting_desc,
table.dataTable > thead .sorting_asc_disabled,
table.dataTable > thead .sorting_desc_disabled {cursor: pointer; position: relative}
table.dataTable > thead .sorting:before, table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:before, table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:before, table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_asc_disabled:before, table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:before, table.dataTable > thead .sorting_desc_disabled:after {position: absolute; display: block; opacity: .3; font-family: inherit; top: 4px;}
table.dataTable > thead .sorting:before, table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_desc:before, table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_desc_disabled:before {right: 1em; content: "↑";}
table.dataTable > thead .sorting:after, table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:after, table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:after {right: .5em; content: "↓";}
table.dataTable > thead .sorting_asc:before, table.dataTable > thead .sorting_desc:after {opacity: 1;}
table.dataTable > thead .sorting_asc_disabled:before, table.dataTable > thead .sorting_desc_disabled:after {opacity: 0;}
table.dataTable > thead th:has(.allcheck).sorting:before, table.dataTable > thead th:has(.allcheck).sorting:after,
table.dataTable > thead th:has(.allcheck).sorting_asc:before, table.dataTable > thead th:has(.allcheck).sorting_asc:after,
table.dataTable > thead th:has(.allcheck).sorting_desc:before, table.dataTable > thead th:has(.allcheck).sorting_desc:after {display:none;} /*checkbox sorting 삭제*/
/**empty**/
table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty {text-align: center}
/*실시간장비상태*/
.dataTable tbody td > div.con,
.dataTable tbody td > div.discon,
.dataTable tbody td > div.err {display:inline-block; width: 80px; padding:4px 0; color:#fff; font-weight:600; text-align: center; border-radius: 4px;}
.dataTable tbody td > div.con {background: var(--accentColorDLight);}
.dataTable tbody td > div.discon {background: #999;}
.dataTable tbody td > div.err {background: var(--bgColorErrLight);}
.dataTable tbody td:has(.con),
.dataTable tbody td:has(.discon),
.dataTable tbody td:has(.err){text-align: center; vertical-align: middle;}
/*상태범례*/
.statu-remark {line-height: 28px;}
.statu-remark > label {padding-right: 10px; margin-bottom: 0; font-size: 13px; font-weight: 500;}
.statu-con > i {color: var(--accentColorDLight);}
.statu-discon > i {color: #999;}
.statu-err > i {color: var(--bgColorErrLight);}
/*설비위치*/
.img-wrap {position: relative;}
.img-wrap img.img-place {width: 100%; height: auto;}
.spot-wrap {position: absolute; left: 0; top: 0;}
.spot {display: block; width: 20px; height: 20px; padding-top: 16px; border-radius: 24px; border: 2px solid #fff; overflow: hidden; cursor: pointer;}
.spot.statu-con {background-color: var(--accentColorDLight);}
.spot.statu-discon {background-color: #999;;}
.spot.statu-err {background-color: var(--bgColorErrLight);}
/*로고관리*/
.box-body .logo-preview {width:230px; height:50px; padding:0 15px; margin:20px auto; background-color: var(--bgColorAccentLight); text-align: center;}
.logo-preview .logo-wrap {font-size:0; line-height:50px;}
.box-body .logo-wrap > img {display:inline !important; width: auto; height: auto; max-width: 100%; max-height:46px;}

/*modal*/
.common-modal .modal {position: relative; top: auto; bottom: auto; right: auto; left: auto; display: block; z-index: 1; background: transparent !important;}
#commonModal .checkbox {margin-top: 0px; margin-bottom: 0px;}
.modal-dialog {width: 96%; height: 100%;}
#commonModal .modal-body tr.selected{background-color: var(--accentBgColor);}
.modal .modal-content {border-radius:8px;}
.modal .modal-content .modal-header {padding:10px 15px; border-bottom-color:#fff; background-color: var(--accentColor); border-top-left-radius:8px; border-top-right-radius:8px;}
.modal .modal-content .modal-title {display:inline-flex; font-size: 16px; font-weight: 600; color:#fff;}
.modal .modal-content .modal-body {height: 550px; overflow: auto;}
.modal .modal-content .close {color: #fff; opacity: .5;}
.modal .modal-content .close:hover, .modal .modal-content .close:focus {opacity: .8;}
.modal .modal-footer {border-top-color: var(--lineColorAccentLight);}
@media (min-width: 992px) {
    .modal-dialog {width: 80%; height: auto;}
}
/*pop*/
.dim {position: fixed; left: 0; top: 0; z-index: 2000; width: 100%; height: 100%; opacity: 0; background: #000;}
.pop-basic {display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2100; height: auto; border: 1px solid var(--grey); border-radius: 4px; background: #fff; box-shadow: 2px 1px 2px rgb(0,0,0,0.1);}
.pop-list {position: relative; left: 10px; top: -10px; width: auto; transform: none;}
.pop-basic .pop-header {position: relative; padding: 4px;border-bottom: 1px solid var(--grey); height: 40px;}
.pop-basic .pop-header h1 {display: inline-block; padding: 6px 6px 6px 10px; margin: 0; font-size: 16px; font-weight: 600;}
.pop-basic .pop-body {width: 100%; height: 800px;}
.pop-basic .pop-body h2 {display: inline-block; position: relative; padding: 10px 6px 4px 20px; margin: 0; color: var(--fontColorLight); font-size: 15px; font-weight: 600;}
.pop-basic .pop-body h2:before {content:''; display: block; position: absolute; top: 50%; left: 10px; width: 3px; height: 3px; margin-top: -1px; border-radius: 3px; background-color: var(--accentColorDLight);}
.pop-basic .inner-content {display: none; flex-direction: column; padding: 4px; width: 100%; height: 91%;}
.pop-basic .inner-content > div {}
.pop-basic .pop-body h3 {padding: 8px; margin: 0; color: var(--fontColor); font-size: 14px; font-weight: 600;}
.pop-basic .pop-body h3.tab {color: #fff; background: var(--accentColorDLight); text-align: center;}
.pop-basic .pop-body h4 {padding: 8px 8px 4px 8px; margin: 0; color: var(--fontColorLight); font-size: 14px; font-weight: 600;}
.pop-basic table {width: 100%;}
.col-left {width: 100%;}
.col-right {width: 100%;}
@media (min-width: 992px) {
    .pop-basic.tbl-single {width: 300px;}
    .pop-basic.tbl-multi  {width: 700px; height: 840px}
    .pop-basic .inner-content {flex-direction: row;}
    .col-left {width: 50%; padding-right:2px;}
    .col-right {width: 50%; padding-left:2px;}
}

/* list */
.list-group.list-nobor {margin: 0;}
.list-group.list-nobor .list-group-item {padding:4px 8px; margin-bottom: 0; font-size:13px; border: none; border-bottom: 1px solid #ddd;}

/* table */
.table-col {border:solid 1px var(--bgColorAccentDark); background:#fff;}
.table-col th, .table-col td {padding:4px; text-align: center; font-size: 13px;}
.table-col thead th {color: var(--accentColorLight); font-weight:500; background-color: var(--bgColorAccentDark); border-right: 1px solid #fff;}
.table-col thead tr > th:last-child {border-right-color: var(--bgColorAccentDark);}
.table-col tbody td { border-right: 1px solid var(--bgColorAccentDark); border-bottom: 1px solid var(--bgColorAccentDark);}

/*custom-control*/
.custom-control {position: relative; display: inline-block; min-height: 14px; padding-left: 20px;}
.custom-control-label {position: relative; margin-bottom: 0; vertical-align: top; color: #666; font-size: 12px; font-weight: 600;}
.custom-control-label::before {
    content: "";
    display: block;
    position: absolute;
    top: 2px; left: -20px;
    width: 14px; height: 14px;
    pointer-events: none;
    background-color: #fff;
    border: #adb5bd solid 1px;
}
.custom-control-label::after {
    content: "";
    display: block;
    position: absolute;
    top: 2px; left: -20px;
    width: 14px; height: 14px;
    background: no-repeat 100%/100% 70%;
}
.custom-control-input {position: absolute; z-index: -1; opacity: 0;}
.custom-control-input:checked~.custom-control-label::before {color: #fff; border-color: var(--accentColorLight); background-color: var(--accentColorLight);}
.custom-control-input:focus~.custom-control-label::before {box-shadow: inset 0 0 0 transparent,none;}
.custom-control-input:focus:not(:checked)~.custom-control-label::before {border-color: #80bdff;}
.custom-control-input:not(:disabled):active~.custom-control-label::before {color: #fff; background-color: #b3d7ff; border-color: #b3d7ff;}
.custom-control-input:disabled~.custom-control-label {color: #666;}
.custom-control-input:disabled~.custom-control-label::before {background-color: #eee;}
.custom-checkbox .custom-control-label::before {border-radius: 4px;}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")}
.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before {border-color: #007bff;background-color: #007bff;}
.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::after {background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='%23ffffff' d='M0 2h4'/%3E%3C/svg%3E")}
.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before {background-color: rgba(0,123,255,.5)}
.custom-checkbox .custom-control-input:disabled:indeterminate~.custom-control-label::before {background-color: rgba(0,123,255,.5)}
.custom-radio .custom-control-label::before {border-radius: 50%}
.custom-radio .custom-control-input:checked~.custom-control-label::after {background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23ffffff'/%3E%3C/svg%3E")}
.custom-radio .custom-control-input:disabled:checked~.custom-control-label::before {background-color: rgba(0,123,255,.5)}
/*custom-switch*/
.custom-switch {padding-left: 30px;}
.custom-switch .custom-control-label::before {
    left: -30px;
    width: 24px;
    pointer-events: all;
    border-radius: 24px;
}
.custom-switch .custom-control-label::after {
    top: 4px; left: -28px;
    width: 10px; height: 10px;
    background-color: #aaa;
    border-radius: 10px;
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-transform .15s ease-in-out;
    /*transition: transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    transition: transform .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-transform .15s ease-in-out*/
}
.custom-switch .custom-control-input:checked~.custom-control-label::after {background-color: #ddd; -webkit-transform: translateX(10px); transform: translateX(10px)}
.custom-switch .custom-control-input:disabled:checked~.custom-control-label::before {background-color: rgba(0,123,255,.5)}
@media (prefers-reduced-motion:reduce) {
    .custom-switch .custom-control-label::after {
        transition: none
    }
}
.datatablepanel .box-tools .custom-control {padding: 4px 5px 3px 20px; margin-left: 5px; vertical-align:middle;}

#datatable_2nd {height: 99.5%; width:100%;}
#datatable_2nd img {height: 100%; width:100%;}

