.alert {
    padding-left: 65px;
    color: black;
}

.liveplayer-container, .lp-video-container {
    width: 100%;
}

.liveplayer-container {

}

.lp-video-container {
    position: relative;
}

.lp-video-ls {
    width: 100%;
    height: auto;
    z-index: 2;
    position: relative;
}

.lp-video-overlay-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: red;
    z-index: 3;
}

.lp-video-overlay-canvas .lp-video-objects > div {
    border: 2px dashed rgba(255,0,0,0.45);
    position: absolute;
    border-radius: 7px;
}

.lp-video-overlay-canvas .lp-video-objects > div > span {
    background-color: rgba(255,0,0,0.45);
    color: black;
    position: absolute;
    margin: -2px 0 0 -2px;
    padding: 1px 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 7px;
    display: inline-block;
    font-family: sans-serif;
    font-size: 12px;
    font-weight: bold;
}

@media screen and (max-width: 991px) {
    .lp-video-overlay-canvas .lp-video-objects > div {
        border: 2px dashed rgba(255,0,0,0.45);
    }

    .lp-video-overlay-canvas .lp-video-objects > div > span {
        display: none;
    }
}

.lp-video-overlay-canvas .lp-video-objects > div.detection_not_in_hot_area{
    border: 2px dashed rgba(164, 164, 164, 0.45);
}

.lp-video-overlay-canvas .lp-video-objects > div.detection_not_in_hot_area > span {
    background-color: rgba(164, 164, 164, 0.45);
    display: none;
}

.hhh{
    height: 250px;
    border: 2px solid red;
}

.small-gutters{
    margin-left: 0px;
    margin-right: 0px;
}

.small-gutters > .col, .small-gutters > [class*="col-"]{
    padding-left: 3px;
    padding-right: 3px;
}

.small-gutters > .col, .small-gutters > .widgetManager_item{
    padding-left: 3px;
    padding-right: 3px;
}

.card_minimal .card-header{
    padding: 5px 10px 6px 10px;
}

.card_minimal .card-title{
    font-size: 14px;
    line-height: 1.2;
}

.card_minimal{
    margin-bottom: 5px;
}

.lp-video-ls > video{
    /*visibility: hidden;*/
}

.lp-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #dc3545;
    z-index: 1;
    text-align: center;
    /*font-size: 50px;*/
    margin-top: 15px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.widgets_layout_2x2 .widgetManager_item{
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.widgets_layout_3x3 .widgetManager_item{
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.widgets_layout_4x3 .widgetManager_item{
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.widgets_layout_6x3 .widgetManager_item{
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.widgetManager_item{
    position: relative;
    width: 100%;
    min-height: 1px;
}

.selectgroup-item:hover > .selectgroup-button {
    border-color: #1572E8;
    z-index: 1;
    color: #1572E8;
    background: rgba(21, 114, 232, 0.15);
}

.widgetManager_block:fullscreen {
    overflow-y: auto !important;
}
.widgetManager_block:-ms-fullscreen {
    overflow-y: auto !important;
}
.widgetManager_block:-webkit-full-screen {
    overflow-y: auto !important;
}
.widgetManager_block:-moz-full-screen {
    overflow-y: auto !important;
}

.fullscreened_element_HACK .widgetManager_block{
    overflow-y: auto !important;
}

.playlist_item .sysname{
    font-size: 10px;
    color: grey;
    /*font-style: italic;*/
}

#records_timeline{
    padding-left: 0px;
    padding-right: 0px;
}

#records_timeline .vis-custom-time {
    pointer-events : none;
}

#records_timeline .vis-item.vis-background{
    /*background-color: rgba(49, 206, 54, 0.65);*/
    /*background-color: #379f42;*/
    background: linear-gradient(0deg, rgba(255,255,255,0) 10%, #379f42 85%);
    z-index: 2;
    height: 50px!important;
}

#records_timeline .vis-item.newest_stream{
    /*background-color: rgba(255, 231, 15, 0.65);*/
    /*background-color: transparent;*/
    /*background: repeating-linear-gradient(-45deg, #379f42, #379f42 3px, transparent 3px, transparent 6px);*/
    /*background-color: #3a7b41;*/
    background: linear-gradient(0deg, rgba(255,255,255,0) 10%, #3a7b41 85%);
    z-index: 1;
}

#records_timeline .vis-item.recordPlayer_event_motion_pir, #records_timeline .vis-item.recordPlayer_event_motion{
    /*background-color: rgba(255, 231, 15, 0.65);*/
    /*background-color: #00BFFF;*/
    background: linear-gradient(0deg, rgba(255,255,255,0) 10%, #00BFFF 85%);
    z-index: 4;
}

#records_timeline .vis-item.recordPlayer_event_object_detected{
    /*background-color: rgba(255, 231, 15, 0.65);*/
    /*background-color: #fff200;*/
    background: linear-gradient(0deg, rgba(255,255,255,0) 10%, #fff200 85%);
    z-index: 4;
}

#records_timeline .vis-item.recordPlayer_alert_automatic{
    /*background-color: rgba(255, 231, 15, 0.65);*/
    /*background-color: #f56338;*/
    background: linear-gradient(0deg, rgba(255,255,255,0) 10%, #f56338 85%);
    z-index: 3;
}

#records_timeline .vis-item.recordPlayer_alert_manual{
    /*background-color: rgba(255, 231, 15, 0.65);*/
    /*background-color: #0048ff;*/
    background: linear-gradient(0deg, rgba(255,255,255,0) 10%, #0048ff 85%);
    z-index: 3;
}

#records_timeline .vis-panel.vis-center{
    overflow: visible;
}

#records_timeline .vis-label{
    font-size: 11px;
    padding: 0px 5px;
}

