.StreamaxDVR {
    float: left;
    width: 100%;
    height: calc(100% - 40px);
    height: -webkit-calc(100% - 40px);
    height: -moz-calc(100% - 40px);
    overflow-y: hidden;
    overflow-x: hidden;
    margin-top: 4px;
}

.StreamaxDVRLiveWrapper {
    float: left;
    width: 100%;
    height: 410px;
}

.video-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #ccc;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.IFrameDVRWrapper {
    position: relative;
    float: left;
    width: 100%;
    height: 410px;
}

#availableTimeChart {
    visibility:hidden;
    height:180px;
    width:100%;
}

#StreamaxTabControl {
    width: 100%;
    height: 100%;
    background-color: white;
}

    #StreamaxTabControl .dx-tabs {
        border: none;
    }

    #StreamaxTabControl .dx-tab {
        left: 15px;
    }

    #StreamaxTabControl .dx-tab-selected {
        border-top: 1px solid #ddd;
    }

    #StreamaxTabControl .dx-multiview-wrapper {
        border: none;
        border-top: 1px solid #ddd;
    }

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.StreamaxTabContent {
    height: 100%;
    width: 100%;
    padding: 15px;
}

.StreamaxDVRVideoContainer {
    float: left;
    width: 214px;
    height: 200px;
    border: #ddd 1px solid;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: center center #f6f6f6 no-repeat;
    cursor: pointer;
    position: relative; 
}

    .StreamaxDVRVideoContainer[channel][leftmargin] {
        margin-left: 2px;
    }

    .StreamaxDVRVideoContainer[channel][topmargin] {
        margin-top: 2px;
    }

    .StreamaxDVRVideoContainer[active="true"] {
        background-image: url(active.png);
    }

    .StreamaxDVRVideoContainer[active="false"] {
        background-image: url(passive.png);
    }

.IFrameDVRVideoContainer {
    float: left;
    width: 214px;
    height: 200px;
    border: #ddd 1px solid;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: center center #f6f6f6 no-repeat;
    cursor: pointer;
}

.IFrameDVRVideoContainer[channel][leftmargin] {
    margin-left: 2px;
}

.IFrameDVRVideoContainer[channel][topmargin] {
    margin-top: 2px;
}

.IFrameDVRVideoContainer[active="true"] {
    background-image: url(active.png);
}

.IFrameDVRVideoContainer[active="false"] {
    background-image: url(passive.png);
}

