*,button:focus,*:focus,*:active,a,a:focus,a:active{outline: none !important}
body {
    color: #444;
    font-family: arial, sans-serif;
    font-size: 14px;
    line-height: 14px;
}

.logo img{margin: 5px;    max-height: 50px;}

.red{color:red}
.green{color:green}
.navbar{margin: 0;z-index: 100;}
.navbar-default {    background-color: #fff;  box-shadow: 0 0 2px 0 #ccc;  border-bottom: 1px solid #ccc;}
.logo{padding: 5px;}
.navbar-default .navbar-nav > li > a {  padding-top: 8px; padding-bottom: 22px;  color: #555;}
.navbar-nav > li > a {    line-height: 30px;}
.navbar-default .navbar-toggle {margin-bottom: 20px;    margin-top: 6px;}

.nav-tabs > li > a {  color: #888;    font-size: 16px;    line-height: 28px;    padding: 7px 20px;}
.nav-tabs .glyphicon {    float: left;    font-size: 20px;    line-height: normal;    margin: 0 6px 0 0;}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #333;
}
#namePage{}
#namePage b {/*color:#2293d1*/}

.tab-content{margin-top: 20px;}

.sub-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.checkbox, .radio{ margin: 2px 0;}

input[type="checkbox"], input[type="radio"] { margin: 1px 0 0;}
.control-block input[type="checkbox"], .control-block input[type="radio"] {margin: 4px 0 0;}

.user-fio{top: 43px;    font-size: 12px;    margin: 0;    position: absolute;    right: 30px; color:#555;}
.user-fio b{}

#svod td:nth-child(2) i{ color: gray;    display: block;    font-size: 11px;   font-style: normal;    margin-top: 2px;}
#svod tr.no td:nth-child(4),
#svod tr.no td:nth-child(5),
#svod tr.no td:nth-child(6),
#svod tr.no td:nth-child(7),
#svod tr.no td:nth-child(8){opacity: 0.7}
#svod .chat {    background: transparent none repeat scroll 0 0;    border: medium none;    color: #337ab7;    font-weight: 700;}
#svod .chat:hover{text-decoration: underline;}


.page .table-responsive{border: none;}
.page .table-them{box-shadow: 3px 3px 3px #555; width: 98%}
.page .table-them thead tr th,.page  .table-them td{border: 1px solid #aaa;text-align: center;  line-height: 1; vertical-align: middle;}
.page .table-them thead tr th{background: #ddd none repeat scroll 0 0;}
.page .table-them td{font-size: 12px;    font-weight: 700;}
.page .table-them td.gr{background: #f3f3f3 none repeat scroll 0 0;}

.PageStation .table-them td{padding: 6px}
.station_data .table-responsive, #electric_tab .table-responsive{margin: 0 auto;max-width: 800px;}
#st-data-t td:nth-child(2){text-align: left;}
#st-data-t th:nth-child(1){min-width: 90px;}
#st-data-t th:nth-child(3){min-width: 90px;}
#st-data-t th:nth-child(4){min-width: 140px;}


#station_info .tables_info .table-responsive {    max-width: 1180px;}
#station_info .tables_info .table-them {display: inline-table; width: 100%;   margin: 20px;    max-width: 350px;}
#station_info .tables_info td:nth-child(1){text-align: left;}
#station_info .tables_info td:nth-child(2){min-width: 100px;}
#station_info .tables_info td{padding: 2px 6px;}
#station_info .tables_info td input{margin: 0; border: 1px solid #fff; padding: 2px;  background: transparent none repeat scroll 0 0;  text-align: center;    width: auto;}
#station_info .tables_info td input.ch{border: 1px solid #888;}
#station_info .tables_info td input.ch:focus{border: 1px solid #5294e9;}
#station_info .control-block{margin: 0 20px;}
#station_info .btn{margin-right:5px;}
#station_info .mess{color: #000; line-height: 16px;   margin: 10px 0;}
#station_info .save,#station_info .cancel,#station_info .mess {display: none;}


.control-block .reg-block{margin-bottom: 15px; position: relative;display: block;    height: 33px;}
.control-block .reg-block-abs{position: absolute;z-index: 100;}
.control-block .reg-block-abs .count{display: block;    float: left;    margin: 10px;}
.control-block .label-reg{float: left;      margin: 9px 15px 9px 0;}
.control-block .checkbox-block{border: 1px solid #ccc; float: left; position: relative; background-color: #fff; border-radius: 4px;    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;    display: inline-block;    height: 33px;    max-width: 400px;    min-width: 240px;    overflow: hidden;    z-index: 10;}
.control-block .checkbox-block.open{height: auto;}
.control-block .checkbox{display: block;    line-height: 20px;}
.control-block .checkbox label{display: block;    font-size: 16px;    margin: 5px 10px;}
.control-block .checkbox label input{float: left;    margin-right: 4px;}
.control-block .checkbox-block .input-group-addon{border-radius: 0;  cursor: pointer;  display: block;    height: 33px;    margin: -1px 0 0;    padding: 0;    position: absolute;    right: 0;    width: 36px;    z-index: 15;}
.control-block .checkbox-block .input-group-addon .caret{position: absolute; right: 14px;top:14px;}
.control-block .checkbox-block .close{display: none;    opacity: 0.5;    padding: 5px 8px;    position: absolute;    right: 0;    top: 0;    z-index: 15;}


#read_reg ul.plc, #read_reg ul.plc ul{list-style: none}
#read_reg .plc i {cursor: pointer;float: left;font-size: 12px; margin: -1px 7px 0 0;z-index: 10;}
#read_reg .plc li i::before{content: "+";}
#read_reg .plc li.open i::before{content: "−";}
#read_reg .plc  .st{height: 1px;overflow: hidden;max-width: 700px;}
#read_reg .plc  .st li{float: left; min-width: 110px;}
#read_reg .plc li.open .st{height: auto;padding-bottom: 13px;}
#read_reg .plc label{ color: #999; }
#read_reg .plc label.check { color: #000; }
#read_reg .read_reg_res {    background-color: #eee;    margin: 10px 0 0;    padding: 10px;}
#read_reg .rr-bl .del{cursor: pointer;    font-size: 12px;    margin-left: 5px;    opacity: 0.5;    padding: 7px 7px 7px 3px;}
#read_reg .rr-bl .del:hover{opacity: 1}
#read_reg .btn-menu .stop-read-reg, #read_reg .btn-menu .abort-read-reg{display: none}
#read_reg .read_reg_res .res td {    border-bottom: 1px solid #ccc;    font-size: 16px;    padding: 10px 20px;}



#modalChat .form-control{display: none;margin: 0 0 15px;box-shadow: none;}
#modalChat .modal-body {    display: block;    padding: 0px; min-height: 240px;   overflow-x: hidden;    overflow-y: auto;    position: relative;}
#modalChat .modal-body > div {    display: block;    padding: 15px 10px;    position: relative;    word-wrap: break-word;}
#modalChat .modal-body p{border-bottom: 1px solid #eee;    margin: 0;    padding: 15px 10px;}
/*#modalChat .modal-body p:hover{background: #f5f5f5}*/
#modalChat .modal-body p:last-child{border-bottom: none;}
#modalChat .modal-body p inf{font-size: 13px;display: block;position: relative;}
#modalChat .modal-body p inf .del {color: #ccc;    cursor: pointer;    padding: 10px;    position: absolute;    right: -10px;    top: -10px;}
#modalChat .modal-body p:hover .del{color:#454545}
#modalChat .modal-body p inf .del:hover{color:firebrick}
#modalChat .modal-body p text{display: block;    line-height: 17px;    margin:10px 5px 5px;}
#modalChat .arhiv {float: left}
#modalChat .is_del {background: #fdf7f7}
#modalChat .is_del .del{display: none}



#command_tab .table-responsive {margin: 30px 0 5px;    max-width: 750px;}
.control{}
.control .control-line-range {margin-top: 15px;}
.control .control-line .title{font-size: 16px;  display: inline-block;text-align: right;    width: 200px;  margin: 20px 0;}
.control .control-line label{cursor: pointer}
#command_control .res{}
#command_control .res td {    border-bottom: 1px solid #ccc;    font-size: 16px;    padding: 10px 20px;}
#command_control .res td:nth-child(1){}
#command_control .res td:nth-child(2){font-size: 14px;    font-weight: 700;    text-align: center;}
#command_control .res td:nth-child(3){}

.control .switch {
    opacity: 0;
    position: absolute;
}
.control .switch + div {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), transparent), linear-gradient(90deg, hsl(210, 90%, 60%) 50%, transparent 50%);
    background-origin: border-box;
    background-position: 100% 0;
    background-repeat: repeat;
    background-size: 200% 100%;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    box-shadow: 0 0.1em 0.1em rgba(0, 0, 0, 0.2) inset, 0 0.45em 0 0.1em rgba(0, 0, 0, 0.05) inset;
    display: inline-block;
    font-size: 150%;
    height: 25px;
    margin: 0 10px;
    overflow: hidden;
    transition-duration: 0.4s;
    transition-property: padding, width, background-position, text-indent;
    vertical-align: middle;
    width: 150px;
}

.control .switch:checked + div {
    background-position: 0 0;
    padding-left: 125px;
}

.control .switch + div::before {
    background: white linear-gradient(rgba(0, 0, 0, 0.2), transparent) repeat scroll 0 0;
    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: inherit;
    box-shadow: 0 0.1em 0.1em 0.1em hsla(0, 0%, 100%, 0.8) inset, 0 0 0.5em rgba(0, 0, 0, 0.3);
    color: white;
    content: "ВКЛ";
    float: left;
    height: 25px;
    margin: -1px;
    text-indent: -2.7em;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.3);
    width: 25px;
}

.control .switch:active + div::before {
    background-color: #eee;
}

.control .switch + div::before, .control .switch + div::after {
    font: bold 60%/1.9 sans-serif;
    text-transform: uppercase;
    line-height: 25px;
}

.control .switch + div::after {
    color: rgba(0, 0, 0, 0.45);
    content: "ВЫКЛ";
    float: left;
    text-indent: 0.5em;
    text-shadow: none;
}

.switch, .switch *, .switch::after, .switch::before, .switch[type="heckbox"] + div::before {
    box-sizing: content-box;
}

#reg_1969 + div::before {content: "ВКЛ";text-indent: -65px;}
#reg_1969 + div::after {content: "ВЫКЛ";text-indent: 40px;}

#reg_1971 + div::before {content: "ЗАПУЩЕН";text-indent: -85px;}
#reg_1971 + div::after {content: "ОСТАНОВЛЕН";text-indent: 13px;}

#reg_1903 + div::before {content: "ПО ШИНЕ";text-indent: -85px;}
#reg_1903 + div::after {content: "АВТОМАТ";text-indent: 25px;}

.control .control-range{width: 250px;display: inline-block;margin: 2px 50px;}
.control .control-value{display: inline-block;}
.control .control-value input{padding: 4px 0;    text-align: center;    width: 75px;}
.control .range-min, .control .range-max {font-size: 14px;}
.control .save{display: block;    margin: 30px 0 20px 215px;}
.control .dis{opacity: 0.3;}
.control .dis,.control .dis label,.control .dis input {cursor: no-drop;}

.sidebar {
    background: #fff none repeat scroll 0 0;
    border-right: 1px solid #ccc;
    bottom: 0;
    display: block;
    left: 0;
    overflow: hidden;
    padding: 5px;
    position: fixed;
    top: 61px;
    width: 215px;
    z-index: 50;
}
#tree{height: 100%;    margin-top: -33px;    padding-top: 33px;}
ul.fancytree-container { height: 100%;}
.form-group {    margin-bottom: 8px;}
.filtr{}
.has-feedback .form-control {    padding-right: 25px;}
.input-sm + .form-control-feedback {    cursor: pointer;    font-size: 12px;    pointer-events: unset;    width: 25px;    display: none;}

.main {
    padding: 10px 20px;
    margin-left: 215px;
}

.main .page-header {
    margin-top: 0;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 8% auto 0;
    text-align: center;
}

.form-signin .form-signin-heading {
    margin-bottom: 10px;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin .logo {
    margin: 0 0 20px; max-width: 80%;
}

.form-signin .bg-danger {
    padding: 10px
}
#station_trend .control-block{margin: 30px 0 10px;}
#station_trend .control-block .date{margin: 0 3px;}
#station_trend .bootstrap-datetimepicker-widget th,
#station_trend .bootstrap-datetimepicker-widget td {text-align: center; padding: 7px;cursor: pointer;}
#station_trend .control-block .dropdown-menu {min-width: 225px; padding: 5px;}
#station_trend .bootstrap-datetimepicker-widget table {    margin: 0 auto; }
#station_trend .trend{display:none;overflow: hidden;background: #f7f7f7 none repeat scroll 0 0;    border: 1px solid #ccc;    box-shadow: 2px 2px 3px 0 #aaa;   position: relative; margin: 20px 0;    min-width: 240px;    width: 100%;}
#station_trend .trend .chart{height: 350px;}
#station_trend .trend h3{color: #000;    font-size: 16px;    font-weight: 700;    margin: 10px 0 -30px;    text-align: center;    z-index: 1;}
#station_trend .trend .period{bottom: -1px;    font-size: 11px;    left: 0;    margin: 0;    position: absolute;    text-align: center;    width: 100%;    z-index: 1;}
#station_trend .trend .load{color: red;  top: 0;left:0;  display: none;    font-size: 22px;    margin-left: 47%;    margin-top: 71px;    position: absolute;    z-index: 1;}

@media screen and (max-width: 1400px){
    #station_trend .trend h3 {margin: 10px 0 -30px 400px;text-align: left;}
}

@media screen and (max-width: 1200px){
    #station_trend .trend h3 {display: inline-block;margin: 10px 10px 2px;}
}