/*
Add any CSS that will be needed by your Video Gallery Custom Template gallery template. This will be output to the frontend
*/

ul.foogallery-video-gallery-custom-template {
	display: inline-block;
}

ul.foogallery-video-gallery-custom-template li {
	display: inline;
}

ul.foogallery-video-gallery-custom-template li a {
	display: inline-block;		
	width: 100%;
    height: 100%;
}

ul.foogallery-video-gallery-custom-template li a:hover {
	 -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, .5);
	 -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, .5);
 }

ul.foogallery-video-gallery-custom-template li img {
	display: block;	
	width: 100%;
}
.message-container{
	display:none;
}
.vid-cap{
	position: absolute;
    background:  rgba(0,0,0,0.60);
    bottom: 0;
    padding: 15px 8px;
    width: 97.78%;
    height: 20px;    
}

.video_holder:nth-of-type(1){
	width: 720px;
	height: 405px;
	position: relative;
    float: left;	
}

.video_holder:nth-of-type(2), .video_holder:nth-of-type(3), .video_holder:nth-of-type(4){    
    width: 240px;
	height:135px;
	position: relative;
	float: left;
}
.video_holder:nth-of-type(2) img, .video_holder:nth-of-type(3) img, .video_holder:nth-of-type(4) img{
	width: 240px;
    height: 135px;
}

.video_holder:nth-of-type(2) .vid-cap, .video_holder:nth-of-type(3) .vid-cap, .video_holder:nth-of-type(4) .vid-cap , .video_holder:nth-of-type(n+6) .vid-cap{
	position: absolute;
    background:  rgba(0,0,0,0.60);
    bottom: 0;
    padding: 10px;
    width: 220px;
    height: 35px;    
}

.video_holder:nth-of-type(5){   
    width: 480px;
    float: left;
	height:270px;
	position: relative;  
}

.video_holder:nth-of-type(5) img{   
    width: 480px;    
	height:270px;
}

.video_holder:nth-of-type(n+6){   
    width: 240px;  
	height:135px;
	position: relative;
	float: left;
}
.video_holder:nth-of-type(n+6) img{   
    width: 240px;    
	height:135px;	
}

.loading-container{
	background: url('/wp-content/assets/preloader.gif');
	height: 100px;
    width: 100px;
    background-size: contain;
    margin: 0 auto;  
}

.foogallery-container a.foo-video {
	position: relative;
}

.foogallery-container a.foo-video:before {
	content: " ";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: none no-repeat center center;	
}

.video_holder:nth-of-type(1) .foo-video:before {    
    background: transparent url('/wp-content/assets/HERO_01_Play_D.png') no-repeat left top;
    width: 132px !important;
    height: 132px !important;
    left: 43% !important;
    top: 39% !important;
    margin: 0 !important;
    transition: unset;
}

.foogallery-container.video-icon-default .video_holder:nth-of-type(1) a.foo-video:hover:before {
    background: url('/wp-content/assets/HERO_01_Play_D.png') no-repeat left bottom !important;
    z-index: 10;
}

.video_holder:nth-of-type(n+2) .foo-video:before {    
    background: transparent url('/wp-content/assets/HERO_01_Play_M.png') no-repeat left top;
    width: 66px !important;
    height: 66px !important;
    left: 40% !important;
    top: 35% !important;
    margin: 0 !important;
    transition: unset;
}

.foogallery-container.video-icon-default .video_holder:nth-of-type(n+2) a.foo-video:hover:before {
    background: url('/wp-content/assets/HERO_01_Play_M.png') no-repeat left bottom !important;
    z-index: 10;
}