body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    background-color: #f5f5f5 !important;
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

h2 {
    font-size: 1.5em !important;
}

h3 {
    font-size: 1.2em !important;
}

h4 {
    font-size: 1.1em !important;
    font-weight: bold;
}

video {
    display: block;
    min-width: 320px;
    min-height: 160px;
    max-height: 320px;
    margin: 0 auto;
}

input[type=checkbox] {
    border: thin solid #474747;
    border-radius: 2px;
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
    vertical-align: sub;
}

.content {
    display: flex;
    gap: 1rem;
}
.content.left {
    justify-content: flex-start;
}
.content.right {
    justify-content: flex-end;
}

.btn-warning {
    display: inline-block;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid #ffc107;
    border-radius: .375rem;
    background-color: #ffc107 !important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-warning:disabled {
    background-color: #ccc !important;
    border-color: #ccc;
}

.accept_checkbox {
    padding: .375rem;
}

div.webcam {
    position: relative;
    width: 100%;
    min-width: 200px;
}

div.webcam .logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20%;
    max-width: 250px;
}

div.webcam .logo img {
    width: 100%;
    height: auto;
}

div.webcam div.header {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

div.webcam div.footer {
    padding: 10px;
    box-sizing: border-box;
}

div.webcam div.footer h3:first-of-type {
    text-align: center;
}

div.webcam div.info {
    margin: 0 auto;
    width: 90%;
    max-width: 900px;
    font-size: 0.95em;
    box-sizing: border-box;
    padding: 1em;
    background-color: #a7ffeb;
    color: #000000;
    border: thin solid #00bfa5;
    border-radius: 4px;
}

div.webcam div.info h4 {
    font-size: 0.9em;
    font-weight: bold;
}

div.webcam div.info ol {
    margin: 0;
}

@media screen and (max-width: 420px) {
    div.webcam .logo {
        width: 50%;
        max-width: none;
    }

    div.webcam div.header h2 {
        margin-top: 80px;
        font-size: 1.2em !important;
    }

    div.webcam div.info {
        width: 98%;
    }
}

div.rules {
    grid-column: 1/4;
    grid-row: 3;
    margin: 0 auto 1rem auto;
    max-width: 840px;
    min-width: 280px;
}

div.rules .metric-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

div.rules .metric-info .name {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

div.rules .metric-info .name h2 {
    color: #333333;
}

div.rules .metric-info .photo {
    width: 200px;
    min-height: 180px;
    max-height: 240px;
    background-color: #cccccc;
}

div.rules .metric-info .photo img {
    width: 100%;
    height: auto;
}

div.rules .metric-info .photo.no-metric {
    background-image: url("../images/face_scanner.png");
    background-repeat: no-repeat;
    background-position: center;
}

div.rules .metric-info textarea {
    width: 100% !important;
    min-width: 100%;
    min-height: 12rem;
    max-height: 12rem;
}

div.rules .metric-info button:disabled {
    background-color: #cccccc;
}

div.webcam2 {
    display: none;
    position: relative;
    grid-column: 1/4;
    grid-row: 3;
    width: 100%;
}

div.webcam2.visible {
    display: block;
}

div.webcam2 video {
    display: block;
    margin: 0 auto;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
    border: 1px solid #000;
}

div.webcam2 div.face-mask {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    -moz-transform: translate(-50%, 50%);
    -webkit-transform: translate(-50%, 50%);
    -o-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
}

div.webcam2 div.status-message2 {
    display: block;
    position: absolute;
    bottom: 5%;
    left: 50%;
    background-color: rgba(0, 0, 0, .5);
    padding: 0.2rem 0.3rem;
    box-sizing: border-box;
    max-width: 160px;
    color: #ffffff;
    font-weight: bold;
    border-radius: 3px;
    -moz-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -o-transform: translate(-50%);
    transform: translate(-50%);
}

div.webcam2 div.status-message2 img {
    display: block;
    margin: 0 auto;
    width: 100px;
    max-height: 140px;
}

div.webcam-message {
    display: block;
    position: absolute;
    top: 110%;
    left: 50%;
    max-width: 320px;
    padding: 0.1rem 0.2rem;
    box-sizing: border-box;
    border-radius: 3px;
    background-color: orange;
    color: black;
    text-align: center;
    -moz-transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -o-transform: translate(-50%);
    transform: translate(-50%);
}

div.confirm-message {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    z-index: 999;
    background-color: rgba(0, 0, 0, .8);
}

div.confirm-message div.message {
    margin: 5rem auto 0 auto;
    width: 60%;
    max-width: 640px;
    min-width: 180px;
    background-color: #f5f5f5;
    border: thin solid #cccccc;
    border-radius: 3px;
    padding: 0.4rem 1rem;
    box-sizing: border-box;
}

div.confirm-message div.message img {
    display: block;
    margin: 0 auto;
    width: 180px;
    max-height: 360px;
}

div.confirm-message div.message .center {
    display: block;
    margin: 1rem auto;
}

div.confirm-message div.message .icon {
    max-width: 90%;
    min-height: 24px;
    background-repeat: no-repeat;
    background-position: 0 0;
    padding-left: 32px;
}

div.confirm-message div.message .icon.success {
    background-image: url("../images/icons/mark.png");
}
div.confirm-message div.message .icon.deny {
    background-image: url("../images/icons/cross.png");
}


.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    grid-auto-rows: minmax(auto, auto);
}

.header {
    grid-column: 1 / 4;
    grid-row: 1;
}

.header .logo {
    padding: 1rem;
    box-sizing: border-box;
}

.header .logo img {
    width: 200px;
}

.login {
    grid-column: 2;
    grid-row: 2;
    min-width: 200px;
}

.metric-search {
    grid-column: 2;
    grid-row: 2;
    min-width: 200px;
}

.metric-found {
    grid-column: 2;
    grid-row: 3;
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-found .metric-image {
    width: 200px;
    height: auto;
}

.dashboard {
    grid-column: 1/4;
    grid-row: 3;
}

.dashboard-filter {
    grid-column: 1/4;
    grid-row: 2;
}

.event-photo {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-width: 320px;
    max-width: 480px;
}

.event-photo img {
    width: 100%;
    height: auto;
}

.flash {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 1em;
    box-sizing: border-box;
    border-radius: 3px;
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 1s ease-out;
    transform: translateX(-50%) translateY(60px);
    z-index: 999;
}

.flash.on {
    opacity: 1;
}

.camWrapper {
    position: relative;
}

.status-message {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    max-width: 320px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 1em;
    box-sizing: border-box;
    border-radius: 3px;
    font-size: 0.8em;
    transition: opacity 1s ease-out;
}

.status-message img {
    display: inline-block;
    vertical-align: center;
    max-width: 100px;
    max-height: 100px;
    border-radius: 6px;
    border: 1px solid #ffffff;
}

.status-message img + span {
    display: block;
    position: absolute;
    top: -16px;
    right: -16px;
    width: 64px;
    height: 64px;
}

.status-message img + span.success {
    background-image: url("success.png");
}

.status-message img + span.failure {
    background-image: url("failure.png");
}

.new-metrics-list {
    display: flex;
    flex-flow: column;
    width: 100%;
    min-width: 800px;
}

.new-metrics-list li {
    display: flex;
    flex-flow: row;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    border: thin solid gray;
    background: lightgray;
}

.new-metrics-list li div {
    width: 33%;
}

.new-metrics-list li div span {
    display: block;
    padding: 0.2em;
    box-sizing: border-box;
}

.new-metrics-list .metric-image {
    width: 240px;
    height: auto;
}

div.font-size {
    position: absolute;
    display: flex;
    flex-direction: row;
    top: 20px;
    width: 100px;
    left: calc(50% - 50px);
}
div.font-size button {
    font-size: 1rem;
    width: 50px;
    height: 50px;
    background-color: white;
    border: thin solid darkgray;
}
div.font-size button:hover {
    border-color: dimgray;
}
div.font-size button:focus {
    outline: none;
}
div.font-size button:first-of-type {
    border-radius: 5px 0 0 5px;
}
div.font-size button:last-of-type {
    border-radius: 0 5px 5px 0;
}
div.font-size button.icon {
    background-repeat: no-repeat;
    background-position: center;
}
div.font-size button.icon.plus {
    background-image: url('font_plus.png');
}
div.font-size button.icon.minus {
    background-image: url('font_minus.png');
}

div.slider-list {
    display: block;
    color: darkslategrey;
}

div.slider-list .menu {
    display: none;
}

div.slider-list .menu + label {
    cursor: pointer;
}
div.slider-list .menu + label:hover {
    text-decoration: underline;
}

div.slider-list .menu + label.header {
    color: white;
    background-color: royalblue;
    border-radius: 3px;
    padding: 0.3em;
}

div.slider-list .menu + label + div {
    height: auto;
    margin-left: 1em;
}

@keyframes loading-item {
  100% {transform: rotate(360deg);}
}

div.slider-list .menu + label + div.loading:before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    background-color: skyblue;
    animation: loading-item;
    animation-iteration-count: infinite;
    animation-duration: 500ms;
}

div.slider-list .menu + label:before {
    display: inline-block;
    content: "\276D";
    margin-right: 0.6em;
    transform: rotate(90deg);
}

div.slider-list .menu:checked + label:before {
    transform: rotate(0deg);
}

div.slider-list .menu:checked + label + div {
    overflow: hidden;
    height: 0;
}

div.slider-list span.text-box {
    padding: 0.2em 0.3em;
    margin: 0 0.4em;
    border-radius: 3px;
}

div.slider-list span.text-box.info {
    background-color: lightskyblue;
}

div.slider-list span.text-box.attention {
    background-color: orange;
}

div.slider-list span.text-box.warning {
    color: white;
    font-weight: bold;
    background-color: darkred;
}

div.slider-list p.item {
    padding: 0.2em 0.3em;
    cursor: pointer;
    border: thin solid rgba(0, 0, 0, 0);
}

div.slider-list p.item:hover {
    border: thin solid skyblue;
    border-radius: 3px;
}

@keyframes loading {
  0%   {left: calc(50% - 20px); top: 50%;}
  25%  {left: 50%; top: 50%;}
  50%  {left: 50%; top: calc(50% + 20px);}
  75%  {left: calc(50% - 20px); top: calc(50% + 20px);}
  100% {left: calc(50% - 20px); top: 50%;}
}

div.violations-summary.loading:before {
    content: '';
    display: block;
    position: absolute;
    top: calc(50vw - 20px);
    left: calc(50vw - 20px);
    width: 20px;
    height: 20px;
    background-color: lightskyblue;
    animation-name: loading;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes slide {
    from {right: -600px;}
    to {right: 20px}
}

@font-face {
  font-family: GenerischSans-Thin;
  src: url('GenerischSans-Thin.ttf');
}

div.violations-summary {
    display: block;
    position: fixed;
    top: 1vh;
    bottom: 1vh;
    right: 20px;
    min-width: 600px;
    min-height: 600px;
    max-width: 800px;
    width: 30%;
    background-color: white;
    border: thin solid lightgray;
    overflow-x: hidden;
    overflow-y: scroll;
    box-sizing: border-box;
    padding: 2em;
    box-shadow: 5px 5px 10px darkgray;
    animation: slide;
    animation-duration: 500ms;
    animation-iteration-count: 1;
}

div.violations-summary div.metric-data {
    display: block;
}

div.violations-summary img.metric-image {
    display: inline-block;
    vertical-align: middle;
    width: 150px;
    border-radius: 50%;
    border: 4px solid lightskyblue;
}

div.violations-summary .metric-name {
    display: inline-block;
    font-size: 3em;
    font-family: GenerischSans-Thin, sans-serif;
    margin-left: 1rem;
}

div.violations-summary .metric-id {
    font-size: 12px;
    display: block;
    background-color: darkgray;
    color: white;
    box-sizing: border-box;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

ul.violations-list {
    color: #333;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.violations-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1rem;
    padding: 0.5rem 0;
    box-sizing: border-box;
    border-bottom: 1px solid lightgray;
}

ul.violations-list li img {
    max-height: 100px;
}

/* SUMMARY */

ul.summary-data {
    display: block;
    padding: 0;
    margin: 0;
    min-width: 840px;
    list-style: none;
    box-sizing: border-box;
}

ul.summary-data li {
    display: block;
    width: 100%;
    padding: 0;
    margin: 12px 0;
    border-radius: 3px;
}

ul.summary-data div.summary-record {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    padding: 8px 12px;
    color: #474747;
    border: thin solid #cccccc;
}
ul.summary-data div.summary-record:before, ul.summary-data div.summary-record:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #cccccc;
}
ul.summary-data div.summary-record:before {
    left: -4px;
    border-radius: 4px 0 0 4px;
}
ul.summary-data div.summary-record:after {
    right: -4px;
    border-radius: 0 4px 4px 0;
}


div.summary-record div {
    box-sizing: border-box;
}

div.summary-record div.row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

div.summary-record .no-data {
    text-align: center;
    font-size: 0.8rem;
    color: white;
    background-color: darkred;
    padding: .2rem .3rem;
    border-radius: 3px;
}

div.summary-record .small {
    font-size: 0.6rem;
}
div.summary-record .medium {
    font-size: 0.8rem;
}
div.summary-record .marked {
    padding: 0.1rem 0.2rem;
    background-color: #999999;
}

div.summary-record .nowrap {
    white-space: nowrap;
}

div.summary-record .label {
    background-color: #333333;
    color: #ffffff;
    font-size: 0.4rem;
}

div.summary-record.information {
    border-color: #79db98 !important;
}
div.summary-record.information:before, div.summary-record.information:after {
    background-color: #79db98 !important;
}
div.summary-record.information .marked {
    background-color: #79db98 !important;
}

div.summary-record.warning {
    border-color: #ffce73 !important;;
}
div.summary-record.warning:before, div.summary-record.warning:after {
    background-color: #ffce73 !important;
}
div.summary-record.warning .marked {
    background-color: #ffce73 !important;;
}

div.summary-record.critical {
    border-color: #ff4747 !important;;
}
div.summary-record.critical:before, div.summary-record.critical:after {
    background-color: #ff4747 !important;
}
div.summary-record.critical .marked {
    background-color: #ff4747 !important;;
}

div.summary-record .user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 10rem;
    max-width: 15rem;
}

div.summary-record .user-info .name {
    text-align: center;
}

div.summary-record .user-info .photo {
    width: 60px;
    max-height: 100px;
    overflow: hidden;
}

div.summary-record .user-info .photo img {
    display: block;
    width: 100%;
    border-radius: 50%;
}

div.summary-record .quiz-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
}

