/*
Theme Name: UAM
Theme URI:
Description: Th&egrave;me du site de l'Union Accord&eacute;oniste mixte
Version: 1.0
Author: Dimiter Petrov
Author URI: 
*/

@import "initial.css";

html {
	background: #bbdbfb;
}
body {
	color: #000;
	background: #fff;
	font: 0.84em/1.8 "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 1em 0 0;
	font-weight: normal;
}

h1 a, h2 a, h3 a, h4 a { font-weight: normal; }

h1+h2, h2+h3, h3+h4, h4+h5, h5+h6 { margin-top: 0.3em;}

h1 { font-size: 1.6em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5{ font-size: 1.2em;  font-weight: bold;}
h6 { font-size: 1.1em;  font-weight: bold;}


p { margin: 0.5em 0 1em;}

a {
	color: #316AA0;
	font-weight: bold;
	text-decoration: none;
}
a:visited { color: #444;}
#content a:visited {
	padding-right: 1em;
	background: url(images/visited-link.gif) no-repeat 100% 50%;
}
a:hover, a:focus { color: #255079; border-bottom: 1px solid;}

dt {
	font-weight: bold;
	margin-top: 1em;
}

acronym, abbr, img { border: 0;}

hr {
	display: none;
}

.extra {
	position: absolute;
	left: -10000px;
}

.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
.clearfix {display:inline-block;}
 /* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */

/****************************
	FORMS
*****************************/


form ol, ul {
	margin: 0;
	padding: 0;
}

form li {
	list-style: none;
	display: block;
	padding: 0.5em 0;
	width: 100%;
	margin: 0;
	clear: both;
}

legend {
	font-weight: bold;
}

label{
	margin: 0.7em 0;
}

#commentform {
	margin-bottom: 1em;
}

#commentform legend {
	display: none;
}
#commentform label {
	display: block;
	float: left;
	margin-right: 4em;
}
#commentform label span {
	display: block;
	clear: both;
}
#commentform #submit {
	display: block;
	clear: both;
}


/******************************
	PAGE STRUCTURE
*******************************/

#header .wrap, #nav-main ul, #content, #sponsors {
	width: 90%;
	max-width: 68em;
	margin: 0 auto;
}

#header a, #nav-extra a, #content-extra a {
	color: #00175C;
	border: none;
}
#header a:hover, #nav-extra a:hover, #content-extra a:hover {
	border-bottom: 1px solid #00175C;
}

#header {
	background: #bbdbfb;
	padding: 0;
}
	#header .wrap {
		height: 170px;
		padding: 3px 0 0;
		background: url(images/logo.gif) 10% 5px no-repeat;
	}
	#header .wrap * {
		margin-left: 33%;
	}
	#header .wrap * * {
		margin-left: 0;
	}
	#header h1 {
		font-size: 2em;
		margin-top: 1em;
		font-weight: bold;
	}
	#header p {
		font-size: 1.4em;
		color: #444;
		margin-top: 0;
	}

#nav-extra {
	padding: 3px 0 0;
	list-style: none;
}
	#nav-extra li {
		display: inline;
		margin: 0 3ex 0 0;
	}
	#nav-extra form {
		display: inline;
	}
	#nav-extra label, #nav-extra h2 {
		position: absolute;
		top: -10000px;
		padding: 0;
	}
	#nav-extra .skip {
		position: absolute;
		left: -10000px;
	}

#nav-main, #nav-extra {
    font-size:93%;
    line-height:normal;
}
	
#nav-main {
    width: 100%;
	float: left;
	clear: both;
	padding: 0;
	margin: 0 0 1em;
	background: #bbdbfb url(images/nav-main_bg.gif) left bottom repeat-x;
}
	#nav-main h2 {
		position: absolute;
		left: -10000px;
	}
	#nav-main ul {
		padding: 0;
		list-style:none;
		max-width: 74em;
      }
    #nav-main li {
		float:left;
		background:url(images/left_both.gif) no-repeat left top;
		margin: 0;
		padding:0 0 0 9px;
		border-bottom: 1px solid #074a8e;
    }
    #nav-main a {
		float:left;
		display:block;
		width:.1em;
		background:url(images/right_both.gif) no-repeat right top;
		padding:5px 15px 5px 6px;
		text-decoration:none;
		border: none;
		font-weight:bold;
		color:#00175C;
		white-space: nowrap;
    }
    #nav-main ul > li a {width:auto;}
    /* Commented Backslash Hack extras rule from IE5-Mac \*/
    #nav-main a {float:none;}
    /* End IE5-Mac hack */
    #nav-main  a:hover {
		color:#222;
    }
    #nav-main .current_page_item, #nav-main .current-cat {
		background-position:0 -150px;
		border: none;
    }
	#nav-main .current_page_item a, #nav-main .current-cat a {
		background-position:100% -150px;
		padding-bottom:6px;
		color:#222;
    }
    #nav-main li:hover, #nav-main li:hover a {
		background-position:0% -150px;
	    color:#222;
    }
    #nav-main li:hover a {
		background-position:100% -150px;
    }
	
#content{
	margin: 0 auto 2em;
}

#content-main {
	width: 67%;
	float: right;
}
    #content-main img {
		xwidth: 100%;
        max-width: 100%;
	}
	#intro {
		padding-bottom: 1em;
		border-bottom: 1px solid #ddd;
	}
	.post {
		margin-bottom: 2em;
	}
	.postmetadata {
		padding: 0.5em 0;
		border-top: 1px solid #ddd;
	}
	ol.commentlist {
		padding-left: 2em;
	}
	.ddsg-sitemap li ul {
		margin-left: 2em;
	}

#content-sub {
	width: 30%;
	float: left;
}

#photo {
	margin-top: 2.6em;
}
	#photo img {
		width: 100%;
		border: 1px solid #ddd;
		padding: 3px;
	}
	
	#searchform {
		clear: both;
	}
		#searchform fieldset{
			display: inline;
			border: none;
			padding: 0;
		}
	
	#nav-secondary {
		margin: 2em 0;
		padding: 0;
		background: url(images/nav-secondary_right.gif) top right no-repeat;
	}
		#nav-secondary h2 {
			position: absolute;
			left: -10000px;
		}
		#nav-secondary ul {
			margin: 0;
			padding: 0;
			list-style: none;
		}
		#nav-secondary  #menu{
			padding: 1em 0 0 0;
			background: url(images/nav-secondary_left.gif) top left no-repeat;
		}
		#nav-secondary #menu li {
			width: 70%;
			margin: 1em auto 0;
			padding: 0 0 0 20px;
			background: url(images/bullet_arrow.gif) 0 0.2em no-repeat;
		}
			#nav-secondary #menu li a {
				border: none;
			}
			#nav-secondary #menu li.current_page_item a {
				color: #000;
				border-bottom: 1px solid #000;
			}
			#nav-secondary #menu li.current_page_item li a {
				color: #316AA0;
				border-bottom: none;
			}
		#nav-secondary #menu ul li {
			margin: 0;
			padding: 0 0 0 20px;
			background: url(images/bullet_blue.gif) 0 0.2em no-repeat;
		}

#footer {	
	position: relative;
	clear: both;
	background: #bbdbfb url(images/footer_bg.gif) top repeat-x;
	padding: 1em;
	text-align: center;
}

#footer #sponsors {
	text-align: left;
}
	#footer #sponsors li {
		list-style: none;
		width: 30%;
		float: left;
		margin-right: 1%;
	}
