*{
    margin: 0;
    padding: 0;
}
.draw_controller{
    margin: 10px 0 0;
    height: 59px;
	border:3px solid #e5e5e5;
}

.draw_controller li a{
    display: block;
    width: 30px;
    height: 30px;
}
.draw_controller li{
    float: left;
    width: 53px;
    height: 53px;
    cursor: pointer;
    list-style: none;
    background-image: url(../images/draw.png);
    background-color: #FFF;
    background-repeat: no-repeat;
    -webkit-transition: all 0.4s ease-in-out;
}

.draw_controller li:nth-child(1){
    background-position: 14px 8px;
}
.draw_controller li:nth-child(2){
    background-position: -30px 8px;
}
.draw_controller li:nth-child(3){
    background-position: -85px 8px;
}
.draw_controller li:nth-child(4){
    background-position: -132px 8px;
}
.draw_controller li:nth-child(5){
    background-position: -179px 8px;
}
.draw_controller li:nth-child(6){
    background-position: -232px 8px;
}
.draw_controller li:nth-child(7){
    background-position: -328px 8px;
}
.draw_controller li:nth-child(8){
    background-position: -372px 8px;
}
.draw_controller li:nth-child(9){
    background-position: -422px 8px;
}
.draw_controller li:nth-child(10){
    background-position: -470px 8px;
}
.draw_controller li:nth-child(13){
    background-position: -300px 0px;
}
.draw_controller li:nth-child(14){
    background-position: -330px 0px;
}
.draw_controller li:nth-child(15){
    background-position: -360px 0px;
}
.draw_controller li:nth-child(16){
    background-position: -390px 0px;
}

.draw_controller li:hover{
    background-color: #1e80d4;
}
.draw_controller li.active{
    background-color: #1e80d4;
}
.draw_controller li:nth-child(1):hover,.draw_controller li:nth-child(1).active{
    background-position: 14px -27px;
}
.draw_controller li:nth-child(2):hover,.draw_controller li:nth-child(2).active{
    background-position: -30px -27px;
}
.draw_controller li:nth-child(3):hover,.draw_controller li:nth-child(3).active{
    background-position: -85px -27px;
}
.draw_controller li:nth-child(4):hover,.draw_controller li:nth-child(4).active{
    background-position: -132px -27px;
}
.draw_controller li:nth-child(5):hover,.draw_controller li:nth-child(5).active{
    background-position: -179px -27px;
}
.draw_controller li:nth-child(6):hover,.draw_controller li:nth-child(6).active{
    background-position: -232px -27px;
}
.draw_controller li:nth-child(7):hover,.draw_controller li:nth-child(7).active{
    background-position: -328px -27px;
}
.draw_controller li:nth-child(8):hover,.draw_controller li:nth-child(8).active{
    background-position: -372px -27px;
}
.draw_controller li:nth-child(9):hover,.draw_controller li:nth-child(9).active{
    background-position: -422px -27px;
}
.draw_controller li:nth-child(10):hover,.draw_controller li:nth-child(10).active{
    background-position: -470px -27px;
}
.draw_controller li:nth-child(13):hover,.draw_controller li:nth-child(13).active{
    background-position: -300px -30px;
}
.draw_controller li:nth-child(14):hover,.draw_controller li:nth-child(14).active{
    background-position: -330px -30px;
}
.draw_controller li:nth-child(15):hover,.draw_controller li:nth-child(15).active{
    background-position: -360px -30px;
}
.draw_controller li:nth-child(16):hover,.draw_controller li:nth-child(16).active{
    background-position: -390px -30px;
}

.draw_controller span{
    float: left;
    width: 4px;
    padding-top:8px;
    color: #ccc;
    margin: 0 10px;
}

.draw_controller .normal {
    
}

.draw_controller .active {
    
}


.cf {display:block;zoom:1;}
* html .cf {height:1%;}
.cf:after {content:" ";display:block;height:0;clear:both;visibility:hidden;}

#draw{
    height: auto;
    margin: 0 auto;
}

.canvas_container{
    position: relative;
    width: 100%;
    height: 600px;
    background: url(../images/tiny_grid.png) repeat;
}

.canvas_container canvas{
    position: absolute;
    z-index : 0;
    left:0px;
    top:0px;
    cursor: url(../images/cursor.gif) 2 2,crosshair;
} 

.color {
    width : 152px;
    height : auto;
    position: absolute;
    display:none;
    z-index: 111111;
    margin-left: 1px;
    font-size: 14px;
    background: #fff;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border: 1px #bbb solid;
}

.color ul{
    padding: 6px;
}
.color li{
    display: inline-block;
    height: 34px;
    width: 34px;
    margin: 6px 4px;
    list-style:none;
}
.color li button{
    display: block;
    cursor: pointer;
    width: 100%;
    padding: 5px 0;
    font-size: 12px;
    text-decoration: none;
    color: #333;
    display: inline-block!important;
    width: 100%;
    height: 100%;
    padding: 0!important;
    border-radius: 100%;
    box-shadow: 0 0 4px #bbb;
    border: 2px solid #fff;
    -webkit-transition: all .15s ease!important;
    -moz-transition: all .15s ease!important;
    -o-transition: all .15s ease!important;
    transition: all .15s ease!important;
}


.line_size{
    font-size: 14px;
    color: #707070;
	line-height:46px;
}
.line_size li{
	float:left;
    list-style: none;  
    padding:0 25px;                                                                                                   
}
.line_size li button{
    display: block;
    width: 100%;
    padding: 5px 0;
    font-size: 12px;
    text-decoration: none;
    color: #333;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
}
.line_size li button:hover{
    background: whitesmoke;
}
.line_size li span {
    display: inline-block;
    background: #a0a0a0;
    border-radius: 100%;
    vertical-align: middle;
}


#showHistory{
    width: 960px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 100px;
}
#showHistory h2{
    font-size: 16px;
    font-family: "Microsoft Yahei";
    font-weight: normal;
    text-align: left;
    border-left: solid 4px #39c;
    text-indent: 10px;
    line-height: 24px;
    margin-bottom: 20px;
}
.item{
    float: left;
    width: 225px;
    margin: 10px 20px 10px 0;
}
.item img{
    width: 225px;
    height: 136px;
    /*border:solid 1px #ccc;*/
    border-style: dashed;    
    border-width:1px; 
    border-color: #ccc;
}
.item a{
    margin-top: 10px;
    display: inline-block;
    width: 100px;
    text-align: center;
    /*margin-right: 20px;*/
    font-size: 14px;
    text-decoration: none;
    font-family: "Microsoft Yahei";
    color: #666;
    -webkit-transition: all 0.4s ease-in-out;
}
.item a:hover{
    color:#39c;
}
.item:nth-child(4n+1){
    margin-right: 0;
}
.tip{
    width: 99%;
    height: 24px;
    line-height: 24px;
    margin-top: 8px;
    text-align: right;
    font-size: 14px;
    color: #999;
}
.line_size li button:focus,.line_size li button:hover{
	outline:none;
	border:none;
}
.line_size li.active span{
	background-color:#1e80d4;
}