input.input-validation-error {
    background-color: #f2dede !important;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.hidden {
    display: none;
}

.tile-photo video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*.button-ico:hover {*/
/*    background-color: var(--clr-att) !important;*/
/*    color: white;*/
/*}*/

.popup-video-box {
    max-width: inherit;
}

.popup-box {
    .breadcrumbs-box {
        background: none;
        padding: 0;
    }
}

.content-wrap {
    max-width: none;
}


.frm-field .inp-field~.form-input {
    padding-right: 65px;
}
.frm-row:has(.field-main) {
    flex-wrap: nowrap;
}
.frm-field.field-main {
    width: auto;
    flex: 1;
    padding-right: 0 !important;
}
.frm-field.field-main+.frm-field {
    width: auto;
    flex-shrink: 0;
}
.frm-select,
.frm-select-toggle {
    font-size: 16px;
    line-height: 22px;
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 1;
}
.frm-select label,
.frm-select-toggle label {
    min-height: 22px;
}
.frm-select input,
.frm-select-toggle input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}
.frm-select input:checked ~ label:after,
.frm-select-toggle input:checked ~ label:after {
    opacity: 1;
}
.frm-select label,
.frm-select-toggle label {
    display: block;
    position: relative;
    cursor: pointer;
}
.frm-select label:before,
.frm-select-toggle label:before,
.frm-select label:after,
.frm-select-toggle label:after {
    content: "";
    display: block;
    position: absolute;
}
.frm-select label:after,
.frm-select-toggle label:after {
    opacity: 0;
}
.frm-select-toggle label {
    padding-left: 50px;
    min-height: 22px;
    line-height: 22px;
}
.frm-select-toggle label:before {
    width: 40px;
    height: 20px;
    top: 11px;
    left: 0;
    margin-top: -10px;
    margin-left: 0;
    border-radius: 10px;
    background: #ccc;
    transition: all ease 0.2s;
}
.frm-select-toggle label:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ccc;
    transition: all ease 0.2s;
    position: absolute;
    top: 11px;
    left: 0;
    opacity: 1;
    margin-top: -10px;
}
.frm-select-toggle input:checked ~ label:before {
    background-color: var(--clr-att);
}
.frm-select-toggle input:checked ~ label:after {
    border-color: var(--clr-att);
    left: 20px;
}

.frm-select-toggle.inp-clear {
    width: 40px;
    height: 24px;
}
.frm-select-toggle.inp-clear label {
    padding-left: 0;
    width: 40px;height: 24px;
}
.frm-select {
    font-size: 14px;
    overflow: visible;
}
.frm-select.inp-clear {
    width: 24px;height: 24px;
    z-index: 10;
}
.frm-select.inp-clear label {
    width: 24px;
    height: 24px;
    padding: 0;
    min-height: 0;
    min-width: 0;
}
.frm-select.inp-clear label:before,
.frm-select.inp-clear label:after {
    left: 50%;
    top: 50%;
}
.frm-select input:checked ~ label:after {
    opacity: 1;
}
.frm-select label {
    padding-left: 30px;
    line-height: 20px;
    min-height: 20px;
}
.frm-select label:before,
.frm-select label:after {
    width: 20px;
    height: 20px;
    top: 10px;
    left: 10px;
    margin: -10px 0 0 -10px;
    background: #fff;
    border: 1px solid var(--clr-att);
    border-radius: 3px;
}
.frm-select label:after {
    border: none;
    background: url(../img/icons/check.svg) center / 16px auto no-repeat;
    opacity: 0;
}
.frm-select a {
    color: inherit;
}
.frm-select a:hover {
    color: var(--clr-att);
}

.frm-select-toggle.inp-clear.inp-field {
    position: absolute;
    bottom: 27px;
    right: 32px;
    margin-bottom: -12px;
}
.frm-select-toggle.inp-max.inp-clear.inp-field {
    margin-bottom: -20px;
}
.frm-select-toggle.inp-max.inp-clear {
    width: 80px;
    height: 40px;
}
.frm-select-toggle.inp-max.inp-clear label {
    width: 80px;
    height: 40px;
}
.frm-select-toggle.inp-max.inp-clear label:before {
    width: 80px;height: 40px;
    border-radius: 30px;
    top: 20px;
    margin-top: -20px;
}
.frm-select-toggle.inp-max.inp-clear label:after {
    width: 36px;height: 36px;
    top: 20px;
    left: 20px;
    margin-left: -18px;
    margin-top: -18px;
}
.frm-select-toggle.inp-max.inp-clear input:checked~label:after {
    left: 58px;
}

.tile-photos-wrap {
    cursor: pointer;
}

#dvr-player>.dvrContainer {
    overflow: visible;
}

/* Map */
#yandex-map {
    width: 100%;
    height: 100%;
}

.map-camera-list {
    padding: 6px 8px;
}

.map-camera-item {
    cursor: pointer;
}

.map-camera-item:hover {
    background-color: #1e98ff;
    color: white;
}

.forgot-password {
    text-align: right;
    margin-top: 6px;
    margin-bottom: 14px;
    width: 100%;
    padding-right: 1.4rem;
}

/* Folder Users Modal */
#popup-folder-users .popup-box {
    max-width: 1200px;
    width: 90%;
}

.folder-users-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
}

.folder-users-count {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}

.folder-users-count strong {
    color: #007bfb;
}

.folder-users-search {
    flex: 1;
    max-width: 400px;
}

.folder-users-search .form-input {
    width: 100%;
}

.folder-users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.folder-users-table th,
.folder-users-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.folder-users-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.folder-users-table tbody tr:hover {
    background-color: #f9f9f9;
}

.folder-users-table tbody tr.hidden {
    display: none;
}

.folder-users-table .check-icon {
    color: #4CAF50;
    font-weight: bold;
}

.folder-users-table .cross-icon {
    color: #f44336;
    font-weight: bold;
}