/* FONTS */

@font-face {
    font-family: FSElliotPro;
    src: url(../fonts/FSElliotPro.otf);
}

@font-face {
    font-family: FramS;
    src: url('../fonts/FramS_ua.otf')
}

#add-leftover-btn,
#edit-leftover-btn {
    margin-top: 20px;
    width: 100%;
    margin-left: 0;
}

.facade-table-inner-holder {
    overflow-x: auto;
    width: 100%; /* or set a fixed width if necessary */
}

/* Optional: You might want to set a min-width on the table itself to ensure it doesn't get too squished */
#facade-parts-table {
    min-width: 600px; /* Adjust this value to your needs */
}

#edit-position-btn {
    width: 100%;
    margin-left: 0;
}

.warehouse-supplyment-info {
    display: flex;
    flex-direction: row;
    justify-content: left;
}

.invalid-input {
    border: 2px solid darkred;
}

.sv-textarea {
    resize: none;
    background-color: rgb(255, 255, 255);
    box-shadow: 2.868px 4.096px 8px 2px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    line-height: 1.667;
    text-align: left;
}

.bold-text-column {
    font-size: 25px;
    font-weight: bolder;
}

textarea.code-style {
    font-family: 'Courier New', monospace;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 12px;
    background-color: #f5f5f5;
}

.warehouse-supplyment-info-block {
    max-width: 400px;
}

.ml-150 {
    margin-left: 150px;
}

span.change-text {
    font-size: 18px;
}

div.order-table-header-wrapper {
    justify-content: space-between;
    display: flex;
}

#add-part-counter-btn{
    margin-left: 10px;
    margin-top: 20px;
    width: 77%;
}

/*================*/
/*==== Global ====*/
/*================*/

#review-comment-textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
}

div.input-box.text-area-inputs {
    display: flex;
    flex-direction: column;
}

.review-comment-change-btn {
    width: 100%;
}

.info {
    font-size: 15px;
}

.form-group {
    margin-bottom: 0;
}

#images-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.cu-print-button-wrapper,
#preview-buttons-wrapper {
    margin-top: 20px;
}

.popup-image {
    width: 100%;
    height: auto;
}

h3.inner-title {
    font-size: 16px;
    font-weight: bold;
}

/* NEW PASHA ВЕРСТАЛЬЩИК */

.sv-btn {
    font-size: 15px;
    font-family: "FSElliotPro";
    box-shadow: 9.751px 13.926px 20px 0px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    height: 40px;
    border-width: 0;
    margin: 5px;
    padding: 1px 10px;
}

.sv-btn:disabled {
    background-color: #bcbcbc !important;
}

.submit-btn {
    margin-top: 20px !important;
    margin-left: 0 !important;
}

.light-blue-btn {
    color: white;
    background-color: rgb(116, 155, 205);
}

.dark-blue-btn {
    color: white;
    background-color: rgb(36, 59, 88);
}

.blue-btn {
    color: white;
    background-color: rgb(0, 116, 255);
}

.white-red-btn {
    color: rgb(227, 6, 19);
    background-color: white;
    border-width: 2px;
    border-color: rgb(227, 6, 19);
    border-style: solid;
}

.nav-tabs {
    margin-top: 40px;
    border: none !important;
}

.nav-item {
    font-size: 25px;
    font-family: "FSElliotPro";
    font-variant: small-caps;
    line-height: 1.667;
    text-align: left;
    margin: 0 20px;
    padding-bottom: 5px;
}

.nav-item:hover {
    color: rgb(36, 59, 88);
}

.nav-item.active-tab {
    font-weight: bolder;
    color: rgb(36, 59, 88);
    border-bottom: solid 3px rgb(36, 59, 88);

}

.profile-info-content,
.permissions-block-content {
    margin-top: 20px;
    padding: 10px;
}

.new-system-info-content,
.change-password-content,
.new-admin-info-content {
    margin-top: 20px;
    padding: 10px;
    width: 400px;
}

div#nav-tab.warehouse-sr-tabs-header a,
h3.subtitle,
h2.subtitle {
    font-size: 30px; !important;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bold;
    font-variant: small-caps;
    line-height: 1;
    text-align: left;
}

h3.subtitle {
    font-size: 20px !important;
}

p.active_info {
    font-size: 18px;
    font-family: "FSElliotPro";
    color: rgb(37, 37, 37);
    font-variant: small-caps;
    line-height: 1.667;
    text-align: left;
    margin-left: 20px;
}

p.progress_info {
    margin: 40px 0;
    font-size: 25px;
    font-family: "FSElliotPro";
    color: rgb(37, 37, 37);
    font-variant: small-caps;
    line-height: 1;
    text-align: left;
}

span.order-count {
    font-size: 28px;
    font-family: "FramS";
    color: rgb(132, 153, 178);
    font-variant: small-caps;
    line-height: 0.625;
    text-align: left;
    -moz-transform: matrix(0.75, 0, 0, 0.75, 0, 0);
    -webkit-transform: matrix(0.75, 0, 0, 0.75, 0, 0);
    -ms-transform: matrix(0.75, 0, 0, 0.75, 0, 0);
    margin: 0 15px;
    padding: 5px;
    border-radius: 5px;
    background-image: -moz-linear-gradient(0deg, rgb(250, 244, 240) 0%, rgb(235, 241, 252) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(250, 244, 240) 0%, rgb(235, 241, 252) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(250, 244, 240) 0%, rgb(235, 241, 252) 100%);
    box-shadow: inset 0px 0px 9.2px 0.8px rgba(36, 59, 88, 0.2);
    width: 45px;
    height: 45px;
}

.check-label,
span.info-title {
    font-size: 20px;
    font-weight: bolder;
    margin-right: 10px;
    font-family: "FSElliotPro";
    color: rgb(37, 37, 37);
    font-variant: small-caps;
    line-height: 1.667;
    text-align: left;
}

span.info {
    font-size: 18px;
    font-family: "FSElliotPro";
    color: rgb(37, 37, 37);
    font-variant: small-caps;
    line-height: 1.667;
    text-align: left;
}

#alert-message-wrapper {
    width: 75%;
    height: 50px;
    display: none;
    position: absolute;
    left: 300px;
    top: 10.5vh;
    z-index: 201599;
}

#alert-message-block {
    box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.1);
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.success-alert-block {
    background-color: rgba(58, 170, 53, 0.5);
}

.error-alert-block {
    background-color: rgba(227, 6, 19, 0.5);
}

.error-alert-block #checked {
    display: none;
}

.success-alert-block #cancel {
    display: none;
}


