﻿body {
    overflow: hidden !important;
}

/* active guard box */
.ag-search-container {
    width: 100%;
    padding: 12px 24px 24px 24px;
    background: linear-gradient(rgba(23, 27, 36, 0.5), rgba(23, 27, 36, 0), rgba(23, 27, 36, 0.5) ), rgba(36, 37, 47, 1);
}

.ag-search-header {
    width: 100%;
    gap: 0px;
    justify-content: space-between;
}

.ag-search-section-title .icon-ag-search {
    cursor: default;
}

.ag-search-section-title .sub-title {
    color: #a7a7a7;
}

/* active guard section filter */
.ag-search-top-filter {
    background: rgba(42, 42, 54, 0.4);
    border-radius: 16px 16px 0 0;
    text-align: left;
    border-bottom: 1px solid rgba(36, 37, 47, 1)
}

.ag-search-section-filter {
    background: rgba(42, 42, 54, 0.4);
    border-radius: 0 0 16px 16px;
    text-align: left
}

.ag-search-section-filter .section-name, .ag-search-top-filter .section-name {
    width: 55px;
}

/* active guard bottom page */
.ag-search-section-bottom {
    position: fixed;
    width: 100%;
    bottom: 10px;
    color: white;
    background: transparent;
    vertical-align: middle;
}

.section-bottom-container {
    width: 100%;
    height: 40px;
    display: flex;
}

.section-bottom-result {
    vertical-align: middle;
    text-align: center;
    background: rgba(23, 27, 36, 1);
    border-top: 1px solid rgba(36, 37, 47, 1);
    border-bottom: 1px solid rgba(36, 37, 47, 1);
    color: rgba(255, 255, 255, 1);
    place-content: flex-start;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    padding-left:-10px;
    border-radius: 4px 0 0 4px;
}

.section-bottom-search {
    vertical-align: middle;
    padding-right: 40px;
    place-content: flex-end;
}

.ag-search-section-bottom .ag-search-result {
    height: 48px;
    line-height: 48px;
    vertical-align: middle;
    text-align: center;
    background: rgba(23, 27, 36, 1);
    border-top: 1px solid rgba(36, 37, 47, 1);
    border-bottom: 1px solid rgba(36, 37, 47, 1)
}

.ag-search-section-bottom .ag-btn-preset-list {
    background: #2c2e37;
    height: 48px;
    width: 120px;
    border-radius: 5px 0 0 5px;
    border-top: 1px solid rgba(36, 37, 47, 1);
    border-bottom: 1px solid rgba(36, 37, 47, 1)
}

.ag-search-section-bottom .ag-btn-resetfilter {
    background: #2c2e37;
    height: 48px;
    width: 120px;
    border: 1px solid rgba(36, 37, 47, 1);
}

.ag-btn-search {
    background: rgba(98, 102, 230, 1);
    height: 40px;
    width:120px;
    margin-left: 10px;
    border-radius: 4px;
    z-index: 90
}

.ag-btn-loadmore {
    background: rgba(98, 102, 230, 1);
    height: 40px;
    width: 120px;
    border-radius: 0 4px 4px 0;
    margin-right: 85px;
    z-index: 90;
}
.ag-btn-loadmorehide {
    margin-right: 65px;
}

/* search header*/
.search-header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-header-title {
    font-size: 12px;
    font-weight: bold;
}

.search-header-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 10px 10px 0;
}

.search-header-end {
    place-content: flex-end;
}

.btn-header {
    background: rgba(44, 46, 55, 1);
    color: rgba(255, 255, 255, 1);
    height: 40px;
    padding: 12px 16px 12px 16px;
    border-radius: 8px;
    place-content: center;
    vertical-align: middle;
    margin-left: 12px;
    border: 1px solid transparent;
    cursor:not-allowed
}
/* end search header*/

/*buttons hearder filter*/
.section-feature-filter {
    width: 100%;
}

.feature-filter-container {
    background: rgba(42, 42, 54, 0.4);
    padding: 12px 10px 12px 10px;
    margin: 5px 5px 5px 0;
    border-radius: 8px;
    gap: 8px;
    display: inline-flex;
}

.ag-selected-filter-tag {
    width: 100%;
    padding-top: 12px;
}

.thumbnail-result-title{
    padding:20px 0px;
    vertical-align:middle;
}

.thumbnail-zoom-container {
    height: 40px;
    width:250px;
    vertical-align: middle;
    background: #292a34;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid transparent;
    margin: 10px 0 10px 10px;
    display: flex;
    align-items: center;
}

