#main {
    width: 640px;
    height: 100%;
    /*min-height: 100%;*/
    margin: 0 auto;
    text-align: center;
}

#filter_browse_cut {
    width: 100%;
    height: 100%;
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    background: url(../images/smk_filter_pop_s1_bg.png) no-repeat center;
    background-size: 100%;
}

#filter_edit_cut {
    display: none;
    margin: 0 auto;
}
#filter_edit_cut .content_block{
    margin: 0 auto;
    width: 480px;
    
}

.btn {
    /*font-size: 1em;*/
    color: #eee;
    /*background-color: darkcyan;*/
    margin: 0 auto;
    /*padding: 0.5em 0.5em;
    border-radius: 0.2em;*/
    display: inline-block;
    margin-top: 1em;
    cursor: pointer;
    box-sizing: border-box;
    /*border: 1px solid darkcyan;*/
    border: 0;
}
/*back btn*/
.filter_back_btn,
.downloadLink{
    position: absolute;
    bottom: 3.25%;
}
.filter_back_btn{
    left: 20px;
}
.downloadLink{
    right: 20px;
    cursor: default;
}
.filter_back_btn img,
.filter_dl_btn img{
    display: block;
}
.filter_back_btn{

}
/*dl btn*/
.downloadLink{
    display: block;
    font-size: 0;
    line-height: 0;
}
.filter_dl_btn{
    margin-left: 10px;
}

#browseBtn {
    width: 239px;
    height: 239px;
    /*max-height: calc(640px * 0.3);*/
    margin: 0 auto;
    overflow: hidden;
    background: url(../images/smk_filter_pop_s1_btn.png) no-repeat center;
    background-size: 100%;
    position: absolute;
    top: 46.47%;
    left: 50%;
    margin-left: -119.5px;
}

#browseText {
    width: 100%;
    height: 100%;
    color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

#browseInput {
    /*width: 100%;
    height: 100%;*/
    /*max-height: calc(640px * 0.3);*/
    color: #eee;
    /*margin: -100% auto 0;*/
    width: 239px;
    height: 239px;
    margin-top: -239px;
    cursor: pointer;
}

#browseInput input {
    cursor: pointer;
    display: block;
}

#submitBtn,
#backBtn {
    /*width: 40%;
    background-color: darkolivegreen;
    border: 1px solid darkolivegreen;
    font-size: 1.3em;
    font-weight: 700;*/
    opacity: .1;
}

#backBtn {
    opacity: 1;
}

#downloadBtn {
    /*width: 40%;
    background-color: #444;
    border: 1px solid #444;
    font-size: 1.3em;
    font-weight: 700;*/
    /*opacity: .1;*/
    /*margin-top: 0.2em;*/
}
#downloadLink.disable{
    opacity: 0.5;
    cursor: default; 
    pointer-events: none;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%); 
    -ms-filter: grayscale(100%); 
    -o-filter: grayscale(100%); 
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}

#canvas_ct {
    /*width: 640px;
    height: 640px;*/
    width: 480px;
    height: 480px;
    margin: 120px auto 60px auto;
}

#filter_canvas_ct {
    /*width: 640px;
    height: 640px;*/
    width: 480px;
    height: 480px;
    background-color: #333;
    transform-origin: left top;
    overflow: hidden;
}

#filter_canvas {
    /*width: 640px;*/
    width: 480px;
}

#filterBar {
    /*font-weight: 700;
    opacity: 0.1;*/
    overflow-x: auto;
    background: rgba(224,166,208,0.8);
    padding: 45px 0 30px 0;
    font-size: 0;
    line-height: 0;
}

#filterBar .content_blcok{
    text-align: left;
    width: 750px;
}

.dBtn {
    background-color: #900;
    border: 1px solid #900;
}

.fBtn{
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    line-height: 30px;
    width: 130px;
    height: 130px;
    margin-top: 0;
    margin-left: 10px;
    position: relative;

}
.fBtn:first-child{
    margin-left: 20px;
}
.fBtn:last-child{
    margin-right: 20px;
}
.fBtn img{
    display: block;
}
.fBtn .title{
    position: absolute;
    width: 100%;
    text-align: center;
    top: -30px;

}

