body {
background: url(images/backbg01.png) repeat-x;
background-color: #1e1e1e;
}
#wrapper {
    margin: 3px auto 0;
    width: 95%;
    background-color: #2C2C2C;
    -moz-box-shadow: 2px 3px 4px #000;
	-webkit-box-shadow: 2px 3px 4px #000;
	box-shadow: 2px 3px 8px #000;
    padding: 6px;
    border: 3px solid #434343;
}
#header{
	width: 100%;
	height: 160px;
	background: #191919 url(images/headerbg.png) 0 0 repeat-x scroll;
}
#header #holder{
	width: 1124px;
	height: 100%;
	margin: 0 auto;
}
#header a#logo{
	display: block;
	float:left;
	width: 190px;
	height: 160px;
	text-decoration: none;
	background: transparent url(images/thelogo.png) 0 0 no-repeat scroll;
}
* html #header a#logo{
	position: relative;
	background-image: none;
	filter: progid: DXImageTransform. Microsoft. AlphaImageLoader (src='images/thelogo.png', sizingMethod='crop');
}
#header img#logoText{
	width: 142px;
	height: 50px;
	background: transparent url(images/pglogotxt.png) 0 0 no-repeat scroll;
	float: left;
	display: inline;
	margin-top: 22px;
}
#header #upper{
	width: 870px;
	height: 78px;
	float: left;
}
#header #upper div.rgt{
	width: 370px;
	height: 52px;
	float: right;
	margin-top: 10px
}
#header #upper div.rgt .divider{
	float: left;
	display: inline;
	width: 2px;
	height: 52px;
	margin: 0 10px 0 10px;
	background: transparent url(images/hddiv.png) 0 0 no-repeat scroll;
}
#header #upper div.rgt div{
	float: left;
    text-align:left;
}
#header #upper div.rgt div input{
	background-color: transparent;
	border-style: none;
	margin: 5px 0 0 5px;
	width: 90%;
	color:#a6a5a5;
}
.qsearch input{
	width: 146px;
    height:21px;
    margin-top:-2px;
    -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
	margin-left: 5px;
    background-color: #474747;
    border: 1px solid #121212;
    color: #b1b1b1;
    padding-left: 3px;
}
.button {
    padding: 4px 4px;
    display: inline;
    background: #777 url(images/button.png) repeat-x bottom;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-shadow: 1px 1px #000;
    }
.button:hover {
    background-position: 0 -48px;
    }
.button.orange { background-color: #f45a16; }
#header #upper div.rgt div.userid,
#header #upper div.rgt div.pass{
	width: 100px;
	height: 27px;
	margin-top: 4px;
	margin-right: 4px;
	background: transparent url(images/logfld.png) 0 -28px no-repeat scroll;
}
#header #upper button.login{
	width: 50px;
	height: 27px;
	background-color: transparent;
	border-style: none;
	margin-top: 4px;
	background: transparent url(images/logfld.png) -100px -28px no-repeat scroll;
}
#header #upper button.login:active{	background-position: -150px -27px;}

#header #upper p{
	color: #5f5f5f;
	font-size: 10px;
	margin-top: 5px;
}
#header #upper p a{
	color: #5f5f5f;
	text-decoration: none;
	margin: 0 10px;
	font-family: Tahoma, Arial, "Lucida Sans", serif;
}
#header #upper p a:hover{ text-decoration: underline;}

/* **** */

#header #middle{
	width: 870px;
	height: 40px;
	float: left;
}
#header #middle ul{
	margin-top: 7px;
	height: 28px;
}
#header #middle ul li{
	display: inline;
	float: left;
}
#header #middle .left{ float: left;}
#header #middle .left ul{ margin-left: 10px;}
#header #middle .left ul li{
	padding-left:5px;
	padding-right:9px;
	background:transparent url(images/hddiv2.png) no-repeat scroll 100% 0;
}

#header #middle .right{ float: right;}
#header #middle .right ul{ margin-right: 10px;}
#header #middle .right ul li{
	padding-left:5px;
	padding-right:7px;
	background:transparent url(images/hddiv2.png) no-repeat scroll 0 0;
}

