/* Eric Meyer's CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End of Eric Meyer's CSS Reset */

html {
	height: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body {
	font: 12px/18px Geneva, Arial, Helvetica, sans-serif;
	height: 100%;
    background:#eeece0;
    margin:0;
    padding:0;
}
.wrapper {
	width: 100%;
	min-width: 1000px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

a {
    color:#0e61bd;
}


.login {
    /*margin:150px auto 0 auto;*/
    width:140px;
    height:150px;
    padding:10px 0 10px 100px;
    background: url(../images/key1.png) no-repeat left center #e9e9e9;
    border: 2px solid #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:    0px 0px 5px rgba(50, 50, 50, 0.5);
    box-shadow:         0px 0px 5px rgba(50, 50, 50, 0.5);
    position: absolute;
    top:50%;
    left:50%;
    margin-left:-120px;
    margin-top:-120px;
    z-index: 10;
}

.login div {
    padding:5px 0;
}


.buttons {
    height: 30px;
    line-height: 30px;
    width: 115px;
    border: 0;
    font-family: "Titillium800", "Trebuchet MS", Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 1px 1px 0 #0a5482;
    cursor: pointer;
    vertical-align: middle;
}

.login label {
    display:block;
}

.login input {
    text-align: left;
}

.login .buttons {
    text-align: center;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
	height: 90px;
	background: #e9e9e9;
    border-bottom:1px solid #fff;
    text-align:center;
    padding-top: 12px;
}

.leftHBlock {
    color:#4b4b4b;
    font-size:16px;
    width:280px;
    float:left;
    margin:5px 0 10px 100px;
    line-height: 24px;
    text-align: left;
}

.leftHBlock .time {
    display:block;
    font-size:24px;
    font-weight:bold;
}


.rightHBlock {
    color:#4b4b4b;
    font-size:16px;
    width:220px;
    float:right;
    margin:5px 100px 20px 0;
    line-height: 24px;
    text-align: right;
}

.rightHBlock a {
    font-size: 14px;
}

#currenttime {
    padding-top:40px;
    font-size:48px;
    color:#333;
    display:inline-block;
    text-decoration: none;
}


#forAlarm {
    background: #ee0303; /* Old browsers */
    background: -moz-linear-gradient(top,  #ee0303 0%, #bd021d 60%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ee0303), color-stop(60%,#bd021d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ee0303 0%,#bd021d 60%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ee0303 0%,#bd021d 60%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ee0303 0%,#bd021d 60%); /* IE10+ */
    background: linear-gradient(to bottom,  #ee0303 0%,#bd021d 60%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee0303', endColorstr='#bd021d',GradientType=0 ); /* IE6-9 */
    color:#fff;
    padding-left: 360px;
    max-height:800px;
    overflow:visible;
    position: relative;
    padding-top:6px;
    height:92px;
}
#forAlarm .inner {
    overflow:hidden;
    max-height:800px;
    height:92px;
}

#forAlarm .slideButton {
    position: absolute;
    bottom:-16px;
    left:0;
    /*margin-left:-20px;*/
    width:100%;
    height:16px;
    background: url(../images/slidebutton.png) no-repeat center center #a10219;
    overflow:hidden;
    padding:0;
    text-decoration: none;
    border-bottom: none;
}

#forAlarm.expand .slideButton {
    /*background-position: left -40px;*/
}

#forAlarm ul {
    list-style: none;
}

#forAlarm li {
    padding:3px 0;
    margin:3px 20px 3px 0;
    font-size:14px;
    width:600px;
    display: inline-block;

}

#forAlarm a {
    text-decoration: none;
    border-bottom: 1px dashed #fff;
    color:#fff;
    padding-left:20px;
    display: inline-block;
}

#forAlarm .htitle {
    font-size:28px;
    position: absolute;
    top:50%;
    margin-top:-12px;
    left:100px;
    color:#fff;
}

/* Middle
-----------------------------------------------------------------------------*/
.middle {
	width: 96%;
	padding: 10px 2% 50px 2%;
	position: relative;
}
.middle:after {
	display: table;
	clear: both;
	content: '';
}
.container {
	width: 100%;
	float: left;
	overflow: visible;
}
.content {
	padding: 0 0 0 270px;
    min-width:990px;
}

.fordevicelist {
    margin:0 auto;
    position: relative;
    display:block;
    text-align: center;
}

