
html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
/*  margin-bottom: 1rem;*/
}

/* unicode zero width space character */
span {
    min-height: 1.2rem;
    display:inline-block;
}

#progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100; /*bootstrap modal default z-index datalist 1050*/
    width: 100vw;
    height: 100vh;
    object-fit: none;
    background: rgba(255, 255, 255, 0.1);
}

    #progress img {
        position: absolute;
        margin: auto;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

.stream-container {
    justify-content: center;
}

/*.stream {
    max-width: 640px;
}
    .stream img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        cursor: pointer;
        background: url(../img/placeholder.jpeg) no-repeat scroll 0 0;
        background-position: center;
    }*/

.stream {
    max-width: 640px;
    background: url(../img/placeholder3.png) no-repeat scroll 0 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: auto 16 / 9;
    width: 100%;
    overflow: hidden;
}

    .stream img {
        width: 100%;
        cursor: pointer;
        transition: transform 0.2s ease; /* Плавность анимации */
    }

    .stream:hover img {
        transform: scale(2); /* Увеличение в 2 раза */
    }

.photo-container {
    justify-content: center;
    background: var(--bs-body-bg);
}

.photo {
    background: url(../img/placeholder3.png) no-repeat scroll 0 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: auto 16 / 9;
    width: 100%;
}

    .photo img {
        height: 100%;
        width: 100%;
        cursor: pointer;
    }

.thumb {
    background: url(../img/placeholder3.png) no-repeat scroll 0 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: auto 16 / 9;
    min-width: 270px;
    overflow: hidden;
}

    .thumb img {
        height: 100%;
        width: 100%;
        cursor: pointer;
        transition: transform 0.2s ease; /* Плавность анимации */
    }

    .thumb:hover img {
        transform: scale(2); /* Увеличение в 2 раза */
    }

.plate {
    text-shadow: 0px 0px 1.5px black;
    -webkit-text-stroke: 1.5px black;
    //box-shadow: 0px 0px 5px 5px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}
    .plate:empty {
        background: none;
    }


.motion {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid black;
    vertical-align: middle;
    margin-right: 10px;
    background: #00ff21;
    min-height: 0;
}

.colorrect {
    width: 24px;
    height: 24px;
    border: 1px solid black;
    display:inline-flex;
}
    .colorrect.black {
        background-color: black;
    }
    .colorrect.blue {
        background-color: darkblue;
    }
    .colorrect.brown {
        background-color: saddlebrown;
    }
    .colorrect.gold {
        background-color: darkgoldenrod;
    }
    .colorrect.gray {
        background-color: gray;
    }
    .colorrect.green {
        background-color: darkgreen;
    }
    .colorrect.orange {
        background-color: darkorange;
    }
    .colorrect.purple {
        background-color: rebeccapurple;
    }
    .colorrect.red {
        background-color: red;
    }
    .colorrect.silver {
        background-color: silver;
    }
    .colorrect.tan {
        background-color: tan;
    }
    .colorrect.white {
        background-color: white;
    }
    .colorrect.yellow {
        background-color: yellow;
    }


table tbody tr {
    cursor: pointer;
}

.install img {
    width: 100%;
}

.platehighlight {
    background-color: transparent;
    animation-name: platehighlightcolor;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes platehighlightcolor {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: var(--bs-primary);
    }

    100% {
        background-color: transparent;
    }
}