.centered {
    text-align: center;
}

.invoice_items_table .table {
    font-size: 0.8em;
}

.invoice-template {
    font-size: 13px;
    padding-top: 7em;
    margin-left: 30px;
    margin-bottom: 8em;
}

.invoice-template .table-responsive .table {
    font-size: 13px;
}

.invoice-template .signature-part {
    text-align: center;
}

.invoice-template .row,
.invoice .row {
    max-width: 1100px !important;
}

.row {
    max-width: 1010px;
}

label {
    font-weight: 700;
    color: #3c5467;
    font-family: 'Lato', sans-serif;
}

.ng-placeholder,
mat-form-field.mat-form-field.mat-form-field-appearance-legacy .mat-form-field-label,
ng-select.ng-select .ng-select-container .ng-value-container .ng-placeholder,
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value {
    color: #6b7d8c;
    font-size: 13px;
}

.mat-form-field-appearance-legacy .mat-form-field-label {
    font-weight: 400;
    color: #889cac;
    font-family: 'Lato', sans-serif;
}

.dropdown-countries-input::placeholder,
ng-select.ng-select .ng-select-container .ng-value-container .ng-placeholder {
    color: #c2cdd5;
}

.ng-select .ng-select-container .ng-value-container .ng-placeholder {
    z-index: 1;
}

.ng-select.ng-select-single .ng-select-container .ng-value-container {
    border-top: 0;
    min-height: 29.01px !important;
    padding: 7px 5px !important;
}

.onboarding-company-form-grid__business-type .ng-select.ng-select-multiple .ng-select-container .ng-value-container {
    border-top: 0;
    min-height: 29.01px !important;
    padding: 7px 5px !important;
}

.mat-form-field-appearance-legacy .mat-form-field-underline {
    background-color: #3c5467;
}

.mat-form-field-appearance-legacy .mat-mdc-form-field-infix {
    padding-bottom: 0 !important;
}

.mat-form-field-appearance-legacy .mat-form-field-label {
    top: 0.9em !important;
    left: 5px;
}

.mat-focused .mat-form-field-underline .mat-form-field-ripple {
    background-color: #4195d5 !important;
}

.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
    color: #3c5467;
}

.textarea .mat-form-field-underline {
    position: relative !important;
    top: 2px !important;
}

textarea.mat-mdc-input-element {
    padding: 5px 5px 0 !important;
    background: #f2f8fc;
    margin-top: 5px !important;
}

.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline {
    background-color: #3c5467 !important;
}

.ng-select .ng-select-container .ng-value-container .ng-placeholder {
    font-size: 13px;
}

.datepicker-container .mat-mdc-form-field-infix {
    padding: 0;
    border-top: 0;
}

.datepicker-container .mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button {
    top: -5px;
    right: 2px;
}

.datepicker-container .mat-form-field-appearance-legacy .mat-mdc-form-field-infix {
    padding: 0;
}

.datepicker-container input.mat-mdc-input-element {
    margin-top: 0 !important;
}

.datepicker-container .mat-mdc-form-field-flex {
    background: #f2f8fc;
    min-height: 31.91px;
}

.mat-form-field-invalid .mat-mdc-input-element.ng-invalid,
.mat-form-field-invalid .mat-mdc-input-element.ng-invalid.ng-untouched {
    background: #fbe7eb !important;
}

.alert-danger-error {
    color: #e35273;
    font-size: 12px;
    position: relative;
    /* border-top: 1px solid #e35273; */
    text-align: left;
}

.alert-danger-error.textarea {
    color: #e35273;
    font-size: 12px;
    position: relative;
    border-top: 1px solid #e35273;
}

.alert-danger-error img.prefix-icon {
    width: 12px;
    height: 12px;
    padding-bottom: 3px;
    margin-right: 8px;
}

mat-dialog-container .ng-select-error,
.ng-select-error p {
    color: #e35273;
    font-size: 12px;
    position: relative;
    top: 2px;
}

:host ::ng-deep .table-responsive .document-form-items .textarea.mat-mdc-input-element {
    margin: 0 !important;
    padding: 5px !important;
}

