#ui
{
	overflow: hidden;
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	font-size: 100%;
	/*
	background-color: black;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	*/
}
.dropShadow{
	-moz-box-shadow:	0px 10px 15px rgba(0,0,0,0.3);
	-webkit-box-shadow:	0px 10px 15px rgba(0,0,0,0.3);
	box-shadow:			0px 10px 15px rgba(0,0,0,0.3);
}
/*colours*/
.purple
{
	background-color: #b93296;
}
.grey
{
	background-color: #e0e6e9;
}
.blue
{
	background-color: #185668;
}
.blueText
{
	color: #185668;
}
.round-xlarge
{
    border-radius: 16px;
}
.roboto
{
	font-family: 'Roboto', sans-serif;
}
.weight-thin	{font-weight: 100}
.weight-light	{font-weight: 300}
.weight-normal	{font-weight: 400}
.weight-bold	{font-weight: 700}
.weight-black	{font-weight: 900}
#drone_icon{
	position:absolute;;
	left:30px;
	margin-top:8px;
	width:36px;
	height:19px;
	background-image: url("../assets/ui/drone_icon.png");
}
#overlay
{
	position: absolute;
	display: block;
	background-color: #000000;
	width: 100%;
	height: 100%;

	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	/* IE 5-7 */
	filter: alpha(opacity=50);
	/* Netscape */
	-moz-opacity: 0.5;
	/* Safari 1.x */
	-khtml-opacity: 0.5;
	/* Good browsers */
	opacity: 0.5;
}
#canvas
{
	position: absolute;
	display: block;
}
#wrapper
{
	position: absolute;
	display: block;
	width:1024px;
	height:768px;
	left:50%; /*(100-80) * 0.5*/
	top:50%;

}
.sixteen-by-nine { padding-bottom: 56.25% }
#intro
{
	position: absolute;
	display: none;
	background-color: #FFFFFF;
	width:1024px;
	height:768px;
	left:-50%;
	top:-50%;
}
#instructions
{
	position: absolute;
	display: none;
	background-color: #FFFFFF;
	width:1024px;
	height:768px;
	left:-50%;
	top:-50%;
}
#instructions_header{
	position: absolute;
	width:100%;
	height:25%;
	background-color: #185668;

	color: #FFFFFF;
	text-align: center;
    font-weight: 300;
    font-size: 3em;

	background-image: url("../assets/ui/tile.png");
}
#instructions_body
{
	position: absolute;
	width:100%;
	height:75%;
	bottom:0px;

	text-align: center;
    font-weight: 400;
    font-size: 1.5em;

	background-image: url("../assets/ui/bg_intro.png");
	background-repeat: no-repeat;
	background-position-y: 100%;
	background-position-x: 5%;
	background-size: 160%;
}
ol > li {
	margin-bottom: 8px;
}
#btn_play_now{
	width:20%;
	height:10%;
	left:40%;
	bottom:15%;
}
#instructions_lists{
	margin-left: 5%;
    margin-right: 5%;
	text-align: left;
}

#gameover{
	position: absolute;
	display: none;
	background-color: #FFFFFF;
	width:1024px;
	height:768px;
	left:-50%;
	top:-50%;
}
#gameover_header{
	position: absolute;
	width:100%;
	height:25%;
	background-color: #185668;

	color: #FFFFFF;
	text-align: center;
    font-weight: 300;
    font-size: 3em;

	background-image: url("../assets/ui/tile.png");
}
#gameover_message{
	font-weight: 700;
	font-size: 1.5em;
}
#gameover_message_full{
	margin-left: 5%;
    margin-right: 5%;
}


#gameover_body{
	position: absolute;
	width:100%;
	height:75%;
	bottom:0px;

	text-align: center;
    font-weight: 400;
    font-size: 1.5em;

	background-image: url("../assets/ui/bg_intro.png");
	background-repeat: no-repeat;
	background-position-y: 100%;
	background-position-x: 5%;
	background-size: 160%;
}

#level_complete
{
	position: absolute;
	display: none;
	background-color: #FFFFFF;
	width:1024px;
	height:768px;
	left:-50%;
	top:-50%;
}
#level_complete_header
{
	position: absolute;
	width:100%;
	height:30%;
	background-color: #185668;

	color: #FFFFFF;
	text-align: center;
    font-weight: 300;
    font-size: 3em;

	background-image: url("../assets/ui/tile.png");
}
#level_complete_body
{
	position: absolute;
	width:100%;
	height:70%;
	bottom:0px;

	text-align: center;
    font-weight: 400;
    font-size: 2em;

	background-image: url("../assets/ui/bg_intro.png");
	background-repeat: no-repeat;
	background-position-y: 100%;
	background-position-x: 5%;
	background-size: 160%;
}
#btn_nextLevel
{
	width:20%;
	height:10%;
	left:40%;
	bottom:25%;
}
#welcome_header{
	position: absolute;
	width:100%;
	height:30%;
	background-color: #185668;

	color: #FFFFFF;
	text-align: center;
    font-weight: 300;
    font-size: 3em;

	background-image: url("../assets/ui/tile.png");
}
#welcome_body{
	position: absolute;
	width:100%;
	height:70%;
	bottom:0px;

	text-align: center;
    font-weight: 400;
    font-size: 1.5em;

	background-image: url("../assets/ui/bg_intro.png");
	background-repeat: no-repeat;
	background-position-y: 100%;
	background-position-x: 5%;
	background-size: 160%;
}
#welcome_body > p{
	margin-left: 5%;
	margin-right: 5%;
}
#welcome_drone{
	position: absolute;
	width:50%;
	height:50%;

	background-image: url("../assets/ui/drone.png");
	background-repeat: no-repeat;
	background-position-y: 70%;
	background-position-x: 0%;
	background-size: 75%;
}

