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;
}

/** Подсветка ошибки в grid view */
.grid-view .has-error > .help-block {
    color: #a94442;
}

/* 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;
}

/* @TODO: нужно избавиться от !important; */
.overstock-error {
    background-color: #f5ff07 !important;
}

.sticker-error {
    background-color: #077fff14 !important;
}

.info-row {
    background-color: #077FFF3B !important;
}

.danger-row {
    background-color: #f8d7da !important;
}

.success-row {
    background-color: #d4edda !important;
}

.warning-row {
    background-color: #fff3cd !important;
}

.orange-row {
    background-color: #ffe477 !important;
}

.print-groups .card .card-header .card-toolbar {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.print-groups .draggable-zone {
    min-height: 50px;
}

.print-groups .card-body {
    padding: .5rem;
}

.print-groups .card-header {
    font-weight: bold;
    padding: 0.45rem;
}

.print-super-group .card-title {
    display: flex;
    justify-content: space-between;
}

.print-super-group-color {
    width: 100px;
}

ul.list-group.sku-list {

}

.list-group.sku-list li.list-group-item {
    padding: 0.25rem 0.55rem;
    font-size: 20px;
}

.list-group.sku-list li.list-group-item b {
    font-size: 22px;
}

.skip-count {
    background-color: #fff3cd;
}

.alert-li {
    background-color: #f8d7da;
}

.skip-count > b, .alert-li > b {
    font-size: 22px;
}

.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;
}

.supply-list .order-image, .log-details .order-image, .wb-warehouse-index .order-image, .wb-warehouse-card-list .order-image {
    height: 80px;
}

.stats-image.wb {
    /*    transform: rotate(90deg);*/
    height: 125px;
}

#console {
    background-color: black;
    color: white;
    font-family: monospace;
    padding: 10px;
    height: 300px;
    overflow-y: scroll;
    white-space: break-spaces;
}

.console-error {
    color: #dc3545;
}

.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;
}

.draggable-zone {
    min-height: 50px;
}

.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;
}

.kv-editable-form .help-block.kv-help-block {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.kv-editable-form .help-block.kv-help-block ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

#designs {
    display: none;
}

.nav-ozon {
    background-color: rgba(0, 91, 255, 1); /* основной фон */
}

.nav-ozon .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95); /* как в navbar-dark — полупрозрачный белый */
}

.nav-ozon .navbar-nav .nav-link:hover,
.nav-ozon .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 1); /* на ховере — чисто белый */
}

.nav-ozon .navbar-brand {
    color: rgba(255, 255, 255, 1);
}

.nav-ozon .navbar-brand:hover,
.nav-ozon .navbar-brand:focus {
    color: #fff;
}

.warehouse-color-10 {
    background-color: rgb(255, 119, 0);
    font-size: 30px;
}

.warehouse-color-30 {
    background-color: rgb(184, 218, 255);
    font-size: 30px;
}

/* Скрываем кнопку очистки (крестик) в группе инпута */
#dailyorderschartform-range_date-container .right-ind.kv-clear {
    display: none;
}

/* Скрываем кнопку Cancel внутри выпадающего календаря */
.daterangepicker .cancelBtn {
    display: none;
}
