/* This stylesheet is used to style the public view of the plugin. */

#richmedia{
	width: 1045px; 
	height: 55px; 
	position: relative;
	z-index: 1000;
	text-align: center; 
	overflow: hidden !important;
	margin: 0px auto;
}

#richmediaControl
{
	text-align: right; 
	width: 1045px; 
	height: 15px; 
	z-index: 5; 
	top: 0pt; 
	left: 0pt; 
	margin: -7px 0pt 0pt 0px; 
	position: absolute;
	
}

#richmediaControl > div
{
	width: 45px;
	height: 45px;
	background: url(/wp-content/plugins/rich-media/assets/expand.png) no-repeat top center;
	z-index: 2004;
	float: right;
	margin-top: 10px;
	
}

#richmediaContainer
{
	text-align: left; 
	width: 1045px; 
	height: 350px;  
	margin: 0px 0 0 0px; 
	
}

#richmediaContainer > div
{
	top: 0;
	left: 0;
	z-index:2000;
}

#richmediaBackground > img
{
	width: 100%;
}

#richmediaVideoContainer
{
	position: absolute;
	top: 75px !important;
	left: 650px !important;
	z-index: 2005 !important;
}

#parallax 
{
   	position:relative !important; 
	overflow:hidden; 
	width: 1045px; 
	height:250px;
    
}
.parallax-viewport 
{
    position: relative;     /* relative, absolute, fixed */
    overflow: hidden;
}
.parallax-layer 
{
    position: absolute !important; 
}

#richmediaVideoContainer > video, #richmediaVideoContainer > embed
{
	width: 320px !important;
	height: 240px !important;
}

#main-content
{
	margin-top: 0px !important;
}

header
{
	margin-bottom: 0px !important;
}
/*  TABLET  : 1024px */
@media only screen and ( max-width: 1024px )
{
	/*
	body
	{
		background-size: 1200px 1200px !important;
	}
	
	.background-cover
	{
		background-size: 1200px 1200px !important;
	}
	*/
	
	#richmedia
	{
		width: 985px !important;
	}
	
	#richmediaControl
	{
		width: 985px !important;
	}
	
	#richmediaContainer
	{
		width: 985px !important;
		height: 248px;
	}
	
	#richmediaBackground > img
	{
		width: 100%;
	}
	
	#richmediaVideoContainer
	{
		top : 40px !important;
		left: 470px !important;
	}
	
	#richmediaVideoContainer > video, #richmediaVideoContainer > embed
	{
		width: 240px !important;
		height: 180px !important;
	}

}

/* TABLET  : 768px */
@media only screen and (max-width: 985px) and (min-width: 768px)
{
	body
	{
		background-size: 1200px 1200px !important;

	}
	
	.background-cover
	{
		background-size: 1200px 1200px !important;

	}
	
	#richmedia
	{
		width: 750px !important;
	}
	
	#richmediaControl
	{
		width: 750px !important;
	}
	
	#richmediaContainer
	{
		width: 750px !important;
		height: 248px;
	}
	
	#richmediaBackground > img
	{
		width: 100%;
	}
	
	#richmediaVideoContainer
	{
		top : 40px !important;
		left: 470px !important;
	}
	
	#richmediaVideoContainer > video, #richmediaVideoContainer > embed
	{
		width: 240px !important;
		height: 180px !important;
	}
}

/*  Phone  : 480px */
@media only screen and (max-width: 767px) and (min-width: 480px)
{
	
	
	#richmedia
	{
		width: 445px !important;
	}
	
	#richmediaControl
	{
		width: 445px !important;
	}
	
	#richmediaContainer
	{
		width: 445px !important;
		height: 450px;
		background-color: #000;
	}
	
	#richmediaBackground > img
	{
		width: 100%;
	}
	
	#richmediaVideoContainer
	{
		left: 50% !important;
		margin-left: -160px;
		top: 200px !important;
	}

	#richmediaVideoContainer > video, #richmediaVideoContainer > embed
	{
		width: 320px !important;
		height: 240px !important;
	}
}

/* Phone  : 320px */
@media only screen and (max-width: 479px)
{
	#richmedia
	{
		width: 297px !important;
	}
	
	#richmediaControl
	{
		width: 297px !important;
	}
	
	#richmediaContainer
	{
		width: 297px !important;
		height: 450px;
		background-color: #000;
	}
	
	#richmediaBackground > img
	{
		width: 100%;
	}
	
	#richmediaVideoContainer
	{
		left: 50% !important;
		margin-left: -160px;
		top: 100px !important;
	}

	#richmediaVideoContainer > video, #richmediaVideoContainer > embed
	{
		width: 320px !important;
		height: 240	px !important;
	}
}