#records_timeline .vis-label .vis-inner{
    padding: 0;
}

#records_timeline{
    color: white;
    font-size: 11px;
}

#records_timeline .vis-timeline{
    /*border: none;*/
    /*background-color: #41485a;*/
    /*border-radius: 5px;*/
    background-color: rgba(26, 32, 53, 0.85);
}

#records_timeline .vis-foreground .vis-group{
    border-color: grey;
}

#records_timeline .vis-time-axis .vis-text{
    color: white;
}

#records_timeline .vis-labelset .vis-label{
    color: white;
}

#records_timeline .mainMarker{
    background-color: red;
}

#videosArea .player_container > video{
    width: 100%;
    height: auto;
}

#videosArea .player_container{
    width: 100%;
    height: auto;
}

#cameraListArea, #videosArea{
    margin-bottom: 15px;
}

#playerButtons{
    margin-top: 5px;
    text-align: center;
    margin-bottom: 5px;
}

#playerButtons .icon{
    position: relative;
    top: 1px;
}

.events_container .event a{
    display: block;
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 7px 15px;
    margin: 0px 5px;
}

.events_container .blue-event a{
    display: block;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 7px 15px;
    margin: 0px 5px;
}

.events_container .event a i{
    margin-right: 3px;
}

.events_container .event.inactive_event a{
    display: block;
    border: 2px solid grey;
    color: grey;
    padding: 7px 15px;
    margin: 0px 5px;
}

.playerBlinkEventRed .lp-video-overlay-canvas{
    animation-name: blinkEventRed ;
    animation-duration: .75s ;
    animation-timing-function: step-end ;
    animation-iteration-count: infinite ;
    animation-direction: alternate;
}

.blinkEventRed{
    animation-name: blinkEventRed ;
    animation-duration: .75s ;
    animation-timing-function: step-end ;
    animation-iteration-count: infinite ;
    animation-direction: alternate;
}

@keyframes blinkEventRed {
    50% { box-shadow: inset 0px 0px 10px 3px red; }
}

.carousel-control-next, .carousel-control-prev{
    width: 40px;
    background-color: rgba(255,0,0,0.2);
    z-index:99;
    opacity: 0;
}

.carousel-control-next:focus, .carousel-control-prev:focus{
    opacity: 0;
}

.carousel-control-next:hover, .carousel-control-prev:hover{
    opacity: .9;
}

.widgetManager_container:fullscreen .widget_info_block{
    display: none;
}

.widgetManager_container:fullscreen .card_minimal{
    margin-bottom: 0px;
}

.widgetManager_container:fullscreen .small-gutters > .col, .widgetManager_container:fullscreen .small-gutters > .widgetManager_item{
    padding-left: 0px;
    padding-right: 0px;
}

.fullscreened_element_HACK .widgetManager_container .widget_info_block{
    display: none;
}

.fullscreened_element_HACK .widgetManager_container .card_minimal{
    margin-bottom: 0px;
}

.fullscreened_element_HACK .widgetManager_container .small-gutters > .col, .fullscreened_element_HACK .widgetManager_container .small-gutters > .widgetManager_item{
    padding-left: 0px;
    padding-right: 0px;
}


body .modal{
    color: black;
}

body .modal-body .list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

.ui-state-placeholder {
    margin: 5px 0;
    padding: 0;
    min-height: 45px;
    background: #f5f5f5;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.reorder_handle{
    cursor: grab;
}

