/* Layout *************	*****/


#footer {
  	padding-left: 25px;
  	padding-right: 25px;
	text-align: left;
	background: url(/static/ru/img/Podval_005.jpg) #314a99 center left repeat-x;
	color: #fff;
}

#main-content {
	padding: 40px 25px 15px 25px;
	margin: 0;
	clear: both;
	background: url(/static/ru/img/WhiteandLines-Fon.jpg) #fff top left no-repeat;
}

#header {
	margin: 0px;
	padding: 0px;
	height: 73px;
	background: url(/static/ru/img/Head_007_Fon.jpg) #314a99 center left repeat-x;
}

#header h1 a {
	background: transparent url(/static/ru/img/Logo_003_150x95.jpg) no-repeat scroll 0%;
	height: 90px;
	text-indent: -9999em;
	width: 150px;
	overflow: hidden;
	position: absolute;
	left: 25px;
	top: 0;
}

img { margin: 0; padding: 0; border: 0;}



#counters {
	float: right;
}


#login-box {
	position: absolute;
	top: 6px;
	right: 25px;
	padding: 0px;
	text-align: left;
	width: 200px;
}

#login-box form {
	padding: 0; margin: 0; border: 0;
}

#login-box table {
	border: 0;
	border-collapse: collapse;
}

.content-col {
	float:left;
	margin-right: 20px;
}

.text-col, .left-col {
	float:left;
	width: 48%;
/*	margin-right: 2%; this causes IE to show uneeded horizontal scroll bar */ 
	display: inline;
}

.right-col {
	float:right;
	width: 48%;
	margin-left: 2%;
	display: inline;
}

* html .right-col {
	margin-left: 1%;
}

/* Menu ********************/

#main-menu {
	position: absolute;
	left: 185px;
	top: 48px;
	height: 25px;
	float: left;
	padding: 0;
	margin: 0;
	color: #000;
}

#main-menu ul, #main-menu li {
	padding: 0;
	margin: 0;
	float: left;
	list-style: none;
}

#main-menu a, #main-menu a:visited {
	height: 100%;
	color: #000;
	font-weight: normal;
	text-decoration: underline;
	margin-right: 4px;
	text-align: center;
	background: url(/static/ru/img/buttnGr_001_1px.jpg) #e5e5e5 center left repeat-x;
	border-right: 1px solid #21346e;
	padding: 0px 10px;
	line-height: 25px;
	float: left;
	height: 25px;
}

#main-menu a.current, #main-menu a.current:hover, #main-menu a.current:visited  {
	background: #fff;
	color: #314a99;
	font-weight: bold;
	text-decoration: none;
}

#main-menu a:hover {
	/*background-color: #ffc;*/
	color: #00c;
}

#menu {
	position: absolute;
	top: 80px;
	left: 184px;
	font-size: 80%;
}

#menu ul, #menu li {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu a, #menu a:visited {
	float: left;
	text-align: center;
	margin-right: 4px;
	line-height: 17px;
	padding: 0px 10px;
	background: url(/static/ru/img/buttnGr_002_1px.jpg) #e5e5e5 center left repeat-x;
	color: #555;
	border: 1px solid #666;
/*
	border-bottom: 1px solid #666;

*/	height: 17px;
}

#menu a:hover {
	color: #000;
}

#menu a.current, #menu a.current:hover, #menu a.current:visited {
	color: #324a99;
	background: #f1cb00;
	text-decoration: none;
	border-right: 1px solid #c1a200;
	border-bottom: 1px solid #c1a200;
}

.icon-link {
	height: 16px;
	text-indent: -9999em;
	width: 16px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center center;
	float: left;
}

* html .home-link {
	margin-right: 5px;
}

.home-link {
	background-image: url(/static/ru/img/Domik_001gif.gif);
	height: 25px;
	cursor: pointer;
}

h1 {margin:0;padding:0;
}

h2 {
	margin:0 0 25px 0px;
	padding: 0;
	color: #496db4;
	font-size: 200%;
	padding-bottom: 2px;
	font-weight: bold;
	position: relative;
}

h3 {
	color: #496db4;
	/*border-bottom: 1px dotted #a60000;*/
	font-size: 150%;
	margin: 10px 0;
	font-weight: normal;
}

h4 {
	font-size: 130%;
	font-weight: normal;
	color: #496db4;
	margin: 5px 0;
}

h5 {
	margin: 2em 0 0.5em 0;
}

#tg_flash, #content { clear:both; }

/* Fonts *******************/

body {
	font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 80%;
}

#login-box {
	font-size: 10px;
}

#login-box input {
	font-size: 9px;
	border: 1px solid #243a7a;
	background-color: #fff;
}

#login-box input[type="submit"] {
	background-color: #fff;
	border: 1px solid #243a7a;
	width: 60px;
}

#login-box a, #login-box a:visited {
	color: #fff;
}

#footer a, #footer a:visited {
	color: #fff;
}


/* Colors ******************/



#login-box {
	color: #fff;
}


a, a:visited {
	color:#314a99;
}

.refname {
	color: #496db4;
	font-weight: bold;
}

/* Misc ********************/

.flash {
	color: red;
	margin: 20px;
}

.add {
	background: url(/static/ru/img/icons/create.png) transparent top left no-repeat;
	padding-left: 25px;
	height: 16px;
	line-height: 16px;
}

* html .add {
	background: url(/static/ru/img/icons_gif/create.gif) transparent top left no-repeat;
}

.money {
	background: url(/static/ru/img/icons/money.png) transparent top left no-repeat;
	padding-left: 25px;
	height: 16px;
	line-height: 16px;
}