.alert-svg {
    width: 25px;
    height: auto;
    fill: white;
    margin-right: 10px;
}

.dependency-svg {
    cursor: pointer;
    width: 20px;
    height: 40px;
}

.disabled-dependency {
    fill: red;
}

.refresh-svg {
   cursor: pointer;
   width: 30px;
   height: 30px;
   fill: rgb(36, 59, 88);
}

.trprnt-btn:disabled .dependency-svg {
    cursor: not-allowed; !important;
    fill: #b7b2bc; !important;
}

button.cpu-material-refresh-btn:disabled svg.refresh-svg {
    cursor: not-allowed; !important;
    fill: #b7b2bc; !important;
}

.enabled-dependency {
    fill: green;
}

#alert-message {
    font-size: 20px;
    font-family: "FSElliotPro";
    color: rgb(255, 255, 255);
    font-variant: small-caps;
    text-align: center;
    line-height: 1;
    text-align: left;
    margin: 0;
}

p.sv-text,
label.sv-label {
    font-weight: 200;
    margin-top: 12px;
    font-size: 15px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-variant: small-caps;
    line-height: 1;
    text-align: left;
}

label.sv-check-label {
    font-size: 20px;
    color: black;
    margin-top: 0;
    margin-bottom: 9px;
    text-align: center;
}

label.sv-label.disabled-text {
    color: #8499b2;
}


select.sv-input,
input.sv-input {
    background-color: rgb(255, 255, 255);
    box-shadow: 2.868px 4.096px 8px 2px rgba(0, 0, 0, 0.15);
    height: 35px;
    font-size: 15px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    line-height: 1.667;
    text-align: left;
}

input.sv-input:hover,
input.sv-input:focus {
    border: solid 2px rgba(36, 59, 88, 0.502);;
}
select.sv-input::placeholder,
input.sv-input::placeholder {
    color: #8499b2;
}

div.selector-wrapper {
    display: flex;
    flex-direction: row;
}

.ml-20 {
    margin-left: 20px;
}


#brigade-filter,
#user-filter{
    width: 200px;
}

.filter-wrapper{
    margin: 20px 0;
}

p.scheme-popup-info {
    margin-left: 10px;
    font-size: 14px;
    font-family: "FSElliotPro";
}

/*SWITCHER*/

input.sv-checkbox[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

label.sv-switcher {
    margin-right: 10px;
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: rgba(132, 153, 178, 0.5);
    display: block;
    border-radius: 100px;
    position: relative;
}

.cutting-add-order-row {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
}

.cutting-add-order-row .sv-btn {
    margin-top: 0;
    margin-left: 10px;
}

label.sv-switcher:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}


input.sv-checkbox:checked + label {
    background: rgb(36, 59, 88);
}

input.sv-checkbox:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

label.sv-switcher:active:after {
    width: 30px;
}

.sv-checkbox-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hidden-element {
    display: none !important;
}

.sv-row-text {
    margin-left: 10px;
    font-size: 15px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-variant: small-caps;
    line-height: 2.5;
    text-align: left;
}

div.cpu-ci-row,
div.ds-ot-row,
div.ot-ci-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

div.cpu-ci-row {
   width: 300px;
}

button.cpu-material-btn {
    height: 35px; !important;
    margin-bottom: 0; !important;
}

input.cpu-material-input {
    width: 250px;
}

.cpu-leftover-print-btn svg {
    position: relative;
    top: -5px;
    width: 25px; !important;
    height: 25px; !important;
}

.project-unit-material-bar,
.project-unit-statistic-bar {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    font-size: 15px;
    font-family: "FSElliotPro";
    font-variant: small-caps;
    color: rgb(36, 59, 88);
    background-color: rgb(128, 128, 128);
    width: 100%; !important;
    height: 10px;
    border: solid 1px rgb(36, 59, 88);
}

.project-unit-material-bar {
    justify-content: space-between;
    height: 17px;
    margin-bottom: 2px; !important;
}

.project-unit-material-description {
    height: 13px;
    margin: 0;
    font-size:12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-bottom: solid 1px rgb(36, 59, 88);
    border-left: solid 1px rgb(36, 59, 88);
    border-right: solid 1px rgb(36, 59, 88);
}


.project-unit-statistic-description {
    font-size: 15px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-variant: small-caps;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.no-left-margin {
    margin-left: 0; !important;
}

.material-segment,
.progress-segment {
    border-right: solid .5px rgb(36, 59, 88);
    height: 100%;
}

.material-segment.selected-segment {
    border: 3px solid rgb(36, 59, 88);
}

.project-unit-map-types {
    font-size: 12px;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    font-family: "FSElliotPro";
    font-variant: small-caps;
    color: rgb(36, 59, 88);
    margin: 0; !important;
}

.project-unit-header-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.border-left {
    margin-left: 10px;
}

.material-segment {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bolder;
}

.segment-text {
    overflow: hidden;          /* Hide overflowed text */
    text-overflow: ellipsis;   /* Display '...' when text overflows */
    white-space: nowrap;       /* Prevent text from wrapping to the next line */
    max-width: 100%;           /* Ensure the text doesn't exceed the container's width */
}

.flex-row {
    display: flex; !important;
    flex-direction: row; !important;
    align-items: center; !important;
}

div.project-unit-color-example {
    width: 10px; !important;
    height: 10px; !important;
    border: solid 1px rgb(36, 59, 88);
    margin-right: 5px;
    margin-left: 10px;
}

div.cu-materials-scrollable-wrapper {
    margin-top: 10px;
    width: 100%;
    overflow-y: scroll;
    max-height: 250px;
    border-top: solid 1px #d2d3d2;
    border-bottom: solid 1px #d2d3d2;
    padding: 5px;
}

.cpu-material-btn-holder,
.cpu-leftovers-buttons-holder {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

div.ds-ot-row {
    font-size: 20px;
}

.ds-ot-option {
    font-size: 18px;
}

.ds-dependency-content {
    margin-top: 40px;
    width: 380px;
}

.trprnt-btn:hover,
.trprnt-btn:focus,
.trprnt-btn {
    outline: none;
    border: none;
    width: auto;
    height: auto;
    background: none;
}

.table-svg {
    fill: rgb(36, 59, 88);
    width: 30px;
    height: 30px;
}

.hidden-svg {
    fill: #b7b2bc;
}

.create-cut-project {
    color: rgb(0, 114, 255);
    font-weight: bolder;
    cursor: pointer;
}

.cutting-project-svg {
    width: 30px;
    height: 30px;
    fill: rgb(36, 59, 88);
}

.cutting-trash-svg {
    fill: red;
}

.sp-preview {
    width: 100px;
}

.sp-replacer {
    border: solid 1px #ecf8f5 !important;
    background-color: white !important;
    box-shadow: 2.868px 4.096px 8px 2px rgba(0, 0, 0, 0.15) !important;
    color: #8499b2 !important;
    margin-top: 5px !important;
    margin-bottom: 20px !important;
}

.cu-print-button-wrapper,
#preview-buttons-wrapper {
    float: right;
}

div.popup-button-holder {
    float: right;
}

.new-detail-wrapper{
    display: flex;
    flex-direction: row;
    width: 400px;
}
.new-detail-input-wrapper {
    width: 100%;
}
#new-brigade-btn,
#new-detail-btn {
    margin-top: 28px;
}

