﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

a, a:active, a:focus {
    outline: none;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.btn-default {
}

    .btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
    }

.btn-purple {
    color: #fff;
    background-color: #6f42c1;
    border-color: #5a32a3;
}

    .btn-purple:hover,
    .btn-purple:focus,
    .btn-purple.focus,
    .btn-purple:active,
    .btn-purple.active,
    .open > .dropdown-toggle.btn-purple {
        color: #fff;
        background-color: #5a32a3;
    }

.field-validation-error {
    color: #d9534f;
    display: inline-block;
}
.tbWidthTiny {
    width: 70px;
    max-width: 70px;
}
.tbWidthExtraSmall {
    width: 85px;
    max-width: 85px;
}
.tbWidthSmall {
    width: 100px;
    max-width: 100px;
}
.tbWidthSmallToMedium {
    width: 120px;
    max-width: 120px;
}
.tbWidthMedium {
    width: 150px;
    max-width: 150px;
}
.tbWidthLarge {
    width: 300px;
    max-width: 300px;
}
.form-group label{
    font-weight: normal;
}

.form-group .select2-container--default .select2-selection--multiple,
.form-group .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #ccc;
    padding: 0px 1px;
}

.col-form-label {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.input-validation-error {
    border-color: #d9534f;
}

    .input-validation-error.form-control-required {
        border-left: 5px solid #d9534f;
    }

.validation-summary-errors {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #eee;
    border-image: none;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px 1px 1px 5px;
    margin: 10px 0;
    padding: 20px;
    border-left-color: #d9534f;
    color: #d9534f;
}

    .validation-summary-errors ul {
        margin-bottom: 0;
    }

    .validation-summary-errors span {
        font-size: 18px;
        color: #d9534f;
        margin-bottom: 5px;
        margin-top: 0;
    }

.bs-callout {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #eee;
    border-image: none;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px 1px 1px 5px;
    margin: 20px 0;
    padding: 20px;
}

    .bs-callout h4 {
        margin-bottom: 5px;
        margin-top: 0;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.table {
    margin-top: 20px;
}

.scrollable-dropdown-menu .tt-dropdown-menu {
    max-height: 150px;
    overflow-y: auto;
}


ul.pagination {
    margin-top: 0px;
}

#homepage .glyphicon {
    font-size: 25px;
}

.loader {
    /*margin-top: 20px;*/
    display: block;
    height: 20px;
    vertical-align: middle;
}

    .loader span {
        margin-left: 5px;
        font-size: 85%;
        font-style: italic;
    }

.form-horizontal.nomargin .form-group {
    margin-bottom: 0;
}

table tr th.sortable {
    cursor: pointer;
    text-decoration: underline;
}

.typeaheadicon {
    position: absolute;
    text-align: right;
    width: 16px;
    height: 34px;
    padding-top: 9px;
    cursor: pointer;
    color: black;
}

    .typeaheadicon.green {
        color: #5cb85c
    }

table tbody tr td {
    vertical-align: middle !important;
}

.btn-table {
    text-align: left;
    padding: 6px 0px;
}

.modal-xlg {
    width: 1125px;
}

.control-block {
    width: 100%;
    display: block;
    text-align: left !important;
}

.form-group-no-margin-bottom {
    margin-bottom: 0px;
}

.sigPadReadOnly {
    border: 1px dashed #e6e6e6;
    border-radius: 2px;
}

table.table-small {
    font-size: 12px;
}

    table.table-small tr td {
        padding: 2px 5px;
    }

    table.table-small .btn:not(.btn-sm), table.table-small .btn:not(.btn-xs) {
        padding: 2px 10px;
    }


.notibar .notification {
    top: auto !important;
    border-bottom: 0 !important;
    z-index: 1000 !important;
    margin: 50px;
    width: calc(100% - 50px);
}

.toggleswitch-input-sm {
    display: inline;
    height: 36px;
}

    .toggleswitch-input-sm .bootstrap-switch .bootstrap-switch-handle-on, .toggleswitch-input-sm .bootstrap-switch .bootstrap-switch-handle-off, .toggleswitch-input-sm .bootstrap-switch .bootstrap-switch-label {
        font-size: 12px !important;
        /*line-height:16px;*/
    }

.page-header {
    margin-bottom: 0;
}

h1.page-header {
    margin: 20px 0;
}

.page-header h2 {
    margin: 0;
}

.btn-dashboard-large {
    height: 115px;
    padding-top: 30px;
}

.colpick_hex {
    display: none;
}


/*.dropdown-submenu {
    position: relative !important;
}

    .dropdown-submenu a::after {
        transform: rotate(0deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: -10rem;*/ /* 10rem is the min-width of dropdown-menu */
/*position: relative;
    }*/


.validation-summary-valid {
}

.select2-selection > span {
    padding-right: 26px !important;
    padding-top: 2px !important;
}

.select2-selection__arrow {
    display: none;
}

.select2.select2-container {
    width: 100% !important;
}

.datepicker {
    z-index: 1151 !important;
}


.table-noborder, .table-noborder tr, .table-noborder tr th, .table-noborder tr td {
    border: none !important;
}

.input-group-addon {
    min-width: 105px;
}

.select2-selection.form-control-required {
    border-left: 0 !important;
}

.form-control-required {
    border-left: 5px solid #2e6da4 !important;
}


.highlightImageModal img {
    border-radius: 5px;
    transition: 0.3s;
}

    .highlightImageModal img:hover {
        opacity: 0.7;
    }

.highlightImageModal {
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 5%;
    top: 5%;
    width: 80%;
    height: 80%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

    .highlightImageModal .highlightImagePlaceholder {
        margin: auto;
        display: block;
        width: 60%;
        max-width: 400px;
    }

.highlightImageModalClose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.select2-container .select2-selection--single {
    height: 34px !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ccc !important;
}

.fa, .fas {
    font-family: FontAwesome !important;
}

.modal-lg2 {
    width: 93%;
}


.navbar-inverse {
    background-image: linear-gradient(to right, #131724, #1f274e);
}

    .navbar-inverse .navbar-nav > li > a {
        color: white;
    }

table.table-striped tr th, table.table-striped thead tr th, table.table-striped tbody tr th {
    background-color: #222;
    border: #080808;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight:normal;
}

    table.table-striped tr th.sortable {
        text-decoration: none;
    }


.table-striped > tbody > tr:nth-child(even) {
    background-color: #f5f5f5;
}

.table-striped > tbody > tr:nth-child(odd) {
    background-color: white;
}

table.table-striped .btn-default {
    background-color: #333;
    color: white;
    border-color: #333;
}

.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}

.footer {
    background-image: linear-gradient(to right, #131724, #1f274e);
    height: 40px;
}

    .footer .container-fluid {
        padding-top: 10px;
    }


        .footer .container-fluid .text-muted {
            color: white;
        }

.page-header {
    font-size: 24px;
    font-weight: bold;
}

@media (min-width: 768px) {
    .visible-on-collapse {
        display: none;
    }
}

.table-responsive .table {
    margin-top: 0px;
}

.table-responsive {
    margin-top: 20px;
}


.thumbnail .img-fluid {
    height: 100px !important;
    max-width: 100% !important;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.custom-notification {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 25px 40px;
    border: 1px solid black;
    border-radius: 5px;
    color: white;
}

    .custom-notification.info {
        background-color: #5bc0de;
    }

    .custom-notification.warning {
        background-color: #f0ad4e;
    }

    .custom-notification.error {
        background-color: #d9534f;
    }

    .custom-notification.success {
        background-color: #5cb85c;
    }

.single-line {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn-mr {
    margin-right: 15px;
}

.m-0 {
    margin: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-15 {
    margin-right: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.p-0 {
    padding: 0;
}

.pt-5 {
    padding-top: 5px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-15 {
    padding-bottom: 15px;
}

.font-size-11 {
    font-size: 11px;
}

.font-size-22 {
    font-size: 22px;
}

.w-50 {
    width: 50px;
}

.w-200 {
    width: 200px;
}

.table-layout-fixed {
    table-layout: fixed;
}

.d-none {
    display: none;
}

.d-inline-block {
    display: inline-block;
}
.d-flex {
    display: flex;
}
.align-self-end {
    align-self: end;
}

.control-label-required:after {
    content: " *";
}


.vertical-align-top {
    vertical-align: top;
}
.vertical-align-bottom {
    vertical-align: bottom;
}

.filter-v2-label-checkbox {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    font-size: 12px;
    margin: 0 5px
}

    .filter-v2-label-checkbox input[type="checkbox"] {
        margin-top: 0;
        margin-right: 4px;
    }

.table-v2 th,
.table-v2 td {
    vertical-align: middle !important;
    font-weight: normal;
}

.table-v2 thead th {
    padding: 10px 5px !important;
}

.table-v2 th.sortable {
    text-decoration: underline !important;
}

.table-v2 .table-v2-group-row th,
.table-v2 .table-v2-group-row td,
.table-v2 .table-v2-group-item-row td {
    background-color: #f5f5f5;
    padding: 5px;
    color: black;
}

.table-v2 .table-v2-group-item-row th,
.table-v2 .table-v2-group-item-row td {
    background-color: white;
    border: none;
}

.table-v2 .table-v2-group-row .table-v2-collapse-btn {
    background-color: transparent;
    border: none;
    color: black;
    outline: none;
    box-shadow: none;
}

.table-v2 .table-v2-col-checkbox {
    text-align: center;
    width: 30px;
}
.border-bottom {
    border-bottom: 1px solid #ddd !important;
}

input[type=number].integer::-webkit-inner-spin-button,
input[type=number].integer::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ESMO create order */
.esmo-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.esmo-left-group {
    display: flex;
    gap: 20px;
}

.esmo-column {
    min-width: 150px;
}

.esmo-center-column {
    flex: 1;
    max-width: 400px;
}

.esmo-right-column {
    min-width: 200px;
    text-align: right;
}

/* ESMO */

.esmo-logo {
    width: auto;
    height: 40px;
}

.esmo-stockitem-filter {
    display: flex;
}

    .esmo-stockitem-filter .search-bar {
        display: inline-block;
        vertical-align: top;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .esmo-stockitem-filter .search-button {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

.esmo-stockitem-card .card-image {
    margin: 15px auto;
    height: 150px !important;
}

.esmo-stockitem-card .card-header {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 12px;
    border-bottom: 1px solid #dee2e6;
    width: 50%;
}

.esmo-stockitem-card .item-count {
    text-align: center;
    border: 1px solid #dee2e6;
}

.esmo-stockitem-card .caption {
    display: flex;
    flex-flow: wrap;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.esmo-stockitem-card .item-description {
    border-bottom: 1px solid #dee2e6;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.esmo-stockitem-card .item-warehouse-available {
    display: inline-block;
    margin-right: 15px;
    vertical-align: top;
}

.hidden {
    display: none;
}

.toggle-invoice-list{
    cursor: pointer;
}

.toggle-invoice-list:hover{
    text-decoration: underline;
}

.toggle-warehouseitem-list {
    cursor: pointer;
}

    .toggle-warehouseitem-list:hover {
        text-decoration: underline;
    }


.input-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-toggle-field {
    flex: 1;
    position: relative;
}

    .input-toggle-field .form-control {
        width: 100%;
    }

.toggle-buttons {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    height: 35px;
}

.btn-toggle {
    border: none;
    border-bottom: 4px solid white;
    background-color: white;
    padding: 0px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-toggle img{
    width:18px;
}

.btn-toggle.active {
    color: white;
    border-bottom: 4px solid #2e6da4;
}

.label-color-square {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #ccc;
    vertical-align: middle;
    margin-right: 4px;
}

.label-transparent {
    background: transparent;
}

.label-green {
    background: #4caf50;
}

.label-yellow {
    background: #ffeb3b;
}

.label-orange {
    background: #ff9800;
}

.label-lightblue {
    background: #03a9f4;
}

.label-gray {
    background: #9e9e9e;
}

.label-pink {
    background: #e91e63;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.tr-highlight {
    background-color: #c9e2ff !important;
}

.required-highlight {
    border: 1px solid #d9534f !important;
}

.required-highlight-label {
    color: #d9534f !important;
}

.align-left{
    text-align: left;
}

.align-right {
    text-align: right;
}

.flis-image-upload {
    max-width: 420px;
    font-family: Arial, sans-serif;
}

    .flis-image-upload .iu-btn {
        display: inline-block;
        padding: 6px 10px;
        background: #2b7cff;
        color: #fff;
        border-radius: 4px;
        cursor: pointer;
        margin-bottom: 6px;
    }

    .flis-image-upload .iu-drop-area {
        border: 2px dashed #ddd;
        padding: 12px;
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
        position: relative;
    }

        .flis-image-upload .iu-drop-area.dragging {
            border-color: #2b7cff;
            background: #f6fbff;
        }

    .flis-image-upload .iu-preview img {
        max-width: 100%;
        max-height: 250px;
        display: block;
        margin: 0 auto;
    }

    .flis-image-upload .iu-actions {
        display: flex;
        gap: 8px;
        margin-top: 6px;
    }

    .flis-image-upload .iu-progress {
        margin-top: 6px;
        font-size: 13px;
    }