* {
    font-size: 14px;
    color: #ffffff;
}


@font-face {
    font-family: 'Roboto';
    src: url('./Roboto/Roboto-Regular.ttf');
}

* {
    font-family: 'Roboto' !important;
}

body,
ul {
    margin: 0;
    padding: 0
}

body {
    background-color: rgb(48, 48, 48);

}

div[region='west'] {
    background-color: #2c2e3a;
    border-width: 0px;
    border-top: 10px solid #303030;
}

div[region='center'] {
    background-color: #373a49;
    border-width: 0px;
}

div[region='north'] {
    border-width: 0px;
    background-color: #373a49;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
    outline-width: 0px;
}

input[type='password']:focus,
input[type='text']:focus {
    box-shadow: 0ch 0ch 0ch;
    border-color: #b7acac;
}


/*
--------------------------------------------------------------------------------header
**/
.header {
    display: flex;
    justify-content: space-between;
    padding: 0px 20px 0px 0px;
    line-height: 40px;
    /* margin-left: 250px; */
    align-items: baseline;
}

.live,
.logout {
    display: flex;
}

.live a {
    min-width: 250px;
}



.live a,
.logout a {
    display: flex;
    justify-items: center;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout{
    height: 35px;
    background-color: #2c2e39;
}
.logout a{
    width: 90px;
    text-decoration: none;
}
.logout a +a{
    margin-left: 15px;
    background-color: black;
    border-radius: 30px;

}

.live a i,
.logout a i {
    width: 25px;
    display: contents;
}

.live a span{
    margin-left: 10px;
}

.live a.active {
    background-color: rgb(47 96 165);
}

.icon_logout::after {
    content: "";
    background-image: url(./images/logout.png);
    background-size: 100% 100%;
    width: 20px;
    height: 22px;
    position: relative;
    display: block;
}

.icon_admin::after {
    content: "";
    background-image: url(./images/admin.png);
    background-size: 100% 100%;
    width: 20px;
    height: 22px;
    position: relative;
    display: block;
}


.icon_settings::after {
    content: "";
    background-image: url(./images/settings.png);
    background-size: 100% 100%;
    width: 22px;
    height: 22px;
    position: relative;
    /* top: 10px; */
    display: block;
}

.icon_liveview::after {
    content: "";
    background-image: url(./images/liveview.png);
    background-size: 100% 100%;
    width: 22px;
    height: 22px;
    position: relative;
    /* top: 10px; */
    display: block;
}

/*
--------------------------------------------------------------------------------layout
**/
#body {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
}

/*
--------------------------------------------------------------------------------live
**/

#live {
    position: fixed;
    top: 40px;
    left: 0%;
    width: 100%;
    /* max-height: 900px; */
    background-color: #373a48;
    overflow: auto;
    height: calc(100% - 40px);
    z-index: 10000;
}

.main_live {
    display: flex;
    flex-direction: row;
    justify-content: end;
    padding-top: 20px;
}

.main_live .control {
    min-width: 410px;
    /* margin-right: 20px; */
    text-align: center;
    /* border: 5px solid #000;
    margin: 0px 10px; */
}

.main_live .control .card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_live .control .card .container-fluid {
    padding: 0px;
    margin-top: 10px;
    width: 200px;
}



.main_live .control .card label.pantilt {
    height: 40px;
    line-height: 40px;
    background-color: #424242;
    width: 100%;
    cursor: auto;
    font-weight: bold;
    font-size: 28px;
}

.main_live .control .card label.status {
    text-align: left;
}

.main_live .control .card label.active {
    background: rgb(47 96 165);
}

.main_live .control .card label.status span {
    margin-left: 15px;
}

.main_live .control .card .container-fluid .row-fluid {
    height: 50px;
    margin-left: 15px;
}

.main_live .control .card .container-fluid .row-fluid .span4 {
    height: 100%;
}

.main_live .control .card .container-fluid .row-fluid .span4 button {
    display: flex;
    background: transparent;
    border-width: 0px;
    width: 60px;
    height: 60px;
    background: transparent;
    border-width: 0px;
}

.main_live .control .card .container-fluid .row-fluid a {
    display: flex;
}

.main_live .control .card .container-fluid .row-fluid a span {
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    font-size: 16px;

}

.main_live .control .card .container-fluid .row-fluid .span3 a,
.main_live .control .card .container-fluid .row-fluid .span2 a {
    display: flex;
    justify-content: center;
    border: 1px solid #ffffff;
}

.main_live .control .card .form-horizontal {
    width: 100%;
    margin: 0px;
}

.main_live .control .card .form-horizontal .control-group .control-label {
    width: auto;
    text-align: left;
    margin-left: 20px;
    float: none;
}


.main_live .control .card .form-horizontal .control-group .controls {
    margin-left: 0px;
}

.main_live .control .card .form-horizontal .control-group .controls input.slider {
    width: 250px;
}

.main_live .control .card .form-horizontal .control-group .controls .slider-h {
    width: 250px;
    margin-left: 20px;
}

.main_live .control .card .form-horizontal .form-actions {
    padding: 0px;
}

