* {
	margin: 0;
	padding: 0;
}
BODY {
	COLOR: #111;
	font-size: 13px;
	font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
	margin:0;
	line-height: 1.5em;
	background: url(../images/body-bg.jpg) repeat-x;
	min-width: 1300px;
}

img {
	border: none
}

big {font-weight: bold;font-size: 16px;}

table td {
	vertical-align: top;
}
a {
	cursor: pointer;
	color: #00ACBB;
	text-decoration: none;
}

#page-content a {
	font-weight: bold;
}

a.link {
	font-style: italic;
	margin-left: 1em;
	position: relative;
	top: 16px;
	border-bottom: 1px dashed #009DB4;
}

a:hover {
color: #00DDFF
}

.more {
	position: relative;
	top: 1px;

}

h1, h2, h3, h4, h5, table, tr, td, p, ul, li {margin:0;padding:0;}

h1 {
	margin: 0.4em 0 0.6em 0;
	font-size: 30px;
	color: #111;
	text-shadow: 1px 1px  1px #fff;
}

h2.index, h2 {
	margin: 0.4em 0 0.8em 0;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	position: relative;
	padding: 7px 10px;
	border-radius: 3px;
	display: inline-block;
	color: #111;
	border: 2px solid #111;
}

h2 big {color: #00DEFF}

h2.index {
	width: 140px;
	border: 2px solid #ABBABC;
}

h3 {
	font-size: 18px;
	color: #00CAE5;
	padding:0;
	margin: 0 0 0.8em 0;
}

h4 {
	color: #999;
	background: #E5E5E5;
	border: 1px solid #E5E5E5;
	border-radius: 3px;
	font-size: 13px;
	display: inline-block;
	padding: 3px 6px;
	margin: 5px 0;
	max-width: 450px;
}
h4.pactive {
	background: #fff;
	color: #658E91;
	border: 1px solid #658E91;
	width: 180px;
	text-align: center;
	margin: 10px 0 0 0;
	float: left;
}
h4.balance {
	display: inline-block;
	color: #000;
	background: #6DC8CE;
	border: 1px solid #55A6AA;
	border-radius: 3px;
	font-size: 13px;
	padding: 4px 6px 4px 6px;
	margin: 10px 10px 0 10px;
	/*float: left;*/
	max-width: inherit;
}
h4.credit {
	display: inline-block;
	color: #000;
	background: khaki;
	border: 1px solid #55A6AA;
	border-radius: 3px;
	font-size: 13px;
	padding: 4px 6px 4px 6px;
	margin: 10px 10px 0 10px;
	max-width: inherit;
}
h4.birj {
	display: inline-block;
	color: #000;
	background: #e5e5e5;
	border: 1px solid #55A6AA;
	border-radius: 3px;
	font-size: 13px;
	padding: 4px 6px 4px 6px;
	margin: 10px 10px 0 10px;
	max-width: inherit;
}

h5 {
	padding: 2px 0;
	font-size: 16px;
	font-weight: bold;
	text-align: center
}

.button-link {
	color: #009DB4;
	border-radius: 2px;
	font-weight: bold;
}

#news-block h2 {
	color: #5FC1CF;
	border: 2px solid #5FC1CF;
	margin-bottom: 1.5em;
}

p {
	margin-bottom: 0.8em;
	margin-left: 0.1em;
}

#leftcol li {
	list-style-type: none;
	padding-left: 1em;
}

.comment {
	padding: 1em;
	background: #fff;
	color: #004B65;
	box-shadow: 1px 1px 2px #aaa;
	border-radius: 5px;
}
.comment span {
	color: #000;
}