/*=====================================*/
/*===========  SETTINGS  ==============*/
/*=====================================*/

.setting-brigade-delete-btn,
.setting-brigade-status-btn,
.setting-brigade-name-btn,
.setting-part-texture-btn,
.setting-part-delete-btn,
.setting-part-status-btn,
.setting-furniture-btn,
.setting-part-name-btn {
    position: relative;
    top: -7px
}

div.global-group-wrapper h2 {
    margin-bottom: 40px;
}

#part-cromka-wrapper {
    display: flex;
    flex-direction: column;
}

#scheme-flat-object {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border: solid 1px rgb(36, 59, 88);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-family: "FSElliotPro";
}

.popup#part-management-popup {
    min-width: 600px;
}

.flat-scheme-box {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bolder;
}

#scheme-wrapper {
    margin-top: 30px;
}


#popup-visual-part {
    margin-left: 10px;
    padding-left: 10px;
    border-left: solid 1px #ecf8f5;
}

#part-cromka-wrapper,
#part-texture-wrapper {
    margin-top: 20px;
}

#part-facade-type-wrapper {
    margin-top: 20px;
}

div.helper-editor {
    display: flex;
    align-items: center;
}

.ck.ck-editor {
    width: 100% !important;
    max-width: 100%;
}

div.find-order-wrapper div {
    width: 500px;
}

/*=====================================*/
/*==========  PRICE MANAGER ===========*/
/*=====================================*/

div.base-price-group {
    width: 320px;
}

div.corner-base-price-group {
    width: 400px;
}

h4.constructor-low-header.sub-header {
    margin-top: 20px;
    font-size: 17px;
    margin-left: 0;
}

div.price-setting-wrapper {
    margin-left: 50px;
}

div.it-based-price-group {
    margin-bottom: 25px;
}

.scrolling-input-block {
    -moz-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
}

.constructor-order-type-size-block{
    display: flex;
    flex-direction: column;
    justify-content: start;
}

div.scrolling-input-block div.bp-block-inner {
    width: 350px;
    height: 400px;
    overflow-y: scroll;
}

div.scrolling-input-block div.bp-block-inner-corner {
    width: 450px;
    height: 400px;
    overflow-y: scroll;
}

.cls-1 {
    fill: #243b58;
}

div.hanging-price-wrapper {
    margin-left: 40px;
}

/*=====================================*/
/*============== POPUP ================*/
/*=====================================*/

.popup {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.75);
}

.error-message {
    font-size: 15px;
    color: brown;
    font-weight: bolder;
}

.success-message {
    font-size: 15px;
    color: green;
    font-weight: bolder;
}

/* Inner */
.popup-inner {
    /*max-width: 700px;*/
    width: auto;
    padding: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
    border-radius: 3px;
    background: #fff;
}

/* Close Button */
.popup-close {
    width: 30px;
    height: 30px;
    padding-top: 4px;
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 0px;
    transition: ease 0.25s all;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
    border-radius: 1000px;
    background: rgba(0, 0, 0, 0.8);
    font-family: Arial, Sans-Serif;
    font-size: 20px;
    text-align: center;
    line-height: 100%;
    color: #fff;
}

.popup-close:hover {
    -webkit-transform: translate(50%, -50%) rotate(180deg);
    transform: translate(50%, -50%) rotate(180deg);
    background: rgba(0, 0, 0, 1);
    text-decoration: none;
}

/*=====================================*/
/*============== LOADER ===============*/
/*=====================================*/

.loader-wrapper {
    display: none;
    z-index: 100000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.loader-background {
    display: flex;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ball {
    background-color: rgba(0, 0, 0, 0);
    border: 5px solid rgba(0, 0, 0, 0.9);
    opacity: .9;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-radius: 50px;
    box-shadow: 0 0 35px #000000;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    -moz-animation: spin .5s infinite linear;
    -webkit-animation: spin .5s infinite linear;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-moz-keyframes spinoff {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(-360deg);
    }
}

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

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spinoff {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}

/*=====================================*/
/*========== CONSTRUCTOR_PAGES ========*/
/*=====================================*/

/*FM*/
.fm-option-popup-image {
    padding: 5px;
    width: 260px;
    height: auto;
}

div.color-preview {
    width: 40px;
    height: 40px;
}

.door-type-image {
    margin-left: 5px;
    width: 150px;
}

button.dti-btn {
    width: 120px !important;
}

#multi-image-loader-wrapper {
    margin-left: 50px;
    display: none;
}

#multi-img-preview {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #bcbcbc;
    border-radius: 10px;
    padding: 5px;
}

.part_preview_wrapper {
    background-color: #bcbcbc;
    display: inline-block;
}

.multi-img-part {
    margin: 2px;
    width: 60px;
    height: 150px;
}

/*GS*/
div.global-sizes-wrapper {
    margin-top: 30px;
    margin-bottom: 60px;
}

div.cpu-material-change-wrapper,
div.spec-input-wrapper-price,
div.global-size-change-wrapper {
    margin: 10px;
    width: 500px !important;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

div.cpu-material-change-wrapper {
   justify-content: left;
}

.price-percentage-block {
    flex-direction: column !important;
}

.special-price-dependency-wrapper {
    margin-top: 20px;
}

div.global-group-wrapper .sv-btn {
    margin-left: 20px;
    margin-bottom: 0px;
}

div.global-group-wrapper {
    margin: 20px 0;
}

.global-size-change-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.global-size-input-wrapper {
    width: 400px;
}

.brigade-input,
.part-input {
    width: 300px !important;
}

.total_price {
    font-size: 20px !important;
    font-weight: bolder;
}

.brigade-item-row,
.part-item-row {
    display: flex;
    flex-direction: row;
    min-width: 1285px;
}

.change-spec-price-values-btn {
    margin-left: 20px !important;
}


.change-other-setting-value-btn,
.change-giblab-value-btn,
.change-price-input-btn,
.change-percentage-input-btn,
.detail-price-input-btn,
.change-global-value-btn {
    margin-left: 20px;
    margin-bottom: 0px;
    height: 35px;
    width: 160px;
}

.change-other-setting-value-btn {
    top: 28px;
}

/*MAIN*/

div.constructor-single-wrapper {
    padding: 5px 30px;
    background-color: rgb(255, 255, 255);
    box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.05);
    margin: 40px;
}