.blue{
    color: #1572E8!important;
}

.grey{
    color: rgba(169, 175, 187, 0.82);
}

.red{
    color: red;
}

.c_pointer{
    cursor: pointer;
}

.table{
    color: rgba(169, 175, 187, 0.82);
}

.table-hover tbody tr:hover{
    color: grey;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
    padding-left: 30px!important;
}

a.userSoundStatus{
    cursor: pointer;
}


/**
Notifikator - responzivni
 */

@media screen and (max-width: 991px) {
    .navbar-header{
        flex-direction: column-reverse;
    }

    html:not(.notificator_has_event).topbar_open .navbar-header .notificator_parent_block{
        display: none;
    }

    html:not(.topbar_open):not(.notificator_has_event) .navbar-header .user_info_navigation{
        display: none;
    }

    html:not(.topbar_open).notificator_has_event .navbar-header .user_info_navigation{
        display: none;
    }

    html:not(.topbar_open).notificator_has_event .navbar-header{
        transform: translate3d(0, 61px, 0) !important;
    }

    html:not(.topbar_open).notificator_has_event .main-panel{
        transform: translate3d(0, 40px, 0) !important;
    }

    html.topbar_open.notificator_has_event .main-panel{
        transform: translate3d(0, 101px, 0) !important;
    }

    .events_container{
        overflow: hidden;
        flex-direction: row;
        /* flex-basis: content; */
        flex-shrink: 0;
        flex-wrap: nowrap;
        overflow-x: scroll;
        margin-left: 0px;
        margin-right: 0px;
    }

    .notificator_parent_block::-webkit-scrollbar {
        display: none;
    }

    .notificator_parent_block{
        overflow-x: scroll;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .topbar_open .navbar-header .navbar-nav > .nav-item:last-child .nav-link{
        padding: 10px!important;
    }
}

/**
User settings
 */

body[data-background-color="dark"] .bootstrap-tagsinput{
    background-color: #1a2035;
    /*border-color: #2f374b;*/
    border: 1px solid #2f374b;
    padding: .6rem 1rem;
    border-radius: .25rem;
    display: block;
}

body[data-background-color="dark"] .bootstrap-tagsinput input{
    color: white;
}

body[data-background-color="dark"] .bootstrap-tagsinput .label-info{
    color: white;
    /*background: #48ABF7;*/
}

.white{
    color: #fff;
}

.selectgroup-item.success:hover > .selectgroup-button {
    border-color: #31CE36;
    color: #31CE36;
    background-color: rgba(49, 206, 54, 0.15);
}

.selectgroup-item.danger:hover > .selectgroup-button {
    border-color: #F25961;
    color: #F25961;
    background-color: rgba(242, 89, 97, 0.15);
}

.selectgroup-item.warning:hover > .selectgroup-button {
    border-color: #FFAD46;
    color: #FFAD46;
    background-color: rgba(255, 173, 70, 0.15);
}


body[data-background-color="dark"] .success .selectgroup-input:checked + .selectgroup-button{
    border-color: #31CE36;
    color: #31CE36;
    background-color: rgba(49, 206, 54, 0.15);
}

body[data-background-color="dark"] .danger .selectgroup-input:checked + .selectgroup-button{
    border-color: #F25961!important;
    color: #F25961!important;
    background-color: rgba(242, 89, 97, 0.15);
}

body[data-background-color="dark"] .warning .selectgroup-input:checked + .selectgroup-button{
    border-color: #FFAD46;
    color: #FFAD46;
    background-color: rgba(255, 173, 70, 0.15);
}

.subdevices_block{
    border:1px solid #6b6c6f!important;
    margin-bottom: 10px;
    border-radius: .25rem;
    background-color: rgba(14, 74, 255, 0.25);
}

body[data-background-color="dark"] .subdevices_block .selectgroup-button{
    border: 1px solid #9aa0ac;
}

body[data-background-color="dark"] .subdevices_block .text-muted{
    color: #9aa0ac!important;
}

table thead tr th{
    color: #fff;
}

.alertrange_block{
    border:1px solid #6b6c6f!important;
    margin-bottom: 10px;
    border-radius: .25rem;
    background-color: #482234;
}

.alertrange_block .form-check-inline{
    flex-wrap: wrap;
    display: inline-flex;
    flex-direction: row;
}

.add_new_alertrange a{
    cursor: pointer;
}

.alertrange_delete {
    padding-right: 10px;
    padding-top: 4px;
    display: block;
}

.label_with_rightButton{
    display: block;
    width: 100%;
}

.label_with_rightButton a{
    float: right;
}

input.alertrange_timepicker{
    width: 75px!important;
}

.main-panel > .container{
    min-height: calc(100% - 113px);
}

.subdevices_block > h3{
    margin-top: 5px;
    cursor: pointer;
}

.subdevices_block > h3 > i{
    display: none;
    color: white;
}

.subdevices_block > h3.collapsed > i.show{
    display: inline-block;
    padding-left: 10px;
    padding-top: 5px;
    float: left;
}

.subdevices_block > h3:not(.collapsed) > i.hide{
    display: inline-block;
    padding-left: 10px;
    padding-top: 5px;
    float: left;
}

.notificator_block_count{
    display: none;
}

a.unreaded{
    background-color: #d1e3f6;
    font-weight: bolder;
}

.notification_more_button{
    position: absolute;
    background-color: #31CE36;
    text-align: center;
    border-radius: 10px;
    min-width: 17px;
    height: 17px;
    font-size: 10px;
    color: #ffffff;
    font-weight: 300;
    line-height: 17px;
    top: 7px;
    right: 10px;
    letter-spacing: -1px;
}

.notif-box .notif-scroll{
    max-height: calc(100vh - 200px);
}

.notif-box .notif-center a .notif-icon, .messages-notif-box .notif-center a .notif-icon{
    min-width: 40px;
}

.notify_list .notif-icon{
    background: #1572E8 !important;
    min-width: 40px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin: 10px;
    align-items: center;
    justify-content: center;
    background: #eee;
    border-radius: 50%;
    color: white;
}

body[data-background-color="dark"] .main-panel .notify_list .list-group-item{
    padding-left: 0;
    padding-right: 10px;
    font-weight: lighter;
    border: 2px solid #202940!important;
    margin-bottom: 8px;
    background-color: #202940;
    border-radius: 10px;
}

.notify_list .message{
    color: white;
}

body[data-background-color="dark"] .main-panel .notify_list .unread{
    background-color: #0c192f!important;
    border: none!important;
    font-weight: bolder;
}

.notify_list .unread .message{
    /*font-weight: bolder;*/
}

.notification_list{

}

.notification_list .notify_show_item{
    padding: 13px 5px;
    border-radius: 7px;
}

.notification_list .notification_separator{
    margin: 2px 0;
}

.notification_list .unread{
    background: linear-gradient(-45deg, #06418E, #1572E8);
    color: white!important;
}

.notification_list .unread .text-muted{
    color: white!important;
}

.notification_list .notify_time, .notification_list .notify_text{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;

    align-items: center;
}

table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::before, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_asc_disabled::before, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc_disabled::before, table.dataTable thead .sorting_desc_disabled::after {
    bottom: 1.5em;
}

body[data-background-color="dark"] textarea.disabled_log, body[data-background-color="dark"] textarea.disabled_log{
    color: #353535;
}

.status-online::before, .status-offline::before, .status-away::before, .status-warning::before {
    position: absolute;
    right: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: '';
    border: 1px solid #fff;
}

.status-inline.status-online::before, .status-inline.status-offline::before, .status-inline.status-away::before, .status-inline.status-warning::before{
    right: initial;
    left: 0;
    top: 3px;
}

.status-online::before {
    background-color: #31CE36;
}

.status-offline::before {
    background-color: #dc3545;
}

.status-away::before {
    background-color: #999999;
}

.status-warning::before {
    background-color: #FFAD46;
}

.status-block{
    position: relative;
    padding-left:  15px;
    cursor: pointer;
}

.random_password{
    cursor: pointer;
}

.subdevices_block.unassigned{
    background-color: rgba(221, 221, 221, 0.25);
}

.bootstrap-datetimepicker-widget li.picker-switch{
    display: none;
}

.bootstrap-datetimepicker-widget table thead tr th{
    color: #323232;
}

body[data-background-color="dark"] .border-white-important{
    border-color: white!important;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered{
    color: white;
}
.little_card .little{
    padding: 5px 5px 5px 5px;
}
.little_card .card-list{
    padding: 0 0;
}

.little_card .card-list .item-list{
    padding: 5px 15px 10px 0;
}

.card-list .item-list .info-user2 .status {
    font-size: 11px;
    color: #7d7b7b;
}

.scrolled_fixed_card{
    max-height: 250px;
    overflow: hidden;
}

.scrolled_fixed_card.scrollbar-outer > .scroll-element{
    background-color: #202940;
}

.scrolled_fixed_card.scrollbar-outer > .scroll-element .scroll-element_track{
    background-color: #202940;
}

body[data-background-color="dark"] .form-control:disabled, body[data-background-color="dark"] .form-control[readonly]{
    color: #4c4a4a;
}

.log_viewer_block{
    background: #e8e8e8;
    border-color: #e8e8e8;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    padding: .6rem 1rem;
    font-size: 14px;
    color: #323232;
    overflow-y: scroll;
    max-height: 300px;
    min-height: 35px;
}

.log_color_red{
    color: #dc3545;
}

.log_color_blue{
    color: #007bff;
}

.log_color_orange{
    color: #fa9035;
}

.log_color_green{
    color: green;
}



.not_alertable{
    color: rgba(169, 175, 187, 0.82) !important;
}
.is_alertable{
    color: #ffc107;
}

.small-top-margin{
    margin-top: 3px;
}

.widget_info_block{
    z-index: 100;
}

.ajax_modal_href{
    color: white!important;
    text-decoration: none!important;
    cursor: pointer;
    margin-left: 10px;
}

@media screen and (max-width: 476px) {
    .ajax_modal_href{
        margin-top: 0px;
        margin-left: 2px;
    }
    .card .card-header .card-head-row .card-tools, .card-light .card-header .card-head-row .card-tools{
        text-align: right;
    }
}

.btn-icon.btn-xs-autosize {
    height: auto;
    min-width: auto;
    width: auto;
}

.kill_event_alert{
    cursor: pointer;
    display: inline-block;
    padding: 0px 0px 0px 10px;
}

.device_status_bar{
    font-size: 15px;
    display: inline-block;
    margin-left: 15px;
}

.status-bar-block {
    display: inline-block;
    margin-left: 15px;
}

.status-bar-online::before, .status-bar-offline::before, .status-bar-away::before {
    /*position: absolute;*/
    /*right: 0;*/
    /*top: 7px;*/
    width: 10px;
    height: 10px;
    border-radius: 50%;
    content: '';
    border: 1px solid #fff;
    display: inline-block;
}

.status-bar-online::before {
    background-color: #31CE36;
}

.status-bar-offline::before {
    background-color: #dc3545;
}

.status-bar-away::before {
    background-color: #999999;
}

.status_bar_detail_href{
    display: inline-block;
    margin-left: 5px;
}

.status-bar-block{
    font-size: 15px;
}

#record_control_panel{
    width: 100%;
    position: relative;
}

#record_control_panel .sticky_box{
    position: fixed;
    /*width: 1653px;*/
    z-index: 100;
    right: 0;
    bottom: 0;
    background: rgba(26, 32, 53, 0.7) !important;
    box-shadow: 0px 0px 15px #121727;
    /*padding-bottom: 3px;*/
    /*transform: scaleY(0);*/
    /*max-height: 0;*/
    display: none;
}

#record_control_panel.loaded .sticky_box{
    /*transition: max-height 1s ease-in;*/
/*    transform: scaleY(1);*/
/*    max-height: 100%;*/
    /*bottom: 0;*/
    display: block;
}

