
* {
    padding: 0;
    margin: 0;
}

.wrap {
    position: relative;
    width: 1100px;
    height: 600px;
    margin: auto;
    border: 1px solid #000;
    -webkit-box-sizing: border-box;
    overflow: hidden;
}

.app_title {
    position: absolute;
    left: 0;
    top: 0;
    width: 140px;
    height: auto;
    z-index: 99999;
}

.app_title img {
    height: 80px;
}

.drawingTool {
    position: relative;
    display: inline-block;
    width: 10%;
    height: 600px;
    float: left;
}

.canvas {
    position: relative;
    display: inline-block;
    width: 50%;
    height: 600px;
    float: left;
    box-sizing: border-box;
    border-right: 1px solid #000;
}

.WebGL {
    position: relative;
    display: inline-block;
    width: 50%;
    height: 600px;
    float: left;
}

#imageView {
    position: absolute;
    background: none;
    top: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 500px;
    float: left;
}

#imageView1 {
    background: none;
    position: absolute;
    top: 0;
    left: 0px;
    display: inline-block;
    width: 100%;
    height: 500px;
    float: left;
    z-index: 20;
}

#imageView2 {
    background: none;
    position: absolute;
    top: 0;
    left: 0px;
    display: inline-block;
    width: 100%;
    height: 500px;
    float: left;
    z-index: 10;
}

.left_control {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90%;
    height: 85px;
    text-align: center;
    margin: 15px 5% auto 5%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #fff;
}

.right_control {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90%;
    height: 85px;
    text-align: center;
    margin: 15px 5% auto 5%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #fff;
}


.ext_control_item{
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    right: -25px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 9999;
}

.control_item {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 20px 5px 0 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}





/*-------------------*/

.control_back:hover {
    background: url("assets/icons/c_b_2.png") no-repeat center center;
}


.control_new {
    top: 180px;
    background: url("assets/icons/c_n_1.png") no-repeat center center;
    background-color: #fff;
    -webkit-background-size: contain;
    background-size: contain;
}

.control_new:active {
    background: url("assets/icons/c_n_2.png") no-repeat center center !important;
}

.control_inverse {
    top: 280px;
    background: url("assets/icons/c_v_1.png") no-repeat center center;
    background-color: #fff;
    -webkit-background-size: contain;
    background-size: contain;
    z-index: 9999;
    cursor: pointer;
}

.control_inverse label {
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 50px;
}

.control_inverse input {
    display: none;
}

.activeInverse {
    background: url("assets/icons/c_v_2.png") no-repeat center center !important;
}




/*--------------------*/
.control_add {
    background: url("assets/icons/c_i_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}

.control_add:hover {
    background: url("assets/icons/c_i_2.png") no-repeat center center;
}

.control_add label {
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
}

.control_add input {
    display: none;
}


/*--------------------*/
.control_text {
    background: url("assets/icons/c_t_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}

.modelText {
    display: none;
    position: absolute;
    left: 0;
    bottom: 90px;
    width: 300px;
    height: 30px;
    line-height: 28px;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    z-index: 9999;
}

.modelText input {
    width: 90%;
    height: 25px;
    border: none;
    outline: none;
}

.modelText span {
    color: #cccccc;
    cursor: pointer;
}

.displayText {
    display: block !important;
}

.activeText {
    background: url("assets/icons/c_t_2.png") no-repeat center center !important;
}


/*--------------------*/
.control_pencil {
    background: url("assets/icons/slice_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}

.activePencil {
    background: url("assets/icons/slice_2.png") no-repeat center center !important;
}

.drawingTool {
    display: none;
    position: absolute;
    width: 300px;
    height: 30px;
    line-height: 28px;
    left: 0;
    bottom: 90px;
    text-align: left;
    box-sizing: border-box;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    z-index: 9999;
}

.drawingTool span {
    font-size: 12px;
    color: #000;
    font-family: Verdana;
}

.drawingTool select {
    width: 150px;
    outline: none;
}

.displayPencil {
    display: block !important;
}


/*--------------------*/
.control_clip {
    background: url("assets/icons/resize_2_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}

.activeClip {
    background: url("assets/icons/resize_2_2.png") no-repeat center center !important;
}


/*--------------------*/
.control_er {
    background: url("assets/icons/c_b_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}

.control_er:active {
    background: url("assets/icons/c_b_2.png") no-repeat center center !important;
}


/*--------------------*/
.control_generate {
    background: url("assets/icons/c_o_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}

.control_generate:active {
    background: url("assets/icons/c_o_2.png") no-repeat center center;
}



/*-------------------*/
.control_state {
    background: url("assets/icons/c_s_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}

.activeState {
    background: url("assets/icons/c_s_2.png") no-repeat center center !important;
}

.state_container {
    display: none;
    position: absolute;
    width: 300px;
    height: 85px;
    left: 30px;
    bottom: 90px;
    text-align: left;
    box-sizing: border-box;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    z-index: 9999;
}

.state_container .sliderBar {
    position: relative;
    width: 100%;
    height: 15px;
    line-height: 15px;
    margin-top: 10px;
}

.sliderBar span.state_title {
    display: block;
    position: relative;
    width: 25%;
    height: 12px;
    line-height: 12px;
    font-size: 12px;
    float: left;
}

.sliderBar label div {
    position: relative;
    float: left;
    width: 100%;
    height: 12px;

}

.sliderBar label {
    display: block;
    position: relative;
    float: left;
    width: 50%;
    height: 12px;
    background: #fff;
    padding-right: 10px;
    -webkit-border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;

}

.sliderBar div span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #494949;
    -webkit-border-radius: 5px;
    outline: none;
}

.sliderBar span.state_num {
    display: block;
    position: relative;
    width: 15%;
    height: 100%;
    padding-left: 12px;
    float: left;
}

.displayState {
    display: block !important;
}



/*-------------------*/
.control_shape {
    background: url("assets/icons/c_cg_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}


.activeShape {
    background: url("assets/icons/c_cg_2.png") no-repeat center center !important;
}

.shape_container {
    display: none;
    position: absolute;
    width: 180px;
    height: 50px;
    left: 150px;
    bottom: 90px;
    text-align: center;
    box-sizing: border-box;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    z-index: 9999;
}

.shape_container .shape_item {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 10px 5px 0 5px;
    cursor: pointer;
}

.shape_square {
    display: block;
    width: 30px;
    height: 30px;
    background: #C9C9CA;
}

.shape_circle {
    display: block;
    width: 30px;
    height: 30px;
    background: #C9C9CA;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.shape_null {
    display: block;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px dashed #C9C9CA;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.shape_item input {
    display: none;
}

.displayShape {
    display: block !important;
}



/*-------------------*/
.control_download {
    background: url("assets/icons/c_d_1.png") no-repeat center center;
    -webkit-background-size: contain;
    background-size: contain;
}














#WebGL-output {
    position: relative;
    width: 100%;
    height: 500px;
    display: inline-block;
    float: right;
    margin-right: 0%;
}

.clear {
    clear: both;
}