div.constructor-single-header-block {
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    border-bottom: solid 1px rgb(36, 59, 88) !important;
    padding: 5px;
    margin-bottom: 20px;
}

div.constructor-single-header-block .setting-svg {
    position: relative;
    top: 2px;
    width: 20px;
    height: auto;
    fill: rgb(36, 59, 88);
    margin-right: 10px;
    cursor: pointer;
}

.constructor-single-arrow-up {
    margin-right: 50px;
}

span.header-active-status {
    font-size: 12px;
}

div.constructor-header-name-part {
    position: relative;
}

div.constructor-single-setting-menu {
    background-color: rgb(255, 255, 255);
    box-shadow: 2.868px 4.096px 4.7px 0.3px rgba(0, 0, 0, 0.45);
    position: absolute;
    display: none;
    top: 0;
    left: 60px;
    z-index: 1000;
    width: auto;
    padding: 0 20px;
    padding-bottom: 10px;
}

div.constructor-single-setting-menu-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.single-menu-name-part {
    margin-bottom: 20px;
}

div.constructor-single-setting-menu-content .sv-label,
div.constructor-single-setting-menu-content .sv-input {
    width: auto;
    margin: 5px;
}

h3.constructor-single-header {
    margin: 0;
    font-size: 23px;
    font-weight: bolder;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-variant: small-caps;
    line-height: 1.2;
    text-align: left;
}

h4.constructor-low-header {
    font-size: 20px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-variant: small-caps;
    line-height: 1.5;
    text-align: left;
    margin: 5px;
}

.constructor-image-block {
    display: flex;
    flex-direction: column;
    width: 250px;
}

div.constructor-single-content-block {
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-bottom: 40px;
}

div.size-limit-wrapper {
    margin: 0 50px;
    display: flex;
    flex-direction: column;
    width: 450px;
}

div.size-limit-inner-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.order-type-image {
    margin-top: 30px;
    height: auto;
    width: 100%;
}

div.special-dependency-inputs-wrapper {
    margin: 0;
    margin-left: 5px;
    width: 550px;
}

.column-type-block {
    display: flex;
    flex-direction: column !important;
}

.special-dependency-wrapper{
    margin: 50px 50px;
}

.column-type-block div.special-dependency-inputs-wrapper {
    margin-bottom: 20px;
}

div.spec-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

div.spec-row button {
    margin-left: 10px;
    margin-bottom: 0px;
    height: 35px;
}

div.subs-wrapper {
    margin-left: 50px;
}

div.spec-input-wrapper {
    width: 450px;
}

div.constructor-single-wrapper.closed {
    padding-bottom: 0;
}

div.constructor-single-wrapper.closed div.constructor-single-header-block {
    border-bottom: none !important;
    margin-top: 0;
    margin-bottom: 0;
}

div.constructor-single-wrapper.closed div.constructor-single-content-block {
    display: none;
}

div.constructor-single-wrapper.closed div.constructor-single-header-block .constructor-header-button-part button {
    display: none;
}

div.constructor-single-wrapper.closed div.constructor-single-header-block img {
    transform: rotate(180deg);
}

div.constructor-single-header-block img {
    cursor: pointer;
}

div.form-group.sv-checkbox-wrapper {
    margin-top: 40px;
}

div#form-checkbox-container {
    margin-bottom: 20px;
}

.constructor-single-content-block.spb {
    justify-content: space-between !important;
}

.ot-dependency-block {
    width: 300px;
}

.ot-ci-row {
    width: 250px;
}

.price-input-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -40px;
    height: 0;
}

.table-svg-holder {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#option-image {
    width: 250px;
}

.init-table-block {
    width: 100%;
}

div.ci-offsets-wrapper {
    width: 100%;
}

div.constructor-single-content-block.spb div.offsets-wrapper {
    width: 100%;
}

div.offset-group {
    display: flex;
    flex-direction: row;
    justify-content: start;
    width: 100% !important;
}

div.offset-group .spec-row {
    width: 450px !important;
    margin-right: 50px;
}

div.offset-group .spec-row .sv-btn {
    height: 35px;
}

div#popup-form-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.popup-inner#init-option-popup {
    width: 900px;
}

div#ot-dependency-wrapper {
    margin: 0 40px;
}

.popup-inner#init-option-popup div#checkbox-wrapper {
    width: 300px;
    height: 270px;
    overflow-y: scroll;
}

.popup-inner#init-option-popup div#checkbox-container {
    -moz-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
}

div#facade-material-buttons-holder,
div#part-management-buttons-holder,
div#init-type-buttons-holder {
    margin-top: 40px;
    float: right;
}

div#image-loader-wrapper {
    margin-left: 50px;
}

#pis-btn {
    width: 250px !important;
}

div#option_inputs_wrapper {
    width: 400px;
}

#option-image {
    width: 260px;
    padding: 5px;
}

div.file-input-holder {
    width: 256px;
    margin-bottom: 10px;
}

div.file-input-holder .sv-btn {
    width: 100% !important;
}

/*================*/
/*==== LAYOUT ====*/
/*================*/

div.content-wrapper.cont {
    min-height: 89vh !important;
    background: linear-gradient(to right, #f0ebe8, #e7ebf5);
    height: 89vh;
    overflow-y: scroll;
}

div.content {
    background: none;
}

div.wrapper {
    height: 89vh;
    min-height: 89vh !important;
    overflow-y: hidden;
}

.skin-black-light aside.main-sidebar {
    background-color: rgb(255, 255, 255);
    border-right: none;
    margin-top: 10vh;
    padding: 0;
    z-index: 2000;
    box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.05);
    height: 78vh;
}

section.sidebar {
    background: none;
}

header.main-header {
    height: 11vh;
    background-color: rgb(255, 255, 255);
    border-bottom: none !important;
    box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: center;

}

h1.page-title {
    font-size: 35px;
    font-family: "FSElliotPro";
    color: rgb(132, 153, 178);
    font-variant: small-caps;
    line-height: 0.625;
    text-align: left;
    margin: 0 0 7px 0;
}

nav.navbar.navbar-static-top .navbar-custom-menu {
    float: left;
    margin-left: 20px;
}

