@import url('https://fonts.googleapis.com/css?family=Open+Sans');

body {
    font-family: "Open Sans", sans-serif !important;
}

/* @import url('https://fonts.googleapis.com/css?family=Rubik+Mono+One'); */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@700&display=swap');

h1,
h2 {
    /* font-family: "Rubik Mono One", monospace !important; */
    font-family: 'Rubik', sans-serif;
}

body {
    max-width: none;
}

table {
    table-layout: auto;
}

.div-in-screen {
    width: 95vw;
}

#container {
    padding-top: 50px;
}

.required {
    color: red;
}

.flex {
    display: flex;
}

.flex-v {
    display: flex;
    flex-direction: column;
}

.align-self-start {
    align-self: flex-start;
}

.align-self-start {
    align-self: flex-start;
}

.content-center {
    align-content: center;
}

.items-flex-end {
    align-items: flex-end;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-space-between {
    justify-content: space-between;
}

.justify-space-around {
    justify-content: space-around;
}

.noHover {
    pointer-events: none;
}

[x-cloak] {
    display: none !important;
}

/**
    The following CSS is specific to IE so we can ensure it renders correctly
*/

.ie-warning-modal-bg {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.ie-warning-modal-bg .ie-warning {
    left: 50%;
    top: 10em;
    transform: translateX(-50%);
    position: absolute;
    display: inline-block;
    z-index: 1;
    background-color: #fff;
    color: #333;
    border: 4px solid rgb(233, 63, 63);
    padding: 1em;
    border-radius: 1em;
}

.ie-warning-modal-bg .ie-warning .modal-title {
    position: relative;
    line-height: 3em;
    margin-bottom: 2em;
}

.ie-warning-modal-bg .ie-warning .modal-title svg {
    position: absolute;
    font-size: 3em;
    color: rgb(233, 63, 63);
}

.ie-warning-modal-bg .ie-warning .modal-title h2 {
    text-align: center;
}

/**
    END IE
*/

/* login page */

#login-form {
    margin-top: 2em;
}

.logged-in {
    display: none;
}

#loading {
    display: flex;
    flex-direction: column;
    height: 85vh;
    align-items: center;
    justify-content: center;
}

/* end login page */

/* container elements start */

.middle-content {
    max-width: 600px;
    margin: auto;
}

#header-box-container {
    position: fixed;
    z-index: 999;
    /* top: 8px;
    right: 8px;
    left: 8px; */
    top: 0px;
    right: 0px;
    left: 0px;
}

#header-box {
    padding: 0 4px 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background);
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 30%);
    /* position: fixed; */
    /* top: 8px;
    left: 8px;
    right: 8px; */
    /* z-index: 9999; */
    /* background-color: white; */
    /* border: 1px solid rgba(0, 0, 0, .12); */
    /* border-radius: 8px; */
}

#planner-box {
    display: flex;
    justify-content: space-evenly;
    background-color: red;
    box-shadow: 0px 10px 10px 0px rgb(0 0 0 / 30%);
    align-items: center;
    /* position: fixed; */
    /* padding: 0 4px 0 8px; */
    /* left: 8px; */
    /* right: 8px; */
    /* z-index: 9999; */
    /* background-color: blueviolet; */
    /* tsebo red*/
    /* border: 1px solid rgba(0, 0, 0, .12); */
    /* border-radius: 8px; */
    /* flex-flow: row wrap; */
    /* overflow-x: visible; */
}

/* #planner-box button {
    margin-bottom:3px;
} */

#planner-box-dropdown {
    display: flex;
    justify-content: space-around;
}

.planner-dropdown-detail {
    /* position: static;
    top: 0%; */
    display: flex;
    flex-direction: column;
    padding: 1em;
    background-color: red;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 10px 10px #000000;
}

/* #planner-detail-filter button {
    margin-right: 0;
    margin-bottom: 0.5em;
} */

/* #planner-detail-filter #schedule-view {
    margin-bottom: 0;
} */

/* #planner-detail-floor {
    left: 0;
} */

/* #planner-detail-date {
    right: 50%;
    transform: translateX(50%);
    justify-content: center;
} */

/* #planner-detail-filter {
    right: 0;
    padding: 1em;
} */

.planner-button-div {
    /* width: 20%; */
    display: contents;
}

/* .planner-dropdown-div {
    width: 20%;
} */

.planner-detail-list {
    display: contents;
}

.makered {
    background: red !important;
}

.makeblue {
    background: cornflowerblue !important;
}