.thumbnail-viewmode-container {
    height: 40px;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    margin: 10px 0 10px 10px;
    background: #1e202a
}
.btn-viewmode-list {
    width: 42px;
    height: 40px;
    padding: 0 12px;
    border-radius: 0px 6px 6px 0px;
    margin-left: -3px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);  
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-viewmode-grid {
    width: 42px;
    height: 40px;
    padding: 0 12px 0 12px;
    border-radius: 6px 0px 0px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-viewmode-list:hover, .btn-viewmode-grid:hover {
    background: rgba(103, 103, 118, 0.2);
    filter: invert(1) brightness(2);
}

.btn-viewmode-active {
    cursor: not-allowed;
    background: rgba(103, 103, 118, 0.2);
    filter: none !important
}

.path-active-mode {
    fill: white;
}

.thumbnail-hour-group {
    width: 100%;
    display: flex;
    color: rgba(255, 255, 255, 0.8);
}

/* menu filters*/
.filter-container {
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    width: 600px;
    border: 1px solid transparent;
    border-radius: 6px;
    z-index: 99;
}

.filter-body {
    width: 100%;
    padding: 0 16px 5px 16px;
}

.filter-header {
    background: transparent;
    padding: 15px 12px 12px 12px;
    display: flex;
}

.filter-content {
    background: linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    width: 100%;
    padding: 5px 10px 10px 24px;
    margin-bottom: 16px;
}

.filter-bottom {
    width: 100%;
    border-radius: 0 0 6px 6px;
    padding: 20px;
    background: rgba(38, 39, 50, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1)
}

.filter-bottom .btn-apply {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    border-radius: 8px;
    background: rgba(98, 102, 230, 1);
}

.filter-bottom .btn-disabled {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(107, 106, 240, 0.25);
    cursor:not-allowed
}

.filter-bottom .btn-apply2 {
    margin-top: 0px !important;
}

.section-row-item {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid transparent;
    z-index: 9999
}

.section-filter-item {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.15);
    z-index:9999
}
.section-filter-item-bd {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.section-filter-item .section-filter-header {
    width: 100%;  
    padding: 10px 5px;    
    background: rgba(0, 0, 0, 0.2);
}
.section-filter-header-bd {
    border-radius: 8px;
}
.section-filter-header-bd-top {
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important
}
.section-filter-header .sub-title{
   color: rgba(255, 255, 255, 0.4);
 
}

.section-filter-header .total-selected {
    background: rgba(98, 102, 230, 0.3);
    font-size: 11px;
    width: 25px;
    height: 25px;
    text-align: center;
    vertical-align: middle;
    padding:4px 3px;
    margin-right:5px;
    border-radius: 25px;
}
.section-filter-header .btn-pulldown {
    background: rgba(255, 255, 255, 0.1);
    width: 24px;
    height: 24px;
    margin-right:3px;
    border-radius:4px;
    padding: 0px 6px;
}

.btn-guideline {
    background: rgba(255, 255, 255, 0.1);
    width: 24px;
    height: 24px;
    margin-right: 3px;
    border-radius: 4px;
    padding: 0px 4px;
    color: initial !important;
    fill: none !important;
    stroke: #fff !important;
    filter: none !important;
}

    .btn-guideline:hover svg {
        fill: none !important;
        stroke: none !important;
        opacity: 0.8;
    }

.section-filter-item .section-filter-content {
    width: 100%;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
}
.section-filter-item .process-filter {
    width: 100%;
    height: 32px;
    background: rgba(58, 225, 128, 0.1);
    border-radius:6px;
    padding:6px 8px;
    color:#fff;
    gap:10px;
}
.section-filter-item .process-filter .process-icon-size {
    width: 20px;
    height: 20px;
    color: conic-gradient(from 90deg at 50% 50%, rgba(39, 174, 96, 0) 0deg, rgba(58, 225, 128, 0) 0.04deg, #3AE180 360deg);
}

.section-upload-photo {
    width: 100%;
    height: 64px;
    border-radius: 4px;
    padding: 16px 10px 16px 16px;
    background: rgba(103, 103, 118, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.section-upload-photo .sub-title {
    color: rgba(150, 157, 178, 1);
}

.section-display-photo {
    width: 100%;
    height: 120px;
    border-radius: 4px;
    padding: 16px;
    background: rgba(103, 103, 118, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-display-photo .select-photo img{
    max-width:88px;
    height:88px;
    border-radius:21px;
    border: 2px solid rgba(106, 120, 240, 1);
    place-content:center;
    padding:1px;
    text-align:center;
    object-fit:scale-down;
}

.select-photo-tag img {
    max-width: 88px;
    height: 88px;
    border-radius: 21px;
    border: 1px solid rgba(106, 120, 240, 1);
    place-content: center;
    padding: 1px;
    text-align: center;
    object-fit: scale-down;
}

.btn-change-photo {
    width: 117px;
}
.btn-remove-photo {
    width: 117px;
    height: 32px;
    border-radius: 6px;
    color: #fff;
    background: rgba(103, 103, 118, 0.12);
    padding: 0px 16px;
}
.btn-upload {
    height: 32px;
    border-radius: 6px;
    background: rgba(98, 102, 230, 1);
    color: rgba(255, 255, 255, 1);
    padding: 0 16px;
}
    .btn-upload:hover, .search-photo-bottom .btn-apply-photo:hover, .condition-search-bottom .btn-apply-photo:hover, .filter-bottom .btn-apply:hover {
        background: #5855ff;
        /*color: rgba(148, 159, 255, 1);*/
    }
.dropdown-icon-collapse, .icon-collapse {
    transform: rotate(180deg);
}
.section-filter button:hover {
    color: #6464E6;
    transition: all ease 0.3s;
}


.section-filter-object {
    width: 100%;
    max-height: -webkit-calc(100vh - 350px);
    max-height: -moz-calc(100vh - 350px);
    max-height: calc(100vh - 350px) !important;
    padding-right: 5px;
    margin-top: -5px;
    margin-bottom: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    animation: move 2s infinite;
}

.section-filter-face{
    padding-right:-5px !important;
}

.section-filter-facematching {
    width: 100%;
    max-height: -webkit-calc(100vh - 310px);
    max-height: -moz-calc(100vh - 310px);
    max-height: calc(100vh - 310px) !important;
    overflow-y: auto;
    overflow-x: hidden;
    animation: move 2s infinite;
}

.section-filter-faceupload {
    width: 100%;
    max-height: -webkit-calc(100vh - 260px);
    max-height: -moz-calc(100vh - 260px);
    max-height: calc(100vh - 260px) !important;
    overflow-y: auto;
    overflow-x: hidden;
    animation: move 2s infinite;
}

.section-filter-facealarm {
    width: 100%;
    max-height: -webkit-calc(100vh - 410px);
    max-height: -moz-calc(100vh - 410px);
    max-height: calc(100vh - 410px) !important;
    padding-right: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    animation: move 2s infinite;
}

.section-filter-alarm {
    width: 100%;
    max-height: -webkit-calc(100vh - 480px);
    max-height: -moz-calc(100vh - 480px);
    max-height: calc(100vh - 480px) !important;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px 10px 5px 0;
}

.section-filter-bottom {
    width:100%;
    padding:15px 0 10px 0;
    margin-top:15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.section-filter-bottom .col-left,.section-filter-bottom .col-right{
    width:50%;
}

.filter-item {
    background: linear-gradient(0deg, #262732, #262732), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    border-radius: 8px;
    padding: 5px 5px 5px 5px;
    margin: 10px 0 10px 0;
}

.filter-item .section-name{
    width:115px;
    display:inline-block;
    align-content:center;
}


/*vehicle type select*/
.btn-select-container {
    width: 100%;
    border-radius: 12px;
    margin: 10px 0;
}

.btn-checkbox-content {
    width: 91px;
    margin: 5px 10px 5px 0px;
    display: inline-flex
}

.btn-checkbox-item {
    width: 91px;
    height: 64px;
    vertical-align: middle;
    align-content: center;
    gap: 4px;
}

/*type select*/
.btn-type-container {
    width: 100%;
    height: 36px;
    background: rgba(103, 103, 118, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 7px;
    margin: 10px 10px 0 10px;
    border-radius: 100px;
}

.btn-type-content {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    margin-left: 5px;
}

.btn-type-item {
    height: 28px;
    vertical-align: middle;
    align-content: center;
    padding-top: 0px;
    background: transparent !important;
    border-radius: 100px !important;
}

.btn-searchtype-container {
    width: 100%;
    height: 40px;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(103, 103, 118, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 7px;
    margin-top: 10px;
    border-radius: 100px;
}
.btn-searchtype-item {
    height: 32px;
    vertical-align: middle;
    align-content: center;
    border-radius: 100px !important;    
    background: transparent !important;
}

/*color select*/
.color-select-container {
    width: 100%;
    height: 40px;
    background: rgba(103, 103, 118, 0.12);
    border-radius: 8px;
    margin: 10px 0 0 0;
    text-align: left;
    place-content: center
}

/*moving direction select*/
.btn-moving-direction {
    width: 30px;
    display: inline-flex;
}

.btn-moving-direction-item {
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
}

/* button selected filter tag */
/*.btn-filter-tag {
    background: #20222c;
    color: #fff;
    border: 1px solid #363840;
    border-radius: 1.1rem 0 0 1.1rem;
    padding: 5px 8px 5px 10px;
    height: 30px;
    place-content: center;
    cursor: default;
}

.btn-filter-tag-content {
    max-width: 180px !important
}*/

.btn-filter-tag-content {
    max-width: 180px !important
}
.btn-filter-tag {
    color: #fff;
    padding: 5px 8px 5px 0;
    height: 28px;
    place-content: center;
    cursor: default;
}
.btn-filter-tag-close {
    /*background: #20222c;*/
    height: 28px;
    place-content: center;
    margin-right: -8px;
    /*border-radius: 0 1.1rem 1.1rem 0;*/

    padding: 0 0 2px 6px;
    border-left: 1px solid #363840;
}

.btn-filter-tag-close:hover path {
    fill: red;
    transition: all ease 0.3s;
}

.btn-reset-filter {
    width: auto;
    height: 28px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(33, 35, 45, 1);
    border-radius: 6px;
    padding: 0px 10px;
}

.btn-filter-close {
    height: 28px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(33, 35, 45, 1);
    border-radius: 6px;
    padding: 0 1px;
    vertical-align: middle;
    place-content: center;
    text-align: center;
    gap: 4px;
}

.search-photo-container .btn-clearall:hover, .btn-filter-close:hover, .btn-reset-filter:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
/*.btn-filter-close:hover path {
    fill: red;
    transition: all ease 0.3s;
}*/
.btn-rotate:hover, .btn-facematching-zoom:hover, .btn-facematching-back:hover, .btn-arrow:hover {
    color: rgba(142, 152, 244, 1);
    background: rgba(106, 120, 240, 0.1);
    border: 1px solid rgba(106, 120, 240, 0.6);
    transition: all ease 0.2s;
}

.filter-tag-none {
    background: #20222c;
    color: #fff;
    border: 1px solid #363840;
    border-radius: 100px;
    max-width: 200px;
    padding: 0px 15px 0px 15px;
    height: 30px;
    vertical-align: middle;
    place-content: center;
    cursor: default;
    margin:0px 10px 10px 0px;
}

.filter-tag-timestamp {
    background: #20222c;
    color: #fff;
    border: 1px solid #363840;
    border-radius: 100px;
    padding: 0px 15px 0px 15px;
    height: 30px;
    vertical-align: middle;
    place-content: center;
    cursor: default;
    margin: 0px 10px 10px 0px;
}

.btn-save-filter {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 100px 0px 0px 100px;
    width: 100px;
    padding: 5px 15px 5px 15px;
    height: 30px;
    vertical-align: middle;
    place-content: center;
    cursor: default;
    border: 1px solid transparent;
    margin: 0 0 10px 0;
}

.btn-clear-all {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px; /*0 100px 100px 0;*/
    width: auto;
    padding: 5px 15px 5px 15px;
    vertical-align: middle;
    height: 30px;
    text-align: center;
    place-items: center;
    cursor: default;
    border: 1px solid transparent;
    margin: 0 5px 10px 0px;
}

.btn-filter {
    background: rgba(103, 103, 118, 0.2);
    width: 100%;
    border-radius: 8px;
    height: 36px;
    vertical-align: middle;
    text-align: left;
    display:inline-block;
    border: 1px solid transparent
}

.btn-filter-presets {
    background: rgba(103, 103, 118, 0.2);
    width: 35%;
    border-radius: 8px;
    height: 36px;
    vertical-align: middle;
    text-align: left;
    display: inline-block;
    border: 1px solid transparent;
    margin-top: 3px;
}

.btn-filter .number-item-selected {
    background: rgba(103, 103, 118, 0.3);
    font-size: 11px;
    width: 22px;
    height: 22px;
    text-align: center;
    vertical-align: middle;
    margin: 6px 0px 0 0;
    padding: 3px;
    margin-left:5px;
    border-radius: 25px;
}
.btn {
    border: 1px solid transparent;
    border-radius: 4px
}
    .btn-clear-all:hover, .btn-save-filter:hover, .btn-filter:hover, .btn-filter:hover path, .btn-header:hover, .btn-header:hover path, .btn-active, .btn:hover, .btn:hover path {
        color: white;
        background: rgba(103, 103, 118, 0.3);
        border: 1px solid transparent;
        fill: white;
    }

/* tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    min-width: 80px;
    width: auto;
    display: inline-block;
    word-wrap: break-word;
    max-width: 400px;
    background-color: black;
    color: #fff;
    justify-content: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    align-items: center;
    margin-left: -45px;
    place-content: center;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
}

.tooltip:hover .tooltiptext {
    font-weight: normal !important;
    visibility: visible;
}

.tooltip-filter-event {
    text-align: center;
    width: 350px !important;
    margin-left: -100px !important
}

/* silder*/
.slider-container {
    background: transparent;
    width: 100%;
    border-radius: 5px;
}

.custom-slider {
    width: 100%;
    justify-content: center;
    align-items: center;
}

.custom-slider input {
    -webkit-appearance: none;
    height: 6px;
    width: 100%;
    background: linear-gradient(to right, rgba(106, 120, 240, 1) 0%, rgba(106, 120, 240, 1) 50%, rgba(103, 103, 118, 0.2) 50%, rgba(103, 103, 118, 0.2) 100%);
    border-radius: 5px;
    outline: none;
    border: none;
    cursor:pointer;
}

    .custom-slider input::-webkit-slider-thumb {
        -webkit-appearance: none;
        border: none;
        height: 18px;
        width: 18px;
        border: 2px solid rgba(255, 255, 255, 1);
        background: rgba(106, 120, 240, 1);
        border-radius: 50%;
    }

    .custom-slider input::-moz-range-thumb {
        -moz-appearance: none;
        border: none;
        height: 18px;
        width: 18px;
        border: 2px solid white;
        background: rgba(106, 120, 240, 1);
        border-radius: 50%;
    }

.slider-container .text-max, .slider-container .text-min {
    display: inline-block;
    padding: 0 5px 0 5px;
}

/*switch button*/
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 19px;
    margin: 3px;
}

    .toggle-switch .toggle-input {
        display: none;
    }

    .toggle-switch .toggle-label {
        position: absolute;
        top: 0;
        left: 0;
        width: 35px;
        height: 19px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 34px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .toggle-switch .toggle-label::before {
            content: "";
            position: absolute;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            top: 2px;
            left: 3px;
            right: 3px;
            background-color: #fff;
            box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s;
        }

    .toggle-switch .toggle-input:checked + .toggle-label {
        background-color: #6464E6;
    }

        .toggle-switch .toggle-input:checked + .toggle-label::before {
            transform: translateX(16px);
        }

    .toggle-switch.light .toggle-label {
        background-color: #BEBEBE;
    }

    .toggle-switch.light .toggle-input:checked + .toggle-label {
        background-color: #9B9B9B;
    }

        .toggle-switch.light .toggle-input:checked + .toggle-label::before {
            transform: translateX(6px);
        }

    .toggle-switch.dark .toggle-label {
        background-color: #4B4B4B;
    }

    .toggle-switch.dark .toggle-input:checked + .toggle-label {
        background-color: #717171;
    }

        .toggle-switch.dark .toggle-input:checked + .toggle-label::before {
            transform: translateX(16px);
        }

.custom-select select {
    background: rgba(103, 103, 118, 0.2) !important;
    width: 170px !important;
    height: 36px !important;
    vertical-align: middle !important;
    text-align: left;
    border: 1px solid #363840 !important;
}

/* spinner*/
.spinner-overlay {
    z-index: 80;
    position: absolute;
    background: rgba(0,0,0,0.8) !important;
    opacity: 0.8;
    width: 100%;
    height: 100%;
}

.spinner-overlay .spinner-container {
    z-index: 80;
    position: absolute;
    top: 50px;
    width: 100vw;
    height: 100vh;
    vertical-align: central;
    place-content:center;
    text-align: center;
}

.spinner-icon-size {
    width: 1.5rem;
    height: 1.5rem;
}

.search-inprogress {
    z-index: 1000;
    background: rgba(0,0,0,0.8) !important;
    opacity: 0.8;
    pointer-events: none;
}

.btn-search-inprogress {
    background: rgba(98, 102, 230) !important;
    opacity: 1 !important;
    pointer-events: auto !important
}

/* thumbnail image*/
.zoomable {
    transition: transform 0.3s ease;
    animation: zoom-in-zoom-out 1s ease infinite;
}

.thumbnail-container {
    margin: 3px 2px 3px 2px;
    display: inline-block;
}

.thumbnail-image{
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center, center center;
    border: 2px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    margin: 3px;
}

.thumbnail-image:hover {
    box-shadow: 0 0 2px 2px rgba(106, 120, 240, 0.6);
    border: 1px solid rgba(106, 120, 240, 0.6) !important;
    transition: all ease 0.3s;
}

.thumbnail-container .thumbnail-overlay-container {
    position: relative;
    width:100%;
    height:100%;

    display:inline-block;
    opacity:1
}

.thumbnail-container .thumbnail-overlay-container .overlay-cameraname {
    width: 100%;
    height:33px;
    text-shadow: 1px 1px 2px #000;
    color: #fff;
    text-align: center;
    align-items:center;
    place-content:center;
    place-items:center;
}
.thumbnail-container .thumbnail-overlay-container .thumbnail-separator{
    width: 100%;
}
.thumbnail-container .thumbnail-overlay-container .overlay-timespan {
    width: 100%;
    height: 30px;
    text-shadow: 1px 1px 2px #000;
    color: #fff;
    text-align:center;
    display:inline-block
}

.thumbnail-container .thumbnail-overlay-container .overlay-text {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    place-content: center;
     text-shadow: 1px 1px 2px #000;
    color: #fff;
    display: inline-block;
}
.object-icon {
    padding: 15px 5px 0 0;
}
.thumbnail-icon {
    padding: 2px 5px 0 2px;
}
.thumbnail-icon:hover path{
    color: rgba(142, 152, 244, 1);
    background: rgba(106, 120, 240, 0.1);
    border: 1px solid rgba(106, 120, 240, 0.6);
    fill: rgba(98, 102, 230, 1);
    transition: all ease 0.3s;
}

.thumbnail-container .status {
    position: absolute;
    width: 40px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    top: 5px;
    right: 5px;
    text-shadow: 1px 1px 2px #11c9d4;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    vertical-align: middle;
    font-size: 11px;
}

.thumbnail-container .action {
    position: absolute;
    left: -100%;
    right: 0;
    bottom: 0;
    z-index: 3;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

/*text-align*/
.text-right {
    text-align: right
}

.text-center {
    text-align: center
}

.text-left {
    text-align: left
}

.search-input, .form-input {
    background: #23252f;
    width: 100%;
    border-radius: 8px;
    height: 40px;
    background: rgba(23, 27, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: inherit;
    font-weight: inherit;
    padding: 8px 10px;
    margin: 10px;
}
.textarea-input {
    width: 100%;
    border-radius: 6px;
    background: rgba(23, 27, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: inherit;
    font-weight: inherit;
    padding: 8px 10px;
    margin: 5px 5px 0 5px;
    /*display:block;*/
}
.textarea-input-invalid, textarea.textarea-input-invalid:focus{
    border: 1px solid #ff0000 !important;
}

.search-input:focus, .textarea-input:focus, .form-input:focus {
    border: 0.5px solid rgba(255, 255, 255, 0.6)
}

.textarea-input-error {
    width: 100%;
    border-radius: 6px;
    background: rgba(23, 27, 36, 0.4);
    border: 1px solid #FF461D !important;
    font-size: inherit;
    font-weight: inherit;
    padding: 8px 10px;
    margin: 5px 5px 0 5px;
    /*display:block;*/
}

.radio-input {
    height: 40px;
    padding: 8px 10px;
    margin: 10px;
}

/*checkbox default*/
.default-checkbox {
    height: 16px;
    width: 16px;
    background: #2d2e37;
    border-radius: 4px;
    border: 1px solid transparent;
}

.default-checkbox:hover, .default-checkbox-bd-checked {
    border: 1px solid rgba(106, 120, 240, 1);
}

.default-checkbox-bd-unchecked {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.default-checkbox .default-checkmark {
    place-content: center;
    justify-self: center;
    vertical-align: middle;
    text-align: center;
    margin: 3px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    transition: 120ms transform ease-in-out;
    background: rgba(106, 120, 240, 1);
}

.default-checkbox .check-indeterminate {
    place-content: center;
    justify-self: center;
    vertical-align: middle;
    margin: 3px;
    background: rgba(106, 120, 240, 1);
    width: 8px;
    height: 2px;
}

.checkbox-label {
    height: 40px;
    vertical-align: middle;
    padding: 8px 0;
    cursor: pointer;
}

/*radio checkbox*/
.radio-checkbox {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 0px;
}

.radio-checkbox .radio-checkmark {
    height: 16px;
    width: 16px;
    border-radius: 100%;
    place-content: center;
}

.radio-checkbox .radio-checkmark .checkmark {
    margin: 4px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    transition: 120ms transform ease-in-out;
    background: rgba(106, 120, 240, 1);
    vertical-align: middle;
    align-items: center;
}

.radio-checkbox:hover, .radio-checkbox:focus, .radio-checkbox-checked {
    border: 2px solid rgba(106, 120, 240, 1);
}

.radio-checkbox-unchecked {
    border: 2px solid transparent
}
/*checkbox color*/
.color-checkbox {
    background: transparent;
    border: 4px solid transparent;
    border-radius: 50%;
    padding: 0px;   
}

.color-checkbox .color-checkmark {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    place-content: center;
}

.color-checkbox .color-checkmark .checkmark {
    margin: 2px;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    transition: 120ms transform ease-in-out;
    background: rgba(106, 120, 240, 1);
    vertical-align: middle;
    align-items: center;
}

.color-checkbox:hover, .color-checkbox:focus, .color-checkbox-checked {
    border: 4px solid rgba(72, 72, 72, 1);
}

.color-checkbox-unchecked {
    border: 4px solid transparent
}

/*checkbox btn*/
.btn-checkbox {
    background: rgba(103, 103, 118, 0.12);
    border: 1px solid transparent;
    border-radius: 8px;
    place-content: center;
}

.btn-checkbox:hover, .btn-checkbox:focus, .btn-checkbox:hover path, .btn-checkbox-checked, .btn-checkbox-checked path {
    color: rgba(142, 152, 244, 1);
    background: rgba(106, 120, 240, 0.1);
    border: 1px solid rgba(106, 120, 240, 0.6);
    fill: rgba(142, 152, 244, 1) !important;
    transition: all ease 0.2s;
}
.btn-checkbox-checked:hover, .btn-checkbox-checked:hover path{
    color: #fff;
    background: rgba(103, 103, 118, 0.12);
    border: 1px solid rgba(106, 120, 240, 0.6);
    fill: #fff !important;
    transition: all ease 0.2s;
}
.btn-searchtype-selected {
    color: #FFF !important;
    background: rgba(23, 27, 36, 1) !important;
    border: 1px solid rgba(106, 120, 240, 0.6);
    fill: rgba(142, 152, 244, 1) !important;
    transition: all ease 0.2s;
}

.btn-checkbox-unchecked {
    border: 1px solid transparent
}

.default-checkbox-disabled, .color-checkbox-disabled, .btn-checkbox-disabled {
    --form-control-color: var(--form-control-disabled);
    color: var(--form-control-disabled);
    cursor: not-allowed;
}

.btn-toggle {
    background: rgba(103, 103, 118, 0.12);
    height: 40px;
    padding: 8px 5px;
    margin: 10px 0 10px 0;
    border-radius: 12px;
    border: 0.5px solid transparent;
    cursor: pointer;
}

.btn-apply-filter {
    background: rgba(103, 103, 118, 0.12);
    height: 40px;
    padding: 8px 5px;
    margin-top: 10px;
    border-radius: 8px;
    border: 0.5px solid transparent
}

.btn-toggle:hover, .btn-toggle-selected, .btn-apply-filter:hover{
    background: rgba(106, 120, 240, 0.1);
    color: rgba(142, 152, 244, 1);
    border: 0.5px solid rgba(106, 120, 240, 0.6)
}

/*​​accuracy-level*/
.accuracy-container {
    width: 100%;
    height: 84px;
    display: flex;
    justify-content: space-between;
    margin: 5px 10px 0 10px;
}

.btn-accuracy {
    background: transparent;
    height: 28px;
    vertical-align: middle;
    padding: 3px 6px;
}

.btn-accuracy-label {
    background: rgba(29, 31, 39, 1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.accuracy-col {
    width: 33.33%;
    color: white;
}

    .accuracy-col .col-low {
        justify-content: flex-start
    }

    .accuracy-col .col-average {
        justify-content: center
    }

    .accuracy-col .col-high {
        justify-content: flex-end
    }

.section-alarm-content {
    padding: 0px 8px;
}

.section-alarm-item {
    width: 100%;
    height: 40px;
    place-content: left;
    vertical-align: middle;
    padding: 3px 8px;
}

.section-alarm-item:hover, .section-alarm-item:hover path, .server-item:hover,server-item:hover path {
    background: rgba(106, 120, 240, 0.1);
    fill: rgba(142, 152, 244, 1);
    color: rgba(142, 152, 244, 1);
}

.alarm-item-bd-bottom, .item-bd-bottom {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preset-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5px
}

    .preset-item:hover {
        background: rgba(106, 120, 240, 0.1);
        color: rgba(142, 152, 244, 1);
    }
/*Combobox*/
.combobox-input-container {
    height: 40px;
    vertical-align: middle;
    background: rgba(23, 27, 36, 0.4);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999999;
}

.combobox-input-container:hover, .combobox-input-container:focus, .combobox-focus {
    border: 1px solid rgba(255, 255, 255, 0.6)
}

    .combobox-input-container:not(:focus):not(:hover) {
        border: 1px solid rgba(255, 255, 255, 0.1); /* Reset to original border */
    }

.combobox-input {
    height: 40px;
    vertical-align: middle;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    text-indent: 10px;
}

.combobox-content {
    color: #fff;
    background: #24252e;
    min-height: 50px;
    max-height: 350px !important;
    overflow-y: auto;
    border-radius: 8px;
    padding: 12px 12px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99999;
}

.combobox-item {
    line-height: 33px;
    vertical-align: middle;
    text-align: left;
    cursor: pointer;
    text-indent: 10px;
}

.combobox-bd-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04)
}

.combobox-item.highlighted, .combobox-item:hover, .combobox-item.selected {
    background: rgba(106, 120, 240, 0.1);
    color: rgba(142, 152, 244, 1);
}

/*Search by photo*/
.zoomable {
    transition: transform 0.3s ease;
    animation: zoom-in-zoom-out 1s ease infinite;
}

.search-photo-container {
    width: 590px;
    vertical-align: middle;
    border-radius:6px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    color: #FFF;
    font-size:14px;
}
.search-photo-header {
    width: 100%;
    padding: 20px 20px 5px 20px;
    align-items: center;
}
.search-photo-content {
    width: 100%;
    padding: 15px 15px 5px 15px;
}

.search-photo-content .separate-section {
    width:100%;
    background: linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    border-radius:12px;
    padding:24px 16px 16px 16px;
    margin-bottom:15px;
}

.search-photo-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px;
}
.search-photo-bottom .btn-apply-photo {
    width:100%;
    height:40px;
    border-radius:8px;
    background: rgba(98, 102, 230, 1);
}

.search-photo-container .btn-clearall {
    height:28px;
    border-radius:6px;
    padding:0px 12px;
    border: 1px solid rgba(33, 35, 45, 1);
    background: rgba(255, 255, 255, 0.05);
    margin-right:5px;
    gap:4px;
}
.drop-photo {
    position: relative;
    width: 100%;
    height: 300px;
    text-align: center;
    background: rgba(23, 27, 36, 1);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 0 8px 5px 8px;
    opacity: 0.8;
    cursor: pointer;
}

.drop-photo.drag-enter {
    border-color: #000;
}

.canvas-container{
    width: 100%;
    margin: 0 8px 5px 8px;    
    position: relative;
}

.canvas-container .overlay-action, .drop-photo .overlay-action {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    padding:2px;
    text-shadow: 1px 1px 2px #000;
    background-color: #000000;
    opacity: 0.7;
    color: #fff;
    font-size: 11px;
    place-content:center;
    padding: 4px 2px;
    border-radius: 4px;    
    z-index: 100;
}

.canvas-photo {
    width: 100%;
    height: 300px;
    padding: 1px;
    vertical-align: middle;
    text-align: center;
    background: rgba(23, 27, 36, 1);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: move;
}


.scroll-container {
    max-width: 512px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    margin: 10px 5px 5px 5px;
}

.scroll-content {
    display: inline-block;
}

.detect-item {
    width: 118px;
    height: 118px;
    display: inline-block;
    place-content: center;
    text-align: center;
    border-radius: 6px;
    border: 0.5px dotted rgba(255, 255, 255, 0.2);
    cursor: pointer;
}
.detect-item img{
 border-radius: 6px;
}
.detect-item-img {
    display: inline-block;
    max-width:114px;
    height: 114px;
    border-radius: 6px;
    place-content: center;
    text-align: center
}
.detect-item-img-rotate {
    display: inline-block;
    width: 110px;
    place-content: center;
    text-align: center
}
.detect-item:hover, .detect-item-selcted {
    border: 2px solid rgba(106, 120, 240, 1);
    background: rgba(106, 120, 240, 0.1);
}
.nodetect-item {
    display: inline-block;
    vertical-align: middle;
    width: 114px;
    height: 114px;
    color: #c5c5c5;
    font-size: 10px;
    border: 1px dotted rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    text-align: center;
    place-content: center;
    opacity: 0.5;
}
.detect-item-mr10 {
    margin-right: 10px;
}

.btn-rotate {
    height:38px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(33, 35, 45, 1);
    border-radius: 6px;
    padding:0px 10px 0px 10px;
}

.button-dragdrop {
    width:60px;
    height:60px;
    border-radius:50%;
    padding:18px 18px;
    margin:45px 0 20px 0;
    cursor: default;
    background: rgba(255, 255, 255, 0.05);
}
.upload-inprogress {
    width: 100%;
    height:100%;
    place-content: center;
    vertical-align: middle;
    text-align: center;
}
.text-dragdrop {
    font-size: 14px;
    cursor:default;
}
.button-clearall {
    width: 100%;
    height: 35px;
    background: rgb(100 100 230);
    border-radius: 0 0 5px 5px;
}

/*Condition search face watchlist*/
.condition-search-header {
    width: 100%;
    padding: 15px 20px 10px 20px;
}

.condition-search-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0px 10px 0px;
    margin:10px 0px 10px 0
}
.condition-search-bottom .col-left, .condition-search-bottom .col-right {
    width: 50%;
}

.condition-search-bottom .btn-apply-photo {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    background: rgba(98, 102, 230, 1);
}

.condition-search-item {
    width: 100%;
    background: linear-gradient(0deg, #262732, #262732), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    border-radius: 8px;
    text-align: left;
    place-content: center;
    display: flex;
    padding: 5px;
    margin-bottom:10px;
}
.condition-search-item .col-left, .condition-search-item .col-right{
    width:50%;
}
.btnclear-facematching {
    width: 100%;
    height: 35px;
    margin-right: 2px;
    background: #585781;
    border-radius: 5px;
}
.btnclear-facematching:hover {
    background: #545295
}
.btnsearch-facematching {
    width: 100%;
    height: 35px;
    margin-left: 4px;
    background: rgb(100 100 230);
    border-radius: 5px;
    pointer-events: auto !important
}
.btnsearch-facematching:hover {
    background: #5855ff
}
.facematching-result-container {
    position:relative;
    width: 100%;
    margin:5px;
}
.facematching-result-container .face-matching-spinner-container {
    z-index: 999;
    place-content:center;
    vertical-align:middle;
    text-align:center;
    width: 100%;
}
.facematching-result-container .face-matching-spinner-container .face-matching-spinner-overlay {
    z-index: 1000;
    margin-top:180px;
    place-content:center;
    background: #000 !important;
}
.facematching-inprogress {
    pointer-events: none;
    cursor: not-allowed
}
.facematching-search-inprogress {
    z-index: 1000;
    background: #000 !important;
    pointer-events: none;
}
.facematching-result-title {
    line-height: 30px;
    padding-top: 10px;
    vertical-align: middle;
    place-content:center;
    text-align: left;
}
.btn-facematching-back {
    height: 30px;
    vertical-align: middle;
    background: #292a34;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid transparent;
    margin: 10px 0px 0px 0px;
    padding-top: 2px;
}
.btn-facematching-zoom {
    width: 220px;
    vertical-align: middle;
    background: #292a34;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid transparent;
    margin: 5px 0px 0px 0px;
    padding-bottom: 2px;
}
.facematching-image-box {
    width: 100%;
    height: 400px;
    overflow-y: scroll;
}
.facematching-image {
    position: relative;
    display: inline-block;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding-bottom:15px;
}
.facematching-name {
    width: 100%;
    left: 0px;
    right: 10px;
    place-content: center;
    text-align: center;
    padding: 0px 10px;
    display:inline-block;
    position: absolute;
}
.facematching-image-selected, .facematching-image:hover {
    color: rgba(106, 120, 240, 1)
}
.facematching-image-selected img, .facematching-image img:hover {
    border: 1px solid rgba(106, 120, 240, 1) !important
}


/*display mode list*/
.thumbnail-row-header {
    width: 100%;
    height: 44px;
    line-height:44px;
    color: rgba(255, 255, 255, 1);
    background: rgba(42, 42, 54, 1);
    border: 1px solid rgba(36, 37, 47, 0.1);
    border-radius: 8px;
    vertical-align: middle;
    margin-bottom: 10px;
    cursor:pointer;
}
.thumbnail-row-header button{
    padding-top:10px
}
.thumbnail-row-item {
    width: 100%;
    height: 80px;
    margin: 0 0 10px 0;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(36, 37, 47, 0.1);
    border-radius: 8px;
}
.icon-object {
    display:inline-block;
    min-width:20px;
    margin-top:2px;
}

.thumbnail-cel-item {
    height: 80px;
    display: flex;
    align-items: center;
    text-align: left;
    vertical-align: middle;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.thumbnail-cel-status {
    height: 80px;
    vertical-align: middle;
}
.cell-details {
    max-width: 350px;
    line-break: auto;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.thumbnail-cel-details {
    width: 100%;
    max-height: 80px;
    margin: 5px 0;
    justify-content: left;
    overflow-y: auto;
    overflow-wrap:anywhere;
    word-wrap:anywhere;
    vertical-align: middle;
    align-items: center;
    place-items: left;
    display:inline-grid
}
.col-05 {
    width: 5%;
    padding: 0 5px 5px 10px;
}
.col-10 {
    width: 10%;
    padding: 0 5px 5px 10px;
}
.col-15 {
    width: 15%;
    padding: 0 5px 5px 10px;
}
.col-20 {
    width: 20%;
    padding: 0 5px 5px 10px;
}

.col-18 {
    width: 18%;
    padding: 0 5px 5px 10px;
}

.col-07 {
    width: 7%;
    padding: 0 5px 5px 10px;
}
.col-14 {
    width: 14%;
    padding: 0 5px 5px 10px;
}
.col-06 {
    width: 6%;
    padding: 0 5px 5px 10px;
}
.col-50{
    width:50%;
}
.btn-status-new {
    width: 76px;
    height: 28px;
    border-radius: 6px;
    background: rgba(32, 209, 32, 0.05);
    color: rgba(32, 209, 32, 1);
    gap: 4px;
}

.btn-status-viewed {
    width: 76px;
    height: 28px;
    border-radius: 6px;
    background: rgba(106, 120, 240, 0.1);
    color: rgba(126, 139, 255, 1);
    text-align: center;
    place-content: center;
    gap: 4px;
}

.btn-status-dismissed {
    width: 76px;
    height: 28px;
    border-radius: 6px;
    background: rgba(252, 188, 5, 0.05);
    color: rgba(252, 188, 5, 0.9);
    text-align: center;
    place-content: center;
    gap: 4px;
}

.btn-action {
    width: 36px;
    height: 36px;
    gap: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    margin: 20px 2px 2px 2px;
}

.thumbnail-item img {
    place-items:center;
    place-content: center;
    height: 77px;
    width: auto;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05)
}
.thumbnail-item img:hover{
     box-shadow: 0 0 1px 1px rgba(0, 140, 186, 0.5);
}
.thumbnail-row-item:hover:not(img), .alarm-highlighted:not(img) {
    background: rgba(106, 120, 240, 0.1);
    border: 1px solid rgba(106, 120, 240, 0.6);
    transition: all ease 0.3s;
}

.thumbnail-row-item img:hover, .alarm-highlighted img {
    background: rgba(255, 255, 255, 0.01) !important;
}

/*buttons*/
.btn-thresold {
    height: 24px;
    border-radius: 6px;
    padding: 2px 12px;
}

/*message box*/
.messagebox-container {
    width: 500px;
    text-align:center;
    vertical-align: middle;
    border-radius: 6px 6px 8px 8px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    color: #FFF;
}

.detectedbox-container {
    width: 500px;
    vertical-align: middle;
    border-radius: 6px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    color: #FFF;
}

.messagebox-header {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 15px 10px 15px;
}

.messagebox-content {
    width: 100%;
    padding: 24px;
}

.messagebox-bottom {
    width: 100%;
    padding: 0px;
}

.messagebox-bottom .btn-ok {
    width: 100%;
    height: 40px;
    background: rgba(98, 102, 230, 1);
    border-radius: 0px 0px 6px 6px
}
.messagebox-bottom .btn-no {
    width: 50%;
    height: 40px;
    margin-right:1px;
    border-radius: 0 0 0 8px;
    background: #545295;
}

.messagebox-bottom .btn-yes {
    width: 50%;
    height: 40px;
    margin-left:1px;
    border-radius: 0 0 8px 0;
    background: rgba(98, 102, 230, 1);
}

.messagebox-bottom .btn-no:hover{
    background: #585781
}
.messagebox-bottom .btn-yes:hover, .messagebox-bottom .btn-ok:hover {
    background: #5855ff
}

.item-color {
    margin-left: 2px;
    width: 10px;
    height: 10px;
    border: 1px solid #fff;
    padding: 0px 8px;
    border-radius: 50%
}
.btn-alarm-icon{
    width:20px;
    height:20px;
    place-items:center;
    place-content:center;
}

/*detected info*/
.info-container {
    width: 345px;
    margin: 5px 15px 5px 15px;
}

.info-header {
    width: 100%;
    height: 40px;
    align-items:center;
    color:#fff;
    background: rgba(36, 37, 47, 1);
    vertical-align: middle;
    place-content: center;
    
}
.info-header-expand {
    border-radius: 6px 6px 0 0;
}
.info-header-collapse {
    border-radius: 6px;
}

.detected-content {
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    padding: 5px 0 5px 5px;
}
.info-item {
    width: 100%;
    height: 33px;
    padding:0 2px;
    align-items:center;
    vertical-align: middle;
}
.info-item:hover {
    width: 100%;
    height: 33px;
    align-items: center;
    vertical-align: middle;
    background:rgba(255, 255, 255, 0.1)
}
.detect-alarm-name {
    width:100%;
    height:40px;
    align-items:center;
    color:#FFF;
    border-radius:6px;
    background: rgba(255, 255, 255, 0.02);
    padding:2px 0;
    margin:5px 0
}
.detect-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;   
    min-width: max-content;
    padding-right: 10px;
}
.detect-name {
    color: #fff;
    font-size: 14px;

}
.detect-value {
    color: rgba(20, 174, 92, 1);
}
.col-detected, col-registered {
    width:50%;
    text-align:center;
    text-align:center;
}
.img-detected {
    height: 86px;
    width: auto;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 1)
}
.btn-value-green {
    color: rgba(20, 174, 92, 1);
    background: rgba(20, 174, 92, 0.1);
    border-radius: 4px
}
.btn-value-yellow {
    color: rgba(248, 193, 0, 1);
    background: rgba(248, 193, 0, 0.1);
    border-radius: 4px
}
.btn-value-gray {
    color: rgba(200, 200, 200, 1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px
}
.btn-arrow {
    height: 24px;
    width: 24px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(33, 35, 45, 1);
    border-radius: 4px;
    padding: 4px;
    vertical-align: middle;
    place-content: center;
    text-align: center;
    gap: 4px;
}

/*Time Filter*/
.time-filter-container {
    width: 369px;
    color: rgba(255, 255, 255, 1);
    background: rgba(36, 37, 47, 1);
    border: 1px solid rgba(229, 231, 240, 0.1);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 9999;
}

.time-filter-row {
    width: 100%;
    height: 50px;
    justify-items: stretch;
    align-items: center;
    border-top: 1px solid rgba(229, 231, 240, 0.1);
}

.timespan-input {
    width: 95px;
    height: 30px;
    padding: 4px 8px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    gap: 10px;
}

.timespan-input:focus {
    border: 1px solid rgba(107, 106, 240, 1);
    box-shadow: 0px 0px 0px 3.2px rgba(107, 106, 240, 0.25);
}

.timespan-label {
    display: inline-block;
    padding: 6px 0 0 15px;
}
.vca-filter {
    height: 320px;
    max-height: 480px;
    margin-top: 10px;
}

.alarm-check-container {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    box-shadow: 0px 0px 0px 1px rgba(107, 106, 240, 0.25);
    background: linear-gradient(0deg, #262732, #262732), linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    z-index: 9999;
    position: relative;
}

/*section settings*/
.btn-settings{
    height:40px;
    width:40px;
    border-radius:4px;
    align-items:center;
}

.btn-export {
    height: 40px;
    width: 40px;
    border-radius: 4px;
    align-items: center;
}

.connection-setings-container {
    width: 980px;
    height: 660px;
    vertical-align: middle;
    border-radius: 6px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    color: #FFF;
    padding: 20px 0;
}
.connection-setings-header {
    width: 100%;
    height: 48px;
    vertical-align: middle;
    place-content: center;
    padding: 0 20px;
}
.connection-setings-bottom {
    width: 100%;
    height: 48px;
    vertical-align: middle;
    place-content: center;
    padding: 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.connection-setings-content {
    height: 485px;
    background: linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    margin: 0 24px 24px 24px;
    display: flex;
}

.connection-setings-content .tree-server-container {
    width: 330px;
    height: 445px;
}
.connection-setings-content .tree-server-container .tree-server-header {
    width: 100%;
    height:48px;
    margin:20px 20px 0 20px;
    border-radius:8px 8px 0 0;
    display:flex;
}
.connection-setings-content .tree-server-container .tree-server-content {
    width: 100%;
    height: 390px;
    animation: move 2s infinite;
    border-radius:0 0 8px 8px;
    padding:2px 0;
    margin:8px 24px 20px 24px;
}
.connection-setings-content .tree-server-container .tree-server-content .box-server {
    width: 100%;
    height: 345px;
    overflow-y: auto;
    overflow-x: hidden;
    animation: move 2s infinite;
}
.connection-setings-content .tree-server-container .tree-server-content .box-server .server-item {
    width: 100%;
    height: 40px;
    padding: 5px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
}
.server-item-highlight {
    border-left: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px 0 0 3px;
    background: rgba(255, 255, 255, 0.015);
    fill: rgba(142, 152, 244, 1);
    color: #fff !important;
}
.connection-setings-content .form-server-container{
    width:555px;
    margin-left:20px;
}
.connection-setings-content .form-server-container .form-server-content {
    width: 100%;
    height:445px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 8px;    
    padding:10px 0 10px 0;
    margin: 20px 20px 20px 4px;
}
.connection-setings-content .form-server-container .form-server-content-empty {
    width: 100%;
    height:445px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 8px; 
    text-align:center;
    place-content:center;
    margin: 20px 20px 20px 4px;
}
.connection-setings-content .form-server-container .form-server-content .row-input-item{
    width:100%;
    display:flex;
    height:40px;
    align-items:center;
    margin:11px 0;
}
.connection-setings-content .form-server-container .form-server-content .row-input-item .col-left{
    width:120px;
    text-align:left;
    color:rgba(255, 255, 255, 0.6);
    padding:5px 5px 5px 25px;
}
.connection-setings-content .form-server-container .form-server-content  .row-input-item .col-right{
    width:425px;
}
.ag-server-header {
    height:58px;
    width:530px;
    color: rgba(255, 255, 255, 1);
    border-bottom: 2px solid rgba(28, 29, 37, 1);
    padding:24px 24px 15px 16px;
}
.ag-servername {
    width: 445px;
    height:48px;
    align-items: center;
    padding-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ag-connect-input {
    width: 99%;
    height: 40px;
    border-radius: 4px;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}
.btn-save {
    height: 40px;
    width: 135px;
    background: rgba(98, 102, 230, 1);
    border-radius: 4px;
    margin: 0 0 0 5px;
}
.btn-cancel {
    height: 40px;
    width: 135px;
    border-radius: 4px;
    background: rgba(106, 120, 240, 0.1);
    border: 1px solid rgba(106, 120, 240, 0.6);
    transition: all ease 0.3s;
}
.btn-test {
    height: 25px;
    width:50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    text-align:center;
    margin: 2px 2px 0 10px;
}
.btn-test:disabled{
    background-color: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}
.btn-test:disabled:hover{
    background-color: rgba(255, 255, 255, 0.05);
}
.ag-connect-status {
    color: rgba(255, 255, 255, 0.5)
}
.btn-link {
    color: rgba(255, 255, 255, 0.6);
}
.btn-link a{
    color: #fff;
}
.btn-link a:hover {
    color: rgba(106, 120, 240, 0.6)
}

.ag-text-center {
    width: 316px;
    color: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    align-items: center;
    place-content: center;
    transition: all ease 0.3s;
    padding: 0 6px;
    cursor:default
}

.btn-add-server {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    text-align: center;
    align-items: center;
    place-content:center;
    padding: 0 6px;
    margin-right: 20px;
    transition: all ease 0.3s;
}

.btn-remove-server {
    width: auto;
    height: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all ease 0.3s;
    align-items: center;
    padding: 0 5px;
}

.btn-not-allowed{
    cursor:not-allowed;
}
.webaccess {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none
}
.webaccess:hover{
    color:rgba(106, 120, 240, 0.6);
}
.port-separator {
    height:24px;
    width:10px;
    border-right: 2px solid rgba(73, 78, 80, 1);
    margin-right: 10px;
}
.http-section{
    width:140px;
    padding:0 10px;
}
.port-input {
    width: 100%;
}
.port-input input {
    width:100%;
    background: transparent;
    padding: 0px !important;
    margin: 0px;
    border: none;
    text-indent:10px;
}

.ag-webaccess {
    width:248px;
    height:40px;
    background: rgba(255, 255, 255, 0.02);
    align-items:center;
    place-content:center;
    border-radius:6px;
    padding:0 5px
}
.ag-vertion-label {
    color: rgba(255, 255, 255, 0.6);
}
.ag-version {
    width: 80px;
    height: 40px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.6);
    align-items: center;
    place-content: center;
    border-radius: 6px;
    padding: 0 5px
}
/*Attribute settings*/
.attribute-setings-container {
    width: 654px;
    vertical-align: middle;
    border-radius: 6px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    color: #FFF;
    padding: 24px 0;
}

.attribute-setings-header {
    width: 100%;
    height: 48px;
    vertical-align: middle;
    place-content: center;
    padding: 0 24px;
}

.attribute-setings-bottom {
    width: 100%;
    height: 65px;
    vertical-align: middle;
    place-content: center;
    padding: 20px 24px 10px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.attribute-setings-content {
    width: 606px;
    background: linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    padding: 8px 0;
    border-radius: 12px;
    margin: 0 24px 24px 24px;
}

.preset-list-content {
    width: 606px;
    background: linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    padding: 8px 0;
    border-radius: 12px;
    margin: 0 24px 24px 24px;
}

.attribute-setings-content .section-setting-item{
    width:558px;
    background: rgba(255, 255, 255, 0.015);
    padding:10px 12px 12px 12px;
    margin:16px 24px 12px 24px;
    border-radius:8px;
}
/*Preset list*/
.preset-container {
    width: 654px;
    vertical-align: middle;
    border-radius: 6px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    color: #FFF;
    padding: 24px 0;
}
.preset-header {
    width: 100%;
    height: 48px;
    vertical-align: middle;
    place-content: center;
    padding: 0 24px;
}
/*Save preset*/
.save-preset-container {
    width: 654px;
    vertical-align: middle;
    border-radius: 6px;
    background: linear-gradient(0deg, #24252F, #24252F), linear-gradient(270deg, rgba(23, 27, 36, 0) 0%, rgba(23, 27, 36, 0.5) 100%);
    color: #FFF;
    padding: 24px 0;
}
.save-preset-header {
    width: 100%;
    height: 48px;
    vertical-align: middle;
    place-content: center;
    padding: 0 24px;
}
.btn-setting-save {
    width:100%;
    height: 40px;
    background: rgba(98, 102, 230, 1);
    border-radius: 4px;
}

.btn-setting-content {
    width: 168px;
    margin: 4px 5px 4px 5px;
    display: inline-flex
}
.btn-setting-item {
    width: 168px;
    height: 40px;
    vertical-align: middle;
    align-content: center;
    border-radius: 12px;
}

.monitor-header {
    height: 40px;
    padding: 0 0px 16px 25px;
    align-items: center;
}

.search-only-within{
    width:100%;
    padding-right:10px;
}

.preference-label {
    color: rgba(255, 255, 255, 0.6);
}
.preference-label a:hover {
    color: #fff;
}

/*quickly-playback*/
@keyframes showAnimation {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.quickly-playback-container {
    position: relative;
    width: 240px;
    height: 135px;
    background: rgba(42, 42, 54, 1);
    border-radius: 6px !important;
    opacity: 0;
    transition: opacity 0.2s;
    display: 0.2s;
    animation: showAnimation 0.5s 1s forwards ease-out;
    -webkit-animation: showAnimation 0.5s 1s forwards ease-out;
    z-index: 9999;
}

.quickly-playback video {
    width: 240px !important;
    height: 135px !important;
    background: rgba(42, 42, 54, 1);
    border-radius: 6px !important;
    box-shadow: 0 0 2px 2px rgba(106, 120, 240, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    padding: 0.5px;
    margin: 0px;
    /*z-index: 1000;*/
}
.quickly-playback .griditem-close-button{
    display:none;
}
.quickly-playback .video-container {
    border-radius: 6px !important;
}

.quickly-playback .video-container .bg-black{
    background: rgba(42, 42, 54, 1);
    border-radius: 6px !important;
}

.icon-objects {
    background: #FF461D;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 1px 3px 0 0
}
.icon-objects-lpr {
    background: #FF461D;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 1px 3px 0 0
}
.icon-events {
    background: #6A78F0;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 0px 3px 0 0
}
.icon-events-lpr {
    background: #6A78F0;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 1px 3px 0 0
}
.icon-objects-grid {
    background: #FF461D;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 4px 3px 0 0
}
.icon-objects-grid-vehicle {
    background: #FF461D;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 5px 3px 0 0
}
.icon-events-grid {
    background: #6A78F0;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 4px 3px 0 0
}
.icon-events-grid-vehicle {
    background: #6A78F0;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 5px 3px 0 0
}
.icon-events-grid-aivmd {
    background: #6A78F0;
    width: 4px;
    height: 4px;
    padding: 4px;
    margin: 2px 3px 0 0
}
.icon-face {
    width: 16px;
    height: 16px;
    background: url('../assets/Icons/icon_face.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px
}
.icon-people {
    width: 16px;
    height: 16px;
    background: url('../assets/Icons/icon_people.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px
}
.icon-vehicle {
    width: 16px;
    height: 17px;
    background: url('../assets/Icons/icon_vehicle.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px
}
.icon-lpr {
    width: 16px;
    height: 12px;
    background: url('../assets/Icons/icon_lpr.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin:2px 0 0 0;
    padding: 0 5px 0 5px
}
.icon-aivmd {
    width: 12px;
    height: 12px;
    background: url('../assets/Icons/icon_aivmd.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px
}
.icon-sound {
    width: 15px;
    height: 11px;
    background: url('../assets/Icons/icon_sound.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top:3px;
    padding: 0 5px 0 5px
}
.icon-anomaly {
    width: 16px;
    height: 16px;
    background: url('../assets/Icons/icon_anomaly.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px
}
.icon-custom {
    width: 14px;
    height: 14px;
    background: url('../assets/Icons/icon_thirtparty.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px
}
.icon-vca {
    width: 14px;
    height: 10px;
    background: url('../assets/Icons/icon_vca.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px;
    margin: 3px 0 0 0;
}
.icon-acccesscontrol {
    width: 13px;
    height: 15px;
    background: url('../assets/Icons/icon_accesscontrol.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 5px 0 5px
}

.zoom-image {
    transition: transform 0.3s ease;
    object-fit: contain;
}

.detect-header{
    font-size: 14px;
}

.thumbnail-container{
    display: inline-block;
}

.thumbnail-container:hover .display-icon{
    display: block;
}

.display-icon{
    height: 40% !important;
    width: auto !important;
    min-width : 40px;
    min-height: 40px;
    max-width : 100px;
    max-height : 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    box-shadow: 0 0 1px 1px transparent !important;
}
.snniper-container {
    width: 100% !important;
    align-items: center;
    vertical-align: middle;
    place-content:center;
    place-items:center;
}
.ag-link a:hover {
    color: #ffc000
}