main > .container {
    padding: 100px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    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-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}



.file-input-background {
    cursor: pointer;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
    border: 5px dashed #313139;
    margin-bottom: 25px;
    padding: 40px 0;
}

.file-input-background img {
    width: 156px;
}

.warehouse-index .file-input-background img
{
    width: 90px;
}

.file-input-background .hidden-xs span:first-child,.file-input-background .hidden-xs span:first-child {
    margin-bottom: 4px;
}
.file-input-background .hidden-xs span {
    display: block;
}

.file-input-background .hidden-xs span:nth-child(2) {
    color: #868686;
}
.file-input-background .hidden-xs span {
    display: block;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    color: red;
}

.pe-none
{
    pointer-events: none;
}

.wait-box
{
    position: relative;
}

.wait-box .file-input
{
    position: relative;
    z-index: 2;
}

.loader.active
{
    z-index: 3;
    display: block;
}

.loader
{
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
    background-color: #fff;
}

.lds-spinner {
    display: inline-block;
    position: relative;
    width: 160px;
    height: 160px;
}
.lds-spinner div {
    transform-origin: 80px 80px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 6px;
    left: 74px;
    width: 12px;
    height: 36px;
    border-radius: 20%;
    background-color: #a18cd1;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


.overstock-index .stats-image,.wb-warehouse-index .stats-image
{
    height:50px;
}

.overstock-error {
    background-color: #f5ff07;
}

.sticker-error {
    background-color: #50dd04ed;
}


.danger-row {
    background-color: #f8d7da !important;
}

.warning-row {
    background-color: #fff3cd!important;
}

.success-row {
    background-color: #d4edda !important;
}

.check-box-select, .check-box-select > th, .check-box-select > td {
    background-color: #d1ecf1;
}

.overstock-count
{
    font-size: 24px;
}

.weeks-reports main .container,
.card-list main .container,
.nomenclature-drag main .container ,
.nomenclature-drag-sorted main .container,
.nomenclature-images main .container,
.interest-list main .container,
.interest-list-current-empty main .container
{
    max-width: 100%;
    overflow: hidden;
}


.weeks-reports .table th, .weeks-reports .table td {
    padding: 0.15rem;
}

.weeks-line
{
    white-space: nowrap;
}

.weeks-reports .sum-row {
    color: #155724;
    background-color: #d4edda !important;
    border-color: #c3e6cb;
 /*   position: fixed;*/
}

.weeks-reports .weeks-cell {
    color: #0c5460;
    background-color: #d1ecf1 !important;
    border-color: #bee5eb;
   /* position: fixed;*/
}

.weeks-reports .sum-cell {
    color: #856404;
    background-color: #fff3cd !important;
    white-space: nowrap;
   /* border-right: 3px solid black;
    border-color: black !important;
    border-left: none;*/
}


.weeks-reports .left-border {
    border-left: 3px solid black !important;
    border-right: none;
}

.weeks-reports .right-border {
    border-right: 3px solid black !important;
    border-left: none;
}

.weeks-reports .changed-cell {
    color: #721c24;
    background-color: #f8d7da !important;
    border-color: #f5c6cb;
}

.weeks-reports .mistakes-cell {
    color: #721c24;
    background-color: #f8d7da !important;
    border-color: #f5c6cb;
}

.weeks-reports .buyout-cell {
    color: #856404  !important;
    background-color: #fff3cd !important;
    border-left: none;
}

#fixed-headers {
    border-collapse: collapse;
    height: 63vh;
    display: block;
    overflow: auto;
}
/*#fixed-headers td {
    border: 1px solid #eee  !important;
}*/

#fixed-headers thead .shop-cell-head
{
    border-left: 3px solid black;
    border-color: black !important;
    border-right: none;
    padding-right: 1em;
    padding-left: 1em;
}


#fixed-headers thead .sum-cell-head
{
    border-right: 3px solid black;
    border-color: black !important;
    color: #856404  !important;
    background-color: #fff3cd !important;
    border-left: none;
}

#fixed-headers thead {
    transform: translateZ(0);
}
#fixed-headers thead .js-fixed {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
    text-align: center;
}
#fixed-headers tbody .js-fixed {
    text-align: right;
    background: #999;
    transform: translateZ(0);
}