#record_control_panel{
    display: none;
}

#record_control_panel.loaded{
    display: block;
}

.loadingVideoArea{
    margin-top: 25px;
    color: #dc3545;
    padding: 50px 0;
    background-color: rgba(26, 32, 53, 0.5);
    border-radius: 7px;
}


/**
Prehravani zaznamu - responzivni
 */
@media screen and (max-width: 991px) {
    #record_control_panel .sticky_box{
        background: rgba(81, 91, 106, 0.7) !important;
        box-shadow: 0px 0px 3px rgb(81, 91, 106);
    }
}

#record_fullscreen_container:fullscreen .date_selector{
    display: none;
}

#record_fullscreen_container:fullscreen #record_control_panel > div.sticky_box{
    width: 100%!important;
}

#record_fullscreen_container:fullscreen #record_control_panel{
    opacity: 0.25;
}

#record_fullscreen_container:fullscreen #record_control_panel:hover{
    opacity: 1;
}

@media (hover: none){
    #record_fullscreen_container:fullscreen #record_control_panel:hover {
        opacity: 0.25;
    }
}

#record_fullscreen_container:fullscreen #record_control_panel.touch_on{
    opacity: 1;
}

#record_fullscreen_container:fullscreen > div.card-body{
    padding: 0;
}

#record_fullscreen_container:fullscreen .carousel_videoArea_container{
    align-items: center;
    justify-content: center;
}

