/* FallenCraft theme for punBB
 * Copyright 2006 fallengalaxy.com
 * All rights reserved.
 * Design by J. Gottero
 * Contact : jeremiegottero@gmail.com
 */

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

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

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

/* 2.1 This sets the default Font Group */

.pun, .pun input, .pun select, .pun textarea, .pun optgroup {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.pun {
	font-size: 11px;
	line-height: normal;
}

/* IEWin Font Size only - to allow IEWin to zoom. Do not remove comments \*/
* html .pun {
	font-size: 68.75%;
}
/* End IE Win Font Size */

/* 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;
}

/* 2.2 Set the font-size for preformatted text i.e in code boxes */

.pun pre {
	font-family: monaco, "bitstream vera sans mono", "courier new", courier, monospace
}

/* 2.3 Font size for headers */

.pun h2 {
	font-size: 1.2em;
}
.pun h3 {
	font-size: 1.1em;
}
.pun h4 {
	font-size: 1.1em;
}

/* 2.4 Larger text for particular items */

div.postmsg p {
	line-height: 1.4;
}
div.postleft dt {
	font-size: 1.1em;
}
.pun pre {
	font-size: 1.2em;
}
.pun th {
	font-size: 9px;
}
#brdwelcome {
	font-size: 10px;
}

/* 2.5 Bold text */

.pun h2, div.postleft dt, div.postmsg h4, td.tcl h3, div.forminfo h3, p.postlink, div.linkst li,
div.linksb li, div.postlinksb li, .blockmenu li, .pun span.warntext, .pun p.warntext,
#brdmenu li a  {
	font-weight: bold;
}
#navextra1 a, #navextra2 a, #navextra3 a, #navextra4 a{
	font-weight: normal !important;
}

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

/* 3.1 Remove underlining for main menu, post header links, post links and vertical menus */

#brdmenu a:link, #brdmenu a:visited, .blockpost dt a:link, .blockpost dt a:visited, .blockpost h2 a:link,
.blockpost h2 a:visited, .postlink a:link, .postlink a:visited, .postfootright a:link, .postfootright a:visited,
.blockmenu a:link, .blockmenu a:visited {
	text-decoration: none;
}

/* 3.2 Underline on hover for links but in header */

.blockpost dt a:hover, .blockpost h2 a:hover, .postlink a:hover, .postfootright a:hover, .blockmenu a:hover {
	text-decoration: underline;
}
#brdmenu li a:hover {
	background-repeat: repeat-x;
	text-decoration: none !important;
}

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

/* 4.1 By default borders are 1px solid */

div.box, .pun td, .pun th, .pun blockquote, div.codebox, div.forminfo, div.blockpost label {
	border-style: solid;
	border-width: 1px;
}
h2 {
	border-style: solid;
	border-width: 1px 1px 0 1px;
}

/* 4.2 Borders for table cells */

.pun td, .pun th  {
	border-bottom: none;
	border-right: none;
}
.pun th  {
	border-top: none;
}
.pun .tcl {
	border-left: none;
}

/* 4.3 Special setting for fieldsets to preserve IE defaults */

div>fieldset {
	border-style: solid;
	border-width: 1px;
}

/* 4.4 Remove border on header */

#brdheader .box {
	border: 0 !important;
} 

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

/* 5.1 Page margins */

html, body{
	margin: 0;
	padding: 0;
}
#punwrap{
	margin: auto;
	width: 760px;
}
.pun{
	padding: 0px 18px 0px 18px;
}
#brdheader {
	padding-top: 170px;
}

/* 5.2 Creates vertical space between main board elements (Margins) */

div.blocktable, div.block, div.blockform, div.block2col, #postpreview {
	margin-bottom: 12px;
}
#punindex div.blocktable, div.blockpost {
	margin-bottom: 6px;
}
div.block2col div.blockform, div.block2col div.block {
	margin-bottom: 0px;
}

