/* ============== Overall ============== */
.noi { display: none }
.xsnotice
     { width: auto; padding:4px; margin:4px; background-color:#FFE8C1; border:1px solid #FFCBCF; color:#CC1212; font-weight:bold; font-size:110%; text-align: center; }
a.external {padding-right:12px;background:url(wiki-arrow.gif) no-repeat top right} 
/* galllery 3 */
a.thumb {
	display: block;
	height: 90px;
	width: 120px;
	border: 4px solid #fff;
	background-color: #fff;
	background-position: center top;
	background-repeat: no-repeat;
}

a.thumb:hover {
	border-color: #CC6666;
}

.g-block {
	width: 150px;
	border: 2px solid #fff;
	text-align: center;
}

.g-thumb-block {
	width: 150px;
	height: 157px;
	text-align: center;
	margin: 15px auto 15px auto;
}

.g-desc-block {
	width: 150px;
	margin: 0 auto 10px auto;
	padding: 5px 0;
}

/* for understanding browsers */
.resizeimage   { max-width:620px;}

/* for Internet Explorer */
/*\*/
* html .resizeimage{
border:0;
width:expression(((this.width>620)?this.width=620:null)?"normal":"normal");
}
/**/

html
	{
	padding:0;
	}

body { font-size:11px; FONT-FAMILY: Tahoma, Georgia, Arial, Courier, Helvetica, Verdana, sans-serif; 
color:#000000; margin: 0px 0px 0px 0px; padding: 0px; vertical-align:top; background-image:url(../img/bg.jpg); 
background-repeat: repeat-x; background-color:#53381B;; text-align: left; width: 100%; /* overflow: auto; */ }

a 			{ text-decoration:none; border-width:0px; color:#B0401E; }
a:hover 	{ text-decoration:none; color:#003F6D;}
/* a:visited 	{ text-decoration:none; border-width:0px; color:#80100E; } */

h1 	{ font-size:160%; }
h2 	{ font-size:130%; }
h3 	{ font-size:120%; margin:1em 1em 1em 0; }
h4 	{ font-size:100%; font-weight:bold; margin:1.5em 1em 1em 0; }
h5 	{ font-size:95%; margin-top:0; }
h6 	{ font-size:90%; margin-top:0; }

.bbstyle1	{ font-size:160%; font-weight:bold; }
.bbstyle2	{ font-size:130%; font-weight:bold; }
.bbstyle3	{ font-size:120%; font-weight:bold; }
.bbstyle4	{ font-size:110%; font-weight:bold; }
.bbstyle5	{  }
.bbstyle6	{  }
.bbstyle7	{  }
.bbstyle8	{  }
.bbstyle9	{  }

/* Левое меню - текст */
.leftmenutitle {width: 170px; font-family: arial; font-size: 12px; font-weight: bolder; color: #91332B; background-color: #FAF0CD; padding:0px 2px 0px 2px; margin:8px 10px -2px 10px; text-transform: uppercase;}
.leftmenutitle a , #title a { color:#91332B; FONT-FAMILY: arial;}
.leftmenutitle a:hover , #title a:hover { color:#003F6D; text-decoration:none; FONT-FAMILY: arial;}
.leftmenumain
{	width: 170px; 
	font-family: arial;
	font-size: 10px;
	color: #433932;
	background-color: #FAF0CD;
	padding:0px 4px 0px 4px;
	margin:-2px 10px -2px 10px;
	text-transform: uppercase;
}
.leftmenumains
{	width: 170px; 
	font-family: arial;
	font-size: 10px;
	color: #777777;
	background-color: #FAF0CD;
	padding:0px 4px 0px 4px;
	margin:-2px 10px -2px 10px;
	text-transform: lowercase;
}
.leftmenumain a , #title a
	{ color:#433932; FONT-FAMILY: arial;}
.leftmenumain a:hover , #title a:hover
	{ color:#91332B; text-decoration:none; FONT-FAMILY: arial;}
/* Главное меню сайта */
#mainmenu {background-color: #FFF9D7; margin:0; padding:0px 1px 0px 0px; }
#mainmenu a { color:#000000;}
#mainmenu a:hover { text-decoration:none; color:#FF0000;}
form { margin:0px;}
form image img { display:block;}
input.submit { 
color: #FFF; 
font: bold 12px verdana; 
background: #f90; 
border: 1px solid #808080; 
height: 24px 
} 
.expand-form { 
padding-bottom: 4px 
} 

#CODE {
	font-family: Courier New, serif;
	font-size: 11px;
	color: #465584;
	background-color: #FAFCFE;
	border: 1px solid #000;
        line-height: 120%;
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-left: 2px;
	overflow: auto;
}
#CODE,pre{margin:0;
white-space:pre-wrap;
}

#nav
	{
	background-image:url(../img/header/nav.gif); background-repeat:repeat-x; background-position:bottom;
	margin:0;
	padding:5px;
   	}


#nav a { color:#000000;}
#nav a:hover { text-decoration:none; color:#FF0000;}

#nav ul
	{
    padding:2px;
    margin:0;
	}

#nav li
	{
	display:inline;
	list-style:none;
	padding:2px 6px 2px 6px;
	margin:0;
	font-weight:bold;
	}

#user
	{
	margin:0;
	padding:2px;
	color:#dddddd;
	text-align:right;
	background-color:#433932;
         }

#user a
	{
	color:#ffffff;
	}

#user a:hover
	{
	color:#dddddd; text-decoration:none;
	}
#user ul
	{
	padding:0px;
	margin:0;
	}

#user li
	{
	display:inline;
	list-style:none;
	margin:0;
	padding:2px;
	}

#title {background-color:#ece2cc; color:#433932;  padding:2px; font-weight:bold ; margin:8px 10px 0px 10px; font-size:100%; }
#title1 {background-color:#ece2cc;
         color:#B0401E;
         font-family: Arial;
         font-size:100%;
         font-weight:bold;
         margin:2px 2px 2px 2px;
         padding:2px;
         text-transform: uppercase;}
#title2 {background-color:#ece2cc; color:#433932;  padding:0px; font-weight:bold ; margin:0px 0px 0px 0px; font-size:100%; }
#titlem {background-color:#ece2cc;
         background-image:url(../img/fon_topmenu.gif);
         background-repeat:repeat-x;
         border-left:1px solid black;
         border-right:1px solid black;
         border-top:1px solid #433932;
         color:#91332B;
         font-family: arial;
         font-weight:bold;
		 font-size: 12px;
         margin:0px 0px 0px 0px;
         padding:5px 0px 5px 22px;
         text-transform: uppercase;
         }

#subtitle {padding:2px;margin:0px 10px 0px 10px; font-size:90%; background-image:url(../img/lines.gif); vertical-align:top; }

#adminmenu
	{
	margin:0 20px 2px 20px;
	}

#main {padding:5px; margin:12px; border:1px solid #ece2cc; background-image:url(../img/lines.gif); } 
#main1 {padding:2px 16px 0px 16px;  margin:0px 10px 0px 10px; background-color:#FFF9D7; }



.footer {background-color:#ece2cc; text-align:right; margin:0px; padding:0px; color:#999999; }
.footertop {background-image:url(../img/foottopbkg.png); text-align:right; margin:0px; padding:0px; color:#999999; }
.footer a {color:#dddddd; }
.footer a:hover {text-decoration:none;}

.newssubtitle { background-color:#FFF9D7; background-repeat:repeat-x;  font-size:90%; padding:2px 4px 0px 4px; height:20px; margin:0px 10px 0px 10px;}
.newstext { background-color:#FFF9D7; padding:8px; margin:0px 10px 0px 10px;  }

img { max-width: 620px; letter-spacing: expression(((this.width>620)?this.width=620:null)?"normal":"normal");}

.avatar { max-width: 500px; letter-spacing: expression(((this.width>500)?this.width=500:null)?"normal":"normal"); }

.miniblock 	{ background-color:#FFFFFF; color:#DDDDDD;  font-weight:bold ; padding:2px; margin:8px 10px 0px 10px; FONT-FAMILY: Arial Narrow;}
.miniblock a , #title a{ color:#91332B; FONT-FAMILY: Arial Narrow;}
.miniblock a:hover , #title a:hover { color:#433932; text-decoration:none; FONT-FAMILY: Arial Narrow;}
.miniblockmain 	{ padding:3px 4px 3px 4px; margin:0px 10px 0px 10px; FONT-FAMILY: Arial Narrow;}

/* ============== Various ============== */
textarea, .tinput , input ,  optgroup , textarea 
{
border-color: #303030;
border-style:solid;
border-width:1px;
	background-color: #FFF9D7;
	color: #303030;
	font-size:13px;
}

select , option  {	background-color: #FFF9D7;
	color: #303030;
	font-size:9px;}


.profield {border-top-width: 1px; border-top-style: solid; border-top-color: #FFF9D7;
border-right-width: 1px; border-right-style: solid; border-right-color: #ece2cc;
border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #ece2cc;
border-left-width: 1px; border-left-style: solid; border-left-color: #FFF9D7;padding: 0px 3px 0px 3px; background-color: #FAF0CD; margin-top: 2px; }
.disp		{ padding:5px; margin:0; }
.block		{ font-size:11px; padding:5px; margin:12px; border:1px solid #ece2cc; background-color: #FAF0CD; }
.blockcomment	{ font-size:11px; margin-bottom: 10px; margin-top: 10px; border:1px solid #ece2cc; background-color: #FAF0CD; }
.blockcomenttitle {background-color: #ece2cc; border:0px solid #FF0000; margin-left: 10px; margin-top: 10px;}
.blockcom		{ width: 680px; font-size:11px; padding:5px; margin:6px; border:1px solid #ece2cc; background-color: #FFF9D7; }
.blockcomq		{ font-size:11px; padding:5px; margin:6px; border:1px solid #ece2cc; border-left:3px solid #666666; background-color: #e2e2e2; }
.note1		{ font-size:11px; padding:5px; margin:6px; border:1px solid #ece2cc;   border-left:3px solid #A40000; background-color: #f3d5d5; }
.error		{ padding:24px 8px 24px 8px; margin:0px; color:#D67308; font-weight:bold; font-size:110%; text-align:center; }
error		{ padding:24px 8px 24px 8px; margin:0px; color:#D67308; font-weight:bold; font-size:110%; text-align:center; }
.code {
	font-family: Courier New, serif;
	font-size: 11px;
	color: #465584;
	background-color: #FAFCFE;
	border: 1px solid #000;
  border-left:3px solid #00A400;
  line-height: 120%;
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-left: 2px;
	overflow: auto;
}
.valid 		{ height:48px; text-align:center; vertical-align:middle; }
.download 	{ font-size:110%; text-align:center; background-image:url(../img/lines.gif); border:1px solid #ece2cc; background-color: #FFF9D7; padding:5px; margin-top:16px; margin:12px; }
.pageviewheader { font-size:110%; text-align:left; background-image:url(../img/lines.gif); border:1px solid #ece2cc; background-color: #FFF9D7; padding:5px; margin-top:16px; margin:12px; }
.pageviewheader1 { font-size:100%; text-align:left; border:1px solid #ece2cc; background-color: #FFF9D7; background-image:url(../img/lines.gif); padding:5px 5px 5px 5px; margin:12px 12px 0px 12px; }
.pageviewheader2 { font-size:100%; text-align:left; background-color: #FAF0CD;}
.pageviewheader3 { font-size:100%; text-align:left; background-color: #FFF9D7;}
.paging		{ text-align:center; padding:0px 8px 0px 0px; text-align:right;}
.pagenav_prev, .pagenav_next, .pagenav_first, .pagenav_last, .pagenav_pages { position : relative; padding : 0 2px; background : #ECE2CC; margin : 1px; border : 1px solid #999999; }
.pagenav_current { position : relative; padding : 0 2px; font-weight : bold; text-decoration : underline; background : #FFF9D7; margin : 1px; border : 1px solid #999999; }

.coltop		{ text-align:center; background-color:#ECE2CC !important; 
border-top-width: 1px; border-top-style: solid; border-top-color: #FFFFFF;
border-right-width: 1px; border-right-style: solid; border-right-color: #FFFFFF;
border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D9D9D9;
border-left-width: 1px; border-left-style: solid; border-left-color: #D9D9D9 }

.centerall { text-align:center; vertical-align:middle; }
.desc 		{ font-size:90%; padding:3px; color:#646464; }
.odd		{ background-color:#FFF9D7 !important; 
border-top-width: 1px; border-top-style: solid; border-top-color: #FFFFFF;
border-right-width: 1px; border-right-style: solid; border-right-color: #FFFFFF;
border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #D9D9D9;
border-left-width: 1px; border-left-style: solid; border-left-color: #D9D9D9; }
.even		{ background-color:#FAF0CD!important;
border-top-width: 1px; border-top-style: solid; border-top-color: #FFFFFF;
border-right-width: 1px; border-right-style: solid; border-right-color: #FFFFFF;
border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #E0DFDF;
border-left-width: 1px; border-left-style: solid; border-left-color: #E0DFDF }
li 			{ margin:2px; }
img			{ border-width:0px; }
ul 			{ list-style-type:square; }

.colleft	{ float:left; margin:0px 4px 0px 4px; }
.colright	{ float:right; margin:0px 4px 0px 4px; }
.bar_front {
padding: 0;
margin: 0;
background: #900;
height: 8px;
border-right: 1px solid #555;
background: #d60000 url(../img/system/pollin.gif) repeat-x;
}

.bar_back {
padding: 0;
margin: 0;
height: 8px;
font-size: 0;
border: 3px double #999;
border-top-color: #ccc;
border-left-color: #ccc;
background: #fff url(../img/system/pollout.gif) repeat-x;
border: 1px solid #555;
border-left: 1px solid #ccc;
border-top: 1px solid #ccc;
}
.bbcodes a img { border:1px outset #A0A0A0; background-color:#999BAC; }
.smilies a img { border:0px; background-color:transparent; }
.today		{ border:1px dashed #DDAA00; }
.signature 		{ font-size:90%; max-height:150px; overflow:auto; }
.signature a	{ color:#000000; }
.postheader 	{ font-size:100%; height:10px; overflow:auto; }

/* ============== Tables ============== */

table td 		{ vertical-align:top; }
table.flat		{ width:100%; margin:0px; padding:0px;  }
table.flat td 	{ padding:0px; margin:0px; }
table.main 		{ width:100%; margin:0px; padding:4px; }
table.main td 	{ padding:4px; }
table.cells 	{ width:100%; margin:0px; padding:0px; }
table.cells td	{ padding:2px 2px 2px 2px; background-color:#FAF0CD; margin:0px; }
table.forums 	{ width:100%; margin:0px; padding:0px; }
table.forums td	{ padding:2px;  margin:0px; }

/* overflow:auto; */
.bigbox { width:100%; background-color:#FAF0CD; border-left: 1px solid #000000; border-right: 1px solid #000000;  padding: 0px;}
.bigbox1 { width:100%; background-color:#FAF0CD;}
.bigbox2 {padding: 0px;
          width:100%;}
 
.ptitle {background-color:#ECE2CC;
         border-top: 1px solid #999999;
         border-bottom: 1px solid #999999;}

/* stas */
a.submenu {
border-bottom : 1px solid #c3c3c3;
color : #a02202;
background-color : #ffffff;
display : block;
padding : 2px 0;
text-indent : 4px;
width : 100%;
}


/* NNM news images */
.new-image-center{
  margin:0 auto 5px auto;
  display:block;
  padding:1px;
  border:1px solid #666;
}

/* CSS needed for the script */

#ajax_tooltipObj{
	z-index:1000000;
	text-align:left;
}
#ajax_tooltipObj div{
	position:relative;
}

/* If you don't want the arrow - Just set the width of this div to 1 or something like that and drop the background selectors from the CSS below */

#ajax_tooltipObj .ajax_tooltip_arrow{	/* Left div for the small arrow */
	background-image:url('../images/arrow.gif');
	width:20px;
	position:absolute;
	left:0px;
	top:0px;
	background-repeat:no-repeat;
	background-position:center left;
	z-index:1000005;
	height:60px;
}

#ajax_tooltipObj .ajax_tooltip_content{
	border:2px solid #317082;	/* Border width */
	left:18px;	/* Same as border thickness */
	top:0px;
	position:absolute;
	width:150px;	/* Width of tooltip content */
	height:200px;	/* Height of tooltip content */
	background-color:#FFF;	/* Background color */
	padding:5px;	/* Space between border and content */
	font-size:0.8em;	/* Font size of content */
	overflow:auto;	/* Hide overflow content */
	z-index:1000001;
}

.box
	{border: 1px solid #b8b8b8;margin-bottom: 1em;}
.box .shadow
	{background: transparent url(/Images/shadow.gif) bottom right no-repeat;
	position: relative;
	left: 1px;
	top: 1px;
	margin-bottom:-5px;
	padding: 1px 4px 15px 5px;
	}

