html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Century Gothic', sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    background-color: #f1f8ff;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header, content, footer {
    display: flex;
    justify-content: center;
    min-width: 1120px;
    position: relative;
}

content {
    flex-grow: 1;
}

content > .container {
    background-color: #fff;
    padding: 10px;
}

footer {
    background-color: #1a1a1a;
}

.spa-loader {
    height: 2px;
    width: 0;
    position: fixed;
    top:0;
    left:0;
    background-color: #0d95e8;
}
/*.spa-loader:after {*/
/*    content: "";*/
/*    width: 2px;*/
/*    height: 2px;*/
/*    background-color: #0d95e8;*/
/*    box-shadow: 0 0 4px 3px #0d95e8;*/
/*    position: absolute;*/
/*    display: block;*/
/*    top: 0;*/
/*    right: 0;*/
/*    border-radius: 5px;*/
/*}*/

.container {
    max-width: 1400px;
    min-width: 1120px;
    box-sizing: border-box;
    flex-grow: 1;
}

.clearFix {

}

.pagination {
    display: flex;
    width: 100%;
    justify-content: space-around
}
.pagination ul {
    list-style: none;
    display: flex;
    align-items: center;
    line-height: 22px;

}
.pagination ul .arrow-block {
    display: block;
    width: 30px;
    height: 30px;
    background-color: #0089ce;
    cursor: pointer;
}
.pagination ul .arrow-block.disabled {
    cursor: default;
    background-color:  #0089ce75;
}
.pagination ul .arrow-block svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
.pagination ul .arrow-block.prev-page.disabled {
    margin-right: 10px;
}
.pagination ul .arrow-block.next-page.disabled {
    margin-left: 10px;
}
.pagination ul .arrow-block.prev-page svg {
    transform: rotate(-90deg);
}
.pagination ul .arrow-block.next-page svg {
    transform: rotate(90deg);
}
.pagination ul li a {
    min-width: 24px;
    height: 24px;
    font-size: 16px;
    /* border: 1px solid #000000; */
    text-decoration: none;
    color: #000000;
    display: block;
    text-align: center;
    box-sizing: border-box;
    padding: 0 3px;
}
.pagination ul li.active {
    text-align: center;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #000000;
    box-sizing: border-box;
}
.pagination ul li.three-dots {
    width: 24px;
    height: 24px;
    text-align: center;
    box-sizing: border-box;
}


