#tvvideo {
	width: 100%;
	/*height: 1px !important;*/
	padding-bottom: 56.25%;
		border-radius:10px;
		margin-bottom: 10px;
}
@media only screen and (max-width: 575px) {
    #tvvideo {
        border-radius: 0 !important;
    }
}
#video-container p {
	text-align: center;
}

#video-container{
	max-width: 100%;
	/*width: 640px;*/
	margin: 0 auto;
	font: 600 24px 'Roboto Condensed', sans-serif;
}

.vjs-share__middle input {
	color: black;
	width: 100%;
	margin-bottom: 6px;
}
.vjs-share {
	width: 400px;
	max-width: 100%;
	margin: 15% auto;
	background-color: rgba(0,0,0,0.5);
	border-radius: 4px;
	padding: 8px;
}
.vjs-share__social {
	max-height: 31px;
	cursor: pointer;
}

.vjs-share__social svg,.vjs-share__social img  {
	max-width: 24px;
	max-height: 24px;
}

.vjs-modal-dialog {
	overflow: hidden!important;
}
.vjs-modal-dialog-content + button {
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}


.tvvideo_ima-play-pause-div, .tvvideo_ima-mute-div, .tvvideo_ima-slider-div, .tvvideo_ima-fullscreen-div {
	top: 28px;
}
.fc-related {

}

.vjs-endcapCTA.is-active {
	display: block;
}

.fc-related {
	background: #000;
	/*height: 100%;*/
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	visibility: hidden;
	display: none;
	opacity: 0;
	max-width: 1000px;
	margin: 10% auto;
	border-radius: 4px;
	overflow: auto;
	padding: 8px;
	background: rgba(0,0,0,0.5);
	transition: opacity ease 0.4s 0.1s;
}
.fc-related.is-active{
	display:block;
	visibility: visible;
	opacity: 1;
	z-index: 2;
}

.fc-related-title {
	width: 100%;
	font-size: 1.2em;
	text-align: center;
}
.fc-related-box {
	width: 100%;
}
.fc-related-thumbs{
	margin: 20px 2px;
	display: grid;
}
.fc-related-thumb {
	text-align: center;
	cursor: pointer;
}
.fc-related-thumb img {
	max-width: 90%;
}
.fc-related-box .fc-related-cross {
	font-size: 1.2em;
}
.fc-related-name {
	width: 200px;
	margin: 0 auto;
}


.fc-expand {
	position: relative;
	height: 50px;
	transition: height ease 0.5s;
}
.fc-expand.fc-modal-active {
	background: linear-gradient(180deg,rgba(0,0,0,.8),rgba(255,255,255,0));
	height: 100%;
}
.fc-display {
	display: none;
	width: 100%;
}
.fc-display .fc-logo {
	float: right;
	margin: 4px;
}
.fc-display-buttons {
	float: right;
	transition: opacity ease 0.5s;
}
.fc-display-buttons .fc-display-button {
	background-color: black;
	border-radius: 100%;
	width: 48px;
	height: 48px;
	margin-right: 12px;
	vertical-align: top;
	opacity: 0.8;
	cursor: pointer;
	transition: box-shadow ease 0.3s;
}
.fc-display-button:hover {
	box-shadow: black 0px 0px 4px;
}
.fc-display-button-related {
	display:inline-block;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALVJREFUeNqsVMERhCAMzNmAJVgaJWAHlGIJluB1YAnYASXEwOVmctzCR3YmOia7a4IgkQEzO4nI/zg0amSuoxqSnCVOiSTh87Op7cZgrzReNafVkL79N/nJB9BVaDRz2DETMFu4jQWYpjK+rkMAy7B1DDfAz9NEUsIMCLFjGBvfgV/lIgAEpg5amuGG07ddoLk6fhcaOd8nLa5A9O4YotpavIZvm+Eb++HRc/DoPfw5eOtxCzAABeIMZWrWSG0AAAAASUVORK5CYII=)
}
.fc-display-button-share {
	display: inline-block;
	font-family: VideoJS;
	content: "\f10f";
	padding: 13px;
	font-size: 1.5em;
}
.fc-hidden {
	opacity: 0;
}

