body.brand {
    /* overwrite admin theme brand class */
    width: auto;
}

.table-row-border-vertial {
    border-left: 1px solid #3cca7c;
    border-right: 1px solid #3cca7c;
    border-top: 5px solid #3cca7c;
}

.product_options {
    display: none;
    background: #efefef;
    border-bottom: 5px solid #3cca7c;
    border-left: 1px solid #3cca7c;
    border-right: 1px solid #3cca7c;
}

.message-handler {
    position: absolute;
    left: 0;
    right: 0;
}

#lh_model_rel_options div.checkbox,
#lh_model_rel_devices div.checkbox,
#lh_model_customizable_rel_devices div.checkbox,
#lh_model_customizable_rel_options div.checkbox,
#lh_model_plant_rel_devices div.checkbox,
#lh_model_plant_rel_options div.checkbox {

    display: block;
    float: left;
    margin: 5px 10px 5px 0;
    background: cornflowerblue;
    padding: 5px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    cursor: move;
}

#lh_model_rel_options label,
#lh_model_rel_devices label,
#lh_model_customizable_rel_options label,
#lh_model_customizable_rel_devices label,
#lh_model_plant_rel_options label,
#lh_model_plant_rel_devices label {
    color: #fff;
    font-size: 12px;
    cursor: move;
}

#lh_model_rel_options:after,
#lh_model_rel_devices:after,
#lh_model_customizable_rel_options:after,
#lh_model_customizable_rel_devices:after,
#lh_model_plant_rel_options:after,
#lh_model_plant_rel_devices:after {
    content: '';
    clear: both;
    display: block;
}

form.delete-product-image,
form.delete-collection-file {
    display: inline;
}

form input.button-move {
    cursor: move;
}

form[name$="search"] div.checkbox {
    margin: 16px 0 0 10px
}

.input-50 {
    width: 50%;
}

.input-33 {
    width: 33%;
}

.input-20 {
    width: 20%;
}

#beamsPlanningModal .modal-dialog {
    position: fixed;
}

#beamsPlanningModal .modal-header {
    cursor: move;
    background-color: #49aaff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#beamsPlanningModal .modal-header .modal-title {
    color: #fff;
}

#beamsPlanningModal .annotation {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1em;
}

.beam-planning-area-bg-over {
    background-color: #fcf8e3;
}

.beam-planning-area-bg-dropped {
    background-color: #fffa90;
}

/*
.table-schedule > thead > tr:first-child > th:nth-child(2){
    border-top:1px solid #ccc;
    font-weight:bold;
}

.table-schedule > thead > tr > th:nth-child(2),
.table-schedule > tbody > tr > td:nth-child(2)
{
    background: #efefef;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
}

.table-schedule > tbody > tr:last-child > td:nth-child(2){
    border-bottom: 1px solid #ccc;
}
*/

.bg-lh-1 {
    background-color: #efefef;
}

#bundle-beam-print-form,
#print-correction-form {
    justify-content: inherit;
    float: right;
    width: 100%;
    padding: 20px 10px 20px 55px;
    border: 10px solid #efefef;
}

#bundle-beam-print-form .form-group,
#print-correction-form .form-group {
    margin-left: 10px;
}

.form-short-input input[type="text"] {
    width: 100px !important;
}

.short-input {
    width: 100px !important;
}

.table-print-correction .print-correction-unactive {
    margin: 5px !important;
    border: 3px solid #efefef !important;
}

.table-print-correction .print-correction-active {
    margin: 5px !important;
    border: 3px solid #f00 !important;
}

.table-print-correction .print-correction-saved {
    margin: 5px !important;
    border: 3px solid #FFCC00 !important;
}


.table-print-correction .print-correction-done {
    margin: 5px !important;
    border: 3px solid #33ba70 !important;
}

#beam-show-print-table-overlay {
    position: absolute;
    width: 97.5%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1000;
    left: 15px;
}

.mark-as-verified {
    cursor: pointer;
}

.sewing-planning-list,
.draggable-sewn-planning-list {
    padding: 0;
    margin: 0;
}

.draggable-sewn-planning-list {
    z-index: 1000;
}

.sewing-planning-list > li,
.draggable-sewn-planning-list > li {
    /*min-height: 130px;*/
    padding: 5px;
}

.draggable-sewn-planning-list > li {
    width: 274px;
    margin-bottom: 20px;
}

.sewing-planning-list > li > .table,
.draggable-sewn-planning-list > li > .table {
    background: #efefef;
}

.sewing-planning-list > li.bundle-selected > .table,
.draggable-sewn-planning-list > li.bundle-selected > .table {
    background: orange;
    color: white;
}

