.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}




.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}




.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}



.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}



@media print {
	
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

._ElectMap_ {
    margin: auto auto auto 0;
}
.mapPointSvg {
    display: none !important;
	font-size: 48/@px-unit !important;
}

.leaflet-marker-icon.mapPointSvg {
    display: inline-flex !important;
}

.mapPointSvg.point_start:not(.disabled_icons) svg, .mapPointSvg.point_end:not(.disabled_icons) svg, 
.mapPointSvg.point_default:not(.disabled_icons) svg {
    path:nth-child(1) {
        fill: @markerFinishi; 
    }
    path:nth-child(2) {
        fill: @white;
    }
}






.mapPointSvg.cus_panel:not(.disabled_icons) svg path:nth-child(1) {
    fill:@markerFinishi; 
}

.mapPointSvg.cus_panel.point_default.active:not(.disabled_icons) svg path:nth-child(1) {
    fill: @markerFinishi; 
}













.mapPointSvg.finish:not(.disabled_icons) svg, .mapPointSvg.finish:not(.disabled_icons) svg {
    path:nth-child(1) {
        fill: @markerFinishi;
    }
}
.mapPointSvg.point_start.active:not(.disabled_icons) svg, .mapPointSvg.point_end.active:not(.disabled_icons) svg,
.mapPointSvg.point_default.active:not(.disabled_icons) svg {
    path:nth-child(1) {
        fill: @markerFinishi; 
    }
    font-size: larger !important;
}
.mapPointSvg.cus_panel:not(.disabled_icons) svg path[data-name=point_disable] {
    fill:@markerNoTra;
}
.mapPointSvg.cus_panel:not(.disabled_icons):hover svg path[data-name=point_disable] {
    fill:@markerNoTraHover;
}
.map-popup {
    background-color: @neutral-bg-3-normal;
    color: @neutral-fg-4-normal;
	.map-popup-trac {
		max-width: 300 / @px-unit;
		min-width: 150 / @px-unit;
		word-break: break-all;
		width: max-content;

		overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-wrap: normal;
	}
}
.leaflet-tooltip {
    background-color: @neutral-bg-3-normal;
    border-color: @neutral-bg-3-normal;
}
.leaflet-tooltip-right:before {
    border-right-color: @neutral-bg-3-normal;
}
.leaflet-tooltip-left:before {
    border-left-color: @neutral-bg-3-normal;
}
.leaflet-marker-icon.cus_panel.active.leaflet-zoom-animated.leaflet-interactive {
	z-index: 1050 !important; 
}
.subMap,.subMap_end,.subMap_start{
	svg path:first-child {
		fill: @white !important;
	}
}
.mapPointSvg.subMap, .mapPointSvg.subMap_start, .mapPointSvg.subMap_end {
    color: @brand-fg-1-normal !important;
}


.mapPointSvg.subMap_start:not(.disabled_icons) svg, .mapPointSvg.subMap_end:not(.disabled_icons) svg, .mapPointSvg.subMap:not(.disabled_icons) svg {
    path:nth-child(2) {
        
    } 
}

.mapPointSvg.subMap_start.finish:not(.disabled_icons) svg, .mapPointSvg.subMap_end.finish:not(.disabled_icons) svg, .mapPointSvg.subMap.finish:not(.disabled_icons) svg {
    path:nth-child(2) {
        
    }
}

.point_track:not(.disabled_icons) svg {
    
    path:nth-child(1) {
        fill: #FFFFFF !important;
    }
    path:nth-child(2) {
        fill: #000000 !important;
    }
}

.subMap_noTr{
    visibility: hidden;
	svg path:first-child {
		fill: @brand-fg-1-normal !important;
	}
	svg path:nth-child(2) {
		
	}
}

.point_noTr {
    visibility: hidden;
}


._SetDevicePassword_ {
    width: 600 / @px-unit !important;
    .ant-modal-footer {
        .label-normal-container {
            float: right;
            margin-left: 30/@px-unit;
        }
    }
    .pd-active > svg path:first-child{
        fill: @brand-fg-1-normal !important; 
    }

    .pd-default > svg path:first-child{
        fill:none !important; 
    }
}


.backup-channel-list {
    @collapseHeaderHeight: 48 / @px-unit; 

    
    .ant-collapse {
        border: none;
        height: 100%;

        .ant-collapse-item {
            height: 100%;
        }

        .ant-collapse-header {
            padding-top: 0 / @px-unit;
            padding-bottom: 0 / @px-unit;
            border-radius: 0 !important;
            background: @neutral-bg-4-hover;
            height: @collapseHeaderHeight;

            cursor: default;
        }

        .ant-collapse-header-text {
            color: @neutral-fg-2-normal;
            font-size: 18 / @px-unit;
            font-weight: 400;
            line-height: 26 / @px-unit;
            display: flex;
            align-items: center;
            height: 100%;
        }

        .ant-collapse-content {
            height: calc(100% - @collapseHeaderHeight);
            overflow-y: auto;
        }

        .ant-collapse-content>.ant-collapse-content-box {
            padding: 16/@px-unit;
        }

    }

    
    .panel-header {
        display: flex;
        align-items: center;
        height: 26 / @px-unit;

        .panel-left-operation {
            display: flex;
            align-items: center;

            .panel-header-checkbox {
                width: 28 / @px-unit;
                height: 26 / @px-unit;
            }

            .panel-header-title {
                display: flex;
                align-items: center;
                width: 206 / @px-unit;
            }
        }
    }

    .panel-row-btn {
        margin-right: 4 / @px-unit;
    }

    .channel-tree {
        .channel-group{
            .channel-group-header{
                margin-right: 0!important;
            }
            .channel-item{
                margin-right: 0;
            }
        }
    }
}


._BackupWaterMark_Modal {
    width: 900/@px-unit !important;
    height: 650/@px-unit !important;
    ._BackupWaterMark_fistline,
    ._BackupWaterMark_secondline,
    ._BackupWaterMark_thirdline {
        display: flex;
        ._BackupWaterMark_fileaddress,
        ._BackupWaterMark_progress {        
            margin-left: 30/@px-unit;
            width: 600/@px-unit !important;
        }
        ._BackupWaterMark_wartermarkinfo {
            textarea {
                resize: none;
            }
            .label-normal {
                
                width: 80/@px-unit !important;
            }
            .label-normal-wrapper {
                margin-left: 30/@px-unit;
                width: 600/@px-unit !important;
            }
        }
    }
    ._Table_ .ant-table-body {
        min-height: 350 / @px-unit;
    }  
}
._ChannelTree_{
    height: 100%;
    .page-view{
        height: 100%;
    }
}


._AddCustomizeViewPanel_ {
   display: flex;
   flex-direction: column;
   height: 100%;
  .header {
    height: 48 / @px-unit;
    background-color: @neutral-bg-3-1-normal;
    padding: 0 12 / @px-unit 0 8 / @px-unit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .header-left {
        display: flex;
        align-items: center;
        gap: 8 / @px-unit;
        font-size: 16 / @px-unit;
        font-weight: 600;
        line-height: 24 / @px-unit;
        color: @neutral-fg-2-normal;
        
    }
  }
  .content {
    flex: 1;
    padding: 16 / @px-unit;
    display: flex;
    flex-direction: column;
    .label-normal-container {
        width: 100%;
        padding: 0 !important;
        .label-normal-wrapper  {
            width: 100% !important;
        }
    }
    .select-view {
        .select-view-icons {
            display: grid;
            grid-template-columns: repeat(4, 1fr); 
            gap: 8 / @px-unit; 
            .select-view-icon-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                .cus_panel {
                    width: 66 / @px-unit !important;
                    height: 48 / @px-unit !important;
                    font-size: 66 / @px-unit !important;
                    color: @neutral-fg-disabled !important;
                    &:hover, &:active {
                        color: @brand-stroke-1-hover !important;
                    }
                    > span {
                        height: 100% !important;
                        > svg {
                            height: 100% !important;
                            background: @neutral-bg-4-hover !important;
                            box-sizing: border-box;
                            &:hover, &:active {
                            
                              border: 1 / @px-unit solid @brand-stroke-1-hover;
                              border-radius: 2 / @px-unit;
                            }
                        }
                    }
                }
            }
        }
    }
    .bind-setting {
        .label-normal {
            width: 100% !important;
            display: flex;
            justify-content: space-between;
            .clear {
                color: @brand-fg-1-normal;
                cursor: pointer;
            }
        }
        .channel-item-wrapper {
            height: 420 / @px-unit;
        }
        .bind-icon {
            .anticon {
                color: @neutral-fg-3-normal;
            }
        }
    }
  }
}