#heading {
    display: flex;
    margin-top: 5px;
    margin-bottom: 4px;
}

.header-button {
    padding: 5px;
    /* background-color: white; */
    background-color: var(--background);
    /* color: blueviolet; */
    color: var(--text-bright);
    /* tsebo red*/
}

.header-button-planner {
    /* background-color: blueviolet; */
    background-color: red;
    /* tsebo red*/
    color: white;
    margin-right: 0;
    margin-bottom: 0;
}

#floor-name {
    margin: 0px;
}

#map {
    height: 100%;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

.leaflet-bottom {
    bottom: 50%;
}

#action {
    position: absolute;
    top: 90%;
    left: 0;
    width: 100%;
}

.action-top {
    /* background-color: white; */
    background-color: var(--background-body);
    border-radius: 10px 10px 0 0;
    /* border: 8px solid white; */
    border: 8px solid var(--background-body);
    ;
    margin: 0 auto;
    position: relative;
    top: 1px;
    box-shadow: 0 -8px 8px rgb(0 0 0 / 20%);
}

.action-chip {
    /* background-color: #dadce0;
    border-radius: 50px;
    height: 4px;
    width: 24px;
    margin: 0 auto; */
    /* color: #dadce0; */
    color: var(--text-muted);
    text-align: center;
    line-height: 10px;
    font-size: larger;
}

#action-arrow-block {
    background: white;
    width: 40px;
    height: 40px;
    position: absolute;
    top: -48px;
    right: 4px;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 10px 10px 0 0;
}

.action-arrow-up {
    position: absolute;
    top: 10px;
    right: 10px;
    border: solid #dadce0;
    border-width: 0 4px 4px 0;
    /* display: block;
    height: 0;
    margin: 0 0 0 auto;
    width: 0px; */
    padding: 8px;
    border-radius: 2px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.transition-point-down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    /* top: -8px; */
}

.action-content {
    /* background-color: white; */
    background-color: var(--background-body);
    padding: 8px;
}

form>input[type=submit] {
    background-color: lightskyblue;
}

form button[type=submit] {
    background-color: lightskyblue;
}


form>submit:first-of-type {
    background-color: lightskyblue;
}

#map-floor {
    height: 100%;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

#display-date {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0.5em;
    padding: 0.5em;
    color: #fff;
    background-color: rgba(32, 43, 56, 0.95);
    border-radius: 2em;
}

#settings {
    display: inline-block;
    width: 500px;
}

#settings hr {
    width: -webkit-fill-available;
}

#settings-map {
    display: inline-block;
    vertical-align: top;
}

#settings-controls {
    display: flex;
    flex-direction: column;
    padding: 0 0 0 50px;
}

/* container elements end */


/* menu system start */
.shape-slider-left {
    position: fixed;
    max-width: 300px;
    min-width: 250px;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 80vw;
    height: 100vh;
    background-color: white;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
    border-radius: 0 8px 8px 0;
}

.shape-slider-right {
    position: fixed;
    max-width: 300px;
    min-width: 250px;
    z-index: 999999;
    top: 0;
    right: 0;
    width: 80vw;
    height: 100vh;
    /* background-color: white; */
    background-color: var(--background-body);
    overflow: auto;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
    border-radius: 8px 0 0 8px;
}

.transition-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    ;
}

.transition-slide-left {
    left: -100% !important;
    visibility: hidden !important;
}

.transition-slide-right {
    right: -100% !important;
    visibility: hidden !important;
}

.transition-slide-up {
    position: relative;
    top: -100% !important;
    visibility: hidden !important;
}

.transition-slide-down {
    bottom: -100% !important;
    visibility: hidden !important;
}

.shape-slider-left {
    box-shadow: 2px 0 2px rgba(0, 0, 0, 0.3);
}

.shape-slider-right {
    box-shadow: -2px 0 2px rgba(0, 0, 0, 0.3);
}


#menu,
#menu>div {
    display: flex;
    flex-flow: column;
    margin: 8px;
    padding-top: 5px;
}

#menu-grey-out,
#profile-grey-out {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px) brightness(0.7);
    -webkit-backdrop-filter: blur(2px) brightness(0.7);
    ;
}

/* menu system end */


/* Leaflet start */
.leaflet-control-attribution {
    display: none;
}

.leaflet-popup-content-wrapper {
    background: var(--background-alt);
    color: var(--text-bright);
}

/* Leaflet end */

