.login-box { width: 400px; }
.login-logo { font-weight: bold; }
.login-logo img { width: 100%; }

input[type="number"] {
    -moz-appearance: textfield;
}

.main-header li.spacer {
    width: 1px;
    margin: -4px 10px;
    border-left: 1px solid #f5b081;
}

.main-header li.label {
    font-size: 20px;
}

.main-header li.factory-selector {
    min-width: 200px;
}

.alert ul {
    list-style: outside none none; padding-left: 0;
    margin-bottom: 0;
}

.invalid-feedback { display: block; }

/*
form .select2-container--bootstrap4 .select2-selection--single,
.form .select2-container--bootstrap4 .select2-selection--single { height: 38px !important; }
*/
.select2-container--bootstrap4 .select2-selection--single { height: 38px !important; }
legend { border-bottom: 1px solid #e5e5e5; margin-bottom: 1.25rem; }
.btn-group.btn-xs .btn { line-height: 1; }

.select2-container--bootstrap4 .select2-selection--single { height: 35px; }
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered { line-height: 2rem; }

/*.card-header.with-tools {
    line-height: 1.5rem;
}*/

.card-header .box-group,
.card-header .card-tools { margin: -0.25rem 0; }

h4.info-box-title { display: block; width: 100%; font-size: 1rem; }

.empty-list {
    display: block;
    text-align: center;
    font-style: italic;
    opacity: .65;
}

dl dt { margin-bottom: .5rem; }

a.btn-popup { cursor: pointer; }

/* table extra START */
.table-editable td:last-child { text-align:right; white-space:nowrap; width: 64px; }
.table-editable.btn-three td:last-child,
.table-editable.btn-three th:last-child { width: 81px; }
.table-sm > tbody > tr > td,
.table-sm > tbody > tr > th,
.table-sm > tfoot > tr > td,
.table-sm > tfoot > tr > th,
.table-sm > thead > tr > td,
.table-sm > thead > tr > th {
    padding: 5px 10px;
    line-height: 1.8;
}
.table .btn-xs { padding: .1rem .2rem; }
/* table extra END */

/* form START */
.form-group .readonly { height: calc(2.25rem + 2px); }
.form-group .readonly span {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #eee;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    cursor: not-allowed;
}
.popover-container { display:none; }
/* form END */

/* pagination START */
.pagination-wrapper span.input-group-text { padding: .25rem .5rem; font-size: .875rem; }
.pagination-wrapper .btn { padding: .25rem .5rem; }
.pagination-wrapper input { height: 31px; }
.paginate-extra-left { margin-right:-1px; border-radius:0; }
.paginate-extra-right { margin-left:-1px; border-top-left-radius:0; border-bottom-left-radius:0; }
/* pagination END */

/* modal START */
.modal-header { display: block; }
.modal-header h3 { font-size: 1.5rem; margin: 0; }
/*.modal-footer { display: block; }*/
/* modal END */

/* table-xs */
.table > thead > tr > th { vertical-align: middle; }
.table-xs > tbody > tr > td,
.table-xs > tbody > tr > th,
.table-xs > tfoot > tr > td,
.table-xs > tfoot > tr > th,
.table-xs > thead > tr > td,
.table-xs > thead > tr > th {
    padding: 5px 5px;
    padding-right: 5px !important;
    padding-left: 5px !important;
}

/* table sorting START */
table thead .sorting::after, table thead .sorting_asc::after, table thead .sorting_desc::after, table thead .sorting_asc_disabled::after, table thead .sorting_desc_disabled::after,
table thead .sorting::before, table thead .sorting_asc::before, table thead .sorting_desc::before, table thead .sorting_asc_disabled::before, table thead .sorting_desc_disabled::before { top: 0.25em; }

table thead > tr > th.sorting_asc, table thead > tr > th.sorting_desc, table thead > tr > th.sorting,
table thead > tr > td.sorting_asc,
table thead > tr > td.sorting_desc,
table thead > tr > td.sorting {
    padding-right: 30px;
}
table thead > tr > th:active,
table thead > tr > td:active {
  outline: none;
}
table thead .sorting,
table thead .sorting_asc,
table thead .sorting_desc,
table thead .sorting_asc_disabled,
table thead .sorting_desc_disabled {
  cursor: pointer;
  position: relative;
}
table thead .sorting:before, table thead .sorting:after,
table thead .sorting_asc:before,
table thead .sorting_asc:after,
table thead .sorting_desc:before,
table thead .sorting_desc:after,
table thead .sorting_asc_disabled:before,
table thead .sorting_asc_disabled:after,
table thead .sorting_desc_disabled:before,
table thead .sorting_desc_disabled:after {
  position: absolute;
  bottom: 0.9em;
  display: block;
  opacity: 0.3;
}
table thead .sorting:before,
table thead .sorting_asc:before,
table thead .sorting_desc:before,
table thead .sorting_asc_disabled:before,
table thead .sorting_desc_disabled:before {
  right: 1em;
  content: "\2191";
}
table thead .sorting:after,
table thead .sorting_asc:after,
table thead .sorting_desc:after,
table thead .sorting_asc_disabled:after,
table thead .sorting_desc_disabled:after {
  right: 0.5em;
  content: "\2193";
}
table thead .sorting_asc:before,
table thead .sorting_desc:after {
  opacity: 1;
}
table thead .sorting_asc_disabled:before,
table thead .sorting_desc_disabled:after {
  opacity: 0;
}
/* table sorting END */

.bg-inactive { background-color: #d2d6de; }
/*.custom-radio { display: inline-block; padding-top: 7px; }*/

/* waiting */
.waiting {
    background-color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    position: fixed;
    text-align: center;
    z-index: 2000;
}

.waiting span {
    vertical-align:middle;
    display: table-cell;
}

.waiting.waiting-full {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100%;
    display: none;
}

.waiting.waiting-full span { font-size: 144px; }
.waiting.waiting-partial { display: table; position: absolute; }
.waiting.waiting-partial span { font-size: 36px; }
/* waiting END */

/* datepicker */
.bootstrap-datetimepicker-widget.dropdown-menu { width: auto; }
.bootstrap-datetimepicker-widget .datepicker { font-size: 12px !important; }
.datepicker-days table thead th,
.datepicker-days td { border: none; }
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover { background-color: #357ebd; }
/* datepicker END */

/* translation */
form .nav.nav-tabs { justify-content: end; }
form .tab-content { padding: 1rem 0 0 0; }