div.summary-record .icon-quiz::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-image: url("icon_quiz.svg");
    background-position: center;
    background-size: contain;
}

div.summary-record .datetime {
    display: flex;
    width: 10rem;
    align-items: flex-end;
    flex-direction: column;
    padding-right: 10px;
    text-align: right;
}

div.summary-record .events {
    position: relative;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s;
}
div.summary-record .events.activated {
    max-height: 800px;
}
div.summary-record .events div.timeline-current {
    position: relative;
    height: 2rem;
}
div.summary-record .events div.timeline-current > div {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    padding: .1rem .2rem;
    font-size: .8rem;
    background-color: #ff9124;
    border-radius: 3px;
}

div.summary-record .events div.timeline-space {
    position: relative;
    width: 100%;
    height: 40px;
    background-color: #429dff;
    overflow: hidden;
}

div.summary-record .events div.timeline-space div.timeline {
    position: relative;
    height: 2px;
    justify-self: center;
    margin: 10px auto 4px auto;
    background-color: #ffffff;
    transition: transform .4s;
}

div.summary-record .events div.timeline-space div.timeline-cursor {
    position: absolute;
    top: -4px;
    left: 50%;
}
div.summary-record .events div.timeline-space div.timeline-cursor:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    margin-left: -5px;
    border-width: 10px 5px 0 5px;
    border-color: #ff9124 transparent transparent transparent;
}
div.summary-record .events div.timeline-space div.timeline-buttons {
    position: absolute;
    top: 50%;
    max-width: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: .4rem;
}
div.summary-record .events div.timeline-space div.timeline-buttons.left {
    left: .4rem;
}
div.summary-record .events div.timeline-space div.timeline-buttons.right {
    right: .4rem;
}
div.summary-record .events div.timeline-space div.timeline-buttons div.timeline-button {
    background-color: #ff9124;
    border-radius: 5px;
    cursor: pointer;
    color: #000000;
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .2rem .4rem;
}
div.summary-record .events div.timeline-space div.timeline-buttons div.timeline-button span {
    display: block;
}
div.summary-record .events div.timeline-space div.timeline-buttons div.timeline-button:before {
    display: block;
    float: left;
    content: '';
    width: 2rem;
    height: 2rem;
    background-position: top;
    background-size: 2rem;
    background-repeat: no-repeat;
}
div.summary-record .events div.timeline-space div.timeline-buttons div.timeline-button.first:before {
    background-image: url("icons/rewind-double.svg");
}
div.summary-record .events div.timeline-space div.timeline-buttons div.timeline-button.prev:before {
    background-image: url("icons/rewind-single.svg");
}
div.summary-record .events div.timeline-space div.timeline-buttons div.timeline-button.last:before {
    background-image: url("icons/rewind-double.svg");
    transform: scaleX(-1);
}
div.summary-record .events div.timeline-space div.timeline-buttons div.timeline-button.next:before {
    background-image: url("icons/rewind-single.svg");
    transform: scaleX(-1);
}

