/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/

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;
}

/* make sure to set some focus styles for accessibility */
:focus {
    outline: 0;
}
:active {
    outline: 0;
}
::-moz-focus-inner {
	border: 0;
}

/* 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;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:focus,
a:active,
a:hover {
    outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
button,
input,
select,
textarea {
    color: #222;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body, html {
	height: 100%;
	width: 100%;
	font-family: calibri, arial;
}

body {
	position: relative;
	font-size: 0.9vw;
}

.login {
	width: 350px;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-60%);
	font-size: 14px;
}

.login img {
	margin-bottom: 30px;
}

.login .content {
	border-top: 5px solid #f4f4f4;
	border-bottom: 5px solid #f4f4f4;
	border-left: 1px solid #f4f4f4;
	border-right: 1px solid #f4f4f4;
	border-radius: 5px;
	padding: 20px;
}

.login .content h1 {
	font-size: 1.5vw;
	font-weight: bold;
	margin-bottom: 20px;
}

.login .content .username,
.login .content .password {
	border: 1px solid #000000;
	border-radius: 5px;
	width: 100%;
	margin-bottom: 20px;
	text-align: left;
}

.login .content .username {
	background: url(/images/icon_email.png) 11px center no-repeat;
}

.login .content .password {
	background: url(/images/icon_password.png) 11px center no-repeat;
}

.login .content input {
	border: none;
	padding: 10px 0;
	width: 260px;
	margin-left: 40px;
	background-color: #ffffff;
}

.login .content button {
	border: 1px solid #f4f4f4;
	background: #f4f4f4;
	border-radius: 5px;
	padding: 10px 0;
	width: 100%;
	margin-bottom: 20px;
	color: #ffffff;
	font-weight: bold;
}

.login .error {
	color: #ff0000;
	margin-top: 20px;
}

.header {
	height: 5vw;
	line-height: 5vw;
	position: relative;
}

.header .logo {
	margin-left: 1vw;
	vertical-align: central;
	float: left;
}

.header .logo img {
	width: 10vw;
}

.header h1 {
	text-align: center;
	font-size: 1.5vw;
	margin: 0 10vw;
	font-weight: bold;
	line-height: 1.5vw;
	padding-top: 2.8vw;
}

.header h1.rts {
	padding-top: 1.8vw;
}

.header h1 span {
	display: none;
}

.header h1 span:first-child {
	display: inline;
}

.header h1 span:nth-child(2) {
	display: none;
}

.header h1 span:nth-child(3),
.header h1 span:nth-child(4),
.header h1 span:nth-child(5),
.header h1 span:nth-child(6) {
	font-size: 1vw;
}

.header h1 span:nth-child(5),
.header h1 span:nth-child(6) {
	display: none;
}

.header h1 span.error {
	color: #fe0000;
}

.header .logout {
	margin-right: 0.5vw;
	float: right;
	line-height: 2vw;
	margin-top: 2.2vw;
}

.header .logout img {
	width: 2vw;
}

.header .country {
	margin-right: 1vw;
	float: right;
	line-height: 2vw;
	margin-top: 2.2vw;
	position: relative;
}

.header .country img {
	width: 1.7vw;
}

.header .country div {
	display: none;
	position: absolute;
	z-index: 5000;
	right: -0.3vw;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 0.5vw;
	padding: 0.3vw 0.5vw;
}

.header .country div a {
	display: block;
	cursor: pointer;
	font-size: 1vw;
	line-height: 1.4vw;
}

.body {
	position: relative;
	min-height: calc(100% - 5vw);
	width: 100%;
	background: linear-gradient(#ededed 0, #f4f4f4 5vw);
}

.body .menu {
	display: block;
	position: absolute;
	z-index: 10000;
	left: -16vw;
	top: 0;
	width: 16vw;
	height: 100%;
	transition: 0.7s;
}

.body .menu.active {
	left: 0vw;
	transition: 0.7s;
}

.body .menu .button {
	position: absolute;
	right: -2.5vw;
	top: 1vw;
}

.body .menu .button img {
	width: 1.5vw;
}

.body .menu > ul {
	width: 16vw;
	background: linear-gradient(#f4f4f4 0%, #ffffff 25%);
	min-height: 100%;
}

.body .menu > ul > li > a {
	font-size: 1vw;
	display: inline-block;
	height: 3vw;
	line-height: 3vw;
	padding-left: 3vw;
	width: 13vw;
	color: #000000;
	text-decoration: none;
	background: url(/images/icon_home.png) 1vw center no-repeat;
	background-size: 1.5vw;
	cursor: pointer;
}

.body .menu > ul > li > a:hover,
.body .menu > ul > li > a.current {
	background-color: #f4f4f4;
}

.body .menu > ul > li.rts > a {
	background-image: url(/images/icon_rts.png);
}

.body .menu > ul > li.stats > a {
	background-image: url(/images/icon_stats.png);
}

.body .menu > ul > li.history > a {
	background-image: url(/images/icon_history.png);
}

.body .menu > ul > li.export_history > a {
	background-image: url(/images/icon_export_history.png);
}

.body .menu > ul > li.export_sites_history > a {
	background-image: url(/images/icon_export_sites_history.png);
}

.body .menu > ul > li.archive > a {
	background-image: url(/images/icon_archive.png);
}

.body .menu > ul > li.customers > a {
	background-image: url(/images/icon_customers.png);
}

.body .menu > ul > li.users > a {
	background-image: url(/images/icon_users.png);
}

.body .menu > ul > li.sites > a {
	background-image: url(/images/icon_sites.png);
}

.body .menu > ul > li.telegram > a {
	background-image: url(/images/icon_telegram.png);
}

.body .menu > ul > li > ul {
	display: none;
}

.body .menu > ul > li > ul > li > a {
	font-size: 0.75vw;
	display: inline-block;
	height: 2vw;
	line-height: 2vw;
	margin-left: 1vw;
	padding-left: 2vw;
	width: 13vw;
	color: #000000;
	text-decoration: none;
	background-size: 1.5vw;
}

.body .menu > ul > li.home > ul > li > a:hover {
	background-color: #f4f4f4;
}

/*
.body .menu li.home a:hover {
	background-image: url(../images/icon_home_hover.png);
	color: #ffffff;
}
*/

