/*   
Theme Name: Relicnews 'Red'
Theme URI: http://ionfish.co.uk
Description: Relicnews 'Red' theme
Author: Benedict Eastaugh
Author URI: http://ionfish.co.uk
Version: 1.3
.
Look to learn; steal it and I'll get pissed. This design is copyright Benedict Eastaugh 2004-2005.
.
*/


/* Relicnews main stylesheet */
/* redefined html tags */

body {
margin: 0;
padding: 0;
text-align: center;
min-width: 960px;
background: #000;
color: #D9D9D9;
font-family: Verdana, sans-serif;
font-size: 76%;
}

p {
margin: 0 0 0.8em 0; padding: 0;
line-height: 1.2em;
}

h1 {
margin: 0; border: none; padding: 0;
}
h2 {
font-weight: normal; font-size: 1.5em;
margin: 0 0 0.4em 0; border: none; padding: 0 0 3px 0;
background: url("images/layout/news.underline.gif") no-repeat bottom center;
}
h4 {
font-weight: bold; font-size: 1em;
margin: 0 0 0.2em 0; border: none; padding: 0;
text-decoration: underline;
}

h2, h3, h4 {
font-family: Helvetica, Arial, sans-serif;
}

a {
color: #fff;
text-decoration: none;
}
a:hover {
background: #fff; color: #000;
text-decoration: none;
}

strong {
font-weight: bold;
}
small {
font-size: 0.9em;
}
hr {
width: 100%; height: 2px;
background: url("images/layout/news.spacer.gif") no-repeat top center;
margin: 0 0 0.6em 0; padding: 0;
}

/* layout */

#frame {
background: url("images/layout/bg1.gif") repeat-y 50% 0;
width: 940px;
margin: 0 auto;
text-align: left;
}

#title {
height: 150px;
background: url("images/layout/title.jpg");
}

#titlelink {
display: block;
width: 940px;
height: 150px;
}
#titlelink:hover {
background: none;
}

#nav {
height: 20px;
background: url("images/layout/bg2.gif") repeat-x;
position: relative;
}

#nav ul, #nav li {
list-style-type: none;
display: inline;
margin: 0;
padding: 0;
}

#nav a {
height: 20px;
display: block;
position: absolute;
top: 0;
border: none;
}

#rnnav {
background: url("images/layout/nav.relicnews.gif");
width: 140px;
left: 0;
}

#feednav {
background: url("images/layout/nav.feed.gif");
width: 89px;
left: 140px;
}

#loginnav {
background: url("images/layout/nav.login.gif");
width: 121px;
right: 0;
}

#newsnav {
background: url("images/layout/nav.news.gif");
width: 89px;
right: 121px;
}


#forumsnav {
background: url("images/layout/nav.forums.gif");
width: 111px;
right: 210px;
}

/* main section */

#main {
margin: 0;
padding: 0;
}

/* sidebar */

#secondary {
width: 140px;
float: left;
background: url("images/layout/side.back.gif") repeat-y;
color: #fff;
}

#secondary ul {
list-style: url("images/layout/list.bullet.gif");
}

#secondary li {
margin: 0 0 0.2em 1.5em; padding: 0;
}

.side_list {
margin: 0; padding: 4px;
}

#mainlist {
background: url("images/layout/side.rn.gif") no-repeat;
}


#outfit_header {
margin: 0; border: none; padding: 0;
}
#outfit_header a {
margin: 0; border: none; padding: 0;
display: block;
width: 140px; height: 18px;
background: url("images/layout/side.of.gif") no-repeat;
}


#coh_header {
margin: 0; border: none; padding: 0;
}
#coh_header a {
margin: 0; border: none; padding: 0;
display: block;
width: 140px; height: 18px;
background: url("images/layout/side.coh.gif") no-repeat;
}


#dow_header {
margin: 0; border: none; padding: 0;
}
#dow_header a {
margin: 0; border: none; padding: 0;
display: block;
width: 140px; height: 18px;
background: url("images/layout/side.dow.gif") no-repeat;
}

#hw2_header {
margin: 0; border: none; padding: 0;
}
#hw2_header a {
margin: 0; border: none; padding: 0;
display: block;
width: 140px; height: 18px;
background: url("images/layout/side.hw2.gif") no-repeat;
}

#ic_header {
margin: 0; border: none; padding: 0;
}
#ic_header a {
margin: 0; border: none; padding: 0;
display: block;
width: 140px; height: 18px;
background: url("images/layout/side.ic.gif") no-repeat;
}

