body {
	margin: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden;
	/* prevent text selection on ui */
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	/* prevent scrolling in windows phone */
	-ms-touch-action: none;
	background: #c02942;
}
.ui-btn-left, .ui-btn-leftsave {
	float: right;
	margin-top: 12px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 8px;
	padding-bottom: 8px;
	margin-right: 20px;
	background: #c02942;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}
.ui-btn-leftsave {
	-o-border-bottom-right-radius: 0px;
	-o-border-top-right-radius: 0px;
	-moz-border-bottom-right-radius: 0px;
	-moz-border-top-right-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	border-top-right-radius: 0px;
}
.ui-btn-left:hover{
	background: #9a2135;
	
}
#password {
	float: right;
	padding-top: 11px;
	padding-bottom: 11px;
	padding-left: 5px;
	margin-top: 12px;
	margin-right: 10px;
	margin-left: -20px;
	outline: none;
	border: none;
    -webkit-appearance: none;
    -webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
	-moz-border-top-right-radius: 10px;
    -o-border-bottom-right-radius: 10px;
	-o-border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
	
	width: 70px;
	margin-right: 20px;
}
	input {
	    -webkit-appearance: none;
	    border-radius: 0;
}
#header {
	height: 70px;
	margin-top: 0px;
	margin-bottom: 0px;
	border: 0px;
	margin-bottom: -10px;
	background-image: url("../img/paper.png");
}
#content {
	overflow: hidden;
	background-color: #c02942;
	border-bottom: 4px solid #c02942;
	margin-top: 0px;
}
#content p {
	color: #fff;
	margin-top: 50px;
}
#canvas {
	cursor: crosshair ;
	background-color: #fff;
	/*background-image: url("../img/paper.png");*/
	margin-top: -15px;
}
#brushsize {
	/* prevent text selection on ui */
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	/* prevent scrolling in windows phone */
	-ms-touch-action: none;
	position: absolute;
	width: 100%;
	height: 50px;
	margin-top: 0px;
	background: rgba(255,255,255,0.91);
}
#brushsize ul{
	padding: 0px;
	margin: 0px;
	width: 270px;
	margin: 0 auto;
	
}
#brushsize li {
	width: 50px;
	height: 50px;
	display: inline-block;
	cursor: pointer;
	text-align: center;
}
#brushsize li:nth-child(1) {
	background-image: url(../img/5px.png);
	background-size: 100%;
}
#brushsize li:nth-child(2) {
	background-image: url(../img/10px.png);
	background-size: 100%;
}
#brushsize li:nth-child(3) {
	background-image: url(../img/15px.png);
	background-size: 100%;
}
#brushsize li:nth-child(4) {
	background-image: url(../img/20px.png);
	background-size: 100%;
}
#brushsize li:nth-child(5) {
	background-image: url(../img/25px.png);
	background-size: 100%;
}
#brushsize a {
	width: 50px;
	height: 50px;
	color: #000;	
}
#brushsize a.fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.palette-case {
	width: 260px;
	margin: auto;
	text-align: center;
	margin-top: 0px;
}
.palette-box {
	float: left;
	padding: 2px 6px 2px 6px;
}
.palette {
	border: 1px solid #c02942;
	height: 36px;
	width: 36px;
	border-radius: 50%;
	cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
	-webkit-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.2);
	-o-box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.2);
}
.palette:hover {
	border: 1px solid #fff;
}
.colour1 {
	background-color: #f1dd00;
	
}
.colour2 {
	background-color: #ff9c00;
}
.colour3 {
	background-color: #c02942;
	
}
.colour4 {
	background-color: #82098a;
}
.colour5 {
	background-color: #fff;
	
}
.colour6 {
	background-color: #343434;
	border: 1px solid #fff;
}
.colour7 {
	background-color: #4349c2;
}
.colour8 {
	background-color: #c1c1c1;
}
.colour9 {
	background-color: #6bc36b;
}
.colour10 {
	background-color: #844424;
}
/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 375px) { /*iPhone 6*/
	.ui-btn-left, .ui-btn-leftsave {
		padding: 8px;;
	}
	#password {
		width: 65px;
		margin-right: 8px;
		
	}
	.ui-btn-left {
		margin-right: 5px;
	}
}
@media only screen 
and (max-width : 320px) { /*iPhone 5 under*/
	.ui-btn-left, .ui-btn-leftsave {
		padding: 8px;;
	}
	#password {
		width: 65px;
		margin-right: 8px;
		
	}
	.ui-btn-left {
		margin-right: 5px;
	}
}