.main_live .control .card .form-horizontal .form-actions label.checkbox {
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.main_live .control .card .form-horizontal .form-actions label.checkbox span {
    border: 1px solid #fff;
    width: 120px;
    height: 28px;
    display: inline-block;
    line-height: 28px;
    margin: 0px;
    border-radius: 1px;
    font-weight: bold;
}

.main_live .control .card .form-horizontal .form-actions label.checkbox+button,
.main_live .control .card .form-horizontal .form-actions button+button {
    margin-left: 10px;
}

.main_live .control .card .form-horizontal .form-actions button.btn-osd {
    background: transparent;
    border: 1px solid #ffffff;
    text-shadow: none;
    border-radius: 0px;
    height: 30px;
    font-weight: bold;
}

.main_live .control .card .focus,
.main_live .control .card .zoom {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 50px;
}

.main_live .control .card .focus a,
.main_live .control .card .zoom a {
    display: flex;
    width: 50px;
    height: 50px;
}

.main_live .control .card .focus button,
.main_live .control .card .zoom button {
    display: flex;
    width: 50px;
    height: 50px;
    background: transparent;
    border-width: 0px;

}

.main_live .control .card .focus button.refresh,
.main_live .control .card .focus a.refresh {
    width: 32px;
    height: 32px;
    margin-top: 10px;
    margin-left: 20px;
}

.focus .controls {
    margin-right: 0px;
}

.focus .controls .radio {
    margin-top: 10px;
    min-width: 60px;
}

.focus .controls .radio input[type="radio"] {
    margin-left: 0px;
}

.focus .controls .radio span {
    margin-left: 0px;
}

.card+.card .container-fluid {
    width: 100%;
}

.row-fluid .span3 button.btn-preset,
.row-fluid .span2 button.btn-preset {
    border: 1px solid #ffffff;
    background: transparent;
    /* display: flex; */
    /* justify-content: center; */
    border: 1px solid #ffffff;
    width: 45px;
    height: 45px;
}

.main_live .control .card .form-horizontal .form-actions button.btn-active,
.row-fluid .span3 button.btn-active,
.row-fluid .span2 button.btn-active {
    background: #5494ee;
}

.row-fluid .span2 label.checkbox,
.row-fluid .span3 label.checkbox {
    margin: 0px;
    padding: 0px;
}

.row-fluid .span2 label.checkbox input[type="radio"] {
    opacity: 0;
    width: 0px;
    height: 0px;
}


.main_live .control .card .form-horizontal .form-actions label.checkbox input[type="checkbox"],
.row-fluid .span2 label.checkbox input[type="checkbox"],
.row-fluid .span3 label.checkbox input[type="checkbox"] {
    opacity: 0;
    width: 0px;
    height: 0px;
}

.main_live .control .card .form-horizontal .form-actions label.checkbox input[type="checkbox"]:checked+span,
.row-fluid .span2 label.checkbox input[type="checkbox"]:checked+span,
.row-fluid .span2 label.checkbox input[type="radio"]:checked+span,
.row-fluid .span3 label.checkbox input[type="checkbox"]:checked+span {
    background: #5494ee;
}

.row-fluid .span2 label.checkbox span,
.row-fluid .span3 label.checkbox span {
    border: 1px solid #fff;
    /* width: 74px; */
    height: 40px;
    display: block;
    line-height: 40px;
    margin: 0px;

    border-radius: 1px;
}
/*
.icon_pt_left::after {
    content: "";
    background-image: url(./images/pt_left.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_left_up::after {
    content: "";
    background-image: url(./images/pt_left_up.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_left_down::after {
    content: "";
    background-image: url(./images/pt_left_down.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_right::after {
    content: "";
    background-image: url(./images/pt_right.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_right_up::after {
    content: "";
    background-image: url(./images/pt_right_up.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_right_down::after {
    content: "";
    background-image: url(./images/pt_right_down.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_home::after {
    content: "";
    background-image: url(./images/pt_home.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_up::after {
    content: "";
    background-image: url(./images/pt_up.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_down::after {
    content: "";
    background-image: url(./images/pt_down.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_zoom_in::after {
    content: "";
    background-image: url(./images/pt_zoom_in.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.icon_pt_zoom_out::after {
    content: "";
    background-image: url(./images/pt_zoom_out.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}




.icon_pt_focus_near_manual::after {
    content: "";
    background-image: url(./images/pt_focus_near_manual.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}


button:disabled .icon_pt_focus_near_manual::after {
    background-image: url(./images/pt_focus_near_auto.png);
}

.icon_pt_focus_far_manual::after {
    content: "";
    background-image: url(./images/pt_focus_far_manual.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

button:disabled .icon_pt_focus_far_manual::after {
    background-image: url(./images/pt_focus_far_auto.png);
}

.icon_pt_focus_push_manual::after {
    content: "";
    background-image: url(./images/pt_focus_push_manual.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

button:disabled .icon_pt_focus_push_manual::after {
    background-image: url(./images/pt_focus_push_auto.png);
}

.icon_pt_focus_refresh::after {
    content: "";
    background-image: url(./images/pt_focus_refresh.png);
    background-size: 100% 100%;
    width: 32px;
    height: 32px;
    position: absolute;
}
*/
/*
--------------------------------------------------------------------------------login
**/
#login {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    /*  background-color: #e3dada; */
    z-index: 1001;
    -moz-opacity: 0.95;
    opacity: 0.95;
    filter: alpha(opacity=95);
    opacity: 1;
    filter: alpha(opacity=100);
    text-align: center;
    background-color: rgb(48, 48, 48);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#login .center {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.center .dowebok {
    /* position: absolute;
    left: 50%;
    top: 50%; */
    width: 692px;
    height: 372px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #ffffff;
    background-image: url(./images/logo_en.png);
    background-repeat: no-repeat;
    background-position: center;
}