strong {
	color: #06A5BA;
	text-decoration: underline;
}
#left-navi {
	margin: 0 0 0 0;
	overflow: hidden;
}
#left-navi input[type="button"] {
	float: left;
	width: 115px;
	background: #6DC8CE;
	color: #FFF;
	border: 1px solid #55A6AA;
	border-radius: 0;
	cursor: pointer;
	font-size: 13px;
	text-shadow: 1px 1px 0 #558487;
	outline: none;
	margin: 0 !important;
	padding: 2px  !important;
}
#left-navi input[type="button"]:hover {
	box-shadow: none;
	outline: none;
}
#left-navi input[type="button"]:focus, #left-navi input[type="button"]:active {
	border: 1px solid #55A6AA;
	box-shadow: none;
	outline: none;
}
#left-navi input.focus {
	background: #55A6AA;
}
#graph a {
	margin: 0 15px 20px 15px;
	background: #EEE;
	border: 1px dotted #DDD;
	display: block;
	width: 200px;
	line-height: 20px;
	height: 20px;
}
#graph, #last_news {
	width: 230px;
	margin: 0 0 0 0 !important;
	padding: 0 0 0 0;
}
#graph table {
	margin: 10px 0 10px 0;
	padding: 0 0 0 0;
}
#graph table tr {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
#graph table td {
	width: 230px;
	text-align: center;
}
#last_news h5 {
	color: #00ACBB;
	width: 230px;
	margin: 10px 0 10px 0;
	padding: 0 0 0 0;
	font-size: 13px;
	font-weight: bold;
}
#last_news p {
	margin: 5px 15px 5px 15px;
	padding: 0 0 5px 0;
	border-bottom: 1px dotted #DDD;
	line-height: 16px;
}
#last_news p span {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	display: block;
	color: #55A6AA;
	font-size: 11px;
	line-height: 14px;
}
#news-block {
	float: left;
	margin: 3em 0 0 0;
	padding-bottom: 120px;
}

#news {
	margin-top: 0;
}
#news div.date {
	color: #00ACBB;
	font-size: 12px;
	margin-bottom: 0.4em;
}
.onenews {
	margin-bottom: 2em;
}
#news td {
	padding-right: 5em;
	vertical-align: top;
	line-height: 1.2em;
}

.date-page {
	color: #999;
	font-size: 13px;
	line-height: 30px;
	margin-bottom: 0;
/*	padding-left: 34px;*/
	font-weight: bold;
/*	background: url(../images/news-ico.png) top left no-repeat;	*/
}

.date-page big{
	color: #00D2FF;
	font-size:16px;
}

.news-page div.text {
	color: #111;
}

.p-links {
	text-align: left;
	padding: 3px 3px;
}

input.submit {
	box-shadow: 1px 1px 5px #ccc;
	color: #fff;
	font-weight: bold;
	font-size: 1em;
	display: inline-block;
	position: relative;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	height: 28px;
	line-height: 28px;
	outline: 0 none;
	padding: 0 0.5em;
	text-align: center;
	margin-right: 0.5em;
	background: #000 url(../images/button-enter.png) bottom left repeat-x;
	border: 1px solid #000;
	text-shadow: 0 1px #000;
	/*margin-left: 0.1em;	*/
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
	text-transform: uppercase;
	cursor: pointer;
}
input.submit:hover, input.p-exit:hover {
	border: 1px solid #55A6AA;
	background: #55A6AA;
}
.bg-date {
	position: relative;
	padding: 6px 10px;
}

.bg-date a {
	color: #00ACBB;
	font-weight: bold;
	text-decoration: underline;
}

input, textarea {
	padding: 2px 3px;
	position: relative;
	border: 1px solid #999;
	border-radius: 3px;
}

input.date {
	padding: 1px 10px 1px 2px;
	width: 80px;
	position: relative;
	background: url("/images/calendar.png") no-repeat scroll right center #FBFCFE;
	cursor: pointer;
}

select {
	position: relative;
	padding: 1px;
	font: normal 14px Arial Narrow;
	border: 1px solid #999;
	border-radius: 3px;
}
select:focus, input:focus {
	-webkit-box-shadow:  0 0 2px 2px rgba(28, 189, 193, 0.5);
	box-shadow:  0 0 2px 2px rgba(28, 189, 193, 0.5);
}

.b {font-weight: bold;}