.StreamaxDVRChannelNo {
    position: relative;
    top: 49%;
    margin-right: 90px;
    font-size: 20px;
    font-weight: bold;
    color: #ddd;
    text-align: center;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.StreamaxDVRVideoContainer[active="false"]
.StreamaxDVRChannelNo {
    display: none;
}

.IFrameDVRVideoContainer[active="false"]
.StreamaxDVRChannelNo {
    display: none;
}

.IFrameDVRVideo {
    position: relative;
    width: 212px;
    height: 198px;
    object-fit: fill;
}

.StreamaxDVRProgressLine {
    float: left;
    width: 100%;
    margin-top: 148px;
}

    .StreamaxDVRProgressLine[history] {
        margin-left: 30px;
        width: calc(100% - 60px);
        margin-top: 210px;
    }

.StreamaxDVRProgressBar {
    float: left;
    margin-left: 10px;
}

    .StreamaxDVRProgressBar .dx-progressbar-range {
        border: 1px solid #57b43d;
        background-color: #57b43d;
    }

.StreamaxDVRCancelButton {
    float: left;
    margin-left: 5px;
    width: 16px;
    height: 16px;
    background: url(close.png) -16px center no-repeat;
    cursor: pointer;
}

.StreamaxDVRVideo {
    position: relative;
    top: -16px;
    width: 212px;
    height: 198px;
    object-fit: fill;
}

    .StreamaxDVRVideo[fullsize="true"] {
        width: 430px;
        height: 400px;
    }

    .StreamaxDVRVideo[history] {
        top: -10px;
    }

.UrlEmptyWarning {
    position: relative;
    top: 20px;
    text-align: center;
    font-size: 14px;
    margin: 5px 5px 5px 5px;
    font-weight: bold;
    color: #DC143C;
    text-align: center;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.HistoryUrlEmptyWarning {
    position:absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 14px;
    font-weight: bold;
    color: #DC143C;
    text-align: center;
    margin-top:100px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.ChannelName {
    font-size: 32px;
    font-weight: bold;
    color: #a9a69f;
    text-align: center;
    top: 30px;
    right: 5px;
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 9999;
    width: 50px;
    height: 50px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.RemainingDuration {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
    bottom: -3px;
    left: 2px;
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 5001;
    width: 15px;
    height: 15px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.StreamaxDVRSnapShot {
    position: relative;
    width: 36px;
    height: 36px;
    top: -228px;
    opacity: 0.5;
    border: none;
    border-radius: 0;
}

    .StreamaxDVRSnapShot[fullsize="true"] {
        top: -446px;
    }

    .StreamaxDVRSnapShot[history] {
        top: -440px;
    }

.StreamaxDVRCloseButton {
    position: relative;
    margin-top: -27px;
    margin-left: 196px;
    width: 16px;
    height: 16px;
    background: url(close.png) 0px center no-repeat;
    cursor: pointer;
    z-index: 5002;
}
    .StreamaxDVRCloseButton.hidden {
        display: none !important;
    }

.StreamaxDVRHDButton {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    cursor: pointer;
    z-index: 5002;
    transition: color 0.2s, opacity 0.2s;
}
    .StreamaxDVRHDButton.StreamaxDVRHDButtonOff {
        color: rgba(255, 255, 255, 0.4);
        opacity: 0.6;
    }
    .StreamaxDVRHDButton.StreamaxDVRHDButtonOn {
        color: #fff;
        opacity: 1;
    }
.IFrameDVRCloseButton {
    position: absolute;
    margin-left: 196px;
    width: 16px;
    height: 16px;
    background: url(close.png) 0px center no-repeat;
    cursor: pointer;
    z-index: 5002;
}

.StreamaxDVRCloseButton[fullsize="true"] {
    margin-left: 411px;
    display: none !important;
}

    .StreamaxDVRCloseButton[history] {
        position: absolute;
        width: 16px;
        height: 16px;
        top: 0;
        left: 415px;
        margin: 0;
        z-index: 5008;
        background: url(close.png) 0px center no-repeat;
    }

.StreamaxDVRHistoryWrapper {
    float: left;
    width: 100%;
    margin-top: 4px;
}

.StreamaxDVRHistoryVideoContainer {
    float: left;
    width: 100%;
    height: 100%;
}

.StreamaxDVRHistoryButton {
    float: right;
}

.StreamaxDVRHistoryPanel {
    float: left;
    width: 100%;
}

.StreamaxDVRHistoryDateTypeSelector {
    float: left;
    width: 70%;
}

.StreamaxDVRHistoryStartButton {
    float: left;
    margin-left: 10px;
    width: calc(30% - 10px);
    width: -webkit-calc(30% - 10px);
    width: -moz-calc(30% - 10px);
}

.StreamaxDVRHistoryDateRange {
    float: left;
    width: 100%;
    margin-top: 10px;
}

.StreamaxDVRHistoryStartDate {
    float: left;
    width: calc(50% - 5px);
    width: -webkit-calc(50% - 5px);
    width: -moz-calc(50% - 5px);
}

.StreamaxDVRHistoryEndDate {
    float: left;
    margin-left: 10px;
    width: calc(50% - 5px);
    width: -webkit-calc(50% - 5px);
    width: -moz-calc(50% - 5px);
}

.StreamaxDVRHistoryDownloadButton {
    float: right;
    margin-top: 10px;
    width: calc(30% - 10px);
    width: -webkit-calc(30% - 10px);
    width: -moz-calc(30% - 10px);
}

.StreamaxDVRHistoryCancelButton {
    float: right;
    margin-top: 10px;
    width: calc(30% - 10px);
    width: -webkit-calc(30% - 10px);
    width: -moz-calc(30% - 10px);
}

.StreamaxDVRHistoryLoadingButton {
    float: left;
    margin-top: 10px;
    width: calc(30% - 10px);
    width: -webkit-calc(30% - 10px);
    width: -moz-calc(30% - 10px);
}

.StreamaxDVRFlvJsError {
    float: left;
    width: 100%;
    margin-top: 150px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.StreamaxDVRHistoryErrorLine {
    float: left;
    margin-top: 5px;
    color: red;
}

StreamaxDVRVideo::-webkit-media-controls-fullscreen-button {
}

StreamaxDVRVideo::-webkit-media-controls-play-button {
    display: none;
}

StreamaxDVRVideo::-webkit-media-controls-timeline {
    display: none;
}

StreamaxDVRVideo::-webkit-media-controls-current-time-display {
}

StreamaxDVRVideo::-webkit-media-controls-time-remaining-display {
}

StreamaxDVRVideo::-webkit-media-controls-mute-button {
}

StreamaxDVRVideo::-webkit-media-controls-toggle-closed-captions-button {
}

StreamaxDVRVideo::-webkit-media-controls-volume-slider {
}

#StreamaxDVRNewHistoryButton {
    float: right;
    margin: 7px 0 6px;
}

#StreamaxHistoryPopupContent {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    padding-top: 10px;
    background-color: #f7f7f7;
}

#StreamaxHistoryHeader {
    height: 50px;
}

#StreamaxAlarmHeader {
    height: 50px;
}

#newRecordingTaskButton {
    float: right;
}

#newRecordingTaskPopover {
    position: absolute;
    border-radius: 5px;
    right: 0;
    top: 40px;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #DCDCDC;
    display: none;
    padding: 20px;
    background-color: white;
    z-index: 999;
}

