/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,300,800,400);
html { color: #222; font-size: 1em; line-height: 1.4; height:100%; }
::-moz-selection, ::selection { background: #b3d4fc; text-shadow: none; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

audio, canvas, iframe, img, svg, video { vertical-align: middle; }

fieldset { border: 0; margin: 0; padding: 0; }

textarea { resize: none;}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 300 14px/20px 'Open Sans', sans-serif;
	height:100%;
	background-color:black;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}
.rouge { color:rgb(179,22,20)}
h2 { color:rgb(179,22,20); line-height: 25px;}
#overlay {
    position: absolute;
    z-index: 10;
    top:0;
    left:0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.80);
}
#viewNews {
    background-color: white;
    text-align: center;
    width:  513px;
    margin: auto;
    position: relative;
    top: 50%;
    box-shadow: 0 0 20px 10px rgba(0,0,0,0.8);
}
#viewNews h3,
#viewNews p {
    padding: 10px;
    margin: 0
}
/************************************* provisoir********************************/
#conteneur {
	position:relative;
	min-width:863px;
	max-width:1026px;
	margin:auto;
	overflow:hidden;
	background-color:white;
	height:100%;
}
/* ===================
    ALL: Orange Theme
   =================== */

.header-container, .footer-container, .main-container {
	position:relative;
}

.main-container {
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
	z-index:2;
}
.main aside {
    float:left;
}

.header-container{
	z-index:4;
    background-color: rgb(163,137,122);
}
.main aside {
}

.title {
    color: white;
}
.header-container header nav:last-of-type > ul > li:last-of-type {
	display:none;
}
.header-container header nav:last-of-type > ul > li:first-of-type a {
	display:none;
}
.header-container, .footer-container {
	-webkit-box-shadow: 0 0 20px 10px rgba(0,0,0,0.5);
	   -moz-box-shadow: 0 0 20px 10px rgba(0,0,0,0.5);
			box-shadow: 0 0 20px 10px rgba(0,0,0,0.5);
}
.main aside nav, .main aside section , .main aside form {
	position:relative;
	-webkit-box-shadow: 0 20px 10px rgba(0,0,0,0.5);
	   -moz-box-shadow: 0 20px 10px rgba(0,0,0,0.5);
			box-shadow: 0 20px 10px rgba(0,0,0,0.5);
}
/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}
.header-container header nav:last-of-type {
	position:absolue;
	display:none;
}
/* =========================
    MOBILE: reseaux sociaux
   ========================= */
   	
	#contact {
		position:absolute;
		top:0;
		width:100%;
		-moz-transition:top ease 2s;
		-ms-transition:top ease 2s;
		-o-transition:top ease 2s;
		-webkit-transition:top ease 2s;
		transition:top ease 2s;
	}	
    #contact ul:last-child {
		display:none;
    }
    #contact ul li {
	display: block;
	float:right;
    }
    #contact ul:nth-of-type(1) li {
		background-color:rgb(244,240,225);
    }
    #contact ul:nth-of-type(1) li:last-child {
		border-radius:0 0 0 10px;
    }

	#contact a {
		background-color:transparent;
		color : rgb(244,240,225)
	}
	
	#contact img {
		height:20px;
		margin:5px 5px;
		opacity: 0.5;
		-webkit-transition:opacity ease 300ms;
		-moz-transition:opacity ease 300ms;
		-o-transition:opacity ease 300ms;
		-ms-transition:opacity ease 300ms;
		transition:opacity ease 300ms;
	}
	
	#contact img:hover {
		opacity: 1;
	}
	
	#contact li:last-of-type img {
		margin-left:20px
	}

    #contact a {
        float: left;
        width: auto;
        margin: 0 5%;
        padding: 5px 1%;
        margin-bottom: 0;
		-webkit-transition:color ease 300ms;
		-moz-transition:color ease 300ms;
		-o-transition:color ease 300ms;
		-ms-transition:color ease 300ms;
		transition:color ease 300ms;
    }
	
    #contact a:hover {
		text-decoration:none;
		color: rgb(136,134,113)
	}

/* ==============
    MOBILE: slider
   ============== */
#slider {
	position:absolute;
	top:0;
	left:0;
	z-index:1;
	width:100%;
	height:0px;
	overflow:hidden;
	-webkit-transition:top ease 2s, height ease 2s;
	-moz-transition:top ease 2s, height ease 2s;
	-ms-transition:top ease 2s, height ease 2s;
	-o-transition:top ease 2s, height ease 2s;
	transition:top ease 2s, height ease 2s;
}
#slider .slide {
	position:absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
	opacity:1;
	background-color:transparent;
	-webkit-transition:opacity ease 1s;
	-moz-transition:opacity ease 1s;
	-ms-transition:opacity ease 1s;
	-o-transition:opacity ease 1s;
	transition:opacity ease 1s;
}
#slider #slide1 {
	z-index:2;
	background-size:cover;
	background-position:center;
}
#slider #slide2 {
	z-index:1;
	background-size:cover;
	background-position:center;
}
#textAccueil {
	display:none;
}
/* ==============
    MOBILE: Main
   ============== */