table.sortable {
	padding:0;
	margin:0 0 20px 0;
	border-top: 1px solid #A3B5B7;
	border-bottom: 1px solid #A3B5B7;
	background: #fff;
	display: table;
	border-radius: 0 3px 3px 0;
	z-index: 1;
	border-spacing: 0;
}
table.sortable tbody td.first, table.sortable tfoot td.first, table.sortable tfoot th.first, table.sortable thead th.first{border-left: 1px solid #A3B5B7; text-align: left; vertical-align: middle;}
table.sortable tbody td.last, table.sortable tfoot td.last, table.sortable tfoot th.last, table.sortable thead th.last{border-right: 1px solid #A3B5B7;}

table.sortable tbody tr td, table.sortable tfoot tr td, table.sortable thead th, table.sortable tfoot tr th{
	padding:5px;
	background: #FFFFFF;
	text-align: right;
}
table.sortable tbody tr:nth-of-type(2n) td {
	background: #F6F6F6;
}
table.sortable tbody tr:hover td{
	background: #E8FFFF;
}

table.sortable tr.itogo td, table.sortable tfoot tr td {
	background: #CEE0EF;
	color: #000;
	font-weight: bold;
}
table.sortable thead th, table.sortable tfoot tr th {
	background: #EAF1F2;
	color: #4A4C4C;
	font-size: 12px;
	font-weight: bold;
	z-index: 1;
}
table.sortable th.sortAsc, table.sortable th.sortDesc {
	background-color: #d9e6e8;
}
table.sortable th.sortAsc:before{
	content: "⇩";
}
table.sortable th.sortDesc:before{
	content: "⇧";
}
table.sortable tbody tr.closed td {color: #800;}
table.sortable tbody tr.activ td {color: #050;}
table.sortable tbody tr td.lnk, table.sortable tbody tr td.dat {cursor: pointer;text-decoration: underline;}

#by_domain table.sortable tbody tr td.first{width: 50px !important;}
#by_domain table.sortable tbody tr td.post{font-size:16px; font-weight:bold; text-align:center}
#by_domain table.sortable thead tr td{padding: 5px 1px !important;width: 10px;text-align: center !important;}
#by_domain table.sortable tbody tr td.first div{overflow: hidden;position: relative;white-space: nowrap;}

label input[type=chekbox] {
	margin-left: 10px;
}

.submit_form td {
	padding: 5px 5px 5px 0;
}
.submit_form input[type=text] {
	width: 250px
}
.submit_form select {
	width: 407px
}
.submit_form textarea {
	width: 400px; height: 150px
}

.submit_form .checkbox {
	width: 20px;
}
.error {
	font-weight: bold; color: #f00
}

#opr label {margin: 5px;}

.birzh a {
	border: 1px solid #00ACBB;
	position: relative;
	font-weight: bold;
	padding: 2px 6px;
}

.subid {
	box-shadow: 2px 2px 10px #000000;
	margin-bottom: 50px;
	padding: 10px;
	background: #EFFEFF;
	border: 1px solid #A8CDCF;
	display:table;
	border-radius: 6px;
}

/* Message Boxes */
.msgBox{
	font-family:Arial, Helvetica, sans-serif;
	opacity: 0;
	position:absolute;
	top:-1000px;
	left:0;
	max-width: 250px;
	min-width: 150px;
	color:#aaa;
	background: rgb(0, 0, 0); /* compatibility fallback */
	background: rgba(0, 0, 0, 0.8);
	padding: 10px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-box-shadow: 2px 2px 6px #666;
	-webkit-box-shadow: 2px 2px 5px #bbb;
	z-index:-1;
	border-radius: 15px;
	box-shadow: 2px 2px 6px #666;
	max-height: 450px;
}
.msgBoxImage{
	width: 40px;
	height: 40px;
}
.msgBoxIcon{
	float:left;
	width: 40px;
	height: 40px;
	padding-right: 7px;
}
.msgBoxTitle{
	color: #FFFFFF;
}
.msgBoxContent{
	float:left;
	max-width: 99%;
	font-size:12px;
}
.msgBoxMessage{float:left;}
div.msgBoxMessage > div{max-height: 400px; overflow-y: auto;}
.msgBoxLink{color:#6699CC; float: right; margin: 0 12px;}
.msgBoxLink:hover{color:#FF9900;}
.msgEditable{
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	width:250px;
	background: rgb(0, 0, 0); /* compatibility fallback */
	background: rgba(255, 255, 255, 0.1);
	border:#000;
	color:#FFF;
}

/* FloatingTips */
.floating-tip {
	background-color: black;
	padding: 5px 15px;
	color: #dddddd;
	font-weight: bold;
	font-size: 11px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

/*------ page links -------- */
#pagin {
	CLEAR: both;
	WIDTH: 760px;
	margin-top: 10px;
	/*height: 18px;*/
}
#pagin a {
  	border: solid 1px #00929F;
	color: #00929F;
	cursor: pointer;
	min-width: 20px;
	margin: 5px 3px;
	display: inline-block;
	text-align: center;
	font-family: sans-serif;
	font-size: 12px;
	padding: 5px;
}
#pagin a:hover {
	padding: 4px;
	border-width: 2px;
	text-decoration: underline;
}

#pagin a.sel_page {
	font-weight: bold;
	color: #000;
	border-color: #000;
	cursor: default;
}
#pagin a.sel_page:hover {
	padding: 5px;
	border-width: 1px;
	text-decoration: none;
}

/* ссылка банеры */
a.banner {
	float: right;
	margin: 0 30px 0 0;
	padding: 0 0 0 22px;
	display: block;
	height: 22px;
	line-height: 22px;
	background: url(../images/icon-zip.png) 0 2px no-repeat;
}
a.banner:hover {color: #000;}

/* кнопки-иконки*/
div.ico_block, div.ico_cnc {
	width: 16px;
	height: 16px;
	background-image: url(/images/icons-s.gif);
	cursor: pointer;
	display: inline-block;
}

div.ico_block {
	background-position: 0 -1552px;
}

div.ico_cnc {
	background-position: 0 -1392px;
	margin-left: 6px;
}
div.ico_edit, div.ico_add, div.ico_save, div.ico_del {
	background: none;
	width: 16px;
	height: 16px;
	font-size:30px;
	font-weight:bold;
	color:#6DC8CE;
	cursor: pointer;
	display: inline-block;
}
div.ico_add {content: '+';}
div.ico_del {content: '×';}
div.ico_edit {content: '✍'; font-size: 26px; margin: 3px 0 0 0;}
div.ico_save {content: '☑'; font-size: 26px; margin: 0 0 0 3px;}
/* доп. меню */
#main ul.atrade {
	font-weight: bold;
	padding: 0;
	margin: 0 200px 0 0;
	position: relative;
	text-decoration: none;
	border-radius: 2px;
	width: 100%;
	float: left;
	list-style: none;
}

#main ul.atrade li {
	float: left;
	margin: 10px 5px 0 0;
	padding: 0;
	color: #FFF;
	border-radius: 3px;
}

#main ul.atrade li a, h4.plus {
	color: #fff;
	border: 1px solid #55A6AA;
	border-radius: 3px;
	font-size: 13px;
	display: inline-block;
	padding: 3px 6px;
	background: #6DC8CE;
	text-shadow: 1px 1px 0 #558487;
}
#main ul.atrade li a:hover {
	background: #55A6AA;
}
#main h4.plus {
	margin: 10px 0 0 0;
}
#main ul.atrade li span {
	float: left;
	padding: 0;
	position: absolute;
	display: none;
	margin: 0;
	width: 130px;
	z-index: 10;
	border-radius: 3px;
}
#main ul.atrade li:hover span { display: block; }
#main ul.atrade li span a { display: block; background: none repeat scroll 0 0 #425659;}
#main ul.atrade li span a:hover, #main ul.atrade li:hover {text-decoration: underline}
#main ul.atrade li a.active, #main ul.atrade li span a.active, h4.plus {background-color: #BF1717;}
#main div.in-menu ul.atrade li a[href='p-wapms-login.php'] {width: 140px; background-position: 100% 50% !important}
#main div.in-menu p {float: left;clear:both;font-variant: small-caps;font-style: italic;margin: 5px 0 0 200px;font-size: 11px;}
/* Страница ссылок */
.group td {
text-align: right;
color: #00DAED;
font-weight: bold;
}