.newRecordingTaskButtonArea {
    width: 100%;
    bottom: 0px;
    margin-bottom: 5px;
    position: absolute;
    padding: 5px;
    right: 0px;
}

    .newRecordingTaskButtonArea div {
        /*margin-left: 10px;*/
        float: right;
        width: 100px;
    }

.newRecordingTaskFilterArea {
}

.newRecordingTaskFilterRow {
    width: 100%;
    display: inline-block;
    margin-bottom: 5px;
}

    .newRecordingTaskFilterRow table {
        width: 100%;
    }

.newRecordingChannelIcon {
    background-image: url(dvricon.png);
    height: 32px;
    width: 41px;
    display: inline-block;
    margin-bottom: -2px;
    margin-left: 5px;
    background-repeat: no-repeat;
    background-position: left;
    text-align: right;
    padding: 5px;
    font-weight: bold;
    background-size: 45%;
    margin-left: 8px;
}

.newRecordingTaskFilterItem {
}

.newRecordingTaskFilterHeader {
    margin-bottom: 5px;
    color: #959595;
    font-size: 13px;
}

.newRecordingTaskFilterItemDouble {
    width: 50%;
    float: right;
}

.newRecordingTaskHeader {
    float: left;
    color: #475867;
    font-size: 18px;
    font-weight: bold;
    margin-top: 7px;
    margin-left: 10px;
}

#streamaxAlarmDatePicker {
    width: 160px;
    float: right;
    height: 34px;
    margin: 5px;
}

#newRecordingTaskDetailedRow {
    margin-bottom: 5px;
}

/*asda*/

.tabItemClickable {
    cursor: pointer;
}

.taskRecordItemActionArea {
    /*border-left: 1px solid #DDDDDD;*/
    position: relative;
}