.main {
	position:relative;
    padding: 0 0 30px 0;
}

.main article h1 {
    font-size: 2em;
}
.main aside {
	position:relative;
	top:-700px;
	-webkit-transition:top ease 2s;
	-moz-transition:top ease 2s;
	-ms-transition:top ease 2s;
	-o-transition:top ease 2s;
	transition:top ease 2s;
}

.main aside nav {
	display:block;
	background:rgba(244,240,225,0.8);
	float:none;
	width:100%;
	height:auto;
	margin-bottom:20px;
	padding-top:10px;
	
}
.main aside nav a {
	display:block;
	background:none;
	color:black;
	margin:0;
	padding:10px 5px;
	width:auto;
	float:none;
	text-align:left;
	border-bottom:1px dotted#000;
	background-color:rgba(0,0,0,0);
	-webkit-transition:background-color ease 500ms;
	-moz-transition:background-color ease 500ms;
	-ms-transition:background-color ease 500ms;
	-o-transition:background-color ease 500ms;
	transition:background-color ease 500ms;
}
.main aside nav a:hover {
	background-color:rgba(0,0,0,0.2);
	text-decoration:none;
}
.main aside nav a span {
	font-weight:400;
	font-size:12px;
}
.main-container > div > article {
	opacity:0;
	-moz-transition:opacity ease 1s;
	-ms-transition:opacity ease 1s;
	-webkit-transition:opacity ease 1s;
	-o-transition:opacity ease 1s;
	transition:opacity ease 1s;
	padding:20px
}
/* ==============
   Module News
   ============== */
#news {
	height:200px;
	padding:0;
}
#news h2 {
	position:relative;
	margin:0;
	padding:5px 10px;
	background-color:black;
	color:rgb(244,240,225);
	-webkit-border-radius:0 10px 0 0;
	-moz-border-radius:0 10px 0 0;
	-ms-border-radius:0 10px 0 0;
	-o-border-radius:0 10px 0 0;
	border-radius:0 10px 0 0;
}
#news #moduleNews {
	height:165px;
	padding-top:5px;
	position:relative;
	background-color:rgba(244,240,225,0.8);
	overflow:hidden;
}
#news article {
	float:none;
	width:auto;
	padding:0 10px;
	height:100%;
}
#news article h3 {
	margin:0;
	font-weight:300;
	text-transform:uppercase;
	font-size:20px;
	line-height:24px;
	padding-bottom:5px;
}
#news article p {
	margin:0 0 5px 0;
	font-size:13px;
	line-height:16px
}
#news article p.suiteNews {
	position: absolute;
    bottom: 0;
    text-align: right;
    width: 95%;
    font-style: italic;
    font-weight: bold;
    color: rgb(179,22,20);
    cursor: pointer;
}
#navNews a {
	display:block;
	background:black;
	position:absolute;
	bottom:-10px;
	right:10px;
	color:rgba(244,240,225,0.8);
	text-decoration:none;
	padding:0 20px;
	font-weight:600;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	-ms-border-radius:0;
	-o-border-radius:0;
	border-radius:0;
	-webkit-transition:border-radius ease 500ms, color ease 500ms;
	-moz-transition:border-radius ease 500ms, color ease 500ms;
	-ms-transition:border-radius ease 500ms, color ease 500ms;
	-o-transition:border-radius ease 500ms, color ease 500ms;
	transition:border-radius ease 500ms, color ease 500ms;
}
#navNews {
    position:relative;
    top:-4px;
    text-align: center;
}
#navNews div.bille {
    display:inline-block;
    height: 5px;
    width: 5px;
    border-radius: 5px;
    border:1px solid rgba(255,255,255,1.00);
    background-color:rgba(255,255,255,0.20);
    margin: 0 8px;
}

#navNews div.actif {
    background-color: rgba(255,255,255,1.00);
}
#navNews a:hover {
	border-radius:10px;
	color:rgba(244,240,225,1);
}

/* ==============
   Contact permanent
   ============== */
#formMail {
	background-color:rgba(244,240,225,0.8);
	margin-top:20px;
	padding-bottom:15px;
}

