/*
+--------------------------------------------------------------------------
|  TGTAP CMS v1.0
|  ===============================================
|  (c) 2002-2010 TGTAP Network
|  http://www.tgtap.com
|  ===============================================
+--------------------------------------------------------------------------
|
|  > CSS for Red Dead Place
|  > Written by Chris Phillips
|  > Last modified: 14th April 2010
|
+--------------------------------------------------------------------------
*/

body{
	margin: 0 auto;
	padding: 0;
	background: #222 url(../images/layout/bg.jpg) repeat;
	color: #444;
	font-family: arial,helvetica,sans-serif;
	font-size: 62.5%;
}

/* RESETS */
table, tbody, tfoot, thead, tr, th, td, img, fieldset, legend, label{
	margin: 0;
	padding: 0;
	border: 0;
	border-spacing: 0;
}

blockquote{
	font-style: italic;
	background: #fafafa;
	border: 2px solid #ddd;
	padding: 8px;
}

a:link, a:visited, a:active {
	text-decoration: underline;
	color: #BC0D13;
}

a:hover {
	text-decoration: underline;
	color: #600E10;
}


/* HEADINGS */
/*make all headings bold and reset margins/padding to 0*/
h1,h2,h3,h4,h5,h6{
	font-weight: bold;
	border: 0;
	margin: 0 0 5px 0;
	padding: 0;
}
h1{
	font-size: 1.5em;
}

h2{
	font-size: 1.4em;
}

h3{
	font-size: 1.3em;
}

h4{
	font-size: 1.2em;
}



/* HEADER */
#container{
	width: 990px;
	margin: 0 auto;
	background: #e4e4e4 url(../images/layout/page_bg.png) repeat-y;
}

#header{
	width: 100%;
	height: 140px;
	background: #303030 url(../images/layout/header.jpg);
	cursor: pointer;
}

#page{
	width: 980px;
	margin: 0 auto;
}

#population{
	color: #ffffff;
	font-weight: bold;
	font-size: 1.6em;
	float: right;
	margin: 4px 5px 0 0;
}

#logo{
	text-indent: -9999px;
	float: left;
}


/* MIDDLE BAR */
#middlebar{
	width: 100%;
	height: 90px;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	background: #303030;
}


/* LEFT/RIGHT MENUS */
.navsubtitle{
	font-weight: bold;
	width: 160px;
	color: #ffffff;
	letter-spacing: 1.5px;
	height: 22px;
	line-height: 22px;
	background: url(../images/menu/main-subheading.png);
	text-indent: 3px;
}


/* HEADER NAVIGATION (transparent navbar) */
.headnav{
	width: 100%;
	height: 25px;
	background: url(../images/layout/headnav.png);
	margin-top: -25px;
	font-size: 1.2em;
	font-weight: bold;
}

.headnav ul{
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline;
}

.headnav ul li{
	margin: 0 0px;
	padding: 0 0px;
	float: left;
	line-height: 25px;
}
.headnav ul li a{
	float: left;
	height: 25px;
	margin: 0 8px 0 0;
	padding: 0 7px;
	color: #e4e4e4;
	text-decoration: none;
}

.headnav ul li a:hover {
	background: url(../images/layout/headnav-over.png);
	color: #ffffff;
}

.headnav ul li a#activelink{
	background: url(../images/layout/headnav-over.png) no-repeat;
}


/* MIDDLE BAR */
#communityad{
	float: left;
	width: 246px;
	height: 84px;
	padding: 3px;
	background: url(../images/layout/forum-ad.jpg);
	cursor: pointer;
}
#communityad-loggedin{
	float: left;
	width: 246px;
	height: 84px;
	padding: 3px;
	background: url(../images/layout/forum-ad-tr.jpg);
}
#member-avatar{
	float:  left;
	margin-right: 8px;
}
#member-avatar .avatar{
	height: 83px;
}
#member-avatar .wide-avatar{
	width: 100px;
	height: auto;
}
#member-links{
	float:  left;
	width: 120px;
	line-height: 135%;
}
#member-links ul, #member-links li{
	list-style: none;
	margin: 0;
	padding: 0
}
#member-links a{
	text-decoration: none;
}
.newpms{
	font-weight: bold;
	color: #fff;
	background: #971321;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	display: inline-block;
	padding: 1px 2px;
	width: 7px;
}
#bannerad{
	float: right;
	width: 728px;
}


/* PAGE */

#content{
	text-align: left;
	width: 980px;
	color: #333333;
	background: #e4e4e4 url(../images/layout/content_bg.jpg) repeat;
	line-height: 1.8em;
}

#rightnav{
	float: right;
	width: 300px;
	font-size: 1.2em;
	line-height: 1.3em;
}