.group2 td {
	text-align: left;
	color: #00DAED;
	font-weight: bold;
	width: 100px;
	padding-top: 6px;
	cursor: pointer;
}

td.f1 {
	font-size: 18px;
	text-align: left;
	vertical-align: bottom;
	font-weight: normal;
	width: 500px;
}

td.f2 {
	font-size: 18px;
	text-align: left;
	vertical-align: middle;
	font-weight: normal;
	width: 600px;
	color: #000;
}

td.f1 span, td.f2 span{
	font-size: 11px;
	color: #888;
}

.group td img {
	border: 1px solid #ddd;
}

.group2 td img {
	border: 1px solid #ccc;
}

#groups_box {width:1000px;background-color:white;}

div.subgroup{
	overflow: hidden;
	width: 100%;
	height:0;
}
div.subgroup table.sortable tr td {border-bottom: none;}
div.subgroup table.sortable tr.double td {border-bottom: double #CCC;}
div.subgroup s {text-decoration: none;}
div.subgroup table.sortable tr td.work_link i {font-style: normal;}
div.subgroup table.sortable tbody tr td {background-color: #FFF;}
div.subgroup table.sortable tbody tr td.first {width:400px;}
div.subgroup table.sortable thead tr th {
	font-weight: normal;
	background-color: #E3EFEC;
	text-align:center;
	color: #000;
}
div.subgroup table.sortable tbody tr td.work_link{
	text-align: left;
	width: 300px;
}

#main a.refer2 {
	color: #fff;
	padding: 0 6px;
	background: #00ACBB;
	position: relative;
	top: 5px;
	height: 20px;
	font-size: 11px;
	text-decoration:none;
	font-weight: bold;
	line-height: 22px;
	border-right: 1px solid #fff;
	border-top: 1px solid #fff;
	display: inline-block;
}

#main a.refer2:hover, #main a.refer2_a {
	background: #000;
	color: #fff;
}