.draggable-sewn-planning-list > li.bundle-selected > .table {
    background: #3cca7c;
    opacity: 0.6;
}

.sewing-planning-list > li.bundle-selected > .table a,
.draggable-sewn-planning-list > li.bundle-selected > .table a {
    color: white;
}

.sewing-planning-list > li > .table > tbody > tr > td,
.draggable-sewn-planning-list > li > .table > tbody > tr > td {
    border: none;
}

.droppable-active {
    /*background:#fff3a5 !important;*/
    background: rgba(0, 0, 0, 1) !important;
    /*z-index: 10000;
    position:absolute;
    padding: 10px;
    */
    /*background:#fff3a5 !important;*/
}

.draggable-sewn-planning-list > li .droppable-info {
    color: white;
    font-size: 12px;
    padding: 3px;
}

.draggable-sewn-planning-list > li .droppable-info.bg-success {
    background: green;
}

.draggable-sewn-planning-list > li .droppable-info.bg-danger {
    background: red;
}

/* Center the loader */

#loader {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.2);
    display: none;
}

#loader .waitforload {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 100000;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

.loader-internal {
    margin: 0 auto;
    width: 150px;
    height: 150px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0;
        opacity: 1
    }
}

#myDiv {
    display: none;
    text-align: center;
}

/* end Center the loader */

.btn-violet {
    background: violet;
    border-color: violet;
}

.btn-violet:hover {
    background: violet;
    border-color: violet;
    opacity: 0.8;
}


.btn-dark-violet {
    background: darkviolet;
    border-color: darkviolet;
}

.btn-dark-violet:hover {
    background: darkviolet;
    border-color: darkviolet;
    opacity: 0.8;
}

.btn-grey {
    background: grey;
    border-color: grey;
}

.btn-grey:hover {
    background: grey;
    border-color: grey;
    opacity: 0.8;
}


.form-inline-header .control-label {
    margin-right: 5px;
    margin-left: 20px;
    display: inline;
}

.form-inline-header .form-group .choice-date-time-interval {
    margin: 0 0 0 20px;
    width: 140px;
}

.btn-xxs {
    font-size: 11px;
}

.table-report tr.thin-row > td,
.table-report tr.thin-row > th {
    padding: 2px;
    background-color: aliceblue;
}

.table-report tr.x-row > td,
.table-report tr.x-row > th {

    background-color: lavender;

}

.table-report td.narrow-col,
.table-report td.narrow-col {
    padding: auto 0;
    background-color: aliceblue;
}

#choose-report-type #form,
#choose-report-parameter-type #form {
    width: 100% !important;
}

.table--middle > tbody > tr > td.valigntop {
    vertical-align: top !important;
}

.print-correction-input-comment {
    padding: 5px;
    font-size: 12px;
    border-top: 1px solid violet;
    border-bottom: none;
    border-right: none;
    border-left: none;
}

.border-rl-efefef {
    border-left: 1px solid #efefef;
    border-right: 1px solid #efefef;
}


/* menu header via data attribute */

.data-title:before {
    content: attr(data-menutitle);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: #DDD;
    padding: 2px;

    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
}

.data-title :first-child {
    margin-top: 20px;
}

.table-schedule > tbody > tr > td:not(:first-child):hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.context-menu-input > label {
    margin-top: 0 !important;
    font-size: 11px;
}

.context-menu-input > label > input {
    padding: 3px 5px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.context-menu-input > label > select {
    padding: 3px 5px;
    font-size: 12px;
    border-radius: 3px;
}

.context-menu-input:hover {
    background: inherit !important;
}

.navbar > .navbar-body > .navbar-items > .nav-parent .nav-parent ul {
    padding-left: 20px;
    border-left-color: red;
}

.navbar > .navbar-body > .navbar-items > .nav-parent .nav-parent ul a.active:before {
    background-color: #8959A8;
}

.sewingbox-history td {
    padding: 6px 3px;
}

ul.list-inline-block {
    list-style-type: none;
}

ul.list-inline-block li {
    width: 200px;
}

.list-inline-block li:hover {
    color: darkred;
}

.list-inline-block li .checkbox label {
}

.list-inline-block li .checkbox input {
    margin-left: 0;
}

.list-printing-house-manager > li {
    padding: 5px 2px;
    background: #fff;
}

.list-printing-house-manager-search-type .bootstrap-select * {
    font-size: 12px !important;
}

#printing-house-table .list-printing-house-manager > li > div.row {
    margin-left: -5px;
    margin-right: -5px;
}

.ownbg-grey {
    background-color: rgba(140, 143, 155, 0.50);
}

.ownbg-green {
    background-color: rgba(60, 202, 124, 0.45);
}

