*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;font-size:13px}
#btool{user-select: none;}
#container {width:100%;padding:0;margin:0;position:relative;}
#imageView {display:none;margin:0 auto;border-radius:0px;position:absolute;z-index:18;background:transparent;background-size:40%}
#sketchPad {display:none;margin:0 auto;position:absolute;border-radius:0px;background:transparent;position:absolute;z-index:18;touch-action: none;}
.chooseBtn {
display: none;
}
li{list-style:none}
a{text-decoration:none}
.choose-label {
box-shadow: #ccc 0px 0px 0px 0px;
width: 42px;
height: 20px;
display: inline-block;
border-radius: 20px;
position: relative;
background-color: #0081ff;
overflow: hidden; vertical-align:middle
}

.choose-label:before {
content: '';
position: absolute;
left: 0;
margin: 2px 3px;
width: 15px;
height: 15px;
display: inline-block;
border-radius: 20px;
background-color: #fff;
z-index: 26;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}

.chooseBtn:checked + label.choose-label:before {
left: 20px;
}
/*.chooseBtn:checked {
    background: #0081ff;
}*/

.chooseBtn:checked + label.choose-label {
background-color: #0081ff;
}
    /*input[type=range] {
    height: 25px;
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
    }
    input[type=range]:focus {
    outline: none;
    }
    input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #0081ff;
    border-radius: 1px;
    border: 0px solid #000000;
    }
    input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 2px #addadbdd;
    border: 1px solid #fff;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    }
    input[type=range]:focus::-webkit-slider-runnable-track {
    background: #0081ff;
    }
    input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #b48b5f;
    border-radius: 1px;
    border: 0px solid #000000;
    }
    input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #8AAD8C;
    height: 15px;
    width: 15px;
    border-radius: 25px;
    background: #8AAD8C;
    cursor: pointer;
    }
    input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
    }
    input[type=range]::-ms-fill-lower {
    background: #b48b5f;
    border: 0px solid #000000;
    border-radius: 2px;
    box-shadow: 0px 0px 0px #000000;
    }
    input[type=range]::-ms-fill-upper {
    background: #b48b5f;
    border: 0px solid #000000;
    border-radius: 2px;
    box-shadow: 0px 0px 0px #000000;
    }
    input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 0px #000000;
    border: 1px solid #8AAD8C;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #8AAD8C;
    cursor: pointer;
    }
    input[type=range]:focus::-ms-fill-lower {
    background: #b48b5f;
    }
    input[type=range]:focus::-ms-fill-upper {
    background: #b48b5f;
    }*/
