/*
Theme Name: C2Web Framework
Author: C2Web
Author URI: http://www.c2w.fr
Version: 1.0
*/


/* @import url("css/bootstrap.min.css"); */
@import url("https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css");

@import url("css/nivo-slider.css");
@import url("css/jquery.fancybox.css");

html, body {height: 100%}

a:focus, a:active{
	outline:0;
	text-decoration: none;
}

a{
	transition:color 0.25s;
}

body{
	padding:0;
	background:#FFF;
}

#wrap {min-height: 100%}

header{
	position: relative;
}

/* Footer toujours en bas */
footer{
	margin-top: -40px;
    height: 40px;
    position: relative;
    clear:both;
}

.clear{
	clear:both;
}

.no-mobile{
		display: block;
	}

.mobile{
	display: none;
}

.alignleft{
	float:left;
	margin:0 2em 0.5em 0;
}

.alignright{
	float:right;
	margin:0 0 0.5em 2em;
}

.aligncenter{
	display: block;
	margin:1em auto;
}

#content{
	margin: 2em 0;
}

.entry-content h2{
	margin:1em 0 0.5em 0;
}

.entry-content h3{
	padding-top: 0.5em;
}

.entry-content ul{
	display: inline-block;
	padding-left: 1.5em;
}

.entry-content ul li{
	list-style-type:square;
}

hr{
	clear: both;
	visibility: hidden;
}

code{
	background-color: inherit;
    border-radius: inherit;
    color: inherit;
    font-size: inherit;
    padding: inherit;
    white-space: inherit;
    font-family:inherit;
}


/* Pagination par défaut */

.page-numbers{
	text-align: center;
}

.page-numbers li{
	display: inline-block;
	border:1px solid #CCC;
	list-style-type: none;
	font-size: 1em;
}

.page-numbers li span, .page-numbers li a{
	display: block;
	padding:0.25em;
}

.page-numbers li .current{
	background: #FFF;
	color: #000;
}


/* Commentaires */

.form-allowed-tags{display: none;}

#commentform{
	margin-bottom: 3em;
	position: relative;
}

#commentform #submit{
	position:absolute;
	right:1em;
	background:#e51e20;
	color:#FFF;
	font-weight: bold;
	border:2px solid #FFF;
	text-transform: uppercase;
	-webkit-border-radius: 24px;
	-moz-border-radius: 24px;
	border-radius: 24px;
	padding:0.25em 1em;
	font-family: 'AgencyFBRegular', sans-serif;
	font-size: 1.1em;
	transition:background 0.5s;
}

#commentform #submit:hover{
	color:#CCC;
	background:#000;
}

h3#reply-title{
	border-bottom: 1px dashed #e51e20;
	color:#AAA;
}

.comment-form-comment label{
	display: none;
}
.comment-form-comment textarea{
	width: 100%;
	height:7em;
}

.la_date{
	color:#AAA;
	font-weight: normal;
}

h2#comments-title{
	font-size: 1.5em;
	text-transform: none;
}

/* Fil d'ariane */
#breadcrumbs{
	position: absolute;
	bottom:1em;
	right:0;
}

#breadcrumbs li{
	list-style-type: none;
	display: inline-block;
	padding:0 3px;
}


/* Pagination */

.page-numbers li{
	display: inline-block;
	border:1px solid #CCC;
	list-style-type: none;
	font-size: 1.5em;
}

.page-numbers li span, .page-numbers li a{
	display: block;
	padding:0.25em 0.5em;
}

.page-numbers li .current{
	background: #e51e20;
	color: #FFF;
}


/* Contact Form 7 */

.red{
	color:red;
}

.wpcf7-form{
	padding:1em;
	position: relative;
	padding-bottom:2em;
}

.wpcf7-text, .wpcf7-textarea{
	color:#000;
	font-family: arial, verdana, sans-serif;
	padding:0.5em;
	border:1px solid #428bca;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.wpcf7-textarea{
	width:100%;
}

.wpcf7-form .label{
	font-weight: normal;
	color:#428bca;
	padding:0;
}

