html, body, #wrapper {
    height: calc(100% - 1px);
}

#page-wrapper {
    min-height: 100%;
}

/* remove unwanted outline of chrome 83 */
*:focus {
    outline: none;
}

input {
    border: 1px solid darkgrey;
}


/**
    START - Scrollbar
 */
html::-webkit-scrollbar, .table-responsive::-webkit-scrollbar {
    width: 10px;
	/*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.6);*/
	/*background-color: #CCCCCC;*/
    webkit-box-shadow: inset 0 0 6px rgba(113, 113, 113, 0.6);
}

html::-webkit-scrollbar-thumb, .table-responsive::-webkit-scrollbar-thumb {
	border-radius: 10px;
	/*background-image: -webkit-gradient(linear,*/
									   /*left bottom,*/
									   /*left top,*/
									   /*color-stop(0.44, rgb(122,153,217)),*/
									   /*color-stop(0.72, rgb(73,125,189)),*/
									   /*color-stop(0.86, rgb(28,58,148)));*/
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, darkgrey), color-stop(0.72, darkgrey), color-stop(0.86, darkgrey));
}
/**
    END - Scrollbar
 */



/**
    START - Modify bootstrap
 */
 .btn-info {
    background-color: #48a1bb;
    border-color: #4f9fb7;
 }

 .btn-info {
    background-color: #48a1bb;
    border-color: #4f9fb7;
 }

 .btn-info[disabled]:hover {
    background-color: #48a1bb;
    border-color: #4f9fb7;
 }

 .btn-info:hover {
    background-color: #398095;
    border-color: #3f7f92;
 }

.form-group {
    margin-bottom: 7px;
}

.control-value-label {
    margin-bottom: 0px;
    padding-top: 7px;
    /*padding-left: 0px !important;*/
}

.control-data-label {
    margin-bottom: 0px;
    padding-top: 7px;
    color: darkblue;
}

/**
    END - Modify bootstrap
 */




/**
    START - Modify library
 */

.ui-datepicker-other-month {
    opacity: 0.6;
}

.ui-datepicker-other-month a {
    color: darkgrey !important;
}
.ui-datepicker-other-month:hover {
    opacity: 1;
    background-color: whitesmoke;
}

.ui-datepicker-other-month:hover a {
    border: 1px solid #fbcb09;
    font-weight: bold;
    color: #c77405 !important;
}

.datepicker span.disabled {
    opacity: 0.2;
}
/**
    END - Modify library
 */






/**
    START - Progress bar
 */
.progress {
    margin-bottom: 0px;
    height: 25px;
    background-color: white;
    border: 1px solid lightsteelblue;
    box-shadow: inset 5px 5px 12px 3px rgba(6, 0, 0, 0.1);
    min-width: 80px;
}