.table-responsive .document-form-items .mat-form-field-invalid .mat-mdc-form-field-flex,
.table-responsive .document-form-items .has-error .mat-mdc-form-field-flex,
.table-responsive .document-form-items .has-error textarea.mat-mdc-input-element {
    background: #fbe7eb !important;
}

.document-form-items .mat-form-field-appearance-legacy.has-error .mat-form-field-underline {
    background-color: #e35273;
    height: 2px;
}

.table-responsive .document-form-items .has-disabled .mat-mdc-form-field-flex,
.table-responsive .document-form-items .has-disabled textarea.mat-mdc-input-element,
.table-responsive .document-form-items .has-disabled input.mat-mdc-input-element {
    background: #eceff1 !important;
}

.table-responsive .document-form-items .mat-mdc-form-field-flex {
    background: #f2f8fc;
    min-height: 28px;
}

.paper-table.lazy-datatable .mat-form-field-underline.mat-form-field-underline {
    background-color: #3c5467 !important;
    background-image: none !important;
}

.table-responsive .document-form-items tbody .mat-mdc-form-field .mat-mdc-form-field-infix {
    width: auto !important;
    min-height: 27px !important;
    padding: 0.5em !important;
    letter-spacing: 0px !important;
}

.document-form-items .mat-form-field-label {
    top: 1.68125em !important;
}

.table-responsive .textarea .mat-form-field-underline {
    top: 1px !important;
}

.table-responsive tbody .mat-form-field .mat-mdc-form-field-infix {
    border: none;
}

.table-responsive textarea.mat-mdc-input-element {
    padding: 0 !important;
    margin-top: 0 !important;
}

.table-responsive .custom-discount-input .mat-mdc-form-field-infix input {
    margin-top: 0 !important;
    padding: 0;
}

.table-responsive .custom-discount-input,
td.text-center input {
    text-align: center;
}

.table-responsive .ng-select.ng-select-single .ng-select-container .ng-value-container {
    min-height: 41px !important;
    padding-top: 12px !important;
}

.table-responsive .custom-discount-input .mat-mdc-form-field-infix {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    min-height: 38px !important;
}

.table-responsive textarea.mat-mdc-input-element,
.table-responsive .mat-form-field-appearance-legacy .mat-form-field-label,
.table-responsive .ng-select .ng-select-container .ng-value-container .ng-placeholder,
.table-responsive .custom-discount-input .mat-mdc-form-field-infix input {
    font-size: 13px !important;
    margin: 2px 0 0;
}

.table-responsive .table>tbody>tr>td {
    padding: 20px 8px;
}

.table-responsive.table-vertical-align-top .table>tbody>tr>td {
    vertical-align: top;
}

.table-responsive .document-form-items .itemTotal,
.table-responsive .document-form-items .drag_row.handle {
    position: relative;
    top: -6px;
}

.table-responsive .ng-select.ng-select-single .ng-select-container .ng-arrow-wrapper {
    bottom: 14px !important;
}

.table-responsive.table-vertical-align-top .ng-select {
    top: 0;
}

.table-responsive .ng-select.ng-select-single .ng-select-container .ng-clear-wrapper {
    bottom: 10px;
}

.table-responsive .delete_row,
.table-responsive .drag_row,
.wide-datatable-payment .delete_row,
.wide-datatable-payment .drag_row {
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.delete_row img,
.drag_row img {
    width: 20px;
}

:where(.table-responsive, .wide-datatable-payment) .delete_row img {
    position: relative;
    top: -6px;
}

.mat-form-field-appearance-legacy .mat-form-field-underline {
    background-color: #3c5467;
}

.el-info.balloon-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, 45%);
    position: absolute;
    padding: 5px;
    min-width: 95px;
    visibility: hidden;
}

:where(.table-responsive .delete_row,
    .table-responsive .drag_row,
    .wide-datatable-payment .delete_row,
    .wide-datatable-payment .drag_row):hover .el-info {
    visibility: visible;
}

.el-info::before {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    transform: rotate(45deg) translate(-50%, 45%);
    top: -3px;
    z-index: 2;
    box-shadow: -1px -1px 2px -1px rgb(0 0 0 / 20%);
    content: '';
    left: 50%;
}