/* fullcalendar start */
.fc-toolbar-chunk {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.fc-today-button {
    width: 92px;
}

/* fullcalendar end */


/* map elements start */
/* @keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 0, 0);
    }
} */

@keyframes pulseBlue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 255, 0);
    }
}

/* Legend for map */

.leaflet-popup-content div {
    display: flex;
    align-items: center;
    margin: 0;
}

.leaflet-popup-content svg {
    height: 1em;
    padding: 2px;
}

.leaflet-popup-content p {
    margin: 0.5em;
}

.leaflet-marker-icon h3 {
    position: absolute;
    left: 25px;
    margin-block-start: 1em;
    min-width: max-content;
    color: #000;
}

/* End styling for legend */

.markerDeskUnoccupied {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: limegreen;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    /* animation: pulseGreen 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDedicatedDeskUnoccupied {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: darkgreen;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    /* animation: pulseGreen 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerShiftDeskUnoccupied {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: seagreen;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    /* animation: pulseGreen 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskUnavailable {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: grey;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(46, 49, 49, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskUnassigned {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: grey;
    border: 2px solid white;
    cursor: pointer;
    /* box-shadow: 0 0 0 rgba(240, 255, 0, 1); */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDropPin {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: purple;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskOccupiedByUser {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: royalblue;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.4);
    /* animation: pulseBlue 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskOccupied {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: red;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskReserved {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: orange;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskReservedStart {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: orange;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskReservedHalf {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: orange;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerDeskReservedEnd {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: orange;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerParking {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: brown;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerFloorEntrance {
    display: block;
    width: 36px;
    height: 36px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 25%;
    background: dodgerblue;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markerRoom {
    display: block;
    width: 36px;
    height: 36px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 25%;
    background: darkgreen;
    border: 2px solid white;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sigfoxMarker_requested {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: royalblue;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.4);
    /* animation: pulseBlue 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sigfoxMarker_completed {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: rgb(0, 255, 0);
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.4);
    /* animation: pulseBlue 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sigfoxMarker_without_scan_code {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: rgb(255, 0, 0);
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.4);
    /* animation: pulseBlue 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sigfoxMarker_without_device_id {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: orange;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sigfoxMarker_unattended {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: rgb(255, 81, 0);
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 255, 0.4);
    /* animation: pulseBlue 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flexibleDesk {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: -11px;
    margin-top: -11px;
    border-radius: 50%;
    background: #347C17;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    /* animation: pulseGreen 2s ease-out infinite; */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

@keyframes anti-rotate-animation {
    0% {
        transform: rotate(0deg);
    }

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

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 0, 0);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 255, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 0, 0);
    }
}

@keyframes pulse-cornflower-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 149, 237, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 0, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 0, 0);
    }
}

@keyframes pulse-gray {
    0% {
        box-shadow: 0 0 0 0 rgba(48, 48, 48, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 0, 0);
    }
}

@keyframes pulse-dark-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 100, 0, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 255, 0, 0);
    }
}

/* .selected-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
} */

.selected-pulse {
    position: relative;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    display: block;
    border-radius: 50%;
}

.selected-pulse-room,
.selected-pulse-entrance {
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    display: block;
    border-radius: 25%;
}

/* .selected-circle::before {
    content: "";
    display: block;
    position: absolute;
    border-width: 4px;
    border-style: solid;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    top: -4px;
    left: -4px;
    animation: rotate-animation 3s linear 0s infinite;
} */

/* .selected-circle::after {
    content: "";
    display: block;
    position: absolute;
    border-width: 4px;
    border-style: solid;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    top: 11px;
    left: 11px;
    animation: rotate-animation 2s linear 0s infinite;
} */

/* .spinner-occupied.selected-circle::before, .spinner-occupied.selected-circle::after {
    border-bottom-color: red;
    border-right-color: red;
    border-top-color: red;
    border-left-color: rgba(255, 0, 0, 0);
} */

.pulse-occupied.selected-pulse {
    animation: pulse-red 2s linear 0s infinite;
}

.pulse-completed.selected-pulse {
    animation: pulse-green 2s linear 0s infinite;
}

.pulse-requested.selected-pulse {
    animation: pulse-blue 2s linear 0s infinite;
}

.pulse-unattended.selected-pulse {
    animation: pulse-red 2s linear 0s infinite;
}


/* .spinner-occupied-by-user.selected-circle::before, .spinner-occupied-by-user.selected-circle::after {
    border-bottom-color: blue;
    border-right-color: blue;
    border-top-color: blue;
    border-left-color: rgba(0, 0, 255, 0);
    animation: pulse-blue 3s linear 0s infinite;
} */

