﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Tajawal', sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.font-size-base {
    font-size: 1rem;
}

.font-size-small {
    font-size: 0.9rem;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

/* Colors */
.orange {
    color: darkorange;
}

.yellow {
    color: var(--yellow);
}

.gold {
    color: #ba9938;
    border-color: #A57E0D !important;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #ba9938 !important;
}

.btn-primary:hover {
    background-color: #A57E0D !important;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    border-color: #A57E0D !important;
}

.gray {
    color: #ccc;
}


.main {
    flex: 1;
}

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
}

.main .top-row > a, .main .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar .top-row {
    background-color: rgba(0, 0, 0, 0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.sidebar .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
}

.sidebar .nav-item:last-of-type {
    padding-bottom: 1rem;
}

.sidebar .nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.sidebar .nav-item a.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.sidebar .nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 1.2rem 1.25rem 1.2rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.small-font {
    font-size: calc(1rem * 0.8);
}

.trash-btntrash-btn{
    color: inherit;
    z-index: 2;
}

@media (min-width: 768px) {
    .logo {
        width: 56px;
    }
}

/* Star rating */
.medium-stars {
    font-size: 17px;
}

.unchecked-star {
    color: #ccc;
}

/* Dropdown options */
.dropdown-option-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.9rem;
    margin-left: 0.5rem;
}

.dropdown-add-room-link {
    font-size: 0.875rem;
}

.dropdown-trash-link {
    color: var(--gray);
    font-size: 0.625rem;
    display: inline-block;
    margin-top: 2.2rem;
}

.dropdown-room-label {
    font-size: 0.9rem;
}

.dropdown-toggle--iconed:hover {
    text-decoration: none;
}

.dropdown-toggle--iconed:after {
    vertical-align: 0.1em;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: #ba9938;
}

.input--date-icon {
    background: url("../img/iconmonstr-calendar-4.svg") no-repeat 7px center;
    background-size: 17px;
    padding: .5rem 0 .25rem 30px;
}

.date-icon {
    background: url("../img/iconmonstr-calendar-4.svg") no-repeat 0 center;
    background-size: 17px;
    padding: .5rem 0 .25rem 1.5rem;
}

.select--location-icon {
    background: url("../img/iconmonstr-location-1.svg") no-repeat 0 center;
    background-size: 17px;
    padding: .25rem .5rem .25rem 30px;
}

/* Fix height of the dynamic dropdown */
.dropdown-menu.show {
    max-height: 60vh;
    overflow: auto;
}

.dropdown-toggle.dropdown-toggle--arrow-left:after {
    display: none;
}

.dropdown-toggle.dropdown-toggle--arrow-left:before {
    margin-right: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    border: solid;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
}

.modal-content {
    background-color: #f7f9fc;
}

.alert-basic {
    color: #262a2d;
    background-color: #f7f9fc;
    border-color: #ccced0;
}

.custom-select {
    color: #6c757d !important;
}

.nav-link.active {
    color: #ba9938 !important;
    border-color: #A57E0D !important;
}

.btn-outline-secondary {
    color: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-outline-secondary:hover {
    color: #fff !important;
    background-color: #6c757d !important;
}

.font-weight-bold, b, strong {
    font-weight: 600 !important;
}

.page-item.active .page-link {
    background-color: #ba9938 !important;
    border-color: #A57E0D !important;
}

body:not([data-sidebar-position=right]) .dropdown-toggle-custom:after {
    position: absolute !important;
    right: 7px !important;
    top: 11px !important;
}

body[data-sidebar-position=right] .dropdown-toggle-custom:after {
    position: absolute !important;
    left: 7px !important;
    top: 11px !important;
}

table.row-select tbody td {
    cursor: pointer;
}

body:not([data-sidebar-position=right]) .data-align {
    margin-right: auto;
}

body[data-sidebar-position=right] .data-align {
    margin-left: auto;
}

body[data-sidebar-position=right] .form-group {
    text-align: right !important;
}

body[data-sidebar-position=right] .input--date-icon {
    padding: .5rem 30px .25rem 0 !important;
    background-position: right 7px top 7px !important;
}

body[data-sidebar-position=right] .date-icon {
    background: url("../img/iconmonstr-calendar-4.svg") no-repeat right center;
    background-size: 17px;
    padding: .5rem 1.5rem .25rem 0;
}

body[data-sidebar-position=right] .select--location-icon {
    padding: .5rem 30px .25rem .5rem !important;
    background-position: right 5px top 7px !important;
}

body[data-sidebar-position=right] .form-check-input {
    margin-right: -1.25rem;
    margin-left: 0;
}

body[data-sidebar-position=right] .form-check {
    padding-right: 1.25rem;
    padding-left: 0;
}

body[data-sidebar-position=right] .close {
    left: 0 !important;
    right: auto !important;
}

body[data-sidebar-position=right] .modal-header .close {
    margin: -1rem auto -1rem -1rem !important;
}

.popover-header {
    background-color: #f7f9fc !important;
}

.popover {
    font-family: 'Tajawal', sans-serif !important;
}

.print-icon {
    font-size: 1.2rem;
}

.badge-gold-outline {
    background: none;
    border: 1px solid #ba9938;
    color: #ba9938;
}

.badge-gold {
    background: #ba9938;
    border: 1px solid #A57E0D;
    color: white;
}

/* Top menu */
.top-menu {
    position: relative;
}

.top-menu:after {
    background: #ccc;
    content: "";
    left: 28px;
    position: absolute;
    height: 120%;
    top: -10%;
    width: 1px;
}

body[data-sidebar-position=right] .top-menu:after {
    left: auto;
    right: 28px;
}

/* Daterange */
.daterangepicker.rtl {
    direction: rtl;
    text-align: right;
}

.daterangepicker.rtl .calendar-table .next span {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.daterangepicker.rtl .calendar-table .prev span {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.list-row-image {
    object-fit: contain;
    height: 220px;
    max-width: initial;
    width: 220px;
}

.info-image {
    object-fit: contain;
    max-height: 320px;
    width: 320px;
}

.modal-image {
    object-fit: contain;
    height: 408px;
    max-width: initial;
    width: 408px;
}

.reservation-view-description span + span {
    margin-right: 3px;
}

body[data-sidebar-position=right] .reservation-view-description span + span {
    margin-right: 3px;
    margin-left: 0;
}

body[data-sidebar-position=right] .content {
    direction: rtl !important;
}

body[data-sidebar-position=right] .footer {
    direction: rtl !important;
}

body[data-sidebar-position=right] .validation-summary-errors {
    text-align: right !important;
}

table tr{
    color:#293042!important
}

.fa-file-pdf, .fa-file-excel {
    cursor: pointer;
}