.ownbg-blue {
    background-color: rgba(73, 170, 255, 0.45);
}

.ownbg-red {
    background-color: rgba(235, 94, 85, 0.45);
}

.ownbg-orange {
    background-color: rgba(255, 210, 117, 0.45);
}

.owntext-red {
    color: rgba(235, 94, 85, 1) !important;
}

#create-an-error .bootstrap-select > button,
#edit-an-error .bootstrap-select > button,
form[name='lh_bundle_product_option_error_search'] .bootstrap-select > button {
    border: inherit !important;
}

.table-production-error-history tr:hover {
    background: #efefef !important;
}

.checkbox.has-error + span.help-block {
    color: #ff0000;
    margin: -15px 0 0 0;
    position: relative;
}

.row.form-two-line-row .form-group {
    margin-top: 5px;
    margin-bottom: 5px;
}

form.modal-inline-form label {
    padding: 0 7px;
    font-size: 0.9em;
}

form.modal-inline-form label:after {
    content: ":";
}

form.modal-inline-form .form-group {
    vertical-align: top;
}

form.modal-inline-form .list-unstyled {
    padding-left: 5px;
}

.show-calendar-for-change-day-placeholder {
    position: absolute;
    font-size: 12px;
    padding: 10px;
    background: #ffff;
    z-index: 102;
    width: 300px;
    left: 85px;
    display: none;
    border: 2px solid #efefef;
}

.show-calendar-for-operation-placeholder {
    position: absolute;
    padding: 10px;
    background: #ffff;
    z-index: 102;
    width: 300px;
    display: none;
    border: 2px solid #efefef;
}

.show-calendar-for-operation-placeholder-left {
    left: 60px;
}

.show-calendar-for-operation-placeholder-right {
    right: 60px;
}

#users-salaries .row > div,
#sewing-indicators .row > div,
#departments-costs .row > div {
    padding: 10px;
}

#users-salaries .row:hover,
#sewing-indicators .row:hover
#departments-costs .row:hover {
    background-color: #efefef;
}

.w100 {
    width: 100px !important;
}

form[name$="_search"] .date_field {
    width: 100px !important;
}

form[name="lh_order"] > div > div:nth-child(6),
form[name="lh_order"] > div > div:nth-child(7),
form[name="lh_order"] > div > div:nth-child(8),
form[name="lh_order"] > div > div:nth-child(9),
form[name="lh_order"] > div > div:nth-child(10) {
    padding: 5px 10px 10px 10px;
}

form[name="lh_order"] > div > div:nth-child(6) {
    border: 1px solid #eaeaea;
}

form[name="lh_order"] > div > div:nth-child(7),
form[name="lh_order"] > div > div:nth-child(9) {
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

form[name="lh_order"] > div > div:nth-child(8),
form[name="lh_order"] > div > div:nth-child(10) {
    position: relative;
    margin-top: -20px;
    border-bottom: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

.form-two-line-row {
    width: 100%;
}

#sortable1, #sortable2 {
    border: 1px solid #eee;
    width: 100%;
    min-height: 20px;
    list-style-type: none;
    margin: 0;
    padding: 5px 0 0 0;
    margin-right: 10px;
}

#sortable1 li, #sortable2 li {
    margin: 0 5px 5px 5px;
    padding: 5px;
    font-size: 1.2em;
    width: 50%;
}

#sortable1 li {
    background-color: #efefef;
}

#sortable2 li {
    background-color: rgba(255, 253, 208, 0.8);
}

#order-replacement-choosing-form .popover {
    max-width: none !important;
}

.pl0pr0mb0 {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
}

.pl15pr0mb0 {
    padding-left: 15px;
    padding-right: 0;
    margin-bottom: 0;
}

.pl0pr0mb0mt10 {
    padding-left: 0;
    padding-right: 0;
    margin-top: 10px;
    margin-bottom: 0;
}

#courier-dynamic-area .radio {
    display: inline;
    margin-right: 15px;
}

.dropdown-menu .dropdown-header {
    color: crimson;
}

.approve-stock-shortages-dropdown,
.report-stock-shortages-dropdown {
    border: 1px solid #777;
    left: auto;
    background-color: #efefef;
    float: right !important;
}

.report-stcck-shortages-dropdown-scanner {
    top: 48px;
    right: 20px;
}

.report-stcck-shortages-dropdown-scanner-remote {
    right: 42px;
    4 top: 17px;
}

.allegro-create-an-offer > table label {
    font-weight: bold;
}

#allegro-category-path > span {
    color: #49aaff;
    font-weight: bold;
    cursor: pointer;
}

#picking-list-table-by-product .picking-list-current-status-date {
    display: none;
}