nav.navbar.navbar-static-top {
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 230px;
}

nav.navbar.navbar-static-top a.sidebar-toggle {
    border-right: none !important;
}

nav.navbar.navbar-static-top a.sidebar-toggle:before {
    content: none;
}

.sidebar-mini.sidebar-collapse .main-header .navbar {
    margin-left: 50px;
}

.sidebar-mini.sidebar-collapse .main-sidebar {
    z-index: 2000;
}

.skin-black-light .main-header > .logo {
    box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.05);
    padding: 0;
    height: 100%;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2000;
}

span.header-logo {
    font-family: "FramS";
    color: rgb(132, 153, 178);
    font-variant: small-caps;
    line-height: 0.625;
    -moz-transform: matrix(1.4118195529649, 0, 0, 1.4118195529649, 0, 0);
    -webkit-transform: matrix(1.4118195529649, 0, 0, 1.4118195529649, 0, 0);
    -ms-transform: matrix(1.4118195529649, 0, 0, 1.4118195529649, 0, 0);
}

span.logo-lg {
    font-size: 35px;
}

span.logo-mini {
    font-size: 20px;
}

div.header-menu-button {
    width: 20px;
    height: 20px;
    background-image: url("../img/menu_button.png");
    background-size: 100% 100%;
}

.skin-black-light .sidebar a {
    color: rgb(36, 59, 88);
    font-family: "FSElliotPro";
}

.skin-black-light .user-panel {
    margin: auto;
}

.skin-black-light .user-panel > .info, .skin-black-light .user-panel > .info > a {
    color: rgb(36, 59, 88);
    font-size: 17px;
    font-family: "FSElliotPro";
}

.skin-black-light .sidebar-menu > li:hover > a, .skin-black-light .sidebar-menu > li.active > a {
    color: #ffffff;
    background: #243b58;
}

.skin-black-light .sidebar-menu .treeview-menu > li > a:hover {
    color: #ffffff;
    background: rgb(132, 153, 178)
}

.skin-black-light .sidebar-menu .treeview-menu > li > a {
    color: rgb(36, 59, 88);
    font-size: 14px;
    font-family: "FSElliotPro";
}

.skin-black-light .sidebar-menu .treeview-menu {
    padding: 10px 0;
    background: white !important;
}

/*================*/
/*==== ORDER =====*/
/*================*/

.order-tab-bar,
.order-header {
    background-color: rgb(255, 255, 255);
    box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.05);
    z-index: 51;
    padding: 5px 30px;
    margin: 10px 40px;
    display: flex;
    justify-content: space-between;
}

h3.order-main-header {
    font-size: 25px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bold;
    font-variant: small-caps;
    line-height: 1;
}

.order-print-svg {
    position: relative;
    top: -1px;
    width: 30px;
}

tr.minimal-text-row td {
    font-size: 10px !important;
}

#giblab_svg,
#print_svg {
    width: 30px;
    fill: rgb(36, 59, 88);
}

div.order-header-name-holder {
    display: flex;
    flex-direction: row;
}

.printer-button {
    margin-right: 20px;
}

div.order-header-button-holder {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

h3.order-status-header {
    margin-left: 20px;
    font-size: 22px;
    font-family: "FSElliotPro";
    color: rgb(148, 196, 254);
    font-weight: bolder;
    font-variant: small-caps;
    line-height: 1;
    text-align: left;
}

h4.order-type-header {
    font-size: 16px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bold;
    font-variant: small-caps;
    line-height: 1.5;
    text-align: left;
}

.nav-item.order-nav-tab.dark {
    color: rgb(36, 59, 88);
}

#sv-bot-input {
    width: 100%;
    height: 120px;
}

td.in-table-input-wrapper {
    display: flex; !important;
    flex-direction: row; !important;
    justify-content: space-around;
    align-items: center;
}

.sv-input.in-table-input {
    max-width: 100px;
    text-align: center; !important;
}

#comment-area {
    width: 400px;
    height: 150px;
    resize: none;
}



.supplyment-btn-wrapper {
    display: flex; !important;
    flex-direction: row; !important;
    justify-content: right; !important
    align-items: center;

}

#position-list-table-wrapper {
    padding-bottom: 30px;
}

.supplyment-btn-wrapper #edit_svg {
    width: 32px;
    height: 32px;
    fill: rgb(36, 59, 88);
    margin-right: 15px;
}

#cutting-project-header-wrapper,
#supplyment-header-wrapper {
    display: flex; !important;
    flex-direction: row; !important;
    justify-content: space-between;
    align-items: center;
}

.sv-bot-btn {
    background-color: rgb(70, 133, 86);
    color: white;
}



svg.robot-svg {
    position: relative;
    top: 3px;
    width: 20px;
    height: 20px;
    fill: white;
}

.supplyment-tab-wrapper {
    width: 100%;
    display: flex !important;
    flex-direction: row; !important;
    justify-content: space-between; !important;
}

.d1-project-form-wrapper {
    width: 100%;
    display: flex !important;
    flex-direction: row; !important;
    justify-content: space-around;
}

#supplyment-hint-wrapper {
    width: 600px;
    padding: 30px;
    color: rgb(36, 59, 88);
    font-family: "FSElliotPro";
    font-size: 15px;
}

.supplyment-form-section-wrapper {
    width: 400px;
    margin-left: 20px;
}


