/*
	Theme Name: Contant
	Theme URI: http://www.contant.fr
	Description: 
	Version: 1.0
	Author: IRCF
	Author URI: http://ircf.fr
*/

/* Typography and colors */
@font-face {
	font-family: "HancockParkLaser";
 	src: url("fonts/hancok-b.ttf") format('truetype');
	font-style: normal;
}
body {
	font-family: lucida,"lucida sans",sans-serif,sans;
	font-size: 13px;
	line-height: 1.4em;
  	color: #333;  	
}
h1{
	font-family: "HancockParkLaser";	
	font-weight: normal;
	font-size: 2.2em;
	color: #0f51c7;
	letter-spacing: -0.06em;
	line-height: 1.0em;
	margin: 20px 0;
}
h2{
	font-size: 1.2em;
	margin: 20px 0 10px;
}
a{
	text-decoration: none;
}
a:hover{
}
em{
}
strong {
	/*color: #9dcffd;*/
	color: #0075d9;
}
h3,p,ul{
	margin:10px 0;
	padding:0;
}
img {
	border: 2px solid #0d357b;
}

/* Page */
#header .wrapper,
ul.menu,
#content .wrapper,
#footer .wrapper {
	width:960px;
	margin:0 auto;	
}

/* Header */
#header {
	background: #0f52c7;
	height: 122px;
}
#header .wrapper {
	background: url(images/entete.png) no-repeat;
	/*background: url(images/entete.jpg) no-repeat;*/
	height: 122px;
	width: 960px;
}
#header .wrapper p {
	display: none;
}
#header .wrapper h1 {
	float: left;
	height: 122px;	
 	margin: 0;
}
#header .wrapper h1 a {
	display: block;	
	float: left;
  	height: 122px;
  	width: 250px;
	/*background:url(images/logo.png) no-repeat center center;*/
}
#header .wrapper h1 a span {
  display: none;
}
#header .wrapper address {
	float: right;
	height: 92px;
	margin: 15px 0;
	text-align: right;	
	font-family: "HancockParkLaser";
	font-size: 0.9em;	
	font-style:normal;
	font-weight: normal;
	line-height: 1.5em;
	color: #fff;	
}
#header .wrapper address strong {
	display: block;
	font-weight: normal;
	font-size: 1.5em;
	color: #ffe100;
}
#header .wrapper address a {	
	color: #fff;
}
#header .wrapper address a:hover,
#header .wrapper address a.hover {	
	color: #ffe100;
}


/* Menu */
#nav {
	background: url(images/fond_menu.png) repeat-x;		
	height: 48px;	
}
ul.menu {
	display: table;
	height: 48px;
	background: url(images/fond_menu.png) repeat-x;		
	text-align:center;
	list-style: none;
	font-family: "HancockParkLaser";
	text-transform: uppercase;
	font-weight: normal;
}
ul.menu li {
	display: table-cell;	
	vertical-align:bottom;
}
ul.menu li a {
	display: block;
	height: 48px;	
	line-height: 48px;		
	color: #9dcffd;
	padding: 0 30px;
}
ul.menu li a:hover,
ul.menu li a.hover {
	color: #fff;
}
ul.menu li.current_page_parent {
	background: url(images/fond_menu_roll.png) repeat-x;
}
ul.menu li.current_page_item a{
	color: #9bd3ff;	
	background: url(images/fond_menu_roll.png) repeat-x;
}
	/* Sous-menu (niveau 2) */
ul.menu li ul {
	display: none;
	position:absolute;	
	z-index: 999;
	width:320px;	
	background:#0b3281;	
	margin: 0;
	padding: 0 0 10px 0;
}
ul.menu li ul li{
	display: block;
	/*background: none;	*/
	/*border-top: 1px solid #fff;*/
	height: 35px;
	line-height: 35px;
	margin: 0;
	padding-left: 30px;
}
ul.menu li ul li a{	
	display: block;
	text-align: left;
	margin:0;
	padding: 0 15px;
	color: #a0ceff;
	font-size: 0.9em; 	
}
ul.menu li ul li a:hover,
ul.menu li ul li a.hover{
	color: #fff;
	text-decoration: none;
}
ul.menu li.current_page_item ul li a {
	color: #a0ceff;
	/*background: none;*/
}
ul.menu li.current_page_item ul li a:hover,
ul.menu li.current_page_item ul li a.hover {
	color: #fff;
}
ul.menu li ul li.current_page_item a {
	background: none;
}

	/* Sous-menu (niveau 3) */
