/*  

Theme Name: Annuaire
Theme URI: 
Description: Theme vide pour faire mes annuaires
Version: 0.1
Author: Thomas
Author URI: 

*/

/* main Style */

BODY {
	background-color: #f1eee8;
	color: #4d3935;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 130%;
	text-align: center;
}

BODY div {
 text-align:left;
}

A:link, A:active {
	color: #ff0365;
}

A:visited {
	color: #c4004c;
}

A:hover {
	color: #e300b5;
}

H1, H2, H3, H4 {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 125%;
}

small {
	font-size: 90%
}

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}


/* Base Layout */

	#content, #main-navigation UL, #footerbar {
		text-align: left;
		width: 998px;
		margin: 0 auto;
	}

 	/* header */
	
	#header {
		position: relative;
		overflow: hidden;
		height: 105px;
		background: #4d3835 url('images/header-bg.png') repeat-x left top;
	}
	
	#header #title {
		text-indent: -9000px;
		display: block;
		width: 301px;
		height: 97px;
		background: url('images/logo.png') no-repeat right bottom;
		position: absolute;
		top: 0;
		left: 50%;
		margin-left: -499px;
	}
	
	#header #branding P {
		display: none;
	}

	#header .widget_text, #header .Advman_Widget_widget, #header .Advman_Widget {
		position: absolute;
		background: url('images/header-pub-bg.gif') no-repeat right bottom;
		width: 618px;
		height: 105px;
		left: 50%;
		margin-left: -119px;
	}
	
	#header .widget_text .textwidget, #header .Advman_Widget_widget .textwidget, #header .Advman_Widget .textwidget {
		width: 478px;
		height: 70px;
		background: #fff;
		border: 1px solid #b39ba4;
		margin-left: 85px;
		margin-top: 14px;
	}

	#header .widget_text .textwidget div, #header .Advman_Widget_widget .textwidget div,  #header .Advman_Widget .textwidget div {
		margin: 5px;
	}

	/* main-navigation */
	
	#main-navigation {
		background: #fff url('images/main-navigation-bg.png') repeat-x left top;
		line-height: 37px;
		height: 39px;	
	}
	
	#main-navigation UL LI {
		display: inline;
		text-transform: uppercase;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 125%;
		padding: 0 1ex;
	}
	

	/* content */
	
	#content #primary  {
		float: left;
		width: 100%;
	}
	
	#wrapper {
		margin: 0 305px 0 165px;
		padding: 1ex;
	}
	
	#sb1 {
		float:left;
		margin-left:-998px;
		width:160px;
		padding: 1ex 0;
	}
	
	#sb2 {
		float:left;
		margin-left:-300px;
		width:300px;
		padding: 1ex 0;
	}
	
	#sb1 LI.widget, #sb2 LI.widget {
		padding-bottom: 1ex;
	}


	/* footer */
	
	#footer {
			background: #4c3734 url('images/footer-bg.png') repeat-x left top;
			color: #fff;
			clear: left;
			overflow: hidden;
			padding: 15px 0 1ex;
			font-size: 90%;
	}
	
	#footer .widget {
		width: 25%;
		float: left;
		margin-bottom: 1em;
	}
	
	#footer #attributions, #footer #partners {
		clear: both;
		text-align: center;
		color: #cab6b2;
		padding-bottom: 0.5ex;
		font-size: 90%;
	}
	
	#footer #partners LI {
		display: inline;
		padding: 0 0 0  1ex;
		border-left: 1px solid #7e6e64;
		font-size: 90%;
	}
	
	#footer #partners LI.first {
		border: none;
	}



/* Helpers */

		/* thumb */
		
		.post .post-thumb A {
			border: 1px solid #b39ba4;
			background: #fff;
			display: block;
			width: 130px;
			height: 100px;
			position: relative;
		}
		
		.post .post-thumb IMG {
			display: block;
			width: 120px;
			height: 90px;
			margin: 5px;
		}
		
		.post .post-thumb .CdC {
			text-indent: -9000px;
			position: absolute;
			top: 47px;
			left: 67px;
			display: block;
			height: 53px;
			width: 63px;
			background: url('images/cdc-band.gif') no-repeat bottom right;
		}

/* content */

#breadcrumbs {
	padding: 0 0 1ex;
	font-size: 80%;		
}