.nav-item.order-nav-tab {
    font-size: 25px;
    font-family: "FSElliotPro";
    color: rgb(148, 148, 148);
    font-weight: bold;
    font-variant: small-caps;
    line-height: 2;
    text-align: left;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.warehouse-supplyment-tabs-header {
    font-weight: bolder; !important;
    font-size: 15px; !important;
    margin-top: 5px; !important;
}

.warehouse-supplyment-tabs-header div {
    color: rgb(36, 59, 88); !important;
}



.nav-tabs.order-tabs-holder {
    padding-top: 10px;
    margin-top: 0;
}

nav {
    width: 100%;
}

.order-tab-bar {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    padding: 0;
}

.order-tabs-holder {
    display: flex;
    justify-content: space-around;
}

.hr-box {
    margin: 20px 0;
    background: linear-gradient(to right, #f1f3f6 0%, #b7c2d1 50%, #f1f3f6 100%);
    height: 1px;
    width: 350px;
}

.order-facade-wrapper,
.order-content-wrapper {
    margin: 10px 40px;
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.project-unit-wrapper,
.order-info-wrapper {
    margin: 10px 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 40px;
    box-shadow: 20px 28px 40px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.project-unit-wrapper {
    flex-direction: column;
}

.order-sub-block-header-box {
    border-bottom: 1px rgb(36, 59, 88) solid;
    margin-bottom: 20px;
}

.scheme-header {
    margin-top: 0;
    font-size: 18px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bolder;
    font-variant: small-caps;
    line-height: 1.5;
}

img.order-content-image {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
    max-height: 100% !important;
}

#order-carcass-scheme-print-button {
    margin-bottom: 20px;
    margin-left: 0;
}

.order-facade-block,
.order-content-block,
.order-info-block {

    margin-right: 100px;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.order-facade-block {
    margin-right: 0;
}

.order-facade-block.facade-table-block {
    min-width: 60%;
}

.facade-scheme-block,
.order-content-block {
    margin-right: 0;
    padding: 20px 40px;
}

.facade-scheme-block,
.order-scheme-block {
    margin-left: 10px;
}

.content-table-holder,
.facade-table-holder,
.facade-scheme-block,
.order-content-block {
    background-color: rgb(255, 255, 255);
    box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.05);
}

.content-table-holder,
.facade-table-holder {
    padding: 20px 40px;
}

.content-parts-table,
.facade-materials-parts-table-block {
    margin-bottom: 10px;
}

p.order-info-row {
    font-size: 15px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bolder;
    font-variant: small-caps;
    line-height: 1.5;
    text-align: left;
    display: flex;
}

.small-left-margin {
    margin-left: 10px;
}

p.order-info-row label.sv-switcher {
    background: rgb(126, 0, 0);
}

p.order-info-row input.sv-checkbox:checked + label {
    background: rgb(40, 88, 50);
}

#action-log-filter-container,
#ranking-inputs-container {
    max-width: 300px;
}

#materials-tooltip,
#password-tooltip{
    font-size: 12px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
}

#materials-tooltip {
   height: 0;
}

.red-text {
    color: darkred;
}

tr.final-result-row {
    border-top: 3px solid rgb(36, 59, 88);
}

#order-type-select-wrapper {
    max-width: 200px;
}


thead#ranking-table-head {
    position: sticky;
    top: 0px;
    height: 150px;
}

thead#ranking-table-head:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;/* adjust the height as needed */
    backdrop-filter: blur(5px);
    z-index: -1;
    border-bottom: 2px solid rgb(36, 59, 88);
}

tbody#ranking-table-body {
    overflow: auto;
    margin-bottom: 20px;
    /* set the height of the table body */
}

thead#ranking-table-head th {
    min-width: 70px;
}

tbody#ranking-table-body tr td {
    padding: 0 10px;
    white-space: nowrap;
}

span.ranked-header {
    line-height: 1;
    display: inline-block; /* Make the span a block-level element */
    transform: rotate(270deg); /* Rotate the text by 90 degrees counterclockwise */
}

tbody#ranking-table-body tr {
    border-bottom: 1px solid rgb(36, 59, 88);
}

span.red-text {
    font-weight: bolder;
    margin-right: 10px;
    color: darkred;
}

span.green-text {
    font-weight: bolder;
    color: green;
}

span.order-info-value {
    margin-left: 5px;
    font-size: 15px;
    font-weight: normal;
}

span.order-info-sub-value {
    margin-left: 5px;
    font-size: 13px;
    font-weight: normal;
}

.fixed-width-row {
    flex-direction: column;
    width: 350px;
}

.column-info {
    flex-direction: column;
}

div.input-box {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

h4.info-header {
    font-size: 24px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bold;
    font-variant: small-caps;
    line-height: 1;
    text-align: left;
    margin: 30px 0;
}

.order-info-image-holder {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0 40px;
}

.order-table-block {
    min-width: 750px;
}

.order-info-image {
    width: 40%;
    min-width: 250px;
    margin-right: 40px;
    height: auto;
}

/*================*/
/*==== LOGIN =====*/
/*================*/

select.sv-input#payment-info-selector.form-control {
    width: 200px; !important;
    height: 40px; !important;
    margin-top: 5px; !important;
}

.file-schema {
    max-width: 70px;
}

#login-wrapper {
    height: 89vh;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
}

#form-wrapper #form-body {
    padding: 20px;
    background-color: rgb(255, 255, 255);
    box-shadow: 2px 5px 40px 9px rgba(0, 0, 0, 0.24);
    width: 420px;
    height: 324px;
}

#confirm_email {
    width: 300px;
}

#form-wrapper #form-header {
    display: flex;
    align-content: center;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    height: 50px;
    background-color: #282828;
    padding: 20px;
}

#form-wrapper #form-header p {
    font-size: 20px;
    color: white;
    font-weight: bold;
}

#form-wrapper #form-body #remember {
    margin-left: 20px;
    margin-right: 10px;
}

#form-wrapper #form-body button {
    width: 150px;
}

p#popup-error-message,
p#error-message {
    color: brown;
    font-weight: bolder;
}

p#success-message {
    color: #4fa53d;
    font-weight: bolder;
}

#low-row {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#forgot-password-wrapper {
    font-weight: bolder;
    padding-right: 20px;
    color: #0d6aad;
}

#forgot-password-wrapper:hover {
    color: #142132;
    cursor: pointer;

}

#pass-change-btn-wrapper {
    margin-top: 20px;
    display: block;
    float: right;
}

/*================*/
/*==== TABLES =====*/
/*================*/

th {
    text-align: center;
    font-size: 18px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bold;
    font-variant: small-caps;
    line-height: 1.5;
}

td {
    font-size: 16px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-variant: small-caps;
    line-height: 1.5;
    text-align: center;
}

td p {
    margin: 0;
}

.part-item-schema {
    display: flex;
    justify-content: center;
}

.flat-scheme-box {
    border: 1px solid rgb(36, 59, 88);
    width: 30px;
    height: 30px;
    background-color: rgb(255, 255, 255);
    z-index: 6000;
}

.part-item-image {
    width: 75px;
    height: 75px;
}

.color-preview {
    margin: auto;
}

p.price-info {
    font-size: 12px;
    font-weight: 100;
}

tbody tr {
    background: none !important;
}

tr td {
    border-right: outset 1px rgba(132, 153, 178, 0.30);
}

tr:first-child td,
tr:last-child td {
    border-right: outset 1px rgba(132, 153, 178, 0.12);
}

tr:nth-last-child(3) td,
tr:nth-child(3) td {
    border-right: outset 1px rgba(132, 153, 178, 0.20);
}

tr:nth-last-child(2) td,
tr:nth-child(2) td {
    border-right: outset 1px rgba(132, 153, 178, 0.16);
}

tr td:last-child {
    border-right: none !important;
}

tbody tr.checked {
    background: rgba(36, 59, 88, 0.2) !important;
}

