/* `.form-actions` is declared THREE times in this file; the last one wins. The error state is
   painted from okis-2026-unified.css, not from here. */

.body-guest .content-wrapper {
    margin-top: 0;
}

.main-header {
    /*position: fixed;*/
    width: 100%;
    /*height: 50px;*/
    z-index: 1050;
}

.user-panel > .info {
    position: static;
    line-height: inherit !important;
}

.user-panel > .info p {
    margin-bottom: 0;
}

.sidebar-menu .header {
    text-transform: uppercase;
}

.sidebar-mini.sidebar-collapse .main-header .logo > .logo-mini {
    font-size: 13px;
}

.sidebar-menu li.active > a > .pull-right-container > .fa-angle-left {
    transform: rotate(-90deg);
}

.body-site-login .content-wrapper, .body-site-login .right-side, .body-site-login .main-footer,
.body-guest.body-site-index .content-wrapper, .body-guest.body-site-index .right-side, .body-guest.body-site-index .main-footer {
    margin-left: 0;
}

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4,  .h5, .h6 {
    font-family: Helvetica, sans-serif;
}

h1, .breadcrumb {
	white-space: nowrap;
	overflow: hidden;
}

.pagination {
    margin: 10px 0 0px 10px;
}

.box-autowidth {
    display: inline-block;
    width: auto;
}

.grid-view .summary {
    float: left;
}

.grid-view .pagination {
    float: right;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}

/* `.form-actions` copy 1 of 3. */
.form-actions {
    text-align: right;
    min-height: 20px;
}

.btn-default, .pagination > li > a {
    background-color: white;
}

.btn-default:hover, .btn-default:active, .btn-default:focus, .btn-default.hover, .pagination > li > a:hover, .pagination > li > a:active, .pagination > li > a.hover {
    background-color: #e7e7e7;
}

.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:active, .btn-default.disabled:focus, .btn-default.disabled.hover, .pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    opacity: 0.65;
    background-color: #f0f0f0;
    box-shadow: none;
}

.btn.btn-extended {
    width: 100%;
    text-align: left;
}

tr.filters .select2.select2-container .select2-selection--single .select2-selection__rendered,
.form-group .select2.select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: 0;
}

.input-group .input-group-btn .btn{
    border-radius: 0;
}

.select2-container .select2-selection--single .select2-selection__clear {
	top: -4px;
	left: 10px;
	color: #c55;
}

/* The only address the app has for error ink on a RADIO or CHECKBOX: AdminLTE.min.css states the
   error state as `.form-group.has-error label / .form-control / .help-block` and never mentions
   them, so this rule stays here rather than moving to the design layer. */
.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label {
    color: var(--status-danger);
}

.modal-body .table:last-child, .grid-view .table:last-child, .modal-body form:last-child .form-group:last-child, .box-body > .form-group:last-child, .box-body > div > .row:last-child > div > .form-group, .box-body > .row:last-child > div > .box, .box-body > .box:last-child, .box-body form .form-actions, .content > div > .box:last-child, .box-body > form > .form-group:last-child, .well form .form-group:last-child, .box .box-body div table.detail-view {
    margin-bottom: 0;
}

.box-body > div.subject-vehicle-form > div > .row:last-child > div > .form-group {
    margin-bottom: 15px;
}

.box-body .form-actions:last-child {
    margin-top: 10px;
}

.grid-view .summary, .grid-view .export-container {
    margin: 10px 0 0 10px;;
}

.field-lock-version .help-block:empty {
	display: none;
}

.box-body .form-group .help-block:empty {
	margin: 0;
}

.grid-view:after {
    content: ' ';
    display: table;
    clear: both;
}

.radio, .checkbox {
    margin-top: 0;
}

.radio label, .checkbox label {
    font-weight: bold;
}

.form-group.required label:after {
    content: ' *';
}

.action-column {
    vertical-align: middle;
    white-space: nowrap;
    width: 1%;
}

/* Do not re-add has-error / has-success / has-warning addon rules here: an addon is not a
   validation surface, so it keeps its resting tint and only its border carries the state.
   All three are stated once in okis-2026-unified.css's validation blocks. */

