#home .diaporama {
	position: relative;
}

#home .diaporama a {
	text-decoration: none;
}

#home .diaporama-over {
	background: #ECECEC;
	position: relative;
	z-index: 1;
}

#home .diaporama-contents {}

#home .diaporama-contents .diaporama-content {
	display: none;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1;
	/*background:url("img/diaporama-shadow.png") no-repeat;*/
	padding: 150px 200px 150px 200px;
	max-width: 1300px;
}

#home .diaporama-contents h2 {
	color: white;
	font-style: italic;
	margin-right: 30px;
}

#home .diaporama-contents .link {
	display: inline-block;
	margin-left: 20px;
	width: 25px;
	height: 25px;
	line-height: 25px;
	font-size: 20px;
	color: white;
	border: 1px solid white;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
}

#home .diaporama-contents .link:hover {
	background: black;
	text-decoration: none;
}

#home .diaporama-contents .description {
	color: #CDCDBF;
	font-size: 2em;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

#home .diaporama .prev,
#home .diaporama .next {
	display: block;
	width: 45px;
	height: 115px;
	background: left center url("img/diapo-arrow-prev.png") no-repeat;
	position: absolute;
	left: 40px;
	top: 50%;
	margin-top: -58px;
	padding: 100px;
	cursor: pointer;
	transform: scale(0.5) translateY(-50%);
	z-index: 1;
}

#home .diaporama .next {
	background: right center url("img/diapo-arrow-next.png") no-repeat;
	right: 40px;
	left: auto;
}

#home .diaporama:hover .next,
#home .diaporama:hover .prev {
	transform: scale(1) translateY(-50%);
}

/*-----------------------*/
/*      Home search      */
/*-----------------------*/

#home #search,
#home #search_toggle_block.disable {
	height: 0px;
	visibility: hidden;
	padding: 0px;
}

#home #search.active {
	height: auto;
	visibility: visible;
}


#home-search.webcontent form {
	padding-top: 10px;
	padding-bottom: 10px;
}

#home #search_toggle_block {
	position: relative;
	z-index: 99;
	background: #655b4d;
	padding-top: 20px;
	/*padding-bottom: 15px;*/
	text-align: center;
}

#home #search_toggle_block .search_toggle_btn {
	text-align: center;
	cursor: pointer;
	color: white;
	padding: 6px 20px;
	border: 1px solid white;
}

#home #search_toggle_block .search_toggle_btn:hover {
	background: #afa38e;
}

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

	#home .diaporama .prev,
	#home .diaporama:hover .prev,
	#home .diaporama .next,
	#home .diaporama:hover .next {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		transform: scale(0.5);
	}

	#home .diaporama .prev {
		left: 10px;
	}

	#home .diaporama .next {
		right: 10px;
	}

	#home .diaporama-contents .diaporama-content {
		bottom: 0px;
		right: 0;
		width: 100%;
		padding: 10px 20px;
		font-size: 0.8em;
		background-position: center center;
	}

	#home .diaporama-contents .description {
		/*color:#CDCDBF;*/
		color: #ECECEC;
		font-size: 1.5em;
		text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
	}

}

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

	#home .diaporama .diaporama-inner {
		height: 0px !important;
		padding-bottom: 66%;
	}

	#home .diaporama .diaporama-contents {
		background: #444;
	}

	#home .diaporama .diaporama-content {
		position: static;
	}

	#home .diaporama .diaporama-content h2 {
		font-size: 1.3em;
	}

	#home .ico_scroll {
		display: none !important;
	}

}

/*  ------------------------------------------------
	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;
}

#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 .item {
	position: relative;
	text-align: center;
}

.s_diaporama .listimg .item img {
	display: block;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	vertical-align: middle;
	display: inline-block !important;
}

.s_diaporama .listimg .item .iwrap,
.s_diaporama .uniqueimg .iwrap {
	width: 100%;
	height: 0px;
	vertical-align: middle;
	display: inline-block;
	padding-bottom: 55%;
	position: relative;
}

.s_diaporama .listimg .item .iwrap iframe,
.s_diaporama .uniqueimg .iwrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.s_diaporama .listimg .item .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 .item {
	margin-right: 10px;
	cursor: pointer;
	position: relative;
	height: 80px;
	text-align: center;
}

.s_diaporama .listthumbs .item img {
	margin: auto;
	width: auto;
	position: relative;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
	display: inline-block !important;
}

.s_diaporama .listthumbs .item.active img {
	border: 10px solid #ECECEC;
}

.s_diaporama .listthumbs .prev {
	position: absolute;
	left: 10px;
	top: 40px;
	color: #EFEFEF;
	display: none;
}

.s_diaporama .listthumbs .next {
	position: absolute;
	right: 10px;
	top: 40px;
	color: #EFEFEF;
	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%;
}