/*
Theme Name: aqp
Theme URI: http://www.quartierdeprelaz.ch/
Author: ergopix sàrl
Author URI: http://www.ergopix.com/
*/
* {
	outline:none;
	margin:0;
	padding:0;
}

html{
	height: 100%;
}

body {
	background-image:url(images/background_top_header.jpg);
	background-position:top;
	width:100%;
	background-repeat:repeat-x;
	background-color:#CBD9DC;
	font-family:Arial;
	margin:0;
	padding:0;
	height: 100%;
}

a img {
	border:none;
}

#page {
	width:710px;
	margin:0 auto;
}

#header{
	width:710px;
	float: left;
}

#header ul {
	float:left;
	list-style:none outside none;
	margin-left:150px;
	margin-top:8px;
}

#header ul {
	margin-left/*\**/:143px\9
}

#header ul li {
	display:inline;
	border-right:dotted 1px #afaba0;
	padding-left:5px;
	padding-right:10px;
}

#header ul li a {
	font-size:12px;
	color:#999999;
	text-decoration:none;
	text-transform:uppercase;
}

#header ul li a:hover {
	color:#666;
}

#logo {
	background-image:url(images/logo.gif);
	display:block;
	float:left;
	height:46px;
	margin-top:60px;
	width:367px;
}

#banner_inscription {
	background-image:url(images/inscription.png);
	display:block;
	float:left;
	height:80px;
	margin-left:151px;
	width:192px;
}

#content {
	float:left;
	width:700px;
	border-top:1px dotted #AFABA0;
}

.first {
	width:100%;
	height:100%;
	background-color:red;
}

.second {
	width:100%;
	height:100%;
	background-color:blue;
}

.third {
	width:100%;
	height:100%;
	background-color:yellow;
}

#menu {
	width:710px;
	float:left;
}

#menu ul {
	list-style:none outside none;
}

#menu ul li {
	border-right:1px dotted #AFABA0;
	display:block;
	float:left;
	padding:5px 20px;
	text-align:left;
	width:200px;
}

#menu ul li a {
	font-size:20px;
	font-weight:bold;
	color:#999999;
	text-decoration:none;
	text-transform:uppercase;
}

#menu ul li a:hover,.current_page_item a,.current_page_parent a {
	color:#666!important;
}

#sub_menu,#sub_menu_agenda {
	float:left;
	margin-top:20px;
}

#sub_menu ul,#sub_menu_agenda ul {
	list-style:none outside none;
}

#sub_menu ul li,#sub_menu_agenda ul li {
	padding-bottom:5px;
}

#sub_menu ul li a,#sub_menu_agenda ul li a {
	font-size:14px;
	color:#999999;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:normal;
}

#sub_menu ul li ul {
	margin-left:15px;
}

#sub_menu ul li ul li{
	padding-bottom:0px;
}

#sidebar {
	border-right:1px dotted #AFABA0;
	float:left;
	height:100%;
	padding-right:20px;
	width:200px;
}

#sidebar a:hover {
	color:#666;
}

.text_menu {
	text-transform:uppercase;
	color:#999;
	font-size:14px;
}

.text_news {
	float:right;
	padding:20px;
	width:261px;
	color:#FFF;
}

.text_news h1 {
	font-size:16px;
	font-weight:bold;
	text-transform:uppercase;
	margin-bottom:15px;
}

.text_news p {
	font-size:15px;
}

.more {
	color:#FFFFFF;
	display:block;
	font-size:14px;
	margin-top:15px;
	text-decoration:none;
}

a.more:hover {
	color:#666;
}

#txt_content {
	float:left;
	padding:20px;
	width:439px;
	font-size:14px;
	color:#666666;
}

#txt_content_without_sidebar {
	padding:20px 0;
	font-size:14px;
	color:#666666;
}

#txt_content h1,#txt_content_without_sidebar h1 {
	font-size:20px;
	font-weight:bold;
	color:#666;
	text-decoration:none;
	text-transform:uppercase;
	margin-bottom:10px;
}

#txt_content h2,#txt_content_without_sidebar h2 {
	font-size: 15px;
	color:#666666;
	text-decoration:none;
	text-transform:uppercase;
	font-weight: bold;
	margin-bottom:5px;
}

#txt_content p,#txt_content_without_sidebar p {
	margin-bottom:10px;
}

#txt_content ul,#txt_content_without_sidebar ul {
	list-style-position:inside;
	padding-bottom:10px;
	padding-left:12px;
}

#txt_content a:hover,#txt_content_without_sidebar a:hover {
	text-decoration:underline;
}

.post-edit-link,#txt_content a,#txt_content_without_sidebar a {
	color:#666;
	text-decoration:none;
}

.post-edit-link {
	display:block;
}

#sub_menu h2 {
	color:#666666;
	font-size:15px;
	margin-bottom:9px;
	margin-top:5px;
	text-transform:uppercase;
}

#sub_menu p {
	color:#666666;
	font-size:14px;
	margin-top:5px;
}

p img {
	padding:0;
	max-width:100%;
}

img.centered {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

img.alignright {
	display:inline;
	margin:10px 0 10px 7px;
	padding:4px;
}

img.alignleft {
	padding:4px;
	margin:0 7px 2px 0;
	display:inline;
}

.alignright {
	float:right;
}

.alignleft {
	float:left;
}

.aligncenter,div.aligncenter {
	display:block;
	margin:10px auto;
}

.wp-caption {
	background-color:#CBD9DC;
	border:1px solid #999999;
	margin:0 10px 10px 0;
	padding-top:5px;
	text-align:center;
}

.wp-caption img {
	margin:0;
	padding:0;
	border:0 none;
}

.wp-caption p.wp-caption-text {
	border-top:1px solid #999999;
	font-size:10px;
	margin-bottom:0!important;
	margin-left:0!important;
	font-style:italic;
	margin-right:0!important;
	margin-top:5px;
	padding:2px 4px;
}

html,body,#wrap {
	height:100%;
}

body > #wrap {
	height:auto;
	min-height:100%;
}

#main {
	overflow:auto;
	padding-bottom:48px; /* must be same height as the footer */
}

#footer {
	position:relative;
	margin-top:-48px; /* negative value of footer height */
	height:48px; 
	clear:both;
	background-image: url(images/footer.png);
	background-repeat: repeat-x;
	text-align: center;
}
	
/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;
}

#footer_txt{
	color:#666666;
	font-size:12px;
	padding-top:22px;
	margin-left: -45px;
}

#footer_txt a img{
	padding-left: 300px;
	margin-top: -50px;
}


#footer_txt a{
	color: #666;
	text-decoration: none;
}

#footer_txt a:hover{
	color: #3399FF;
}

.text_news .ec3_schedule{
	display: none;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -142px; /* the bottom margin is the negative value of the footer's height */
}
.footer, .push {
	height: 142px; /* .push must be the same height as .footer */
}