#record_fullscreen_container:fullscreen .landscape_fullscreen #recordCarouselBlock, #record_fullscreen_container:fullscreen .landscape_fullscreen #recordCarouselBlock > div, #record_fullscreen_container:fullscreen .landscape_fullscreen #recordCarouselBlock > div > div,
#record_fullscreen_container:fullscreen .landscape_fullscreen #recordCarouselBlock .carousel_videoArea_container{
    height: 100%;
    padding: 0;
}


#record_fullscreen_container:fullscreen .landscape_fullscreen .videoArea{
    flex: 0 0 0px;
    height: 100%;
    padding: 0;
}
#record_fullscreen_container:fullscreen .landscape_fullscreen .videoArea > div.player_container, #record_fullscreen_container:fullscreen .landscape_fullscreen .videoArea video{
    width: auto;
    height: 100%;
}

/**
iPhone fullscreen hack START
 */

#record_fullscreen_container.fullscreened_element_HACK .date_selector{
    display: none;
}

#record_fullscreen_container.fullscreened_element_HACK #record_control_panel > div.sticky_box{
    width: 100%!important;
}

#record_fullscreen_container.fullscreened_element_HACK #record_control_panel{
    opacity: 0.25;
}

#record_fullscreen_container.fullscreened_element_HACK #record_control_panel:hover{
    opacity: 1;
}