table.dataTable.no-footer {
    border-bottom: none;
    width: 100% !important;
}

.dataTable thead {
    border-bottom: solid 1px rgb(36, 59, 88);
}

tbody:before {
    content: "-";
    display: block;
    line-height: 20px;
    color: transparent;
}

#popup-cu-print-table tbody:before,
#cutting-unit-leftover-table tbody:before,
#cutting-unit-part-table tbody:before,
#sticker-popup-table tbody:before,
#group-module-popup-table tbody:before {
    content: none;
}

.preview_image {
    width: 53px;
    height: auto;
}

.preview_part_image {
    width: 40px;
    margin: 1px;
    height: 100px;
}

.dataTables_wrapper .dataTables_paginate {
    font-size: 13px;
    font-weight: bold;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88) !important;
}

.dataTables_wrapper .dataTables_paginate.disabled {
    color: rgb(132, 153, 178) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: none;
}

.dataTables_paginate.paging_simple_numbers {
    margin: 20px 50px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin-right: 4px;
    background: rgb(132, 153, 178);
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgb(36, 59, 88);
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover {
    border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    font-size: 20px;
    margin: 0;
    padding: 0;
    background: none;
    text-align: center;
    color: rgb(36, 59, 88) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    background: none;
    color: rgb(36, 59, 88) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: rgb(36, 59, 88);
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: rgb(36, 59, 88);
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate span.ellipsis {
    padding: 0 2px;
    position: relative;
    top: 9px;
    font-size: 25px;
}

.dataTables_length,
.dataTables_info {
    font-size: 16px;
    font-weight: bold;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88) !important;
}

.dataTables_info {
    margin: 20px;
}

.dataTables_length {
    margin: 0px 20px;
}

.dataTables_length label select {
    margin-left: 5px;
    background: white;
    padding: 2px;
    color: rgb(36, 59, 88);
    text-align: center;
    border-radius: 4px;
    border: none;
}

.dataTables_length label select:focus,
.dataTables_length label select:hover {
    border: none;
    outline: none;
}

.dataTables_wrapper {
    margin-top: 40px;
}

/*================*/
/*= GROUP MODULE =*/
/*================*/

.info-group-wrapper{
    height: 100vh;
}

.group-module-btn-holder {
    display: flex;
    flex-direction: row;
}

#cu-print-table-wrapper,
#warehouse-stats-table,
#supplyment-request-report-table-wrapper,
#warehouse-report-table-wrapper,
#supplyment-report-table-wrapper,
#order-page-table-wrapper,
#group-table-wrapper {
    min-width: 800px;
    overflow-y: auto;
    max-height: 70vh;
}

#supplyment-report-table {
    width: 100%; !important;
}

.single-line-no-breaks {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#warehouse-stats-table-wrapper table,
#order-page-table-wrapper,
#supplyment-request-report-table-wrapper table,
#supplyment-report-table-wrapper table,
#warehouse-report-table-wrapper table,
#group-table-wrapper table {
    width: 100%
}

img.table-logo {
    max-height: 30px;
}

.order-packages-number-block {
    max-width: 300px;
}

#supplyment-request-report-table tbody:before,
#supplyment-report-table tbody:before,
#warehouse-stats-table tbody:before,
#warehouse-report-table tbody:before {
    content: none;
}

.bottom-line-text {
    font-weight: bolder;
    text-decoration: underline;
}

#supplyment-request-report-table,
#supplyment-report-table,
#warehouse-report-table,
#warehouse-stats-table {
    border: 1px solid rgb(36, 59, 88);
}

#popup-cu-print-table tr td,
#popup-cu-print-table tr th,
#popup-cu-print-table tr,
#cutting-unit-leftover-table tr td,
#cutting-unit-leftover-table tr th,
#cutting-unit-leftover-table tr,
#cutting-unit-part-table tr td,
#cutting-unit-part-table tr th,
#cutting-unit-part-table tr,
#supplyment-request-report-table tr td,
#supplyment-request-report-table tr th,
#supplyment-report-table tr td,
#supplyment-report-table tr th,
#warehouse-stats-table tr td,
#warehouse-stats-table tr th,
#warehouse-report-table tr td,
#warehouse-report-table tr td,
#warehouse-report-table tr th,
#warehouse-report-table tr,
#group-module-popup-table tr td,
#group-module-popup-table tr th,
#group-module-popup-table tr,
#sticker-popup-table tr td,
#sticker-popup-table tr th,
#sticker-popup-table tr {
    border: 1px solid rgb(36, 59, 88);;
}

.order-table-head-info {
    border-bottom: 2px solid rgb(36, 59, 88) !important;
}

#popup-cu-print-table {
    width: 100%;
    border: 2px solid rgb(36, 59, 88);
}

#popup-cu-print-table thead {
    border-bottom: 2px solid rgb(36, 59, 88);
}

#popup-cu-print-table tr td,
#popup-cu-print-table tr th {
    padding: 5px; !important;
}

#popup-cu-print-table tr.solid-top-border {
    border-top: 3px solid rgb(36, 59, 88); !important;
}

#popup-cu-print-table tr.solid-bottom-border {
    border-bottom: 3px solid rgb(36, 59, 88); !important;
}

#cu-print-table-inner {
    min-width: 600px;
    max-height: 95vh;
}

.order-table-head-info td {
    font-weight: bolder;
    font-size: 20px;
}

.order-info-print-image {
    width: auto;
    margin: 10px;
    height: 400px;
}

#group-module-popup-table {
    width: 100%;
    margin: auto;
    border: 2px solid rgb(36, 59, 88);;
}

.sl-cell {
    border-left: 2px solid rgb(36, 59, 88) !important;
}

.st-cell {
    border-top: 2px solid rgb(36, 59, 88) !important;
}

.bolder-cell {
    font-weight: bolder !important;
}

#order-page-popup-title {
    margin-bottom: 10px;
}

#sticker-popup-table {
    width: 400px !important;
    height: 300px !important;
    margin: auto;
    border: 2px solid rgb(36, 59, 88);
}

#cutting-unit-part-table,
#cutting-unit-leftover-table {
    width: 400px !important;
    height: 100px !important;
    margin: auto;
    border: 2px solid rgb(36, 59, 88);
}

.statistic-block-holder {
    padding: 0 20px;
    margin: 10px 0;
    /*background-color: rgb(255, 255, 255);*/
    /*box-shadow: 19.502px 27.851px 40px 0px rgba(0, 0, 0, 0.05);*/
}

.statistic-sub-block-header-box {
    border-bottom: 1px rgb(36, 59, 88) solid;
    margin-bottom: 20px;
}