.center .locale_zh{
    background-image: url(./images/logo_zh.png);
}

.center .dowebok .left {
    min-width: 319px;
    height: 100%;
    background-image: url(./images/lg_bg.png);
    background-repeat: no-repeat;
    background-position: center;
}

.center .dowebok .right {
    display: block;
    width: 300px;
    text-align: center;
}

.center .dowebok .right label {
    text-align: left;
    font-size: 16px;
}

.center .dowebok .right .item {
    text-align: left;
}


.center .dowebok .right label.blue {
    color: rgb(47 96 165);
}


.center .dowebok .right input,
.center .dowebok .right select {
    border-width: 1px;
    border-radius: 5px;
    height: 30px;
    width: 220px;
    margin-left: 10px;
    background: transparent;
    border-color: #dfd7d7;
    border-style: solid;
    color: #000000;
}

.center .dowebok .right button{
    width: 130px;
    border-radius: 20px;
}

.center .dowebok .right .account {
    display: inline-block;
    height: 30px;
    width: 30px;
    background-image: url(./images/account.png);
    background-repeat: no-repeat;
    z-index: 2;
    background-size: 60% 60%;
    background-position: bottom;
    cursor: pointer;
    position: relative;
    left: 0px;
    top: 0px;
}

.center .dowebok .right .key {
    display: inline-block;
    height: 30px;
    width: 30px;
    background-image: url(./images/key.png);
    background-repeat: no-repeat;
    z-index: 2;
    background-size: 60% 60%;
    background-position: bottom;
    cursor: pointer;
    position: relative;
    left: 0px;
    top: 0px;
}

.center .dowebok .right .earth {
    display: inline-block;
    height: 30px;
    width: 30px;
    background-image: url(./images/earth.png);
    background-repeat: no-repeat;
    z-index: 2;
    background-size: 60% 60%;
    background-position: bottom;
    cursor: pointer;
    position: relative;
    left: 0px;
    top: 0px;
}
#subapp .form-horizontal .control-group .controls .eye,
.center .dowebok .right .eye {
    display: inline-block;
    height: 30px;
    width: 30px;
    background-image: url(./images/die.png);
    background-repeat: no-repeat;
    z-index: 2;
    background-size: 60% 60%;
    background-position: bottom;
    cursor: pointer;
    position: relative;
    left: -30px;
    top: 0px;
}

#subapp .form-horizontal .control-group .controls .eye{
    top: 5px;
}

#subapp .form-horizontal .control-group .controls .eyeopen,
.center .dowebok .right .eyeopen {
    background-image: url(./images/open_eye.png) !important;
}

.center .dowebok .right input:focus {
    border-width: 1px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0px 0x;
    -moz-box-shadow: 0 0px 0px;
    box-shadow: 0 0px 0px;
}

.center .dowebok .right select {
    
}

.center .dowebok .right select option {
  /*   background-color: rgb(48, 48, 48); */
    height: 30px;
}

/**
----------------------------------------------------------------------nav
*/

/* nav */
.nav {


    background: transparent;
    transition: all .3s;
}



.nav a {
    display: block;
    overflow: hidden;
    padding-left: 20px;
    line-height: 46px;
    max-height: 46px;
    color: #ABB1B7;
    transition: all .3s;
    text-decoration: none;
    cursor: pointer;
}

.nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav a span {
    margin-left: 40px;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-item.nav-show {
    border-bottom: none;
}

.nav-item ul {
    display: none;
    background: rgba(0, 0, 0, .1);

}

.nav-item ul li {
    list-style: none;
}

.nav-item.nav-show ul {
    display: block;
}

.nav-item>a:before {
    content: "";
    position: absolute;
    left: 0px;
    width: 2px;
    height: 46px;

    opacity: 0;
    transition: all .3s;
}
.live .nav-icon,
.nav .nav-icon {
    font-size: 20px;
    position: absolute;
    margin-left: -1px;
}

/* 此处修改导航图标 可自定义iconfont 替换*/
.icon_system::after {
    content: "";
    background-image: url(./images/system.png);
    background-size: 100% 100%;
    width: 25px;
    height: 25px;
    position: relative;
    /* top: -10px; */
    display: block;
}

.icon_video::after {
    content: "";
    background-image: url(./images/video.png);
    background-size: 100% 100%;
    width: 25px;
    height: 25px;
    position: relative;
    /* top: -10px; */
    display: block;
}

.icon_audio::after {
    content: "";
    background-image: url(./images/audio.png);
    background-size: 100% 100%;
    width: 20px;
    height: 22px;
    position: absolute;
    top: -10px;
}

.icon_network::after {
    content: "";
    background-image: url(./images/network.png);
    background-size: 100% 100%;
    width: 25px;
    height: 25px;
    position: relative;
    /* top: -10px; */
    display: block;
}

.icon_security::after {
    content: "";
    background-image: url(./images/security.png);
    background-size: 100% 100%;
    width: 20px;
    height: 22px;
    position: absolute;
    top: -10px;
}

.icon_stream::after {
    content: "";
    background-image: url(./images/stream.png);
    background-size: 100% 100%;
    width: 20px;
    height: 22px;
    position: absolute;
    top: -10px;
}



.icon_2::after {
    content: "\e669";
}

.icon_3::after {
    content: "\e61d";
}

/*---------------------*/
.nav-more {
    float: right;
    margin-right: 20px;
    font-size: 12px;
    transition: transform .3s;
}

/* 此处为导航右侧箭头 如果自定义iconfont 也需要替换*/
.nav-more::after {
    content: "\e621";
}

/*---------------------*/
.nav-show .nav-more {
    transform: rotate(90deg);
}

.nav-show,
.nav-item>a:hover {
    color: #FFF;
    background: rgba(0, 0, 0, .1);
}

.nav-show>a:before,
.nav-item>a:hover:before {
    opacity: 1;
}

.nav-item li:hover a {
    color: #FFF;
    background: rgba(0, 0, 0, .1);
}

/* nav-mini */
.nav-mini.nav {
    width: 60px;
}

.nav-mini.nav .nav-icon {
    /* margin-left:-2px; */
}

.nav-mini.nav .nav-item>a span {
    display: none;
}

.nav-mini.nav .nav-more {
    margin-right: -20px;
}

.nav-mini.nav .nav-item ul {
    position: absolute;
    top: 0px;
    left: 60px;
    width: 180px;
    z-index: 99;
    background: #3C474C;
    overflow: hidden;
}

.nav-mini.nav .nav-item:hover {
    background: rgba(255, 255, 255, .1);
}

.nav-mini.nav .nav-item:hover .nav-item a {
    color: #FFF;
}

.nav-mini.nav .nav-item:hover a:before {
    opacity: 1;
}

.nav-mini.nav .nav-item:hover ul {
    display: block;
}

.nav_active{
    background:rgb(47 96 165);
}

/*
--------------------------------------------------------------------------------form
**/
#app {
    padding-top: 10px;
    height: calc(100% - 50px);
}

.form-horizontal .control-label {
    width: 280px;
}

.form-horizontal .controls {
    margin-left: 350px;
}

.form-horizontal legend {
    border-width: 0px;
    color: inherit;
    font-size: inherit;
    margin: 0px 0px 0px 40px;
    width: auto;
}

legend+.control-group {
    margin-top: 10px;
}

.form-horizontal .control-group {
    margin-bottom: 10px;
}

.form-horizontal .control-group .controls .radio {
    width: 30px;
}

.form-horizontal .control-group .controls .radio input[type='radio'] {
    margin-left: -25px;
}

.form-horizontal .control-group .controls button {
    min-width: 100px;
    margin-left: 10px;
    font-size: 12px;
    height: 30px;
    line-height: 12px;
}

.form-horizontal hr {
    margin: 0px;
    border-color: #000;
    border-width: 3px;
    border-top: 0px;
}

.form-horizontal .form-actions {
    padding-left: 160px;
    background: transparent;
    border-width: 0px;
}

.form-horizontal .form-actions button {
    width: 120px;
}

.form-horizontal .form-actions button+button {
    margin-left: 65px;
}

label.description {
    border-bottom: 3px solid #000;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
}

label.checked {
    height: 20px;
    line-height: 20px;
    /* margin: 0px; */
    margin-top: 5px;
    margin-left: 10px;
}

label.checked span {
    margin-left: 5px;
}

div[xtag='video'] {
    margin: 10px 0px 0px 40px;
}

input[type='radio'] {
    content: "";
    background-image: url(./images/radio_uncheck.png);
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
    /* position: absolute; */
    appearance: none;
    margin-top: 0px;
}

input[type='radio']:checked::after {
    content: "";
    background-image: url(./images/radio_checked.png);
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
    /* position: absolute; */
    appearance: none;
    display: inline-block;
}

input[type='checkbox'] {
    content: "";
    background-image: url(./images/checkbox_unchecked.png);
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
    /* position: absolute; */
    appearance: none;
}

input[type='checkbox']:checked::after {
    content: "";
    background-image: url(./images/checkbox_checked.png);
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
    /* position: absolute; */
    appearance: none;
    display: inline-block;
}

input[type='text'],
input[type='password'] {
    border-width: 1px;
    border-radius: 5px;
    border-color: #dfd7d7;
    border-style: solid;
    height: 30px;
    width: 200px;
    background: transparent;
}


