* {
    box-sizing: border-box;
    moz-box-sizing: border-box;
}

.clear {
    clear: both;
}

#canvasWrapper {
    background: url(../images/transparentbg.png) repeat;
    /*width: 1000px;height: 550px;*/
    margin: 0 auto;
}

#myCanvas {
    /*border: 2px solid #000; */
    margin: 0 auto;
    display: block;
}

#toolbar {
    width: 100%;
    height: 50px;
    padding: 10px;
    /*position:fixed;*/
    top: 0;
    background: #2f2f2f;
    color: #fff;
    font-family: sans-serif;
}

#toolbar .radcontrol {
    width: 30px;
    height: 30px;
    padding: 10px;
    border-radius: 3px;
    background-color: #4f4f4f;
    display: inline-block;
    text-align: center;
    padding-top: 5px;
    margin: 0 5px;
    cursor: pointer;
}

#toolbar .tooloption {
    display: inline-block;
}

#colors {
    float: right;
}

#raidus {
    float: left;
}

.swatch {
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .5), 0 2px 2px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    margin-left: 10px;
}

.swatch.active {
    border: 2px solid #fff;
    box-shadow: inset 0px 1px 2px rgba(0, 0, 0, .5)
}

.swatch:hover {
    border: 2px solid #fff;
}

.drawTool {
    cursor: pointer;
    color: #fff;
    float: right;
    height: 30px;
    padding: 10px;
    background-color: #4f4f4f;
    text-align: center;
    margin-right: 10px;
    border-radius: 3px;
    border: 2px solid transparent;
    padding-top: 5px;
}

.drawTool:hover,
.drawTool.set {
    border-color: #fff;
}

#loading {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: rgba(192, 192, 192, 0.5);
    background-image: url("default.gif");
    background-repeat: no-repeat;
    background-position: center;
}

#page {
    display: none;
}