.taskRecordItemInfo {
    color: #475867;
    text-align: right;
    padding-right: 15px;
    font-size: 12px;
    padding-top: 13px;
    width: 100%;
    vertical-align: baseline;
    font-weight: bold;
}

.taskRecordProgressBar {
    width: 80%;
    height: 5px;
    background-color: #DCDCDC;
    border-radius: 4px;
    float: left;
    margin: 7px 5px 0 7px;
}

.alarmRecordProgressBar {
    width: 80%;
    height: 5px;
    background-color: #DCDCDC;
    border-radius: 4px;
    float: left;
    margin: 7px 5px 0 7px;
}

.taskRecordProgressValueBar {
    background-color: #00C1BA;
    width: 0%;
    height: 100%;
    border-radius: 4px;
}

.alarmRecordProgressValueBar {
    background-color: #00C1BA;
    width: 0%;
    height: 100%;
    border-radius: 4px;
}

.taskRecordProgressText {
    float: left;
    /* font-weight: bold; */
    font-size: 13px;
}

.alarmRecordProgressText {
    float: left;
    /* font-weight: bold; */
    font-size: 13px;
}

.taskRecordItemDate {
    font-weight: bold;
    font-size: 13px;
}

.alarmRecordItemDate {
    position: relative;
    font-weight: bold;
    font-size: 13px;
    color: red;
}

    .alarmRecordItemDate .tooltiptext {
        visibility: hidden;
        width: 180px;
        background-color: lightgray;
        color: #475867;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        /* Position the tooltip */
        position: absolute;
        z-index: 1000;
        top: 100%;
        left: 50%;
        margin-left: -60px;
    }

    .alarmRecordItemDate:hover .tooltiptext {
        visibility: visible;
    }

