:root {
    --footer-height: 60px;
}
.ms-1 {
    margin-left: 0.25rem;
}
.ms-2 {
    margin-left: 0.5rem;
}
.ms-3 {
    margin-left: 1rem;
}
.me-1 {
    margin-right: 0.25rem;
}
.me-2 {
    margin-right: 0.5rem;
}
.me-3 {
    margin-right: 1rem;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap-compact {
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.wrap > .container.iframe {
    padding: 15px;
}

@media (min-width: 1200px) {
    .wrap > .container {
        padding-top: 115px;
    }
    .wrap > .container.detail {
        padding: 50px 15px 15px 15px;
    }
    .wrap > .container.iframe {
        padding: 15px;
    }
}

.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    max-height: 600px;
}

.loggedin ul.navbar-nav > li > a {
    opacity: 0.65;
    padding-bottom: 5px;
}

.loggedin ul.navbar-nav > li > a:hover,
.loggedin ul.navbar-nav > li.active > a {
    opacity: 1;
    background-color: unset !important;
}

.loggedin .icofont {
      margin-bottom: 5px;
}

.container {
    width: 100%;
}

.main-container {
    min-height: calc(100vh - var(--footer-height));
}

.footer {
    height: var(--footer-height);
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

table.kv-grid-table tbody tr.selected {
    background: #acbad4;
}

table.kv-grid-table tbody td {
    white-space: normal !important;
}

.hint-block {
    display: block;
    margin-top: 5px !important;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width: 1199px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
    .navbar-brand img {
        width: 37px;
        margin-top: -8px;
    }
    .navbar-brand.navbar-nav {
        display: none;
    }
}
@media (max-width: 1350px) {
    .loggedin ul.navbar-nav > li > a {
        padding: 15px 8px 5px 8px;
    }
}
@media (min-width: 1200px) {
    .loggedin .navbar-header {
        display: none;
    }
    .navbar-left a,
    .navbar-right a {
        font-size: 12px;
    }
    .navbar-left ul.dropdown-menu a,
    .navbar-right ul.dropdown-menu a {
        font-size: 16px;
    }
    .navbar-left .icofont,
    .navbar-right .icofont {
        display: block;
        font-size: 27px;
        text-align: center;
    }
    .navbar-left > li > a,
    .navbar-right > li > a {
        text-align: center;
        display: table-caption;
        line-height: 100%;
    }
    .navbar-brand img {
        width: 65px;
        margin-top: -8px;
    }
    .navbar {
        min-height: 82px;
    }
}
@media (min-width: 992px) {
    .movement-panels.row {
        display: flex;
        flex-wrap: wrap;
    }
    .movement-panels > div {
        display: flex;
        flex-direction: column;
    }
    .movement-panels .panel-primary {
        flex-grow: 1;
    }
    .movement-panels .panel-body {
        padding: 15px 15px 0 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.navbar-collapse {
    float: left;
    width: 100%;
    clear: both;
}

.kv-file-content img,
.kv-zoom-body.file-zoom-content.krajee-default img {
    max-width: 100%;
    max-height: 100%;
}

.tab-content {
    padding-top: 15px;
}

.kv-detail-content {
    padding: 20px;
    overflow: hidden;
    white-space: normal;
}

.kv-detail-content .tabs-krajee {
    background: #fff;
}

.kv-detail-content .tabs-krajee .tab-content {
    padding: 10px;
}

::placeholder, /* Firefox, Chrome, Opera */
.lip-placeholder {
    color: #aaa;
    font-weight: bold;
}

.lip-group {
    overflow: hidden;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #aaa;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #aaa;
}

table.dataTable thead th, table.dataTable tfoot th {
    font-size: 12px;
    word-break: break-all;
}

.dt-buttons {
    margin-right: 50px;
}

.dataTables_length select, .dataTables_filter input {
    height: 30px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    background-color: #eeeeee;
    opacity: 1;
}

.bootstrap-dialog-body {
    padding: 20px;
}

.character-counter {
    margin: 0;
    padding: 0;
}

.character-counter span {
    font-weight: bold;
}

.jsoneditor {
    height: 800px;
}

.select2-container--krajee .select2-selection--multiple .select2-search--inline .select2-search__field {
    min-width: 20em;
}

.select2-container .select2-search--inline:first-child {
    float: none;
}
.select2-container .select2-search--inline:first-child .select2-search__field {
    width: 100% !important;
    height: 29.5px;
}
.select2-dropdown {
    z-index: 2001;
}
.select2-text-success {
    color: #468847;
}
.select2-text-danger {
    color: #b94a48;
}
.select2-results__option--highlighted > .select2-text-success,
.select2-results__option--highlighted > .select2-text-danger {
    color: #fff;
}

.panel-heading {
    overflow: hidden;
}

.panel-info > .panel-heading .badge {
    background-color: #fff;
}

.reorder {
    width: 100px;
    min-width: 10%;
    max-width: 20%;
}

.min-width {
    width: 300px;
    min-width: 20%;
    max-width: 30%;
}

.open-cart-btn {
    position: fixed;
    bottom: 23px;
    right: 28px;
}

.open-cart-btn-info {
    min-width: 200px;
}

#delta-value {
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
}

.image-container {
    margin: 0 auto;
    position: relative;
    width: 100px;
    height: 100px;
}

.product-table-image {
    position: sticky;
    position: -webkit-sticky;
    top: 120px;
}

#search-form .panel-heading {
    overflow: hidden;
}

#search-form .panel-body {
    display: none;
}

#personal-search-form-label {
    margin-top: 7px;
    white-space: nowrap;
}