.pulse-occupied-by-user.selected-pulse {
    animation: pulse-blue 2s linear 0s infinite;
}

/* .spinner-unavailable.selected-circle::before, .spinner-unavailable.selected-circle::after {
    border-bottom-color: grey;
    border-right-color: grey;
    border-top-color: grey;
    border-left-color: rgba(0, 0, 255, 0);
} */

.pulse-unavailable.selected-pulse {
    animation: pulse-gray 2s linear 0s infinite;
}

/* .spinner-vacant.selected-circle::before, .spinner-vacant.selected-circle::after {
    border-bottom-color: green;
    border-right-color: green;
    border-top-color: green;
    border-left-color: rgba(0, 255, 0, 0);
} */

.pulse-vacant.selected-pulse {
    animation: pulse-green 2s linear 0s infinite;
}

/* .spinner-entrance.selected-circle::before, .spinner-entrance.selected-circle::after {
    border-bottom-color: cornflowerblue;
    border-right-color: cornflowerblue;
    border-top-color: cornflowerblue;
    border-left-color: rgba(128, 128, 128, 0);
} */

.pulse-entrance.selected-pulse-entrance {
    animation: pulse-cornflower-blue 2s linear 0s infinite;
}

/* .spinner-room.selected-circle::before, .spinner-room.selected-circle::after {
    border-bottom-color: darkgreen;
    border-right-color: darkgreen;
    border-top-color: darkgreen;
    border-left-color: rgba(128, 128, 128, 0);
} */

.pulse-room.selected-pulse-room {
    animation: pulse-dark-green 2s linear 0s infinite;
}


/* map elements end */

/* guide page start */

#screening-form {
    border: 2px solid var(--text-bright);
    border-radius: 15px;
    padding: 10px;
    width: 90%;
    margin: auto;
    max-width: 600px;
}

.centre-form {
    border: 1px solid cornflowerblue;
    border-radius: 20px;
    padding: 10px;
    width: 90%;
    margin: auto;
    max-width: 600px;
}

.yes-no-radio {
    display: flex;
    place-content: flex-end;
}


.guide {
    display: flex;
    justify-content: flex-end;
    text-align: center;
    max-width: auto;
}

#top-left {
    position: absolute;
    left: 0;
}

#user-guide {
    text-align: center;
    background: var(--background-body) !important;
}

.guide-img {
    width: 250px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.guide-blue {
    border: 5px solid cornflowerblue;
}

.guide-violet {
    border: 5px solid violet;
}

.guide-orange {
    border: 5px solid darkorange;

}

.guide-pink {
    border: 5px solid hotpink;

}

.guide-yellow {
    border: 5px solid yellow;

}

.guide-green {
    border: 5px solid mediumspringgreen;

}

/*
#calendar-container {
    display: flex;
    flex-direction: column;
    height: auto;
}

#calendar {
    flex: 1;
}
 */

/* guide page end */

.button-align-down {
    top: 8px;
    position: relative;
}

#verified {
    border-radius: 50px;
}

#denied {
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: red;
}


.centre-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* MODAL START */

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    backdrop-filter: blur(2px) brightness(0.7);
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    border-radius: 20px;
}

.modal h3,
.modal h2,
.modal label {
    color: var(--text-dark);
}

#date-picker-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px) brightness(0.7);

}

.date-modal-content {
    position: relative;
    width: fit-content;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 3em;
    border: 1px solid #888;
    border-radius: 20px;
}

.date-modal-content h1 {
    color: var(--text-dark);
    margin-top: 0;
}

.date-modal-content #date-pick {
    color: var(--text-light);
}

.date-modal-content span {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0.3em 0.5em 0 0;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* MODAL END */

/* NEW ALPINE MODAL BASIC STYLING */
/* Example: mod-reserve-floor.html */

.modal-div {
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.modal-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);

}

.modal-panel-div {
    display: flex;
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.modal-content-div {
    overflow-y: auto;
    position: relative;
    padding: 3rem;
    background-color: var(--background-body);
    width: 100%;
    max-width: 42rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-color: #000000;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.modal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content-div button {
    margin: 0;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 5px;
    margin-right: 15px;
    text-align: right;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* END ALPINE MODAL STYLING */

/* GENERAL TABLE-VIEW STYLING*/
.table-view {
    margin-top: 1em;
    table-layout: auto;
    width: 100%;
}

.table-view tr>td,
.table-view th {
    vertical-align: middle;
    text-align: center;
}

.table-view tr {
    height: 3.5em;
}

.table-btn,
.cancel-btn {
    background-color: var(--button-base);
    color: var(--text-bright);
    width: 10em;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    margin: 0;
}

/* TABLE LIST VIEW */
#search-box {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 16px;
    border: 1px solid #ddd;
    background-color: var(--background);
    border-radius: 0.5em;
}

#search-box input {
    padding-left: 2em;
    margin: 0;
}

