/* 
    Created on : Jul 30, 2020, 8:14:10 PM
    Author     : Dwijaya Santoso
*/

html{
    height: 100%;
}

body {
    min-height: 100%;
}

/*---------------------------- Nav -------------------------------------*/

/*.nav-link {
    color : rgba(255,255,255, .5) !important;
}
.nav-link.active {
    color : rgb(255,255,255) !important;
    background-color: transparent !important;
}*/

nav.simple-fixed-sidebar {
    /*position: fixed;*/ 
    z-index: 100; 
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

nav.simple-fixed-sidebar .nav-link {
    color: #333;
}
nav.simple-fixed-sidebar .nav-link.active {
    color: #007bff;
}

nav.window-tab {
    padding-left: 1em;
    padding-right: 1em;
}

nav.window-tab ul.nav-tabs{
    padding-top: .5em;
}

nav.window-tab ul.nav-tabs > li.nav-item > a.nav-link{
    padding: .5em 1em;
}

/*-----------------------------------------------------------------------*/
/*.bootstrap-datetimepicker-widget{
    width: 17em !important;
    padding: 2px !important;
    margin: 0 !important;
    z-index: 99999999 !important;
    overflow: auto;
}
.bootstrap-datetimepicker-widget *{
    padding: 0 !important;
    margin: 0 !important;
}

.datetime-picker-anchor {
    position: relative; 
    height: 0; 
    max-height: 0; 
    width: 0; 
    max-width: 0; 
}

.datetime-picker-anchor td,
.datetime-picker-anchor th {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
}

.datetime-picker-anchor th {
    background-color: rgba(150, 150, 150, 0.1) !important;
}

.datetime-picker-anchor tr {
    font-weight: normal;
    background-color: transparent !important;
}*/

/*-------------------------------------------------------------------*/
.form-control:disabled, .form-control[readonly] {
    background-color: #f8f8f8;
    opacity: 1;
}

.btn.disabled, .btn:disabled {
    opacity: .25;
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(0,0,0,.01);
}

tr.selected{
    background-color: #b8daff !important;
    color: #212529 !important;
}

td.details-control{
    cursor: pointer;
}

td.details-control::before {
    display: inline-block;
    content: "";
    background: url('../images/icons/plus-square.png') no-repeat center center;
    background-size: 1em 1em;
    width: 1em;
    height:1em;
    padding: 0;
    margin: 0;
}

tr.shown td.details-control::before {
    display: inline-block;
    content: "";
    background: url('../images/icons/dash-square.png') no-repeat center center;
    background-size: 1em 1em;
    width: 1em;
    height:1em;
    padding: 0;
    margin: 0;
}

td.row-marker::before {
    top: 0.5em !important;
    margin: 0 !important;
    padding:0 !important;
    width: 1em !important;
    height: 1em !important;
}

/*----------------------------- Custom Datatables  ---------------------*/
.dataTables_paginate, .dataTables_info {
    font-size: 90%;
}

/*table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > td:first-child::before, 
table.dataTable.dtr-inline.collapsed.table-sm > tbody > tr > th:first-child::before {
    top: 50% !important
}*/

.dtr-details {
    margin-left: 2em !important;
}

table.dataTable th.focus,
table.dataTable td.focus {
    box-shadow: none !important;
    outline: none;
}

/*------------------------------------Table Fixed-------------------------*/

.table-fixed > thead{ position: sticky; top: 0;}

/* ------------------------ Custom Child Table -------------------- */

.table-plain tbody tr,
.table-plain tbody tr:hover,
.table-plain tbody td,
.table-plain tr,
.table-plain tr:hover,
.table-plain td {
    background-color:transparent !important;
    border:none !important;
}

.table-noborder td,
.table-noborder th,
.table-noborder tbody tr td,
.table-noborder tbody tr th {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
}

.table-thead-clear th {
    background-color: rgba(150, 150, 150, 0.1) !important;
}

.table-nostriped tbody tr:nth-of-type(odd),
.table-nostriped tr:nth-of-type(odd){
    background-color:transparent !important;
}

.table-nohover tbody tr:hover,
.table-nohover tr:hover{
    background-color:transparent !important;
}

.table-plain .table-striped tbody tr:nth-of-type(odd),
.table-plain .table-striped tr:nth-of-type(odd){
    background-color:rgba(0, 0, 0, 0.05) !important;
}

.table-plain .table-striped tbody tr:hover,
.table-plain .table-striped tr:hover{
    background-color:rgba(0, 0, 0, 0.075) !important;
}

table.dataTable > tbody > tr.child ul.dtr-details > li:last-child {
    border-bottom: 1px solid #efefef;
}

/* ---- Table cell control ------*/

.cell-control-container{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.cell-control {
    box-sizing: border-box;
    position: relative !important;
    /*z-index: -1;*/
    display: block;
    border-color: #000;
    /*background-color: rgba(0, 0, 0, .5);*/
    /*opacity: 0.6;*/
    top: 0;
    left: 0;
}
/*.cell-control.show {
    display: block;
}
.cell-control.show:hover, .cell-control:hover {
    opacity: 1;
}*/

/* ----------------  Custom vh --------------------- */
.vh-10{
    height: 10vh !important;
}
.vh-15{
    height: 15vh !important;
}
.vh-20{
    height: 20vh !important;
}
.vh-25{
    height: 25vh !important;
}
.vh-30{
    height: 30vh !important;
}
.vh-35{
    height: 35vh !important;
}
.vh-40{
    height: 40vh !important;
}
.vh-45{
    height: 45vh !important;
}
.vh-50{
    height: 50vh !important;
}
.vh-55{
    height: 55vh !important;
}
.vh-60{
    height: 60vh !important;
}
.vh-65{
    height: 65vh !important;
}
.vh-70{
    height: 70vh !important;
}
.vh-75{
    height: 75vh !important;
}
.vh-80{
    height: 80vh !important;
}
.vh-85{
    height: 85vh !important;
}
.vh-90{
    height: 90vh !important;
}
.vh-95{
    height: 95vh !important;
}

/*-------------------------- Custom Font --------------------------*/

.font-90{
    font-size: 90% !important;
}
.font-85{
    font-size: 85% !important;
}
.font-80{
    font-size: 80% !important;
}

/*-------------------------- LED LIGHT --------------------------*/
.led-red {
    margin: 0 auto;
    width: 24px;
    height: 24px;
    background-color: #F00;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 12px;
}

.led-green {
    margin: 0 auto;
    width: 24px;
    height: 24px;
    background-color: #ABFF00;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
}