/*html.weeks-reports {
    overflow-y: hidden;
}*/

.shop-name-small
{
    font-size:14px;
}

.editable-link:hover, .editable:focus {
    color: #2a6496;
}
.editable-value {
    margin-right: 5px;
}
.editable-link {
    color: #428bca;
    background: none;
    border: none;
    margin: 0;
    padding: 2px 1px;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px dashed;
}

.readonly-edit {
    pointer-events: none;
    cursor: default;
}

.editable-btn-close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.weeks-reports-edit-form
{
    min-width:150px;
}

.card .card-header .card-toolbar {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.price-groups .draggable-zone
{
    min-height:50px;
}
.price-groups .card-header {
    font-weight:bold;
    padding: 0.45rem;
}

.wb-keys-form
{

}

.error-text
{
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.print-process .wait-box
{
    min-height: 200px;
}

.print-process .loader.active > div:nth-child(2) {
    font-weight:bold;
    font-size:22px;
}

.print-process .cloud-mail.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 6px;
    left: 74px;
    width: 12px;
    height: 36px;
    border-radius: 20%;
    background-color: #11a878;
}

.date-search-grid .kv-drp-dropdown .kv-clear
{
    top: -5px;
    right: -3px;
}

.supply-list .order-image, .log-details .order-image, .wb-warehouse-card-list .order-image
{
    height:80px;
}

.wb-selection-list-groups .card .card-header .card-toolbar {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.wb-selection-list-groups .draggable-zone
{
    min-height:50px;
}
.wb-selection-list-groups .card-body {
    padding: .5rem;
}

.wb-selection-list-groups .card-header {
    font-weight:bold;
    padding: 0.45rem;
}


/*
.manual-nomenclature .field-wbmanualnomenclatureform-image .invalid-feedback
{
    display: block;
}*/


@media (min-width:992px) {
    .vertical-nav {
        position: fixed;
        top: 56px;
        left: 0;
        width: 200px;
        height: 100%;
        background-color: #f8f8f8;
        overflow-y: auto;
        padding-top: 30px
    }
}

.stats-image.wb {
/*    transform: rotate(90deg);*/
    height: 125px;
}

.bg-white
{
    background-color: white;
}

#select_warehouse .table
{
    margin-bottom: 0;
}


.nomenclature-move.card-body{
    padding: 3px;
}


.grow-wrap {
    /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
    display: grid;
}
.grow-wrap::after {
    /* Note the weird space! Needed to preventy jumpy behavior */
    content: attr(data-replicated-value) " ";

    /* This is how textarea text behaves */
    white-space: pre-wrap;

    /* Hidden from view, clicks, and screen readers */
    visibility: hidden;
}
.grow-wrap > textarea {
    /* You could leave this, but after a user resizes, then it ruins the auto sizing */
    resize: none;

    /* Firefox shows scrollbar on growth, you can hide like this. */
    overflow: hidden;
}
.grow-wrap > textarea,
.grow-wrap::after {
    /* Identical styling required!! */
    border: 1px solid black;
    padding: 0.5rem;
    font: inherit;

    /* Place on top of each other */
    grid-area: 1 / 1 / 2 / 2;
}

.boolean-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 2px solid;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    position: relative;
}

.boolean-field:checked {
    background-color: #2196F3;
    border-color: #2196F3;
}

.boolean-field-red:checked {
    background-color: #F44336;
    border-color: #F44336;
}

.boolean-field-green:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.boolean-field-red:checked::before,
.boolean-field-red:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 4px;
    background-color: #fff;
}

.boolean-field-red:checked::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.boolean-field-red:checked::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.boolean-field-green:checked::before {
    content: '';
    position: absolute;
    top: 58%;
    left: 33%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 40%;
    height: 20%;
    border-bottom: 4px solid #fff;
    border-right: 4px solid #fff;
}

.boolean-field-green:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 60%;
    height: 20%;
    border-bottom: 4px solid #fff;
}

.print-groups .draggable-zone
{
    min-height:50px;
}
.print-groups .card-body {
    padding: .5rem;
}
