
#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;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    background-color: #121314;
}

.sensor-readings-header {
    background-color: #252629;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.sensor-readings-header-content {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #fff;
    align-items: center;
}

.sensor-readings-logo {
    height: 60px;
    fill: #fff;
}

.sensor-readings-logo-text {
    height: 22px;
    fill: #fff;
}

.sensor-readings-logo-button {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sensor-readings-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 0;
}

.sensor-readings-content-container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    background-color: #252629;
    border-radius: 0.25rem;
    margin: 2rem;
}

.sensor-readings-content-top {
    display: grid;
    grid-template-areas: 'topLeft topRight'
        'bottom bottom';
    grid-gap: 2rem;
}

.sensor-readings-content-title {
    grid-area: topLeft;
}

.sensor-readings-title-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sensor-readings-title-container .sensor-readings-low-title:not(:first-child) {
    margin-left: 1.5rem;
}

.sensor-readings-title {
    color: #fff;
    font-size: 24px;
    word-break: break-all;
    margin: 0px 0px 0.5rem 0px;
}

.sensor-readings-low-title {
    color: #fff;
    font-size: 18px;
    word-break: break-all;
    margin: 0px;
}

.sensor-readings-qrcode-cotainer {
    grid-area: topRight;
    margin-left: 4rem;
    position: relative;
    padding: 20px;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.sensor-readings-qrcode-cotainer img {
    position: relative;
    z-index: 10;
}

.sensor-readings-qrcode-cotainer canvas {
    position: relative;
    z-index: 10;
    max-width: 123px;
}

.sensor-readings-qrcode {
    width: 130px;
    height: 130px;
}

.sensor-readings-qrcode-background {
    position: absolute;
    height: 180px;
    min-width: 228px;
    top: 50%;
    right: 0%;
    transform: translate(10px, -88px);
}

.sensor-readings-qrcode-background-top {
    fill: #252629;
}

.sensor-readings-qrcode-background-button {
    fill: #222428;
    cursor: pointer;
}

.sensor-readings-qrcode-background-icon {
    fill: #a1a7b3;
    pointer-events: none;
}

.sensor-readings-qrcode-background-button-shadow {
    fill: #252629;
    filter: drop-shadow(1px 1px 4px #00000080);
    pointer-events: none;
}

.sensor-readings-qrcode-background-button:hover {
    fill: #1e1f23;
}

.sensor-readings-qrcode-background-shadow {
    filter: drop-shadow(2px 2px 5px #19191c);
    fill: #252629;
}

.sensor-readings-display-container {
    grid-area: bottom;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 20px;
    padding: 0px;
    margin: 0rem 0rem 2rem 0rem;
}

.sensor-readings-display-container li {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
    border-radius: 0.25rem;
    cursor: pointer;
    height: 150px;
    color: #a1a7b3;
    box-shadow: 2px 2px 5px 2px #1a1c20;
}

.sensor-readings-display-container li:hover {
    box-shadow: 1px 1px 7px 3px #1b1d20;
    transform: scale(1.01);
}

.cap-icon-sphere {
    width: 100%;
    height: 64px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    margin-top: 0.5rem;
}

.gauge-icon-back {
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.gauge-icon-back-sphere {
    fill: #5975AB;
}

.gauge-icon-cap {
    position: absolute;
    width: 40%;
    height: 60%;
    object-fit: contain;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    fill: #fff;
}

.analytics-picker-list-content {
    padding: 0.4rem 0.8rem 0rem 0.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.analytics-picker-data-container {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    text-align: center;
    font-size: 24px;
    white-space: nowrap;
    line-height: 1;
}

.analytics-picker-data-container::-webkit-scrollbar-thumb {
    background-color: #6a73e7;
    border-radius: 999px;
}

.analytics-picker-data-container::-webkit-scrollbar {
    height: 3px;
    width: 8px;
    margin: 0px;
}

.analytics-picker-unit {
    font-size: 12px;
}

.analytics-picker-name {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-size: 14px;
}

.sensor-reading-alert {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -85%);
    width: 60px;
    min-width: 60px;
}

.sensor-readings-data-container {
    display: flex;
    flex-direction: row;
    color: #a1a7b3;
    align-items: center;
    font-size: 14px;
    margin-right: 2rem;
}

.sensor-readings-data-container svg {
    margin-right: 0.5rem;
    fill: #a1a7b3;
    width: 16px;
    min-width: 16px;
}

.sensor-readings-sensors-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    margin: 1rem 0rem 0.5rem 0rem;
    padding: 0px;
}

.sensor-readings-sensor {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: #fff;
    transition: .35s;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: none;
    outline: 0;
    margin-bottom: 0.5rem;
    font-size: 12px;
    background-color: #40557f;
    min-width: 100px;
    max-height: 26px;
}

.sensor-readings-sensor:not(:last-child) {
    margin-right: 0.5rem;
}

.sensor-readings-sensor svg {
    height: 14px;
    width: 14px;
    min-width: 14px;
    fill: #fff;
    margin-right: 0.5rem;
}

.sensor-readings-wrong-container {
    width: 100%;
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.sensor-readings-wrong-circle {
    height: 124px;
    width: 124px;
}

.sensor-readings-wrong-circle circle {
    fill: transparent;
    stroke: #1f1f22;
    stroke-width: 3;
}

.sensor-readings-wrong-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    fill: #1f1f22;
}

.sensor-readings-wrong-hex {
    height: 40px;
    width: 36px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-170%, -140%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sensor-readings-wrong-hex-back {
    width: 100%;
    height: 100%;
    max-width: 100%;
    fill: #5975AB;
}

.sensor-readings-room-icon {
    position: absolute;
    width: 40%;
    height: 60%;
    object-fit: contain;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    fill: #fff;
}

.sensor-readings-wrong-text {
    color: #a1a7b3;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 750px) {
    .sensor-readings-display-container {
        grid-template-columns: auto auto auto;
    }
}

@media (max-width: 650px) {

    .sensor-readings-content-top {
        grid-template-areas: 'topLeft' 'bottom' 'topRight';
    }

    .sensor-readings-qrcode-cotainer {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 0px;
    }

    .sensor-readings-qrcode-background {
        position: absolute;
        height: 180px;
        min-width: 228px;
        top: 50%;
        right: 50%;
        transform: translate(93px, -88px);
    }

    .sensor-readings-display-container {
        margin: 0px;
    }
}

@media (max-width: 580px) {

    .sensor-readings-content-container {
        margin: 2rem 0rem 0rem 0rem;
        border-radius: unset;
    }

    .sensor-readings-content-container {
        margin: 0px;
        transform: translateY(-2px);
        min-height: calc(100vh - 92px);
    }

    .sensor-readings-header {
        box-shadow: 2px 2px 5px 1px #11172260;
        z-index: 10;
        position: relative;
    }
}

@media (max-width: 540px) {
    .sensor-readings-display-container {
        grid-template-columns: auto auto;
    }

    .sensor-readings-header-text {
        display: none;
    }

    .sensor-readings-title-container .sensor-readings-low-title:not(:first-child) {
        margin-left: 0rem;
    }

}

@media (max-width: 360px) {
    .sensor-readings-content-container {
        padding: 1.5rem;
    }
}

.loading-asset {
    animation: spinner;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.loading-layer-1 {
    fill: #333f59;
}

.loading-layer-2 {
    fill: #3d4e70;
}

.loading-layer-3 {
    fill: #495e88;
}

.loading-layer-4 {
    fill: #546da0;
}

.loading-layer-5 {
    fill: #5f7cb8;
}

.loading-layer-6 {
    fill: #6a8bcf;
}

.loading-layer-7 {
    fill: #759be8;
}

.loading-layer-8 {
    fill: #80aaff;
}

.general-loader-container, .framed-loader-container, .background-loader-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.general-loader-container svg, .framed-loader-container svg, .background-loader-container svg {
    width: 80px;
    height: 80px;
}

.framed-loader-container {
    margin: 1rem 0rem;
}

.background-loader-container {
    height: 100vh;
    position: fixed;
    align-items: center;
    top: 0px;
    left: 0px;
}

#sensor-readings-print-printing {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: -10;
}

#sensor-readings-print {
    padding: 2rem;
    max-width: 340px;
    background-color: #5a61d2;
}

.sensor-readings-print-container {
    padding: 0.5rem;
    background-color: #747cfb;
    border-radius: 0.25rem;
    box-shadow: 2px 2px 5px 1px #11172260;
    display: flex;
    flex-direction: column;
}

.sensor-readings-print-name-container {
    order: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 0.5rem;
    border-radius: 10px;
    box-shadow: 2px 2px 5px 1px #11172260;
    padding: 0.2rem 0.5rem;
    background-color: #6b72e2;
    color: #fff;
}

.sensor-readings-print-icon {
    height: 30px;
    width: 30px;
    min-width: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.5rem;
}

.sensor-readings-print-icon svg {
    height: 80%;
    fill: #3a4c70;
}

.sensor-readings-print-text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    font-size: 1.1rem;
}

.sensor-readings-print-footer {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111e39;
    text-align: center;
    margin: 1rem 0rem 0rem 0rem;
}

.collapse-flex-left {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
}
.img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    padding: 2rem;
    background-color: #252629;
    border-radius: 0.25rem;
    margin: 2rem;
    min-width: 500px;
}

.img-preview {
    width: 100%;
    margin-bottom: 2rem;
}

.download-button {
    background-color: #6688cc;
    font-size: 14px;
    cursor: pointer;
    padding: 0.75rem 1.2rem;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
}
/*=========================================================================================================================================================================================================================*/
/* ANIMATIONS */
/*=========================================================================================================================================================================================================================*/
@keyframes spinner {
    0% {
        transform: rotateZ(0deg);
    }
}

.sensor-description-title {
    color: #fff;
    font-size: 16px;
}

.collapse-flex-right {
    margin-left: 0.7rem;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.collapse-flex, .collapse-flex-bottom, .collapse-flex-left-double {
    display: flex;
    flex-direction: row;
    position: relative;
}

    .collapse-flex-left-double select:first-child, .collapse-flex-left-double input:first-child, .collapse-flex-left-double div:first-child {
        margin-right: 1rem;
    }

.collapse-flex-bottom {
    margin-top: 1rem;
}

.sensor-report-capability-selector-container {
    width: 100%;
    background-color: #252629;
    border: 2px solid #37393d;
    height: 35px;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.sensor-report-capability-selector-select {
    padding: 0px 15px;
    color: #dedede;
    font-size: 14px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sensor-report-capability-selector-icon {
    fill: #ffffff;
    min-width: 26px;
    width: 26px;
    height: 100%;
    padding-right: 0.6rem;
}

.properties-selector-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0px;
    padding: 5px 15px;
    white-space: nowrap;
}

    .properties-selector-label:nth-child(2n+2) {
        background-color: #212124;
    }

.properties-selector-checkbox {
    margin-right: 0.5rem;
}

.sensor-report-sensors-selector {
    position: absolute;
    top: 38px;
    left: -2px;
    display: flex;
    flex-direction: column;
    z-index: 5;
    min-width: calc(100% + 4px);
    background-color: #252629;
    border: 2px solid #37393d;
    border-radius: 0.25rem;
    color: #dedede;
}

.sensor-report-sensors-selector-hidden {
    display: none;
}

@media (max-width: 600px) {
    .collapse-flex, .collapse-flex-bottom {
        flex-direction: column;
    }

    .collapse-flex-left, .collapse-flex-right {
        margin: 0px;
    }
}

.img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    padding: 2rem;
    background-color: #252629;
    border-radius: 0.25rem;
    margin: 2rem;
}

.img-preview {
    width: 100%;
    margin-bottom: 2rem;
}

.download-button {
    background-color: #6688cc;
    font-size: 14px;
    cursor: pointer;
    padding: 0.75rem 1.2rem;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
}

    /*=========================================================================================================================================================================================================================*/
    /* ANIMATIONS */
    /*=========================================================================================================================================================================================================================*/
    @keyframes spinner {
        0% {
            transform: rotateZ(0deg);
        }

        12.499% {
            transform: rotateZ(0deg);
        }

        12.5% {
            transform: rotateZ(45deg);
        }

        24.999% {
            transform: rotateZ(45deg);
        }

        25% {
            transform: rotateZ(90deg);
        }

        37.499% {
            transform: rotateZ(90deg);
        }

        37.5% {
            transform: rotateZ(135deg);
        }

        49.999% {
            transform: rotateZ(135deg);
        }

        50% {
            transform: rotateZ(180deg);
        }

        62.499% {
            transform: rotateZ(180deg);
        }

        62.5% {
            transform: rotateZ(225deg);
        }

        74.999% {
            transform: rotateZ(225deg);
        }

        75% {
            transform: rotateZ(270deg);
        }

        87.499% {
            transform: rotateZ(270deg);
        }

        87.5% {
            transform: rotateZ(315deg);
        }

        99.999% {
            transform: rotateZ(315deg);
        }

        100% {
            transform: rotateZ(360deg);
        }
    }