/* `.form-actions` copy 2 of 3. */
.form-actions {
    margin-bottom: 20px;
    /*width: 100%;*/
    padding: 10px;
}

/* `.form-actions` copy 3 of 3 — the one that matters: it is what makes the bar float. */
.form-actions {
    position: fixed;
    bottom: 50px;
	right: 15px;
    z-index: 1050;
}

form .form-actions {
    bottom: 70px;
}

.body-test .form-actions {
    position: static;
}

.body-test .content, .body-index .content {
    padding-bottom: 15px;
}


.box-header {
    padding: 0;
}

.box-header .box-title {
    padding: 10px;
}

.box-header-buttons {
    float: right;
    margin: 5px 10px;
}

.box-header-buttons a {
    margin: 0 0 0 5px;
    padding: 3px 6px;
}

.checkbox label {
    padding-left: 0;
}

.box-header > .box-tools {
    position: static;
    margin-right: 10px;
    margin-top: 5px;
}

.btn.btn-file > input[type="file"] {
    font-size: inherit;
}

.btn.btn-clear-filter {
    padding: 2px;
}

.sidebar-menu li > a > .pull-right {
    margin-top: -7px;
    position: absolute;
    right: 10px;
    top: 50%;
}

.sidebar-menu li > a > .fa-angle-left {
    height: auto;
    margin-right: 10px;
    padding: 0;
    width: auto;
}

.sidebar-menu .treeview-menu > li > a > .fa.fa-angle-left, .sidebar-menu .treeview-menu > li > a a > .fa.fa-angle-left {
    width: auto;
}

.sidebar-menu li.active > a > .fa-angle-left {
    transform: rotate(-90deg);
}

/* The optimistic-lock error is a BANNER, not a field state: the only `.help-block` in the app that
   renders as a solid panel with white ink, so quiet validation does not apply to it. */
.field-lock-version.has-error .help-block {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--status-danger);
    color: #fff;
    border-radius: 3px;
    border-color: var(--status-danger-text);
}

.content-header {
	position: fixed;
    transition: left 0.3s ease-in-out 0s;
	right: 0;
	z-index: 1030;
	padding-bottom: 8px;
	border-bottom: 1px solid rgb(210, 214, 222);
}

.body-test .content-header, .body-guest .content-header, .body-site-index .content-header {
    position: static;
    padding-bottom: 0;
    border-bottom: 0;
}

.skin-blue .content-header {
	background: rgb(236, 240, 245);
}

.dropdown-menu li a {
    text-align: left;
}

tr.filters > td > .btn-group > a,
tr.filters > td > .btn-group > button {
	height: 30px;
}

ul.row {
	padding-left: 0;
}

ul.row, ul.row li {
	list-style-type: none;
}

.kv-grid-loading {
    background-image: url('images/loading.gif') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

.kv-grid-loading .kv-loader {
    display: none !important;
}

th.kv-all-select {
    border-bottom: 0px !important;
}

.input-group-addon.kv-date-remove {
    border-right: 0;
}

.grid-view tr.filters td:first-child {
    min-width: 66px;
}

div.form-control[disabled="disabled"], div.form-control[disabled] {
    overflow: hidden;
    white-space: nowrap;
}

.navbar-nav > .user-menu > .dropdown-menu {
    width: 200px;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {
    .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
        right: 0;
    }

	.content {
		margin-top: 82px;
	}

    .body-test .content, .body-guest .content, .body-site-index .content {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .content-header {
		left: 0;
	}
}

@media (min-width: 768px) {
    .content-header {
		left: 230px;
	}

    .body-test .content-header, .body-guest .content-header, .body-site-index .content-header {
		left: 0;
	}

	.sidebar-collapse .content-header {
		left: 50px;
	}

	.body-test.sidebar-collapse .content-header, .body-guest.sidebar-collapse .content-header, .body-site-index.sidebar-collapse .content-header {
		left: 0;
	}
}

@media (min-width: 992px) {
	.content-header > .breadcrumb {
		position: static;
		float: right;
	}

	.content {
		margin-top: 52px;
	}

	.body-test .content, .body-guest .content, .body-site-index .content {
		margin-top: 0;
	}
}

@media print {
  a[href]:after {
    content: none !important;
  }
}