.uBtn {
    background-color: darkslategray;
    border: 1px solid #fff;
}


#canvas_editor {
    /*width: 90%;*/
    /*width: 100%;*/
    /*margin: 0.5em auto;*/
    margin-bottom: 30px;
    /*height: 2em;*/
    /*display: flex;*/
}
.canvas_editor .scaleLine,
.canvas_editor .editorBtn{
    float: left;
}

.editorBtn {
    /*width: 2em;
    height: 2em;*/
    width: 50px;
    height: 50px;
   /* background-color: #fff;
    border-radius: 1em;*/
    color: #333;
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    font-weight: 700;
    box-sizing: border-box;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}
.editorBtn.minus{
    background-image: url(../images/smk_filter_ctrl_m.png);
}
.editorBtn.plus{
    background-image: url(../images/smk_filter_ctrl_p.png);
}

#textBtn {
    /*margin-left: .5em;
    background-color: darkslategray;
    border: 1px solid #fff;
    color: #fff;*/
    margin-left: 40px;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/smk_filter_ctrl_t.png);
}

#scaleLine {
    /*width: calc(100% - 6.5em);*/
    width: 51.56%;
}

input[type='range'] {
    box-sizing: border-box;
    border: 0px solid transparent;
    padding: 0px;
    margin: 0px;
    /*width: 90%;*/
    width: 100%;
    /*border-radius: 1em;*/
    /*height: 0.5;*/
    border-top: 1px solid #fff;
    height: 0;
    cursor: pointer;
    /*margin-top: 1em;*/
    margin-top: 24px;
}

input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type='range']::-webkit-slider-runnable-track {
    box-sizing: border-box;
    width: 330px;
    /*height: 5px;*/
    height: 1px;
    /*border-radius: 2px;*/
    background: #fff;
}

input[type='range']::-webkit-slider-thumb {
    box-sizing: border-box;
    padding: 0px;
    /*height: 2em;
    width: 2em;*/
    height: 30px;
    width: 30px;
    /*border-radius: 1em;*/
    border-radius: 50%;
    background: #fff;
    /*margin-top: -0.75em;*/
    margin-top: -15px;
}

input[type='range']:focus {
    outline: none;
}

#fullmask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, 0.5);
    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: 700;
    display: none;
}

#fullmask div {
    background-color: #fff;
    height: 2em;
    width: 50%;
    max-width: 200px;
    border-radius: 1em;
    text-align: center;
    line-height: 2em;
}

/*finish block*/
.filter_finish{
    display: none;
    position: absolute;
    width: 100%;
    top: 29.2%;
    left: 0;
}
.filter_finish .text_block{
    position: relative;
}
.filter_finish .text_block img{
    display: block;
}
.filter_finish .text_block .anchor_link{
    display: block;
    position: absolute;
    width: 69.06%;
    height: 16.82%;
    left: 15.47%;
    bottom: 0;
}

/*method block*/
.filter_method{
    display: none;
    position: absolute;
    width: 100%;
    height: 86.06%;
    top: 100px;
    left: 0;

}
.filter_method ul{
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
.filter_method ol{
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
.filter_method li{
    margin-bottom: 10px;
}
.filter_method h3{
    text-align: center;
    font-size: 24px;
    line-height: 1.5em;
    color: #CC0066;
    margin-bottom: 30px;
    font-weight: bold;
}
.filter_method h4{
    font-size: 18px;
    font-weight: bold;
}
.filter_method .text_block{
    text-align: left;
    padding: 0 20px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7em;
    height: 80%;
    overflow-y: auto;
}
.filter_method .method_back_btn{
    margin-top: 40px;
}

/*@media screen and (max-width: 640px) {
    #main {
        width: 100%;
    }

    #canvas_ct {
        width: 100%;
        height: 100vw;
    }

    #filter_canvas,
    .pre_filter {
        width: 100%;
    }
}*/