.body .container {
	padding: 1vw;
}

.body .container h1 {
	font-size: 1.5vw;
}

.body .container h2 {
	font-size: 1.5vw;
}

.body .container .content {
	background: #ffffff;
	padding: 1vw;
	font-size: 1vw;
	line-height: 1vw;
}

.body .container .content input[type="text"] {
	border: 1px solid #f4f4f4;
	border-radius: 0.2vw;
	background: #ffffff;
	padding: 0.3vw;
}

.body .container .content select {
	border: 1px solid #f4f4f4;
	border-radius: 0.2vw;
	background: #ffffff;
	padding: calc(0.3vw - 1px);
}

.body .container .content button {
	border: 1px solid #f4f4f4;
	border-radius: 0.2vw;
	background: #f4f4f4;
	color: #ffffff;
	padding: 0.3vw 1vw;
}

.form_header {
	padding: 0 0 0 3vw;
	min-height: 2.5vw;
}

.form_header h1 {
	float: left;
}

.form_header .buttons {
	float: right;
	position: relative;
}

.form_header .buttons a {
	display: inline-block;
	border: 1px solid #000000;
	border-radius: 0.2vw;
	padding: 0.3vw 1vw;
	background: #ffffff;
	text-decoration: none;
	color: #000000;
}

.form_header .buttons a:hover,
.form_header .buttons a.current {
	background-color: #f4f4f4;
}

.form_header .process_list {
	display: none;
	position: absolute;
	left: 0;
	z-index: 1000;
}

.form_header .process_list a {
	display: block;
	width: 100%;
	text-align: center;
}

.form_header .buttons a:hover + .process_list,
.form_header .process_list:hover {
	display: block;
}

.content_scrollable {
	clear: both;
	height: calc(100vh - 10vw);
	overflow: auto;
}

.content_table {
	background: #ffffff;
	clear: both;
	width: 100%;
}

.content_table tr {
	border: 1px solid #000000;
}

.content_table th {
	padding: 0.4vw;
	font-weight: bold;
	vertical-align: middle;
}

.content_table td {
	padding: 0.2vw;
	vertical-align: middle;
}

.content_table a {
	color: #000000;
	text-decoration: none;
}

.content_table a.button {
	display: inline-block;
	border: 1px solid #000000;
	border-radius: 0.2vw;
	padding: 0.3vw 1vw;
	background: #ffffff;
	text-decoration: none;
}

.content_table a.button:hover {
	background-color: #f4f4f4;
}

.content_table input[type="text"],
.content_table input[type="password"] {
	border: 1px solid #000000;
	border-radius: 0.2vw;
	background: #ffffff;
	padding: 0.3vw;
}

.content_table .select2 {
	min-width: 20vw;
}

.content_form {
	width: 50%;
	margin: 0 auto;
}

.content_form input[type="text"],
.content_form input[type="password"] {
	border: 1px solid #000000;
	border-radius: 0.2vw;
	background: #ffffff;
	padding: 0.3vw;
	line-height: 0.9vw;
	width: 20vw;
}