@media (hover: none){
    #record_fullscreen_container.fullscreened_element_HACK #record_control_panel:hover {
        opacity: 0.25;
    }
}

#record_fullscreen_container.fullscreened_element_HACK #record_control_panel.touch_on{
    opacity: 1;
}

#record_fullscreen_container.fullscreened_element_HACK > div.card-body{
    padding: 0;
}

#record_fullscreen_container.fullscreened_element_HACK .carousel_videoArea_container{
    align-items: center;
    justify-content: center;
}

#record_fullscreen_container.fullscreened_element_HACK .landscape_fullscreen #recordCarouselBlock, #record_fullscreen_container.fullscreened_element_HACK .landscape_fullscreen #recordCarouselBlock > div, #record_fullscreen_container.fullscreened_element_HACK .landscape_fullscreen #recordCarouselBlock > div > div,
#record_fullscreen_container.fullscreened_element_HACK .landscape_fullscreen #recordCarouselBlock .carousel_videoArea_container{
    height: 100%;
    padding: 0;
}


#record_fullscreen_container.fullscreened_element_HACK .landscape_fullscreen .videoArea{
    flex: 0 0 0px;
    height: 100%;
    padding: 0;
}
#record_fullscreen_container.fullscreened_element_HACK .landscape_fullscreen .videoArea > div.player_container, #record_fullscreen_container.fullscreened_element_HACK .landscape_fullscreen .videoArea video{
    width: auto;
    height: 100%;
}

/**
iPhone fullscreen hack END
 */

.videoArea{
    position: relative;
}
.videoArea video {
    z-index: 1;
}
.overlay_video{
    height: 100%;
    width: 100%;
    position:absolute;
    z-index: 2;
}

#record_control_panel{
    z-index: 100;
}

body .modal-body .list-group-item.video_group_hours_li{
    background-color: #F1FBFF !important;
    border: 1px solid rgba(0,0,0,0.30)!important;
    margin-bottom: 2px;
    cursor: pointer;
}
body .modal-body .list-group-item .video_group_hours{
    margin-top: 5px;
    margin-bottom: 5px;
}

body .modal-body .list-group-item.video_group_items_li{
    background-color: #E0F6FF !important;
    border: 1px solid rgba(0,0,0,0.30)!important;
    margin-bottom: 2px;
    cursor: pointer;
}

body .modal-body .list-group-item .video_group_items{
    margin-top: 5px;
    margin-bottom: 5px;
}

body .modal-body .list-group-item.selected_checkbox{
    background-color: #E0FFE2 !important;
}

li.video_group_hours_li>span.closed, li.video_group_hours_li>span.opened{
    float: right;
    margin-top: 3px;
}

li.video_group_hours_li>span.opened{
    display: none;
}

li.video_group_hours_li.expanded>span.opened{
    display: inline-block;
}

li.video_group_hours_li.expanded>span.closed{
    display: none;
}



li.video_group_items_li>span.closed, li.video_group_items_li>span.opened{
    float: right;
    margin-top: 3px;
}

li.video_group_items_li>span.opened{
    display: none;
}

li.video_group_items_li.expanded>span.opened{
    display: inline-block;
}

li.video_group_items_li.expanded>span.closed{
    display: none;
}

