/*
Prototype Style Sheet (empty commented stylesheet)

version:   1.0
author:    Alerio Llc
email:     info@alerio.ru
website:   http://www.alerio.ru/
-----------------------------------------------------------------------------*/

/* =General
-----------------------------------------------------------------------------*/


/* Remove padding and margin */

*{ 
  	 padding:0;  
 	 margin:0;  	 
} 


/* Put it back on certain elements */
h1, h2, h3, h4, h5, h6, pre, blockquote, form, fieldset, table, ul, li {
	text-align: left; 
	
  
}
h1, h2, h3, h4, h5, h6{color: #0E3570; }
p, li {
	
	color: #0C0F39 ;
	text-align: justify;
	padding-bottom: 10px; 
	
}

li {
	text-align: left;
}
/* Class for clearing floats */
.clear {
	clear:both;
}


/* Remove border around linked images */
img {
	border: 0;
	
}


/* =Typography
-----------------------------------------------------------------------------*/

 body {
  font: 12px/120% Verdana, Arial, sans-serif;
  background: #FFFFFF; 
  width: 100%;
  height: 100%;
  min-width: 1024px; /*TODO: После того, как будут убраны полосы структуры уменшить ширину на 2 пикселя*/ 
}
/* :TODO: Не забыть убрать правило перед запуском сайта. Используется для визуализации структуры блоков страницы */
div {
	/*border: 1px solid transparent;*/
	
}

hr {
	margin: 10px 0 5px 0 ; padding: 0;
	height: 1px;
	border: none;
	color: #597CAF;
	border-top: 1px solid #597CAF;
	text-align: left;
}

#wrapper {
	width: 997px;  /*TODO: После того, как будут убраны полосы структуры уменшить ширину на 2 пикселя*/
	margin: 0 auto;
	text-align: left;
	
}

.additional {
	width: 170px;
	background: url(./images/additional_middle.gif) repeat-y;
	margin-top: 10px;
}
.additional h2 {
	background: url(./images/additional_up.gif) no-repeat left top;
	padding-top: 20px;
}
.additional .last {
	background: url(./images/additional_down.gif) no-repeat left bottom;
	padding-bottom: 20px;
}

.additional h2, .additional p {
	padding-left: 20px;
	padding-right: 20px;
}

.additionalHeader {
	width: 170px;
	background: url(./images/additional_middle.gif) repeat-y;
}
/* =Headings
-----------------------------------------------------------------------------*/



/* =Links
-----------------------------------------------------------------------------*/




/* =Branding
-----------------------------------------------------------------------------*/
#branding {
	width: 100%; 
	height: 200px; 
	padding: 0 20px; 
	background: #80B0FF url(../images/clouds.jpg) top left repeat-x;
}



/* =Main Nav
-----------------------------------------------------------------------------*/
#mainNav {

	/*width: 280px;	*/
	padding-top: 15px;
	background: #F9F3C8;
	vertical-align: top;	
}

#mainNav ul {
	margin: 0;
	padding: 10px 20px;	
	background: #F9F3C8 url(../images/line3.png) top center no-repeat;
	list-style-type: none;
}

#mainNavBottom {
	background:   url(../images/line4.png) top center no-repeat;
	display: block;
	height: 16px;
	
}

#mainNav ul a {
	display: block;
	width: 180px;
	color: #5F5D56;
	text-decoration: none;
	padding-left: 20px;
	font-size: 13px;
	background: url(../images/artcleBullet.gif) no-repeat;
}

#mainNav ul a.active {
	color: #BAB695;
}


#mainNav ul li
{
	padding: 10px 0;
	border-bottom: 1px solid #BAB695;

	
}

#mainNav ul li.finish {
	border-bottom: none;
	padding-bottom: 0;
}

#banners {
	margin: 0 20px;
}

#banners h4{
	color: #5F5D56;
}



/* =Sub Nav
-----------------------------------------------------------------------------*/




/* =Main Content
-----------------------------------------------------------------------------*/
#content {
	padding: 0 20px;	
	
}

#mainContent {	
	
	background: #E9F3FF;
	padding: 10px 20px;	
	width: 100%;
	height: 100%;
}

#mainContent h2, #mainContent h3, #mainContent h4, #mainContent p {
	padding: 5px 0;

}
#mainContent p {
	padding-top: 10px;
	font-size: 14px;
	line-height: 140%;
}

 #mainContent ul,  #mainContent ol{
	padding-top: 10px;
	padding-left: 40px;
	font-size: 14px;

}



#mainContent a {
	color: #4F6F9C;
}