#search-box i,
#search-box svg {
    position: absolute;
    margin: 0 0.5em;
}

#search-group {
    display: flex;
    margin-top: 1.5em;
    justify-content: space-between;
}

/* #display-date.list {
    display: none;
} */

#list-table .markerDeskUnoccupied,
#list-table .markerDedicatedDeskUnoccupied,
#list-table .markerShiftDeskUnoccupied,
#list-table .flexibleDesk,
#list-table .markerFloorEntrance,
#list-table .markerParking,
#list-table .markerRoom {
    margin: 0;
    height: 1.5em;
    width: 1.5em;
}

.tableIcon {
    height: 2em;
}

@media (max-width: 600px) {

    #list-table,
    #search-group {
        flex-direction: column;
    }

    #list-table,
    #dropDown {
        margin-top: 1em;
    }

    .hide {
        display: none;
    }

    .table-btn,
    .cancel-btn {
        width: auto;
    }

    /* #myInput {
    font-size: 16px; 
    padding: 12px 20px 12px 40px; 
    border: 1px solid #ddd; 
    margin-bottom: 12px; 
  } */
}

#myUL {
    /* Remove default list styling */
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#myUL li a {
    border: 1px solid #ddd;
    /* Add a border to all links */
    margin-top: -1px;
    /* Prevent double borders */
    background-color: #f6f6f6;
    /* Grey background color */
    padding: 12px;
    /* Add some padding */
    text-decoration: none;
    /* Remove default text underline */
    font-size: 18px;
    /* Increase the font-size */
    color: black;
    /* Add a black text color */
    display: block;
    /* Make it into a block element to fill the whole list */
}

#myUL li a:hover:not(.header) {
    background-color: #eee;
    /* Add a hover effect to all links, except for headers */
}

/* RESERVATION LIST VIEW */
.reservation-modal {
    position: relative;
    width: 50%;
}

.reservation-modal span {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0.3em 0.5em 0 0;
}

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

#no-reservation svg {
    margin-right: 0.3em;
    font-size: 3em;
}

#reservations-select {
    margin-bottom: 1em;
}

@media (max-width: 500px) {
    .modal-group {
        flex-direction: column;
        align-items: center;
    }

    .modal-group h3 {
        text-align: center;
    }

    #reservation-table svg {
        font-size: 1.5em;
    }

    #date-header span,
    #time-header span,
    #map-header span,
    #cancel-header span {
        display: none;
    }
}

/* DESK VIEW */
#reserve-btn {
    margin-bottom: 1em;
}

#desk-info-div {
    margin-left: 1em;
}

#desk-button-div {
    margin: 1em 1em 0 0;
}

#desk-view-heading {
    margin: 0em 1em 0 0.7em;
    border-bottom: 1px solid white;
}

@media (max-width: 600px) {
    #desk-view-div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #desk-info-div {
        width: fit-content;
    }

    #desk-button-div {
        width: fit-content;
    }

    #desk-view-heading {
        text-align: center;
    }
}

/* VENUE FORMS STYLING */
/* .venue-booking-modal {
    position: relative;
    display: flex;
    justify-content: center;
} */

.venue-modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: #fefefe;
    margin: 3% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 20px;
}

#venue-form {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 1em;
}

#venue-form h1 {
    text-align: center;
    flex-grow: 1;
    color: var(--text-dark);
}

#venue-form h2,
#venue-form p {
    color: var(--text-dark);
}

#venue-form label,
#venue-form strong {
    color: var(--text-dark);
}

#venue-form input,
#venue-form textarea,
#venue-form select {
    background-color: var(--background-box);
    color: var(--text-dark);
}

#date-pick,
#start-time,
#end-time {
    color: var(--text-bright);
}

#venue-form .close {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 5px;
    margin-right: 15px;
    text-align: right;
}

#venue-form>div {
    display: flex;
    margin: 0 0 1em 0;
    width: 100%;
}

/*SINGLE COLUMN IN A ROW*/
.single-col-input>label {
    flex: 1 1 0;
}

.single-col-input input,
.single-col-input textarea {
    width: calc(50% - (1.5rem / 2));
    box-sizing: border-box;
}


