.transition(@duration:0.2s, @ease:ease-out) {
	-webkit-transition: all @duration @ease;
	-moz-transition: all @duration @ease;
	-o-transition: all @duration @ease;
	transition: all @duration @ease;
}

.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF, @startie: #EEE, @stopie: #FFF) {
  background: @color;
  background: -webkit-gradient(linear,
                               left bottom,
                               left top,
                               color-stop(0, @start),
                               color-stop(1, @stop));
  background: -ms-linear-gradient(bottom,
                                  @start,
                                  @stop);
  background: -moz-linear-gradient(center bottom,
                                   @start 0%,
                                   @stop 100%);
  background: -o-linear-gradient(@stop,
                                 @start);
}

.dr-page-article.video-article {
	.summary {
		// display: none;
	}
	h1 {
		&.hide {
			display: none;
		}
	}
}

.site-content .section.mediaband {
	background-color: @secondary;
	color: white;
	a {
		color: white;
	}
	.metainfo {
		color: @grey-80;
	}
}


.video-article-media {
	position: relative;
	.dr-widget-video-player .image-wrap .icon-wrap .dr-icon-play-inverted-large{
		left: -32px;
		top: -64px;
		&:before {
			background-color: @primary;
			font-size: 64px;
		}
	}
	.overlay-title {
		position:absolute;
		border: none;
		z-index: 100;
		background-color: black;
		background-color:rgba(0,0,0,0.5);
		width: 100%;
		height: 36px;
		display: none;
		&.show {
			display: block;
		}
	}
	h1 {
		position: absolute;
		z-index: 3;
		padding: 20px;
		box-sizing: border-box;
		width: 100%;
		max-width: 900px;
		color: white;
		opacity: 1.0;
		bottom: 36px;
		padding-top: 100px;
		background: black;
		background: rgba(0,0,0,0.2);
		.gradient(
			rgba(0,0,0,0.2),
			rgba(0,0,0,0.5),
			rgba(0,0,0,0.0),
			"#88000000",
			"#00000000"
		);
		&.fade {
			.transition(0.2s, ease-out);
			opacity: 0.0;
		}
		&.hide {
			display: none;
		}
		&.show {
			position: relative;
			padding: 0 0 20px;
			color: black;
			opacity: 1.0;
			bottom: 0;
			background: transparent;
		}
	}
	figcaption {
		display: none;
	}
}
html.ie9 {
	.video-article-media {
		h1 {
			padding-top: 20px;
		}
	}
}

html.ie8 {
	.video-article-media {
		h1 {
			display: none;
		}
	}
	.dr-page-article.video-article {
		.summary {
			// display: none;
		}
		h1 {
			display: block;
		}
	}
}

html.no-rgba {
	.video-article-media {
		h1 {
			background: rgb(0,0,0);
			padding-top: 20px;
		}
	}
}