.content_form input[type="color"] {
	border: 1px solid #000000;
	border-radius: 0.2vw;
	background: #ffffff;
	width: calc(20.6vw + 2px);
	height: calc(1.9vw + 2px);
}

.content_form select {
	border: 1px solid #000000;
	border-radius: 0.2vw;
	background: #ffffff;
	padding: calc(0.3vw - 1px);
}

.content_form button {
	border: 1px solid #000000;
	border-radius: 0.2vw;
	background: #f4f4f4;
	color: #ffffff;
	padding: 0.3vw 1vw;
}

/* old */



.clr {
	clear: both;
}

.flr {
	float: right;
}

.left {
	text-align: left;
}

.site_logo {
	float: right;
	border: 1px solid #f4f4f4;
	background: #f4f4f4;
	border-radius: 0.2vw;
	color: #ffffff;
	padding: 0.3vw 1vw;
	margin-left: 2vw;
	font-weight: bold;
	text-decoration: none;
}

.system_panel .site_logo,
.electric_panel .site_logo,
.facilities_panel .site_logo {
	float: none;
	margin: 0;
	border-radius: 0;
	border-top: 1px solid #000000;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
}

.panels table td {
	vertical-align: middle;
}

.site_description {
	display: none;
	font-size: 1vw;
	padding: 0.5vw;
	border: 1px solid #000;
	position: absolute;
	z-index: 1000;
	background: #fff;
	width: 20vw;
	border-radius: 0.5vw;
}

#index_list .site_description {
	top: 2.5vw;
	left: 0.5vw;
}

div.form_header .site_description {
	top: 3vw;
	right: 1vw;
}

h1.tab_title {
	text-align: center;
	display: none;
}

.panels {
	display: none;
	margin-bottom: 2vw;
}

.panels_no_margin {
	margin: 0;
}

.right_panel {
	width: 470px;
	/*overflow: hidden;*/
	float: right;
	margin: 0 10px 0 0;
	position: relative;
}

.right_panel .status {
	position: absolute;
	right: 0px;
	top: -25px;
	white-space: nowrap;
}

.right_panel .status a {
	text-decoration: none;
}

.right_panel .status img {
	margin-left: 20px;
	display: none;
}

.right_panel_description {
	border-bottom: 1px solid #000;
	padding-bottom: 15px;
	text-align: center;
	font-weight: bold;
}

.right_panel table {
	width: 100%;
	border-collapse: collapse;
}

.right_panel table th {
	text-align: center;
}

#index_list {
	display: none;
}

#index_list_menu {
	text-align: center;
	margin-bottom: 20
}

#index_list_menu a {
	border: 1px solid #cccccc;
	border-radius: 0.5vw;
	background: #FFFFFF;
	padding: 0.5vw;
	display: inline-block;
}

#index_list_menu a.active {
	background-color: #00B6FF;
}

#index_list .index_list_container {
	width: 90%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

#index_list .index_list_container .index_list_site {
	height: fit-content;
}

#index_list table {
	width: 90%;
	margin: 0 auto;
	border-collapse: collapse;
}

#index_list table td {
	margin: 0px;
	vertical-align: top;
	text-align: center;
	width: 25%;
}

#index_list .index_list_site {
	margin: 1vw 0.5vw;
	background: #FFFFFF;
	border: 1px solid #cccccc;
	border-radius: 0.5vw;
	padding: 0.5vw;
	position: relative;
}

#index_list .index_list_site > a {
	display: block;
	float: left;
	border: 1px solid #f4f4f4;
	border-radius: 0.2vw;
	padding: 0.3vw;
	background: #f4f4f4;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
}

#index_list .index_list_security {
	background-color: #FF0000;
	display: none;
	float: right;
	width: 1.2vw;
	height: 1.2vw;
	border-radius: 0.7vw;
	margin-top: 0.2vw;
	font-size: 0.5vw;
	text-align: center;
	line-height: 1.2vw;
}

#index_list .index_list_security.false {
	display: block;
	background-color: #FF0000;
	color: #ffffff;
}

#index_list .index_list_security.true {
	display: block;
	background-color: #00FF00;
	color: #000000;
}

#index_list .index_list_security_system {
	background-color: #FF0000;
	display: none;
	float: left;
	border: 1px solid #cccccc;
	border-radius: 0.2vw;
	padding: 0.3vw;
	background: #ffffff;
	text-decoration: none;
	margin-left: 0.4vw;
}