.custom-split-popover{
    padding-top: 4 / @px-unit !important;
    width: 276 / @px-unit;
    height: 144 / @px-unit;
    .ant-popover-content {
       .ant-popover-inner {
        padding: 12 / @px-unit !important;
         .ant-popover-inner-content {
            .custom-split-popover-content {
                display: flex; 
                gap: 12 / @px-unit;
                .custom-split-list {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr); 
                    gap: 12 / @px-unit;
                    .custom-split-list-item {
                        width: 96 / @px-unit;
                        height: 32 / @px-unit;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        box-sizing: border-box;
                        border: 1 / @px-unit  solid @neutral-stroke-1-normal;
                        border-radius: 4 / @px-unit;
                        background: @neutral-bg-2-normal;
                        cursor: pointer;
                        &:hover {
                           box-sizing: border-box;
                           border: 1 / @px-unit solid @brand-stroke-1-hover;
                           color: @brand-fg-1-hover;
                        }
                    }
                    .disabled-item {
                        cursor: not-allowed;
                        box-sizing: border-box;
                        border: 1 / @px-unit solid @neutral-stroke-disabled;
                        background: @neutral-bg-disabled;
                        color: @neutral-fg-disabled;
                         &:hover {
                           border: 1 / @px-unit  solid @neutral-stroke-1-normal;
                           color: @neutral-fg-disabled;
                        }
                    }
                }
            }
         }
       }
    }
}