.fordevicelist .devicelist {
    list-style: none;
    display:inline-block;
    overflow:hidden;

    margin:0;
    padding:0;
}

.fordevicelist .devicelist li {
    display:inline-block;
    width:340px;
    height:85px;
    margin:4px;
    text-align: left;
    -moz-box-sizing: border-box; /* Для Firefox */
    -webkit-box-sizing: border-box; /* Для Safari и Chrome */
    box-sizing: border-box; /* Для IE и Opera */
}


.fordevicelist .devicelist li a {
    background: #e6e6ee;
    display:block;
    width:300px;
    height:45px;
    padding:20px 20px;
    color:#0b65bd;
    font-size:16px;
    font-weight:bold;
    text-decoration: none;
}

.fordevicelist .devicelist li.active a {
    background: #e6e6de;
}

.fordevicelist .devicelist li a:hover {
    background: #ffffff;
    text-decoration: none;
    font-weight:bold;
    font-size:16px;
}


.fordevicelist .devicelist li a span {
    display:block;
    padding-top:5px;
    font-size:14px;
    color:#333;
    font-weight:normal;
}

.fordevicelist .devicelist li.error a/*,
.fordevicelist .devicelist li.error a span */{
    background:#de3232;
    color:#fff;
}

.fordevicelist .devicelist li.error a:hover {
    background: #ff3333;
    text-decoration: none;
    font-weight:bold;
    font-size:16px;
}
.fordevicelist .devicelist li.error a:hover span {
    /*background: #ff3333;*/
}


div.error {
    padding:10px;
    color:#fff;
    background: #de3232;
}


.content table {
    border-collapse: collapse;
}

.content table td {
    padding:3px 5px;
    border:1px solid #ecece4;
    background:#f6f6ee;
    text-align:center;
}

.content table th {
    padding:3px 5px;
    border:1px solid #ecece4;
    background:#fff;
    font-weight: bold;
}

.content h1 {
    font-size:24px;
    font-weight: normal;
    text-align:left;
    line-height: 28px;
    margin-bottom:10px;
}

.content h4 {
    font-size:14px;
    font-weight:bold;
    text-align: left;
}

.deviceInfoBlock {
    padding:10px 0;
}

.deviceInfoBlock .config_nav {
    text-align: left;
/*    margin:10px 0; 
    padding:15px 0; 
*/
}

.inlineblock {
    float:left;
}

.clearfix {
    clear: both;
}

hr {
    border-style:solid;
/*    margin:15px 0; 
    width:800px; 
*/
}

.deviceInfoBlock .inputBlock {
    display: block;
    /*float:left;*/
    position: relative;
    /*z-index:4;*/
    /*margin-left:30px;*/
    margin:0 0 10px 0;
}

.blockTimeFilter {
    width:240px;
    margin:10px 0;
    display:inline-block;
}

.exit,
.login .buttons,
.closeNS,
.blockTimeFilter span,
.blockTimeFilter a {
    display:inline-block;
    padding:5px 15px;

    color:#fff;
    text-decoration: none;
    border: 1px solid #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 1px rgba(50, 50, 50, 0.2);
    -moz-box-shadow:    0px 0px 1px rgba(50, 50, 50, 0.2);
    box-shadow:         0px 0px 1px rgba(50, 50, 50, 0.2);
    text-shadow: 1px 1px 1px rgba(169, 169, 169, 0.63);
    font-size:1.2em;
}

