*
{
	margin: 0;
	padding: 0;
}

html
{
	width:100%;
	height:100%;
}

body
{
	background-color: #000;
	position:relative;
	overflow:hidden;
	width:100%;
	height:100%;
}


/* iOS7 FIX STYLES */

#ios7
{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px 10px 144px 10px;
	width: 100%;
	height: auto;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 100000;
	box-sizing: border-box;
}

#ios7 img
{
	z-index: 100001;
}
	
#ios7 #box
{
	position: relative;
	overflow: hidden;
	display: table;
	padding: 20px;
	width: 100%;
	height: 100%;
	border: solid 1px white;
	border-radius: 5px;
	text-align: left;
	box-sizing: border-box;
}
	
#ios7 #box #message
{
	position: relative;
	font-family: Matterhorn, Arial, Helvetica, sans-serif;
	font-size: 13.8pt;
	display: table-cell;
	vertical-align: middle;
	color: #ffffff;
	width: 100%;
	padding-top: 2%;
	height: 100px;
}
	
#ios7 span
{
	display: block;
}

#ios7 #icon
{
	position: relative;
	float: left;
	margin: 3% 4%;
}
	
#ios7 #add-button
{
	position: relative;
	float: right;
	margin: 3% 4% 3% 0;
}
	
#ios7 #close-button
{
	display: block;
	position: absolute;
	right: 0;
	top: 0;
}
	
#ios7 #options-button
{
	position: relative;
	top: 2px;
	margin-top: -2px;
}

#ios7 #arrow
{
	display: block;
	margin: 10px auto 0 auto;
}

@media screen and (max-width : 320px) /*and (orientation:portrait)*/
{
	#ios7
	{
		height: 100%;
	}
	
	#ios7 #box
	{
		text-align: center;
	}
	
	#ios7 #box #message
	{
		padding: 0;
	}
	
	#ios7 #icon
	{
		float: none;
	}
		
	#ios7 #add-button
	{
		margin: 0 40% -66%;
		float: none;
		clear: both;
	}
}

@media screen and (min-width : 321px) /*and (orientation:landscape)*/
{
	#ios7
	{
		height: auto;
	}
	
	#ios7 #box
	{
		text-align: left;
	}
	
	#ios7 #box #message
	{
		padding: 2% 0 0 0;
	}
	
	#ios7 #icon
	{
		float: left;
	}

	#ios7 #add-button
	{
		float: right;
	}
}