.custom-tooltip {
    width: 240 / @px-unit;
    height: 140 / @px-unit;
    border-radius: 8 / @px-unit;
    .ant-tooltip-inner {
        padding: 0 !important;
        width: 240 / @px-unit;
        height: 140 / @px-unit;
        .custom-canvas {
            width: 240 / @px-unit;
            height: 140 / @px-unit;
            padding: 8 / @px-unit !important;
        }
    }
}


.customizeview-custom-layout-modal {
    .ant-modal-body {
        padding: 0 !important;
        
        .layout-modal-container{
            width: 872 / @px-unit;
            height: 560 / @px-unit;
            display: flex;
            .layout-modal-table {
                width: 199 / @px-unit;
                height: 100%;
                
                ._Table_{
                    height: 100%;
                    padding-top: 0;
                    border-right: 1/@px-unit solid @neutral-stroke-1-normal;
                    
                    .ant-table-thead {
                        .operation-btn {
                            
                            .cus_panel{
                                width: 32 / @px-unit !important;
                                height: 32 / @px-unit !important;
                            }
                        }
                    } 
                    .ant-table-row {
                        cursor: pointer;
                    }
                    .custom-row-tooltip {
                        width: 100%;
                        position: relative;
                        &:hover {
                            width: 100%;
                        }
                    }              
                    .custom-row-tooltip:hover::after {
                        content: attr(title);
                        position: absolute;
                        bottom:  40 / @px-unit;
                        width: 100%;
                        left: 50%;
                        border-radius: 4 / @px-unit;
                        background: @neutral-bg-inverted;
                        transform: translateX(-50%);
                        color: @neutral-fg-2-normal;
                        padding: 8 / @px-unit 12 / @px-unit;
                        border-radius: 4 / @px-unit;
                        white-space: wrap;
                        z-index: 1000;
                    }
                    .ZD-selected-row {
                        background: @brand-bg-2-selected !important;
                    }
                     .disabled-column {
                            
                        .ant-table-cell {
                            color: @neutral-fg-disabled !important;
                            cursor: not-allowed;
                            background: none !important;
                            .cus_panel {
                                color: @neutral-fg-disabled !important;
                            }
                            &:hover {
                                background: none !important;
                            }
                        }
                    }
                }
                
                ._Table_ .ant-table > .ant-table-container tr td {
                    border-bottom: 0;
                }
                .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table {
                    border-top: 0;
                }
            }
            .layout-modal-panel {
                
                flex: 1;
            }
        }
    }
}

.CustomizeView-CanvasGrid {
    padding: 16 / @px-unit;
    display: flex;
    gap: 16 / @px-unit;
    flex-direction: column;
    height: 100%;
    width: 100%;
    .CustomizeView-CanvasGrid-options {
       height: 32 / @px-unit;
       display: flex;
       gap: 4 / @px-unit;
       align-items: center;
       .split-line {
         width: 1 / @px-unit;
         height: 24 / @px-unit;
         background: @neutral-stroke-2-normal;
       }
    }
    .CustomizeView-CanvasGrid-canvas {
        flex: 1;
        border: 1px solid @neutral-stroke-2-normal;
        canvas {
            background-color: @neutral-bg-5-normal;
            display: block;
            width: 100% !important;
            height: 100% !important;
            box-sizing: border-box;
        }
    }
}


:root {
   --table-line-color: @neutral-stroke-2-normal; 
   --table-background-color: @neutral-bg-5-normal;
   --selected-background-color: @brand-bg-2-normal;
   --selected-line-color: @brand-stroke-1-normal;
}







.icon-name(@titleWidth) {
    
    .channel-item-icon {
        margin-right: 4/@px-unit;
        margin-left: 4/ @px-unit;
    }

    
    .channel-item-title {
        width: @titleWidth;
        color: @neutral-fg-2-normal;
        font-size: 14 / @px-unit;
        font-weight: 400;
        line-height: 24 / @px-unit;
    }
}