#personal-search-form-label:hover {
    cursor: pointer;
    text-decoration: underline;
}

#personal-search-form-fields {
    display: inline-block;
}

#personal-search-form-fields .form-group {
    margin-right: 5px;
    margin-bottom: 5px;
}

table.dataTable.display tbody tr.bg-danger:not(.selected),
table.dataTable.display tbody tr.bg-danger:not(.selected) > td.reorder,
table.dataTable.display tbody tr.bg-danger:not(.selected) > td.sorting_1 {
    background-color: rgb(242, 222, 222);
}

.kv-grid-table > tbody > tr.bordered {
    outline: 3px solid #268dc8;
    outline-offset: -3px;
    border-radius: 3px;
}

.pie-header {
    color: black;
    text-align: center;
}

.kv-drp-dropdown .left-ind, .kv-drp-dropdown .right-ind {
    top: 1rem;
}

.kv-drp-dropdown .range-value {
    padding-left: 3rem;
}

.kv-drp-dropdown .kv-clear {
    font-size: 2rem;
    right: 2rem;
    line-height: 2rem;
}

.tt-input {
    background-color: #fff!important;
}

#waiting-page-job-percentage {
    position: absolute;
    font-weight: bold;
    font-size: 128px;
    color: #04488b;
}

div.dt-button-collection {
    min-width: 400px;
    width: 100%;
}

.table-responsive {
    overflow-x: unset;
    display: contents;
}
.kv-panel-before {
    background-color: #fff;
    position: sticky;
    position: -webkit-sticky;
    top: 76px;
    z-index: 10;
}
.iframe .kv-panel-before {
    top: 0px;
}

.kv-table-header {
    position: sticky;
    position: -webkit-sticky;
    top: 130px;
    z-index: 9;
}
.iframe .kv-table-header {
    top: 60px;
}
@media (max-width: 1199px) {
    .kv-panel-before {
        top: 50px;
    }
    .kv-table-header {
        top: 109px;
    }
}
@media (max-width: 768px) {
    .kv-table-header {
        position: static;
    }
    .kv-table-header {
        position: static;
    }
}
.bg-yellow {
    background: #fff2d8;
}
.dynagrid-settings-text {
    display: none;
}
.disabled-link {
    pointer-events: none;
    opacity: 0.7;
}

.file-input .input-group .fileinput-cancel-button,
.file-input .input-group .fileinput-upload-button {
    display: none;
}

.progress-bar {
    color: #000;
}
.btn-notes {
    margin-bottom: 15px;
}
.announcement {
    position: absolute;
    top: 86px;
    left: 15px;
    right: 15px;
    text-align: center;
    padding: 1px 0;
}
.announcement button {
    margin-right: 20px;
}
.announcement a {
    text-decoration: underline;
}
@media (max-width: 1199px) {
    .announcement {
        top: 51px;
    }
}