#index_list .index_list_security_system.false {
	display: block;
	background-color: #FF0000;
	color: #ffffff;
	animation: blink 1s infinite;
}

#index_list .index_list_security_system.true {
	display: block;
	background-color: #00FF00;
	color: #000000;
}

#index_list .index_list_status > span {
	display: inline-block;
	float: right;
	border: 1px solid #cccccc;
	border-radius: 0.2vw;
	padding: 0.3vw;
	background: #ffffff;
	text-decoration: none;
	margin-left: 0.4vw;
}

#index_list .index_list_status > span:nth-child(1).active {
	background-color: #d7d7d7;
}

#index_list .index_list_status > span:nth-child(2).active {
	background-color: #ed1b24;
	color: #ffffff;
}

#index_list .index_list_status > span:nth-child(3).active {
	background-color: #3ab54a;
	color: #ffffff;
}

#index_list a {
	color: #000;
	text-decoration: none;
}

#index_list .index_list_site table {
	width: 100%;
	margin: 1vw 0 0 0;
}

#index_list .index_list_site table td {
	padding: 0.3vw 0;
	font-weight: bold;
	text-align: left;
}

#index_list .index_list_site table tr td:first-child {
	width: 100%;
	font-weight: normal;
}

#index_list .index_list_site table tr td:nth-child(2) {
	white-space: nowrap;
	text-align: right;
}

#index_list .index_list_site table tr td:nth-child(3) {
	white-space: nowrap;
	padding-left: 0.5vw;
}

#index_list .index_list_site .signal_quality {
	display: none;
	font-size: 2vw;
}

#index_list .customer_table h1 {
	text-align: left;
	margin: 0;
}

#index_list .customer_table h2 {
	margin: 0;
}

#index_list .customer_table {
	border-collapse:separate;
	border-spacing: 0;
	margin-top: 1vw;
}

#index_list .customer_table > tbody > tr > td {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
}

#index_list .customer_table > tbody > tr:first-child > td {
	border-top: 1px solid #000;
	border-radius: 0.5vw 0.5vw 0 0;
	padding: 0.5vw;
}

#index_list .customer_table > tbody > tr:last-child > td {
	border-radius: 0 0 0.5vw 0.5vw;
}

#index_list .customer_table .index_list_container {
	width: 100%;
}

.signal_row td {
	padding: 0.5vw;
	margin: 0px;
	border-bottom: 1px solid #000;
}

.signal_quality {
	font-size: 2.3vw;
	line-height: 0.9vw;
}

.signals_name {
	width: 100%;
}

.signals_value {
	width: 5vw;
	white-space: nowrap;
}

.signals_time {
	width: 200px;
	white-space: nowrap;
}

.right_panel_maps {
	width: 480px;
	height: 300px;
	position: absolute;
	bottom: 5px;
	right: 5px;
}

.left_panel {
	margin-right: 480px;
}

.synoptic_image {
	position: relative;
	margin: 30px auto 50px auto;
	width: 731px;
}

.synoptic_image .inline {
	display: inline;
	vertical-align: middle;
}

.synoptic_image_signal_container {
	position: absolute;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
}

.synoptic_image_signal_container .inline {
	display: inline;
	vertical-align: middle;
}

.synoptic_image_signal_bordered {
	border: 1px solid #000;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 2px;
	background-color: #fff;
}

.synoptic_image_signal {
	display: inline-block;
	vertical-align: middle;
}

.synoptic_image_signal span {
	display: none;
}

.synoptic_image_valve {
	position: absolute;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
}

.synoptic_image_valve img {
	display: none;
	vertical-align: middle;
}

.synoptic_image_image {
	position: absolute;
}

.synoptic_image_image img {
	display: none;
}

.synoptic_image_image_signals {
	position: absolute;
	display: none;
	border: 1px solid #000;
	width: 470px;
	height: auto;
	top: -40px;
	left: 50px;
	background: #fff;
	z-index: 1000;
}

.synoptic_image_title {
	position: absolute;
	font-size: 18px;
	font-weight: bold;
}

.synoptic_scale {
	position: absolute;
}

.synoptic_label {
	position: absolute;
	font-size: 11px;
	text-align: center;
	white-space: nowrap;
	font-weight: bold;
}

.green {
	color: #00cc00;
}

.yellow {
	color: #cccc00;
}

.black {
	color: #000000;
}

.gray {
	color: #909090;
}

.red {
	color: #cc0000;
}

.center {
	text-align: center;
}

.tab {
	padding-top: 50px;
	display: none;
}

.bottom_slider_wrap {
	height: 300px;
	position: absolute;
	left: 5px;
	bottom: 5px;
}