.channel-tree {
    height: 100%;
    width: 100%;

    
    .channel-tooltip {
        .ant-tooltip-content {
            .ant-tooltip-inner {
                word-spacing: normal;
                word-break: break-word;
            }
        }
    }


    &.show-search {
        .channel-item-wrapper {
            height: calc(100% - @channelTreeSearchHeight);
            overflow-y: auto;
        }
    }



    .channel-item {
        display: flex;
        align-items: center;
        padding: 0 8 / @px-unit;
        height: 36 / @px-unit;
        cursor: pointer;

        .cus_panel{
            min-width: 24  / @px-unit;
        }

        &.active:not(.multiple-channel-item) {
            background: @brand-bg-2-selected !important;
        }

        
        .channel-item-checkbox {
            width: 30 /@px-unit;
        }

        .icon-name(300/@px-unit);

        &:hover {
            background-color: @neutral-bg-1-hover-1;
        }
        .hasRecord{
            svg{
                path:nth-child(2){
                    fill: @brand-fg-1-normal;
                }
            }
        }

        &.disabled{
            cursor: not-allowed;
        }

    }

    
    .channel-search {
        height: @channelTreeSearchHeight;

        .ant-input-affix-wrapper.labelInput {
            height: 36 / @px-unit;
        }

        .label-normal-container {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

        .label-normal-container,
        .label-normal-wrapper {
            width: 100% !important;
        }

        
        span.cus_icons {
            svg {
                width: 32/ @px-unit;
                height: 32/ @px-unit;
            }
        }
    }

    
    .channel-group {
        .channel-group-header {
            height: 36 / @px-unit;
            padding-left: 8 / @px-unit;
            display: flex;
            align-items: center;
            cursor: pointer;
            justify-content: space-between;
            padding-right: 4 / @px-unit;
            margin-right: 8 / @px-unit;
            &:hover{
                background-color: @neutral-bg-1-hover-1;
            }
        }

        @GroupBehindWidth: 32 / @px-unit;

        .channel-group-header-left {
            display: flex;
            align-items: center;
            width: 100%;
            
            &.group-behind {
                width: calc(100% - @GroupBehindWidth);
            }
        }


        .channel-group-header-right {
            display: flex;
        }

        .channel-group-arrow {
            transform: rotate(-90deg);

            &.arrow-active {
                transform: rotate(0deg);
            }
        }



        .ant-checkbox-wrapper {
            margin-left: 4 / @px-unit;
        }

        .channel-group-folder {
            margin-left: 4 /@px-unit;

        }

        .channel-group-title {
            color: @neutral-fg-2-normal;
            font-size: 14 / @px-unit;
            font-weight: 400;
            line-height: 24 / @px-unit;
            padding-left: 4 / @px-unit;
        }

        .channel-item {
            padding-left: 52 / @px-unit;
            margin-right: 8 / @px-unit;
            padding-right: 0;
        }

        .channel-group-content.close {
            height: 0;
            overflow: hidden;
        }
    }
}

.channel-icon-name {
    .icon-name('auto')
}



._NewSchedule_Component_ {
    .main-container {
        .dayplan {
            background-color: @neutral-bg-4-normal;
            .track {
                &.whiteMode{
                    background: @status-yellow-fg-1-normal;
                }
            }
        }
        
        
        
        
        
        
        
        
        
    }
     
     .schedule-ruler-wrapper {
        .schedule-ruler-slot {
            .schedule-rule-slot-content {
                display: flex;
                justify-content: flex-start;
            }
        }
    }
    .button-container {
        .default-btn {
            margin-right: 20 / @px-unit;
        }
        
        .delete-btn {
            display: none;
        }
    }
    .header {
        .status-container {
            .circle {
                &.whiteMode{
                    background: @status-yellow-fg-1-normal;
                }
            }
            .status-wrapper {
                &.compact-status-wrapper-disabled {
                    color: @neutral-fg-disabled;
                }
            }
        }
    }
    
    .ant-btn-link[disabled],
    .ant-btn-link[disabled]:hover,
    .ant-btn-link[disabled]:focus,
    .ant-btn-link[disabled]:active {
        color: @neutral-fg-disabled;
    }
}


.schedule-week-iconstyle {
    display: flex;
    justify-content: left;
    align-items: center;
    & > span {
        margin-left: 10 / @px-unit;
    }
}


.track-time-popover {
    .ant-popover-content {
        .ant-popover-inner {
            padding: 0;
        }
    }
}

.track-time-hover-popover {
    .ant-popover-content {
        .ant-popover-inner {
            padding: 0;
        }
    }
}

.schedule-model-wrap {
    display: flex;
    .schedule-plan-list {
        width: 200 / @px-unit;
        border-right: 1px solid @neutral-stroke-2-normal;
        .title {
            height: 48 / @px-unit;
            display: flex;
            align-items: center;
            background-color: @neutral-bg-4-hover;
            border-bottom: 1px solid @neutral-stroke-2-normal;
        }

        .schedule-item {
            height: 36 / @px-unit;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .schedule-item:hover {
            background-color: @neutral-bg-1-hover-1;
        }
        .schedule-item-active {
            background-color: @brand-bg-2-selected;
        }
        .schedule-label {
            width: 160 / @px-unit;
            display: flex;
            align-items: center;
            padding: 0 16 / @px-unit;
        }
        .schedule-icon {
            width: 40 / @px-unit;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 4 / @px-unit;
        }
    }
    .schedule-panel {
        width: 100%;
    }
}



.tagadd_modal {
  .tag_defaultBtn {
    float: left;
  }
}

.tag_BtnDiv {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.tag_RightBtnDiv {
  display: flex;
  flex-direction: row;
}

.save_Btn {
  margin-right: 10 / @px-unit;
}


.component-playback-show-picture{
    width: 100%;
    height: 362/@px-unit;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: @ocxBg;
    &>img{
        width: 123/@px-unit;
        height: 92/@px-unit;
    }
}

.backup-videoLayout-picPanel {
    .picTitle {
        height: 48 / @px-unit;
        span{
            height: 48 / @px-unit;
            padding-left: 12 / @px-unit;
            line-height: 48 / @px-unit;
        }
    }
    &>img{
        width: 100%;
        height: 362/@px-unit;
    }
}

.empty-chart-img {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

@ant-modal-height-height: 50/@px-unit;

.FavoriteResult-container {
    position: relative;
    display: flex;
    height: 100%;
    .operation-button {
        .normal-icon {
            cursor: pointer;
        }
        .hide-active-icon {
            visibility: visible;
        }
        .collect-active-icon {
            color: @status-yellow-fg-1-normal;
        }
    }
    .container-right {
        height: 100%;
        flex-shrink: 0;
        width: 600/@px-unit;
        flex: 0 1 598/@px-unit;
        padding: 10/@px-unit;
        background-color: @neutral-bg-4-normal;
        .winPreviewPanel {
            height: 410/@px-unit;
        }
        .record-preview-panel {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .record-preview-header {
            height: 41/@px-unit;
            width: 100%;
            box-sizing: border-box;
            line-height: 40/@px-unit;
            border-bottom: 1/@px-unit solid @neutral-stroke-2-normal;
            padding-left: 20/@px-unit;
        }
    }
    .container-middle {
        background-color: @neutral-bg-5-normal;
        position: relative;
        display: flex;
        height: 100%;
        overflow: hidden;
        flex: 1 1 958/@px-unit;
        .middle-empty {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .result-wrapper {
            display: flex;
            width: 100%;
            padding: 16/@px-unit;
            padding-top: 0;
            height: 100%;
            flex-direction: column;
            .result-header {
                background-color: @neutral-bg-5-normal;
                display: flex;
                justify-content: space-between;
                align-items: center;
                box-sizing: border-box;
                padding-right: 20/@px-unit;
                height: 48/@px-unit;
                position: relative;
                .return-button {
                    margin-left: 20/@px-unit;
                }

                .result-header-right {
                    position: absolute;
                    right: 8/@px-unit;
                }
            }
            ._SideView_ {
                min-width: 0;
            }
            .result-up-bar {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 48/@px-unit;
                flex-wrap: nowrap;
                .left-bar-wrapper {
                    display: flex;
                    align-items: center;

                    .allCheckWrap {
                        display: flex;
                    }
    
                    .allCheckBehind {
                        width: auto !important;
                        min-width: 50 / @px-unit;
                    }
                }
                .right-bar-wrapper {
                    display: flex;
                    align-items: center;
                }
            }
            .result-down-bar {
                display: flex;
                align-items: center;
                margin-top: 8/@px-unit;
                height: 36/@px-unit;
            }
            .img-card-group {
                flex: 1;
                overflow-x: hidden;
                overflow-y: auto;    
                .card-group-wrapper {
                    display: flex;
                    flex-wrap: wrap;
                    .ant-card {
                        margin-right: 16/@px-unit;
                        margin-bottom: 16/@px-unit;
                        .card-extendHeader {
                            z-index: 1;
                            position: absolute;
                            padding: 8/@px-unit;
                            display: flex;
                            width: 100%;
                            flex-direction: row-reverse;
                            .collect-active-icon {
                                color: @status-yellow-fg-1-normal;
                            }
                        }
                    }
                }

                .middle-layout-loading {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    width: 100%;
                    height: 100%;
                }
                .searching-mask, .no-result-mask {
                    height: 100%;
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
          

            }
            .card-wrapper-selected {
                border: 1/@px-unit solid  @brand-stroke-1-hover !important;
            }
        }
        .labelSlider-float-left, .labelSlider-float-right {
            line-height: initial;
        }            
    }
}

.label-sort-btn-wrapper {
    height: 32/@px-unit;
	display: flex;
	align-items: center;
}
.icon-sort-btn-wrapper{
    display: inline-block;
    div {
        line-height: 18/@px-unit;
    }
    .sort-icon-up, .sort-icon-down {
        .svgFont(16)
    }
}

.exactSearch-search-backup {
    .check-group-wrapper {
        display: flex;
    }
    .fileType_blank {
        display: inline-block;
        width: 8/@px-unit;
        height: 8/@px-unit;
        margin-right: 10/@px-unit;
    }
    .fileType_general {
        background: @general;
    }
    .fileType_detect {
        background: @detect;
    }
    .fileType_alarm {
        background: @alarm;
    }
    .fileType_detectAlarm {
        background: @detectalarm;
    }
    .fileType_ivs {
        background: @ivs;
    }
    .fileType_pos {
        background: @pos;
    }
    .fileType_jpg {
        background: @jpg;
    }
    .fileType_card {
        background: @card;
    }
}
._rightButtoms_ {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    &>* {
        margin-right: 12/@px-unit;
    }
}


._LargeModelSearchFunction_ {
    
    
    
    .page-view{
        .same-line {
            display: flex;
            align-items: center;
            .label-div-Container {
                margin-right: 30/@px-unit !important;
            }
        } 
    }
      
    .Finder_icon {
        cursor: pointer; 
        svg {
          width: 22/ @px-unit;
          margin: 0 4/ @px-unit;
          height: 22/ @px-unit;
        }
    
        &.close-icon:hover svg g path {
          fill: @brand-fg-1-normal;
        }
    
        &.close-icon {
          position: relative;
          left: 32 / @px-unit;
          z-index: 1;
          height: 32px !important;
        }
      } 
     
}
.search-custom-modal-centered{
  vertical-align: top !important;
  margin-top:52 / @px-unit 
} 



  
.searchFunc-footer{
  display: flex;
  justify-content: center;  
  align-items: center;   
        .widget-empty{
          background: none;
        }
  & > div {
    width: 100%;
  }
}


.backup-progress-allInfo{
    display: flex;
    justify-content: flex-end;
    &>div{
        line-height: 32/@px-unit;
    }
    .backup-progress-precent{
        color: @neutral-fg-1-normal;
    }
}

.backup-all-process{
    height: 16 / @px-unit;
}

.backup-module-process-popover{
    width: 600/@px-unit;
}
.backup-progress-table{
    .ant-table-thead{
        &>tr>th{
            background-color: @neutral-bg-1-normal;
        }
    }
    .virtual-list{
        padding-left: 5/@px-unit;
        .virtual-table-cell {
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }
    }
    .virtual-list-right{
        display: none;
    }
}


._AiRulePlugin_ {
  width: 640/@px-unit; 
  
  padding-top: inherit; 

  &ocx {
    width: 600/@px-unit; 
    height: 350/@px-unit; 
    display: inline-block;
  }

  &toolbar {
    padding: 12/@px-unit 4/@px-unit 12/@px-unit 4/@px-unit;
    display: flex;
    justify-content: space-between;
    width: 40/@px-unit; 
    height: 350/@px-unit; 
    background-color: @neutral-bg-4-hover;
    flex-direction: column;
    position: relative;
  }

  .bottom-toolbar {
    position: absolute;
    bottom: 4/@px-unit;
  }
}


.GraphCanvas {
  display: inline-block;
  position: relative;
  
  
  
  
  width: 100%;
  height: 100%;

  .leftOcx {
    width: 100%;
    height: 100%;
  }

  .canvas-stage-wrap {
    position: relative;
    width: 100%;
    height: 100%;

    .canvas-lib-stage {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 999;
    }
  }
}


.cut-image-title {
    flex: none;
    background:none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 8/ @px-unit;
    margin-bottom: 4/ @px-unit;
    line-height: 24 / @px-unit;
    font-size: 14 / @px-unit;
    color: @neutral-fg-3-normal;
}

.cut-image {
    padding: 10 / @px-unit;
    background-color: @neutral-bg-5-normal;
    height: 224 / @px-unit;

    .upload-card {
        border: 1 / @px-unit dashed @neutral-stroke-2-normal;
        background-color: @neutral-bg-2-normal;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;

        .upload-text {
            text-align: center;
            width: 100%;

            .upload-icon-content {
                font-size: 16 / @px-unit;
                line-height: 24 / @px-unit;
                color: @neutral-fg-2-normal;
                height: 24 / @px-unit;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .upload-tip {
                width: 100%;
                margin-top: 16 / @px-unit;
                color: @neutral-fg-4-normal;
                font-size: 16 / @px-unit;
                line-height: 24 / @px-unit;
            }
        }


        &:hover {
            border-color: @brand-stroke-1-hover;

            .upload-icon,
            .upload-icon-content {
                color: @brand-stroke-1-hover;
            }
        }
    }

    .normal-upload-card {
        height: 200 / @px-unit;
    }
}

.cut-image.containImg-cut-image {
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: auto;
    align-content: flex-start;

    &>* {
        width: 100/ @px-unit;
        height: 100/ @px-unit;
        margin-right: 5 / @px-unit;
        margin-bottom: 5 / @px-unit;
    }

    .image-card {
        position: relative;

        img {
            width: 100%;
            height: 100%;
        }

        .ant-checkbox {
            position: absolute;
            top: 4 / @px-unit;
            left: 6 / @px-unit;
        }

        .remove-btn {
            display: none;
            cursor: pointer;
            position: absolute;
            right: -10 / @px-unit;
            top: -10 / @px-unit;
            z-index: 999;
        }

        &:hover .remove-btn {
            display: block;
        }
    }
}

.cut-image.isExpand {
    height: 100%;
}


.large-model-search {
    &:not(.searchFunc){
        max-width: 1240 / @px-unit;
        min-width: 1085 / @px-unit;
    }

    .input-container {
        display: flex;
        align-items: center;

        .border-container {
            position: relative;
            flex: 1;
            display: flex;
            margin: 1px;

            &::before {
                content: "";
                position: absolute;
                top: -1px;
                left: -1px;
                right: -1px;
                bottom: -1px;
                background: linear-gradient(-90deg, rgb(117, 244, 255) -1.897%,rgb(0, 147, 255) 7.543%,rgb(0, 111, 255) 29.1%,rgb(189, 89, 255) 98.918%);
                border-radius: 8 / @px-unit;
            }
        }

        .search-input {
            position: relative;
            flex: 1;
            width: 100%;
            background-color: @neutral-bg-5-normal;
            border-radius: 8 / @px-unit;

            input {
                flex: 1;
                border: none;
                outline: none;
                padding-left: 0;
                font-size: 20 / @px-unit;

                &:focus {
                    box-shadow: none;
                }
            }

            .label-div-Container {
                flex: none;

                button {
                    width: 160 / @px-unit;
                    height: 48 / @px-unit;
                    font-size: 24 / @px-unit;
                    background: linear-gradient(-36.51deg, rgb(189, 89, 255) 0%,rgb(0, 111, 255) 35%,rgb(0, 147, 255) 40%,rgb(117, 244, 255) 50%, rgb(0, 147, 255) 60%, rgb(0, 111, 255) 66%, rgb(189, 89, 255) 102%);
                    transition: 0.8s;
                    background-size: 280% auto;

                    &:hover {
                        background-position: right top;
                    }
                }
            }

            .search {
                display: flex;
                align-items: center;
                height: 72 / @px-unit;
                border-radius: 8 / @px-unit;
                padding: 8 / @px-unit 16 / @px-unit;

                .search-input-comp {
                    flex: 1;
                    text-align: left;

                    .label-normal-container {
                        width: 100%;
                    }
                }

                .label-normal-container {
                    padding: 0 !important;
                }

                .search-btn {
                    position: relative;
                    height: 56 / @px-unit;
                    
                    .star {
                        position: absolute;
                        top: 12 / @px-unit;
                        right: 28 / @px-unit;
                        color: @neutral-fg-on-color;
                    }
                }

                .clear.cus_panel {
                    display: none;
                    color: @neutral-fg-3-normal;
                    cursor: pointer;
                }

                &:hover .clear.cus_panel {
                    display: flex;

                    &.hide {
                        display: none;
                    }
                }

                .input-before-icon {
                    display: flex;
                    align-items: center;
                    height: 32 / @px-unit;
                    width: 32 / @px-unit;
                    margin: 0 8 / @px-unit 0 4 / @px-unit;
                    border-radius: 4 / @px-unit;
                    background: linear-gradient(-36.51deg, rgb(189, 89, 255) 0%,rgb(0, 111, 255) 35%,rgb(0, 147, 255) 40%,rgb(117, 244, 255) 50%, rgb(0, 147, 255) 60%, rgb(0, 111, 255) 66%, rgb(189, 89, 255) 102%);
                    transition: 0.8s;
                    background-size: 280% auto;

                    span {
                        color: @neutral-fg-on-color;
                    }

                    &:hover {
                        cursor: pointer;
                        background-position: right top;
                    }
                }
            }
        }

        .addon-after {
            flex: none;
            height: 64 / @px-unit !important;
            margin-left: 12 / @px-unit;
            text-align: center;
            cursor: pointer;
        }
    }

    .top-container {
        display: flex;
        align-items: flex-end;

        .top-container-left {
            flex: 1;
        }

        .top-container-right {
            flex: none;

            .favorite {
                padding: 4 / @px-unit 12 / @px-unit;
                font-size: 18 / @px-unit;
                border-radius: 8 / @px-unit;
                background-color: @bm-bg-1-normal;
                margin-bottom: 10 / @px-unit;
                cursor: pointer;

                .favorite-icon {
                    display: inline-block;
                }

                &:hover {
                    background: @bm-bg-1-hover;
                }
            }
        }
    }

    &.index {
        .search-input {
            .search {
                border-radius: 0;
            }
        }
    }

    &.result {
        .search-input {
            padding: 8 / @px-unit;

            .search {
                height: 56 / @px-unit;
                padding: 8 / @px-unit 0;
            }
        }
    }

    .bottom {
        display: flex;
        justify-content: space-between;
        margin-top: 16 / @px-unit;

        .bottom-left {
            display: flex;
            flex: none;

            .time-select {
                margin-right: 24 / @px-unit;
                cursor: pointer;

                &:hover {
                    color: @brand-fg-1-hover;

                    .cus_panel  {
                        color: @brand-fg-1-hover;
                    }
                }
            }

            .channel-select {
                display: flex;
                align-items: center;
                cursor: pointer;

                .cus_panel {
                    vertical-align: middle;
                }

                &:hover {
                    color: @brand-fg-1-hover;

                    .cus_panel  {
                        color: @brand-fg-1-hover;
                    }
                }
            }
        }
    }
}

.large-model-channel-select {
    max-height: 300 / @px-unit;
    overflow-y: auto;
}



@expandContentOffset: 114 / @px-unit;

.mixin() {
    .label-normal-container {
        padding: 0 !important;
    }

    .label-normal {
        width: 100% !important;
    }
    .component-content{
        width: 100%;
        margin-bottom: 16 / @px-unit;
        .label-div-Container {
            width: 100%;
        }
        .labelContainer {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
    
            .label-content {
                width: 100% !important;
                flex: none;
                height: 22 / @px-unit;
                line-height: 22 / @px-unit;
            }
    
            .wrap-content {
                flex: 1 1 auto;
                width: 1/ @px-unit !important;
                min-width: 45%;
                max-width: 100%;
            }
        }
    }
    .half-width {
        flex: none;
        width: 45%;
        margin-right: 5%;
    }
    
}

._TypeSelector_ {
    width: 100%;
    position: relative;
    height: 100%;

    .content {
        .mixin();
        display: flex;
        flex-direction: column;
        padding: 16 / @px-unit;
        display: block;

        .item-list {
            
            flex:1;
            display: flex;
            flex-wrap: wrap;
            align-content: flex-start;
            
            .label-div-Container {
                width:100%;
                .date-range-picker {
                    width:100%;
                    .dateRangePicker-content-wrapper{
                        width:100% !important;
                    }
                }
            }
        }
    }

    .expandBtn {
        height: 24 / @px-unit;
        color: @brand-fg-1-normal;
        line-height: 24 / @px-unit;
        margin-top: 16 / @px-unit;
        cursor: pointer;
        display: flex;
        justify-content: flex-end;
        align-items: center;

        .more-icon {
            .svgOut(@brand-fg-1-normal);
        }

        &:hover {
            color: @brand-fg-1-hover;
            .more-icon {
                .svgOut(@brand-fg-1-hover);
            }
        }
    }
}

._TypeSelector_popover {
    left: 369/ @px-unit !important;
    top: 0 !important;
    width: 0;
    z-index: 0;

    .ant-popover-arrow {
        display: none;
    }

    .ant-popover-inner {
        visibility: hidden;
    }

    .expand-content {
        .mixin();
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        visibility: visible;
        overflow-x: hidden;
        position: absolute;
        background-color: @neutral-bg-4-normal;
        
        overflow-y: auto;
        height: calc(100vh - @navMenuHeight);
        width: 304/ @px-unit;
        padding: 16 / @px-unit;
        left: 100%;
        
        top: @navMenuHeight;
    }
}


@minModalConentWidth: 1800 / @px-unit; 
@modalFooterHeight: 60 / @px-unit; 
@preEmptyHeight: 240 / @px-unit; 
@modalPicContentHeight: calc(100vh - @navMenuHeight - @modalFooterHeight - @preEmptyHeight); 


.route-modal {