/* CSS Document */

/* Обнуляем все */
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	background: transparent;
}
/* Не забываем описать стили для :focus! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* Для таблиц все еще надо прописывать 'cellspacing="0"' в коде */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}



/* Основные html элементы */
body{
	font-family:Arial, Helvetica, sans-serif;
	background-image:url(../images/back2.jpg);
	font-size:12px;
	line-height: normal;
}
a{
	text-decoration: none;
}
p{
	margin-bottom:0.75em;
}

h1{
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.6em 0 0.9em 0;
}
h2{
    font-size: 1.4em;
    font-weight: bold;
    margin: 0.5em 0 0.8em 0;
}
h3{
    font-size: 1.3em;
    font-weight: bold;
    margin: 0.4em 0 0.7em 0;
}
h4{
    font-size: 1.2em;
    font-weight: bold;
    margin: 0.3em 0 0.6em 0;
}
h5{
    font-size: 1.1em;
    font-weight: bold;
    margin: 0.2em 0 0.5em 0;
}
h6{
    font-size: 1em;
    font-weight: bold;
    margin: 0.1em 0 0.4em 0;
}
strong{
	font-weight:bold;
}
fieldset{
    /*background-color:#F0F0F0;*/
	border: 1px solid #CCCCCC;
    padding:1em;
    text-align:left;
    position: relative;
}
legend{
    text-transform: uppercase;
    font-weight: bold;
    padding:0 3px;
}
label{
    color: #999999;
    font-size:0.9em;
}
input, textarea, select{
	font-size:1em;
	margin:0 0 2px 0;
}
input[type=text], input[type=password], textarea, select{
    border-color:#7F9DB9;
    border-style:solid;
    border-width:1px;
}
input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus{
    /*border-color:#58DD00;*/
    background-color:#EAFFE8;
}

table{
	margin: 0 auto;	
}
/*tr:hover{
	background-color:#F0F0F0;
}*/
th {
    font-weight: bold;
    padding:5px;
    background-image:url(../images/back_th.jpg)
}
caption, td {
	font-weight: normal;
    padding:1px;
}
ol, ul {
    list-style: disc;
    list-style-position: outside;
    margin-left:20px;
}



/* Layout элементы */
#page{
	text-align:center;
    width:100%;
    padding:20px 0;
}
#content_tl{
	width:990px;
    margin: 0 auto;
    background-image: url(../images/content_tl.png);
    background-repeat: no-repeat;
    background-position: 0 10px;
}
#content_tr{
	width:100%;
    background-image: url(../images/content_tr.png);
    background-repeat: no-repeat;
    background-position: right 10px;
}
#content_br{
	width:100%;
    background-image: url(../images/content_br.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}
#content_bl{
	width:100%;
    background-image: url(../images/content_bl.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}
#content {
	margin:0 auto;
	width:960px;
	background-color:#F0F0F0;
}
#header {
	width:100%;
	height:120px;
	background-image:url(../images/header.jpg);
	background-repeat:no-repeat;
}
#main {
	border: 1px solid #CCCCCC;
	text-align:left;
	overflow: hidden;
}
#footer {
	background-color:#CCCCCC;
	font-size: 1em;
	height: 30px;
	background-image:url(../images/footer.jpg);
	background-repeat:no-repeat;
}

.content_left{
	/*border-right: 1px solid gray;*/
    width:170px;
    float:left;
}
.content3c_main{
    background-color:white;
    padding:10px;
    text-align:justify;
    float:left;
    width:598px;
    min-height: 450px;
    height:auto !important;
    height:450px;
    vertical-align: top;
}
.content2c_main{
    background-color:white;
    padding:15px;
    text-align:justify;
    float:left;
    width:758px;
    vertical-align: top;
}
.content_right{
	/*border-left: 1px solid gray;*/
    width:170px;
    float:left;
}
div.clr{
	clear:both;
}



/* Навигация */
table.navigation{
	margin: 0;
}
table.navigation td{
	border-style:solid;
    border-color:#CCCCCC;
    border-width:1px;
    width:15px;
    text-align:center;
}


/* Библиотека статей*/
table.article td{
	padding:5px;
}
table.article th.title, table.article td.title{
    width: 100%;
}
table.article th.view, table.article td.view{
	text-align:center;
}
.readmore{
	text-align:right;
}


/* Формы ввода данных */
div.input{
}
div.input div.horizontal, div.input div.vertical{
	clear:both;
    padding:2px 0;
}

div.input div.horizontal label, div.input div.horizontal div{
    width: 300px;
    padding-left:20px;
    vertical-align:top;
    float:left;
}
div.input div.vertical label, div.input div.vertical div{
	width: 80%;
    padding-left:20px;
    vertical-align:top;
    clear:both;
    display:block;
}

div.input div.horizontal input, div.input div.horizontal textarea{
    float:left;
}
div.input div.vertical input, div.input div.vertical textarea{
    clear:both;
}

div.input div.required label{
    background-image: url(../../../images/icons/icon_tick.png);
    background-repeat: no-repeat;
    background-position:firght top;
}


/*Стили для модулей*/
.module1{
	clear:both;
    padding:5px;
}
p.title_module1 {
	font-size:1.2em;
	background-color: #A72E37;
	color: #ffffff;
	font-weight:bold;
	padding:3px;
    text-align:center;
	margin-bottom:0.5em;
}
p.title_module2 {
	font-size:1.2em;
	background-color: #FFCC00;
	color: #ffffff;
	font-weight:bold;
	padding:3px;
    text-align:center;
	margin-bottom:0.5em;
}


/*Стили для контента*/
.title_content1{
    padding-left:5px;
    border-bottom:dotted 1px #AAAAAA;
    background-color:#F0F0F0;
}
.title_content2{
    border:dotted 1px #AAAAAA;
    background-color:#F0F0F0;
    text-align: center;
    color: #666666;
    margin: 5px 50px;
}


.small{
	font-size: 0.8em;
}
.readmore{
	text-align:right;
}
.warning{
	color:Red;
}
.ok{
	color:#58DD00;
}
.footer_text{
    font-weight:bold;
    line-height: 30px;
    vertical-align: middle;
}
.footer_text a{
    color: #FFFFFF;
}
#wait_calc{
    width: 0px;
    height: 0px;
    background-image: url(../../../images/ajax_loader.gif);
    background-image: none;
    position: absolute;
    top: 50%;
    left: 50%;
}