/*
"Mostly Letters"
This is a style for the PA wallpaper dump by Dirhael

Tested and working in:
	Opera 9.5/10
	Firefox 3/3.1
	Google Chrome 1.0.154.43
	Internet Explorer 7

Looks best in any CSS3 compatible browser, and a X resolution >= 1024

NOTE:	This stylesheet is still work-in-progress.

TODO:	Add dynamic media queries to better adapt to any resolution.
	Making the width completely dynamic does not really look good on high-res
	widescreen monitors, the CSS3 alternative is the best option.

TODO:	Clean up the stylesheet selectors and fully separate layout/colour.

TODO:	Locate and remove values that are no longer needed.

TODO:	Low priority, but test in IE6. Stats shows this is not really needed though.

*/

/****************************************************************/
/* 1. IMPORTED STYLESHEETS */
/****************************************************************/

/* Import the basic setup styles */
@import url(imports/base.css);
/* Import the colour scheme */
@import url(imports/Mostly_Letters_cs.css);

/* BASE.CSS OVERRIDES AND MORE... */

#announce h2,
#brdstats h2 {
	position:static;
	left:0;
	width: auto
}

span.byuser { display: block }

#punviewforum div.linkst,
#punviewtopic div.linkst,
#pungallery div.linkst,
#pungallery_post div.linkst,
#punpost div.linkst,
#punedit div.linkst,
#pundelete div.linkst,
#punmoderate div.linkst {
	padding-top: 1.5em;
	margin-bottom: 0.5em
}

#punviewforum div.linksb,
#punviewtopic div.linksb,
#punviewtopic div.postlinksb,
#pungallery div.linksb {
	margin-bottom: 1.4em
}

div.linkst ul:before, div.linksb ul:before, div.postlinksb ul:before { content: 'Location: ' }


div.linkst ul {
	margin-left: 0;
	position: absolute;
	margin-top: -1.5em;
}

div.linksb ul, #punviewtopic div.postlinksb ul {
	margin-left: 0;
	margin-top: -0.3em;
	float: left;
	clear: both;
}

/* BASE_ADMIN.CSS OVERRIDES */

.pun #adminconsole .block2 { margin-top: 0 }

div.block2col div.blockform, div.block2col div.block, #viewprofile dd { margin-left: 13em }

.pun #adminconsole td, .pun #adminconsole th { border-width: 1px 0px 1px 0px }

.pun #adstats dd { margin-bottom: 2px }


/****************************************************************/
/* 2. TEXT SETTINGS */
/****************************************************************/

.pun, .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {
	font-family: Georgia, "Bitstream Vera Serif", "DejaVu Serif", Verdana, Helvetica, sans-serif, Arial;
}

.pun {
	font-size: 12px;
	line-height: 1.4em
}

/* Set font size for tables because IE requires it */
.pun table, .pun input, .pun select, .pun optgroup, .pun textarea, div.postmsg p.postedit {
	font-size: 1em
}

.pun pre {
	font-family: monaco, "Bitstream Vera Sans Mono", "Courier New", courier, monospace
}

.pun h2, .pun h4 {
	font-size: 2em;
	line-height: 1.8em
}

.pun .block2col h2, .pun h4 {
	font-size: 1.25em
}

.pun h2:first-letter {
	font-size: 1.25em;
	text-transform: uppercase;
	display: block;
	border: 3px double #fff
}

.pun h3, .pun #brdmenu, #brdtitle span { font-size: 1.5em }

.pun h1 {
	font-size: 2.5em;
	line-height: 1.5em;
}

div.postmsg p { line-height: 1.4 }

div.postleft dt { font-size: 1.1em }

.pun pre { font-size: 1.2em }

div.postleft dt, div.postmsg h4, div.forminfo h3, p.postlink, div.linkst li,
div.linksb li, div.postlinksb li, .blockmenu li, .pun span.warntext, .pun p.warntext {
	font-weight: bold
}

/****************************************************************/
/* 3. LINKS */
/****************************************************************/

.pun a:link, .pun a:visited { text-decoration: none }

.pun a:hover { text-decoration: underline }

/* Make sure the link to the current page/section stands out */

#punfora li#navindex a,
#punnews li#navextra1 a,
#punindex li#navindex a,
#pungallery li#navextra1 a,
#pungallery_post li#navextra1 a,
#punviewforum li#navindex a,
#punviewtopic li#navindex a,
#punpost li#navindex a,
#punedit li#navindex a,
#punuserlist li#navuserlist a,
#punsearch li#navsearch a,
#punprofile li#navprofile a,
#punmisc li#navprofile a,
#punadmin li#navadmin a,
#punregister li#navregister a,
#punlogin li#navlogin a {
	border-width: 1px;
	border-style: solid;
	padding: 0 0.75em
}


/****************************************************************/
/* 4. BORDER WIDTH AND STYLE */
/****************************************************************/

.pun td, .pun th, div.box, div.forminfo { border-width: 0 }

.pun blockquote, div.codebox, dd.postavatar img,
#galleryblock img, #gcatview .tcl img, #pungallery .tc3 img {
	border-style: double;
	border-width: 3px
}

div.blockpost label, div fieldset {
	border-style: solid;
	border-width: 1px
}

/****************************************************************/
/* 5. VERTICAL AND PAGE SPACING */
/****************************************************************/

html, body {
	margin: 0;
	padding: 0
}

#punwrap {
	margin: 0 auto;
	width: 916px;
	padding: 0 19px
}



/****************************************************************/
/* 6. SPACING AROUND CONTENT */
/****************************************************************/

/* 6.1 Default padding for main items */