select {
    border-width: 1px;
    border-radius: 5px;
    border-bottom: 1px solid #ffffff;
    height: 30px;
    width: 200px;
    background: transparent;
}

select:disabled {
    opacity: 1;
    background-color: transparent;
    border-width: 0px;
    appearance: none;
    line-height: 14px;
    cursor: auto;
}

input[type='text'].suffix {
    width: 100px;
}

input[type='text'].prefix {
    width: 80px;
}

input[type='text'].readonly {
    border-width: 0px;
}

span.prefix {
    background-color: #afabab;
    width: 32px;
    padding: 3px 5px 5px;
    border-bottom: 1px solid #ffffff;
}

.error .controls span.suffix {
    color: #b94a48;
}

span.suffix {
    padding-left: 10px;
}

span.unit{
    color: #5493ed;
    margin-left: 5px;
}

i.eye + span.unit{
    left: -25px;
    position: relative;
}

select option {
    background-color: #ffffff;
    color: #000000;
}

i.eye {
    display: inline-block;
    height: 15px;
    width: 20px;
    background-image: url(./images/eye_close.png);
    background-repeat: no-repeat;
    z-index: 2;
    background-size: 100% 100%;
    background-position: bottom;
    cursor: pointer;
    position: relative;
    top: 5px;
    left: 5px;
}

i.eyeopen {
    background-image: url(./images/eye_open.png) !important;
}

.btn[disabled] {
    background-color: #494949;
    background-image: linear-gradient(to bottom, #494949, #494949);
}

/*
--------------------------------------------------------------------------------easyui
**/
.messager-window,
.messager-body {
    background-color: #afabab;
    background: #afabab;
    border-width: 0px;
}

.window-shadow {
    background: #afabab;
    box-shadow: 0px 0px 0px #afabab;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
}

.progressbar {
    border-color: #ffffff;
}

.window {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background: #afabab;
    border-color: #afabab;
}

.window-header,
.window .window-body {
    border-color: #afabab;
}

.window .window-header .panel-tool {
    margin-top: 0px;
}

.panel-title {
    display: none;
}


.messager-button a.l-btn {
    border: 1px solid #000000;
    background-color: #e7e6e6;
    min-width: 80px;
}

.messager-button a.l-btn,
.messager-button a.l-btn span.l-btn-left {
    background-image: none;
}

a.l-btn .l-btn-focus {
    outline: none;
}

a.l-btn span span.l-btn-text {
    color: #000;
    line-height: normal;
}

.messager-question {
    background: url(./images/messager_warning.png) no-repeat;
    background-size: contain;
}

.messager-info {
    background: url(./images/messager_info.png) no-repeat;
    background-size: contain;
}

.panel-tool-close {
    background: url(./images/messager_tools.png) no-repeat;
    background-size: contain;
}

.panel-tool a:hover {
    background-color: #afabab;
}

.slider-inner {
    border-color: #5493ed;
    background: #5493ed;
}


.slider-handle {
    background-color: #5493ed;
    border-radius: 15px;
    background: #5493ed;
    top: -7px;
}

.slider-rulelabel {
    display: none
}

.slider-rule {
    position: relative;
    top: 5px;
}

.slider-rule span {
    border-color: #ffffff;
    height: 4px;
}


/*
--------------------------------------------------------------------------------upload
**/
input.el-upload__input {
    display: none;
}

i.search {
    display: inline-block;
    height: 25px;
    width: 25px;
    background-image: url(./images/search.png);
    background-repeat: no-repeat;
    z-index: 2;
    background-size: contain;
    background-position: bottom;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 7px;
}


.form-horizontal .control-group .controls button[type='button'].el-upload_btn {
    background: transparent;
    border: 1px solid #fff;
    min-width: 200px;
    margin: 0px;

}

/*
--------------------------------------------------------------------------------video
**/
/* 全屏按钮 */

video::-webkit-media-controls-fullscreen-button {
    /* display: none; */
}


/* //播放按钮 */

video::-webkit-media-controls-play-button {
    /* */
    display: none;
}


/* //进度条 */

video::-webkit-media-controls-timeline {
    /*  */
    display: none;
}


/* //观看的当前时间 */

video::-webkit-media-controls-current-time-display {
    /* display: none; */
}


/* //剩余时间 */

video::-webkit-media-controls-time-remaining-display {
    /* display: none; */
}


/* //音量按钮 */

video::-webkit-media-controls-mute-button {
    /* display: none; */
}

video::-webkit-media-controls-toggle-closed-captions-button {
    /*  display: none; */
}


/* //音量的控制条 */

video::-webkit-media-controls-volume-slider {
    /* display: none; */
}


/* //所有控件 */

video::-webkit-media-controls-enclosure {
    /*  display: none; */
}

video::-webkit-media-controls-overlay-enclosure {
    /*  display: none; */
}

video::-internal-media-controls-loading-panel,
video::-webkit-media-controls-loading-panel {
    display: none;
    opacity: 0;
    visibility: hidden;
    width: 0px;
    height: 0px;
    border: 2px crimson solid;
}

video::-internal-media-controls-overlay-cast-button {
    display: block;
}

video::-webkit-media-controls-mute-button {
    /*  display: none; */
}

/*
--------------------------------------------------------------------------------二级导航
**/
.subheader{
    display: flex;
    border-bottom: 2px solid #ffffff;
    border-left: 1px solid #ffffff;
}

.subheader label{
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    margin: 0px;
    padding: 5px;
    width: 120px;
    text-align: center;
}

.main_live .control .subheader label{
    width: auto;
}

.subheader ul{
    display: inline-block;
    list-style: none;
}

.main_live .control .subheader ul{
    width: 100%;
}

.subheader ul li{
    display: inline-block;
}

.main_live .control .subheader ul li{
    width: 25%;
}

.subheader ul li.subactive label{
    color: #5493ed;
}

#subapp{
    width: 100%;
    text-align: center;
    height: calc(100%);
    text-align: center;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    overflow-y: auto;
    
}
#subapp form {
    padding: 80px 0 0 0 ;
    width: 100%;
}

