/* FIX IE6 Scrollbars bug - Leave this in! */
/* 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:#AAE3FF; 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 */
body { background: #C0C0C0; color: #ffffff; font: 12px Verdana,Arial,Helvetica,sans-serif; margin: 6px; padding: 0px; }
body {direction:; background-attachment:fixed; scrollbar-arrow-color: 1b4496; scrollbar-track-color: aae8ff; scrollbar-face-color: 0c95c7; scrollbar-highlight-color: 8bdaf7; scrollbar-3dlight-color: 8bdaf7;  scrollbar-darkshadow-color: 375c6a;  scrollbar-shadow-color: 537e8e;
#ipbwrapper { text-align:left; width:95%; margin-left:auto;margin-right:auto }
a:link, a:visited, a:active { text-decoration: underline; color: #000 }
a:hover { color: #465584; text-decoration:underline }
fieldset.search { padding:6px; line-height:150% }
label      { cursor:pointer; }
form       { display:inline; }
img        { vertical-align:middle; border:0px }

img.attach { max-width:500px;
width:expression( 
    document.body.clientWidth > (500) * 
    parseInt(document.body.currentStyle.fontSize)?
        "500px":
        "auto" );}
.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 }
.admintit { font-size:13px; font-weight:bold; }
li.helprow { padding:0px; margin:0px 0px 10px 0px }
ul#help    { padding:0px 0px 0px 15px }
.cattitle  {font-size:10px;font-weight:bold;line-height:150%;background-color:#C4DCF7;color:#000;background-image: url('im/tile_sub.gif');border-bottom:1px solid #345487; padding-left:5px; padding-right:4px; padding-top:5px; padding-bottom:5px}
.plain {font-size:9px;color: #000;background-color:#C7CCD2;padding:2px 0px 2px 5px;line-height:1.7em;}
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:#C7CCD2;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: #od2b45;background-image:url('im/tile_back.jpg');padding:0px;margin:0px }
#logostrip a:link, #logostrip  a:visited, #logostrip a:active { font-size:20px;text-decoration: none; color: #3a4F6C;  font-weight : bold;  }

#submenu   { border:1px solid #BCD0ED;background-color: #C7CCD2;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; background-color: #C7CCD2 }

#navstrip  { font-weight:bold;padding:6px 0px 6px 0px; }

#logomenu   { border:1px solid #BCD0ED;background-color: #C7CCD2;font-size:10px;margin:3px 0px 3px 0px;color:#3a4F6C;}
#logomenu a:link, #logomenu  a:visited, #logomenu a:active {font-size:10px;text-decoration: none; color: #3a4F6C; }
#maintop { font-size:18px;color:#FFF;font-weight:bold;letter-spacing:-1px;border:1px solid #345487;background-image: url('im/tile_back.jpg');padding-left:5px; padding-right:5px; padding-top:9px; padding-bottom:9px}


.activeuserstrip { background-color:#BCD0ED; padding:6px }

/* Form stuff (post / profile / etc) */
.pformstrip { background-color: #C7CCD2; color:#3a4F6C;font-weight:bold;padding:7px;margin-top:1px }
.pformleft  { background-color: #F5F9FD; padding:6px; margin-top:1px;width:25%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
.pformleftw { background-color: #F5F9FD; padding:6px; margin-top:1px;width:40%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
.pformright { background-color: #F5F9FD; padding:6px; margin-top:1px;border-top:1px solid #C2CFDF; }
.profilleft  { background-color: #F5F9FD; padding:6px; margin-top:1px;border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF;  font-size : 13px;    }
.profilright { background-color: #F5F9FD; padding:6px; margin-top:1px;width:40%; border-top:1px solid #C2CFDF; vertical-align :   }
.profil {color : Red;font-size : 11px;}
.agreement {font-size : 11px;}
/* Topic View elements */
.signature   { font-size: 10px; color: #339; line-height:150%;  vertical-align : bottom;  }
.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: #F5F9FD }
.post2 { background-color: #C7CCD2 }
.postlinksbar { background-color:#C7CCD2;padding:7px;margin-top:1px;font-size:10px; background-image: url('im/tile_sub.gif') }

/* Common elements */
.row1 { background-color: #F5F9FD ;padding:5px;margin-top:1px}
.row2 { background-color: #C7CCD2 ;padding:5px;margin-top:1px}
.row3 { background-color: #C7CCD2}
.row4 { background-color: #D6D6DA}

.darkrow1 { background-color: #C2CFDF; color:#4C77B6; }
.darkrow2 { background-color: #C7CCD2; color:#000000; }
.darkrow3 { background-color: #C7CCD2; color:#3a4F6C; }

.hlight { background-color: #c7ccd2 }
.dlight { background-color: #c7ccd2 }

.titlemedium1 { background-color: #d6d6da ; padding:7px; margin:0px;  }
.titlemedium { font-weight:bold; color:#ffffff; padding:7px; margin:0px; background-image: url('im/tile_sub.gif') }
.titlemedium  a:link, .titlemedium  a:visited, .titlemedium  a:active  { text-decoration: underline; color: #ffffff }
.admtitlemedium { border:1px solid #FFF; font-weight:bold; color:#3a4F6C; background-image: url('im/tile_sub.gif'); padding-left:2px; padding-right:0px; padding-top:7px; padding-bottom:7px }
.tdrow1 { background-color:#c7ccd2;border-bottom:1px solid #c7ccd2;border-right:1px solid #c7ccd2 ;border-top:1px solid #FFF;border-left:1px solid #FFF;}
.tdrow2 { background-color:#F5F9FD; border-bottom:1px solid #c7ccd2;border-right:1px solid #c7ccd2;border-top:1px solid #FFF;border-left:1px solid #FFF;}




/* Main table top (dark blue gradient by default) */
.maintitle { vertical-align:middle;font-weight:bold; color:#FFF; background-image: url('im/tile_back.jpg'); padding-left:5px; padding-right:0px; padding-top:8px; padding-bottom:8px }
.maintitle a:link, .maintitle  a:visited, .maintitle  a:active { text-decoration: none; color: #FFF }
.maintitle a:hover { text-decoration: underline }

/* tableborders gives the white column / row lines effect */
.plainborder { border:1px solid #345487;background-color:#F5F9FD }
.tableborder { border:1px solid #345487;background-color:#FFF; padding:0; margin:0 }
.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:35% }
.pagelinks   { float:left;line-height:1.2em;width:35% }

.desc { font-size:10px; color:#434951 }
.edit { font-size: 9px }


.searchlite { font-weight:bold; color:#F00; background-color:#FF0 }

#QUOTE { white-space:normal; 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  { white-space:normal; 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 }
Select, Input { 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 }
.code_td, .php_td { white-space:normal; font-family: Courier, Courier New, Verdana, Arial;  font-size: 11px; color: #465584; }
.code_table, .php_table {background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }
.quote_td, .q_td { white-space:normal; font-family: Verdana, Arial; font-size: 11px; color: #465584; }
.quote_table, .q_table {  background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }

/* 
 * ========================================
 * new style quote and code wrappers MATT's DESIGN 
 * ========================================
 */

.quotetop{
	background: #E4EAF2 url(im/css_img_quote.gif) no-repeat right;
	border: 1px dotted #000;
	border-bottom: 0;
	border-left: 4px solid #8394B2;
	color: #000;
	font-weight: bold;
	font-size: 10px;
	margin: 8px auto 0 auto;
	padding: 3px;
}

.quotemain{
	background: #FAFCFE;
	border: 1px dotted #000;
	border-left: 4px solid #8394B2;
	border-top: 0;
	color: #465584;
	padding: 4px;
	margin: 0 auto 8px auto;
        overflow:auto;
}

.codetop,
.sqltop,
.htmltop{
	background: #FDDBCC url(im/css_img_code.gif) no-repeat right;
	color: #000;
	font-weight: bold;
	margin: 0 auto 0 auto;
	padding: 3px;
	width: 98%;
}

.codemain,
.sqlmain,
.htmlmain{
	background: #FAFCFE;
	border: 1px dotted #000;
	color: #465584;
	font-family: Courier, Courier New, Verdana, Arial;
	margin: 0 auto 0 auto;
	padding: 2px;
	width: 98%;
        overflow:auto;
}
#QUOTE,
#CODE{  
	background: #FAFCFE; 
	border: 1px solid #000; 
	color: #465584; 
	font-family: Verdana, Arial; 
	font-size: 11px; 
	padding: 2px; 
	white-space: normal;
        overflow:auto;
}

#CODE{ 
	font-family: Courier, Courier New, Verdana, Arial;
}

/* SamyWeb */
.postlinksbar a:link,
.postlinksbar a:visited,
.postlinksbar a:active,
.postlinksbar { color: #ffffff;
 }

.download_file { background: #D6D6DA; padding:10px; border: 1px black dashed;
 }