.statistic-header {
    margin-top: 0;
    font-size: 20px;
    font-family: "FSElliotPro";
    color: rgb(36, 59, 88);
    font-weight: bolder;
    font-variant: small-caps;
    line-height: 1.5;
}

.statistic-header.statistic-category-header {
    font-size: 18px;
}

.statistic-row {
    padding-left: 10px;
}

.statistic-bigger-row {
    font-size: 18px !important;
    font-weight: bolder !important;
}

.statistic-bigger-row .order-info-value {
    font-size: 18px !important;
    font-weight: bolder !important;
}

.order-status-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    flex-direction: row;
}

.order-status-holder.center-holder {
    justify-content: center !important;
}

.statistic-block {
    margin-right: 40px;
    min-width: 300px;
}

#order-type-bar {
    height: 400px;
    width: 100%;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

p.rate-row {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

p.rate-row a {
    color: rgb(36, 59, 88);
}

#customer-by-price-donat,
#customer-by-count-donat,
#customer-by-ordering-donat {
    min-width: 250px;
}

.attention-text,
#test-env-marker,
#calculator-status{
    text-align: center;
    font-weight: bolder;
    animation: changeColor ease;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    animation-fill-mode: both;
}

#editing-hours-box,
#discount-box {
    margin: 10px;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 400px;
}

#test-env-marker {
    margin-left: 10px;
}

#project-version {
    display: flex;
    flex-direction: row;
}

#brigade-table-description,
#group-table-description {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    max-height: 100px;
    overflow-y: auto;
    margin: 0 0;
}



@keyframes changeColor {
    0% {
        color: rgb(213, 0, 8);
    }

    50% {
        color: rgb(222, 187, 10);
    }

    100% {
        color: rgb(213, 0, 5);
    }
}

.popup-close {
    top:50px;
    right: 50px;
}

@media only screen and (max-width: 1549px) {
    .init-type-dependency .constructor-low-header,
    .ot-dependency-block .constructor-low-header{
        height: 70px;
    }

    div.constructor-single-content-block{
        flex-wrap: wrap;
    }

    div.subs-wrapper{
        margin-left: 0;
        margin-top: 50px;
    }

    .special-dependency-wrapper.door-type-spectial{
        margin: 50px 0;
    }

    div.price-setting-wrapper{
        margin-left: 0;
    }

}

#preview-order-scheme{
    max-height: 80vh;
}
#carcass-info-scheme,
#facade-info-scheme,
#order-content-image,
#order-facade-image{
    cursor: pointer;
}

part-texture-select{
    position: absolute;
    right: 30px;
    z-index: 10000;
}

.red-text{
    color: red;
}

.new-status{
    color: rgb(30, 90, 163) !important;
}

.ready-status{
    color: rgb(171, 63, 210) !important;
}

.progress-status{
    color: rgb(202, 138, 13) !important;
}

.complete-status{
    color: green !important;
}

.width-100-percent {
    width: 100%; !important;
}

.denied-status{
    color: darkred !important;
}

.archived-status{
    color: rgb(132, 132, 132) !important;
}

.first-row{
    margin-top: 20px; !important;
}

.min-width-350 {
    min-width: 350px;
}

.max-width-350 {
    max-width: 350px;
}

.align-left-content {
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: left; !important;
}

pre.info span.info {
    font-size: 15px;
}

pre.order-info-row.fixed-width-row {
    white-space: pre-wrap;
    font-size: 14px;
}

div.pu-settings-wrapper {
    display: flex !important;
    width: 450px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
}


.pu-settings-btn {
    height: 50%;
    position: relative;
    top: 25%;
}


/* Progress Bar Styling */
.progress-bar {
    display: flex;
    width: 100%;
    height: 25px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.progress-segment {
    height: 100%;
}

.cutting-unit-material,
.cutting-unit-leftover,
.cutting-unit-trash,
.cutting-new-material,
.cutting-reused-leftover,
.cutting-material,
.cutting-leftover,
.cutting-trash {
    position: relative;
}

.cutting-unit-material,
.cutting-unit-leftover {
    cursor: pointer;
}

.cutting-unit-material:hover {
    background-color: rgb(147, 132, 62);
}

.cutting-unit-leftover:hover {
    background-color: rgb(58, 100, 54);
}

.cutting-unit-material.cutting-unit-material-processed {
    background-color: rgb(196, 111, 111); !important;
    text-decoration: line-through;
    color: white;
}

.cutting-unit-material.cutting-unit-material-processed:hover {
    background-color: rgb(141, 72, 72); !important;
}

.cutting-unit-material.cutting-unit-material-divided:hover {
    background-color: rgb(140, 103, 34);
}

.cutting-unit-material.cutting-unit-material-divided {
    background-color: rgb(238, 176, 55);
}

.cutting-unit-material,
.cutting-material {
    background-color: rgb(229, 205, 90);
}

.cutting-unit-leftover,
.cutting-leftover {
    background-color: rgb(129, 204, 115);
}

.cutting-unit-trash,
.cutting-trash {
    background-color: rgb(128, 128, 128);
    border-left: none; !important;
}

.cutting-new-material {
    background-color: rgb(80, 140, 152);
}

.cutting-reused-leftover {
    background-color: rgb(196, 111, 111);
    border-left: none; !important;
}

.takes-min-60-percent {
    min-width: 60%; !important;
}

.space-around-forced {
    justify-content: space-around; !important;
}

.project-unit-canvas-holder {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.project-unit-cut-block {
    margin-top: 10px;
    margin-bottom: 10px;
}

.cutting-new-material::after,
.cutting-reused-leftover::after,
.cutting-material::after,
.cutting-leftover::after,
.cutting-trash::after {
    content: attr(class); /* We'll adjust this below */
    position: absolute;
    bottom: 100%; /* Position above the element */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 8px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1;
}

.material-segment::after {
    content: attr(elem-width);
    position: absolute;
    font-size: 15px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 8px;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1;
}

.material-segment:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Set Content Based on Class */
.cutting-material::after {
    content: 'Використано';
}

.cutting-leftover::after {
    content: 'Залишок';
}

.cutting-trash::after {
    content: 'Відхід';
}

.cutting-new-material::after {
    content: 'Новий матеріал';
}

.cutting-reused-leftover::after {
    content: 'Використаний залишок';
}

.cutting-reused-leftover:hover::after,
.cutting-new-material:hover::after,
.cutting-material:hover::after,
.cutting-leftover:hover::after,
.cutting-trash:hover::after {
    opacity: 1;
    visibility: visible;
}