.progress-bar {
    padding-left: 3px;
    padding-top: 4px;
    color: black;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

.progress-bar-finish {
    background-color: #4f4cf9;
    color: floralwhite;
}

.progress-bar-over {
    background-color: #be29ec;
    color: floralwhite;
}

.progress-percentage .glyphicon-ok {
    color: green;
    font-size: 20px;
}

td.progress-percentage, td div.progress-percentage {
    text-align: center;
}
/**
    END - Progress bar
 */






/**
    START - TAG
 */
a {
    cursor: pointer;
    color: #00a3e4;
}

a:hover {
    color: #0c41bf;
    text-decoration: none;
}

input[type=radio]:checked + label {
    color: red;
}

label {
    font-weight: normal;
    cursor: pointer;
}

input:focus, select:focus {
    background-color: #ffff99;
}

label.radio-inline, label.checkbox-inline {
	padding-top: 7px;
}

label.radio-inline input[type=radio], label.checkbox-inline input[type=checkbox] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

label.radio-inline input[type=radio]:checked + p, label.checkbox-inline input[type=checkbox]:checked + p {
    color: mediumblue;
}

label.radio-inline p, label.checkbox-inline p {
    margin-left: 5px;
    padding-top: 2px;
}

label.radio-inline:nth-child(n + 2), label.checkbox-inline:nth-child(n + 2) {
    margin-left: 20px;
}
/**
    END - TAG
 */







/**
    START - CLASS
 */
.page-container {
    padding: 0px 15px 0px 15px;
}
.has-error input.error {
    color: red;
}

.icon-link {
    color: #bb5800;
}

.icon-link .glyphicon {
    font-size: 17px;
}

.icon-link:hover {
    color: #00dcff;
}

label.name-label {
    text-align: left !important;
}

.panel-split-line {
    width: 100%;
    margin: 0px auto 20px auto;
    height: 0.8px;
    background-color: #9d9d9d;
}

.has-kg-unit:after {
    content: ' kg';
}

.highlight-blue {
    color: blue;
    font-weight: bold;
}

td .checkbox {
    margin-top: 0px;
    margin-bottom: 0px;
}

.checkbox input {
    display: inline;
}
/**
    END - CLASS
 */










/**
    START - TABLE
 */
.table {
    border-collapse: collapse !important;
}

.table thead th {
    border: 1px solid #FFF !important;
    background-color: #167F92;
    color: #FFF;
    white-space: nowrap;
    padding: 0px 8px 0px 8px !important;
    vertical-align: middle !important;
    text-align: center !important;
    font-weight: normal !important;
    height: 30px !important;
    font-size: 13px;
}

.table.dataTable thead th {
    padding-right: 25px !important;
}

.table thead th.sorting:hover, .table thead th.sorting_asc, .table thead th.sorting_desc {
    color: yellow;
}

.table.table-fixed-header thead th {
    position: sticky;
    top: -1px;
}

.table.table-fixed-header {
    border-collapse: collapse;
    width: 100%;
}

.table.odd-event-color tbody tr:nth-child(odd) {
    background-color: #EAF3F3;
}

.table.hover-row-highlight tbody tr:hover, .table tbody tr.selected {
    background-color: yellow !important;
    cursor: pointer;
}

.table tbody td {
    vertical-align: middle !important;
    white-space: nowrap;
    height: 30px !important;
    padding: 0px 8px 0px 8px !important;
    vertical-align: middle !important;
    font-size: 12px;
}

.table tbody tr.finished {
    background-color: #2fe0a7 !important;
}

tbody tr td.select-cell {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

td.select-cell select {
    border: 0px;
}

td.number {
    text-align: right;
}
td.date, td.code, td.func {
    text-align: center;
}


.dataTables_empty {
    padding: 0px !important;
}

.dataTables_wrapper {
    padding-bottom: 20px;
    width: calc(100% - 1px);
}

.dataTables_info, .dataTables_paginate {
    margin-top: 10px;
}

.table-responsive .btn-table {
    display: inline-block;
    padding-bottom: 5px;
    line-height: 18px;
    vertical-align: middle;
}

/**
    END - TABLE
 */








/**
    START - column show/hide configuration popup
 */
.column-display-config {
    float: right;
    margin-bottom: 10px;
}
#modalColumnsDisplayConfig .modal-dialog {
    width: 815px;
}
#modalColumnsDisplayConfig .modal-body {
    height: fit-content;
    overflow: hidden;
}

#modalColumnsDisplayConfig .column-row {
    width: 120px;
    padding: 10px;
    margin: 5px;
    float: left;
    cursor: pointer;
    border: 1px solid lightgrey;
    /*text-align: center;*/
}

#modalColumnsDisplayConfig .column-row.empty {
    border-color: white !important;
    color: white !important;
    cursor: default !important;
}
#modalColumnsDisplayConfig .column-row.col-2 {
    width: 250px;
}
#modalColumnsDisplayConfig .column-row.col-3 {
    width: 380px;
}

#modalColumnsDisplayConfig .column-row.inactive:hover {
    border: 1px solid #5BB75B;
}
#modalColumnsDisplayConfig .column-row.standard {
    display: none;
}
#modalColumnsDisplayConfig .column-row.active {
    color: white;
    background-color: #5BB75B;
    border: 1px solid #5BB75B;
}
#modalColumnsDisplayConfig .column-row.active:hover {
    opacity: 0.6;
}
/**
    END - column show/hide configuration popup
 */

/**
    START - set color for invalid
 */
label.error {
    color: red;
}
/**
    END - set color for invalid
 */

.dropdown-menu div.inner {
    max-height: 290px !important;
}

/**
    START - select filter
 */

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus {
    color: #333 !important;
}

/**
    END - select filter
 */