div.block div.inbox, div.blockmenu div.inbox {padding: 3px 6px}
.pun p, .pun ul, .pun dl, div.blockmenu li, .pun label, #announce div.inbox div {padding: 3px 0}
.pun h2 {padding: 4px 6px}

/* 6.2 Special spacing for various elements */

.pun h1 {padding: 3px 0px 0px 0}
#brdtitle p {padding-top: 0px}

div.linkst, div.linksb, div.postlinksb {padding:  0 6px}

#brdwelcome, #brdfooter dl a, div.blockmenu li, div.rbox input  {line-height: 1.4em}
#viewprofile dt, #viewprofile dd {padding: 0 3px; line-height: 2em}

/* 6.4 Create some horizontal spacing for various elements */

#brdmenu li, div.rbox input, div.blockform p input  {margin-right: 12px}

/* OTHER */

#brdtitle {
	padding-top: 20px;
	padding-bottom: 15px
}


/****************************************************************/
/* 7. SPACING FOR TABLES */
/****************************************************************/

.pun th, .pun td {padding: 4px 6px}

.pun td p {padding: 5px 0 0 0}


/****************************************************************/
/* 8. SPACING FOR POSTS */
/****************************************************************/

/* 8.1 Padding around left and right columns in viewtopic */

div.postleft dl, div.postright {padding: 6px}

/* 8.2 Extra spacing for poster contact details and avatar */

dd.usercontacts, dd.postavatar {margin-top: 5px}
dd.postavatar {margin-bottom: 5px}

/* 8.3 Extra top spacing for signatures and edited by */

div.postsignature, div.postmsg p.postedit {padding-top: 15px}

/* 8.4 Spacing for code and quote boxes */

div.postmsg h4 {margin-bottom: 10px}
.pun blockquote, div.codebox {margin: 5px 15px 15px 15px; padding: 8px}

/* 8.5 Padding for the action links and online indicator in viewtopic */

div.postfootleft p, div.postfootright ul, div.postfootright div {padding: 10px 6px 5px 6px}

/* 8.6 This is the input on moderators multi-delete view */

div.blockpost input, div.blockpost label {
	padding: 3px;
	display: inline
}

p.multidelete {
	padding-top: 15px;
	padding-bottom: 5px
}

/* 8.7 Make sure paragraphs in posts don't get any padding */

div.postmsg p {padding: 0}


/****************************************************************/
/* 9. SPECIAL SPACING FOR FORMS */
/****************************************************************/

/* 9.1 Padding around fieldsets */

div.blockform form, div.fakeform {padding: 20px 20px 15px 20px}
div.inform {padding-bottom: 12px}

/* 9.2 Padding inside fieldsets */

.pun fieldset {padding: 0px 12px 0px 12px}
div.infldset {padding: 9px 0px 12px 0}
.pun legend {padding: 0px 6px}

/* 9.3 The information box at the top of the registration form and elsewhere */

div.forminfo {
	margin-bottom: 12px;
	padding: 9px 10px
}

/* 9.4 BBCode help links in post forms */

ul.bblinks li {padding-right: 20px}

ul.bblinks {padding-bottom: 10px; padding-left: 4px}

/* 9.5 Horizontal positioning for the submit button on forms */

div.blockform p input {margin-left: 12px}

/****************************************************************/
/* 10. POST STATUS INDICATORS */
/****************************************************************/

/* 10.1 These are the post status indicators which appear at the left of some tables.
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. By default only .inew is different from the default.*/

div.icon {
	float: left;
	margin-top: 0.3em;
	margin-left: 0.4em;
	display: block;
	border-width: 0.6em 0.6em 0.6em 0.6em;
	border-style: solid
}

div.searchposts div.icon {margin-left: 0}

/* 10.2 Class .tclcon is a div inside the first column of tables with post indicators. The
margin creates space for the post status indicator */

td div.tclcon {margin-left: 2em}


/****************************************************************/
/* 11. SPECIAL STUFF I HAVEN'T SORTED IN A CATEGORY YET */
/****************************************************************/

div#gfilters label, div#gfilters select, div#gfilters li { display: inline }


/* Use CSS3 functionality to create hover effects for gallery thumbnails to make
  them stand out better when hovered, and make them less eye-catching when not */

#gcatview tr:not(:hover) .tcl img, #pungallery tr:not(:hover) .tc3 img,
#galleryblock img:not(:hover) {
	opacity: 0.85
}

#gcatview th.tcl, #gcatview td.tcl { width: 170px }

#gcatview td.tcl { text-align: center }

#gcatview .tc2 { width: 75% }

#gcatview .tc2 h3 { font-size: 1.2em; font-weight: bold }

#gcatview td.tcr { width: 25% }

#pungallery .tcmod { width: 5em }

/* Styling for the BBCode input field and the description */
.pun input.getbbcode {
	display: block;
	width: 99%;
	text-align: center;
	border: 1px solid #ccc;
	color: #444
}

.pun p.getbbcode {
	width: 80%;
	margin: 4px auto;
}

/* The "image posted by <user>" text doesn't need to stand out all that much */

.gpostedby {
	font-size: 0.8em;
	color: #666
}


/* Improve the usability of the pagination links...the defaults are not all that good */

div.linkst .pagelink a, div.linkst .pagelink strong,
div.linksb .pagelink a, div.linksb .pagelink strong,
div.postlinksb .pagelink a, div.postlinksb .pagelink strong,
div.linkst .pagelink span, div.linksb .pagelink span, div.postlinksb .pagelink span {
	border-right: 1px solid #ccc;
	padding: 0 5px
}

div.linkst .first, div.linksb .first, div.postlinksb .first { border-left: 1px solid #ccc }


#adminconsole th {
	width: 10em !important
}

#galleryblock img {
	max-width: 175px;
	max-height: none
}

/* The End */