#formMail h2 {
	padding:10px 5px;
	border-bottom:1px dotted#000;
	font-size:14px;
}
#formMail p {
	padding:5px 5px 0 5px;
	margin:0;
	clear:both;
}
#formMail p label {
	display:block;
	float:left;
	width:25%;
	text-align:right;
	padding-right:5px;
}
#formMail p input, #formMail p textarea {
	display:block;
	width:175px;
	border:1px #000 solid;
	padding-left:5px;
	padding-right:5px;
}
#formMail p textarea {
	height:100px;
}
#formMail p:first-of-type input {
	border-radius:7px 7px 0 0;
}
#formMail p input[type="submit"] {
	display:block;
	background-color:black;
	border-radius:0 0 7px 7px;
	color:rgba(244,240,225,0.8);
	font-weight:600;
	width:185px;
	-webkit-transition: color ease 500ms;
	-moz-transition: color ease 500ms;
	-ms-transition: color ease 500ms;
	-o-transition: color ease 500ms;
	transition: color ease 500ms;
}
#formMail p input[type="submit"]:hover {
	color:rgba(244,240,225,1);
}
#visioneusePhoto {height:288px; background-size: contain; background-position: center; background-repeat: no-repeat}
/* ==============
   Footer
   ============== */
	.footer-container {
		clear:both;
		position:absolute;
		bottom:0;
		width:100%;
		height:auto;
		overflow:hidden
}
.footer-container {
	background:rgb(163,137,122) url(jaune.jpg) repeat-y;
    padding: 5px 0;
	z-index:3;
}
.footer-container footer {
	margin:0;
}
.footer-container nav {
	float:none;
	width:auto;
}
.footer-container nav ul li {
	display: inline;
}
.footer-container nav a {
    color: rgb(244,240,225);
	font-size:12px;
	font-weight:300;
	padding:0 10px;
	margin:0;
	width:auto;
	background:none;
	border-right:1px solid rgb(244,240,225);
	float:left;
}
.footer-container nav ul:first-of-type li:first-of-type a {
	color:rgb(163,137,122);
	padding:0 5px;
	text-align:center;
	width:61px;
	border:none;
}
.footer-container nav ul:first-of-type li:first-of-type a {
	color:rgb(163,137,122);
	padding:0 5px;
	text-align:center;
	width:61px;
	border:none;
}
.footer-container nav ul:last-of-type {
	display:none;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.header-container h1 {
	margin:0;
}
.header-container header {
	position:relative;
}
.header-container h1 img {
	height:70px;
	-moz-transition:height ease 2s;
	-ms-transition:height ease 2s;
	-o-transition:height ease 2s;
	-webkit-transition:height ease 2s;
	transition:height ease 2s;
}
/* ==========================================================================
   style pour tablettes
   ========================================================================== */
	
    .main aside {
        float: left;
		min-width:280px;
        width: 18%;
    }

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
/* ===========================
    INTERMEDIATE: slider
   =========================== */
#textAccueil {
	display:block;
	position:absolute;
	z-index:4;
	bottom:0;
	right:0;
	opacity:1;
	height:auto;
	background-color:rgba(0,0,0,0.7);
	padding:10px 40px 10px 20px;
	color:rgb(244,240,225);
	text-align:right;
	-webkit-transform:opacity ease 2s;
	-moz-transform:opacity ease 2s;
	-ms-transform:opacity ease 2s;
	-o-transform:opacity ease 2s;
	transform:opacity ease 2s;
}
#slider h1 {
	font-weight:400;
	font-family:'Open Sans', sans-serif;
	font-style:italic;
	font-size:24px;
	line-height:28px;
}
#slider p {
	font-size:12px;
	line-height:16px
}
/* ===================
    INTERMEDIATE: header
   =================== */
	.header-container h1 {
		height:103px;
	}
	.header-container header nav {
		position:relative;
	}
	.header-container header nav:last-of-type {
		display:block;
	}
	.header-container header nav:last-of-type {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		white-space: nowrap;
	}
	.header-container header nav:last-of-type ul {
		white-space: normal;
	}
	.header-container header nav > ul >li > a {
		white-space:pre;		
	}
	.header-container header nav:last-of-type img {
		height:30px;
	}
	.header-container header nav:last-of-type a {
		background-color:rgb(244,240,225);
		font-weight:300;
		color:black;
		width:auto;
		padding:5px;
		margin:0 0.5%;
		-webkit-transition:background-color ease 300ms;
		-moz-transition:background-color ease 300ms;
		-o-transition:background-color ease 300ms;
		-ms-transition:background-color ease 300ms;
		transition:background-color ease 300ms;
	}
	.header-container header nav:last-of-type > ul > li > a {
		border-radius:10px 10px 0 0;
	}
	.header-container header nav:last-of-type > ul > li:first-of-type a {
		padding:0 ;
	}
	.header-container header nav:last-of-type > ul > li {
		position:relative;
		/*display:inline-block;*/
		float:left;
		margin-right:2px;
	}
	.header-container header nav:last-of-type > ul >li.actif a {
		border-bottom:5px solid rgb(179,22,20);
		margin-bottom:-5px;
	}
	.header-container header nav:last-of-type li > ul {
		position:absolute;
		top:40px;
		left:0;
		width:100%;
	}
	.header-container header nav:last-of-type li > ul > li {
		padding:1px 0;
		display:block;
		height:0px;
		overflow:hidden;
		-webkit-transition:height ease 1s;
		-moz-transition:height ease 1s;
		-o-transition:height ease 1s;
		-ms-transition:height ease 1s;
		transition:height ease 1s;
	}
	.header-container header nav:last-of-type li:hover > ul > li {
		/*height:52px;*/
	}
	.header-container header nav:last-of-type li > ul > li a {
		display:block;
		width:100%;
		padding:10px 0;
		font-size:12px;
		margin: 1px 0;
		padding:5px 0;
		background-color:rgba(244,240,225,0.9);
		line-height:14px;
	}
	.header-container header nav:last-of-type a:hover {
		text-decoration:none;
		background-color:rgb(216,214,193);
		border-bottom:2px solid rgb(179,22,20);
		margin-bottom:-1px
	}
	.header-container header nav:last-of-type > ul > li > a:hover {
		background-color:rgb(216,214,193);
		border-bottom:5px solid rgb(179,22,20);
		margin-bottom:-5px;
	}
	/*====================
	footer
	=====================*/
	.footer-container nav a {
		padding:0 20px;
	}
	.footer-container nav ul:last-of-type {
		display:block;
		position:absolute;
		right:0;
		top:50px;
		-moz-transition:top ease 2s 2s;
		-ms-transition:top ease 2s 2s;
		-o-transition:top ease 2s 2s;
		-webkit-transition:top ease 2s 2s;
		transition:top ease 2s 2s;
	}
	.footer-container nav ul:last-of-type img {
		height:15px;
	}
	.footer-container nav ul:last-of-type a {
		border:none;
		padding : 5px;
		background-color:rgb(244,240,225);
	}
	.footer-container nav ul:last-of-type li:first-of-type a {
		border-radius:10px 0 0 0;
	}
	.header-container header nav:last-of-type > ul > li:last-of-type {
		display:block;
	}
	.header-container header nav:last-of-type > ul > li:first-of-type a {
		display:block;
	}
	.footer-container nav ul:first-of-type li:last-of-type a::after {
		content:' media-prolongement';
	}
	.header-container h1 {
		margin:0;
		height:auto;
	}
	.header-container h1 img.accueil {
		height:118px;
	}
	#contact.masqueContact {
		top:-100px;
	}
    #contact ul {
		background:black;
		float:right;
		margin:0;
		padding-left:1px
    }
	#contact ul:first-child {
		padding-left:20px;
	}
	
    #contact ul:last-child {
		display:block;
		border-radius:0 0 0 10px;
		font-size:22px;
		line-height:28px;
		padding:5px;
		letter-spacing:0.1em;
    }
	
	#contact img {
		height:28px;
		margin:5px 10px;
	}
	
    #contact a {
        padding: 10px 2%;
    }
	.header-container header nav:last-of-type > ul > li:first-of-type a {
		display:inline-block;
		margin-left:270px;
	}
	.header-container header nav:last-of-type a {
		padding:10px;
	}
	.footer-container nav ul.masqueContact:last-of-type {
		top:0
	}
	

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }
/* ============
    perso
   ============ */
	.header-container header nav:last-of-type > ul > li:first-of-type a {
		padding:5px ;
	}
	

