﻿/* Same as PrimaryColour, needed in this format to override MudBlazor controls */
/* Should contrast well with PrimaryColour */
/* Darkest. Used for borders, etc */
/* Lightest. Used as a slightly above-white background colour */
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
}

.loader::after,
.loader::before {
    content: '';
    width: 48px;
    height: 48px;
    border: 2px solid #F0B232;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    animation: rotation 2s ease-in-out infinite;
}

.loader::after {
    border-color: #8DB9CA;
    ;
    animation-delay: 1s;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(0.5) rotate(180deg);
    }
}

html,
body {
    font-family: 'Avenir', sans-serif;
}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #0071c1;
}

.rz-steps .rz-widget-content {
    scrollbar-width: none !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.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: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxp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zI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }
/* THIRD PARTY */
dxbl-date-time-edit,
dxbl-combobox {
    outline: none !important;
}

div.dxbs-editor-input-container input {
    border-color: inherit !important;
}
/* DevExpress */
.form-check-input:checked {
    background-color: #8DB9CA;
    border-color: #8DB9CA;
    color: white;
}

    .form-check-input:checked[type=checkbox] {
        background-image: url("../Images/black-checkmark.png");
    }

.form-check-input:focus {
    outline: 2px solid black;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/* End DevExpress */


ul[role=tablist] {
    flex-wrap: wrap;
}

.rz-steps [role=tablist] {
    flex-wrap: wrap !important;
}

.rz-steps .rz-steps-item{
    margin:10px;
}
/* MudBlazor */
input.mud-slider-input {
    width: 100%;
}

.mud-input-control {
    margin-top: 0;
}

    .mud-input-control .mud-input-control-input-container div.mud-input.mud-input-text {
        margin-top: 0;
    }

div.mud-slider {
    height: 100%;
}

div.mud-slider-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

#room-container {
    height: 200px;
}

.mud-carousel-rooms-custom {
    height: 200px;
}

    .mud-carousel-rooms-custom div.flex-grow-1 div.flex-grow-1 div {
        flex-wrap: wrap;
    }

section.mud-carousel div div div button.mud-icon-button {
    padding: 5px;
}

section.mud-carousel > div.align-self-auto > button {
    padding: 0;
    margin: 0 0.25rem;
    background: rgba(0, 0, 0, 0.2);
}

    section.mud-carousel > div.align-self-auto > button span > svg {
        font-size: 3rem;
    }

section.mud-carousel div button {
    opacity: 1 !important;
}

@media screen and (max-width: 768px) {
    #room-detail-container {
        height: 130px;
    }

    #room-image-container {
        height: calc((100vw - 3rem) * 0.66);
    }

    .mud-carousel-rooms-custom {
        height: calc(130px + calc((100vw - 3rem) * 0.66));
    }

    section.mud-carousel div div div button.mud-icon-button {
        padding: 0;
    }
}