#contentpage{
	padding: 5px 10px;
	width: 660px;
	float: left;
	font-size: 1.2em;
}

h1.pageheading{
	font-weight: bold;
	font-size: 1.6em;
	margin-bottom: 10px;
}

.underline{
	border-bottom: 2px solid #333333;
	padding: 2px 0;
}


/* NAVIGATION TITLES */
.navtitle, .navtitler{
	width: 296px;
	height: 30px;
	line-height: 30px;
	margin-top: 5px;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background: #7A1A1C url(../images/layout/navtitle.jpg) repeat-x;
	border: 1px solid #BC0D13;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

/* NAVIGATION MENUS */
.navmenur{
	padding: 5px 4px;
}
.navmenur ul, .navmenur li{
	list-style: none;
	margin: 0;
	padding: 0 0 0 1px;
}

.navmenur ul li{
	margin-left: -4px;
}

.navmenur li a:link, .navmenur li a:active, .navmenur li a:visited{
	display: block;
	text-decoration: none;
	padding: 2px 0px 2px 5px;
	width: auto;
	border-left: 3px solid #BC0D13;
}

.navmenur li a:hover{
	display: block;
	text-decoration: none;
	padding: 2px 0px 2px 5px;
	border-left: 3px solid #7A1A1C;
}


#followus{
	margin: 0 auto;
	width: 110px;
}
#affiliates{
	text-align: center;
	margin-top: 4px;
}
#affiliates img{
	padding-bottom: 2px;
}


/* CONTENT */


/* AIDS */
#squareads{
	width: 300px;
	margin: 60px auto 10px auto;
}

/* ROADBLOCK */

#rbcontent{
	margin: -5px 0 10px -10px;
	float: left;
	width: 678px;
	height: 250px;
	overflow: hidden;
}

#featureside{
	width: 78px;
	height: 250px;
	float: left;
	background: url(../images/featured/side.jpg);
}

#features{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.featureimg{
	float: left;
	width: 600px;
	margin-left: 78px;
}

.featurebar{
	height: 30px;
	width: 600px;
	background: url(../images/featured/bar.png);
	float: right;
	margin-top: -30px;
}
.featurebar h2{
	line-height: 30px;
	padding-left: 6px;
	color: #fff;
}
.featurebar h2 a{
	display: block;
	color: #fff;
	text-decoration: none;
}

.squaread{
	width: 300px;
	height: 250px;
}