/* ==========================================================================
   light box video
   ========================================================================== */
   div.overlay {
	   position:absolute;
	   top:0;
	   left:0;
	   height:100%;
	   width:100%;
	   background:rgba(0,0,0,0.6);
	   z-index:1000
   }
   div.overlay #close {
	   background:white;
	   height:20px;
	   width:20px;
	   border-radius:10px;
	   position:relative;
	   z-index:2;
	   font-weight:400;
	   font-size:16px;
	   line-height:16px;
	   text-align:center;
	   left:50%;
	   top:60px;
	   margin-left:503px;
	   cursor:pointer;
	   box-shadow:10px 10px 10px rgba(0,0,0,0.8)
   }
#overlay #close {
	   background:black;
        color:white;
	   height:16px;
	   width:16px;
	   border-radius:10px;
	   position:absolute;
	   z-index:2;
	   font-weight:Bold;
	   font-size:16px;
	   line-height:10px;
	   text-align:center;
	   right: -8px;
	   top:-8px;
        border: 2px solid white;
	   cursor:pointer;
   }
   div.overlay video {
	   position:relative;
	   z-index:1;
	   margin-left:-513px;
	   top:50px;
	   left:50%;
	   box-shadow:10px 10px 10px rgba(0,0,0,0.8)
   }
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}