:root {
    --mud-palette-primary: #8DB9CA !important;
    --mud-palette-primary-darken: #8DB9CA !important;
    --mud-palette-primary-rgb: 141, 185, 202 !important;
    --mud-palette-primary-hover: rgba(141, 185, 202, 0.05) !important;
    --mud-palette-primary-active: rgba(141, 185, 202, 0.05) !important;
    --rz-steps-number-selected-background: #8DB9CA !important;
    --rz-steps-title-selected-color: #8DB9CA !important;
    --mud-typography-h1-family: font-family: 'Avenir', sans-serif !important;
    --mud-typography-h2-family: font-family: 'Avenir', sans-serif !important;
    --mud-typography-h3-family: font-family: 'Avenir', sans-serif !important;
    --mud-typography-h4-family: font-family: 'Avenir', sans-serif !important;
    --mud-typography-h5-family: font-family: 'Avenir', sans-serif !important;
    --mud-typography-body1-family: font-family: 'Avenir', sans-serif !important;
    --mud-typography-body2-family: font-family: 'Avenir', sans-serif !important;
    --mud-typography-button-family: font-family: 'Avenir', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, p, u {
    font-family: 'Avenir', sans-serif !important;
}

.rz-steps-next, .rz-steps-prev {
    border: 1px solid #8DB9CA !important;
    color: #8DB9CA !important;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}

@media only screen and (max-width: 700px) {
    .rz-steps-item.rz-state-highlight.rz-steps-current {
        display: inline-block !important;
    }
    .rz-steps-item {
        display: none !important;
    }
    :root {
        --mud-typography-h3-size: 2rem !important;
        --mud-typography-h5-size: 1rem !important;
    }
}

.mud-button-filled:hover{
    background-color: var(--mud-palette-primary);
    color: white;
}
/* End MudBlazor */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
/* IDS */
#page-wrapper {
    position: relative;
    height: 100%;
}

#header-general {
    background: url("../Images/header_image.jpg") cover no-repeat;
}
/* CLASSES (BODY) */
.body-content {
    max-width: 100%;
    margin: 0 auto;
}
/* CLASSES (TEXT) */
.text-header {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/* CLASSES (GENERIC) */
.w-5 {
    width: 5%;
}

.w-9 {
    width: 9%;
}

.w-10 {
    width: 10%;
}

.w-14 {
    width: 14%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-33 {
    width: 33.33%;
}

.w-35 {
    width: 35%;
}

.w-40 {
    width: 40%;
}

.w-45 {
    width: 45%;
}

.w-60 {
    width: 60%;
}

.w-65 {
    width: 65%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-85 {
    width: 85%;
}

.w-90 {
    width: 90%;
}

.h-4 {
    height: 4%;
}

.h-20 {
    height: 20%;
}

.h-80 {
    height: 80%;
}

.float-right {
    float: right;
}

.bold {
    font-weight: bold;
}

.inherit-colours {
    background-color: inherit;
    color: inherit;
}

.text-white {
    color: white;
}

.text-black {
    color: black;
}

.text-black-hover:hover {
    color: grey;
}

.text-grey {
    color: grey;
}

.text-grey-custom {
    color: #cccccc;
}

.text-primary-text-colour {
    color: white;
}

.text-primary-colour {
    color: #8DB9CA;
}

.text-warning {
    color: red !important;
    font-weight: bold;
}

.background-white {
    background-color: white;
}

.background-black {
    background-color: black;
}

.background-light-grey {
    background-color: lightgrey;
}

.background-light-grey-custom {
    background-color: #e6e6e6;
}

.background-slate-grey {
    background-color: slategrey;
}

.background-whitesmoke {
    background-color: whitesmoke;
}

.background-primary-colour {
    background-color: #8DB9CA;
}

.background-secondary-colour {
    background-color: #8DB9CA;
}

.background-third-colour {
    background-color: #eae9ed;
}

.default-border-secondary-colour {
    border: 1px solid #8DB9CA;
}

.thick-border-secondary-colour {
    border: 3px solid #8DB9CA;
}

.thick-border-bottom-secondary-colour {
    border-bottom: 3px solid #8DB9CA;
}

.thick-border-right-secondary-colour {
    border-right: 3px solid #8DB9CA;
}

.text-right {
    text-align: right;
}

.center {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.center-horizontal {
    margin: 0 auto;
}

.position-absolute {
    position: absolute;
}

.pointer {
    cursor: pointer;
}

.button-white {
    background-color: white;
    color: black;
}

    .button-white:hover {
        background-color: #F0B323;
        color: white;
    }

.button-primary {
    background-color: #8DB9CA;
    color: white;
}

    .button-primary:hover {
        background-color: #F0B323;
    }

.button-third {
    background-color: #eae9ed;
    color: black;
}

    .button-third:hover {
        background-color: #afafb2;
    }
/* PAGE SPECIFIC (FOR SOME REASON CANNOT GO IN RESPECTIVE STYLESHEETS I.E. RELY ON A SHARED VARIABLE, OR USED ACROSS COMPONENTS) */
/* BookingsExternal/Browse */
.selected-room-display-button-left {
    padding-right: 0.5rem;
}

.selected-room-display-button-right {
    padding-left: 0.5rem;
}

.selected-room-display-button-inner {
    padding: 10px 0;
}

.selected-room-booking-instruction {
    padding: 0.75rem;
    border-radius: 10px;
}

.selected-room-booking-row {
    padding: 1rem;
}

@media screen and (max-width: 992px) {
    .selected-room-booking-row {
        padding: 0.75rem;
    }
}

@media screen and (max-width: 768px) {
    .selected-room-display-button-left {
        padding-right: 0.25rem;
    }

    .selected-room-display-button-right {
        padding-left: 0.25rem;
    }

    .selected-room-booking-instruction {
        padding: 0.5rem;
    }

    .selected-room-booking-row {
        padding: 0.5rem;
    }
}

.selected-room-booking-info {
    border-radius: 20px;
    padding: 4px 10px;
}

.external-booking-button-curved {
    border-radius: 15px;
}
/* BookingsExternal/Search */
.search-page-button-wrapper {
    padding: 15px;
}

.search-page-button {
    padding: 10px;
}

.checkout-payment-form-input {
    padding: 5px 10px 5px 10px;
    border-radius: 10px;
    font-size: 1.2rem;
}
/* COMPONENTS (FOR SOME REASON CANNOT GO IN RESPECTIVE STYLESHEETS I.E. RELY ON A SHARED VARIABLE) */
/* SelectedRoomBookingTimeline */
.timeline-prospective-booking-horizontal-borders-available {
    border-top: 4px solid #8DB9CA;
    border-bottom: 4px solid #8DB9CA;
}

.timeline-prospective-booking-border-left-available {
    border-left: 4px solid #8DB9CA;
}

.timeline-prospective-booking-border-right-available {
    border-right: 4px solid #8DB9CA;
}

@media screen and (max-width: 768px) {
    .timeline-prospective-booking-horizontal-borders-available {
        border-top: 3px solid #8DB9CA;
        border-bottom: 3px solid #8DB9CA;
    }

    .timeline-prospective-booking-border-left-available {
        border-left: 3px solid #8DB9CA;
    }

    .timeline-prospective-booking-border-right-available {
        border-right: 3px solid #8DB9CA;
    }
}
/* PotentialBookingsGrid */
.potential-booking {
    border: 3px solid #8DB9CA;
}
/* NavHeader */
.nav-bar-list-item :hover {
    color: #F0B323;
}

.nav-bar-list-item-selected a {
    border-bottom: 3px solid #8DB9CA;
}
/* MEDIA QUERIES */
/* Tablet */
@media screen and (max-width: 992px) {
    .w-20-tablet {
        width: 20% !important;
    }

    .w-30-tablet {
        width: 30% !important;
    }

    .w-33-tablet {
        width: 33.33% !important;
    }

    .w-40-tablet {
        width: 40% !important;
    }

    .w-50-tablet {
        width: 50% !important;
    }

    .w-60-tablet {
        width: 60% !important;
    }

    .w-80-tablet {
        width: 80% !important;
    }

    .w-90-tablet {
        width: 90% !important;
    }

    .w-95-tablet {
        width: 95% !important;
    }

    .w-100-tablet {
        width: 100% !important;
    }

    .d-block-tablet {
        display: block !important;
    }

    .d-inline-block-tablet {
        display: inline-block !important;
    }

    .d-grid-tablet {
        display: grid !important;
    }

    .d-flex-tablet {
        display: flex !important;
    }

    .d-none-tablet {
        display: none !important;
    }

    .background-inherit-tablet {
        background-color: inherit;
    }

    .border-none-tablet {
        border: none;
    }

    .thick-border-secondary-colour-tablet {
        border: 3px solid #8DB9CA;
    }

    .thick-border-right-secondary-colour-tablet {
        border-right: 3px solid #8DB9CA;
    }

    .thick-border-top-secondary-colour-tablet {
        border-top: 3px solid #8DB9CA;
    }

    .text-left-tablet {
        text-align: left !important;
    }
}
/* Mobile */
@media screen and (max-width: 768px) {
    .w-10-mobile {
        width: 10% !important;
    }

    .w-20-mobile {
        width: 20% !important;
    }

    .w-25-mobile {
        width: 25% !important;
    }

    .w-30-mobile {
        width: 30% !important;
    }

    .w-40-mobile {
        width: 40% !important;
    }

    .w-45-mobile {
        width: 45% !important;
    }

    .w-50-mobile {
        width: 50% !important;
    }

    .w-60-mobile {
        width: 60% !important;
    }

    .w-70-mobile {
        width: 70% !important;
    }

    .w-80-mobile {
        width: 80% !important;
    }

    .w-90-mobile {
        width: 90% !important;
    }

    .w-100-mobile {
        width: 100% !important;
    }

    .h-9-mobile {
        height: 9% !important;
    }

    .h-10-mobile {
        height: 10% !important;
    }

    .h-14-mobile {
        height: 14% !important;
    }

    .h-100-mobile {
        height: 100% !important;
    }

    .d-inline-block-mobile {
        display: inline-block !important;
    }

    .d-block-mobile {
        display: block !important;
    }

    .d-grid-mobile {
        display: grid !important;
    }

    .d-flex-mobile {
        display: flex !important;
    }

    .d-none-mobile {
        display: none !important;
    }

    .border-right-none-mobile {
        border-right: none;
    }

    .center-horizontal-mobile {
        margin: 0 auto;
    }
}
