* {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 12px;
}


html, body {
	margin: 0;
	padding: 0;
    width: 100%;
    height: 100%;
}

.loader {
	text-align: center;
	margin: 10px 5px 10px 5px;
}

a {
	color: #3aabda;
}
a:hover {
	color: #097cad;
}

#USER_MENU a {
	text-decoration: none;
}

#USER_MENU a.selected {
	color: #097cad;
	text-decoration: underline;
	/*font-weight: bold;*/
}

.clear {
    clear: both;
}

.form {
    
}
.form div {
    margin-bottom: 10px;
}

div.center {
	text-align: center;
}

label.error { 
    display: block;
    color: red;  
}

.tooltip {
	font-size: 11px;
}

input.text {
    width: 200px;
}

/* LOGIN PAGE */
.login {
    margin: 30px;
    width: 235px;
}

/* REMEMBER PAGE */
.remember {
    margin: 30px;
    width: 235px;	
}


.id_field {
	display: none;
}

/* MAIN block*/
.MAIN {
	background: url(../images/bg.jpg) top repeat-x;
}
.MAIN_INNER {
	padding: 0px 20px 20px 20px;
}

.USER {
	margin: 5px 20px 15px 20px; 
}

/* HEADER block */
.HEADER {
	width: 100%;
	height: 96px;
	background: url(../images/jet_line1.jpg) left top no-repeat;
}
.HEADER #logo {
	display: block;
	float: right;
	margin: 5px 30px 0px 0px;
}

.login, .remember {
	margin: 0px auto;
}

.success {
	color: green;
}

.block {
	float: left;
	margin: 0px 20px 20px 0px;
}

fieldset .block {
	margin: 10px;
}

.disabled {
	color: gray;
}
#progressbar {
	width: 300px;
	height: 15px;
}
div.error, div.ERROR {
	color: red;
}
div.success {
	color: green;
}
div.warning, div.WARNING {
    color: #FAD148;
}
#pay_log {
    display: none;
}
#pay_log div.pay_block {
	padding-left: 15px;
}
#pay_log div.ok {
	background: url(/images/status_activated.png) 0px 3px no-repeat;
}
#pay_log div.err {
	background: url(/images/status_deactivated.png) 0px 3px no-repeat;
}
#inst_tariffs {
    margin-left: 30px;
}


.message_succ, .message_warn, .message_err {
	font-size: 10px;
	margin-left: 4px;
}

.message_succ {
	color: green;
}

.message_warn {
	color: #B27A01;
}

.message_err {
	color: red;
}

#group_edit-block {
	display: none;
	height: 300px;
	width: 376px;
}
#group_export-block {
	display: none;
	height: 200px;
	width: 300px;
}
#group_edit-content {
	width: 350px;
	background-color: white;
	height: 250px;
	overflow-y: scroll;
	display: none;
	margin-top: 4px;
}
#group_edit-content .waiting {
	color: gray;
	font-style: italic;
}
#group_edit-status {
	display: none;
	height: 40px;
}
#group_edit-status span {
	font-weight: bold;
}
#group_edit-close {
	display: none;
}

.column_button-wrapper {
	float: left;
	margin: 1px 0px 0px 3px;
	padding: 0px;
	/*margin: 0px;*/
	width: 20px;
	height: 20px;
}
.column_button-wrapper .column_button {
	width: 20px !important;
	height: 20px;
}

.fancy_table {
	width: 100%;
}
.fancy_table td, .fancy_table th {
	border: 1px solid #CCC;
	padding: 2px 5px 2px 5px;
}
.fancy_table td {
	text-align: center;
}
.fancy_table th {
	border-width: 0px;
}
.fancy_table td.border-disable {
	border-width: 0px;	
}
.fancy_table tr.error {
	background-color: #F7DEDF;
}

.auto-width {
	display: inline-block;
}
.no-border {
	border: none;
}

.form-result {
	display: none;
}


#live-btn {
	display: block;
	padding-left: 20px;
	background-position: 5px center;
	background-repeat: no-repeat;
}

#live-btn.offline {
	background-image: url(../images/status_0.png);
}

#live-btn.online {
	background-image: url(../images/status_1.png);
}

#live-tab {
	width: 600px;
}

.ecg-block {
	margin-bottom: 5px;
}
	.ecg-block h3 {
		margin: 0px;
		padding: 3px 10px 3px 10px;
		cursor: pointer;
	}
		.ecg-block h3 .current-state {
			font-style: italic;
		}

	.ecg-block.live h3 {
		padding-left: 20px;
		background: url(../images/status_1.png) 5px center no-repeat;		
	}

	.ecg-block div.stat-content {
		/*margin-top: 10px;*/
		padding: 5px;
	}

.stat-event-log {
	list-style: none;
	margin-top: 0px;
	margin-bottom: 7px;
	padding: 3px;
}

	.stat-event-log li.level1 {
		color: black;
	}
	.stat-event-log li.level2 {
		color: #ffef8f;
	}
	.stat-event-log li.level3 {
		color: red;
		font-weight: bold;
	}
	.stat-event-log li.level4 {
		color: green;
		font-weight: bold;
	}

	.stat-event-log li span.send-date {
		margin-right: 5px;
		font-size: 10px;
		color: gray !important;
		font-weight: normal;
	}

.ecg-message-label {
	display: inline-block;
	padding: 0px 2px !important;
	font-size: 7pt;
	font-weight: bold;
	width: 44px;
}
.ui-state-success.ecg-message-label {
	border-color: green;
	color: green;
}
.ui-jqgrid .subgrid-data .ui-th-column,
.ui-jqgrid .subgrid-data .ui-pg-table {
	background: #EEE
}
.ui-jqgrid .subgrid-data .ui-pg-table .ui-pg-button {
	margin: 0;
}