/*MULTIPLE COLUMNS IN A ROW*/
#venue-form h3 {
    margin: 0;
}

/*Elements take up equal space*/
.column-inputs>label {
    flex: 1 1 0;
}

/*So that the padding between labels is equal*/
/* Odd columns */
.column-inputs>label:nth-of-type(2n+1) {
    padding-right: calc(1.5rem / 2);
}

/* Even columns */
.column-inputs>label:nth-of-type(2n+2) {
    padding-left: calc(1.5rem / 2);
}

.column-inputs input {
    box-sizing: border-box;
    width: 100%;
}

.radio-inputs>label:nth-of-type(1) {
    padding-right: 2em;
}

#venue-form>button {
    width: 20em;
    height: 3em;
    align-self: center;
}

/* Sign in page header */
#sign-in-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

#organiser-div {
    flex-wrap: wrap;
}

#organiser-div > input {
    width: initial;
    flex-grow: 1;
}

.event-details-div {
    display: flex;
    justify-content: space-between;
}

#attendees {
    width: 100%;
}

/*Makes the form responsive for different screen sizes*/
@media (max-width: 900px) {
    #venue-form>div {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        gap: 0.5em;
    }

    /* .event-details-div {
        flex-direction: column;
    } */

    .column-inputs>label:nth-of-type(2n+2) {
        padding-left: 0;
    }

    .column-inputs>label:nth-of-type(2n+1) {
        padding-right: 0;
    }

    .single-col-input input,
    .single-col-input textarea {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Vaccination form */
#at-vaccinate-form #btn-group {
    margin-top: 2em;
    margin-bottom: 0;
    justify-content: center;
}

#at-vaccinate-form #btn-group>button {
    width: 8em;
}

#at-vaccinate-form #btn-group>button:first-of-type {
    margin-right: 2.5em;
}

#at-vaccinate-form p {
    text-align: left;
}

/* Covid Page */
#align-center {
    align-items: center;
}

#vaxProofUploaded {
    font-size: 8em;
    color: rgba(0, 255, 0, 0.85);
    margin-left: 0.3em;
}

#vaxProofValidated {
    font-size: 8em;
    color: rgba(0, 255, 0, 0.85);
}

#vaxProofNotUploaded {
    font-size: 8em;
    color: rgba(255, 0, 0, 0.85);
}

#imagePreview {
    height: 10em;
    width: 10em;
    background-position: center center;
    background-size: cover;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    display: inline-block;
}

#pdfViewer {
    height: 10em;
}

/* loading start */
.loading {
    color: red;
    font-size: 0.25em;
    margin: 25px auto;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes load4 {

    0%,
    100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

@keyframes load4 {

    0%,
    100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

/* loading end */

/*QR Code Canvas*/
#qrCode {
    margin-top: 5em;
    margin-bottom: 5em;
}

/*End QR Code Canvas*/


/** Bread crumb START **/

/* Style the list */
/* ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    background-color: #eee;
} */

/* Display list items side by side */
ul.breadcrumb li {
    display: inline;
    /* font-size: 18px; */
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
    padding: 8px;
    /* color: black; */
    content: "/\00a0";
}

/* Add a color to all links inside the list */
/* ul.breadcrumb li a {
    color: #0275d8;
    text-decoration: none;
} */

/* Add a color on mouse-over */
/* ul.breadcrumb li a:hover {
    color: #01447e;
    text-decoration: underline;
} */

/** Bread crumb END **/


/** Autocomplete Start **/

.autocomplete {
    position: relative;
    display: inline-block;
}

/* input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}

input[type=text] {
background-color: #f1f1f1;
width: 100%;
} */
/* 
input[type=submit] {
background-color: DodgerBlue;
color: #fff;
cursor: pointer;
} */

.autocomplete-items {
position: absolute;
border: 1px solid #d4d4d4;
border-bottom: none;
border-top: none;
z-index: 99;
/*position the autocomplete items to be the same width as the container:*/
top: 100%;
left: 0;
right: 0;
width: fit-content;
box-shadow: 3px 3px 9px rgb(32 43 56 / 60%);
}

.autocomplete-items div {
padding: 10px;
cursor: pointer;
background-color: #fff; 
border-bottom: 1px solid #d4d4d4; 
color: var(--text-dark);
}

/*when hovering an item:*/
.autocomplete-items div:hover {
background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
background-color: DodgerBlue !important; 
color: #ffffff; 
}

/** Autocomplete End **/