/* Responsive */
video {
	max-width: 100%;
}

// Set embed max width
.entry iframe, .entry embed {
	max-width: 100%;
}

// Media 16:9 ratio responsive embeds
.wpex-roembed,
.responsive-video-wrap,
.responsive-audio-wrap {
	position: relative;
	padding-top: 56%;

	iframe,
	object,
	embed {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

	p {
		margin: 0; // Vimeo fix
	}

}

.wp-video-shortcode {
	width: auto !important;
	max-width: 100% !important;
	transition: opacity 0.4s;
	visibility: hidden;
	@include opacity( 0 );

	.wpex-window-loaded & {
		visibility: visible;
		@include opacity( 1 );
	}

}