div.summary-record .events div.timeline div.time-marker {
    position: absolute;
    font-size: .6rem;
}

div.summary-record .events div.timeline div.time-marker::before {
    content: '';
    display: block;
    width: 1px;
    height: 10px;;
    background-color: #ffffff;
}

div.summary-record .events div.timeline div.time-marker div.time-marker-label {
    margin-left: -50%;
    color: #ffffff;
}

div.summary-record .events div.timeline div.event-marker {
    position: absolute;
}
div.summary-record .events div.timeline div.event-marker::before {
    content: '';
    display: block;
    width: 1px;
    height: 16px;
    margin-top: -6px;
    background-color: red;
}
div.summary-record .events div.timeline div.event-marker.not-error::before {
    background-color: greenyellow !important;
}

div.summary-record .events ul.events-list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 80px 0 0 0;
    border-radius: 3px;
    transform: translateX(50%);
    transition: transform .4s;
}

div.summary-record .events ul.events-list li {
    display: block;
    margin: 0;
    padding: 0;
}

div.summary-record .events ul.events-list li div.photo {
    position: relative;
    width: 150px;
    transition: transform 0.4s;
}
div.summary-record .events ul.events-list input.event-obj {
    display: none;
}
div.summary-record .events ul.events-list input.event-obj + label {
    cursor: pointer;
}
div.summary-record .events ul.events-list input.event-obj:checked + label div.photo {
    position: relative;
    transform: scale(1.5) translateY(-15%);
    z-index: 99;
    background-color: white;
}

