@media print {
    .pagebreak {
        clear: both;
        page-break-before: always;
    } /* page-break-after works, as well */
}
.btn {
    cursor: pointer;
}
.border-red{
    -webkit-box-shadow: 0px 0px 0px 4px rgba(255,0,0,1);
    box-shadow: 0px 0px 0px 4px rgb(255, 0, 0);
}

.remove_row{
    cursor: pointer;
}
.remove_row img{
    height: 25px;
}
.borderRed{
    border: 2px solid red !important;
}

.products_container > .row{
    margin-bottom: 10px;
}
.products_container .last_item{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
}


ul.select2-results__options{
    max-height: 400px !important;
}


.load_invoice_product.total_row{
    background-color: #ffffa6 !important;
    color: black;
    font-weight: bold;
    font-size: 16px;
}
.load_invoice_product.total_row a {
    color: #e20000 !important;
}
.load_invoice_product.packed{
    background-color: #67e367 !important;
}
.hidden_product.title{
    text-align: center;
}

.btn-show-pieces-tools{
    cursor: pointer;
    padding: 3px;
    color: #0056B3;
}

/* START styles for popup on load-invoice/update page */
/* START common styles for plus-popup */
.plus-popup{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
.plus-popup .modal-content{
    background-color: #FEFEFE;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 0px 20px 20px;
    border: 1px solid #888;
}
.plus-popup .modal-content .close{
    color: #AAA;
    float: right;
    font-size: 40px;
    font-weight: bold;
    align-self: flex-end;
    margin: -5px -15px 0 0;
}
.plus-popup .modal-content .close:hover,
.plus-popup .modal-content .close:focus{
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* END common styles for plus-popup */

.div-show-pieces-container .modal-content{
    width: 20%;
}
.div-show-pieces-container .modal-content .div-show-pieces-tools-rez .form-row{
    margin: 10px 0;
}
.div-show-pieces-container .modal-content .div-show-pieces-tools-rez .checkbox-row{
    display: flex;
    align-items: center;
    margin-top: 10px;
    color: #e20000;
    font-weight: bold;
}
.div-show-pieces-container .modal-content .div-show-pieces-tools-rez .checkbox-row label{
    margin: 0 0 0 10px;
}
.div-show-pieces-container .modal-content .div-show-pieces-tools-rez .last-row{
    flex-direction: column;
}
.div-show-pieces-container .modal-content .div-show-pieces-tools-rez .btn-add-new-pieces-part{
    margin-top: 15px;
    align-self: flex-end;
}
.div-show-pieces-container .modal-content .div-show-pieces-tools-rez .form-row .btn-del-pieces-part{
    font-size: 1.4rem;
    padding: 0;
    text-align: center;
    color: #e20000;
    cursor: pointer;
}
/* END styles for popup on load-invoice/update page */

.btn-show-product-placement{
    cursor: pointer;
    padding: 3px;
    color: firebrick;
    margin-left: 5px;
}
input.load_invoice_write_off{
    width: 80px;
    text-align: center;
}

.popup-total-block{
    font-size: 20px;
}
.popup-total-block label{
    margin-right: 5px;
}
.popup-total-block #popup-write-off-total{
    width: 80px;
    text-align: center;
    margin-bottom: 10px;
}


.load_invoice_sub_title{
    color: #e20000;
}

.is_packed{
    text-align: center;
    cursor: pointer;
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 30px;
    margin: 0px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .5s;
    transition: .5s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .5s;
    transition: .5s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(45px);
    -ms-transform: translateX(45px);
    transform: translateX(45px);
}

.order-check-error{
    display: none;
    color: #e20000;
    font-size: 20px;
}
.load_invoice_load_sequence{
    width: 110px;
}

#print_load_invoice{
    margin-left: 10px;
    padding: 0;
    width: inherit;
}
.print_load_invoice{
    margin: 0px;
}

.body-hide-for-print ul li, .body-hide-for-print tr td{
	font-size:20px;
}
.body-hide-for-print .hide-for-print{
    display: none !important
}

.btn-purple{
    color: #fff;
    background-color: #ba00ba;
    border-color: #ba00ba;
}
.btn-purple:hover {
    color: #fff;
    background-color: #920092;
    border-color: #920092;
}
.btn-gray{
    color: #fff;
    background-color: gray;
    border-color: gray;
}
.load-invoice-print .print_button{
    height: 100%;
    margin: 0 0 0 7px;
    line-height: inherit;
}

