.BGM-vidFeature-container{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.BGM-vidFeature-container>div{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 100%;
	flex: 1 1 100%;
}

.bgm-big-screen-container{
	margin-top: 2em;
	padding: 0 0;
}
.bgm-vid-gallery-big-screen{
	width: 100%;
/*	padding-bottom: 57%;*/
	aspect-ratio: 100 / 57;
	position:relative;
	-webkit-box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
	box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
	margin: 1em 0 2em 0;
	background-image: url(../images/wait-indicator.gif);
	background-position: center center;
	background-repeat: no-repeat;
}
	.bgm-vid-gallery-big-screen iframe{
		position: absolute;
		top: 0;
		left: 0;
		width:  100%;
		height: 100%;
		-webkit-transition: opacity 0.5s;
		transition: opacity 0.5s;
	}
	.bgm-vid-gallery-big-screen:has(video){
		aspect-ratio: auto;
	}
	.bgm-vid-gallery-big-screen video{
		width: 100%;
		vertical-align: top;
	}
	.bgm-vid-gallery-local {
		width: 100%;
		margin: 0 auto;
		vertical-align: top;
	}


.bgm-vid-thumbnails{
	text-align:center;
	padding-top: 1em;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: top;
	-ms-flex-align: top;
	align-items: top;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.bgm-vid-thumbnails>div{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 320px;
	flex: 1 1 320px;
	padding: 0 1em;
}
.bgm-vid-thumbFrame{
   display: inline-block;
   position: relative;
}
	.bgm-vid-thumbnails figure{
		vertical-align: top;
		margin: 1em auto;
		display: table;
		width: 100%;
    	max-width: 30em;
		cursor: pointer;
	}
	.bgm-vid-thumbnails figure img{
		max-height: 200px;
		width: auto;
		max-width: 100%;
	}
	.bgm-vid-thumbnails figCaption{
		font-size: 0.8em;
		text-align: justify;
		display: table-caption;
		caption-side: bottom;
		padding-top: 1em;
	}
		.bgm-vid-thumbnails figCaption>h1{font-size: 1.2em; margin: 0;}
		.bgm-vid-thumbnails figCaption>h2{ text-align: center; margin-top: 0;}
		.bgm-vid-thumbnails figCaption p{margin: 0; line-height: 120%;}

#prefVidInfo{
	display: none;
}
#vidDetails{
   overflow: hidden;
  -webkit-transition: max-height 0.5s;
   -webkit-transition: height 0.5s;
   transition: height 0.5s;
}
#vidDetails>div:first-of-type{
	margin: 0;
	padding: 1px;
}


div.label:has([value="Local File"]:not(:checked)) + label {
	display: block;
}
div.label:has([value="Local File"]:not(:checked)) + label + div{
	display: none;
}
div.label:has([value="Local File"]:not(:checked)) + label + div + div{
	display: none;
}
div.label:has([value="Local File"]:checked) + label {
	display: none;
}
div.label:has([value="Local File"]:checked) + label + div{
	display: block;
}
div.label:has([value="Local File"]:checked) + label + div + div + div{
	display: block;
}


@media only screen and (max-width: 600px){
   .bgm-big-screen-container {padding: 0;}
}