html{
	font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
}

html, body{
	height: 100%;
}

body{
	background-color: #3a342f;

	/*disable user select*/
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;


	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

#beginScreen{
	text-align: center;
}

#title{
	color: #1e7d29;
	font-size: 60px;
	font-family: "Comic Sans MS", cursive, sans-serif;
	text-shadow: 1px 1px 0px #114a17,
				 2px 2px 0px #114a17,
				 3px 3px 0px #114a17,
				 4px 4px 0px #114a17,
				 5px 5px 0px #114a17,
				 5px 10px 20px rgba(0,0,0,0.3);
}

.fancyBox{
	border-radius: 3px;
	position: relative;
}

#nameForm{
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	padding: 30px;
	text-align: center;
}

#nameInput{
	border: 0px;
	outline: 0;
	font-size: 20px;
	width: 210px;
	padding: 8px;
	box-shadow: 1px 1px #155a1c,
				2px 2px #155a1c,
				3px 3px #155a1c,
				4px 4px #155a1c,
				5px 5px #155a1c,
				10px 10px 20px rgba(0,0,0,0.2);
	margin: 5px;
	-webkit-appearance: none;
}

#joinButton{
	border: 0px;
	outline: 0;
	font-size: 20px;
	padding: 8px;
	background-color: #3bad48;
	box-shadow: 1px 1px #155a1c,
				2px 2px #155a1c,
				3px 3px #155a1c,
				4px 4px #155a1c,
				5px 5px #155a1c,
				10px 10px 20px rgba(0,0,0,0.2);
	margin: 5px;
	cursor: pointer;
	color: white;
	-webkit-appearance: none;
}

#joinButton:hover{
	background-color: #43bf51;
}

#joinButton:active{
	left: 5px;
	top: 5px;
	box-shadow: 0px 0px #155a1c;
}

#scoreBlock{
	position: fixed;
	padding: 4px;
	left: 10px;
	bottom: 15px;
	z-index: 100;
	font-size: 12px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.scoreRank > td{
	padding: 0px 5px;
	max-width: 200px;
	overflow: hidden;
	white-space: nowrap;
}

.rank{
	font-size: 14px;
}

.greenBox{
	background-color: #1e7d29;
	box-shadow: 1px 1px #114a17,
				2px 2px #114a17,
				3px 3px #114a17,
				4px 4px #114a17,
				5px 5px #114a17,
				10px 30px 80px rgba(0,0,0,0.3);
	border-radius: 3px;
}

#blockCaptureCount{
	font-size: 15px;
}

#leaderboard{
	position: fixed;
	right: 13px;
	top: 8px;
	z-index: 100;
	padding: 5px;
	opacity: 0.7;
}

#miniMap{
	position: fixed;
	width: 80px;
	height: 80px;
	left: 10px;
	top: 10px;
	padding: 3px;
}

#minimapCanvas{
	opacity: 0.4;
}

#miniMapPlayer{
	width: 3px;
	height: 3px;
	background-color: white;
	border-radius: 3px;
	border: 1px solid black;
	position: absolute;
	box-shadow: 1.5px 1.5px 4px rgba(0,0,0,0.2);
	z-index: 120;
}

.fullscreenCanvas{
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height:100%;
}

#tutorialCanvas{
	margin: 30px;
	box-shadow: 1px 1px #2b2623,
				2px 2px #2b2623,
				3px 3px #2b2623,
				4px 4px #2b2623,
				5px 5px #2b2623,
				10px 30px 80px rgba(0,0,0,0.4);
	border-radius: 3px;
}

#tutorialText{
	margin-top: 30px;
	color: white;
}

#expandPage{
	height: 30px;
}

#touchControls{
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 10000;
}

#notification{
	color: #a22929;
	margin-bottom: 30px;
	text-shadow: 1px 1px 1px #7b1e1e,
				 3px 3px 10px rgba(0,0,0,0.3);
}

#skinScreenCanvas{
	z-index: -100;
}

#skinScreen{
	overflow: hidden;
}

#skinButton{
	position: fixed;
	left: 20px;
	bottom: 20px;
	cursor: pointer;
	z-index: 10;
}

#skinButtonShadow{
	width: 30px;
	height: 30px;
	position: fixed;
	bottom: 12px;
	left: 28px;
	box-shadow: 0px 0px 30px rgba(0,0,0,0.3);
	background-color: rgba(0,0,0,0.1);
	border-radius: 3px;
	z-index: 5;
}

.skinButtonContainer{
	position: relative;
	margin: 50px auto;
	height: 50px;
	width: 300px;
}

.skinButton{
	width: 50px;
	height: 50px;
	border-radius: 25px;
	background-color: #1e7d29;
	box-shadow: 1px 1px #114a17,
				2px 2px #114a17,
				3px 3px #114a17,
				10px 30px 80px rgba(0,0,0,0.3);
	position: absolute;
	top: 0px;
	z-index: 30;
	background-image: url("arrow.svg");
	background-size: cover;
	cursor: pointer;
}

.skinButton:hover, #skinSave:hover{
	background-color: #22902f;
}

.skinButton:active, #skinSave:active{
	box-shadow: 0px 0px #155a1c;
}

.skinButton:active{
	top: 3px;
}

.skinButtonLeft:active{
	left: 3px;
}

.skinButtonRight{
	right: 5px;
	background-image: url("arrowR.svg");
}

.skinButtonRight:active{
	right: 0px;
}

.skinValue{
	width: 250px;
	background-color: #1e7d29;
	box-shadow: 1px 1px #114a17,
				2px 2px #114a17,
				3px 3px #114a17,
				10px 30px 80px rgba(0,0,0,0.3);
	padding: 5px;
	text-align: center;
	position: absolute;
	top: 12px;
	left: 25px;
	z-index: 20;
	color: white;
}

#skinSave{
	border-radius: 3px;
	width: 100px;
	position: relative;
	margin: auto;
	cursor: pointer;
	top: 5px;
	left: 0px;
}

#skinSave:active{
	top: 8px;
	left: 3px;
}

#logoCanvas{
	margin: 30px 0px;
}