#subapp form.form-horizontal .form-actions{
    padding-left: 00px
}

#subapp form.form-horizontal .form-actions button+button {
    margin-left: 20px;
}

#subapp form.form-horizontal div+legend{
    margin-top: 50px;
}

#subapp form.form-horizontal legend{
    text-align: left;
    background-color: #2c2e3a;
    padding-left: 15px;
}

#subapp form.form-horizontal legend+div{
    margin-top: 50px;
}

#subapp form.form-horizontal div.control-group{
    display: flex;
    justify-content: center;
    align-items: baseline;
}

#subapp form.form-columns div.control-columns{
    display: flex;
    justify-content: space-around;
    align-items: baseline;
}

#subapp form.form-horizontal div.control-radio{
    display: table;
    margin-top: 10px;
    margin: 5px 0px 5px 80px;
}


#subapp form.form-horizontal div.control-group label.control-label{
    text-align: center;
    width: 200px;
}

#subapp form.form-horizontal div.control-group div.controls{
   text-align: left;
   margin: 0px;
   min-width: 600px;
}

#subapp form.form-columns div.control-group div.controls{
    min-width: 250px;
    width: 320px;
}

#subapp form.form-horizontal .hide{
    display: none;
}

#subapp form input{
    border: 1px solid;
}

#subapp form input[type='range']{
    border: 0px solid;
}


#subapp form input[type='radio'],
#subapp form input[type='checkbox']{
    border: 0px solid;
    margin-top: 0px;
}

#subapp form input[type='radio'] + span{
    margin-left: 10px;
}
#subapp form input[type='checkbox']:checked+label,
#subapp form input[type='radio']:checked + span{
    color: #5493ed;
}

#subapp form input[type='checkbox']+label{
    display: inline-block;
    margin: 0px;
    margin-left: 10px;
}

#subapp form span.holder{
    display: inline-block;
    width: 200px;
}

#subapp form span.holder+button,
#subapp form select+button,
#subapp form input+button{
    border-radius: 20px;
    margin-left: 5px;
    min-width: 80px;
}

#subapp div.region-upgrade{
    width: 500px;
    height: 350px;
    background: #252833;
    border-radius: 50px;
    padding: 0 40px;
    margin-top: 80px;
}

#subapp div.region-upgrade form.form-horizontal {
    text-align: right;
    padding: 30px 0 0 0;
}

#subapp div.region-upgrade form.form-horizontal div.controls{
    text-align: revert;
    min-width: 400px;
}

#subapp div.region-upgrade form.form-horizontal hr{    
    border-color: #ffffff;
}

#subapp div.region-upgrade form.form-horizontal legend{
    background: transparent;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}


#subapp div.region-upgrade form.form-horizontal .control-group .control-label{
    width: 110px;
    text-align: left;
}

#subapp div.region-upgrade form.form-horizontal legend+div {
    margin-top: 0px;
}

#subapp div.region-upgrade form.form-horizontal button{
    border-radius: 29px;
    height: 35px;
    width: 136px;
}

button.btn-upgrade{
    background: transparent;
    background-color: transparent;
    border: 1px solid #5493ed;
    min-width: 50px !important;
    width: 80px !important;
}

#subapp div.region-progress{
    height: 20px;
    width: 560px;
    background: #ffffff;
    border-radius: 20px;
    margin-top: 50px;
}

#subapp div.region-progress div.progressbar{
    width: 0%;
    background: linear-gradient(180deg, #005ccc, #0064cc);
    border-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0px;
    text-align: center;
    border: 0px;
}
#subapp div.region-progress div.progressbar.finish{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

#subapp div.region-progress div.progressbar span{
    color: #000000;
}

/**
*---------------------------------------------ptz--------------------------------------------------------
**/