.taskRecordItemCollapsedIcon {
    transform: matrix(0, 1, 1, 0, 0, 0);
    background: url(arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 7px;
    margin-right: 10px;
}

.taskRecordItemsContainer {
    /*border-top: 1px solid #DDDDDD;*/
}

    .taskRecordItemsContainer table {
        width: 100%;
        border-collapse: collapse;
    }

        .taskRecordItemsContainer table tr td {
            height: 43px;
        }

.taskItemLeftBorder {
    width: 1px;
    height: 30px;
    position: absolute;
    left: 0;
    background-color: #DDDDDD;
    top: 6px;
}

.alarmItemLeftBorder {
    width: 1px;
    height: 30px;
    position: absolute;
    left: 0;
    background-color: #DDDDDD;
    top: 6px;
}



.taskItemActionButton {
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    cursor: pointer;
}
    .taskItemActionButton.alarmItemDownloadButton {
        background-image: url(download_icon_small.png);
        width: 20px;
        margin-top: -5px;
        margin-right: 5px;
    }

    .taskItemActionButton.alarmRecordItemWatchButton {
        background-image: url(play_icon.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        margin: 15px;
        cursor: pointer;
    }

    .taskItemActionButton.taskRecordItemCancelButton {
        background-image: url(cancelicon.png);
    }

    .taskItemActionButton.taskRecordItemDeleteButton {
        background-image: url(delete_icon.png);
    }

.taskItemHeaderTableRow {
    border-bottom: 1px solid #DDDDDD;
}

.taskItemContentTableRow {
    border-bottom: 1px solid #DDDDDD;
}

    .taskItemContentTableRow td {
        /*display: none;*/
    }

.taskItemDownloadItemContainer {
    position: relative;
    font-size: 13px;
}

.alarmItemDownloadItemContainer {
    position: relative;
    font-size: 13px;
}

.taskDownloadItem {
    margin: 10px auto;
    /*width: 66%;*/
    text-align: center;
}

.alarmDownloadItem {
    margin: 10px auto;
    /*width: 66%;*/
    text-align: center;
}

.alarmDownloadItemIcon {
    background-image: url(dvricon.png);
    height: 20px;
    width: 32%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 5px;
    margin-left: 20px;
}

    .alarmDownloadItemIcon.alarmDownloadNotReady {
        background-image: url(dvricon_disabled.png);
    }

.taskDownloadItemIcon {
    background-image: url(dvricon.png);
    height: 20px;
    width: 32%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 5px;
    margin-left: 20px;
}

    .taskDownloadItemIcon.taskDownloadNotReady {
        background-image: url(dvricon_disabled.png);
    }

.alarmDownloadItemNumber {
    font-weight: bold;
    color: #475867;
    float: left;
    margin-left: 110%;
    width: 21px;
}

.taskDownloadItemNumber {
    font-weight: bold;
    color: #475867;
    float: left;
    margin-left: 110%;
    width: 21px;
}

.alarmDownloadNotReady .alarmDownloadItemNumber {
    font-weight: normal;
    color: #DDDDDD;
}

.taskDownloadNotReady .taskDownloadItemNumber {
    font-weight: normal;
    color: #DDDDDD;
}

.taskDownloadItemLink {
    text-decoration: underline;
    color: #338CDB;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

    .taskDownloadItemLink.taskDownloadNotReady {
        text-decoration: none;
        color: #DDDDDD;
        cursor: default;
    }

.alarmDownloadItemLink {
    text-decoration: underline;
    color: #338CDB;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

    .alarmDownloadItemLink.alarmDownloadNotReady {
        text-decoration: none;
        color: #DDDDDD;
        cursor: default;
    }

.taskItemHeaderTableRow[data-taskstate="-5"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="-4"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="-3"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="-1"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="0"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="1"] .taskRecordItemInfo {
    color: #00C1BA;
}

.taskItemHeaderTableRow[data-taskstate="3"] .taskRecordItemInfo {
    color: #24BC00;
}

.taskItemHeaderTableRow[data-taskstate="5"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="2"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="4"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="6"] .taskRecordItemInfo,
.taskItemHeaderTableRow[data-taskstate="8"] .taskRecordItemInfo {
    color: #cc1741;
}

.taskItemHeaderTableRow[data-taskstate="10"] .taskItemActionState {
    cursor:pointer;
}

#newRecordingChannelTable td {
    max-width: 4px;
}


tr.taskItemHeaderTableRow:hover, tr.taskItemHeaderTableRow.selectedRow {
    background-color: #f6f6f6;
}

.screenReaderText {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.taskRecordEmptyInfo {
    width: 100%;
    height: 95%;
    background-color: white;
    position: absolute;
    font-size: 13px;
    color: #959595;
    display: none;
}

.taskRecordEmptyIcon {
    background-image: url(dvr_info_icon.png);
    width: 10%;
    height: 13%;
    background-repeat: no-repeat;
    margin: 0 auto;
    background-size: contain;
    margin-top: 12%;
    margin-bottom: 2%;
}

.taskRecortdEmptyText {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.taskRecordLoadIndicator {
    margin: auto;
    height: 40px;
    width: 40px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

.taskRecordIndicatorText {
    position: absolute;
    left: -10px;
    text-align: center;
}

.taskRecordIndicatorIcon, .taskRecordIndicatorText {
    display: none;
}

.availableTimeChartLoadIndicator {
    margin: auto;
    height: 40px;
    width: 40px;
    top: 150px;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

.availableTimeChartIndicatorText {
    position: absolute;
    left: -10px;
    text-align: center;
}

.availableTimeChartIndicatorIcon, .availableTimeChartIndicatorText {
    display: none;
}

.VideoLoadIndicator {
    margin: auto;
    height: 40px;
    width: 40px;
    top: 8%;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

#taskCancelInformPopover {
    position: relative;
}

.taskCancelInformPopoverButtonContainer {
    width: 100%;
    display: inline-flex;
}

.taskCancelInformText {
    max-width: 200px;
    margin-bottom: 10px;
}

#taskCancelInformPopoverCancelButton {
    width: 100%;
    float: left;
    margin-right: 2.5px;
}

#taskCancelInformPopoverOkButton {
    width: 100%;
    float: left;
    margin-left: 2.5px;
}

#newRecordingTaskButtonAlertText {
    color: #cc1741;
    font-weight: 600;
    font-size: 12px;
    margin-top: 3px;
    display: none;
}

.StreamaxContentScrollview {
    border-top: 1px solid #DDDDDD;
}

.StreamaxAlarmContentScrollview {
    border-top: 1px solid #DDDDDD;
}

.taskItemCamContainer {
    float: left;
}

.newRecordingTaskButtonContainer {
    position: relative;
}

#StreamaxHistoryPopupPlayerPopover {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

#StreamaxHistoryPopupPlayerContent {
    position: absolute;
    width: 75%;
    height: 90%;
    background-color: white;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    margin: auto;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

#StreamaxHistoryPopupPlayerHeader {
    height: 40px;
    border-bottom: 1px solid #ddd;
    position: relative;
    background-color: white;
    border-radius: 5px 5px 0 0;
}

#StreamaxHistoryPopupPlayerHeaderText {
    font-size: 16px;
    font-weight: 500;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    margin: auto;
    height: 22px;
}

#StreamaxHistoryPopupPlayerHeaderCloseIcon {
    background-image: url(closeicon.png);
    float: right;
    position: absolute;
    right: 15px;
    height: 17px;
    width: 17px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 85%;
    background-position: center;
    z-index:9999;
}

#StreamaxHistoryPopupPlayerSelector {
    background-color: #f6f6f6;
    height: 15%;
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid #ddd;
}