/* 5.3 Remove space above breadcrumbs, postlinks and pagelinks with a negative top margin */

div.linkst {
	margin-top: 0px;
}
div.linksb {
	margin-top: -12px;
}
div.postlinksb {
	margin-top: -6px;
}

/* 5.4 Put a 12px gap above the board information box in index because the category tables only
have a 6px space beneath them */

#brdstats {
	margin-top: 12px;
}

/****************************************************************/
/* 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 {
	padding: 0px 8px 0px 6px;
}
div.linksb, div.postlinksb {
	padding: 0px 8px 8px 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;
}
#brdwelcome {
	clear: both;
	padding: 0;
	margin-bottom: 0;
}

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

div.rbox input, div.blockform p input  {
	margin-right: 12px;
}

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

.pun th {
	padding: 0;
}
.pun td {
	padding: 4px 6px;
}
.pun td p {
	padding: 5px 0 0 0;
}

.tcl {
	width: 60%;
}
.tc2 {
	width: 6%;
}
.tc3 {
	width: 6%;
}
.tcr {
	width: 28%;
	text-align: center;
}

/* text align for all the TH */

.pun th {
	text-align: center;
}

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

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

div.postleft dl, div.postright {
	padding: 6px;
}
div.postright {
	margin-left: 18em;
	border-left-width: 1px;
}
div.postleft {
	border-right-width: 1px;
	border-right-style: solid;
}

/* 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: 2px 8px;
}
div.postfootright {
	margin-left: 18em;
	border-left-width: 1px;
	border-top-width: 1px;
	border-top-style: solid;
}
div.postfootleft {
	border-right-width: 1px;
	border-right-style: solid;
	border-top-width: 1px;
	border-top-style: solid;
}

/* 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;
}

/* 8.8 Adding border to the form inputs */

.pun textarea, .pun input, .pun select {
	border-width: 1px;
	border-style: solid;
}

/* 8.9 Post preview */

#postpreview div.postright{
	margin: 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;
	display: block;
	width: 16px;
	height: 16px;
}

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: 1.7em;
}
td.tcl {
	padding-left: 3px;
}


/****************************************************************/
/* 11. ADDED IN STUFF                                           */
/****************************************************************/

/* 11.1 Images settings */

/* Page background */
.pun {
	background-repeat: no-repeat;
	background-position: top center;
}

/* Titles icon */
h2 span {
	padding-left: 12px;
	background-position: 0px 4px;
	background-repeat: no-repeat;
}
h2 span .conr {
	background: none !important;
}

/* Footer image */
#brdfooter {
	padding-bottom: 20px;
	margin-left: -18px;
	padding-left: 18px;
	margin-right: -18px;
	padding-right: 18px;
	background-position: center bottom;
	background-repeat: no-repeat;
	margin-bottom: 0px;
}

/* Remove the background from the redirect page */
#punredirect {
	background: url('../img/FallenCraft/black.gif');
	padding: 10px;
}

div#footextra{
	text-align: center;
	margin-bottom: 10px;
	font-size: .7em;
}

/* 1.2 Header changes */

/* Hide title */
#brdtitle {
	visibility: hidden;
	position: absolute;
	top: 0px;
	margin-left: -18px;
}

/* Show description */
#brdtitle p {
	position: absolute;
	top: 0px;
	visibility: visible;
	font-weight: bold;
}

/* Navigation bar */
#brdmenu {
	position: absolute;
	top: 120px;
	clear: both;
	height: 29px;
	width: 754px;
	margin-left: -18px;
	padding: 0;
	padding-left: 6px;
	padding-top: 17px;
	background-repeat: no-repeat;
}

#brdmenu ul {
	padding: 0 !important;
}

/* Navigation menu items */
#brdmenu li a  {
	padding-left: 10px;
	padding-right: 10px;
	display: block;
	float: left;
	height: 24px;
	line-height: 24px;
}