.ptz .ptz-icon-lower::after {
    content: "";
    background-image: url(./images/lower.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-upper::after {
    content: "";
    background-image: url(./images/upper.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-left::after {
    content: "";
    background-image: url(./images/left.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-right::after {
    content: "";
    background-image: url(./images/right.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-home::after {
    content: "";
    background-image: url(./images/home.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-lower-right::after {
    content: "";
    background-image: url(./images/lower-right.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-lower-left::after {
    content: "";
    background-image: url(./images/lower-left.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-upper-right::after {
    content: "";
    background-image: url(./images/upper-right.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-upper-left::after {
    content: "";
    background-image: url(./images/upper-left.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}


.ptz .ptz-icon-aperture-minus::after {
    content: "";
    background-image: url(./images/aperture_minus.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-aperture-plus::after {
    content: "";
    background-image: url(./images/aperture_plus.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}


.ptz .ptz-icon-focus-minus::after {
    content: "";
    background-image: url(./images/focus_minus.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-focus-plus::after {
    content: "";
    background-image: url(./images/focus_plus.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-sign-minus::after {
    content: "";
    background-image: url(./images/sign_minus.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}

.ptz .ptz-icon-sign-plus::after {
    content: "";
    background-image: url(./images/sign_plus.png);
    background-size: 100% 100%;
    width: 50px;
    height: 50px;
    position: absolute;
}


#subapp .ptz{
    display: flex;
    margin-top: 20px;
}
#subapp .ptz .container-fluid .row-fluid .span6 button,
#subapp .ptz .container-fluid .row-fluid .span4 button{
    width: 60px;
    height: 60px;
    border-width: 0px;
    display: flex;
    background: transparent;
}

#subapp form.form-ptz {
    padding: 40px 0 0 0;
    width: 100%;
}

#subapp form.form-ptz .form-actions{
    padding-left: unset;
}

#subapp form.form-ptz div.control-group{
    justify-content: flex-start;
}

#subapp form.form-ptz div.control-group label.control-label{
    width: 100px;
}

#subapp form.form-ptz div.control-group div.controls {
    text-align: left;
    margin: 0px;
    min-width: unset;
}

#subapp form.form-ptz input[type='range']{
    border: unset;
    cursor: pointer;
}

#subapp form.form-ptz input[type='range'] + span{
    margin-left: 5px;
}

/**

*/
input[type="range"]{
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    outline: 0;
    background-color: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-container {
    /*其他样式*/
    height: 25px;
    overflow: hidden;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #ffffff;
    height: 7px;
    border-radius: 7px;
}

input[type="range"]::-webkit-slider-thumb{
    background: #000000;
    -webkit-appearance: none;
    appearance: none;
    width: 6px;
    height: 20px;
    background-color: #000000;
    border: 1px solid transparent;
    margin-top: -6px;
   /*  border-image: linear-gradient(#000000,#000000) 0 fill / 6 6 7 0 / 0px 0px 0 2000px; */
    border-image-source: linear-gradient(rgb(0, 0, 0), rgb(0, 0, 0));
    border-image-slice: 0 fill;
    border-image-width: 6 6 7 0;
    border-image-outset: 0px 0px 0 2000px;


}

/* 火狐 内背景色 */
input[type=range]::-moz-range-track {
    height: 6px;
    background: #ffffff;
}
/* 火狐 外背景色 */
input[type=range]::-moz-range-progress {
    background: #000000;
    height: 6px; 
}

input[type=range]::-moz-range-thumb {
    -moz-appearance: none;/*清除系统默认样式*/
    border:0;
    height:20px;/*拖动块高度*/
    width: 6px;/*拖动块宽度*/
    background: #000000;
}


/***

*/

.videoView{
    width: calc(100% - 410px);
    text-align: center;
}

canvas{
   max-width: 100%;
    background-color: rgb(51,51,51);
    background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.01) 8.1%, rgba(0, 0, 0, 0.047) 15.5%, rgba(0, 0, 0, 0.106) 22.5%, rgba(0, 0, 0, 0.176) 29%, rgba(0, 0, 0, 0.26) 35.3%, rgba(0, 0, 0, 0.353) 41.2%, rgba(0, 0, 0, 0.45) 47.1%, rgba(0, 0, 0, 0.55) 52.9%, rgba(0, 0, 0, 0.647) 58.8%, rgba(0, 0, 0, 0.74) 64.7%, rgba(0, 0, 0, 0.824) 71%, rgba(0, 0, 0, 0.894) 77.5%, rgba(0, 0, 0, 0.953) 84.5%, rgba(0, 0, 0, 0.99) 91.9%, rgb(0, 0, 0) 100%);
}

video{
    width: calc(100% - 50px);
    background-color: rgb(51,51,51);
    background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.01) 8.1%, rgba(0, 0, 0, 0.047) 15.5%, rgba(0, 0, 0, 0.106) 22.5%, rgba(0, 0, 0, 0.176) 29%, rgba(0, 0, 0, 0.26) 35.3%, rgba(0, 0, 0, 0.353) 41.2%, rgba(0, 0, 0, 0.45) 47.1%, rgba(0, 0, 0, 0.55) 52.9%, rgba(0, 0, 0, 0.647) 58.8%, rgba(0, 0, 0, 0.74) 64.7%, rgba(0, 0, 0, 0.824) 71%, rgba(0, 0, 0, 0.894) 77.5%, rgba(0, 0, 0, 0.953) 84.5%, rgba(0, 0, 0, 0.99) 91.9%, rgb(0, 0, 0) 100%);
}

canvas + div.video-control,
video + div.video-control{
    background-image: url(./images/pencil.png);
    height: 39px;
    display: flex;
    padding-right: 10px;
}
canvas + div.video-control button,
video + div.video-control button{
    width: 60px;
    height: 39px;
    border-width: 0px;
    display: flex;
    background: transparent;
}
canvas + div.video-control .full-screen::after,
video + div.video-control .full-screen::after{
    content: "";
    background-image: url(./images/full_screen.png);
    background-size: 100% 100%;
    width: 36px;
    height: 35px;
    position: absolute;
}
canvas + div.video-control .under-current::after,
video + div.video-control .under-current::after{
    content: "";
    background-image: url(./images/undercurrent.png);
    background-size: 100% 100%;
    width: 43px;
    height: 39px;
    position: absolute;
}
canvas + div.video-control span,
video + div.video-control span{
    display: inline-block;
    width: 40px;
    text-align: right;
    line-height: 39px;
    color: #5493ed;
}
canvas + div.video-control span.stream,
video + div.video-control span.stream{
    width: 100px;
}

canvas + div.video-control label,
video + div.video-control label{
    min-width: 100px;
    width: calc((100% - 120px) / 2);
    text-align: right;
    line-height: 39px;
    margin-right: 10px;
    color: #5493ed;
    cursor: unset;
}
canvas + div.video-control label+label,
video + div.video-control label+label{
    text-align: left;
    margin-left: 10px;
}

/**
* 时间 
**/
input[type="datetime-local"] {
    appearance: none;
    border: 1px solid #ccc;
    padding: 10px;
    background: transparent;
    width: 200px;
    height: 30px;
    border-radius: 5px;
  }

  input[type="datetime-local" i]::-webkit-calendar-picker-indicator{
    
  }
  /*
  input[type="datetime-local"]::before {
    content: "\1F4C5";
    font-size: 16px;
    color: #999;
    position: absolute;
    left: 10px;
    top: 8px;
  }*/
  
  input[type="datetime-local"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }

::-webkit-datetime-edit-year-field:not([aria-valuenow]),
::-webkit-datetime-edit-month-field:not([aria-valuenow]),
::-webkit-datetime-edit-day-field:not([aria-valuenow]) {
    color: transparent;
}

/***********
**错误提示
**/

.error input{
    color: red;
    border-color: red;
}
/***********
**禁用时颜色
**/
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
    color: #b9a8a8;
    border-width: 1px;
}

input.example{
    width: 300px;
}

ul.nav_stream{
    clear: both;
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-bottom: 0;
    zoom: 1;
    width: 100px;
}

ul.nav_stream ul.nav_stream_select{
    position: relative;
    top: -128px;
    background: #ffffff;
    display: none; 
    padding: 0;
    margin-left: 0;
    list-style: none;
    z-index: 500;
    zoom: 1;
   
}

ul.nav_stream ul.nav_stream_select.on{
    display: block;
}

ul.nav_stream ul.nav_stream_select li{
    text-align: center;
    padding: 0 8px;
    margin-bottom: -1px;
}

ul.nav_stream ul.nav_stream_select li a{
    display: block;
    border-bottom: 1px solid #E6E4E3;
    padding: 8px 0;
    height: 28px;
    line-height: 28px;
    color: #000;
    font-size: 12px;
    /* font-weight: bold; */
    cursor: pointer;
    text-decoration: none;
}


ul.nav_stream ul.nav_stream_select li a.on{
    color: #5493ed;
}

/**
* 菜单隐藏 
*/
.fade-in{
    opacity: 0;
    display: none !important;
    transition: opacity 1s linear;
}

.fade-out{
    opacity:1 ;
    transition: opacity 1s linear;
}

/**
*---------------------------------------------preset--------------------------------------------------------
**/
.preset{
    display: flex;
    margin-top: 20px;
    /* width: 100%; */
    /* flex-flow: column; */
    flex-direction: column;
}

.preset table{
    border-top-width: 0px;
    border-radius: 0px;
    border-right-width: 0px;
    border-color: #21222b;
    border-bottom-width: 3px;
}

.preset table thead{
    background-color: #21222b;
}

.preset table thead tr th{
    width: 60px;
    border-radius: 0px;
    border-color: #21222b;
    height: 40px;
}

.preset table thead tr th:last-child{
    width: 180px;
}


.preset table tbody tr td{
    border-color: #21222b;
    border-top: 1px solid #21222b;
    border-width: 3px;
}

.preset table tbody tr td:last-child{
    border-color: #21222b;
    border-right: 1px solid #21222b;
    border-width: 3px;
}

.preset table tbody tr td a{
    color: #ffffff;
    font-size: 12px;
    /* font-weight: bold; */
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
}

.preset table tbody tr td a.del{
    color:red
}

.preset table tbody tr td a.unvisible{
    visibility: hidden;
}