.fc-share {
	visibility: hidden;
	opacity: 0;
	transition: opacity ease 0.4s 0.1s;
	font-size: 1.2em;
	line-height: 1.5em;
	z-index: 1;
	font-weight: 400;
	font-style: normal;
	font-family: Arial,Helvetica,sans-serif;
	top: -58px;
	position: relative;
}
.fc-share.share-active {
	visibility: visible;
	opacity: 1;
}
.vjs-share__btn {
	cursor: pointer;
}
.video-js .vjs-control.vjs-close-button {
	position: relative;
	right: initial;

	cursor: pointer;
	height: 2em;
	top: -13px;
	float: right;
}
.vjs-share__bottom {
	margin-top: 8px;
}
.vjs-text-track-display > div > div > div {
	padding: 3px;
}

.vjs-poster {
	background-size: cover;
}

#video-container .ima-ad-container,
#video-container .ima-ad-container > div:first-child,
#video-container .ima-ad-container iframe {
	position: absolute !important;
	width:100% !important;
	top: 0 !important;
	left: 0 !important;
	height: 100% !important;
}
@media (min-width: 0px) {
	.fc-related-thumbs {
		grid-template-columns: 1fr;
	}

	.vjs-share{
		margin: 0px auto;
	}

	.fc-related{
		margin: 0px auto;
	}

	#tvvideo {
		width: 100%;
		padding-bottom: 56.25%;
	}
}
@media (max-width: 660px) {
	.fc-expand {
		transition: none;
	}
}
@media (min-width: 660px) {
	.vjs-share {
		margin: 58px auto;
	}
	.fc-related {
		max-height: 80%;
		margin: 58px auto;
	}
	#tvvideo {
		width: 100%;
		min-height: 360px;
		padding-bottom: 0;
	}
}
@media (max-width:1280px) {
	.fc-related-thumb img{
		max-width: 57%;
	}
	.fc-related {
		/*height: 100%;*/
		overflow: hidden;
	}
	.fc-related-thumbs .fc-related-thumb:not(:first-child){
		display:none;
	}
	.fc-related-thumbs {
		margin: 10px 2px;
	}
	.video-js .vjs-big-play-button{
		font-size: 2.2em;
		z-index: 1;
	}
}

@media (min-width:1280px) {
	.fc-related-thumbs {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.fc-related-thumbs .fc-related-thumb:not(:first-child){
		display:block;
	}
	.fc-related-box{
		max-height: 320px;
	}
	.fc-related {
		margin: 10% auto;
	}
	.vjs-modal-dialog-content + button {
		position: absolute;
		top: 37% !important;
		left: 62%;
	}

	.vjs-share__social svg {
		width: 48px;
		height: 48px;
	}
	#tvvideo {
		width: 100%;
		min-height: 420px;
	}

	#video-container {
		width: 100%;
	}

	.vjs-share {
		margin: 15% auto;
	}
}
.vjs-ad-loading.vjs-playing .vjs-tech, .vjs-ad-loading.vjs-waiting .vjs-tech {
	display: none;
}
/* Hide fullscreen button for iOS to avoid ad going fullscreen with native player */
@supports (-webkit-overflow-scrolling: touch) {
	#tvvideo_ima-fullscreen-div{
		display: none!important;
	}
}			

/* !! important correctif bug css de la version initale */
#tvvideo {
	height: auto !important;
	max-height: 0 !important;
}	
video {
	width: 100% !important;
	height: auto !important;
}
.fc-expand {
	position: absolute !important;
	top : 0 !important;
	width: 100% !important;
	right: 0 !important;
}	