#cata_header {
margin: 0; border: none; padding: 0;
}
#cata_header a {
margin: 0; border: none; padding: 0;
display: block;
width: 140px; height: 18px;
background: url("images/layout/side.cata.gif") no-repeat;
}

#hw_header {
margin: 0; border: none; padding: 0;
}
#hw_header a {
margin: 0; border: none; padding: 0;
display: block;
width: 140px; height: 18px;
background: url("images/layout/side.hw.gif") no-repeat;
}

#reliclinks {
height: 20px;
background: url("images/layout/bg2.gif") repeat-x;
position: relative;
}
#reliclinks a {
display: block;
position: absolute;
top: 0;
height: 20px
}
#reliclinks ul, #reliclinks li {
display: inline;
list-style-type: none;
margin: 0;
padding: 0;
}
#reliclinks a {
border: none;
}
#relicbutton {
background: url("images/layout/button.relic.gif");
width: 77px;
left: 0;
border: none;
}
#rdnbutton {
background: url("images/layout/button.rdn.gif");
width: 63px;
left: 77px;
border: none;
}

#sidead {
padding: 10px;
}
#sidead img {
border: none;
}

#footer {
background: #414141 url("images/layout/footer.back.gif") repeat-y;
clear: both;
color: #999999;
margin: 0; padding: 0;
}

#footer_top {
background: url("images/layout/footer.top.gif") no-repeat top;
padding: 10px 10px 0.5em 10px;
}

#footer_bottom {
background: url("images/layout/footer.bottom.gif") no-repeat bottom;
padding: 0 10px 10px 10px;
}

#footer p {
font-size: 0.9em;
margin: 0;
}

/* primary (main content) */

#content {
background: url("images/layout/cont.top.gif") no-repeat top;
width: 800px;
float: right;
margin: 0;
padding: 0;
}

#primary {
background: url("images/layout/primary.top.gif") no-repeat top;
float: left;
margin: 0;
padding: 10px;
width: 480px;
voice-family: "\"}\""; 
voice-family:inherit;
width: 460px;
}

#primary p {
line-height: 1.4em;
}
#primary p a {
text-decoration: underline;
}
#primary p a:hover {
text-decoration: none;
}

#primary ul {
margin: 0 0 1em 1em; padding: 0;
list-style: circle;
}
#primary li {
margin: 0 0 0.2em 0; padding: 0;
}


/*BEGIN added by Moe*/
/*Prevent <img>s inside <a> tags from inheriting the hover behavior of regular links*/
a.imagelink {
border: 0; text-decoration:none; background:none;
}
/*Prevent images inside the primary div from having a white border*/
#primary img {
border: 0;
}

/*END added by Moe*/



/* tertiary */

#tertiary {
background: url("images/layout/tertiary.top.gif") no-repeat top;
padding: 10px;
margin: 0;
float: right;
font-size: 0.9em;
width: 320px;
voice-family: "\"}\""; 
voice-family:inherit;
width: 300px;
}

#tertiary h3 {
background: url("images/layout/tertiary.underline.gif") no-repeat bottom center;
color: #D9D9D9;
font-weight: normal; font-size: 0.9em;
text-transform: uppercase;
margin: 0 0 5px 0; border: none; padding: 0 0 3px 0;
}
#tertiary ul {
list-style: url("images/layout/side.bullet.gif");
margin: 0 0 0.8em 0;
padding: 0;
}
#tertiary li {
margin: 0 0 0.2em 2em;
padding: 0;
}

.thumbnail_list { /* list of thumbnails for articles */
}
#tertiary .thumbnail_list li {
list-style: none; display: inline;
margin: 0; padding: 2px;
}
#tertiary .thumbnail_list a {
margin: 0; border: none; padding: 0;
background: none; text-decoration: none;
}

#tertiary img, .thumbnail_list img, .thumbnail_list a, #tertiary .image {
border: none; background: none; text-decoration: none;
}
#tertiary .thumbnail_list img {
line-height: 0;
}

/* news styling */

.news {
padding: 0 0 0.8em 0;
}
.news_title {
padding: 0 0 0.6em 0;
}

.news_title h3 {
margin: 0 0 0.2em 0; border: none; padding: 0;
font-size: 1.5em; font-weight: normal;
color: #fff; letter-spacing: normal;
}

.news_title p {
background: url("images/layout/news.underline.gif") no-repeat bottom center;
padding: 0 0 5px 0;
font-size: 0.9em;
color: #999999;
margin: 0;
}

