body {
	margin: 0;
	padding: 0;
	border: 0;
	
	background: #dbdbd3;
	font-family: Arial;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	
	overflow: hidden;
}

.wood {
	background: #bba484;
	background-image: url('WoodGrain.svg');
}

#header {
	height: 50px;
	width: 100%;
	
	border-bottom: 4px solid #a38970;
	box-shadow: 0 5px 10px 0 rgba(150, 150, 150, 0.8);
	box-sizing: border-box;
	
	position: absolute;
	top: 0;
	left: 0;
	
	z-index: 5;
}

canvas {
	box-shadow: 5px 5px 5px 0 rgba(180, 180, 180, 0.8);
}

input.crnt {
	background: red;
}

#saveStates {
	background: #fafafa;
	
	position: absolute;
	box-sizing: border-box;
	top: 50px;
	right: 50px;
	
	padding: 0 10px;
	
	width: 350px;
	z-index: 4;
}

#colorHistory {
	background: #f2f3f5;
	background: -moz-linear-gradient(top,  #f2f3f5 0%, #f4f5f7 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f3f5), color-stop(100%,#f4f5f7));
	background: -webkit-linear-gradient(top,  #f2f3f5 0%,#f4f5f7 100%);
	background: -o-linear-gradient(top,  #f2f3f5 0%,#f4f5f7 100%);
	background: -ms-linear-gradient(top,  #f2f3f5 0%,#f4f5f7 100%);
	background: linear-gradient(to bottom,  #f2f3f5 0%,#f4f5f7 100%);
	
	position: absolute;
	top: 50px;
	left: 0;
	
	width: 50px;
	z-index: 4;
	
	padding-top: 10px;
	box-sizing: border-box;
}

input[type="color"].pallete::-webkit-color-swatch {
	border: none;
	border-radius: 50%;
	background: radial-gradient(circle at 40px -10px, white, rgba(0, 0, 0, 0));
	box-shadow: inset 1px -1px 0 rgba(100, 100, 100, 0.2);
}

input[type="color"].pallete.choose::-webkit-color-swatch {
	background: url('ChooseColour.png') no-repeat;
	background-size: 100%;
}

input[type="color"]:focus {
	outline: 0;
}

input[type="color"].pallete {
	background: #cecfc7;
	background: -moz-linear-gradient(top,  #cecfc7 0%, #fcfcfc 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cecfc7), color-stop(100%,#fcfcfc));
	background: -webkit-linear-gradient(top,  #cecfc7 0%,#fcfcfc 100%);
	background: -o-linear-gradient(top,  #cecfc7 0%,#fcfcfc 100%);
	background: -ms-linear-gradient(top,  #cecfc7 0%,#fcfcfc 100%);
	background: linear-gradient(to bottom,  #cecfc7 0%,#fcfcfc 100%);

	border-radius: 50%;
	
	width: 25px;
	height: 28px;
	padding: 2px 3px;
	margin: 5px 9px;
	
	border: 0;
	box-shadow: inset 1px 2px 0 rgba(200, 200, 200, 0.8);
}

input[type="color"].pallete.selected {
	box-shadow: inset 1px 2px 0 rgba(100, 100, 100, 0.4);
}

#canvasName, #canvasName:focus {
	background-color: rgba(0, 0, 0, 0);
	width: 30%;
	border: none;
	border-bottom: 2px solid rgba(0, 0, 0, 0.2);
	padding: 0;
	font-size: 30px;
	text-overflow: ellipsis;
	margin: 6px 0 0 10px;
	text-shadow: 1px 1px 0 rgba(200, 200, 200, 0.6);
	font-weight: bold;
	outline: 0;
	float: left;
}

#header ul {
	float: left;
	padding: 5px 0 0 0;
	margin: 0 0 0 50px;
}

#header ul li {
	list-style-type: none;
	text-shadow: 1px 1px 0 rgba(200, 200, 200, 0.6);
	text-align: center;
	font-size: 11px;
	text-transform: uppercase;
	margin-right: 50px;
	float: left;
}

#header ul li.slimMargin {
	margin-right: 15px;
}

#header ul li .fa {
	color: rgba(0, 0, 0, 0.6);
	font-size: 25px;
	
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}

#header ul li.disabled .fa {
	color: rgba(0, 0, 0, 0.3);
}

#header ul li.crnt .fa {
	color: inherit !important;
	text-shadow: 1px 1px 0 rgba(200, 200, 200, 0.8);
}

#copyright {
	position: absolute;
	right: 10px;
	top: 5px;
	
	text-align: right;
	font-size: 12px;
}

input[type='range'], input[type='range']:focus {
	-webkit-appearance: none !important;
	background: rgba(100, 100, 100, 0.8);
	border-radius: 5px;
	height: 7px;
	outline: 0;
	margin-top: 14px;
}

input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	background: white;
	height: 20px;
	width: 20px;
	border-radius: 50%;
}

#penSizeValue {
	margin-top: 6px;
	font-size: 20px !important;
}