.exit:hover,
.login .buttons:hover,
.closeNS:hover,
.blockTimeFilter a:hover {
    background: #eaedf0; /* Old browsers */
    background: -moz-linear-gradient(top,  #eaedf0 0%, #dbdfe2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaedf0), color-stop(100%,#dbdfe2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #eaedf0 0%,#dbdfe2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaedf0', endColorstr='#dbdfe2',GradientType=0 ); /* IE6-9 */
    border: 1px solid #939faa;
    color: #324053;
    box-shadow:inset 0 2px 2px #444;
}

.blockTimeFilter span {
    background: #eaedf0; /* Old browsers */
    background: -moz-linear-gradient(top,  #eaedf0 0%, #dbdfe2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaedf0), color-stop(100%,#dbdfe2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #eaedf0 0%,#dbdfe2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaedf0', endColorstr='#dbdfe2',GradientType=0 ); /* IE6-9 */
    border: 1px solid #939faa;
    color: #324053;
    box-shadow:inset 0 2px 2px #444;
}

.width450 {
    width:390px;
    display: inline-block;
}

.exit {
    font-size:12px;
}

.exit,
.login .buttons,
.closeNS,
.blockTimeFilter a {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #d8dcdf 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d8dcdf)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#d8dcdf 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#d8dcdf 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#d8dcdf 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 0%,#d8dcdf 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d8dcdf',GradientType=0 ); /* IE6-9 */
    border:1px solid #a5b1bd;
    color: #5c6572;
    line-height: 18px;
}

.blockNS {
    display: inline-block;
    margin:0 30px 0 -3px;
    /*margin-left:-3px;*/
    padding:0;
    width:auto;
}

.blockNS a {
    color: #971d1c;
}

.blockNS a:hover {
    background: #e2e1dd; /* Old browsers */
    background: -moz-linear-gradient(top,  #e2e1dd 0%, #bab6ae 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2e1dd), color-stop(100%,#bab6ae)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #e2e1dd 0%,#bab6ae 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #e2e1dd 0%,#bab6ae 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #e2e1dd 0%,#bab6ae 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #e2e1dd 0%,#bab6ae 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e1dd', endColorstr='#bab6ae',GradientType=0 ); /* IE6-9 */
    color: #641c1b;
    border:1px solid #c8c8c8;
}

.blockNS .alarm {
    background: #ec7970; /* Old browsers */
    background: -moz-linear-gradient(top,  #ec7970 0%, #d2251e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ec7970), color-stop(100%,#d2251e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ec7970 0%,#d2251e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ec7970 0%,#d2251e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ec7970 0%,#d2251e 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ec7970 0%,#d2251e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec7970', endColorstr='#d2251e',GradientType=0 ); /* IE6-9 */
    color:#fff;
    border:1px solid #8c0036;
}

.blockNS .alarm:hover {
    background: #ec7970; /* Old browsers */
    background: -moz-linear-gradient(top,  #ec7970 0%, #d2251e 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ec7970), color-stop(100%,#d2251e)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ec7970 0%,#d2251e 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ec7970 0%,#d2251e 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ec7970 0%,#d2251e 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ec7970 0%,#d2251e 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec7970', endColorstr='#d2251e',GradientType=0 ); /* IE6-9 */
    color:#fff;
    border:1px solid #600010;
    box-shadow:inset 0 2px 2px #99001e;
}

.ns {
    color:#d2251e;
}

a.buttons {
    height:18px;
}


.content .nstable td {
    padding:5px 10px;
    line-height: 16px;
}

.content .nstable .open td {
    background: #bd001b;
    color:#fff;
}

.content .nstable td a {
    line-height: 14px;
}

.content .nstable td span {
    padding-left:10px;
}

#config_nav {
    display:inline-block;
}

#sub,
#config_nav span,
#config_nav a {
    display:inline-block;
    padding:5px 15px;
    color:#fff;
    text-decoration: none;
    border: 1px solid #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 1px rgba(50, 50, 50, 0.2);
    -moz-box-shadow:    0px 0px 1px rgba(50, 50, 50, 0.2);
    box-shadow:         0px 0px 1px rgba(50, 50, 50, 0.2);
    text-shadow: 1px 1px 1px rgba(169, 169, 169, 0.63);
    font-size:1.2em;
}

#sub:hover,
#config_nav a:hover {
    background: #eaedf0; /* Old browsers */
    background: -moz-linear-gradient(top,  #eaedf0 0%, #dbdfe2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaedf0), color-stop(100%,#dbdfe2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #eaedf0 0%,#dbdfe2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaedf0', endColorstr='#dbdfe2',GradientType=0 ); /* IE6-9 */
    border: 1px solid #939faa;
    color: #324053;
    box-shadow:inset 0 2px 2px #444;
}

#config_nav span {
    background: #eaedf0; /* Old browsers */
    background: -moz-linear-gradient(top,  #eaedf0 0%, #dbdfe2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaedf0), color-stop(100%,#dbdfe2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #eaedf0 0%,#dbdfe2 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #eaedf0 0%,#dbdfe2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaedf0', endColorstr='#dbdfe2',GradientType=0 ); /* IE6-9 */
    border: 1px solid #939faa;
    color: #324053;
    box-shadow:inset 0 2px 2px #444;
}

#sub,
#config_nav a {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #d8dcdf 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d8dcdf)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#d8dcdf 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#d8dcdf 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#d8dcdf 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 0%,#d8dcdf 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d8dcdf',GradientType=0 ); /* IE6-9 */
    border:1px solid #a5b1bd;
    color: #5c6572;
}

#sub {
    margin:0 0 4px 10px;
    line-height: 14px;

}
#sub span {
    background-image: url(../images/ico-refresh.png);
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
    padding-left:20px;
    /*float:left;*/
}