#mainContent a:hover {
	color: #0E3570;;
}

#mainContent table {
	margin-top: 10px;
}

#mainContent table th{
	padding: 5px;
	color: #FFFFFF;
	border: #0E3570 1px solid;
	text-align: center;
	background: #597CAF;

}


#mainContent table td{
	color: #0E3570;
	padding: 5px;
	border: #0E3570 1px solid;
	font: 15px;
	background: #FFFFFF;
}


/* =Secondary Content
-----------------------------------------------------------------------------*/
#secondaryContent {
	width: 220px;
	background: #E6DCBE;
	vertical-align: top;	
}
#secondaryContent h1, #secondaryContent h2, #secondaryContent p {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-top: 10px;
}

#secondaryContent h1, #secondaryContent h2{
	text-align: center;
}
#right {
	
}


#separator
{
	padding: 5px;
}


/* =Footer
-----------------------------------------------------------------------------*/
#footer {
	
	color: #5879AF;
	font-size: 14px;
	font-weight: bold;
	width:100%;
	height:36px;
	padding:5px; 
	vertical-align: top;
}
#footer p {
	
	color: #5879AF;
	font-weight: bold;
	padding:  0 10px; 
	vertical-align: top;
}

#footer a {
color: #4F6F9C;
text-decoration: none;
}


#footer a:hover {
	color: #0E3570;
	text-decoration: underline;
}
/* =Forms
-----------------------------------------------------------------------------*/

/* Removes fieldset borders. even on Opea 7 */

fieldset {
  border: 1px solid transparent;
}

form {margin: 0; padding: 0}
input.text, textarea, button, input.button {
	padding: 2px 3px; margin: 0;
	color: #0E3570;
	border: 1px solid #597CAF;
	cursor: text;
}
input.button, button {
	color: #0E3570;
	cursor: pointer;
	color: #FFFFFF;
	border: #597CAF 1px solid;
	background: #597CAF;
}
input.CheckBox {
	margin-left: -2px;
	vertical-align: middle;
}


label {
	color: #666;
	font-size: 13px;
	line-height: 130%;
}
label.block {
	margin: 10px 0 2px 0;
	display: block;
}

input.text, select {
	width: 98.5%; padding: 0 3px;
	margin-bottom: 5px;
	font-size: 13px;
}
select {width:100%}
textarea {
	width: 99%;
	margin-bottom: 0px;
	overflow: auto;
	font-size: 13px !important;
}
*.invalid {
	background: #FFF5F5 !important;
	border: 1px solid #DD4A4A !important;
}
span.validationMessage {
	color: #DD4A4A;
	font-size: 11px;
	line-height: 100%;
}



/* =Tables
-----------------------------------------------------------------------------*/

table {
 	border-spacing: 0;
	border-collapse: collapse;
	border: none;
	height: auto;
	
}

td {
 	text-align: left;
	font-weight: normal;
	vertical-align: top;
	
}
#mainContent table.fieldset {
	width: 100%;
	
}

#mainContent table.fieldset td {
	background: #E9F3FF;
	padding-top: 0px;
	border: 1px solid transparent;
}
/* =Misc 1
-----------------------------------------------------------------------------*/



/* =Misc 2
-----------------------------------------------------------------------------*/

div.picR {
	margin: 10px 0 10px 10px;
	float: right;
	
}
div.picL {
	margin: 10px 10px 10px 0;
	float: left;
	
}

div.picJ {
	margin: 10px 10px 10px 0;
	width: 100%;
	text-align: center;
}

	
	div.picR img, div.picL img, div.picJ img {
		border: 1px solid #0E3570;
		max-width:350px;
		width: expression((this.offsetWidth > 350) ? "350px" : "auto");
		
	}
	div.picR p,
	div.picL p,
	div.picJ p {
		font-size: 11px;
		color: #0E3570;
		text-align: center;
		width:350px;
		/*width: expression((this.offsetWidth > 350) ? "350px" : "auto");*/
	}

	

	
div.pager {
	padding: 5px 0; padding-top:20px;
	text-align: right;
}
	div.pager a:link,
	div.pager a:visited
	 {
		text-decoration: none;
		font-size: small;
	}
	div.pager span.currentPage {
		padding: 0 3px;
		font-weight: bold;
		background: white;
		border: 1px solid #D9D9D9;
		color: #555;
	}
	div.pager div.pageNumbers {
		font-size: 14px; margin-bottom: 3px;
		font-weight: bold;
		color: #888;
	}
	div.pager span {
		font-size: small;
	}
