﻿.main-content-height {
    min-height: calc(100vh - 3.5rem);
}

.mw-90 {
    max-width: 90%;
}

.mb-5rem {
    margin-bottom: 5rem !important;
}

.mb-4rem {
    margin-bottom: 4rem !important;
}

#StatusContainer {
    overflow: auto;
    max-height: 90vh;
}

@media (min-width: 1200px) {
    .col-lg-28 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 28%;
        flex: 0 0 28%;
        max-width: 28%;
    }

    .w-lg-35em {
        width: 35em !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-100 {
        width: 100% !important;
    }
}

.font-weight-bolder {
    font-weight: 600 !important;
}

.required-input {
    color: red;
    margin-left: .25em;
}

.popover-wrapper {
    position: relative;
    display: inline-block;
}

.popover-content {
    display: none;
    position: absolute;
    top: -200%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    width: 200px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.popover-wrapper:focus-within .popover-content {
    display: block;
}

.separator {
    border-bottom: solid var(--vt-burntOrangeWeb) 1px;
}

.tooltip .tooltip-inner {
    text-align: left;
}

.cavs-toast-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: 10px;
    right: 0;
    z-index: 999;
    margin-right: 1em;
    margin-left: 1em;
}

@media (min-width: 768px) {
    .cavs-toast-container {
        top: 4em;
    }

    .cavs-error-toast-container {
        width: 25%;
    }
}

.cavs-toast {
    min-width: 200px;
    background-color: var(--vt-teal);
    color: white;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadein 0.5s;
    z-index: 1000;
}

.cavs-error-toast {
    background-color: var(--vt-burntOrange);
}

.toast-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding-bottom: 5px;
    z-index: 1001;
}

.toast-body {
    font-size: 14px;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: var(--vt-smoke);
    opacity: .6;
    top: 0;
    left: 0;
    z-index: 50
}

.checkboxes {
    padding-left: 33%;
}

@media (min-width: 768px) {
    .checkboxes {
        padding-left: 0;
    }
}

.close:hover {
    cursor: pointer;
}

.sidebar {
    background-image: linear-gradient(180deg, var(--vt-maroon) 60%, var(--vt-burntOrangeWeb) 100%);
}

.cavs-footer {
    height: 4em;
    padding: 0;
}

    .cavs-footer > .vt-footer-logo {
        width: fit-content;
    }

    .cavs-footer img {
        max-width: 175px;
    }

@media (max-width: 768px) {
    .cavs-footer img {
        max-width: 80px;
    }
}

@media (max-width: 600px) {
    .room-status-footer-row {
        font-size: .9em;
    }
}


.popup-container {
    max-height: 75vh;
}

.popup-overlay {
    z-index: 1200;
}

.cavs-pop-up-title {
    white-space: pre-wrap;
    text-align: center;
}

@media (max-width: 768px) {
    .popup-container {
        width: 100%;
    }
}

.table-dark {
    background-color: black !important;
}

.cavs-table-header {
    display: flex;
    justify-content: space-around;
    background-color: black;
    color: white;
    font-weight: bold;
    border-start-start-radius: 8px;
    border-start-end-radius: 8px;
    height: 2em;
    align-items: center;
}

.bg-danger {
    background-color: #FA4444 !important;
}

.bg-warning {
    background-color: #F7EA48 !important;
}

.mw-50 {
    min-width: 50% !important;
}

.h-3em {
    height: 3em;
}

.h-min-3five-em {
    min-height: 3.5em;
}

.br-8 {
    border-radius: 8px;
}

.refresh-button-top-position {
    top: 1.5em;
}

.top-50-2em {
    top: calc(50% - 2em) !important;
}

.rounded-20px {
    border-radius: 20px;
}

.rounded-20px-NavBar {
    border-start-start-radius: 0px !important;
    border-start-end-radius: 20px !important;
    border-end-end-radius: 20px !important;
    border-end-start-radius: 20px !important;
}

.max-w-4em {
    max-width: 4em !important;
}

.max-w-7em {
    max-width: 7em !important;
}

.max-w-21em {
    max-width: 21em !important;
}

.w-35em {
    width: 35em;
}

@media (max-width: 768px) {
    .w-35em {
        width: auto !important;
    }
}

.w-25em {
    width: 25em;
}

@media (max-width: 768px) {
    .w-25em {
        width: auto !important;
    }
}

.min-w-maxContent {
    min-width: max-content;
}

.min-w-25em {
    min-width: 25em !important;
}

.min-w-6em {
    min-width: 6em !important;
}

.max-h-50vh {
    max-height: 50vh;
}

.max-h-72vh {
    max-height: 72vh;
}

.max-h-90vh {
    max-height: 90vh;
}

.max-h-100vh {
    max-height: 100vh;
}

.max-h-35vh {
    max-height: 35vh;
}

.max-h-25vh {
    max-height: 25vh;
}

.min-h-50vh {
    min-height: 50vh;
}

.bg-light-green {
    --bs-bg-opacity: 1;
    background-color: lightgreen !important
}

.bg-light-coral {
    --bs-bg-opacity: 1;
    background-color: lightcoral !important
}

.bg-light-yellow {
    --bs-bg-opacity: 1;
    background-color: lightyellow !important
}

.bg-light-orange {
    --bs-bg-opacity: 1;
    background-color: rgb(255, 204, 153) !important
}

.transition-rotate-out {
    transform: rotateY(90deg);
    transition: transform 0.5s ease;
}

.transition-rotate-in {
    transform: rotateY(0deg);
    transition: transform 0.5s ease;
}

.rotate-in-start {
    transform: rotateY(-90deg);
}

.display-7 {
    font-size: calc(1.15rem + 1.2vw);
    font-weight: 400;
    line-height: 1.2
}

@media (min-width:1200px) {
    .display-7 {
        font-size: 2rem;
    }
}

.pb-4em {
    padding-bottom: 4em !important;
}

@media (min-width: 768px) {
    .pb-lg-2em {
        padding-bottom: 2em !important;
    }
}

.gap-01em {
    gap: .1em;
}

.fs-7 {
    font-size: .6rem;
}

@media (min-width: 992px) {
    .fs-7 {
        font-size: 1rem;
    }
}
