/*  ------------------------------------------------
	HOME
	------------------------------------------------ */

#home {
}

#home .diaporama {
	position: relative;
	height: 800px;
}

#home .diaporama li a {
	display: block;
	width:100%;
	height:100%;
	position: relative;
}

#home .diaporama img {
	display: none;
}

#home .diaporama .bullets {
	position: absolute;
	bottom:20px;
	left:0;
	width: 100%;
	z-index: 10;
}

#home .diaporama ul li {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index: 1;
}

#home .diaporama ul li.active {
	z-index: 2;
}

#home .diaporama ul li .content {
	text-align: center;
	vertical-align: middle;
	line-height: 630px;
	position: relative;
}

#home .diaporama ul li .content .content_t {
	line-height: normal;
	display: inline-block;
	position: relative;
	top:50px;
	left:0;
	margin-left:-50px;
	font-size: 3vw;
}

#home .diaporama ul li .content .content_t p {
	font-size:1.1em;
	position: relative;
	opacity: 0;
	-webkit-opacity: 0;
	-moz-opacity: 0;
	top:0;
	transform:rotate(-50deg);
	-webkit-transform:rotate(-50deg);
	-moz-transform:rotate(-50deg);
}

#home .diaporama ul li .content .content_t p:first-child {
}

#home .diaporama ul li .content .content_t p:nth-child(2) {
	margin-top:10px;
	margin-left:200px;
	font-style:italic;
}

#home .diaporama ul li .content .content_t p em {
	font-size:0.7em;
}

#home .diaporama ul li .content .content_t p strong {
	color:#F08C00;
	font-weight: normal;
	font-size:2em;
}

#home .diaporama ul li .url {
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    display: block;
    font-size: 45px;
    background: white;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    color: #F08C00;
    text-align: center;
    line-height: 50px;
    font-weight: 100;
    margin-left: -40px;
}

#home .diaporama ul li .url:hover {
	background:#F08C00;
	color:white;
	cursor: pointer;
	text-decoration: none;
}

#home .diaporama ul li .content.active .content_t p {
}

#home .diaporama ul li .content.active .content_t p:first-child {
	left:0;
	opacity: 1;
	-webkit-opacity: 1;
	-moz-opacity: 1;
	transform:rotate(-10deg);
	-webkit-transform:rotate(-10deg);
	-moz-transform:rotate(-10deg);
}

#home .diaporama ul li .content.active .content_t p:nth-child(2) {
	left:0;
	opacity: 1;
	-webkit-opacity: 1;
	-moz-opacity: 1;
	transform:rotate(-6deg);
	-webkit-transform:rotate(-6deg);
	-moz-transform:rotate(-6deg);
}

#home .diaporama ul li .url {
	bottom:60px;
	opacity: 1;
	-webkit-opacity: 1;
	-moz-opacity: 1;
}

/*  ------------------------------------------------
	ERREUR 404
	------------------------------------------------ */

#err404 {
	text-align:center;
}

#err404 p {
	text-align:center;
}

#err404 .big {
	font-size:15em;
	font-weight:bold;
}

#err404 .title {
	font-size:3em;
	font-weight:bold;
}

#err404 .link a {
	background:#4f4f4f;
	color:white;
	display:block;
	padding:5px 10px;
	width:300px;
	margin:auto;
}

#err404 .link a:hover {
	text-decoration:none;
	background:#717171;
}

@media screen and (max-width: 980px) {		

	#home .diaporama {
		position: relative;
		height:300px;
	}

}

#qcq {
	width: 100%;
	max-width: 1280px;
	min-width: 800px;
	position: absolute;
	left: 50%;
	top: 50%;
	height: 350px;
	margin-top: -175px;
	overflow: hidden;
}
#qcq #left,
#qcq #right {
	float: left;
	overflow: hidden;
}
#qcq #left {
	width: 66.6%;
}	
#qcq #left img {
	width: 74%;
	max-width: 625px;
	float: left;
	margin-left: 8%;
}