#chart_div,
#result_data {
    margin-top:10px;
}

#result_data .config_nav {
    display: none;
}

#result_data {
    overflow-y:auto;
}

.invisible {
    display:none;
}

.content input {
    padding:5px 10px;
}

.content .config_nav input,
.content .hasDatepicker {
    width:80px;
}

.content .buttons {
    margin-top:-3px;
}

.content h4 span {
    display:inline-block;
    margin-left:20px;
}

.content div.label {
    padding-bottom:10px;
    font-weight: bold;
}

.deviceInfoBlock .inner {
    display:inline-block;
    z-index:10;
    overflow:hidden;
}

.deviceInfoBlock .loading {
    background: #fff;
    /*background: url(../images/loading.png) no-repeat 30px 30px #fff;*/
    -moz-opacity: 0.30;
    opacity: 0.30;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=30);
}

.pagination a,
.pagination span {
    margin:5px;
    width:18px;
    padding:4px 4px 3px 4px;
    line-height:18px;
    text-align: center;
}

.pagination {
    overflow:hidden;
    margin:10px 0;
}

.pagination .blockTimeFilter {
    width:auto;
    margin:0;
    padding:0;
}

.pagination .blockTimeFilter a,
.pagination .blockTimeFilter span {
    margin:0 5px;
}



.pagination .nextpage,
.pagination .prevpage {
    display:inline-block;
    width:36px;
    height:28px;
    padding:0;
    margin:0;
    background:url(../images/prevpage.png) no-repeat left top;
    border:none;
    box-shadow: none;
}

.pagination .nextpage {
    background:url(../images/nextpage.png) no-repeat left top;
}

.pagination>a,
.pagination>div {
    float:left;
}
/*
.pagination .nextpage {
    display:inline-block;
    width:36px;
    height:28px;
    padding:0;
    margin:0;
    background:url(../images/nextpage.png) no-repeat left top;
    border:none;
    box-shadow: none;
    top:12px;
    position: relative;
}*/

.pagination .prevpage:hover,
.pagination .nextpage:hover {
    background-position: 0 -28px;
}

.pagination .prevpage.disable,
.pagination .nextpage.disable {
    background-position: 0 0;
    cursor:default;
}


.content .nstable td.tdd {
    width:70px;
    text-align: center;
    font-size:1.2em;
}
.content .nstable td.tdt {
    width:60px;
    text-align: center;
}
.content .nstable td.tdtype {
    width:400px;
    font-size:1.2em;
}


.content .nstable .open td.buttonColumn,
.content .nstable .buttonColumn {
    border:none;
    background: none;
}

.norightradius {
    border-radius: 5px 0 0 5px !important;
}

.noleftradius {
    border-radius: 0 5px 5px 0 !important;
}

.noradius {
    border-radius:0 !important;
    margin-left:1px;
    margin-right:1px;
}

.content .fordevicelist .devicelist li.devicetype1 a {
    background-image: url(../images/icons/device1.png);
    background-position: 280px center;
    background-repeat: no-repeat;
}

.content .fordevicelist .devicelist li.devicetype2 a {
    background-image: url(../images/icons/device2.png);
    background-position: 280px center;
    background-repeat: no-repeat;
}

.content .fordevicelist .devicelist li.devicetype3 a {
    background-image: url(../images/icons/device3.png);
    background-position: 280px center;
    background-repeat: no-repeat;
}

/* Добавил МАГИК-у */
.content .fordevicelist .devicelist li.devicetype6 a {
    background-image: url(../images/icons/device6.png);
    background-position: 280px center;
    background-repeat: no-repeat;
}

.content .fordevicelist .devicelist li.devicetype8 a {
    background-image: url(../images/icons/device8.png);
    background-position: 280px center;
    background-repeat: no-repeat;
}