.bottom_slider_wrap ul {
	margin: 0;
	padding: 0;
}

.topmenu {
	margin: 10px 0 10px 0;
	padding: 0px;
	width: 100%;
	background: url("/images/menu.jpg");
	height: 26px;
}

.topmenu > li {
	float: left;
	list-style: none;
	margin: 0 0 0 10px;
	padding: 0 10px;
	position: relative;
}

.topmenu > li.right {
	float: right;
}

.topmenu > li a {
	vertical-align: top;
	padding: 0;
	line-height: 26px;
	margin: 0;
	text-decoration: none;
	font-weight: bold;
	color: #fff;
}

.topmenu > li img {
	cursor: pointer;
	vertical-align: top;
}

.topmenu > li a.current {
	color: #FFFF00;
}

.topmenu > li > ul {
	display: none;
	position: absolute;
	top: 36px;
	left: 0;
	background: #FC0001;
	padding: 0px;
	z-index: 1000;
}

.topmenu > li > ul > li {
	list-style: none;
	display: block;
	padding: 0 30px;
}

.topmenu > li:hover > ul {
	display: block;
}

.sitesmenu_cover {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #000000;
	opacity: 0.5;
}

.sitesmenu {
	position: absolute;
	z-index: 10000;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-60%);
	background: rgba(255, 255, 255, 0.8);
	padding: 1vw;
	border-radius: 1.5vw;
}

.sitesmenu > a {
	background: #ff0000;
	display: block;
	padding: 0.5vw;
	border-radius: 1vw;
	width: 1vw;
	height: 1vw;
	line-height: 1vw;
	position: absolute;
	top: -0.8vw;
	right: -0.8vw;
}

.sitesmenu > a > img {
	width: 1vw;
	display: block;
}

.sitesmenu ul {
	max-height: 90vh;
	overflow: auto;
	width: 30vw;
	margin: 0 0 -0.7vw -0.7vw;
}

.sitesmenu ul.wide {
	width: 40vw;
}

.sitesmenu li {
	width: calc(33.3% - 0.7vw);
	display: block;
	float: left;
	margin: 0 0 0.7vw 0.7vw;
}

.sitesmenu ul.wide li {
	width: calc(25% - 0.7vw);
}

.sitesmenu li a {
	display: block;
	text-align: center;
	border-radius: 0.2vw;
	padding: 1vw 0;
	background: #000000;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	border-radius: 1vw;
}

.sitesmenu li a.current {
	background-color: #aaaaaa;
}

.sitesmenu .left, .sitesmenu .right {
	cursor: pointer;
	display: none;
	border: 1px solid #000;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background: #fff;
	padding: 0 20px;
	margin: 0;
	text-decoration: none;
	color: #000;
	font-weight: bold;
}

.sitesmenu .left {
	float: left;
	margin-left: 200px;
}

.sitesmenu .right {
	float: right;
	margin-right: 200px;
}

.tabsitesmenu {
	margin: 0 auto 0 auto;
	height: 18px;
	padding: 8px 0 0 0;
	text-align: center;
}

.tabsitesmenu a {
	border: 1px solid #000;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background: #fff;
	padding: 0 20px;
	margin: 0 10px;
	text-decoration: none;
	color: #000;
	font-weight: bold;
}

.tabsitesmenu a.current {
	background: #ccc;
}

.users_table {
	width: 100%;
	margin: 0 auto;
	border: 1px solid #000;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 10px 0;
	background: #D00F0A;
	border-spacing: 0;
}

.users_table th {
	color: #fff;
	padding: 0 5px 5px 5px;
}

.users_table tr.light {
	background: #C83A38;
}

.users_table tr.first td {
	border-top: 1px solid #ccc;
}

.users_table td {
	color: #fff;
	padding: 5px 10px;
	border-bottom: 1px solid #ccc;
}

.users_table a {
	color: #fff;
	text-decoration: none;
}

.users_table a.important {
	color: #FFFF00;
	font-weight: bold;
}

.int_table {
	width: 100%;
	margin: 5px auto 0;
	padding: 0;
	border-spacing: 0;
}

.int_table tr:first-child th {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 2px 0;
}

.int_table tr:nth-child(2) td {
	padding-top: 5px;
}

.int_table td {
	border: none;
	padding: 0px 10px;
}

.int_table td:last-child {
	padding-right: 0px;
}

.link_button {
	border: 1px solid #ccc;
	padding: 3px 7px;
	display: block;
	float: left;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	text-decoration: none;
	color: #fff;
	background: #D00F0A;
	margin: 0 20px 0 0;
}

.link_button:hover {
	background: #000;
}