#qcq #right {
	width: 25.3%;
	text-align: right;
}
#qcq #right p {
	margin: 0;
	padding: 0;
}
#qcq #right p.erreur {
	color: #989DA0;
	font-family: 'Amaranth', sans-serif;
	font-size: 1.5em;
	text-align: left;
	padding-left: 51%;
}
#qcq #right img {
	width: 55%;
}
#qcq #right p.not-found {
	color: #656768;
	font-family: 'Amaranth', sans-serif;
	font-size: 1.6em;
	text-align:right;

}
#qcq a.back {
	color: white;
	text-decoration: none;
	font-family: 'Amaranth', sans-serif;
	font-size: 1.6em;
	position: absolute;
	display: block;
	left: 50%;
	margin-left: -149px;
	bottom: 0;
	width: 297px;
	height: 59px;
	background: url(img/back.png) center center no-repeat;
}
#qcq a.back:hover {
	text-decoration: none;
}
#qcq a.back p {
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: 59px;
	height: 59px;
	color:white;
}

#qcq.mobile {
	width: 100%;
	height: auto;
	overflow: hidden;
	max-width: none;
	min-width: 600px;
	position: static;
	margin: auto;
	padding: 0;
}
#qcq.mobile #left,
#qcq.mobile #right {
	float: none;
	width: 70%;
	max-width: 600px;
	margin: auto;
	text-align: center;
}
#qcq.mobile #right {
	margin-bottom: 2em;
	margin-top: 2em;
}
#qcq.mobile #left img {
	margin: 0;
}
#qcq.mobile #right p.erreur {
	text-align: center;
	padding: 0;
}
#qcq.mobile #left img {
	width: 100%;
}
#qcq.mobile #right img {
	margin: 5%;
}
#qcq.mobile a.back {
	
	position: static;
	display: block;
	
	margin: auto;
	
}

/*  ------------------------------------------------
	DIAPORAMA
	------------------------------------------------ */

.s_diaporama .listimg {
	clear:both;
	padding-bottom: 30px;
}

.s_diaporama .listimg .diapoitem {
	position: relative;
	text-align: center;
}

.s_diaporama .listimg .diapoitem img {
	display:block;
	margin:auto;
	max-width:100%;
	max-height:100%;
	width:auto;
	height:auto;
	vertical-align: middle;
	display: inline-block!important;
	cursor: pointer;
}

.s_diaporama .listimg .diapoitem .iwrap {
	width:100%;
	height:0px;
	vertical-align: middle;
	display: inline-block;
	padding-bottom: 55%;
	position: relative;
}

.s_diaporama .listimg .diapoitem .iwrap iframe {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height:100%;
}

.s_diaporama .listimg .diapoitem .legend {
	position: absolute;
	bottom:0;
	left:20%;
	width:60%;
	text-align: center;
	padding:5px 5%;
	font-size:1.2em;
	background:black;
	background:rgba(0,0,0,0.5);
	color:white;
}

.s_diaporama .listthumbs {
	margin-top:10px;
	background:white;
	padding:10px;
	position: relative;
}

.s_diaporama .listthumbs .listthumbsc {
	width:90%;
	margin:auto;
	height:100px;
}

.s_diaporama .listthumbs .diapoitem {
	margin-right:10px;
	cursor:pointer;
	position: relative;
	height:80px;
	text-align: center;
}

.s_diaporama .listthumbs .diapoitem img {
	margin:auto;
	width:auto;
	position: relative;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
	display: inline-block!important;
}

.s_diaporama .listthumbs .diapoitem.active img {
	border:4px solid #F09329;
}

.s_diaporama .listthumbs .prev {
	position: absolute;
	left:10px;
	top:40px;
	color:#005669;
	display: none;
}

.s_diaporama .listthumbs .next {
	position: absolute;
	right:10px;
	top:40px;
	color:#005669;
	display: none;
}

.s_diaporama .listthumbs .prev:hover , .s_diaporama .listthumbs .next:hover {
	color:#BABABA;
	cursor:pointer;
}

.s_diaporama .slick-dots {
	text-align: center;
	position: relative;
	top:11px;
	z-index:1;
}

.s_diaporama .slick-dots li {
	display: inline-block;
	margin:0 3px;
}

.s_diaporama .slick-dots li button {
	display: block;
	width: 13px;
	height: 13px;
	text-indent: 9999px;
	border: 1px solid transparent;
	background: white;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	padding: 0;
	cursor: pointer;
	outline: none;
	border:1px solid #CCC;
}

.s_diaporama .slick-dots li.slick-active button {
	background:#444;
	border:1px solid #444;
}

.s_diaporama .slick-disabled {
	display: none!important;
}

.s_diaporama .uniqueimg img {
	max-width: 100%;
}

@media screen and (max-width: 980px) {
	#home .diaporama ul li .url {
		margin-left: -20px;
		width: 40px;
		height: 40px;
		font-size: 2em;
		line-height: 40px;
	}
}