/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

#headerSlide ul,
#contain .bx-wrapper ul {
	margin-left: 0;
}

#headerSlide li,
#contain .bx-wrapper li {
	list-style-position: outside;
	text-align: center;
}

.bx-wrapper {
	position: relative;
	margin: 0 auto;
	padding: 0;
	*zoom: 1;
}

/*
#headers .bx-wrapper {
	padding: 2px 0 10px;
	background: transparent url(../../images/bandeau_anim.jpg) center bottom no-repeat;
}
*/

.bx-wrapper img {
	display: block;
	max-width: 100%;
	margin: auto;
}

.bx-wrapper li,
.bx-wrapper ul {
	margin: 0;
	list-style: none;
	list-style-position: outside;
}


/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	/*
	box-shadow: 0 0 5px #ccc;
	border: solid #fff 5px;
	left: -5px;
	*/
	background: transparent;
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 500;
}


/* LOADER */

.bx-wrapper .bx-loading {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 550;

	width: 100%;
	height: 100%;
	min-height: 50px;

	background: url(../../includes/JSLIB/bxslider/images/bx_loader.gif) center center no-repeat #fff;
}


/* PAGER */

.bx-wrapper .bx-pager {
	padding-top: 20px;

	color: #666;

	font-family: Arial, sans-serif;
	font-size: .85em;
	font-weight: bold;
	text-align: center;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	display: block;

	width: 10px;
	height: 10px;
	margin: 0 5px;

	background: #666;
	border-radius: 50%;

	outline: 0;
	text-indent: -9999px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #000;
}


/* DIRECTION CONTROLS (NEXT / PREV)
===================================*/

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	z-index: 600;
	width: 35px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	outline: 0;
	background: rgba(0, 0, 0, .18);
	font-size: 0;
	line-height: 0;
	text-indent: 0;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s ease, opacity .2s ease;
}

.bx-wrapper .bx-prev {
	left: 8px;
}

.bx-wrapper .bx-next {
	right: 8px;
}


/* Chevrons */

.bx-wrapper .bx-prev::before,
.bx-wrapper .bx-next::before {
	content: "";
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid rgba(255, 255, 255, .95);
	border-right: 2px solid rgba(255, 255, 255, .95);
}

.bx-wrapper .bx-prev::before {
	left: 54%;
	transform: translate(-50%, -50%) rotate(-135deg);
}

.bx-wrapper .bx-next::before {
	left: 46%;
	transform: translate(-50%, -50%) rotate(45deg);
}

.bx-wrapper .bx-controls-direction a:hover {
	background: rgba(0, 0, 0, .38);
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}


/* VERSION GALERIE
===================================*/

.galerie .bx-wrapper .bx-controls-direction a {
	opacity: 0;
	transition: background .2s ease, opacity .2s ease;
}

.galerie .bx-wrapper:hover .bx-controls-direction a {
	opacity: 1;
}

.galerie .bx-wrapper .bx-controls-direction a:hover {
	background: rgba(0, 0, 0, .38);
}


/* AUTO CONTROLS (START / STOP)
===================================*/

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;

	width: 10px;
	height: 11px;
	margin: 0 3px;

	background: url(../../includes/JSLIB/bxslider/images/controls.png) -86px -11px no-repeat;

	outline: 0;
	text-indent: -9999px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;

	width: 9px;
	height: 11px;
	margin: 0 3px;

	background: url(../../includes/JSLIB/bxslider/images/controls.png) -86px -44px no-repeat;

	outline: 0;
	text-indent: -9999px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}


/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT
===================================*/

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	width: 80%;
	text-align: left;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}


/* IMAGE CAPTIONS
===================================*/

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;

	width: 100%;

	background: #666\9;
	background: rgba(80, 80, 80, .75);
}

.bx-wrapper .bx-caption span {
	display: block;
	padding: 10px;

	color: #fff;

	font-family: Arial, sans-serif;
	font-size: .85em;
}


/** UNIFORMISATION GALERIE SLIDE
===================================*/

/* Le lien devient la zone fixe / responsive de l'image */

#contain .galerie .slider li > a {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 75vh;

	overflow: hidden;
}


/* Image visible entière, centrée, sans déformation */

#contain .galerie .slider li > a img {
	display: block;

	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;

	border-radius: 0;
}