@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    src: url(../fonts/Montserrat/Montserrat-Thin.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url(../fonts/Montserrat/Montserrat-ExtraLight.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/Montserrat/Montserrat-Light.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Montserrat/Montserrat-Regular.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/Montserrat/Montserrat-Medium.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url(../fonts/Montserrat/Montserrat-SemiBold.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url(../fonts/Montserrat/Montserrat-Bold.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url(../fonts/Montserrat/Montserrat-ExtraBold.ttf)
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url(../fonts/Montserrat/Montserrat-Black.ttf)
}

a {
    cursor: pointer
}

form i {
    cursor: pointer
}

.font-11 {
    font-size: 11px !important;
}

.errorlist li {
    color: red;
    list-style: none;
}

.form-page {
    margin-top: 45px;
    padding: 20px 10px 15px;
}

.form-page h2 {
    font-weight: 800;
}

.container-in-options .column .bottom-btn p {
    color: black;
}

.container-in-options .column a:hover {
    text-decoration: none;
}

.select2-container .select2-selection--single {
    height: 42px !important;
    padding: 0.3rem 0.5rem;
}

.select2-container--default .select2-selection--single {
    border-color: #ebedf2 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px !important;
}

.text-black {
    color: black !important;
}

.pointer {
    cursor: pointer;
}

.pointer:hover {
    color: #ffba00;
}

.page-item.active .page-link {
    background-color: #ffba00 !important;
    border-color: #ffba00 !important;
}

.page-link:hover {
    color: #ffba00 !important;
}

.select2-container--default .select2-selection--multiple {
    border-color: #ebedf2 !important;
    font-size: 14px !important;
    padding: 0.35rem 1rem !important;
    height: inherit !important;
}

.select2-container--default .select2-selection--multiple:focus, .select2-selection--multiple:active {
    border-color: #3e93ff !important;
    color: #495057 !important;
    background-color: #fff !important;
}

.text-decoration-none:hover {
    text-decoration: none;
}

.dynamic-form > .row > .delete-row {
    padding-left: 15px !important;
}

.modal {
    padding-right: 0 !important;
}

.modal-open {
    padding-right: 0 !important;
}

.delete-link > .delete-row {
    padding-right: 15px;
    padding-left: 15px;
    color: red;
}

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

.permission {
    align-items: center;
    background: #e9e9e9;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
    padding: 0.5rem;
}

.form-check-input {
    margin-left: 5px;
}

.order_column {
    background: #fff;
    border-radius: 7px;
    -webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, .1);
}

.order__item-dates .rows__item-cell--value {
    font-size: 11px;
}

.order_calculation__item-dates .rows__item-cell--value {
    font-size: 11px;
}

.iti {
    display: block;
    width: 100%;
}

.btn {
    background: #ffba00;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 40px;
}

.new-main-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-top: auto;
    margin-right: auto;
}

.row-collapse-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    cursor: pointer;
}

.new-main-rows {
    padding: 2px 0;
}

.new-main-rows__item {
    margin-bottom: 20px;
}

.row-collapse-btn i {
    transition: .3s ease-in-out;
}

.row-collapse-btn.active i {
    transform: rotate(180deg);
    transition: .3s ease-in-out;
}