.commlink {
background: url("images/layout/news.spacer.gif") no-repeat bottom center;
text-align: right; font-size: 0.8em; color: #999999;
margin: 0; padding: 0 0 8px 0;
}
.commlink p {
margin: 0;
}

#primary blockquote {
color: #ABABAB;
background: url("images/layout/quote.gif") no-repeat top left;
padding: 0 10px 0 40px;
margin: 0 0 0.8em 0;
}

.more_pages {
text-align: right;
}

/* archive and comment styling */

#archive {
padding: 0 0 10px 0;
background: url("images/layout/news.spacer.gif") no-repeat bottom; 
}

#archive h3 {
font-size: 1.6em;
font-weight: normal;
}

.page_nav {
text-align: center;
}

#comments {
padding: 2px 0 0 0;
}

#comments_closed {
padding: 8px 0 0 0;
background: url("images/layout/news.spacer.gif") no-repeat top;
}

#comments_top {
padding: 8px 0 0 0;
background: url("images/layout/news.spacer.gif") no-repeat top;
font-style: italic;
}

.comment {
padding: 5px 5px 1px 5px;
margin: 0 0 7px 0;
background: #5C5C5C;
clear: both;
}
.postby {
font-size: 0.9em; color: #999999;
}
a.postno {
font-size: 0.9em; font-weight: normal;
float: right; margin: 0 0 5px 5px;
}
strong.post_author {
color: #D9D9D9;
}

#respond {
background: #666666;
padding: 10px;
}

#respond h3 {
letter-spacing: normal;
font-size: 1.2em; font-weight: normal; margin: 0 0 0.4em 0;
}
#respond h4 {
font-size: 0.8em; font-weight: bold; text-transform: uppercase;
margin: 0 0 0.4em 0; padding: 0;
}

fieldset {
margin: 0; border: none; padding: 0;
}

.respond_input  {
width: 100px;
border: 1px solid #808080; padding: 2px;
background: #545454; color: #fff;
font-size: 0.9em;
}

#respond textarea {
width: 100%;
font-family: "Courier New", Courier, monospace; font-size: 0.9em;
margin: 0 0 0.6em 0; border: 1px solid #808080; padding: 2px;
background: #545454; color: #fff;
}

.sub_box {
margin: 0 0 0.6em 0; padding: 0;
}
.sub_box input {
margin: 0 1em 0 0; padding: 0;
}

.searchbox {
margin: 0 0 0.6em 0;
vertical-align: middle;
}
.sb_text {
margin: 0.6em 1em 0 0; border: 1px solid #999999; padding: 2px;
background: #808080; color: #fff;
font-family: "Courier New", Courier, monospace; font-size: 1.1em;
}
.sb_text:focus {
background: #000;
}
.sb_button {
margin: 0.6em 0 0 0;
}

/* Articles styling */

h3 {
font-weight: normal; font-size: 1.3em;
margin: 0.2em 0; border-bottom: 1px solid #777; padding: 0 0 2px 0;
letter-spacing: 0.05em;
}

h3.faq_header {
font-size: 1em; font-weight: bold;
text-transform: uppercase;
margin: 0; padding: 0;
}
em.faq_question {
font-style: normal; color: #ABABAB;
}

/* useful general classes */

.hide {
position: absolute;
left: -9999px; width: 9000px;
font-size: 1px; letter-spacing: -1px;
}

.clearer {
clear: both;
}

/* gallery stuff */
.gallery-caption {
	font-size: 115%;
	padding-bottom: 10px;
}
.gallery-caption img {
	padding: 0 10px 10px 0;
}
.gallery {
	margin: 0.4em 0 10px 0; border: none; padding: 5px 0 0 0;
	background: url("images/layout/news.underline.gif") no-repeat top center;
	text-align: center;
}
.gallery img {
	padding: 5px;
}
.image-caption {
	font-size: 115%;
	padding: 15px 30px;
}

/* Adverts
----------------------------------------------- */

#topadvert {
background: #414141 url("images/layout/bg3.gif") repeat-y 100% 0;
padding: 5px;
text-align: center;
border: 1px solid #292929;
}
#topadvert table {
margin:0 auto;
}
#longadvert {
padding: 10px;
}
#sideadvert {
margin: 0 0 10px 0;
}
#topadvert a, #longadvert a, #sideadvert a {
margin: 0; border: none; padding: 0;
background: none;
}
#topadvert img, #longadvert img, #sideadvert img {
margin: 0; border: none; padding: 0;
background: none;
}