ul.menu li ul li ul {
	margin: -48px 0 0 290px;
	width: 200px;
}
ul.menu li ul li ul li {
	width: 100%;
	text-align: left;
}
ul.menu li ul li ul li a {
	display: block;
}
ul.menu li ul li ul li a:hover,
ul.menu li ul li ul li a.hover {
	color: #fff;
}


/* Content */
#content {
	background: url(images/fond_site.png) repeat-x #ffe103;	
}
#content .wrapper .container_12 {
	float: left;
	width: 940px;	
	padding: 20px 10px;		
}
#content .wrapper{
	background: #fff;
}
#content .first-right {
	padding-top: 20px;
}
.alignleft {
	float: left;
	margin: 0px 10px 10px 0;
	border: none;
}
.alignright {
	float: right;
	margin: 0px 0px 10px 10px;
	/*border: none;*/
}
.aligncenter{
	text-align:center;
	border: none;
}
div.alignright {
	border:none;
}
#content a{
	color: #0f51c7;
}
.wp-caption-text{
	text-align:center;
}
 
/* Bouton */
/*.button,
.sendbutton{
	display:inline-block;
	width:138px;
	height:38px;
	line-height:35px!important;
	padding:0 2px!important;
	background: url(images/bouton.png) repeat-x;		
	text-align: center;
	border:none!important;
	font-family: "HancockParkLaser";
	color: #9dcffd!important;
	cursor:pointer;
}
.button:hover,
.button.hover,
.sendbutton:hover,
.sendbutton.hover{
	color:#fff!important;
}*/

/* Actualités */
.post_title,
.post_date,
.post_content {
	display: block;	
	margin-bottom: 10px;
}
.post_title,
.post_date {
	font-weight: bold;
}
.post_title {	
	float: left;	
}
.post_date {
	float: right;
	font-size: 0.8em;	
	color: #0075d9;
}
.post_content {
	clear: both;
}
.post_separator{
	display:block;
	clear:both;
}

/* Listes */
#content ul {
	list-style: disc inside;
	padding: 0;
	margin: 10px 0;
}
#content ul li {
	padding: 0 0 3px 0;
}

/* Logos */
ul.logos {
	list-style: none!important;
}
ul.logos li img {
	border: 1px solid #0075d9;	
}

/* Formulaires */
form fieldset{
	border: 2px solid #0d357b;
	padding: 10px;
}
form fieldset legend {
	font-size: 1.2em;
	padding: 10px;
}
form ol{
	float:left;
	width:100%;
}
form ol li,
form p{
	float:left;
	clear:left;
	width:100%;
	line-height:25px;
	margin:5px 0;
}
form label{
	float:left;
	width:25%;
	line-height:1.3em;
}
form input,
form select{
	height:25px;
	line-height:25px;
}
form input,
form select,
form textarea{
	border:1px solid #0D357B;
	width:50%;
	margin-bottom: 10px;
}
form .reqtxt,
form .emailreqtxt{
	font-size:0.8em;
	margin-left:5px;	
}
form .fldrequired{
	/*background-color: #0075d9;*/
}
.cf_hidden,
.linklove{
	display:none;
}
p.cf-sb{
	width:75%;
}
.sendbutton{
	width:142px!important;
	padding-bottom:5px!important;
}
/*.sendbutton{
	display: inline-block;
	color:#fff;
	background-color: #0d357b;
	margin:0;
	cursor:pointer;
	border:none;
	width:25%;
	height: 30px;
	 border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px; 	
}
.sendbutton:hover{
	background-color: #0f51c7;	
}*/
/* Champs spécifiques */
#cf_field_11{
	height:260px;
}

/* Google maps */
#GMV {
	height:360px;	
	margin-top: 20px;
	border: 2px solid #0d357b;
}
#GMV img {	
	border: none;
}

/* Galerie photo (slideshow) */
/* TODO Simplifier */
#content .gallery{
	float:left;
	width:100%;
	margin:0 0 10px 0;
	position:relative;
}
#content .gallery div.images{
	float:left;
	width:100%;
	height:100%;
	position:relative; /* Corrige le bogue d'overflow sur IE6/7 */
	overflow:hidden;
}
#content .gallery div.images ul{
	float:left;
	position:relative;
	list-style: none;	
	padding:0;
	margin:0;
}
#content .gallery div.images ul li{
	float:left;
	text-align:center;
	margin:0;
	padding:0;
}
#content .gallery div.images ul li .gallery-item{
}
#content .gallery div.images ul li .gallery-item .gallery-icon{
}
#content .gallery div.images ul li .gallery-item .gallery-icon a{
	display:block;
}
#content .gallery div.images ul li .gallery-item .gallery-caption{
	display:block;
	height:20px;
	position:absolute;
	bottom:0;
	opacity:0.7;
	background:#000;
	color:#fff;
	padding:10px;
}
#content .gallery div.images ul li .gallery-item:hover .gallery-caption{
	display:block;
}