#intro {
	padding: 0 0 1ex;
}

	/* Categories listing */
	
	#primary .widget_categories {
		overflow: hidden;
		padding-bottom: 1em;
	}
	
	#primary .widget_categories strong {
		font-weight: bold;
		display: block;
		width: 100%;
	}
	
	#primary .widget_categories LI {
		width: 49%;
		display: block;
		float: left;
		line-height: 23px;
		clear: left;
		margin-left: 0;
	}
	
	#primary .widget_categories LI.pair {
		float: right;
		clear: right;
	}
	
	#primary .widget_categories .children LI {
		float: none;
		width: auto;
		margin-left: 1em;
		font-size: 90%;
	}
	
	#primary .wra h3 {
		clear: both;
	}

	/* items */
	
	#primary .post {
		clear: left;
		padding: 1ex 0.5ex 0;
		overflow: hidden;
	}
	
	#primary .post .post-thumb {
		width: 140px;
		float: left;
		padding-bottom: 1ex;
	}
	
	.lieninfo {
		display: block;
		text-indent: -9000px;
		height: 16px;
		background: url('images/lieninfo-bg.gif') no-repeat right top;
		margin-top: 3px;
	}
	
	.post P {
		text-align: justify;
	}
	
	.single #primary .post {
		background: url('images/single-item-bg.gif') no-repeat 0 10px;	
	}
	
	.single #primary .post H1 {
		height: 37px;
		font-size: 155%;
		overflow: hidden;
	}
	
	.single #primary .post .post-thumb {
		padding-bottom: 32px;
		padding-right: 30px;
		padding-left: 50px;
	}
	
	.post .meta LI {
		padding-top: 0.5ex;
	}
	
	.post .meta strong {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 125%;
	}
	
	.entry LI {
		margin-left: 1em;
		list-style: square;
	}


	/* form TDO */
	
	.tdomf_form input, .tdomf_form textarea {
		width: 400px;
	}
	
	.tdomf_form LI input, .tdomf_buttons input {
		width: auto;
	}

/* Sidebars */


.sb H1, .sb H2, .sb H3 {
	text-align: center;
	color: #ff0365;
}


	/* post */
	
	#sb2 .post {
		background: url('images/sb-item-bg.gif') no-repeat top center;
	}
	
	#sb2 .post .post-thumb {
		padding-top: 30px;
		text-align: center;
		padding-bottom: 8px;
	}
	
	#sb2 .post .post-thumb A {
		margin: 0 auto;
	}
	
	/* Text widget */
	
	.textwidget P, .textwidget LI {
		padding-bottom: 0.5ex; 
	}
	
	.textwidget LI {
		font-size: 90%;
		margin-left: 1em;
	}
	
	.textwidget textarea {
		width: 100%;
	}

	/* referrer */
	
	#sb1 #spw-refererrers {
		border: 1px solid #DCD6C8;
		padding-bottom: 0;
		margin-bottom: 1ex;
		overflow: hidden;
	}
	
	#sb1 #spw-refererrers H3 {
		background-color:#DCD6C8;
		color:#000000;
		font-family:Arial, Helvetica, sans-serif;
		font-size:80%;
		font-weight:bold;
		width: 65%;		
	}
	
	#sb1 #spw-refererrers UL {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 13px;
		padding: 4px;
	}
	
	#sb1 #spw-refererrers LI {
		padding-bottom: 1ex;
		line-height: 115%;
	}

#tag_cloud {
	text-align: center;
}

/* footer */

#footer H1, #footer H2, #footer H3 {
	color: #dcd6c8;
	font-size: 138%;
} 