.new-main-rows .new-main-rows__item {
    background: #fff;
    padding: 20px 15px 25px 15px;
    border-radius: 20px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.new-main-rows .new-main-rows__item .rows__item-head {
    display: flex;
    justify-content: space-between;
}

.new-main-rows .new-main-rows__item .rows__item-content {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
}

.rows__item-cell {
    margin-left: 30px;
    width: 100%;
}

.arrow-and-number .rows__item-cell {
    width: max-content;
}

.rows__item-cell:first-child {
    min-width: max-content;
    max-width: max-content;
}

.rows__item-content__cell { 
    width: 100%;
}

.name_and_number_doc {
    width: 100%;
}

.rows__item-cell--label,
.rows__item-cell--value,
.rows__item-content__cell--label,
.rows__item-content__cell--value {
    color: #A0A0A0;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.rows__item-cell--label,
.rows__item-content__cell--label {
    margin-bottom: 18px;
    margin-top: 4px;
}

.rows__item-cell--value,
.rows__item-content__cell--value {
    color: #000;
}

.rows__item-cell--value .size-10,
.rows__item-cell--value .size-12 {
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.rows__item-cell--image-data {
    display: flex;
}

.row-image {
    border: 1px solid #dee2e6;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%;
    padding: 2px;
}

.row-not-image{
    background: #E0E0E0;
    font-weight: 700;
    font-size: #000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.row-content {
    margin-left: 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row-content p {
    margin-bottom: 0;
    line-height: 16px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.row-content span {
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.row-content a {
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #000;
    text-decoration: none;
}

.category-tag {
    background: #c9c9c9;
    color: #fff;
    padding: 10px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: max-content;
}

.category-tag {
    height: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #FFF;
    font-weight: 600;
    margin-top: 6px;
    font-size: 11px;
    width: max-content;
}

.primary {
    background: #00ADEF !important;
}

.success {
    background: #00A551 !important;
}

.warning {
    background: #ffba00 !important;
}

.danger {
    background: #ED1C24 !important;
}

.size-12 {
    font-size: 12px !important;
}

.size-10 {
    font-size: 10px !important;
}

.rows__item-content__cell--value span {
    font-weight: 600;
}

.rows__item-tags {
    display: flex;
    margin-top: 38px;
}

.rows__item-tags--label {
    color: #A0A0A0;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    align-items: center;
}

.rows__item-tags--list .rows__item-tags--list-item {
    align-items: center;
    background: #e9e9e9;
    border-radius: 10px;
    display: flex;
    /*margin-right: 20px;*/
    padding: 8px 6px 8px 8px;
}

.rows__item-tags--list {
    margin-left: 25px;
}

.rows__item-tags--list .rows__item-tags--list-item span {
    color: #000;
    font-size: 11px;
}

.rows__item-tags--list-item i {
    color: #b5b4b4;
    cursor: pointer;
    font-size: 22px;
    margin-left: 12px;
    transform: rotate(45deg)
}

.rows__item-content__cell--client {
    display: flex;
}

.all-orders {
    padding: 30px 15px;
    background: #fff;
    border-bottom: 1px solid;
}

.row-actions {
    display: flex;
}

.row-actions--btn {
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffba00;
    padding: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
}

.row-actions--btn:last-child {
    margin-right: 0;
}

.row-actions--btn i {
    color: #fff;
    font-size: 19px;
}

.row-actions--btn.remove-btn {
    background: #fff;
}

.row-actions--btn.remove-btn i {
    color: #b5b4b4;
    font-size: 44px;
    transform: rotate(45deg);
}

.rows__item-wrapper .dates-row {
    margin-top: 30px;
}

.dates-row {
    display: flex;
    justify-content: flex-end;
}

.dates-row__item {
    background: #D9D9D9;
    border-radius: 5px;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 8px 14px;
    margin-right: 20px;
}

.dates-row__item:last-child {
    margin-right: 0;
}

.dates-row__item span {
    font-weight: 700;
}

.title-with-description {
    margin-top: 7px;
}

.title-with-description h4 {
    margin: 0;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.title-with-description p {
    margin: 0;
    font-size: 8px !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.simple-list {
    list-style: none;
    padding: 0;
}

.simple-list li {
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.simple-list li span {
    font-weight: 600;
}

.simple-list li a {
    color: #000;
}

.new-main__card {
    padding: 8px 8px 20px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    max-width: 250px;
    width: 100%;
    margin-right: 30px;
}

.new-main__card .row-actions--btn {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.new-main__card .row-actions--btn i {
    font-size: 14px;
}

.new-main__card .row-actions--btn.remove-btn {
    margin-right: 0;
}

.new-main__card .row-actions--btn.remove-btn i {
    font-size: 30px;
}

.new-main__card .rows__item-cell--image-data {
    margin-bottom: 12px;
}

.link {
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #000;
    display: block;
    text-decoration: none;
}

.link:hover {
    color: #000;
    text-decoration: none;
}

.new-main-card-wrapper {
    display: flex;
    width: 100%;
}

.head-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.head-row .new-main-title {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-position-block {
    display: flex;
    justify-content: flex-end;
}

.arrow-and-number {
    display: flex;
}

.mw-180 {
    max-width: 185px;
}
.mw-140 {
    max-width: 145px;
}
.mw-340 {
    max-width: 340px;
}

.file .row-image {
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file .row-image i {
    margin: 0;
    font-size: 30px;
}

.new-events-history {
    padding-top: 30px;
}

.new-events-history__block {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 22px 20px 30px 26px;
    display: flex;
    max-width: 48%;
    margin-bottom: 50px;
    margin-left: auto;
    position: relative;
}

.new-events-history__block:nth-child(2n) {
    margin-left: 0;
}

.new-events-history__block__employee {
    min-width: 215px;
    margin-right: 70px;
}

.new-events-history__block .history-line {
    width: 1px;
    background: #000;
    display: block;
    position: absolute;
    top: -10px;
    left: -4%;
    height: calc(100% + 35px);
}

.new-events-history__block .history-line::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: #ffba00;
    border-radius: 50%;
    position: absolute;
    top: -18px;
    left: -9.5px;
}

.new-events-history__block:nth-child(2n) .history-line {
    right: -4.5%;
    left: auto;
}

.new-events-history__block__info .new-value {
    margin-top: 14px;
}

.new-label {
    color: #A0A0A0;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.new-value {
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.ml-30p {
    margin-left: 30px !important;
}

.permission-settings .select2-container {
    width: 100% !important;
}

@media (max-width: 992px) { 
    .new-main-rows {
        overflow-x: scroll;
        padding: 5px;
    }
    .new-main-rows__item {
        width: 1340px;
    }
}

.fa-gem, 
.fa-flag,
.fa-inbox,
.fa-layer-group,
.fa-umbrella,
.fa-folder,
.fa-file-invoice-dollar,
.fa-calculator,
.fa-user,
.fa-cogs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fa-gem::before {
    content: '' !important;
    background-image: url('../img/clients-icon.svg');
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-flag::before {
    content: '' !important;
    background-image: url('../img/contractors-icon.svg');
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-inbox::before {
    content: '' !important;
    background-image: url('../img/calculation-icon.svg');
    width: 14px;
    height: 19px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-layer-group::before {
    content: '' !important;
    background-image: url('../img/orders-icon.svg');
    width: 14px;
    height: 19px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-umbrella::before {
    content: '' !important;
    background-image: url('../img/reorders-icon.svg');
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-folder::before {
    content: '' !important;
    background-image: url('../img/document-register-icon.svg');
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}


.fa-file-invoice-dollar::before {
    content: '' !important;
    background-image: url('../img/price-icon.svg');
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-calculator::before {
    content: '' !important;
    background-image: url('../img/cashier-icon.svg');
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-user::before {
    content: '' !important;
    background-image: url('../img/employees-icon.svg');
    width: 14px;
    height: 19px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.fa-cogs::before {
    content: '' !important;
    background-image: url('../img/settings-icon.svg');
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.select2 {
  width: 100%!important;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: inline-block;
    overflow: hidden;
    padding-left: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#noticesWrapp {
    margin-bottom: 1rem;
}

.new-main-rows__item {
    position: relative;
}

.body-part-ls-second-icons-after-column {
    margin-top: -4px;
    position: absolute;
    right: 0;
    margin-right: 1rem;
}

.notice-block {
    height: calc(100% + 30px);
}

.profile-btn:hover {
    color: #fff;
}

.add-position-btn {
    margin-left: 10px;
}

.nav-order-detail-right-icons {
    display: flex;
}

.nav-order-detail-right-icons a, 
.nav-order-detail-right-icons button {
    display: inline-block;
    width: 44px;
    height: max-content;
    margin-left: 10px;
    border-radius: 50%;
}

.nav-order-detail-right-icons button a {
    margin: 0;
}

.nav-order-detail-right-icons a i {
    margin-right: 0;
}

.container-in-contractor-list-two,
.container-in-clients-list-two {
    margin-top: 65px !important;
}

.mb-20px {
    margin-bottom: 20px !important;
}

@media (max-width: 992px) {
    #logoWrap {
        display: none !important;
    }
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month .numInputWrapper {
    font-size: 14px !important;
}

.flatpickr-calendar.animate.open {
    animation: none !important;
}


.flatpickr-calendar {
    box-shadow: 1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08) !important;
}

input[type=checkbox] {
    margin-right: 5px;
    transform: scale(1.5);
    accent-color: #ffba00;
}

#id_comment {
    resize: none;
}

.avatar-sm {
    margin-top: 4px;
}

input[type=file] {
    width: 100%;
    color: #000;
    padding: 3px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ebedf2;
    height: 42px !important;
    font-size: 12px;
}
  
input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: #ffba00;
    padding: 6px 14px;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    transition: background .2s ease-in-out;
    height: 34px !important;
}

input[type=file]::file-selector-button:hover {
    opacity: 0.5;
}

.pagination .page-item .page-link {
    max-width: 38px;
    max-height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
}

.pagination .page-item .page-link:hover {
    color: #fff !important;
    opacity: 0.5;
}