/* Stylesheet for the WitchCraft site
 * medium: screen
 * 
 * author: Liono
 * date: 9 december 2010
 */
 
/* @import url(/iconize.css); 			/* embellish with icons */
 
/**************************** general styles ****************/ 
html {
	margin: 0;
	padding: 0;
	line-height: 1.12em;
	font-size: 1em;
}

body {
	color: #000099;
	font: 0.95em/1.25em Verdana, Geneva, Arial, Helvetica, sans-serif;
		background-image: url(img/background.jpg);
		background-repeat: repeat-y;
		background-size: contain;
		}

h1{
	font-size: 2em;
	margin: 0;
	color: #003399;

}
h2{
	font-size: 1.5em;
	margin: .83em 0;
	color: #000099;
}
h3{
	font-size: 1.17em;
	margin: 1em 0;
	color: #003399;
}
h4{
	margin: 1.33em 0;
	color: #000099;
}
h5{
	font-size: 0.83em;
	line-height: 1.17em;
	margin: 1.67em 0;
	color: #003399
}
h6{
	font-size: 0.67em;
	margin: 2.33em 0;
	color: #000099
}
/***************** positions *****************/
#conteneur{
	width:100%;
	max-width:1280px;
	margin:0 auto;
}
#header {
	/* the header on top of the page */
	margin: 0 auto 10px auto;
	height: 130px;
	width: 100%;
	background: no-repeat;
	background-position: top center;
}
#hdrleft { /* place the logo (120px x 120px) here, it displays in the upper left corner */
	float:left;
	height: 130px;
	width: 120px;
	padding: 0;
}
#header h1, #header p.tagline{
	/* the rest of the header centers on the whole whidth */
	text-align: center;
	color: #003399;
	font-weight: bold;
}
#header h1{
	padding-top:30px;
	font-size:2.5em;
}
#header p.tagline{
	font-size:1.3em;
}

#nav { /* the main navigation area */
	width: 200px;
	float:left;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
#main-menu { /* the nav common to all pages */
	font-size: 0.85em;
}
#sub-menu { /* the nav specific to the page: "on this page" and "see also..." */
	font-size: 0.85em;
	line-height: 1.5em;
}
#main-menu ul, #sub-menu ul { /* hide the bullets and do padding */
	margin: 2px 0 2px 0;
	padding: 2px 0 2px 0;
	list-style: none;
}
#main-menu li, #sub-menu li, #main-menu h3, #sub-menu h3 { /* set them close to each other */
	margin: 0 0 2px 0;
	padding: 0 0 2px 0;
	border-bottom: 0px;
	display: block;
}
#main-menu h3, #sub-menu h3 {
	/* style the nav blocks, their title is h3 */
	background-color: #003399;
	border-left: 16px, solid, #ffff00;
	padding: 0.5em;
	font: italic normal bold Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: right;
	letter-spacing: 0.25em;
	color: #FFFFFF;
}
#sub-menu h3 {
	/* make subnavs a little smaller */
	border-left: 16px solid;
	color : #CCFFFF;
	margin-top: -6px;
}
#main-menu li a, #sub-menu li a {
	/* style the list item links for the navs */
	display: block;
	padding: 0.5em;
	border-left: 4px solid #330099;
	border-right: 4px solid #330099;
	margin-left: 4px;
	margin-right: 4px;
	text-decoration: inherit;
	background-color: #CCFFFF;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #330099;
}
#sub-menu li a {
	/* make the difference */
	border-left: 4px solid #330099;
	border-right: 4px solid #330099;
	background-color: #CCFFFF;
}
#main-menu li a:hover, #sub-menu li a:hover {
	display: block;
	border-color: #330099;
	border-left: 4px solid #330099;
	border-right: 4px solid #330099;
	background-color: #BBEEEE;
}

#content {
	/* the main content block */
	margin: 0 0 0 210px;
	padding: 10px 10px 10px 10px;
	border: 2px solid #330099;
}

#footer{
	clear: both;
	background-color: transparent;
	color: #000066;
	font: italic 0.75em/1em Verdana, Geneva, Arial, Helvetica, sans-serif;
	width: 100%;
	padding: 10px 10px 10px 10px;
	margin-top: 10px;
	overflow: auto;
}
#footer p{
	width:100%;
}
#footer #lastupdate {
	float: left;
	width:48%;
}

#footer #copyright {
	float:right;
	text-align: right;
	width:48%;
}

/********* some useful styles:  *****************************/

abbr, acronym, .explain { /* underline with dots */
	border-bottom: 0.05em dotted White;
	cursor: help;
}

blockquote {
	/* set apart */
	border: 2px solid;
	border-color: #000066;
	text-align: left;
	color : #EEFFEE;
	padding: 0px 10px 0px 10px;
	margin: 0px 10px 0px 10px;
	font-style: italic;
}

#content table {
	/* style all the tables in the content area */
	border: 2px solid;
	border-color: AppWorkspace;
	background: transparent;
	font: icon;
	width: 90%;
	max-width: 98%; /* of the parent: content */
}

#content table thead tr th, 
#content table tfoot tr td, 
#content table tbody tr th {
	/* headers and footers */
	background: ButtonFace;
	font: small-caption;
	color: WindowText;
}

#content table tfoot tr td a:link, #content table tfoot tr td a:visited { 
	color: ButtonText;
}
#content table tbody tr td {
	text-align: left;
	padding: 4px 4px;
}
tr.even {
	background-color: #F0F0F0;
}

tr.odd {
	background-color: #F1E8D3;
}


/************************** specific styles ************/
#hdrright, #hdrright h1, #hdrright h2 {
	/* text-align: center; */
	padding-top: 0.75em;
	color: #003399;
}

#content ul#telguide li {
	line-height: 1.75em;
	/* padding-top: 2em; */
}

#content h1 {
	/* style the page specific title */
	background-color: #000066;
	margin: -9px -9px 0.5em;
	padding: 15px 5px 5px;
	font: italic bold 25px/25px Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: inherit;
	color: #CCFFFF;
}
#content h2, #content h3, #content h4, #content h5, #content h6 {
	/* subheadings */
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	text-align: left;
	padding-bottom: 0em;
}
#content p {
	text-indent: 1em;
	text-align: justify;
}
#content a
{
	color: #000066;
	text-decoration: underline;
	font-weight: bold;
}
#content table#civ-greffes {
	width: 90%;
}
dl {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11pt;
	color: #000099;
}
dt a {
	text-decoration: underline;
	font-weight: normal;
}
dt {
	font-weight: bold;
}

dd {
	font-size: 75%;
	padding: 0.5em 0 0.5em 0;
}


/*********************************************************************
 * IE6 does not support CSS3, neither does FF1.5.
 * So all embellishments with icons before a link have to be done
 * by adding a dedicated class.
 */
 
#content a.pdf {
	padding: 5px 0 5px 20px;
	background: transparent url(../dicemaster/icons/icon_pdf.gif) no-repeat center left;
}
#content a.doc {
	padding: 5px 0 5px 20px;
	background: transparent url(../dicemaster/icons/icon_doc.gif) no-repeat center left;
}
#content a.email,
#footer a.email {
 	padding: 5px 0 5px 20px;
	background: transparent url("../dicemaster/icons/icon_mailto.gif") no-repeat center left;
 }
