body {
    direction: rtl;
    font-family: 'Almarai', sans-serif;
    font-size: 19px;
}
a {
    transition: 0.3s;
}
.wrap {
    width: 100%;
    max-width: 1100px;
    margin: 100px auto 0;

}
.home-boxes {
    display: flex;
    width: 1000px;
    justify-content: space-between;
    margin: 200px auto 0;
    
}

.home-boxes .box {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    background-color: #f5f5f5;
}

.is-space-between {
    justify-content: space-between;
}
.modal {
    z-index: 99998;
}
.modal-content {
    background-color: #fff;
    padding: 50px;
}
.modal.full-width .modal-content,
.modal.full-width .modal-card {
    width: 100%;
    max-width: 800px;
    height: 90vh;
}

.hero {
    margin-bottom: 30px;
}

.invoice {
    padding: 30px;
    margin: auto;
    position: relative;
}

.invoice-fields {
    display: flex;
    margin-bottom: 50px;
    align-items: stretch;
}

.invoice-fields .field {
    margin-left: 15px;
    margin-bottom: 0;
    position: relative;
}

.invoice-fields.col-2 .field {
    width: 50%;
}
.invoice-fields .field.item-name {
    flex: 1;
	min-width: 140px;
}
.invoice-fields .field:last-child {
    margin-left: 0;
}
.invoice-fields .field.number-field {
    width: 150px;
}

.import-from-file {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
}
.import-from-file .field {
    margin-bottom: 0;
}
.import-from-file .subtitle {
    margin-left: 30px;
    margin-bottom: 0;

}

.invoice-add {
    display: flex;
    align-items: center;
}

.active-item {
    background-color: lightblue;
}

.invoice-fields .button {
    height: auto;
    width: 70px;
    font-size: 25px;
}

.m-selectize {
    position: absolute;
    background-color: #fff;
    padding: 10px 0;   
    z-index: 100;
    box-shadow: 0 0 5px rgba(0,0,0, 0.2);
    width: 100%;
    margin-top: 10px;
}
.m-selectize li:nth-child(even) {
    background-color: #f4f4f4;
}
.m-selectize li a {
    padding: 14px 14px;
    display: block;
}
.invoice-item-name {
    color: #000;
    font-weight: 500;
    font-size: 18px;
    margin-inline-end: 10px;
}

.m-selectize li a:hover {
    background-color: #9e9e9e52;
}

.input[type="number"] {
    direction: ltr;
    text-align: right;
}

.add-invoice {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0;
    height: 60px;
    font-size: 25px;
    font-weight: bold
}

.invoice .total {
    position: absolute;
    top: -1px;
    left: -1px;
    border-radius: 0;
    font-size: 25px;
    font-weight: bold;
    padding: 30px 40px;
    border: 1px solid #d8d8d8;
}

.invoice .total .number {
    background-color: red;
    color: #fff;
    padding: 20px;
}
.navbar-item img {
    height: auto;
    max-height: none;
}

th.gridjs-th-sort .gridjs-th-content {
    font-size: 14px;
    text-overflow: auto;
    width: auto;
}

.items-table .gridjs-table th:nth-child(2),
.items-table .gridjs-table td:nth-child(2) {
    display: none;
}

.single-table .shelf-cell {
    display: none;
}

.search-by-date {
    display: inline-flex;
    column-gap: 10px;
    z-index: 10;
    align-items: center;
    margin-inline-start: 20px;
}
.search-by-date label {
    white-space: nowrap;
    font-weight: bold;
}

.tag:not(body).is-link {
    background-color: #393230;
    color: #fff;
}
.tag:not(body) {
    background-color: #e9e9e9;
    font-weight: bold;
}

.tabs {
    margin-top: 20px;
}

.admin-message {
    background-color: #fe5f3a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    font-size: 25px;
    font-weight: bold;
}
thead.gridjs-thead {
    z-index: 20;
    position: relative;
}