.modal-open-custom{
    cursor:pointer;
    color:blue;
    text-decoration: underline;
}
.font-22{
    font-size: 22px;
}
.font-20{
    font-size: 20px;
}
.font-18{
    font-size: 18px;
}
.font-16{
    font-size: 16px;
}

.load_invoice_filter_buttons{
    display: flex;
    align-items: flex-end;
}
.load_invoice_filter_buttons .line{
    margin: 0 5px;
}

.main_storage_element_buttons .btn{
    margin-right: 5px;
}

.printed_checkbox .value {
    font-weight: bold;
}

.fontMonospace{
    font-family: monospace;
}
.fontBold{
    font-weight: 700;
}

.load-invoice-print-by-main-storage-element .order-data .rest{
    font-size: 18px;
}

.printed_checkbox_container{
    padding-left: 30px;
    display: flex;
    justify-content: space-between;
}

.remove_ten_percent_fee_success{
    display: none;
    color: green;
    font-size: 18px;
    background: lightyellow;
}

/* START Hover ефект для усіх таблиць */
.table-striped tbody tr:hover{
    color: #212529;
    background-color: rgba(0, 0, 0, 0.2);
}
/* END Hover ефект для усіх таблиць */


.product-to-site-product-form .coeff_explanation .count{
    font-size: 16px;
    font-weight: bold;
}
.shipping_lines{
    font-weight: bold;
    text-decoration: underline;
}


.order-index > .row{
    justify-content: space-between;
}
.order-index > .row > .col{
    padding: 0;
    width: 15%;
    min-height: 63px;
    flex-basis: auto;
    flex-grow: inherit;
}
.order-index #status_update{
    margin-top: 15px;
}


.table select.form-control{
    padding: 0;
}

.load-invoice-update .price_input, .load-invoice-product-items .price_input{
    width: 70px;
    text-align: center;
}
.load-invoice-update .price_input{
    border: 2px solid;
    border-color: green;
}
.load-invoice-update .price_input1C{
    border: 1px solid;
    border-color: blue;
}
.load-invoice-update .product_site{
    font-weight: bold;
}
.load-invoice-update .product_unload{
    font-weight: bold;
}
.load-invoice-update .product_unload_new{
    font-weight: bold;
    font-family: 'Comic Sans MS';
}
.load-invoice-update .count_in_1c{
    width: 60px;
    text-align: center;
    border: 1px solid;
    border-color: blue;
}
.load-invoice-update .count_real{
    width: 60px;
    text-align: center;
    border: 2px solid;
    border-color: green;
}
.load-invoice-update .fa-edit, .load-invoice-product-items .fa-edit{
    margin-left: 5px;
    cursor: pointer;
}
.load-invoice-update .product_1c, .load-invoice-product-items .product_1c{
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    font-family: Comic Sans MS;
}
.load-invoice-update .product_1c.measurement_unit, .load-invoice-product-items .product_1c.measurement_unit{
    cursor: auto;
}
.load-invoice-update .product_1c .count, .load-invoice-product-items .product_1c .count{
    cursor: auto;
}
.load-invoice-update .site_product .count{
    cursor: pointer;
}
.load-invoice-update .site_product, .load-invoice-product-items .site_product{
    color: #dc3545;
    font-weight: 700;
}


.copied{
    visibility: hidden;
    margin-left: 10px;
    color: green;
}


.modal-storage{
    cursor: pointer;
}


.row .select2-container .select2-selection--single{
    height: calc(1.5em + 0.75rem + 5px);
}
.row .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: calc(1.5em + 0.75rem + 5px);
}


.order-update .products_container .row > div{
    padding: 0 2px;
}
.order-update .products_container .row select, .order-update .products_container .row input{
    padding: 0.375rem 0.25rem;
}
.order-update .remove_row{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: auto;
}
.order-update .remove_row img{
    cursor: pointer;
}
.order-update .sum_ordered{
    font-weight: bolder;
    font-size: 20px;
}


.table tr.active{
    background: #BEE5EB !important;
}


.incoming-invoice-create .select2, .incoming-invoice-update .select2{
    min-width: 290px;
    max-width: 290px;
}
.incoming-invoice-create .error-list, .incoming-invoice-update .error-list{
    margin-bottom: 10px;
}


.placement-in-storage-form .available_for_placement{
    font-size: 1.5rem;
}
.placement-in-storage-form .available_for_placement .value{
    font-weight: 600;
}