html {
    width: 100%;
}

body {
    overflow-x: hidden !important;
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: 0 !important;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: 'Cairo', sans-serif !important;
}

body.show-spinner > main {
    overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner > * {
    opacity: 0;
}

/* Spinner */
body.show-spinner::after {
    content: " ";
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: rgba(0, 0, 0, 0.3);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
    position: fixed;
    z-index: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.rtl .navbar .navbar-right .user .user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eae7e7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 10px;
}

    .rtl .navbar .navbar-right .user .user-icon i {
        color: #fff;
        font-size: 20px;
    }

.library-app .media-thumb-container .badge {
    line-height: 1.3;
}

.data-table tbody td {
    padding-left: 15px;
}
.main-nav .navbar-logo .logo {
    height: 50px;
}
    .data-table tbody td:last-child {
        padding-left: 0;
    }


/* Scroll Table */
.scroll-table {
    margin: auto;
    width: 100%;
}

.scroll-table table {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    max-width: 100%;
    overflow-x: auto;
    place-items: flex-start;
    max-height: 500px;
    margin-top: 10px;
}
.scroll-table table thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f4f5f6;
    width: 100%;
}
.scroll-table table thead tr {
    display: flex;
    /*flex-direction: column;*/
    width: 100%;
}
.scroll-table table thead tr th {
    padding: 10px 5px;
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    background-color: #f4f5f6 !important;
    height: 57px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid #e8e8e8;
}
.scroll-table table thead tr th:first-child {
    width: 130px;
    min-width: 130px;
    position: sticky;
    right: 0;
    z-index: 1;
}
.scroll-table table thead tr th p {
    text-align: center;
    color: #00365a;
}
.scroll-table table thead tr th b {
    font-size: 17px;
    color: #00365a;
}
.scroll-table table tbody tr.rooms-num {
    position: sticky;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 130px !important;
    box-shadow: 3px 5px 10px rgba(0, 0, 0, .08);
    z-index: 0;
    background: #f4f5f6;
    float: right;
}
.scroll-table table tbody tr.rooms-num td {
    width: 100% !important;
    padding: 5px !important;
    border: 0 !important;
    height: 55px;
    text-align: center;
    border-top: 1px solid #e8e8e8 !important;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 15px;
}
.scroll-table table tbody tr.rooms-num td b {
    font-size: 20px;
    line-height: 1.2;
        color: #00365a;
}
.scroll-table table tbody {
    width: 100%;
}
.scroll-table table tbody tr {
    display: flex;
}
.scroll-table table tbody tr td {
    padding: 0;
    border-left: 1px solid #e8e8e8;
    width: 80px;
    min-width: 80px;
    height: 55px;
    max-height: 55px;
    border-bottom: 1px solid #e8e8e8;
}

.scroll-table table tbody tr.days-block td {
    width: 80px;
    justify-content: center;
    border-left: 1px solid #e8e8e8;
    padding: 10px;
    margin: 0 3px;
}
.scroll-table table tbody tr td p,.scroll-table table tbody tr td b{
    text-align: center;
}
.scroll-table table tbody tr td a {
    text-align: center;
    padding: 5px 5px;
    width: 100%;
    height: 55px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
    .scroll-table table tbody tr td a .price {
        font-size: 17px;
        
    }
.t-wrapper {
    position: relative;
    overflow: auto;
    white-space: nowrap;
}
.colors-panel{
    display: inline-block;
}
.colors-panel span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
        margin: 0 20px 0 5px;
}

.vuelidate-error {
    border: 1px solid red !important;
}
input[type="checkbox"].vuelidate-error {
    outline: 5px solid red !important;
}
.vuelidate-errorMessage {
    color: red !important;
}

.new-booking-options-checkbox {
    line-height: 1.5rem;
    padding-top: 1px;
    font-size: 1.2rem;
}
.logo-single {
    width: 185px;
    height: 100px;
    background: url("/images/logo/dina-logo.jpg") no-repeat;
    background-position: center center;
    display: inline-block;
    margin-bottom: 30px;
    background-size: contain;
}
.invoice-page .head td span {
    margin-bottom: 12px;
    display: block;
}
.invoice-page table{
    font-family: 'Cairo', sans-serif !important;
}
.invoice-page table thead tr,.invoice-page table tbody td {
    font-size: 14px;
}
.invoice-page .total {
    padding: 10px 30px 20px;
}
.invoice-page .total p,.invoice-page .total b{
    font-size: 20px;
}
.invoice-page .total .btn{
    font-size: 20px;
    padding: 5px 15px;
    min-width: 100px;
    text-align: center;
    margin-top: 20px;
}
.invoice-page .card {
    padding: 0;
}
.invoice-page .card-body h5{
    font-weight: 700;
}
.invoice-page .invoice-contents {
    padding-bottom: 20px;
}
@media print {
    .invoice-page .total .btn{
        display: none;
    }
    .invoice-page .card {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        box-shadow: 0 1px 15px rgb(0 0 0 / 4%), 0 1px 6px rgb(0 0 0 / 4%) !important;
        padding: 0 15px !important;
    }
    .invoice-page .card-body {
        padding: 15px 10px 0 0 !important;
    }
    .invoice-page h1 {
        margin: 20px 30px 0;
    }
    .invoice-page .separator.mb-5 {
        margin-bottom: 0 !important;
    }
    .invoice-page .invoice-contents table.invoice-head {
        padding-top: 10px !important;
    }
    .invoice-page .total{
        padding-top: 40px;
    }

    /*a[href]:after {
        content: none !important;
    }*/
    /*remove page url*/
    @page {
        size: auto;
        margin: 0;
    }
    /*.invoice-page:last-child {
        page-break-after: auto;
    }*/
    /*address borders around page items to see which one cause leaks to next page*/
    /*div {
        border: 1px solid black;
    }*/
    /*remove extra blank page*/
    html, body {
        height: auto;/*100vh;*/
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
}

.full-width {
    width: 100% !important;
}