.btn{
	/*border-radius:5% 25%;*/
	border-top-left-radius: 5% 25%;
	border-top-right-radius: 5% 25%;
	border-bottom-left-radius: 5% 25%;
	border-bottom-right-radius: 5% 25%;
	display:block;
	position: absolute;
	background-color: #185668;
	font-weight: 400;
	color: #FFFFFF;
}
#btn_play{
	width:20%;
	height:10%;
	left:40%;
	bottom:25%;
}
#btn_playagain
{
	width:30%;
	height:10%;
	left:35%;
	bottom:20%;
}
#btn_leaderboard{
	width:30%;
	height:10%;
	left:35%;
	bottom:32%;
}

#highscore
{
	position: absolute;
	display: none;
	background-color: #FFFFFF;
	width:1024px;
	height:768px;
	left:-50%;
	top:-50%;
}
#highscore_header{
	position: absolute;
	width:100%;
	height:20%;
	background-color: #185668;

	color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 3em;

	background-image: url("../assets/ui/tile.png");
}
#highscore_header > p {
	margin-left: 5%;
}
#highscore_drone{
	position: absolute;
	width:50%;
	height:50%;

	background-image: url("../assets/ui/drone.png");
	background-repeat: no-repeat;
	background-position-y: 26%;
	background-position-x: 8%;
	background-size: 65%;
}
#highscore_body{
	position: absolute;
	width:100%;
	height:80%;
	bottom:0px;

	text-align: center;
	font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.5em;

	background-image: url("../assets/ui/bg_intro.png");
	background-repeat: no-repeat;
	background-position-y: 104%;
	background-position-x: 84%;
	background-size: 180%;
}
#leaderboard{
	position: absolute;
	width:60%;
	left: 35%;
	height:100%;
	margin-top: 5%;
	font-size: 0.75em;
}
#highscore_left
{
	position: absolute;
	width:30%;
	left:2.5%;
	height:90%;
	bottom:0%;
}
#find_out_more{
	padding-top:100%;
}
#btn_back{
	width:60%;
	height:12%;
	left:20%;
	margin-top: 5%;
	top:5%;
}
#btn_back > span{
	margin-top: 4%;
}
#btn_share{
	width:60%;
	height:12%;
	left:20%;
	margin-top: 5%;
	line-height: 1em;
	top:20%;
}
#btn_share > span{
	margin-top: -2%;
}
#btn_share_twitter {
	width: 60%;
    height: 12%;
    left: 20%;
    margin-top: 5%;
    line-height: 1em;
    top: 35%;
}

#btn_share_twitter > span {
    top: 12%;
}
#btn_more{
	width:60%;
	height:12%;
	left:20%;
	margin-top: 5%;
	line-height: 1em;
	top:50%;
}
#btn_more > span{
	margin-top: -2%;
}

.grey{
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;
	background-color: #e0e6e9;
}
.row{
	height: 6%;
	padding-bottom:0.25%;
}
.colSpan {
	position: absolute;
	width: 100%;
	height: 100%;
	margin-left: -50%;
	margin-top: 5px;
}
/*ie leaderboard fix*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .colSpan {
		position:relative;
		margin-left: auto;
   }
}
.col{
	height: 100%;
	float:left;
	background-color: #e0e6e9;
}

.colWinner{
	height: 100%;
	float:left;
	background-color: #b93296;
	color:#FFFFFF;
}
.colUser{
	height: 100%;
	float:left;
	background-color: #185668;
	color:#FFFFFF;
}
.rank{
	width: 10%;
}
.username{
	width: 70%;
	margin-left: 0.25%;
	margin-right: -0.25%;
}
.score{
	width: 18%;
	margin-left: 0.5%;
	margin-right: -0.5%;
}

#message{
	display: none;
	position: absolute;
	left:45%;
	top:45%;
	width: 10%;
	/*height: 10%;*/
	padding-bottom: 10%;
	background-color: #b93296;
	border-radius: 100%;
}

.message
{
	position: absolute;
	width:80%;
	left:10%;
	text-align: center;
	color: #FFFFFF;
	font-weight: 300;
	top:40%;
}
.message_header
{
	top:25%;
	font-weight: 700;
}
/*
#message > span{
	position: absolute;
	width:80%;
	left:10%;
	text-align: center;
	color: #FFFFFF;
	margin-top: 25%;
}*/
#input_username
{
	font-size: 1em;
}
#loading
{
	position: absolute;
	width:100%;
	height:100%;
	left:-50%;
	text-align: center;
	color: #FFFFFF;
}
#loading > h1
{
	margin-top: -3%;
	/*font-size: 6em;*/
}
#loading_bar_container
{
	position:absolute;;
	width:80%;
	left:10%;
}
#loading_bar
{

}
.btn > span{
	top: 20%;
	position: absolute;
	width: 100%;
	left:0%;
}
span{
   cursor: default;
}
#canvas
{
	display:none;
}

body
{
	background-image: url('../assets/ui/tile.png');
	overflow: hidden;
	left:0px;
	top:0px;
	width:100%;
	height:100%
}
html
{
	overflow: hidden;
}
.grad-right
{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&1+0,0+100 */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=1 ); /* IE6-8 */
}
.grad-left
{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,1+100 */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=1 ); /* IE6-8 */
}


/* CSS Mini Reset */
html, body, div, form, fieldset, legend, label { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
th, td { text-align: left; vertical-align: top; }
h1, h2, h3, h4, h5, h6, th, td, caption { font-weight:normal; }
img { border: 0; }