/* PAGINATION */
.pagelinks{
	margin: 10px 0px;
	text-align: center;
}
.pagelinks a {
	text-decoration: none !important;
	font-weight: bold;
}
.pagelinks .nextprev {
	border: 1px #601214 solid;
	color: #eee;
	background: #b02a2d;
	padding: 2px 6px;
	font-weight: bold
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.pagelinks .greyed {
	border: 1px #999999 solid;
	color: #777;
	background: #ddd;
	padding: 1px 6px 2px 6px;
	font-weight: bold;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.pagelinks .current {
	border: 1px #999999 solid;
	color: #777;
	background: #ddd;
	padding: 2px 5px;
	font-weight: bold;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.pagelinks .linky {
	border: 1px #601214 solid;
	background: #b02a2d;
	color: #eee;
	padding: 2px 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
a:hover .linky{
	background: #c73235;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
a:hover .nextprev{
	background: #c73235;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}


/* POLLS */
.polltitle{
	font-weight: bold;
	text-align: center;
	padding-bottom: 3px;
}
.pollbar{
	background: #7A1A1C url(../images/layout/navtitle.jpg) repeat-x;
	height: 12px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/* FORMS */
legend{
	font-weight: bold;
	font-size: 1.2em;
}

label{
	font-weight: bold;
	width: 150px;
	display: inline-block;
}

.submitbutton{
	padding: 5px 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-size: 1.2em;
	background: #a70606 url(../images/layout/navtitle.jpg) repeat-x;
	border-color: #a70606;
	color: #fffeff;
	cursor: pointer;
}

.submitbutton:hover{
	background-color: #7A1A1C;
}

.smallinputbox{
	border: 1px solid #aaaaaa;
	background: #efefef;
	padding: 2px;
	width: 120px;
	margin: 1px;
	font-size: 1.0em;
}

.inputbox{
	border: 1px solid #aaaaaa;
	background: #efefef;
	padding: 2px;
	width: 200px;
	margin: 1px;
	font-size: 1.0em;
}

.inputbox:focus, .smallinputbox:focus, .textarea:focus{
	border: 1px solid #222222;
	background: #ffffff;
}

.selection{
	border: 1px solid #aaaaaa;
	padding: 2px;
	width: auto;
	margin: 1px;
	font-size: 1.0em;
}

.textarea{
	border: 1px solid #aaaaaa;
	background: #efefef;
	padding: 2px;
	width: 300px;
	height: 70px;
	margin: 1px;
	font-size: 1.0em;
	font-family: arial, verdana, helvetica, sans-serif;
}

.tinymce{
	width: 640px;
	height: 500px;
}

/* FOOTER */
#footer{
	width: 100%;
	clear: both;
	font-size: 1.05em;
	color: #777777;
	padding: 10px 0 0 10px;
	height: 80px;
}
#footertext{
	margin: 30px 0 0 0;
	line-height: 150%;
}


/* MISC */
.clear{
	clear: both;
}
.centered{
	text-align: center;
}

.left{
	float: left;
}

.right{
	float: right;
}

.messagebox{
	padding: 10px 10px 10px 25px;
	margin: 10px 2px;
	background: #f3f2c6 url(../images/icons/information.png) no-repeat 5px 12px;
	border: 1px solid #dfddc0;
	color: #444;
	width: auto;
	font-size: 1.0em;
	text-align: left;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.errormsg{
	padding: 10px 10px 10px 25px;
	margin: 10px 2px;
	background: #f2dddc url(../images/icons/error.png) no-repeat 5px 10px;
	border: 1px solid #CF8581;
	color: #444;
	width: auto;
	font-size: 1.0em;
	text-align: left;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.nobgimg{
	background-image: none;
}

.followus{
	font-size: 1.5em;
	font-weight: bold;
	float: left;
	margin: 10px 10px 0 -10px;
}

/* IMAGES/VIDEOS */
.screenshotcontainer{
	margin: 0 auto;
	width: 620px;
}

#potdcontainer{
	margin: 0 auto;
	width: 620px;
	text-align: center;
}

.imagebox{
	float: left;
	width: 200px;
	height: 200px;
	font-size: 0.8em;
	margin-right: 5px;
	line-height: 130%;
}
.imagebox img{
	border: 0;
}
.imagetitle{
	font-size: 1.25em;
	font-weight: bold;
}

/* NEWS POSTS */
.newspost{
	padding-bottom: 8px;
	margin-bottom: 10px;
}

.newspost h1{
	margin: 3px 0;
	font-size: 1.45em;
}

.newscontent{

}

.newspostinfo{
	font-size: 0.8em;
	color: #777777;
	margin-bottom: 3px;
}

#newscomments{
	padding: 10px;
}


/* IPB3 bbcode stuff */
.bbc_center{
	text-align: center;
}
.bbc_underline{
	text-decoration: underline;
}

.newspost h1 a{
	text-decoration: none;
}

.newsdate{
	height: 20px;
	line-height: 20px;
	font-weight: bold;
	padding: 0 4px;
	margin: 6px 0;
	font-size: 0.9em;
	color: #ffffff;
	background: #7A1A1C url(../images/layout/navtitle.jpg) repeat-x;
	border: 1px solid #870a0e;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

#commentsheading{
	height: 20px;
	line-height: 20px;
	padding: 0 4px;
	margin: 3px 0;
	font-size: 0.9em;
	color: #ffffff;
	background: #7A1A1C url(../images/layout/navtitle.jpg) repeat-x;
	border: 1px solid #870a0e;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
#commentsheading a{
	color: #dddddd;
}
#commentsheading a:hover{
	color: #bbbbbb;
}

.newscomment{
	border: 1px solid #aaaaaa;
	padding: 5px;
	margin: 5px 0 10px 0;
}
.newscommentinfo{
	font-size: 0.9em;
	background: #cccccc;
	border-bottom: 1px solid #aaaaaa;
	margin-bottom: 4px;
	padding: 1px 3px;
}

p.citation{
	display: none;
}

.quote{
	width: 90%;
	background: #fafafa;
	border: 2px solid #ddd;
	color: #444444;
	padding: 8px;
	margin: 0px auto;
}


/* CONTENT */
.imgwbg{
	border: 1px solid #cccccc;
	background-color: #dddddd;
	padding: 1px;
	margin: 0 5px;
}

/* alternate rows in tables */
.darkrow{
	background: #cccccc;
	padding: 2px;
}
.lightrow{
	background: #dadada;
	padding: 2px;
}
.lightrow2{
	background: #e0e0e0;
	padding: 2px;
}
.lightrow a, .lightrow2 a, .darkrow a{
	text-decoration: none;
}

table.withborders{
	border-spacing: 3px;
}
.withborders .lightrow,.withborders .lightrow2, .withborders .darkrow{
	border: 1px solid #aaaaaa;
}

.onlineUsers td, .onlineUsers th{
	font-size: 0.8em;
	font-family: verdana, arial, helvetica, sans-serif;
	padding: 3px 25px 3px 3px;
}

/* Image Viewer */
.imgviewer{
	width: 960px !important;
	text-align: center !important;
}

