﻿body {
}
/*END SCREEN STYLES*/

.mw-video-skin .vjs-custom-overlay{

	padding: 0;

}

.mw-video-skin .suggested-videos{

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	height: 100%;
	width: 100%;
	background: black;
	padding: 10px;
	list-style: none;


}

.mw-video-skin .suggested-videos li{

	position: relative;
	height: 23.6%;
	margin: 1% 0;
	background: rgba(0, 0, 0, 0.6);
	transition: background 0.5s ease;
	z-index: 999;
    color:#FFF;
}

/*.mw-video-skin .suggested-videos li:nth-of-type(2):after{
	
	position: absolute;
	content: '';
	top: 0;
	left: 25%;
	height: 100%;
	width: 75%;
	background: rgba(255, 255, 255, 0.2);
	z-index: -1;
	-webkit-animation: countdown 10s 1 linear;
	-moz-animation:    countdown 10s 1 linear;
	-o-animation:      countdown 10s 1 linear;
	animation:         countdown 10s 1 linear;
	
}*/

.mw-video-skin .suggested-videos .next-video-progress:after{
	
	position: absolute;
	content: '';
	top: 0;
	left: 25%;
	height: 100%;
	width: 75%;
	background: rgba(255, 255, 255, 0.4);
	z-index: -1;
	-webkit-animation: countdown 5s 1 linear;
	-moz-animation:    countdown 5s 1 linear;
	-o-animation:      countdown 5s 1 linear;
	animation:         countdown 5s 1 linear;
	
}

.mw-video-skin .suggested-videos li:hover{
	background: rgba(0, 0, 0, 0.7);
}

.mw-video-skin .suggested-videos li:first-of-type{ margin-top: 0; }
.mw-video-skin .suggested-videos li:last-of-type{ margin-bottom: 0; }

.mw-video-skin .suggested-videos .image{

	height: 100%;
	width: 25%;
	overflow: hidden;
	float: left;

}

.mw-video-skin .suggested-videos .image img{
	
	width: 100%;
	height: auto;
	
}

.mw-video-skin .suggested-videos h2{

	float: left;
	text-align: left;
	padding: 10px;
	font-size: 18px;
	display: inline-block;
	height: 100%;
	width: 43%;
	line-height: 120%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 0.6em;
    color:#FFF !important;

}

.mw-video-skin .suggested-videos .next-button{
	position: relative;
	float: left;
	text-align: left;
	padding: 10px;
	font-size: 18px;
	display: inline-block;
	height: 100%;
	width: 20%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 0.7em;
}

.mw-video-skin .suggested-videos .next-button span{
	position: absolute;
	top: 50%;
	right: 1.7em;
	transform: translateY(-50%);
	font-size: 0.9em;
	font-weight: bold;
	display: inline-block;
	vertical-align: middle;
}

.mw-video-skin .suggested-videos .next-button span .action-icon{
	
	display: inline-block;
	background-image: url(http://wa2.static.mediaworks.co.nz/video/once/2016/assets/end-screen-icons.png?v=0);
	background-size: cover;
	height: 1.5em;
	width: 1.5em;
	vertical-align: middle;
	
}

.mw-video-skin .suggested-videos li:first-of-type .next-button span .action-icon{
	background-position: -2.1em 0;
}
.mw-video-skin .suggested-videos .next-video-progress .next-button span .action-icon{
	background-position: -4.2em 0;
}

.mw-video-skin .suggested-videos .button-context{

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	height: 100%;
	width: 12%;
	float: left;
	font-size: 0.6em;
	font-weight: bold;
	padding-top: 10px;
	text-align: right;
	line-height: 15px;
	
}

@media (max-width: 600px){
	
	.mw-video-skin .vjs-overlay-onceux-countdown{
		padding: 3px !important;
	}

	.mw-video-skin .vjs-overlay-onceux-countdown-text, .mw-video-skin .vjs-overlay-onceux-learnmore-text{
		font-size: 12px !important;
	}
	
	
	
/*	.mw-video-skin .suggested-videos li:nth-child(1){
	
		display: none;
	
	}
	
	.mw-video-skin .suggested-videos li:nth-child(1){
	
		height: 100%;
		width: 100%;
	
	}
	
	.mw-video-skin .suggested-videos li:nth-child(n+3){
	
		display: none;
	
	}*/
	
}