html {
	overflow: auto;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	min-width: 560px;
}

body {
	/*overflow:hidden;*/
	;
}

.jp-type-single {
	/*overflow:hidden;*/
}

button::-moz-focus-inner {
	border: 0;
}

#vid {
	margin: 0 auto;
	position: relative;
	width: 600px;
	height: auto;
}



.jp-jplayer {
	width: 600px;
	height: auto;
	/*overflow:hidden;*/
	;
}

#startImg {
	position: relative;
	width: 600px;
	height: auto;
	top: -371px;
}

#logo {}

#logo img {
	height: 80px;
}

#videoContainer {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 600px;
	height: auto;
	margin: 0 auto;
	background-color: #956c08;
}

@media (max-width: 1200px) {
	#videoContainer {
		margin: 100px auto 0;
		background-color: #956c08;
	}
}

@media (max-width: 1200px) {
	#videoContainer {
		margin: 100px auto 0;
	}
}

#fin1 {
	position: relative;
	width: 600px;
	height: auto;
	display: none;
	top: -400px;
	left: 0px;
}

/** PLAYER VIDEO */
#videoPlayer {
	position: relative;
	display: block;
	width: 600px;
	height: auto;
	/*overflow:hidden;*/
	;
	background-color: #FFF;
}

/* Bouton replay */
#jp-video-replay-icon {
	position: absolute;
	width: 600px;
	height: auto;
	background: url('../img/poster24fr.jpg') 0 0 no-repeat;
	background-size: cover;
	border: none;
	cursor: pointer;
	outline: none;
	visibility: hidden;
}

/* Bouton son */
#jp-video-sound-icon {
	position: absolute;
	display: block;
	width: 27px;
	height: 27px;
	background: url('../img/btSoundBlanc.png') 0 0 no-repeat;
	border: none;
	cursor: pointer;
	outline: none;
}

/* Bouton playpause */
#jp-video-playpause-icon {
	position: absolute;
	display: block;
	width: 27px;
	height: 27px;
	background: url('../img/btPlayPauseBlanc.png') 0 0 no-repeat;
	border: none;
	cursor: pointer;
	outline: none;
}

/* no solution */
.jp-no-solution {
	padding: 5px;
	font-size: .8em;
	background-color: #eee;
	color: #000;
	display: none;
}

.jp-no-solution a {
	color: #000;
}

.jp-no-solution span {
	font-size: 1em;
	display: block;
	text-align: center;
	font-weight: bold;
}

.modal-video {
	position: fixed;
	width: 100%;
	height: 100vh;
	left: 50%;
	top: 50%;
	transform: translate(-200%, 200%);
	opacity: 0;
	transition: opacity ease .2s;
	background-color: #956c08;
}

.modal-video.is-active {
	transform: translate(-50%, -50%);
	opacity: 1;
}


.modal-video__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#vid {
	position: absolute;
	left: 50%;
	top: 50% !important;
	transform: translate(-50%, -50%);
	z-index: 2;
}

#close {
	position: absolute;
	right: 6px;
	top: 16px;
	width: 30px;
	height: 30px;
	background-image: url(../img/close.png);
	background-size: cover;
	background-color: transparent;
	border: none;
	box-shadow: none;
	z-index: 3;
	cursor: pointer;
}

@media (min-width: 1100px) and (max-width: 1300px) {
	#close {
		right: 6px;
		top: 16px;
	}
}

#video-launch {
	cursor: pointer;
}

@media (max-width: 1200px) {

	.jp-jplayer,
	#startImg,
	#fin1,
	#videoPlayer,
	#jp-video-replay-icon {
		width: 700px !important;
		height: 466px !important;
	}

	#videoContainer {
		width: 100% !important;
		height: 100% !important;
		margin-top: 0px !important;
	}
}

@media (max-width: 991px) {

	.jp-jplayer,
	#startImg,
	#videoContainer,
	#fin1,
	#videoPlayer,
	#jp-video-replay-icon {
		width: 100% !important;
		height: 100% !important;
	}
}

body.mobile #vid,
body.mobile .jp-jplayer,
body.mobile #startImg,
body.mobile #videoContainer,
body.mobile #fin1,
body.mobile #videoPlayer,
body.mobile #jp-video-replay-icon {
	width: 100%;
	height: 100%;
}