* html .money {
	background: url(/static/ru/img/icons_gif/money.gif) transparent top left no-repeat;
}


.warning {
	background: url(/static/ru/img/icons/problem.png) transparent top left no-repeat;
	/*padding: 5px 5px 5px 24px;*/
	min-height: 16px;
	line-height: 16px;
	padding-left: 25px;
}

* html .warning {
	background: url(/static/ru/img/icons_gif/problem.gif) transparent top left no-repeat;
}


.quality-return { color: red; }
.quality-low { color: #f90; }
.quality-normal { color: blue; }
.quality-high { color: green; }

pre {
	font-size: 1.0em;
	margin: 0;
}

#login-box p {
	margin: 4px 0;
}

p {
	margin: 0.5em 0 0.5em 0;
}
#login-box .welcome {
	font-weight: bold;
}

/* Form ********************/

form {
	margin: 0; padding: 0;
}

.tableform {
}


.tableform table {
/*	background: #ededf7; */
	color: #000;
	border-collapse: collapse;
/*  	border: solid 10px #ededf7; */
}

.tableform tbody {
	/*padding: 30px;*/
}

.tableform th, .tableform td {
	text-align: left;
	vertical-align: top;
}

.tableform .fielderror {
	color: red;
	font-size: 10px;
	display: block;
}

.tableform .fieldhelp {
	font-size: 75%;
	font-weight: normal;
}

/*.tableform input, .tableform textarea, .tableform select {
	border: 1px solid #eee;
}*/


.tableform input[type="submit"], .tableform button, .cancel-button,
 .confirmform input[type="submit"] {
	border: 1px solid #5d6089;
	background: #fff;
	font-weight: bold;
	margin-right: 10px;
	font-size: 90%;
}

.tableform ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.radiobuttonlist, .checkboxlist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.confirmform {
	text-align: center;
}

.confirmform .message {
	padding: 20px;
	min-width: 300px;
}

.onelineform ul, .onelineform li {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline;
}

.onelineform {
	margin-bottom: 10px;
}

.onelineform .fielderror {
	color: red;
}

.onelineform div {
	display: inline;	
}

/* Grid ********************/

.grid {
	background-color:#e3e3e3;
	border-collapse: collapse;
	border: 0px;
}

.grid td, .grid th {
	padding: 4px 7px;
	vertical-align: middle;
	font-size: 85%;
	line-height: 16px;
}

.grid .bottom-border {
	border-bottom: 1px solid #fff;
}

.grid td img {
	vertical-align: middle;
}

.grid thead {
	text-align:center;
	background:#3d5ba3;
	color:#fff;
}
.grid tbody { }

.grid .odd{background-color:#edeff7}
.grid .even{background-color:#fff}
.grid .actions {text-align:center;}

.grid th a {color:#fff; text-decoration:underline;}

.grid caption {
	text-align: left;
	font-size: 130%;
	font-weight: bold;
	padding-bottom: 0.3em;
	color: #a60000;
}

/* Object data */
.objdata {
	background-color:#e3e3e3;
	border-collapse: collapse;
	border: 0px;
}

.objdata td, .objdata th {
	padding: 3px;
	border: 1px solid #bbb;
	vertical-align: middle;
}

.objdata th {
	background-color: #f0f0f0;
	text-align: left;
}

.objdata td {
	background-color: #fff;
}

/* Payment systems table */

#payment-systems-tbl {
	border-collapse: collapse;
}

#payment-systems-tbl td {
	padding: 20px;
	vertical-align: top;
	text-align: center;
	width: 200px;
}

#payment-systems-tbl ul {
    text-align: left;
}

/* Popup dialog */
.popup-dialog {
	background-color: #ededf7;
	padding: 0;
	display: none;
	z-index: 102;
	position: fixed;
	text-align: center;
}

* html .popup-dialog {
     position: absolute;
}

.popup-dialog h4 {
	text-align: center;
	background-color: #4567ae;
	color: #fff;
	font-weight: bold;
	margin: 0 0 10px 0;
	padding: 3px;
	margin: 0;
}

.popup-dialog form {
	margin: 10px;
}

.popup-dialog table {
	border: 0;
	background-color: #ededf7;
}

.popup-info {
	text-align: left;
	padding: 20px;
}

.popup-info input[readonly] {
	background-color: #fff;
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

#popup-overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	background-color:#000;
	filter:alpha(opacity=20);
	-moz-opacity: 0.2;
	opacity: 0.2;
	height:100%;
	width:100%;
}

* html #popup-overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

.popup-stats {
}

/* Status message */

#status-message {
	position: fixed;
	top: 100px;
	right: 2px;
	z-index: 3000;
	/*opacity: 0.8;*/
	/*overflow: hidden;*/
	width: 215px;
}

#loading {
	position: absolute;
	top: 2px;
	right: 2px;
	background-image: url(/static/images/loading.gif);
	width: 16px;
	height: 16px;
	display: none;
}

* html #status-message {
	position: absolute;
}

#status-message div {
	margin: 0px;
	padding: 4px 4px 4px 40px;
	font-weight: bold;
	font-size: 12px;
	width: 171px;
	height: 58px;
	color: #fff;
}

* html #status-message div {
	height: 50px;
}

#status-message div.success {
	border: 1px solid #00770f;
	background: url("/static/ru/img/status_success_bg.jpg") #009b00 center left no-repeat;
}

#status-message div.error {
	border: 1px solid #ad173a;
	background: url("/static/ru/img/status_error_bg.jpg") #9b0000 center left no-repeat;
}

#status-message div.loading {
	background-image: url(/static/images/loading.gif);
	background-color: #ffe;
	border: 1px solid #ccc;
}