.users_table .link_button {
	background: #000;
}

.users_table .link_button:hover {
	background: #D00F0A;
}

.users_form {
	width: 400px;
	margin: 0 auto;
}

.submit_button {
	display: inline-block;
	border: 1px solid #000000;
	border-radius: 0.2vw;
	padding: 0.3vw 1vw;
	background: #ffffff;
	text-decoration: none;
}

.submit_button:hover {
	background: #f4f4f4;
}

a.submit_button {
	text-decoration: none;
	color: #000000;
	padding: 0.5vw 1vw;
}

.submit_button.flr {
	margin-left: 1vw;
}

#rtgraph_container {
	width: 100%;
	overflow: auto;
}

.graph_title {
	text-align: center;
}

.rtgraphs {
	width: 100%;
}

.rtgraphs_block {
	width: 49%;
	margin-right: 1%;
	height: 200px;
	float: left;
	overflow: hidden;
}

.rtgraphs_block h4 {
	text-align: center;
	font-weight: bold;
	margin-top: 0.5vw;
}

.rtgraphs_block > div {
	background: #ffffff;
}

#history_small_graphs {
	position: absolute;
	bottom: 5px;
	right: 5px;
	display: none;
}

#history_large_graphs {
	position: absolute;
	bottom: 5px;
	right: 5px;
}

#history_form,
#history_form_show {
	text-align: center;
	width: 90%;
	margin: 0 auto;
	border: 1px solid #000000;
	border-radius: 0.2vw;
	padding: 1vw;
	background: #ffffff;
	margin-bottom: 1vw;
	position: relative;
}

#history_form_show {
	display: none;
}

#history_form a,
#history_form_show a {
	color: #000;
	text-decoration: none;
}

#history_form input[type="text"] {
	border: 1px solid #aaaaaa;
	border-radius: 0.2vw;
	background: #ffffff;
	padding: 0.3vw;
}

#history_form select {
	border: 1px solid #aaaaaa;
	border-radius: 0.2vw;
	background: #ffffff;
	padding: calc(0.3vw - 1px);
	width: 20vw;
}

#history_form select.small {
	width: 8vw;
}

#history_form button,
#history_form input[type="submit"] {
	border: 1px solid #aaaaaa;
	border-radius: 0.2vw;
	background: #aaaaaa;
	color: #000000;
	padding: 0.3vw 1vw;
}

#history_form div {
	display: inline-block;
	vertical-align: top;
}

#history_form div.checkbox {
	height: 2vw;
	line-height: 2vw;
}

#history_form div.color {
	width: 2vw;
	height: 2vw;
	vertical-align: middle;
}

#history_form .clear {
	display: inline-block;
	width: 1vw;
	height: 1vw;
	vertical-align: middle;
	text-decoration: none;
	color: #000;
}

#history_form span {
	height: 2vw;
	line-height: 2vw;
	text-align: left;
	vertical-align: middle;
}

#history_datepopup,
#history_datefrompopup,
#history_datetopopup {
	width: 6vw;
}

#history_datetimefrompopup,
#history_datetimetopopup {
	width: 7.3vw;
}

#history_form .select2-container {
	vertical-align: top;
	width: 20vw !important;
}

#history_form .select_site select,
#history_form .select_site .select2-container {
	width: 10vw !important;
}

#history_form .select_signal select,
#history_form .select_signal .select2-container {
	width: 30vw !important;
}

#history_form table {
	text-align: left;
}

#history_form table div {
	display: block;
}

#history_form table div.select_site,
#history_form table div.select_signal {
	display: inline-block;
}

#history {
	width: 100%;
	overflow: hidden;
	display: none;
	background: #fff;
}

#history > div {
	background: #fff;
}

#history_prev {float: left;}
#history_next {float: right;}

#split_graph {
	vertical-align: middle;
}

#loading {
	width: 100%;
	position: fixed;
	top: 48%;
	left: 0px;
	display: none;
	text-align: center;
	z-index: 5000;
}

#pdflink {
	display: none;
}

.message_page {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 1000;
}

.message_page p {
	padding: 10px 100px;
	font-size: 30px;
	margin: 0px;
	text-align: justify;
}

.message_page p:first-child {
	margin-top: 100px;
}

.tags_list {
	width: 400px;
	margin: 30px auto 0 auto;
	white-space: nowrap;
}

.system_panel {
	padding: 2vw 0 0 0;
}

.system_panel > table {
	margin: 0 auto;
	border-collapse: collapse;
}

.system_panel .system_panel_block {
	padding: 0 2vw 1vw 2vw;
	text-align: center;
	vertical-align: top;
}

