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

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

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

div#mp_bar_ext {
	border: 1px solid #333;
	width: 100px;
	height: 10px;
	text-align: left;
}
div#mp_bar_int {
	background-color: #111;
	height: 10px;
}

ul#nav  {
	/* correction bug IE */
	position: absolute;
	top: expression(documentElement.scrollTop+body.scrollTop+100+"px"); 
	/* correction bug IE */
	right: 20px;
	width: 48px;
	height: 208px;
	margin: 0px;
	padding: 0px;
	padding-top: 4px;
	background : url("../img/Destruction/nav.png") no-repeat center;
	}

/* correction bug IE */
html[xmlns] ul#nav  { position: fixed; top: 100px;} 
html>body ul#nav  { position: fixed; top: 100px;}
/* correction bug IE */

ul#nav li {
	list-style-type: none;
	position: relative;
	float: left;
	display: block;
	width: 40px;
	height: 40px;
	margin: 0px 4px 1px;
	padding: 0px;
	}

ul#nav li a { 
	display: block;
	widht: 40px;
	height: 40px;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
	padding-bottom: 0px; /* compense l'attribut sur les paragraphe standard */
	}

ul#nav  li a:hover {
	background-position: -40px;
	}

#navportal { background : url("../img/Destruction/nav.portal.png") no-repeat left; }
#navdoc { background : url("../img/Destruction/nav.doc.png") no-repeat left; }
#navroots { background : url("../img/Destruction/nav.roots.png") no-repeat left; }
#navchronic { background : url("../img/Destruction/nav.chronic.png") no-repeat left; }
#navts { background : url("../img/Destruction/nav.teamspeak.png") no-repeat left; }

#support	{
	position: absolute;
	bottom: -120px;
	right: -20px;
	background: url('http://roots.aloade.net/thirdparty/img/guild.png') no-repeat center;
	width: 110px;
	height:120px;
	}

	#support a {
		text-decoration: none;
		font-size: 11px;
		color: #CA332C;
		text-align:center;
		font-weight: bold;
		padding-top: 40px;
		display: block;
		width: 110px;
		height: 80px;
		}

/* 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, .pun H4  { font-size: 1em }
.pun H3  { font-size: 1em }
#brdtitle H1 { font-size: 1.4em }
#brdtitle  { text-align: center }
#brdmenu { 
	line-height: 19px;
	font-size: 1em ;
	padding-top: 0px;
	text-align: center;
	}
.pun TH  { text-align: left }
.pun .tc2 { text-align: center }
.pun .tc3 { text-align: center }
/* 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}

/* 2.5 Bold text */

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, #brdtitle H1, .pun SPAN.warntext, .pun H2, .pun P.warntext {FONT-WEIGHT: bold}

/****************************************************************/
/* 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, .postleft A:link, .postleft A:visited, .postmsg A:link, .postmsg A:visited, .linkst A:link, .linkst A:visited, .postlinksb A:link, .postlinksb A:visited, .linksb A:link, .linksb A:visited, .bblinks A:link, .bblinks A:visited, .blockpost A:link, .blockpost A:visited, .forminfo A:link, .forminfo A:visited, #brdheader A:link, #brdheader A:visited, .blocktable A:link, .blocktable A:visited, .blockform A:link, .blockform A:visited, #punindex A:link, #punindex A:visited, .blockpost A:link, .blockpost A:visited, #brdfooter A:link, #brdfooter A:visited, .pagelinks A:link, .pagelinks A:visited, #brdstats A:link, #brdstats A:visited, #viewprofile A:link, #viewprofile A:visited, .inbox A:link, .inbox A:visited,
.blockmenu A:link, .blockmenu A:visited {
	TEXT-DECORATION: none }

#brdmenu A:hover, .blockpost H2 A:hover {TEXT-DECORATION:  underline}

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

/* 4.2 Special settings for the board header. */

#brdheader DIV.box  {
	background-color: transparent;
	border: none;
	margin: 0;
	padding: 0;
	}

/* 4.3 Borders for table cells */

.pun TD, .pun TH  { border-right: medium none; border-bottom: medium none }
.pun .tcl {BORDER-LEFT: none}

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

DIV>FIELDSET {
	BORDER-STYLE: solid;
	BORDER-WIDTH: 1px
}
.pun FIELDSET  { border: solid 1px #333 }
.pun INPUT, .pun SELECT, .pun OPTGROUP, .pun TEXTAREA { border: solid 1px #333 }
DIV.postmsg P.postedit {}
.pun TABLE {}

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

/* 5.1 Page margins */

HTML {
	}

BODY {
	background : #000 url("../img/Destruction/bg.jpg") repeat-x center 75%;
	background-attachment:fixed;
	margin: 0;
	padding: 10px 0px;
}
/**************************************************/
/*5.XX HEADER LOGO INSIDE PUNWRAP*/
#punwrap           {
	margin: 10px auto;
	padding: 0px;
	width: 750px;
}

#brdmenu {
	height: 24px;
}

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

DIV.blocktable, DIV.block, DIV.blockform, DIV.block2col, #postreview {MARGIN-BOTTOM: 10px}
#punindex DIV.blocktable, DIV.blockpost  { margin-bottom: 25px }
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, DIV.linksb {MARGIN-TOP: -12px}
DIV.postlinksb {MARGIN-TOP: -6px}

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

#brdstats  { margin-top: 15px }
#brdfooter { margin-top: 15px }
/****************************************************************/
/* 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 0 0 0 }
#brdtitle P {PADDING-TOP: 0px}
DIV.linkst {PADDING: 8px 6px 3px 6px}
DIV.linksb, DIV.postlinksb {PADDING: 3px 6px 8px 6px}
#brdwelcome, #brdfooter DL A, DIV.blockmenu LI, DIV.rbox INPUT  {LINE-HEIGHT: 1.4em}
#brdwelcome { margin-top: 20px; margin-bottom: 30px; border-top: 1px solid #222; border-bottom: 1px solid #222 }
#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}

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

/* 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;
	width:40px;
	height:30px;
}
 
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}
TD.tcl {padding-left: 4px;}

p.poll_info {
	text-align: center;
	clear: left;
	margin: 7px;
	}

div.poll_question {
	float: left;
	clear: both;
	text-align: right;
	width: 50%;
	margin: 0.3em;
	height: 1.2em;
	}

div.poll_result,div.poll_result_yesno {
	float: left;
	text-align: left;
	width: 45%;
	margin: 0.3em;
	padding: 0	;
	height: 1.2em;
	line-height: 1.2em;
	}

div.poll_result_yesno {
	width: 22%;
	margin-right: 0.1em;
	}

img.poll_bar {
	border-right: 2px solid #0066B9; /* teinte plus foncé que la couleur principale du forum */
	background-color: #006FC9; /* Couleur principale du forum */
	height: 1em;
	margin: 0;
}