/* menu, link & buttons */

	/* main-navigation */
	
	#main-navigation A:link, #main-navigation A:active, #main-navigation A:visited {
		color: #4d3835;
		text-decoration: none;
	}
	
	#main-navigation A:hover {
		color: #ff0465;
		text-decoration: none;
	}
	
	/* Categories listing */
	
	#primary .widget_categories A:link, #primary .widget_categories A:visited, #primary .widget_categories A:active {
		text-decoration: none;
		color: #4d3835;	
	}
	
	#primary .widget_categories A:hover {
		color: #ff0465;
		text-decoration: none;
	}
	
	/* post Meta + Tag cloud */
	
	.post .meta A:link, .post .meta A:visited, .post .meta A:active, #tag_cloud A:link, #tag_cloud A:active, #tag_cloud A:visited {
		text-decoration: none;
		color: #4d3835;	
	}
	
	.post .meta A:hover, #tag_cloud A:hover {
		color: #ff0465;
		text-decoration: none;
	}

	/* related */

	 .related A:link, .related A:active, .related A:visited {
		color: #ff0465;
		text-decoration: none;
		font-weight: bold;
	}
	
	.related A:hover {
		color: #e300b5;
	}

	/* lien-titres */

	H1 A:link, H2 A:link, H3 A:link, H1 A:visited, H2 A:visited, H3 A:visited, H1 A:active, H2 A:active, 	H3 A:active {
		text-align: center;
		color: #ff0465;
		text-decoration: none;
	}
	
	H1 A:hover, H2 A:hover, H3 A:hover {
		color: #e300b5;
	}
	
	/* footer */
	
	#footer A:link, #footer A:visited, #footer A:active {
		text-decoration: none;
		color: #dcd6c8;	
	}

	#footer .widget A:link, #footer .widget A:visited, #footer .widget A:active {
		text-decoration: none;
		color: #fff;	
	}
	
	#footer A:hover, #footer .widget A:hover {
		color: #ff0465;
		text-decoration: none;
	}		

	/* referrer widget */
	
	#sb1 #spw-refererrers A:link, #sb1 #spw-refererrers A:active, #sb1 #spw-refererrers A:visited, #sb1 #spw-refererrers A:hover {
		color: #ff0465;
		font-weight: bold;
	}


	/* bouton "inscription */
	
	#inscription_button {
		display: block;
		clear: both;
		text-align: center;
		padding: 1em 0 2em;
	}
	
	#inscription_button A:link, #inscription_button A:visited, #inscription_button A:active {
		display: block;
		text-indent: -9000px;
		background: url('./images/inscription.png') no-repeat center top;
		height: 49px;
	}
	
	#inscription_button A:hover {
		background: url('./images/inscription.png') no-repeat center -49px;
	}
	
	 #inscription_button A.vVert {
	 	background-image: url('./images/inscription-vert.png');
	 }
	 
	 #inscription_button A.vOrange {
	 	background-image: url('./images/inscription-orange.png');
	 }
	 
	 #inscription_button A.vBleu {
	 	background-image: url('./images/inscription-bleu.png');
	 }
	
	
/* special */

		#primary .tdomf_category_checklist LI {
			width: 49%;
			display: block;
			float: left;
			line-height: 23px;
			margin-left: 0;
		}
		
		#primary .tdomf_category_checklist LI.pair {
			float: right;
			clear: right;	
		}
		
		#primary .tdomf_category_checklist .tdomf_category_children LI {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 90%;
			padding-bottom: 0;
			float: none;
			width: auto;
			margin-left: 1em;
		}

	.related {
		padding-top: 0.5ex;		
	}
	
	.related li {
		font-size: 90%;
	}
	
	#searchform {
		padding: 1em 0;
		text-align: center;
	}

/* Override */

	/* HomePage */
	
		/* header */
		
		.home #header {
			height: 408px;
			background: #4d3835 url('images/header-home-bg.png') repeat-x left top;
		}
			
		.home #header #title {
			width: 465px;
			height: 222px;
			background: url('images/logo-home.png') no-repeat right bottom;
		}
		
		.home #header .widget_text, .home #header .Advman_Widget_widget {
			background: url('images/header-pub-home-bg.gif') no-repeat right bottom;
			width: 540px;
			height: 408px;
			margin-left: -41px;
		}
		
		.home #header .widget_text .textwidget, .home #header .Advman_Widget_widget .textwidget {
			width: 310px;
			height: 260px;
			margin-left: 117px;
			margin-top: 82px;
		}
		
		.home #primary .widget_categories LI {
			font-family: Georgia, "Times New Roman", Times, serif;
			font-size: 125%;
	
		}
		
		.home 	#primary .widget_categories .children LI {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 80%;
			padding-bottom: 0;
		}
		
	#intro strong {
		font-weight: normal;
	}
	
	
	#sb1 .widget_links h3, #sb1 .widget_rotate_links h3{
		display: none;
	}
	
	#sb1 .widget_links, #sb1 .widget_rotate_links {
		font-family: arial,sans-serif;
		font-size: 13px;
		line-height: 15px;
	}
	
	#sb1 .widget_links A, #sb1 .widget_rotate_links A {
		font-size: 13px;
		text-decoration: underline;
		display: block;
		font-weight: bold;
	}
	
	#sb1 .widget_links li, #sb1 .widget_rotate_links li {
		padding: 1ex 0;
	}
	
	
	/* CD popup */
	
	.apopBg {
		line-height: 100%;
	}
	
	.apopBg IMG {
		vertical-align: bottom;
	}