.system_panel .system_panel_block img {
	margin: 0 0.5vw;
}

.system_panel .system_panel_block .signals {
	border: 1px solid #000;
	padding: 1vw;
	text-align: left;
}

.system_panel .system_panel_block .signals > table {
	display: inline-block;
	padding: 0 0.5vw;
	vertical-align: top;
}

.system_panel .system_panel_block .signals > table:first-child {
	padding-left: 0px;
}

.system_panel .system_panel_block .signals > table:last-child {
	padding-right: 0px;
}

.system_panel .system_panel_block .signals > table tr td:first-child {
	padding-right: 0.5vw;
}

.electric_panel {
	padding: 2vw 0 0 0;
}

.electric_panel .electric_panel_row {
	width: 100%;
	padding: 0px;
	margin: 0px;
	border-collapse: collapse;
}

.electric_panel .electric_panel_row > tbody > tr > td {
	vertical-align: bottom;
}

.electric_panel .electric_panel_group {
	margin: 0 auto;
	border-collapse: collapse;
}

.electric_panel .descriptions {
	vertical-align: bottom;
	padding-bottom: 33px;
}

.electric_panel .descriptions.descriptions_left {
	padding: 0 6px 6px 0;
}

.electric_panel .descriptions.descriptions_right {
	padding: 0 0 6px 6px;
}

.electric_panel .descriptions.last_line {
	padding-bottom: 6px;
}

.electric_panel .electric_panel_block {
	padding: 0 35px;
	text-align: center;
	vertical-align: bottom;
}

.electric_panel .electric_panel_block_absolute {
	position: absolute;
	z-index: 1000;
}

.electric_panel .electric_panel_image_absolute {
	position: absolute;
	z-index: 1000;
}

.electric_panel .electric_panel_image_absolute > span {
	color: #FF0000;
	font-size: 14px;
	position: absolute;
	right: 2px;
	top: 2px;
	cursor: pointer;
}

.electric_panel .electric_panel_block_absolute .electric_panel_block {
	padding: 0;
}

.electric_panel .electric_panel_block img {
	margin: 0 10px;
}

.electric_panel .v_scheme {
	position: absolute;
	width: 0px;
	border-left: 1px solid #000;
}

.electric_panel .h_scheme {
	position: absolute;
	height: 0px;
	border-top: 1px solid #000;
}

.electric_panel .scheme_table {
	border-collapse: collapse;
	width: 100%;
	margin: 0;
	padding: 0;
}

.electric_panel .scheme {
	height: 27px;
	width: 0px;
	border-left: 1px solid #000;
	margin: -1px auto;
}

.electric_panel .scheme_empty {
	border: none;
}

.electric_panel .electric_panel_block .signals {
	border: 1px solid #000;
	padding: 6px;
	text-align: left;
}

.electric_panel .signal_switch {
	position: relative;
}

.electric_panel .signal_switch > div {
	position: absolute;
	width: 100%;
	top: 4px;
	text-align: center;
}

.electric_panel .signal_switch img {
	display: none;
	margin: 0;
}

.electric_panel .alt_signal_switch {
	position: relative;
}

.electric_panel .alt_signal_switch > div {
	position: absolute;
	top: 8px;
	left: 64%;
	text-align: center;
	height: 15px;
	line-height: 15px;
}

.electric_panel .alt_signal_switch > div:first-child {
	width: 100%;
	left: 0px;
}

.electric_panel .alt_signal_switch > div > span {
	display: inline-block;
	height: 15px;
	border-right: 3px solid #000;
	background-color: #f4f4f4;
	width: 9px;
	transform: translateX(-50%) translateX(2px);
}

.electric_panel .alt_signal_switch > div.opened > span {
	-moz-transform: skew(-30deg);
	-webkit-transform: skew(-30deg);
	transform: skew(-30deg);
}

.electric_panel .alt_signal_switch > div.disabled > span {
	border-color: #f4f4f4;
}

.electric_panel .synoptic_image_signal {
	vertical-align: unset;
}

.electric_panel_absolute.electric_panel > img {
	border: 1px solid transparent !important;
}

.electric_panel_absolute.electric_panel {
	position: relative;
	margin: 50px auto 20px;
	padding: 0;
	font-size: 12px;
}

.electric_panel_absolute.electric_panel .electric_panel_block td {
	vertical-align: middle;
	text-align: left;
}

.electric_panel_absolute.electric_panel .site_logo {
	padding: 4px 13px;
}

.electric_panel_absolute.electric_panel .signal_quality {
	font-size: 30px;
	line-height: 12px;
}

.electric_panel_absolute.electric_panel .signals_value {
	width: 65px;
	font-size: 12px;
}

