/*  ------------------------------------------------
	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;
	background:#000;
}

.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 {
	width:100%;
	height:0px;
	vertical-align: middle;
	display: inline-block;
	padding-bottom: 55%;
	position: relative;
}

.s_diaporama .listimg .item .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%;
}

#home {
	margin-top: -70px;
}
#search {
	height: 400px;
}
#search .left, #search .right {
	width: 50%;
	height: 100%;
	float: left;
}
#search #search-institut {
	background: #CACAD9;
	padding: 40px 20px;
}
#search #search-institut h3 {
	color: #F13F30;
	font-size: 20px;
	text-transform: uppercase;
}
#search #search-institut label {
	color: #333333;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	margin: 10px 0 5px 0;
	display: block;
}
#search #search-institut input[type=text] {
	width: 100%;
	border: 1px solid #464646;
	padding: 10px 15px;
	font-family: 'Raleway', sans-serif;
}
#search #search-institut select {
	border: 1px solid #464646;
	padding: 10px 15px;
	display: block;
	font-family: 'Raleway', sans-serif;
}
#search #search-institut button[type=submit] {
	margin-top: 40px;
	border: 1px solid #F14230;
	color: #F14230;
	text-transform: uppercase;
	padding: 10px 20px;
	background: #CACAD9;
	font-family: 'Raleway', sans-serif;
	cursor: pointer;
}
#search #text-institut {
	color: #31313F;
	background: #E7EAF2;
	padding: 40px 20px;
}
#search #text-institut h2 {
	color: #31313F;
}

#result-search {
	display: none;
}
li.boutique p {
	margin: 0;
}
#result-search a.institut-link {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 20px;
	border: 1px solid #F14230;
	color: #F14230;
	text-transform: uppercase;
}

#text-home > h2, #result-search > h2 {
	color: #CACAD8;
	text-transform: uppercase;
	text-align: center;
	background: url('img/pixel-titre.jpg') center repeat-x;
	padding: 30px 0;
}
#text-home > h2 span, #result-search > h2 span {
	background: #FFF;
	padding: 0 30px;
}
#text-home .text-column {
	width: 33.33%;
	padding: 0 15px;
	float: left;
	margin-bottom: 30px;
}
#text-home .text-column h3 {
	color: #525261;
	text-transform: uppercase;
	font-size: 16px;
	width: 100%;
	border-bottom: 1px solid #535362;
	padding: 10px 0;
	margin-bottom: 20px;
}