/* Gallery buttons prev/next */
#content .gallery a.button{
	display:block;
	background:#fff;
	height:100%;
	line-height:100%;
	position:absolute;
	opacity:0.01;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	width:auto;
	font-size:8em;
	padding:0 10px;
	z-index:2;
	cursor:pointer;
}
#content .gallery a.button span{
	display:block;
	position:absolute;
	left:0;
	top:50%;
	margin:0 5px;
	color:#0f51c7;	
}
#content .gallery a.button:hover{
	opacity:0.5;
}
#content .gallery a.button.prev{
	left:0;
}
#content .gallery a.button.next{
	right:0;
}

/* Galerie large (610x457) */
#content .gallery.large{
	width:614px;
	height:462px;
}
#content .gallery.large div.images ul li{
	width:614px;
}
#content .gallery.large div.images ul li .gallery-item .gallery-caption{
	width:614px;
}
#content .gallery.large a.button{
	float: right;
	width:30px;
	height:460px;
	line-height:460px;
}
#content .gallery.large a.button span{
}
#content .gallery.large img{
	max-width:610px;
	height:457px;
	width:auto; /* Annule la largeur qui peut éventuellement être définie sur l'image en HTML */
}

/* Galerie miniature */
#content .gallery.thumbnail div.images{
	overflow:visible;
}
#content .gallery.thumbnail div.images ul li a img{
	opacity:0.7;
	width:119px;
	height:119px;
	margin:8px;
}
/*#content .gallery.thumbnail div.images ul li a:hover img,
#content .gallery.thumbnail div.images ul li a.hover img{
	opacity:1;
	width:135px;
	height:135px;
	margin:0;
}*/
#content .gallery.thumbnail div.images ul li{
	margin:0 10px 10px 0;
}

/* Footer */
#footer{
	height: 100px;
	text-align: center;
	background: url(images/fond_footer.png) repeat-x;			
}

/* Menu */
#footer #footer-menu ul.menu {	
	height: 48px;
	background: url(images/fond_menu_roll.png) repeat-x;
}
#footer #footer-menu ul.menu li.current_page_item {
	color: #fff;
	line-height: normal;
	background: url(images/fond_menu.png) repeat-x;	
}
#footer #footer-menu ul.menu li a {
	padding: 0 15px;
}
#footer #footer-menu ul.menu li a:hover,
#footer #footer-menu ul.menu li a.hover,
#footer #footer-menu ul.menu li.current_page_item a:hover {
	color: #fff;
}
#footer #footer-menu ul.menu li.current_page_item a {
	background: transparent;
}

/* Address */
#footer #footer-address,
#footer #footer-address a {
	color: #fff;	
}
#footer #footer-address address{		
	height: 22px;
	padding: 15px 0;
	font-size: 0.9em;	
	font-style: normal;
}
#footer #footer-address address a:hover,
#footer #footer-address address a.hover{	
	color: #ffe100;	
}

/* Sidebar */
#sidebar ul{
	list-style:none;
	margin:0;
	padding:0;
}
#sidebar ul li ul{
	list-style:disc;
	margin:0;
	padding:0 0 0 15px;
}

/* Tableaux */
#content table {
	border:1px solid #333;
	border-collapse:collapse;
	margin:10px 0;
	width:100%;
}
#content th,
#content td {
	border:1px solid #333;
	padding:2px;
}
#wp-calendar tfoot{
	display:none;
}

/* Page Actualités */
#actualites span.post_separator{
	display:block;
	clear:both;
	background:#333;
	height:1px;
	font-size:1px;
	margin:10px 0;
}

/* Affichage */
#affichage #nav,
#affichage #footer-menu,
#test-affichage #nav,
#test-affichage #footer-menu{
    display:none;
}
.flexslider{
    border:0;
}
.flexslider > ul.slides{
    list-style:none;
}
.flexslider .slides img{
    width:auto;
}
.flex-direction-nav,
.flex-control-nav{
    display:none;
}