#header #middle ul li a{
	display:block;
	height: 28px;
	line-height: 28px;
	color: #1b1b1b;
	font-size: 12px;
	font-weight: bold;
	background: transparent url(images/rptimg.png) 1000px 0 no-repeat scroll;
	text-decoration: none;
}
#header #middle ul li a span{
	display:block;
	height: 28px;
	background: transparent url(images/rptimg.png) 1000px 0 no-repeat scroll;
	margin-left: 8px;
	margin-right: -4px;
	padding-right: 8px;
}
#header #middle ul li a:hover{
	color: #fff;
	text-decoration: none;
	background-position: 0 -28px;
}
#header #middle ul li a:hover span{
	background-position: 100% -28px;
}
#header #middle ul li a.active{
	color: #fff;
	background-position: 0 0;
}
#header #middle ul li a.active span{
	background-position: 100% 0;
}

/* **** */

#header #lower{
	width: 890px;
	height: 42px;
	float: left;
}
#header #lower .popupbody {
    background: none repeat scroll 0 0 #1A1A1A;
    border: 1px solid #1A1A1A;
    width: auto;
}
#header #lower .popupbody li {
    padding: 0;
}
#header #lower li {
    display: inline;
    font-size: 11px;
    padding: 0 6px;
}
#header #lower ul {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: 0 none;
    direction: ltr;
    width:700px;
    margin-top: 16px;
	float: left;
}
.popupbody {
    background: url("http://www.pakgamers.com/forums/images/buttons/newbtn_middle.png") repeat-x scroll left top #333333;
    border: 1px solid #1E1E1F;
    display: none;
    left: 0;
    min-width: 200px;
    padding: 2px;
    position: absolute;
    top: 1.5em;
    z-index: 1000;
}
#header #lower .social {
    float: right;
    height: 18px;
    margin-right: 16px;
    margin-top: 12px;
}
#header #lower .social img {
opacity:0.7;
filter:alpha(opacity=70);
padding-right: 5px;
}
#header #lower .social img:hover {
opacity:1.0;
filter:alpha(opacity=100);
}

#footer-wrapper { background:#141415 url(images/footer-bg.png) repeat; border-top:3px solid #111111; overflow:hidden; }
#footer { color:#7a7a7a; width:980px; margin:0 auto; padding:30px 0 30px 0; }
#footer a { color:#7a7a7a; text-shadow: 0px -1px 0px #000; }
#footer .toprow {
    background: #0e0e0e;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 6px 6px 6px 6px;
    position: relative;
    z-index: 1000;
    font-size:11px;
}
#footer .linklist {
    display: block;
}
#footer .first {
    border: medium none;
}
#footer dt, #footer dd, #footer dd a {
    line-height: 10px;
    font-size: 11px;
    color:#b1b1b1;
}
.linklist dt, .linklist dd {
    border-right: 1px solid #7a7a7a;
    float: left;
    margin: 0 6px 9px 0;
    padding: 0 5px 0 0;
    white-space: nowrap;
}
#footer .last {
    border: medium none;
}
#footer .fclear {
    clear: both;
    height: 0;
}
#footer .fcolumn {
    float: left;
    padding: 6px 0;
    width: 464px;
}
#footer span {
    color: #fc5f09;
    font-weight: bold;
}
#footer-mascot { background: url(images/footer_logo.png) no-repeat top left; width:150px; height:211px; float:left; position:relative; z-index: 10;}
#bottom-wrapper { background:#000000 url(images/pattern7.png) repeat; }
#bottom { width:980px; margin:0 auto; padding:12px 0 12px 0; color:#555; text-shadow: 0px -1px 0px #000; overflow:hidden; font-size:11px;}
#bottom a { color: #555; }
#bottom .left { float:left; }
#bottom .right { float:right; }
#bottom .totop a { color:#555; float:right; margin-left:20px; background:url(images/totop.png) no-repeat right; padding-right:10px; }