button.submit_download_multiple_videos .not_running_download{
    display: block;
}
button.submit_download_multiple_videos .is_running_download{
    display: none;
}

button.submit_download_multiple_videos:disabled .not_running_download{
    display: none;
}
button.submit_download_multiple_videos:disabled .is_running_download{
    display: block;
}

.upper{
    text-transform: uppercase;
}

.alertrange_block label{
    cursor: pointer;
}

.custom-control.custom-radio.one_per_line, .custom-control.custom-checkbox.one_per_line{
    display: block;
}

small.detekce_range_hint{
    white-space: normal;
    color: #61a9ac !important;
}

small.detekce_range_hint strong{
    font-weight: 900;
}

.radio-input-with-hint input + label small, .checkbox-input-with-hint input + label small{
    display: block;
    max-height: 0;
    overflow: hidden;
    /*transition: max-height 2s linear;*/
    transition: max-height 2s linear;
}

.radio-input-with-hint input:checked + label small, .checkbox-input-with-hint input:checked + label small{
    max-height: 500px;
    transition: max-height 1s linear;
}

.underline{
    text-decoration: underline;
}

#areas_list ul li label{
    color: black!important;
}

.disabled_canvas {
    cursor: not-allowed;
    pointer-events: none;
}

#areas_list .detectionZone{
    width: 60%;
    border: none;
    resize: none;
    text-overflow: ellipsis;
    overflow: hidden;
}

#privacy_zones_editor canvas{
    width: 100%!important;
    /*height: auto!important;*/
}

[data-notify] { z-index: 1100 !important; }

.cursor_pointer{
    cursor: pointer;
}

.hidenLoaderArea{
    position: absolute;
    top: 0;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-bottom: 0;
    color: #dc3545;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    display: none;
}

.hidenLoaderArea > div{
    /*position: fixed;*/
    /*top: 47%;*/
    display: inline-block;
    margin-top: 50px;
}

.videoArea .overlay_video .loader_overlay{
    background-color: rgba(255, 255, 255, 0.4);
    display: none;
    height: 100%;
    width: 100%;
    z-index: 3;
}

.videoBufferLoader{
    color: #dc3545;
    margin-top: 5px;
    margin-left: 5px;
}

.camera_record_player_block .date_selector input[readonly]{
    background-color: #1a2035!important;
    color: #fff!important;
    border-color: #2f374b!important;
}

.camera_record_player_block .label_fullscreen{
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 10px;
    margin-right: 10px;
    color: black;
    background: white;
    mix-blend-mode: screen;
    font-weight: 900;
}

.notification_images_block > div > img{
    width: 30%;
}

.notification_images_block{
    max-height: 75px;
    overflow: hidden;
    position: relative;

}

/*.notification_images_block > div:after{*/
/*    content:" ";*/
/*    width:100%;*/
/*    position:absolute;*/
/*    left:0;*/
/*    bottom:0;*/
/*    height:50%;*/
/*    background-image: linear-gradient(to bottom, rgba(255,255,255,0), white);*/
/*}*/

.notify_href{
    cursor: pointer;
}

/*
* ViewerJS
*/
.viewer-toolbar > ul > .viewer-large::before{
    margin: 15px;
}

.viewer-close::before, .viewer-flip-horizontal::before, .viewer-flip-vertical::before, .viewer-fullscreen-exit::before, .viewer-fullscreen::before, .viewer-next::before, .viewer-one-to-one::before, .viewer-play::before, .viewer-prev::before, .viewer-reset::before, .viewer-rotate-left::before, .viewer-rotate-right::before, .viewer-zoom-in::before, .viewer-zoom-out::before{

}

.viewer-toolbar > ul > .viewer-large {
    height: 50px;
    width: 50px;
}

.panelToggler{
    cursor: pointer;
}

.panelToggler i:nth-child(2), .panelToggler.collapsed i:nth-child(1){
    display: inline-block;
}

.panelToggler.collapsed i:nth-child(2), .panelToggler i:nth-child(1){
    display: none;
}

.white{
    color: white;
}

.router_monitor .status_blocks .status-block, .data_monitor .status_blocks .status-block{
    display: inline-block;
    text-align: center;
    margin-top: 15px;
}

.router_monitor .status_blocks .status-block:before, .data_monitor .status_blocks .status-block:before{
    position: static;
    width: 10px;
    display: block;
    /*margin-right: 5px;*/
    margin: 0 auto;
}

.smaller{
    font-size: 10px;
}

.capitalize{
    text-transform: capitalize;
}

.uppercase{
    text-transform: uppercase;
}