.wpcf7-form .champ{
	margin-bottom: 0.5em;
}

.wpcf7-form input.wpcf7-submit{
	position:absolute;
	bottom:1em;
	right:1em;
	color:#FFF;
	border:1px solid #a6a6a6;
	text-transform: uppercase;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding:0.25em 1em;
	font-size: 1.2em;
	transition:background 0.5s;

	-moz-box-shadow: 0px 1px 0px 0px #bababa;
	-webkit-box-shadow: 0px 1px 0px 0px #bababa;
	box-shadow: 0px 1px 0px 0px #bababa;
	background:#CCC;
	font-weight: bold;
}

.wpcf7-form input.wpcf7-submit:hover{
	background:#696969;
}

/* Menu desktop header */

header .menu{
	text-align: center;
	padding:0;
}

header .menu li{
	display: inline-block;
	position: relative;
	padding:0 2em;
	text-align: left;
}


header .menu .sub-menu{
	position: absolute;
	left:0;
	top: 99%;
	padding:0;
	display:none;
	background:#FFF;
	width: 175px;
	z-index: 100;
}

header .menu li:hover .sub-menu{
	display: block;
}

header .menu .sub-menu{
	background: rgba(255,255,255,0);
}

header .menu .sub-menu li{
	padding:0.5em;
	line-height: 1em;
	font-size: 1em;
	display: block;
	border: none;
	background: #FFF;
	-moz-box-shadow: 2px 2px 2px 0px #000000;
	-webkit-box-shadow: 2px 2px 2px 0px #000000;
	-o-box-shadow: 2px 2px 2px 0px #000000;
	box-shadow: 2px 2px 2px 0px #000000;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#000000, Direction=134, Strength=2);
}

header .menu .sub-menu li:first-child{
	margin-top: 6px;
}

header .menu .sub-menu li a{
	display: block;
}

header .menu li .sub-menu .sub-menu{
	position: absolute;
	left:100%;
	top:0;
	transform: scaleX(0);
	transform-origin: left;
}

header .menu .sub-menu li:hover .sub-menu{
	transform: scaleX(1);
}

/* Menu desktop footer */

footer .menu{
	text-align: center;
	padding:0;
}

footer .menu li{
	list-style-type: none;
	display: inline-block;
	padding: 0 1em;
	border-left: 1px solid #696969;
}


/* Menu mobile */

.menu_mobile{
	position:fixed;
	left:-75%;
	top:0;
	width:75%;
	bottom:5%;
	z-index: 1000;
	background:#000;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
	transition:left 0.5s;
	-webkit-transition:left 0.5s;
	font-size: 1em;
}

.menu-menu-mobile-container{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: auto;
}

.menu_mobile.active{
	left:0%;
}

.menu_mobile ul{
	margin:0;
	padding:0;
}

