html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    background-image: url('/images/captrainWhite.png');
    background-color: #ffffff;
    width: 300px;
    height: 40px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.grid-list-customizations table {
    white-space: nowrap;
    table-layout: auto !important;
}

:root {
    --grid-content-height: 700px;
}

.main-content > .grid-content > dxbl-grid {
    height: var(--grid-content-height);
}

#overlayControls {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99;
    padding: 1em;
    background-color: #ffffffBB;
}

#overlayControls span {
    font-weight: bold;
    font-size: 1.5em;
}

#overlayControls ul {
    padding: 0;
}

#overlayControls li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 5px solid rgba(180, 180, 180, 0.6);
    border-top-color: rgba(0, 0, 0, 0.6);
    animation: spinner 1s linear infinite;
}

@keyframes splashScreenSpinner {
    to {
        transform: rotate(360deg);
    }
}

.splashScreen {
    position: absolute;
    left: 50%;
    top: 30%;
    border: 1px solid rgba(180, 180, 180, 0.6);
    transform: translateX(-50%);
    box-shadow: 10px 10px 5px #ccc;
    -moz-box-shadow: 10px 10px 5px #ccc;
    -webkit-box-shadow: 10px 10px 5px #ccc;
}

.splashScreenSpinner {
    grid-column: 1;
    grid-row: 1;
    content: "";
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    margin: auto;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.8);
    border-top-color: rgba(0, 0, 0, 0.6);
    animation: spinner 1s linear infinite;
}


.splashScreenTop {
    display: grid;
    max-height: 290px;
    max-width: 400px;
}

.splashScreenAppName {
    grid-column: 1;
    margin: auto;
    margin-top: 40%;
    grid-row: 1;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5em;
}

.splashScreenImage {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
}

.splashScreenBottom {
    padding: 4px;
    display: grid;
    height: auto;
    max-width: 400px;
    background-color: #ffffff;
}

.splashScreenCopyright {
    grid-column: 1;
    grid-row: 1;
    color: #000000;
    font-size: 0.7em;
    font-family: 'Arial', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

.splashScreenCopyright span {
    float: left;
    clear: left;
}

.splashScreenLogo {
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
    max-height: 30px;
}

.contains-filter {
    border: 1px solid #ff0000 !important;
}

.overlay {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000090;
    z-index: 100;
}

.overlayContent {
    padding: 20px;
    margin: 20px;
    max-width: 400px;
    border: 1px solid #000000;
    background-color: #ffffff;
}

.overlayContent span:first-child {
    font-weight: bold;
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 1px solid
}

.overlayContent span {
    font-family: Arial, sans-serif;
    float: left;
    clear: left;
    margin-bottom: 5px;
}

.mapNotice {
    position: absolute;
    color: red;
    padding: 5px;
    left: 50%;
    bottom: 0px;
    z-index: 1000 !important;
    transform: translateX(-50%);
}

.dxbs-sc-time-cell {
    padding: 0px !important;
}

.dxbs-sc-time-cell:has(div[data-lok-unavailable = "true"]) {
    border: none;
    vertical-align: middle;
}

.lokAppointment {
    background-color: #F7EECE;
    cursor: pointer;
    font-size: 7pt;
    height: 30px;
    max-height: 30px;
    overflow: hidden;
    background-repeat: no-repeat, no-repeat;
    background-position: left 10px top 50%, left 24px top 50%;
    background-size: 16px, 14px;
}

.lokAppointmentBorder {
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

.lokAppointmentBorderLeft {
    border-left: 1px solid #000000;
}

.lokAppointmentBorderRight {
    border-right: 1px solid #000000;
}

.dxbs-sc-date-hr {
    text-align: center;
}

.dxbl-scroll-viewer {
    padding-bottom: 10px;
}
.dxbl-scroll-viewer-hor-scroll-bar > .dxbl-scroll-viewer-scroll-thumb {
    height: 10px !important; 
}

.dxbl-scroll-viewer-vert-scroll-bar > .dxbl-scroll-viewer-scroll-thumb {
    width: 10px !important;
}

.exportPopupTable {
    margin-bottom: 10px;
}

.exportPopupTable td:first-child {
    font-weight: bold;
    vertical-align: top;
    padding-right: 10px;
}

.exportPopupTable td {
    padding-top: 5px;
}

.exportPopupTable td:first-child:after {
    content: ':';
}

.logon-template-header {
    background-color: var(--bs-secondary) !important;
    border: none !important;
}

.dxbl-scheduler .dxbl-sc-timeline .dxbl-sc-horizontal-view > tbody > tr:not(:first-child) > td
{
    padding: 0;
}