body{padding:0;margin:0;background:#fbfbfb}
select,button{height:32px;}
button{border-radius:4px;border:0px solid #ccc;padding:0 20px;background:#0081ff;cursor:pointer;color:#f4f4f4}
button:hover{border:0px solid #434a4d}
input,select{border-radius:3px;border:1px solid #d0d0d0;padding:0 10px}
#btool{
    display:none;
    width:calc(100% - 415px);
    text-align:center;
    padding:10px 0;
    color:#4c5059;
    background:#fff;
    margin-left: 450px;
    margin-top: 30px;
  /*  z-index:200;
    position: fixed;
    bottom: 10px;*/
}
#btool img{width:21px;height:21px;margin:0 7px;vertical-align: middle}
#btool a{display:inline-block;width:70px;font-size:14px;color:#4c5059;position:relative;}
#btool a:visited{color:#b48b5f}
/*#imageView{border: 1px dashed #e2e8eb;}*/
.downpic{position:relative;display:block;}
.downbtn{width:364px;opacity:.98;margin:0;font-size:14px;border-radius:6px;padding:0;transform:translateZ(0);color:#f4f4f4;text-align: start;}
.downbtn button{display:block;margin:0 auto;width:224px; height: 46px;color: #fff;background: #00795e;font-size: 16px;    font-family: SourceHanSansCN-Regular;}
#created{margin-left:300px;margin-top:20px;color:silver;font-size:12px}
#created img{margin-top:6px;display:none;max-width:640px}
#downpic{position:relative;display:none;}
#downbtn{width:220px;opacity:.98;position:fixed;margin:50px 0 0 20px;font-size:14px;border-radius:6px;background:#fff;padding:20px;-box-shadow:-1px 0 5px 1px rgba(79,79,79,0.43);-webkit-box-shadow:-1px 0 5px 1px rgba(79,79,79,0.43);-moz-box-shadow:-1px 0 5px 1px rgba(79,79,79,0.43);transform:translateZ(0)}
#downbtn button{display:block;margin:8px 0;width:180px}

#loadingbtn{display:none;padding:50px}
#loadingbtn img{height:80px}
.y{background:#b48b5f;}
hr{background:#ddd}
#imgview{width:180px;height:auto;display:none}
#imgview img{width:180px;height:auto;border:1px solid #ddd}

#drop {
  border: 1px solid #e2e8eb;
  width: 364px;
  height: 170px;
  padding: 10px;
  margin-top: 16px;
  text-align: center;
  border-radius: 5px;line-height:30px;background:#ffffff;
}
#drop div{
    color: #898a8e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 23px;
}
#drop div img{
    margin-right: 15px;
    vertical-align: center;
}
 a:link, a:visited{
  color:#6d6e73;
}

a:hover, a:focus, a:active {
  color:#444;
}
#drop.hovering{
  border: 4px dashed #b48b5f;
}
#editbtn,#picbtn{display:none;font-size: 14px;
    justify-content: center;
    align-items: center;}

/*lzy add*/
#upload-box{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

#imgFont{
    width: 256px;
    height: 40px;
    line-height: 30px;
    background: #f2f2f2;
    margin-top: 15px;
}

.handBox{
    border: 1px solid #e2e8eb;
    width: 364px;
    height: 170px;
    padding: 10px;
    /*margin-top: 16px;*/
    text-align: center;
    border-radius: 5px;
    line-height:30px;
    background:#ffffff;
}

.handBox button{
    background: #f0f0f0;
    color: #323437;
}

.handBox div{
    color: #898a8e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 23px;
}
.handBox div img{
    margin-right: 15px;
    vertical-align: center;
}

.ml20{
    margin-left: 30px;
}


.choosePen {
    box-shadow: #ccc 0px 0px 0px 0px;
    width: 107px;
    height: 31px;
    display: inline-block;
    border-radius: 20px;
    position: relative;
    background-color: #0081ff;
    overflow: hidden; vertical-align:middle
}

.choosePen:before {
    content: '';
    position: absolute;
    left: 0;
    margin: 3px 3px;
    width: 55px;
    height: 25px;
    display: inline-block;
    border-radius: 20px;
    background-color: #fff;
    z-index: 26;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.choosePenBtn:checked + label.choosePen:before {
    left: 45px;
}

.choosePenBtn:checked + label.choosePen {
    background-color: #0081ff;
}

.square-pen{
    position: absolute;
    left: 20px;
}
.circular-pen{
    position: absolute;
    right: 20px;
}

.pr{
    position: relative;
    display: inline-block;
}

.square{
    position: absolute;
    left: 17px;
    top: 6px;
    z-index: 30;
    color: #0081ff;
}

.circular{
    position: absolute;
    right: 17px;
    top: 6px;
    z-index: 30;
    color: #fff;
}

.choosePenBtn:checked + label.choosePen > .square{
    color: #fff;
}

.choosePenBtn:checked + label.choosePen > .circular{
    color: #0081ff;
}

#pop{
    text-align: left;
}

.downpic .upload-btn{
    width: 364px;height: 58px;
    margin: 55px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.downpic .upload-btn span{
    line-height: 58px;
}

.downpic .upload-btn img{
    margin-right: 13px;
    text-align: center;
    width: 21px;
}
@media (max-width: 1520px){
    .ml20{
        margin-left: 10px;
    }
}

@media (max-width: 1440px){
    .ml20{
        margin-left: 0;
    }
}

@media (max-width: 1300px){
    #drop,.handBox, .intro p{
        width: 260px;
        height: 160px;
    }
    .downpic .upload-btn{
        width: 260px;
        height: 50px;
    }
}


#canvasBack,#hand_canvas {
    border: 1px dashed #e2e8eb;
    display:none;
    margin:0 auto;
    border-radius:0px;
    position:absolute;
    z-index:18;
    background-size:40%;
    background: #fff;
}
#hand_canvas{
    border: 0;
    z-index: 19;
    cursor: crosshair;
}

/*横条样式*/
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: -webkit-linear-gradient(#0081ff, #0081ff) no-repeat, #dadbdd;
    background-size: 15% 100%;
    height: 3px;
    padding: 0;
    border-radius: 0;
}
/*拖动块的样式*/
input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 2px #ddd;
    border: 1px solid #fff;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
}

#picbtn input[type=range] {
    background-size: 57% 100%;
}

.active_btn{
    border: 1px solid #00795e !important;
}
.button_btn{
    background: #f0f0f0 !important;
    color: #000 !important;
}
.button_btn1{
    background: #00795e !important;
    color: #fff !important;
}
.brush-active{
    width: 48px;
    height: 48px;
    filter: opacity(0.6);
}

/*底部栏笔刷样式*/
.brush{
    display: flex;
    align-items: center;
    margin-left: 15px;
    flex-wrap: wrap;
    /*flex: 1;*/
}
.brush-img{
    /*width: 65%;*/
    display: flex;
    flex-wrap: wrap;
}