.form-group .mat-mdc-form-field-infix {
    border-top: none !important;
}

.form-group .mat-mdc-form-field-infix {
    border-top: none !important;
}

.mat-mdc-form-field-flex {
    display: inline-flex;
    align-items: baseline;
    width: 100%;
    min-height: 38px;
}

.form-group .ng-select .ng-select-container {
    margin-top: 5px;
}

.table-responsive .ng-select.ng-select-single .ng-select-container {
    margin-top: 0;
}

.table-responsive .ng-select.ng-select-disabled.ng-select-single .ng-select-container {
    cursor: not-allowed !important;
    background: #eceff1 !important;
}

.mat-form-field.subtotal-discount .mat-mdc-form-field-infix {
    padding-right: 0 !important;
    display: flex;
    align-items: center;
}

mat-dialog-container input.mat-mdc-input-element {
    padding: 7px 5px !important;
}

mat-dialog-container .datepicker-container .mat-mdc-form-field-flex {
    min-height: 28.91px;
}

.datepicker-container .mat-mdc-input-element:disabled {
    color: rgba(0, 0, 0, 1);
}

.datepicker-container .mat-mdc-input-element {
    color: #3c5467;
    font-size: 13px;
}

.ng-select .ng-select-container .ng-value-container .ng-input>input {
    cursor: pointer !important;
}

.ng-select .ng-select-container {
    cursor: pointer !important;
    background: #f2f8fc;
}

.ng-select .ng-select-container:after {
    border-bottom: 1px solid #3c5467 !important;
}

.ng-select-error .ng-select-container {
    background: #fbe7eb;
}

.ng-select-error .ng-select-container:after {
    border-bottom: 2px solid #e35273 !important;
}

.ng-select-error .ng-select-container .ng-value-container .ng-placeholder,
mat-form-field.mat-form-field.mat-form-field-invalid .mat-form-field-label {
    color: #3c5467;
}

mat-form-field.mat-form-field-invalid .mat-form-field-ripple {
    background-color: #e35273;
    height: 2px;
}

.paper-autocomplete__mat-form-field span.mat-form-field-label-wrapper {
    top: 23px !important;
}

mat-dialog-container .mat-form-field-type-mat-input .paper-autocomplete-option {
    box-shadow: none;
}

.ng-dropdown-panel.ng-select-top {
    bottom: 100% !important;
}

/* only temporary for experimental purpose only */
.single-page-po-form .form-group .mat-mdc-form-field-infix {
    padding: 0 !important;
}

.single-page-po-form .form-group input.mat-mdc-input-element {
    margin-top: 0 !important;
    padding: 10px 0 !important;
    background-color: #ffffff;
}

.single-page-po-form .form-group input.mat-mdc-input-element:disabled {
    background-color: #f7f8f9;
    color: #9aa6b0;
}

.single-page-po-form .form-group input.mat-datepicker-input:disabled {
    background-color: #ffffff;
}

.single-page-po-form .form-group .mat-form-field-label {
    position: relative !important;
    top: initial !important;
    left: initial;
    margin-top: 10px;
    color: rgb(200, 200, 200);
}

.single-page-po-form .form-group .mat-mdc-form-field-flex {
    min-height: initial !important;
}

.single-page-po-form .form-group .ng-select .ng-select-container,
.single-page-po-form .form-group .datepicker-container .mat-mdc-form-field-flex {
    background: #ffffff !important;
    margin-top: 0 !important;
}

.single-page-po-form .form-group .ng-select.ng-select-disabled .ng-select-container {
    background-color: #f7f8f9 !important;
    color: #9aa6b0;
}

.single-page-po-form .form-group .ng-placeholder {
    color: rgb(200, 200, 200);
}

.single-page-po-form .form-group .ng-select.ng-select-single .ng-select-container .ng-value-container {
    padding: 7px 0 !important;
}

.single-page-po-form .form-group .datepicker-container .mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper {
    margin-top: 0;
    top: 0;
    height: 36px;
}

.custom-item-with-hint>td {
    padding: 15px 8px 45px !important;
}

.custom-item-with-hint-so>td {
    padding: 20px 8px !important;
}