.section-body > .section-bar-sm {
    border-bottom: none;
    background: #efefef80;
}

.section-body > .section-bar-sm + table {
    margin-top: 10px;
}

.external-production-order-items > div {
    padding: 0 5px;
    margin-bottom: 10px;
}

.external-production-order-items > div > div {
    background: white;
    padding: 3px;
}

.external-production-order-items > div > div:hover {
    background: rgba(0, 150, 255, 0.1);
}

.external-production-order-items .mark-to-order {
    position: absolute;
    right: 12px;
}

.status-report-detail-items > tbody > tr:not(:last-child) > td {
    border-bottom: 1px solid #efefef;
}

.status-report-detail-items > tbody > tr > td {
    padding: 5px 0;
}

.nav-tabs-region {
    ul {
        list-style: none;
        padding: 0;
        margin: 0 20px;

        li {
            display: inline-flex;

            a {
                text-decoration: none;
                text-align: center;
                color: #444444;
                padding: 5px 10px;
                font-size: 12px;
                font-weight: bold;
                transition: all .3s ease-in-out;
                border-radius: 3px;
                border: 1px solid #999999;

                &:hover {
                    color: #333333;
                }
            }
        }
    }

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

    .nav-tab .active a {
        background-color: #dddddd;
        transition: all 0.3s ease-in-out;
    }

    .tab-pane {
        display: none;
    }

    .tab-pane.active {
        display: block;
    }

}

#sticky-placeholder {
    height: 92px;
    display: none;
}

#inventory-gtin-search, #flex-scanner-search {

    &.sticky {
        position: fixed;
        margin-left: -12px;
        z-index: 1000;
        left: 0;
        right: 0;
        top: 60px;
        height: 102px;
        border-bottom: 10px solid #ffffff;
    }

    background: #d5d5d5;
    border-radius: 5px;
    padding: 15px;
    height: 92px;

    label {
        font-size: 16px;
        margin-right: 10px;
        color: #555;
    }

    input[type="text"] {
        font-size: 3em;
        padding: 30px 15px;
    }

    button {
        font-size: 2em;
        padding-top: 12px;
        margin-left: 5px;
    }

}

.table.table-snapshot-availability-data {
    td {
        color: #3b82f6;
        font-size: 12px;
    }

    th {
        font-weight: bold;
        color: #222222;
    }

    > thead > tr:nth-child(1) > th:nth-child(1) button {
        position: absolute;
        left: 15px;
        top: -3px;
        right: 0;
    }

    > thead > tr:nth-child(2) > th {
        padding-top: 7px;
    }
}

.table.table-snapshot-availability {

    > thead > tr > th {
        font-weight: bold;
        color: #222222;
        border-left: 1px solid #e9ecf0;

        a {
            color: #222222;
        }
    }

    > thead > tr:nth-child(1) > th {

        vertical-align: top;
        text-wrap: nowrap;

        > div {
            position: relative;
            padding-right: 30px;

            > button {
                position: absolute;
                right: 0;
            }
        }
    }

    > thead > tr:nth-child(2) > th {
        padding-top: 7px;
        width: 120px;
        text-align: center;
        border-left: 1px solid #e9ecf0;
    }

    > tbody td {
        color: #3a3c47;
        text-wrap: nowrap;
        border-left: 1px solid #e9ecf0;
        font-size: 12px;
        text-align: center;
    }
}

#table-order-details td.order-item-details-quantities,
#table-order-details th.order-unbinded-item-changes {

    &.order-item-details-quantities {
        background-color: rgba(0, 0, 0, 0.05);
    }

    position: relative;

    > div.dropdown {
        position: absolute;
        top: 0;
        right: 0;

        > button {
            border: 0;
            background: none;
        }

        > .dropdown-menu {
            border-color: #cccccc;
            font-size: 12px;
            padding: 2px;
            min-width: 100px;
        }

        > .dropdown-menu > li > a {
            padding: 3px 10px;
        }
    }
}

#modal-swap-order-item {
    table td {
        border-bottom: 2px solid #efefef;
    }

    > .swap-arrow-down {

        margin-top: 10px;
        font-size: 20px;
        color: #444444;
    }

    > .swap-select-product {
        margin-top: 5px;
        padding: 15px 30px 20px 50px;
        border: 2px solid #efefef;
        border-radius: 5px;
        background: #f9f9f9;
    }

}

#modal-remove-order-item {
    table td {
        border-bottom: 2px solid #efefef;
    }
}

#table-product-options, #order-cart-items, #table-order-creation {
    th {
        padding-top: 8px;
        border-top: 2px solid #efefef;
        vertical-align: middle;
    }
}