div.summary-record .events ul.events-list li div.photo img {
    display: block;
    max-width: 100%;
    max-height: 150px;
    margin-left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 4px #333333;
}
div.summary-record .events ul.events-list li div.photo div.photo-title {
    position: absolute;
    top: .2rem;
    left:50%;
    transform: translateX(-50%);
    font-size: .45rem;
    color: white;
    padding: .1rem .2rem;
    background-color: #ff9124;
    border-radius: 3px;
    text-align: center;
    z-index: 99;
}
div.summary-record .events ul.events-list li div.photo div.photo-label {
    position: absolute;
    bottom: .2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .45rem;
    color: white;
    padding: .1rem .2rem;
    background-color: #ff4747;
    border-radius: 3px;
    text-align: center;
    z-index: 99;
}
div.summary-record .events ul.events-list li div.photo div.photo-label.info {
    background-color: #79db98 !important;
}
div.summary-record .events ul.events-list li div.photo div.photo-label.warn {
    background-color: #ff9124 !important;
}
div.summary-record .events ul.events-list li div.photo div.photo-label.crit {
    background-color: #ff4747 !important;
}
div.desktop {
    position: relative;
    grid-column: 1/4;
    justify-self: center;
    width: 100%;
    max-width: 50vw;
    max-height: 50vh;
    min-width: 400px;
    min-height: 300px;
}
div.desktop div.warning {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: rgba(255, 23, 23, .8);
    color: #ffffff;
    box-sizing: border-box;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: #ff1717 1px solid;
    border-radius: .5rem;
}
@keyframes recording {
  0%   {opacity: 1;}
  50%  {opacity: 0;}
  100% {opacity: 1;}
}
div.desktop div.warning span.recording {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #ffffff;
    border: #ff1717 solid 3px;
    outline: #ffffff solid 3px;
    animation-name: recording;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    margin-right: .5rem;
}
/* Отказ с телефона (templates/device_denied.html, static/scripts/auth_device.js). */
.device-denied {
    margin: 3rem auto;
    max-width: 640px;
    padding: 2rem 1.5rem;
    border: 1px solid #f1aeb5;
    border-radius: .75rem;
    background: #fff5f5;
    text-align: center;
}
.device-denied-what {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    line-height: 1.5;
}
.device-denied-verdict {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #b02a37;
}