.menu_mobile ul li{
	display: block;
	text-align: left;
	text-transform: uppercase;
	padding:0em;
	border-bottom: 1px solid #fff;

	background: #cccccc; /* Old browsers */
	background: -moz-linear-gradient(left,  #cccccc 0%, #ffffff 78%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#cccccc), color-stop(78%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #cccccc 0%,#ffffff 78%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #cccccc 0%,#ffffff 78%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #cccccc 0%,#ffffff 78%); /* IE10+ */
	background: linear-gradient(to right,  #cccccc 0%,#ffffff 78%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */

	font-size: 1.1em;
}

.menu_mobile ul li:last-child{
		border:none;
}

.menu_mobile li:first-child{
	border-bottom: 1px solid #fff !important;
}

.menu_mobile .sub-menu li{
	font-size: 0.9em;
	text-transform: none;
	background: #fff;
	border:none;
}

.menu_mobile li a{
	padding:0.7em 0 0.7em 1em;
	color: #00A59C;
	display: block;
	font-weight: bold;
}

.menu_mobile .sub-menu li a{
	padding:0.7em 0 0.7em 2em;
}

.menu_mobile li a:focus, .menu_mobile li a:active{
	background:#696969;
	color:#FFF;
}

.menu_mobile{
	background: #fff;
	border-bottom: 2px solid #555;
	border-right: 2px solid #555;
}



.menu_mobile .btn_menu_mobile{
	cursor:pointer;
	position: absolute;
	left:100%;
	top:0.25em;
	padding:0.5em;
	border-bottom: 2px solid #555;
	border-right: 2px solid #555;
	border-top: 2px solid #555;
	height:auto;
	width:40px;
	background: #fff;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}


.menu_mobile .btn_menu_mobile span{
	display: block;
	text-align: center;
	text-transform: uppercase;
	color:#000;
	font-size: 0.8em;
}

.menu_mobile .btn_menu_mobile img{
	width:100%;
	height:auto;
}


/* Nivo slider */
.container-slide{
	position:relative;
}

.nivo-controlNav{
	position: absolute;
	right:0em;
	bottom:0.5em;
	z-index: 100;
	padding:0;
}

.nivo-control{
	border:1px solid #FFF;
	display: inline-block;
	text-indent: 999em;
	overflow: hidden;
	width:15px;
	height:15px;
	margin:0.25em;
	background:#000;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.nivo-control.active{
	background:#FFF;
}



.nivo-caption{
	position: absolute;
	left:0;
	top:0em;
	width:33%;
}


/* Google maps */
.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

.infobulle{
	margin:0 20px;
	width:270px;
	height:auto;
}

.infobulle span{
	display: inline-block;
	width:70px;
	font-weight: bold;
}

.infobulle span.title{
	width:auto;
	display: block;
	margin-top: 0;
	border-bottom-size: 1px;
	border-bottom-style:solid;
	color:#696969;
	text-transform: uppercase;
	margin-bottom: 0.5em;
}

.infobulle .discover{
	display: block;
	margin-top: 0.25em;
}



/* Section spéciale mobile */

@media screen and (max-width: 990px){

	footer{
		height:auto;
	}

	footer .menu li{
		display: block;
		border:none;
		padding:1em 0;
	}

	#breadcrumbs{
		display: none;
	}

	

}


@media screen and (max-width: 600px){
	.entry-content a.fancybox img{
		width:100%;
		height:auto;
	}

	.alignleft, .alignright{
		margin:0 0 1em 0;
	}

	.navi{
		float:none;
		text-align: center;
	}

	h1.entry-title{
		font-size: 2em;
	}
	h1.entry-title span{
		display: block;
		font-size: 0.8em;
	}
}



/* Divers */

.twice{
	width:50%;
	float: left;
}

.photo_min{
	display: inline-block;
	width:22%;
	height: auto;
	margin:3px;
}

.photo_min img{
	width: 100%;
	height: auto;
	padding:3px;
}


/* Plugin agenda */

.gce-event-day,
.simcal-events{
	border-left-style: solid;
    font-size: 0.85em;
    margin: 0em 1em 2em 1em;
    padding: 0 0 0 1em;
    position: relative;
}

.gce-page-list .gce-feed{
	padding:0;
}

.gce-page-list .gce-feed div{
	margin-top: 0.25em;
}

.gce-page-list .gce-feed h3{
	padding-top: 0.5em;
	font-size: 1.5em;
	border-bottom: 1px dashed #ccc;
}

.gce-page-list .gce-feed h3 strong{
	color:#AAA;
	font-weight: normal;
}

.gce-list-event, .gce-tooltip-event{
	padding:0;
	background: none;
}

.entry-content ul li.simcal-event{
	list-style-type: none;
}

.simcal-calendar-head,
.simcal-day-label{
	display: none;
}

.simcal-default-calendar-list .simcal-event-details{
	font-size: 1em !important;
}

.simcal-event-start-time:after,
.simcal-event-end-time:after{
	content:" h";
}

nav.suiv_prec{
	display: flex;
	width: 100%;
}

nav.suiv_prec > *{
	flex:1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

nav.suiv_prec > * span{
	opacity: 0.6;
	font-size: 0.8em;
	text-transform: uppercase;
}

nav.suiv_prec .alignleft{
}

nav.suiv_prec .alignright{
	align-items: flex-end;
}