.content .deviceInfoBlock.device1 {
    background-image: url(../images/icons/devicebig1.png);
    background-position: 680px 10px;
    background-repeat: no-repeat;
}

.content .deviceInfoBlock.device2 {
    background-image: url(../images/icons/devicebig2.png);
    background-position: 680px 10px;
    background-repeat: no-repeat;
}

.content .deviceInfoBlock.device3 {
    background-image: url(../images/icons/devicebig3.png);
    background-position: 680px 10px;
    background-repeat: no-repeat;
}
/* Добавил МАГИК-у */
.content .deviceInfoBlock.device6 {
    background-image: url(../images/icons/devicebig6.png);
    background-position: 680px 10px;
    background-repeat: no-repeat;
}

.content .deviceInfoBlock.device8 {
    background-image: url(../images/icons/devicebig8.png);
    background-position: 680px 10px;
    background-repeat: no-repeat;
}

/* Left Sidebar
-----------------------------------------------------------------------------*/
.left-sidebar {
	float: left;
	width: 250px;
	margin-left: -100%;
	position: relative;
	background: #f6f6ee;
    margin-top:35px;
    margin-bottom:10px;
}


.title {
    margin-top:-30px;
    height:20px;
    padding:10px;
    background: #f6f6ee;
    display:block;
    float:left;
    font-weight:normal;
}


.left-sidebar .devicelist {
    list-style: none;
    margin:10px 0 5px 0;
    overflow-y:scroll;
    height:65vh; 
/*    height:450px; */
}

.left-sidebar .devicelist li {
    display:block;
    width:100%;
    text-align: left;
}

.left-sidebar .devicelist li a {
    background: #f6f6ee;
    color:#0b65bd;
    font-size:16px;
    font-weight:bold;
    padding:5px;
    display:block;
    text-decoration: none;
}

.left-sidebar .devicelist li a:hover {
    background: #ffffff;
    text-decoration: none;
    font-weight:bold;
    font-size:16px;
}
/* было e6e6de */
.left-sidebar .devicelist li.active a {
    background: #c6c6ce;
}

/* было e6e6de */
.left-sidebar .devicelist li.active a span {
    background: #c6c6ce;
}

.left-sidebar .devicelist li.error a,
.left-sidebar .devicelist li.error a span {
    background:#de3232;
    color:#fff;
}

.left-sidebar .devicelist li.error a:hover,
.left-sidebar .devicelist li.error a:hover span {
    background: #ff3535;
    color:#fff;
}


.left-sidebar .devicelist li a span {
    display:block;
    padding-top:1px;
    font-size:14px;
    color:#333;
    font-weight:normal;
}


/* Footer
-----------------------------------------------------------------------------*/
.footer {
	margin: -50px auto 0;
	min-width: 1000px;
	height: 49px;
	background: #e9e9e9;
	position: relative;
    border-top:1px solid #fff;
}

#_subfoot {
    margin:15px auto 0 auto;
    text-align: center;
    font-size:16px;
    font-family: CURSIVE, comic sans ms;
    
}


/* designed checkbox & radio */
.customize input[type="checkbox"],
.customize input[type="radio"] {
    display:none;
}
.customize input[type="checkbox"] +  label,
.customize input[type="radio"] +  label {
    font-size: 14px;
    cursor: pointer;
    line-height: 16px;
}
.customize input[type="checkbox"] +  label::before,
.customize input[type="radio"] +  label::before {
    content: "";
    display: inline-block;
    height: 18px;
    width: 18px;
    margin: 0 5px -2px 0;
    background-image: url(../images/sprite.png);
    background-repeat: no-repeat;
}
.customize input[type="radio"] +  label::before {
    background-position: -38px -260px;
}

.customize input[type="radio"]:checked + label::before {
    background-position: -114px -260px;
}
.customize input[type="radio"]:disabled + label::before {
    background-position: -152px -260px;
}
.customize input[type="radio"]:checked:disabled + label::before {
    background-position: -171px -260px;
}
/* end of designed checkbox & radio */

table.listdev tr td {
    padding: 5px;
    font-size: 150%;
}

#currenttemper {
    padding-left:40px;
    font-size:24px;
    color:#333;
    display:inline-block;
    text-decoration: none;
}

.div_red_ns {
    display: block;
    color: red;
    font-size: 150%;
}