*{
	margin:0;
	padding:0;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Paint it black and hide darkmode plugin */
body { background-color: #222222; }
.darkmode-toggle, .darkmode-layer { display: none !important; }

/* Media query for screens 700px wide or less */
@media (max-width: 700px) {
body {
	position: fixed;
	top: 0; 
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #222222;
	}
#container {
	position: fixed;
	top: 0; 
	left: 0;
}
}

a,a:link,a:visited,a:active,a:hover{
	text-decoration:none;
	outline:none;
}

canvas{
	cursor:none;
}

canvas.ie{
	cursor:crosshair;
}

#form {
    position: absolute;
    left: 10px;
    top: 0px;
    display: none;
    z-index: 2000;
    max-width: 220px;
    background-color: #000000;
    padding: 20px;
    border-radius: 5px;
    opacity: 0.9;
    font-size: 16px;
}

#form ul li{
	vertical-align:top;
	margin-bottom:5px;
}

#form input[type=text]{
	margin-top:2px;
	width: 200px;
	
}

#form input[type=text],textarea{
	vertical-align:top;
	background-color:#ccc;
	color:#222222;
	font-family:Arial, Helvetica, sans-serif;
	padding:3px;
	outline:none !important;
	border:none;
	width:200px;
	padding:6px;
	font-size:13px;
}

#form textarea{
	height:65px;
	resize: none;
}

#form label{
	color:#ffffff;
	width:200px;
	display:inline-block;
	text-align:right;
	line-height:16px;
	cursor:default;
}

#form label span{
	display:inline-block;
	background-color:#000000;
	font-size:11px;
	text-align:right;
	margin-top:0px;
	font-weight:200;
	padding:2px;
}

#form label span.title{
	font-size:16px;
	text-transform:lowercase;
	color:#cccccc;
	
}

#form label span.sub{
	color:#ffffff;
	line-height:11px;
}

@media (max-width: 620px) {
	#container {
	height: 480px !important;
	}
	#canvas {
        position: absolute !important;
        bottom: 50px !important;
        top: 140px !important;
        left: 0px !important;
    }
	#brush {
        position: absolute !important;
        top: 10px !important;
        left: 50px !important;
        transform: rotate(90deg);
    }
	#color ul {
        position: absolute !important;
        top: 150px !important;
        left: 270px !important;
        width: 100px !important;
    }
}

#container {
    background-color: #222222;
    width: 700px;
    height: 390px;
    position: fixed;
    top: 0;
    left: 0;
    border: 20px solid #222222;
    box-shadow: none;
    border-radius: 5px;
}

#brushholder{
	background-repeat:no-repeat;
	display:block;
	position:absolute;
	z-index:50000;
	pointer-events:none;
}

#brushholder.ie{
	display:none !important;
	width:0px !important;
	height:0px !important;
	visibility:hidden !important;
	overflow:none !important;
	top:-5000px !important;
	left:-5000px !important;
}

#left{
	width:330px;
	display:inline-block;
	float:left;
	padding:10px;
	height:370px;
}

#right{
	float:right;
	width:400px;
	display:inline-block;
	padding:10px;
	height:370px;
}

#color #btnSave {
    position: fixed;
    left: 30px;
}

#color #btnReset {
    position: fixed;
    left: 90px;
}

#canvas{
	position:absolute;
	top:90px;
	left:10px;
	border:2px solid #000000;
	z-index:2000;
	-webkit-box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.17);
	-moz-box-shadow:    1px 2px 2px 0px rgba(0, 0, 0, 0.17);
	box-shadow:         1px 2px 2px 0px rgba(0, 0, 0, 0.17);
}

#logo{
	display: none;
}

#brush{
	position:absolute;
	top:92px;
	left:290px;
}
#brush ul li a{
	display:inline-block;
	width:24px;
	height:24px;
	background-repeat:no-repeat;
	background-position:center center;
}

#brush ul li a#round_1{
	background-image:url(../images/brush_round_1.png);
}

#brush ul li a#round_2{
	background-image:url(../images/brush_round_2.png);
}

#brush ul li a#round_3{
	background-image:url(../images/brush_round_3.png);
}

#brush ul li a#round_4{
	background-image:url(../images/brush_round_4.png);
}

#brush ul li a#round_5{
	background-image:url(../images/brush_round_5.png);
}




#brush ul li a#rect_1{
	background-image:url(../images/brush_rect_1.png);
}

#brush ul li a#rect_2{
	background-image:url(../images/brush_rect_2.png);
}

#brush ul li a#rect_3{
	background-image:url(../images/brush_rect_3.png);
}

#brush ul li a#rect_4{
	background-image:url(../images/brush_rect_4.png);
}

#brush ul li a#rect_5{
	background-image:url(../images/brush_rect_5.png);
}



#brush ul{
	float:left;
	margin-right:20px;
}

#brush ul li{
	margin-bottom:12px;
}

ul, ul li{
	list-style:none;
	padding:0;
	margin:0;
}

#color ul{
	position:absolute;
	top:105px;
	left:420px;
	width:190px;
}

#color ul li{
	display:inline-block;
	width:15px;
	height:15px;
	margin-right:11px;
	margin-bottom:16px;
}

#color ul li a{
	display:block;
	width:15px;
	height:15px;
	/*
	-webkit-box-shadow: 0px 0px 2px 2px rgba(255, 255, 255, 0.2);
	-moz-box-shadow:    0px 0px 2px 2px rgba(255, 255, 255, 0.2);
	box-shadow:         0px 0px 2px 2px rgba(255, 255, 255, 0.2);
	*/
}

#brushlabel{
	display: none;
}

#colorlabel{
	display: none;
}

#btnSave{
    display: inline-block;
    color: #ffffff;
    background-color: #444;
    padding: 5px;
    border-radius: 3px;
}

#btnOk{
    display: inline-block;
    color: #ffffff;
    background-color: #444;
    padding: 5px;
    border-radius: 3px;
}

#btnBack{
    display: inline-block;
    color: #ffffff;
    background-color: #444;
    padding: 5px;
    border-radius: 3px;
}

#btnReset{
    display: inline-block;
    color: #ffffff;
    background-color: #444;
    padding: 5px;
    border-radius: 3px;
}

#btnSave:hover{
	background-position:0px -63px;
}

#btnReset:hover{
	background-position:0px -72px;
}

#btnBack:hover{
	background-position:0px -69px;
}

#btnOk:hover{
	background-position:0px -62px;
}

#success{
	display: none;
	color: #fff;
    margin-right: 200px;
}

#waiting{
	display: none;
    color: #fff;
}

#waiting #indicator{
	color:#ffffff;
	background-image:url(../images/indicator.gif);
	width:50px;
	height:50px;
	margin-top:140px;
	margin-left:100px;
	background-repeat:no-repeat;
}