/* FIX IE6 Scrollbars bug - Leave this in! */
html { overflow-x: auto; }

/* Body entry, change forum page background colour, default font, font size, etc. Leave text-align:center to center board content
   #ipwrapper will set text-align back to left for the forum. Any other tables / divs you use must use text-align:left to re-align
   the content properly. This is a work around to a known Internet Explorer bug */
BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; margin:0px; padding:0px; background-color:#FCDC8C; text-align:center }
TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; }

/* MAIN WRAPPER: Adjust forum width here. Leave margins alone to auto-center content */
#ipbwrapper { text-align:left; width:95%; margin-left:auto;margin-right:auto }

a:link, a:visited, a:active { text-decoration: underline; color: #000000 }
a:hover { color: #AC2901; text-decoration:underline }

h1 {font-size:18px; margin:0px; color:#000000}
h2 {font-size:18px; margin:0px; color:#000000}
h3 {font-size:12px; margin:0px; color:#000000}

fieldset.search { padding:6px; line-height:150% }
label      { cursor:pointer; }
form       { display:inline; }
img        {border:0px }
img.attach { border:2px outset #EEF2F7;padding:2px }

.googleroot  { padding:6px; line-height:130% }
.googlechild { padding:6px; margin-left:30px; line-height:130% }
.googlebottom, .googlebottom a:link, .googlebottom a:visited, .googlebottom a:active { font-size:11px; color: #3A4F6C; }
.googlish, .googlish a:link, .googlish a:visited, .googlish a:active { font-size:14px; font-weight:bold; color:#00D; }
.googlepagelinks { font-size:1.1em; letter-spacing:1px }
.googlesmall, .googlesmall a:link, .googlesmall a:active, .googlesmall a:visited { font-size:10px; color:#434951 }

li.helprow { padding:0px; margin:0px 0px 10px 0px }
ul#help    { padding:0px 0px 0px 15px }

option.cat { font-weight:bold; }
option.sub { font-weight:bold;color:#555 }
.caldate   { text-align:right;font-weight:bold;font-size:11px;color:#777;background-color:#DFE6EF;padding:4px;margin:0px }

.warngood { color:green }
.warnbad  { color:red }

#padandcenter { margin-left:auto;margin-right:auto;text-align:center;padding:14px 0px 14px 0px }

#profilename { font-size:28px; font-weight:bold; }
#calendarname { font-size:22px; font-weight:bold; }

#photowrap { padding:6px; }
#phototitle { font-size:24px; border-bottom:1px solid black }
#photoimg   { text-align:center; margin-top:15px }

#ucpmenu    { line-height:150%;width:22%; border:1px solid #345487;background-color: #F5F9FD }
#ucpmenu p  { padding:2px 5px 6px 9px;margin:0px; }
#ucpcontent { background-color: #F5F9FD; border:1px solid #345487;line-height:150%; width:auto }
#ucpcontent p  { padding:10px;margin:0px; }

#ipsbanner { position:absolute;top:1px;right:5%; }
#logostrip { border:1px solid #345487;background-color: #3860BB;background-image:url(/image_global/tile_back.gif);padding:0px;margin:0px; }
#submenu   { border:1px solid #BCD0ED;background-color: #DFE6EF;font-size:10px;margin:3px 0px 3px 0px;color:#3A4F6C;font-weight:bold;}
#submenu a:link, #submenu  a:visited, #submenu a:active { font-weight:bold;font-size:10px;text-decoration: none; color: #3A4F6C; }
#userlinks { border:1px solid #C2CFDF}

#navstrip  { font-weight:bold;padding:6px 0px 6px 0px; }

.activeuserstrip { background-color:#FFE2AA; padding:6px }

/* Form stuff (post / profile / etc) */
.pformstrip { background-color: #ffffff; color:#3A4F6C;font-weight:bold;padding:7px;margin-top:1px }
.pformleft  { background-color: #ffffff; padding:6px; margin-top:1px;width:25%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
.pformleftw { background-color: #ffffff; padding:6px; margin-top:1px;width:40%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
.pformright { background-color: #ffffff; padding:6px; margin-top:1px;border-top:1px solid #C2CFDF; }

/* Topic View elements */
.signature   { font-size: 10px; color: #339; line-height:150% }
.postdetails { font-size: 10px; }
.postcolor   { font-size: 12px; line-height: 160% }

.normalname { font-size: 12px; font-weight: bold; color: #003 }
.normalname a:link, .normalname a:visited, .normalname a:active { font-size: 12px }
.unreg { font-size: 11px; font-weight: bold; color: #900 }

.post1 { background-color: #ffffff}
.post2 { background-color: #ffffff}
.postlinksbar {background-color:#FFE2AA;padding:7px;margin-top:1px;font-size:10px; background-image: url(/image_global/tile_sub.gif) }
.postlinksbar a {color: #ffffff}
.postlinksbar a:hover {color: #ffcc00}

/* Common elements */
.row1 { background-color: #F5F9FD }
.row2 { background-color: #ffffff}
.row3 { background-color: #ffffff}
.row4 { background-color: #ffffff}
.row5 { background-color: #FFE2AA}

.darkrow1 { background-color: #FFE2AA; color:#000000; }
.darkrow2 { background-color: #DC9A46; color:#ffffff; }
.darkrow3 { background-color: #FFECC7; color:#000000; }

.hlight { background-color: #DFE6EF }
.dlight { background-color: #EEF2F7 }

.titlemedium { font-weight:bold; color:#ffffff; padding:7px; margin:0px; background-image: url(/image_global/tile_sub.gif) }
.titlemedium  a:link, .titlemedium  a:visited, .titlemedium  a:active  { text-decoration: underline; color: #ffffff }

/* Main table top (dark blue gradient by default) */
.maintitle { width:100%; vertical-align:middle; font-weight:bold; color:#000000; font-size:14px; padding:8px 1px 8px 5px; background-image: url(/image_global/tile_back.gif) }
.maintitle a:link, .maintitle  a:visited, .maintitle  a:active { text-decoration: none; color: #ffffff }
.maintitle a:hover { text-decoration: underline; color:#ffcc00 }

/* tableborders gives the white column / row lines effect */
.plainborder { border:1px solid #345487;background-color:#F5F9FD }
.tableborder { border:5px solid #A05820;background-color:#FCDC8C; padding:0; margin:0; width:100% }
.tablefill   { border:1px solid #345487;background-color:#F5F9FD;padding:6px;  }
.tablepad    { background-color:#F5F9FD;padding:6px }
.tablebasic  { width:100%; padding:0px 0px 0px 0px; margin:0px; border:0px }

.wrapmini    { float:left;line-height:1.5em;width:25% }
.pagelinks   { float:left;line-height:1.2em;width:35% }

.desc { font-size:10px; color:#000000}
.edit { font-size: 9px }


.searchlite { font-weight:bold; color:#F00; background-color:#FF0 }

#QUOTE { font-family: Verdana, Arial; font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }
#CODE  { font-family: Courier, Courier New, Verdana, Arial;  font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }

.copyright { font-family: Verdana, Tahoma, Arial, Sans-Serif; font-size: 9px; line-height: 12px }

.codebuttons  { font-size: 10px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }
.forminput, .textinput, .radiobutton, .checkbox  { font-size: 11px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }

.thin { padding:6px 0px 6px 0px;line-height:140%;margin:2px 0px 2px 0px;border-top:1px solid #FFF;border-bottom:1px solid #FFF }

.purple { color:purple;font-weight:bold }
.red    { color:red;font-weight:bold }
.green  { color:green;font-weight:bold }
.blue   { color:blue;font-weight:bold }
.orange { color:#F90;font-weight:bold }

.zag {font-size:17px; color:#000099; font-weight:bold}

.menu7 a {font-size:11px; font-family:Tahoma; color:#FEB36B; text-decoration:underline}
.menu7 a:visited {font-size:11px; font-family:Tahoma; color:#FEB36B; text-decoration:underline}
.menu7 a:hover {color:#FEB36B; text-decoration:none}
.menu7 input, select {font-size:11px; font-family:Tahoma}

.menu8 a {font-size:11px; font-family:Tahoma; color:#FFD7BA; text-decoration:underline}
.menu8 a:visited {font-size:11px; font-family:Tahoma; color:#FFD7BA; text-decoration:underline}
.menu8 a:hover {color:#FFD7BA; text-decoration:none}
.menu8 input, select {font-size:11px; font-family:Tahoma}

li {margin-bottom:3px; list-style-type:square; color:#D91D1D}
#topm a {color:#813E11}
#topm a:hover {color:#000000}

#region {font-family: Tahoma; font-size:12px}
#region a {color:#000000; background: #FCDC8C; width:300px; height:22px; padding:2px; padding-left:7px; text-decoration:none}
#region a:hover  {color:#ffffff; background: #ff0000}

#post td, input , select{font-size:11px; font-family:Tahoma}
#post a {color:#064280; font-size:10px}
#post a:hover {color:#064280; text-decoration:none}
.dv {border:3px solid #dd3a1e; background-color:#ffffff; width:500px; padding:7px}
/*--------для профиля-------------*/
a.ajax_link {cursor:pointer; color:white;}

.blogpost {width:450px; height:180px; position:absolute; z-index:10; left:250px; padding:5px}
.postinfo {position:absolute; padding:5px;left:25%;top:3%;z-index:10;heigth: 400px;}

.spoilerbody{width:70%;
padding:2px;
border:2px solid #FADDA9;
background-color:#FDF4E1;
}
.spoilerbox{width:70%;
margin:0px;
border:1px #FADDA9;
background-color:#FDF4E1;
}
.spoilertext{width:70%;
padding:0px;
margin:0px;
background-color:#FDF4E1;
}

/* Overlay */
#simplemodal-overlay {background-color:#000;}

/* Container */
#simplemodal-container {z-index:100; height:400px; width:600px; background-color:#fff; border:3px solid #ccc;}
#simplemodal-container a.modalCloseImg {background:url(/new_chat/img/basic/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-18px; cursor:pointer;}
#simplemodal-container #basicModalContent {padding:8px;}

/* див в посте */
.basicModal {text-decoration:underline; cursor:pointer;font-weight:bold;}
.grat_link { cursor:pointer; color: red; font-weight:bold; font-family:sans-serif;}
#smile {width:auto; height:100px; overflow:auto;}

#basicModalContent{	display:none;
					position:fixed;
					padding:5px;
					background-color:#ffcece;
					border:solid 3px #bb0000;
					left:25%;
					top:3%;
					overflow: auto;
					z-index:100;
					height: 400px;
					width: 600px;
					//position: absolute;
					//top: expression((document.getElementsByTagName('body')[0].scrollTop+document.body.clientHeight-this.clientHeight-150)+'px');}

#noob_saibot{	position:fixed;
				display:none;
				height:200%;
				width:100%;
				background-color:#000000;
				opacity: 0.5;
				filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
				filter: alpha(opacity=50);
				-moz-opacity: 0.5;
				z-index:10;
				float:left;
				left:0; top:0;
			}