#main .ahref {
	margin:0 0 6px 0;
 	font-size: 0;
}

/* картинки графиков*/
#graph {
	font-weight: bold;
	overflow: hidden;
	text-align: center;
	opacity: 0;
}
#graph table {
	position: relative;
	left: -20px;
	width: 480px;
	border: none;
}
#graph table td {
	border: none;
	width: 240px;
	padding: 0;
	cursor:default;
}
#graph table tr td img {height:130px; width:180px; border:none; outline:none; margin:1px 15px;}
/* последние новости */
#last_news {
	display: none;
	height: 700px;
	width: 240px;
	margin: 10px 0 0 13px;
}
/* оверлей */
#overlay {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	background:#EEE;
	height: 1200px;
	visibility: hidden;
	z-index: 1000;
	opacity: 0;
}
/* блоки заголовка страниц*/
#new-header {
	background: url(../images/header-left.jpg) no-repeat;
	height: 73px;
}
#new-header-left {
    overflow: hidden;
	width: 800px;
	height: 73px;
	float: left;
}
#new-header-right {
    overflow: hidden;
	text-align: right;
	background: #000 url(../images/header-right.jpg) top right no-repeat;
	float: right;
	max-width: 450px;
	height: 73px;
}
#ms-logo {margin: 24px 0 0 24px;}
table.sortable tbody tr td.sign {color:#090}
table.sortable tbody tr td.sign.neg {color:#A00}

span.warn{color: red; font-weight:bold; font-size: 12px; margin-left: 15px;}
span.succ{color: green; font-weight:bold; font-size: 12px; margin-left: 15px;}
