/* ------------------------------------------------------------ Mobile App */
.grid {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}
.mobile-device .mobile-container {
    padding: 0 5px; 
}
.mobile-device .mobile-container.mobile-container--centered {
    text-align: center;
}
.mobile-device .mobile-container p {
    text-align: left;
    margin-bottom: 1em;
}
.mobile-device .mobile-container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1em;
}
.mobile-device .mobile-container ul b {
    display: inline-block;
    padding-right: 5px;
}

.mobile-device h4 {
    text-align: center;
}
.mobile-device a, .mobile-device a:visited {
    color: var(--primary);
}
.mobile-device a:hover, .mobile-device a:active {
    color: var(--alt);
}

.mobile-device .grid {
    display: grid;
    grid-template-columns: 75px auto;
    gap: 0.5em;
    justify-content: stretch;
}

.reservation {
    background: var(--alt);
    border-radius: 5px;
    padding: 7px;
}
.reservation h5 {
    line-height: 1em;
}
.mobile-device .grid .reservation p {
    margin-bottom: 5px;
    font-size: 0.8em;
}
.reservation .button-row {
    display: flex;
    gap: 5px;
}
.reservation .button-row button {
    flex: auto;
}

.mobile-device .mobile-container .container-row {
    font-size: 0.8em;
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.grid.auto-height {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto 2em;
    height: calc(100% - 2em);
    justify-content: stretch;
}
.grid.auto-height.auto-height--custom {
    grid-template-rows: auto 5em;
}
.grid-row.grid-row--lights {
    margin-top: 4em;
}

.mobile-device nav ul {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.mobile-device nav ul li {
    padding: 5px;
    background: var(--primary);
    color: white;
    flex: auto;
    text-align: center;
}
.active {
    opacity: 0.8;
}
.legends {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    padding: 0.25em;
}
.legends ul {
    display: flex;
    flex-direction: row;
    column-gap: 0.5em;
}
.lights {
    position: relative;
    margin: 0 auto;
    width: min-content;
}
.lights__outer, .lights__inner {
    border-radius:3000px;
    width: 200px;
    height: 200px;
}
.lights__outer {
    border: 4px solid var(--secondary);
    border-bottom-color: transparent;
}
.lights__inner {
    position: absolute;
    top: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    flex-direction: column;
}
.lights.lights--off .lights__inner {
    margin: 4px;
}
.lights:not(.lights--off) .lights__inner {
    border: 4px solid var(--dark-orange);
    border-bottom-color: transparent;
    border-right-color: transparent;
}

.form-row {
    padding: 0 0.5em;
    position: relative;
    display: flex;
    column-gap: 8px;
    align-items: stretch;
    justify-content: stretch;
    margin-bottom: 10px;
}
.form-row.split {
    flex-direction: column;
}
.form-row:not(.split) label {
    flex: 95px 0 0;
}
.form-row input, select, textarea {
    border-radius: 4px;
    padding: 5px;
    border: 1px solid var(--primary);
    display: block;
    flex: auto 1 1;
}
.form-row .input {
    position: relative;
}
.form-row .input input {
    box-sizing: border-box;
    width: 100%;
    padding-left: 30px;
}
.form-row .input i {
    position: absolute;
    top: 6px;
    left: 6px;
}

.center {
    text-align: center;
}
.qrcode {
    font-size: 5em;
    margin-bottom: 0;
    text-align: center;
}

.range label, .range input{
    display: block;
    width: 100%
}
.range .bar {
    width: 100%;
    height: 25px;
    display: block;
}
.range .bar--light, .range .range-slider--light {
    background: linear-gradient(to right, rgb(192, 163, 0), rgb(255, 244, 180), rgb(250, 248, 235));
}
.range .bar--heat, .range .range-slider--heat {
    background: linear-gradient(to right, rgb(0, 119, 255), rgb(255, 145, 0));
}
.range .range-legend {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 20px;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin: 0;
}
  
.range-slider:hover {
    opacity: 1;
}
  
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background: var(--secondary);
    cursor: pointer;
}
  
.range-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background: var(--secondary);
    cursor: pointer;
}
.row {
    margin: 0.25em;
}
h4 + .row {
    margin-top: 0;
}

.knitting > :not(h4) {
    font-size: 0.9em;
}
.mobile-device .knitting h4 {
    margin-bottom: 0.5em;
    padding: 0 5px;
}
.mobile-device .knitting p {
    margin-bottom: 0.5em;
    padding: 0 5px;
}

.grid.app-list {
    display: grid;
    margin: 0 auto;
    width: fit-content;
    justify-content: center;
}

.qr-window {
    border: 2px solid black;
    background-image: url(../img/wood-texture.jpg);
    height: calc(100% - 2em);
    margin-top: 5px;
    position: relative;
    box-shadow: inset 0px 0px 15px 5px #000000;
}
.qr-sticker {
    background: white;
    box-shadow: 1px 1px 4px #000;
    padding: 10px;
    text-align: center;
    width: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.qr-highlight {
    border: 3px dashed var(--green);
    width: 130px;
    height: 130px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-70%);
}
.qr-sticker .fa-qrcode {
    font-size: 5em;
    margin-bottom: 0;
}
.mobile-device .qr-sticker p {
    font-size: 0.7em;
    margin-bottom: 0;
    text-align: center;
}

.bottom-button-bar {
    text-align: center;
}

.map-arrow {
    display: none;
}

.grid-heading p {
    margin-bottom: 0;
}

#second-floor {
    width: 277px !important;
    margin-left: 5px !important;
    margin-right: auto !important;
}