.preloader-horizontal {
    display: inline-block;
    width: 120px;
    height: 20px;
    position: relative;
    background-image: url("/static/images/preloader-horizontal.gif");
    background-repeat: no-repeat;
    background-size: contain;
}
.preloader-circle {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    background-image: url("/static/images/preloader-circle.gif");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.edit-icon {
    background-image: url("/static/images/edit.png");
    background-size: contain;
    cursor: pointer;
    display: inline-block;
    height: 12px;
    position: relative;
    width: 12px;
}



.custom-checkbox {
    position: relative;

}
.custom-checkbox:before {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    top:0;
    left: 0;
    background-color: #FFFFFF;
    border: 1px solid #0089ce;
    border-radius: 3px;
    cursor:pointer;
    /*transition-duration: 0.3s;*/
}

.custom-checkbox[disabled]:before {
    background-image: url("/static/icons/lock.svg");
    background-size: contain;
    border: none;
    cursor: default;
}

.custom-checkbox:checked:before {
    background-color: #0089ce;
    /*background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"    xmlns:xlink="http://www.w3.org/1999/xlink"    width="9px" height="9px">    <image  x="0px" y="0px" width="9px" height="9px"  xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAQAAABKmM6bAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfpAQ4TBA/Kk3vVAAAAP0lEQVQI13WOwQ0AIAgDuxxMxUaMxhDng4gPNf001wYqEkMjI4VTA43CxYFG4ahTp4gGG4kAov2ndd16fLx2LcwSZ9PRfkYJAAAAAElFTkSuQmCC" />    </svg>');*/
    fill: #ffffff;
    background-repeat: no-repeat;
    background-position: 3px 3px;
}
.custom-checkbox:checked:after {
    position: absolute;
    content: "";
    width: 7px;
    height: 3px;
    top: 5px;
    left: 4px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.menu-vertical-dots {
    /*width: 15px;*/
    width: 30px;
    /*height: 46px;*/
    display: flex;
    align-items: center;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
    justify-content: center;
}

.menu-vertical-dots  svg {
    width: 5px;
    height: 25px;
}
.menu-vertical-dots.white  svg {
    fill: #FFFFFF;
}

.menu-vertical-dots.gray  svg {
    fill: #9d9d9c;
}

.menu-vertical-dots:hover  svg,
.menu-vertical-dots.active  svg {
    fill: #000000;
}

.menu-vertical-dots ul {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    border: 1px solid #0089ce;
    right: 10px;
    top: 30px;
    list-style: none;
    padding: 5px;
    border-radius: 3px;

    width: max-content;
}
.menu-vertical-dots.active > ul {
    display: inline-block;
    z-index: 1;
}
.menu-vertical-dots ul li {
    margin: 0;
    position: relative;
}
.menu-vertical-dots ul li a {
    display: block;
    font-size: 13px;
    color: #0089ce !important;
    transition-duration: 0.2s;
    padding: 5px 5px;
    border-radius: 3px;
    text-decoration: none;
}
.menu-vertical-dots ul li:hover > a {
/*.menu-vertical-dots ul li a:hover {*/
    display: block;
    font-size: 13px;
    color: #fff !important;
    background-color: #0089ce;
    cursor: pointer;
}

.menu-vertical-dots ul li ul {
    display: none;
}
.menu-vertical-dots ul li:hover ul {
    display: block;
    top: 27px;
    right: 40%;
}

.product-availability-item {
    display: grid;
    width: 100%;
    line-height: 24px;
    grid-template-columns: 130px 84px;
    gap: 2px;
    margin-bottom: 3px;
    font-size: 13px;
}
.product-availability-item .product-availability-origin {
    position: relative;
    background-color: #0089ce;
    text-align: left;
    color: #fff;
    padding-left: 25px;
    border-radius: 3px;
    line-height: 26px;
}
.product-availability-item .product-availability-origin::before {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    left: 6px;
    top: 6px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.product-availability-item .product-availability-origin.icon-warehouse::before {
    background-image: url("/static/icons/cart/origin.svg");
}
.product-availability-item .product-availability-origin.icon-waiting::before {
    background-image: url("/static/icons/cart/time.svg");
}

.product-availability-count {
    background-color: #f1f8ff;
    color: #0089ce;
    text-align: center;
    font-weight: bold;
    border: 1px solid #0089ce;
    border-radius: 3px;
}


.product-availability-unknown {
    width: 100%;
    text-align: center;
    font-size: 13px;
    display: grid;
    grid-template-columns: 222px;
    margin-right: 3px;
}
.product-availability-unknown > div {
    background-color: #f1f8ff;
}


.dropdown-list {
    position: relative;
    color: #FFFFFF;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid #0089ce;
    background-color: #0089ce;
    cursor: pointer;
    user-select: none;
    margin: 0 0 0 5px;
    height: 30px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 3px;
    line-height: 25px;
    display: flex;
    align-items: center;
}
.dropdown-list.disabled {
    border: 1px solid #a3c6cd;
    background-color: #a3c6cd;
    cursor: default;
}
.dropdown-list svg {
    width: 10px;
    height: 10px;
    fill: #FFFFFF;
    margin-left: 3px;
}

.dropdown-list .items {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    border: 1px solid #0089ce;
    left: 0;
    top: 30px;
    list-style: none;
    padding: 5px;
    border-radius: 3px;
    flex-direction: column;
    z-index: 5;
}

.dropdown-list .items a {
    display: block;
    font-size: 13px;
    color: #0089ce;
    transition-duration: 0.2s;
    padding: 5px 5px;
    border-radius: 3px;
    text-decoration: none;
}
.dropdown-list .items a:not(.selected):hover {
    color: #fff;
    background-color: #0089ce;
}
.dropdown-list .items a.selected {
    cursor: default;
    display: none;
}

.dropdown-list.active .items {
    display: flex;
}

.page-worksheet-title {
    font-size: 30px;
    font-weight: bold;
    margin: 32px 0;
}

.screen-center {
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.document-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.document-curtain > .popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px 40px;
    max-width: 1255px;
    max-height: 80vh;
    overflow: auto;
}

/* CheckBOx-switch */
/*.new-checkbox-row-container {*/
/*    display: block;*/
/*    height: 25px;*/
/*    margin: 3px;*/
/*    position: relative;*/
/*}*/

.checkbox-switch {
    vertical-align: top;
    margin: 0 3px 0 0;
    width: 17px;
    height: 17px;
}

.checkbox-switch + label {
    cursor: pointer;
}

.checkbox-switch:not(checked) {
    position: absolute;
    opacity: 0;
}

.checkbox-switch:not(checked) + label {
    position: relative;
    padding: 0 0 0 60px;
}

.checkbox-switch:not(checked) + label:before {
    /*background: #da8080 none repeat scroll 0 0;*/
    background: #878787 none repeat scroll 0 0;
    border-radius: 13px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.63) inset;
    content: "";
    height: 26px;
    left: 0;
    position: absolute;
    top: -4px;
    width: 50px;
}

.checkbox-switch:not(checked) + label:after {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.47);
    content: "";
    height: 22px;
    left: 2px;
    position: absolute;
    top: -2px;
    transition: all 0.2s ease 0s;
    width: 22px;
}

.checkbox-switch:checked + label:before {
    background: #9FD468;
}
.checkbox-switch + label:before {
    transition-duration: 0.3s;
}

.checkbox-switch:checked + label:after {
    left: 26px;
}