#StreamaxHistoryPopupPlayerSelectorContainer {
    height: 100%;
    display: flex;
    padding: 0 10px;
    margin: 0 auto;
}

#StreamaxHistoryPopupPlayerSelectorContainerScroll {
    float: left;
    width: 100%;
    height: calc(100% - 10px);
    height: -webkit-calc(100%) !!important;
    height: -moz-calc(100% -50px);
}

.StreamaxHistoryPopupPlayerSelectorItem {
    background-color: #f6f6f6;
    margin: auto 5px;
    cursor: pointer;
    border: 1px solid #f6f6f6;
    position: relative;
}

    .StreamaxHistoryPopupPlayerSelectorItem:hover {
        border: 1px solid #ddd;
    }

.StreamaxHistorySelectorText {
    color: #bfb7b7;
    font-weight: bold;
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: 50%;
    font-size: 16px;
}

.StreamaxHistorySelectorIcon {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(dvricon_disabled.png);
    height: 60%;
    width: 49%;
    top: 0;
    bottom: 0;
    left: 13px;
    right: 0;
    margin: auto;
}

.StreamaxHistoryPopupPlayerSelectorItem.selectedCamItem div.StreamaxHistorySelectorIcon {
    background-image: url(dvricon.png);
}

.StreamaxHistoryPopupPlayerSelectorItem.selectedCamItem div.StreamaxHistorySelectorText {
    color: #475867;
}

#StreamaxHistoryPopupPlayer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15%;
    top: 40px;
}

#StreamaxHistoryPopupPlayerContainer {
    height: 100%;
    width: 100%;
    padding: 2px;
}

.StreamaxHistoryPopupPlayerItem {
    float: left;
    position: relative;
    margin-right:-4px;
}

#StreamaxHistoryPopupPlayerAlertText {
    color: #cc1741;
    font-weight: 600;
    font-size: 12px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 100;
    display: table-cell;
    text-align: center;
    display: none;
}

.StreamaxHistoryPopupPlayerItemInner {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    margin: auto;
    border: 1px solid #ddd;
    background-color: #475867;
}

.taskItemActionState, .alarmItemDownloadButton{
    float:right;
}