.electric_panel_absolute.electric_panel .signals {
	padding: 5px;
	position: relative;
	background-color: #f4f4f4;
}

.electric_panel_absolute.electric_panel .switch_signal {
	position: absolute;
}

.electric_panel_absolute.electric_panel .switch_signal img {
	margin: 0;
}

.electric_panel_absolute.electric_panel .switch_signal_right,
.electric_panel_absolute.electric_panel .switch_signal_left {
	bottom: 50%;
}

.electric_panel_absolute.electric_panel .switch_signal_right {
	right: -50px;
}

.electric_panel_absolute.electric_panel .switch_signal_left {
	left: -50px;
}

.electric_panel_absolute.electric_panel .switch_signal_bottom,
.electric_panel_absolute.electric_panel .switch_signal_top {
	right: 50%;
	transform: translateX(50%);
}

.electric_panel_absolute.electric_panel .switch_signal_bottom {
	bottom: -50px;
}

.electric_panel_absolute.electric_panel .switch_signal_top {
	top: -72px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal {
	position: absolute;
}

.electric_panel_absolute.electric_panel .alt_switch_signal.disabled > span {
	border-color: #f4f4f4;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_right,
.electric_panel_absolute.electric_panel .alt_switch_signal_left {
	bottom: 50%;
	height: 9px;
	width: 45px;
	border-bottom: 1px solid #000;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_right {
	right: -45px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_left {
	left: -45px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_right > span,
.electric_panel_absolute.electric_panel .alt_switch_signal_left > span {
	display: inline-block;
	height: 9px;
	border-bottom: 3px solid #000;
	background-color: #f4f4f4;
	width: 15px;
	margin-top: -1px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_right > span {
	margin-left: 15px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_left > span {
	margin-right: 15px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_right.opened > span,
.electric_panel_absolute.electric_panel .alt_switch_signal_left.opened > span {
	margin-top: 3px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_right.opened > span {
	-moz-transform: skewY(-30deg);
	-webkit-transform: skewY(-30deg);
	transform: skewY(-30deg);
}

.electric_panel_absolute.electric_panel .alt_switch_signal_left.opened > span {
	-moz-transform: skewY(30deg);
	-webkit-transform: skewY(30deg);
	transform: skewY(30deg);
}

.electric_panel_absolute.electric_panel .alt_switch_signal_bottom,
.electric_panel_absolute.electric_panel .alt_switch_signal_top {
	right: 50%;
	width: 9px;
	height: 45px;
	border-right: 1px solid #000;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_bottom {
	bottom: -45px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_top {
	top: -67px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_bottom > span,
.electric_panel_absolute.electric_panel .alt_switch_signal_top > span {
	display: inline-block;
	width: 9px;
	border-right: 3px solid #000;
	background-color: #f4f4f4;
	height: 15px;
	margin-left: -1px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_bottom > span {
	margin-top: 15px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_top > span {
	margin-bottom: 15px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_bottom.opened > span,
.electric_panel_absolute.electric_panel .alt_switch_signal_top.opened > span {
	margin-left: 3px;
}

.electric_panel_absolute.electric_panel .alt_switch_signal_bottom.opened > span {
	-moz-transform: skewX(-30deg);
	-webkit-transform: skewX(-30deg);
	transform: skewX(-30deg);
}

.electric_panel_absolute.electric_panel .alt_switch_signal_top.opened > span {
	-moz-transform: skewX(30deg);
	-webkit-transform: skewX(30deg);
	transform: skewX(30deg);
}

.facilities_panel {
	padding: 2vw 0 0 0;
}

.facilities_panel > table {
	margin: 0 auto;
	border-collapse: collapse;
}

.facilities_panel .facilities_panel_block {
	padding: 0 2vw 1vw 2vw;
	text-align: center;
	vertical-align: top;
}

.facilities_panel .facilities_panel_block img {
	margin: 0 0.5vw;
}

.facilities_panel .facilities_panel_block .signals {
	border: 1px solid #000;
	padding: 0.5vw;
	text-align: left;
}

.facilities_panel .facilities_panel_block .signals > table {
	display: inline-block;
	padding: 0 1vw;
	vertical-align: top;
}

.facilities_panel .facilities_panel_block .signals > table:first-child {
	padding-left: 0px;
}

.facilities_panel .facilities_panel_block .signals > table:last-child {
	padding-right: 0px;
}

.facilities_panel .facilities_panel_block .signals > table tr td:first-child {
	padding-right: 0.5vw;
}

.select2-results__option[aria-selected] {
	min-height: 0.9vw;
}
