/*Debug*/
.axontemplate {background: #FFFFef;}
.axonpage {background: #efefFF; border-top: #000080 1px solid;}
.axonpagechilds {background: #e0e0FF; border-top: #000080 1px solid;}
.axonpageparams {background: #FFe0e0; border-top: #FF0000 1px solid;}
.axonparam {background: #FFefef; border-top: #800000 1px solid;}
.axonbacklinked {background: #ffffc0; border-top: #404000 1px solid;}
.debugarray {background: #efFFef; border-top: #008000 1px solid;}
.debugfunction {background: #FFFFFF; border-top: #999999 1px solid;}
/* Тестовая таблица */
.testtable td { border: #000000 1px solid; }

html, body {
	background: #FFFFFF;
	height:100%;
	margin:0px; padding:0px
}


body {
	color: #000000;
	font-family: Arial, Tahoma, Verdana, sans;  
}


table, td, form, fieldset, img { border: 0px; padding: 0px; margin: 0px; }

table { border-collapse: collapse;}
td { font-size: 80%; vertical-align: top; }

body table {font-size: 100%;}
body table table { font-size: 125% }
body div {font-size: 80%;}
body div table { font-size: 125% }
body table div { font-size: 100% }
body div div { font-size: 100% }

div, table {
	margin:0px auto;
}
hr {
	height: 1px;
	color: #887d7d;
}


dt {
	margin: 3px;
	padding: 0px;
}
dl {
	margin-left: 30px;
	padding: 0px;
}


fieldset { background-color : transparent; }
label, .label { cursor: hand; cursor: pointer; border-bottom: #aaaaaa 1px dashed; }

ol, ul, li { margin: 0; padding: 0; text-indent : 0px;}
ul { list-style-position: outside; margin: 2px 0px 10px 0px; }
ol { list-style-position: outside; margin: 2px 0px 10px 0px; }
li { margin-bottom: 2px; margin-left: 20px; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: Arial Cyr, Arial, Helvetica, sans-serif;
	margin: 1em 0px 0.4em 0px;
	padding: 0px;
}
h1, .h1 { font-size: 30px; color: #000000; font-weight: normal; margin: 10px 0px 10px 0px; } /*font-size: 250%; */
h2, .h2 { font-size: 24px; color: #cc0000; font-weight: normal; margin: 16px 0px 9px 0px;  } /*font-size: 180%; */
h3, .h3 { font-size: 20px; color: #008000; font-weight: normal; margin: 17px 0px 11px 0px; } /*font-size: 160%; */
h4, .h4 { font-size: 16px; color: #000066; font-weight: bold;   margin: 20px 0px 11px 0px; } /*font-size: 140%; */
/*
h1, .h1 { font-size: 200%; color: #000000; font-weight: normal; }
h2, .h2 { font-size: 160%; color: #000000; font-weight: normal; }
h3, .h3 { font-size: 140%; color: #000000; font-weight: normal; }
h4, .h4 { font-size: 100%; color: #000000; font-weight: bold; }
*/
p {
	margin: 0em 0px 0.8em 0px;
	padding: 0px;
	color: #333333;
}

a, a:link { color: #0f399c; }
a:link, a:visited { text-decoration: underline; }
a:visited { color: #888888; }
a:active, a:hover { color: #CC0000; text-decoration: none; }

.ta_r { text-align: right; }
.ta_c { text-align: center; }
.ta_l { text-align: left; }
.ta_r div, .ta_r img { margin: 0 0 0 auto; text-align: left; }
.ta_c div, .ta_c img { margin: 0 auto; text-align: left; }

.va_t { vertical-align: top; }
.va_m { vertical-align: middle; }
.va_b { vertical-align: bottom; }

.fl_r { float: right; }
.fl_l { float: left; }
.fl_n {float: none}

.p_r {position: relative; top:0px; left: 0px;}
.p_a {position: absolute; top:0px; left: 0px;}

.clear { /* тройной презерватив для IE */
	clear: both;
	font-size: 0;
	overflow: hidden; 
	height: 1px;
}
.hidden {display: none;}
.visible {display: block;}
.clean {visibility: hidden;}
.shown {visibility: visible;}


/* Static footer */
#obertka { position: relative; min-height: 100%; z-index: 2;}
* html #obertka { 
	//height: 100%; 
}
#footer { position: relative; z-index: 7; }
#footer_space { z-index: 1; }

/* Static footer size */
#footer { margin-top: -154px; height: 154px;}
#footer_space {	height: 154px;}
#footer_design {height: 154px; }