/**
Iphone fullscreenhack
 */

.fullscreened_element_HACK{
    position: absolute!important;
    height: 100%!important;
    width: 100%!important;
    overflow: hidden!important;
    left: 0!important;
    top: 0!important;
    z-index: 1001;
    background-color: black;
}

.fullscreened_mode_HACK .main-panel{
    position: static!important;
}

.fullscreened_mode_HACK .main-panel footer{
    /*display: none;*/
}

.phase_2_event_thumb{
    border: 1px solid orange;
    background-color: orange;
}

.log_automatic_alert{
    cursor: pointer;
}

.arm-status, .arm-status-small, .device-status, .device-status-small{
    font-weight: bold;
    margin-left: 10px;
    display: inline-block;
    text-transform: uppercase;
}

.device-status, .device-status-small{
    text-transform: none;
}

.arm-status:before, .arm-status-small:before, .device-status:before, .device-status-small:before{
    right: initial;
    left: 0px;
    top: 8px;
}

.arm-status-small, .device-status-small{
    font-size: 13px;
}
.arm-status-small:before, .device-status-small:before{
    top: 4px;
}

.arm-status.status-offline, .arm-status-small.status-offline{
    color: red;
}

.arm-status.status-online, .arm-status-small.status-online{
    color: #31CE36;
}

.arm-status.status-warning, .arm-status-small.status-warning{
    color: orange;
}

.arm-status.status-away, .arm-status-small.status-away{
    color: #999999;
}



body .modal-body .list-group-item.site-list{
    background-color: #ececec;
    margin-bottom: 5px;
    border: 1px solid #cecece;
    border-radius: 7px;
}

.site-list .name-of-site{
    font-size: 16px
}

body .modal-body .list-group-item.site-list .device-list{
    background-color: #fff;
    margin-bottom: 5px;
    border: 1px solid #cecece;
    border-radius: 7px;
}

.pip-expanded, .pip-small, .pip-icon, .pip-explainer {
    position: absolute;
    left: 0;
    top: 0;
    display :block;
}

.pco_settings_block{
    flex-wrap: wrap;
}
.pco_settings_block > div.custom-control.custom-checkbox{
    flex-wrap: wrap;
    width: 50%;
    margin-right: 0px;
}

.btn-dark{
    color: black!important;
}

.btn-dark:hover{
    color: white!important;;
}

.green{
    color: #31CE36;
}

.black{
    color: black;
}

.white{
    color: white;
}

.admin_dashboard_history_block{
    font-size: 12px;
    background-color: transparent;
    border: none;
}

.toggle_mute_button{
    z-index:150;
    position: absolute;
    border-radius: 50%;
    background-color: red;
    width: 20px;
    height: 20px;
    text-align: center;
    right: 0;
    margin-top: 5px;
    margin-right: 5px;
    color: black;
    -webkit-box-shadow: 0px 0px 3px 3px red;
    -moz-box-shadow: 0px 0px 3px 3px red;
    box-shadow: 0px 0px 3px 3px red;
    opacity: 0.3;
    padding-top: 3px;
}

.toggle_mute_button .fa-volume-off{
    display: block;
}
.toggle_mute_button .fa-volume-up{
    display: none;
}

.toggle_mute_button.unmuted .fa-volume-off{
    display: none;
}
.toggle_mute_button.unmuted .fa-volume-up{
    display: block;
}

.toggle_mute_button.unmuted{
    background-color: green;
    -webkit-box-shadow: 0px 0px 3px 3px green;
    -moz-box-shadow: 0px 0px 3px 3px green;
    box-shadow: 0px 0px 3px 3px green;
}

.fullscreen_mode .toggle_mute_button{
    transform: scale(3);
    margin-top: 3%;
    margin-right: 3%;
    padding-top: 2px;
}

.toggle_mute_button:hover{
    opacity: 1;
    background-color: red;
    -webkit-box-shadow: 0px 0px 3px 3px red;
    -moz-box-shadow: 0px 0px 3px 3px red;
    box-shadow: 0px 0px 3px 3px red;
    cursor: pointer;
}

.toggle_mute_button.unmuted:hover{
    opacity: 1;
    background-color: green;
    -webkit-box-shadow: 0px 0px 3px 3px green;
    -moz-box-shadow: 0px 0px 3px 3px green;
    box-shadow: 0px 0px 3px 3px green;
    cursor: pointer;
}

@media screen and (max-width: 991px) {
    .toggle_mute_button{
        display: none;
    }
    .fullscreen_mode .toggle_mute_button{
        display: block;
    }
}