/* Global styles */

*{margin:0; padding:0;}
a img{border:none;}
ul{list-style-type:none;}
a,a:link,a:visited{color:#ef2b33;text-decoration:underline;}
a:hover{text-decoration:none;}
h1{font-size:16pt;padding-bottom:15pt;}
h2{font-size:12pt;padding-bottom:12pt;}
h3{font-size:10.5pt;padding-bottom:10pt;}
h1,h2,h3{color:#464646;}

/* Structure */
html{height:100%;}
body{height:100%;font-family:Trebuchet MS;color:#464646;text-align:center;font-size:10pt;background-color:#fff;}
#wrapper{background:transparent;margin:0 auto;
width:expression(
                (document.compatMode && document.compatMode == 'CSS1Compat')?
                (document.documentElement.clientWidth < 1000 ? "1000px" : ( document.documentElement.clientWidth > 1200 ? "1200px": this.width ) ) 
				: ( document.body.clientWidth < 1000 ? "1000px" :( document.body.clientWidth > 1200 ? "1200px" : this.width ) ));

min-width:1000px;max-width:1200px;text-align:left;}

#topmenu{height:77px;}
	#header_leftmenu{float:left;font-size:12pt;padding-left:17px;}
		#header_leftmenu li{float:left; padding:27px 14px 10px;}
		#header_leftmenu li.active{padding:0;background:url('/images/active_ll_bgr.png') no-repeat top left;}
		#header_leftmenu li.active a,#header_leftmenu li.active a:visited,#header_leftmenu li.active a:link{float:left;
			color:#fff;display:block;padding:27px 14px 10px;background:url('/images/active_ll_rgt.png') no-repeat top right;}
	#header_rightmenu{float:right;font-size:9pt;padding-right:20px;}
		#header_rightmenu li{float:left; padding:31px 14px 10px;}
		#header_rightmenu li.active{padding:0;background:url('/images/active_ll_bgr.png') no-repeat top left;}
		#header_rightmenu li.active a,#header_rightmenu li.active a:visited,#header_rightmenu li.active a:link{float:left;
			color:#fff;display:block;padding:31px 14px 10px;background:url('/images/active_ll_rgt.png') no-repeat top right;}

		
#header{overflow:hidden;height:165px;margin:0 10px;background:#ee1c24;}
	#header_left{float:left;height:165px;width:232px;position:relative;background:url('/images/header_left.jpg') no-repeat top left;}
		#header_logo{width:174px;height:39px;position:absolute;top:33px;left:21px;}
		#header_print{width:181px;height:43px;position:absolute;top:97px;left:22px;background:url('/images/header_print.png') no-repeat top left;}
	#header_middle{overflow:hidden;position:relative;height:165px;margin-right:199px;background:url('/images/header_middle.jpg') no-repeat top left;}
		#hm_text{position:absolute;top:40px;left:67px;}
			#header_middle a,#header_middle a:link,#header_middle a:visited{color:#fff;font-size:13.5pt;margin-bottom:9px;display:block;float:left;}
			#header_middle p{clear:left;color:#fff;font-size:10.5pt;margin-bottom:2px;}
	#header_right{width:199px;height:165px;float:right;background:url('/images/hr_vline.png') no-repeat top left;}
		#hr_in{width:199px;height:165px;background:url('/images/hr_right.png') no-repeat top right;}
			#autoform{padding:48px 0 0 20px;}
			#auto_login, #auto_password{margin-bottom:11px;width:160px;border:none; background-color:#fff;padding:5px 2px;}
			#auto_button{color:#ffffff;font-size:16px;float:right;margin-right:13px;font-weight:bold;background-color:transparent;padding:0;border:0;}

		
	#container {width: 100%;overflow:hidden;padding:35px 0;}
	#content {width: 100%;float: left;overflow:hidden;}
		#text {margin: 0 209px 0 242px;overflow:hidden;padding:0 36px 0 0;}
		#text_in {margin: 0 0 0 242px;overflow:hidden;padding:0 36px 0 0;}
			.d_block,.s_block{padding-bottom:35px;}
			.db_left{width:100%;float:left;margin-right:-52%;}
				.db_left_content{margin-right:52%;}
			.db_right_content{width:48%;float:right;}
			.db_right_content h2,.db_left_content h2,.s_block h2{width:70%;}
			.db_right_content img,.db_left_content img{display:block;margin-bottom:5px;}
			.header_span{background:url('/images/span_line.png') no-repeat top left;height:30px;width:70%;}
				.header_span span{display:block;background:#fff;float:left;padding-right:25px;}
			.s_block img{float:left;margin-right:14px;}
			.table_content{display:table;_height:0;zoom:1;}
			.obzor_in{width:70%;}
			.obzor_in li{float:left;padding:0 16px 0 0;font-size:13.5pt;line-height:20pt;}
			.obzor_in li.active a,.obzor_in li.active a:link,.obzor_in li.active a:visited{font-size:16.5pt;color:#464646;text-decoration:none;line-height:17pt;}
			* html ul li a {height:1em;} /* убрать двойной отступ в списках ссылок */
		
	#left {float: left;width: 242px;margin-left: -100%;overflow:hidden;font-size:9pt;background:url('/images/l_bottom.png') no-repeat bottom left;padding-bottom:50px;}
		.left_block{padding:0 24px 5px 16px;background:url('/images/lb_hline.png') no-repeat bottom left;}
			.left_block a{clear:both;font-size:10.5pt;padding:0 0 5px 16px;display:block;background:url('/images/l_hline.png') no-repeat top left;}
			.left_block a.header{font-size:14pt;padding:0 0 15px 8px;background:none;}
			.left_block p{clear:both;padding:0 0 30px 16px;line-height:11pt;}
			.left_block span{clear:both;float:right;font-size:8pt;color:#7d7d7d;display:inline;}
			.left_block img{clear:both;padding:0 0 6px 16px;display:inline;}
			.left_block li.active a,.left_block li.active a:link,.left_block li.active a:visited{color:#464646;}
	
	#right {float: left;width: 209px;margin-left: -209px;overflow:hidden;background:url('/images/r_bottom.png') no-repeat bottom left;padding-bottom:65px;}
		.right_block{padding:0 27px 30px 0;clear:both;background:url('/images/rb_hline.png') no-repeat bottom left;}
		.right_block img{margin-bottom:7px;}
		.right_block a.header{font-size:14pt;padding:0 0 6px 0;display:block;}
		.right_block ul{padding-bottom:20px;}
		.right_block li{float:left;padding:0 8px 0 0;}
		.year{clear:both;font-size:14pt;height:20px;display:block;}

	.clear,.clearpad{clear:both;}
	.clearpad{padding-bottom:30px;}
	#footer_red{height:58px;margin:0 10px;background:#ee1c24 url('/images/fr_left.png') no-repeat top left;}
		#fr_right{height:58px;background:url('/images/fr_right.png') no-repeat top right;position:relative;}
			#footer_leftmenu{position:absolute;top:19px;left:20px;font-size:10.5pt;}
				#footer_leftmenu li{float:left; padding:0 10px;}
				#footer_leftmenu a,#footer_leftmenu a:link,#footer_leftmenu a:visited{color:#fff;}
			#footer_banners{position:absolute;top:14px;right:20px;}

	#footer{height:60px;margin: 0 20px;}
		#copyright{float:right;margin-top:20px;font-size:9pt;}
		
/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
/*a:link,a:active,a:visited { color : #1C4EA4; }
a:hover		{ text-decoration: underline; color : #DD6900; }*/
hr	{ height: 0px; border: solid #F5E9E9 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #FFFFFF; border: 1px #cc9999 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #FFFFFF; border: 2px #BC8F8F solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #fbf5f5; }
td.row2	{ background-color: #f7eeee; }
td.row3	{ background-color: #F5E9E9; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #FFFFFF;
		background-image: url(images/cellpic2.gif);
		background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #FFFFFF; font-size: 11px; font-weight : bold;
	background-color: #EA4B33; height: 25px;
	background-image: url(images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(images/cellpic1.gif);
			background-color:#F5E9E9; border: #FFFFFF; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	background-color: #F5E9E9; border: #FFFFFF; border-style: solid;
}

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none; line-height : 120%; color : #000000;
}

/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { /*color: #1C4EA4; */text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #DD6900; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #000000 }
a.mainmenu		{ text-decoration: none; /*color : #1C4EA4;  */}
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; /*color : #1C4EA4*/}
a.cattitle		{ text-decoration: none; /*color : #1C4EA4; */}
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; /*color : #1C4EA4; */}
a.forumlink 	{ text-decoration: none; /*color : #1C4EA4; */}
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			{ text-decoration: none; /*color : #1C4EA4; */}
a.nav:hover		{ text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; /*color : #1C4EA4; */}
a.topictitle:visited { text-decoration: none; /*color : #1C4EA4; */}
a.topictitle:hover	{ text-decoration: underline; color : #DD6900; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }

/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link	{ text-decoration: none; /*color : #1C4EA4 */}
a.postlink:visited { text-decoration: none; /*color : #1C4EA4; */}
a.postlink:hover { text-decoration: underline; color : #DD6900}

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #D9361F;
	background-color: #FAFAFA; border: #F5E9E9; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #F5E9E9; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}

/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #fbf5f5;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #f7eeee; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subRed/formIE.css");
