/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup,
main, nav, section, summary {
    display: block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

a {
    background: transparent
}

a:active, a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: 0.67em 0
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -0.5em
}

sub {
    bottom: -0.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td, th {
    padding: 0
}

* html {
    font-size: 100%
}

html {
    font-size: 16px;
    line-height: 24px
}

body {
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    font-style: normal
}

code {
    font-family: "Anonymous Pro", "Inconsolata", "Consolas Regular Font", "Monaco", "Courier New" , MonoSpace;
    font-weight: 400;
    font-style: normal
}

.btn {
    -webkit-font-smoothing: subpixel-antialiased
}

body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color: #444
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    margin-bottom: 24px
}

h1 {
    font-size: 36px;
    line-height: 36px
}

h2 {
    font-size: 28px;
    line-height: 30px
}

h3 {
    font-size: 20px;
    line-height: 24px
}

h4 {
    font-size: 16px;
    line-height: 24px
}

h5 {
    font-size: 15px;
    line-height: 21px
}

h6 {
    font-size: 13px;
    line-height: 18px
}

p {
    margin-top: 0px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 24px
}

blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    margin: 24px 0;
    border-left: 3px solid #ddd;
    padding-left: 21px;
    color: #8a8a8a
}

blockquote p {
    margin-bottom: 6px
}

blockquote small {
    font-size: 16px;
    line-height: 24px;
    color: #444;
    display: block
}

blockquote small:before {
    content: '\2014 \00A0'
}

code {
    font-size: 13px;
    line-height: 18px;
    padding: 3px 6px;
    background-color: #f7f7f7;
    white-space: nowrap
}

pre {
    margin-top: 24px;
    margin-bottom: 24px
}

pre code {
    display: block;
    padding: 24px
}

pre code {
    overflow: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
    background-image: linear-gradient(to right, #f7f7f7 12.5%, rgba(247, 247, 247, 0)), linear-gradient(to right, rgba(247, 247, 247, 0), #f7f7f7 87.5%), radial-gradient(0 50%, farthest-side, rgba(159, 159, 159, 0.3), rgba(159, 159, 159, 0)), radial-gradient(100% 50%, farthest-side, rgba(159, 159, 159, 0.3), rgba(159, 159, 159, 0));
    background-image: linear-gradient(to right, #f7f7f7 12.5%, rgba(247, 247, 247, 0)), linear-gradient(to right, rgba(247, 247, 247, 0), #f7f7f7 87.5%), radial-gradient(farthest-side at 0 50%, rgba(159, 159, 159, 0.3), rgba(159, 159, 159, 0)), radial-gradient(farthest-side at 100% 50%, rgba(159, 159, 159, 0.3), rgba(159, 159, 159, 0));
    background-repeat: no-repeat;
    background-color: #f7f7f7;
    background-size: 80px 100%, 80px 100%, 10px 110%, 10px 110%;
    background-attachment: local, local, scroll, scroll;
    background-position: left center, right center, left center, right center
}

ol, ul {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-left: 24px
}

ol ol, ol ul, ul ol, ul ul {
    margin: 0
}

dl {
    margin-top: 24px;
    margin-bottom: 24px
}

dl dt {
    font-weight: bold
}

dl dd {
    margin: 0
}

a {
    color: #666;
    text-decoration: none
}

a:hover {
    color: #666
}

a:hover {
    text-decoration: underline
}

a img {
    border: none
}

.break-all {
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word
}

hr, .divider {
    margin: 0;
    padding: 0;
    border: 0;
    margin-top: 24px;
    margin-bottom: 24px;
    border-top: 1px solid #ddd
}

img {
    max-width: 100%;
    margin-bottom: 24px
}

body {
    background-color: #f7f7f7
}

.container {
    padding: 0 24px;
    max-width: 1024px;
    margin: 0 auto;
    width: auto !important
}

@media (min-width: 640px) {
    .container {
        padding: 0 48px
    }
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    padding: 4px 22px;
    border: 2px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    font-size: 15px;
    line-height: 24px;
    background-image: none;
    text-align: center;
    text-shadow: none;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    color: #444;
    background-color: #ddd;
    -webkit-transition: border 0.25s, background-color 0.25s, color 0.25s;
    -moz-transition: border 0.25s, background-color 0.25s, color 0.25s;
    -o-transition: border 0.25s, background-color 0.25s, color 0.25s;
    transition: border 0.25s, background-color 0.25s, color 0.25s
}

.btn:hover {
    text-decoration: none;
    color: #444;
    border-color: #d0d0d0;
    background-color: #d0d0d0
}

.btn:active, .btn:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none
}

.btn:disabled, .btn.is-disabled {
    cursor: default;
    color: #aaa;
    border-color: #ddd;
    background-color: #ddd
}

.btn_primary {
    color: white;
    border-color: #50b584;
    background-color: #50b584
}

.btn_primary:hover, .btn_primary:focus {
    color: white;
    border-color: #46a677;
    background-color: #46a677
}

.btn_primary:disabled, .btn_primary.is-disabled {
    cursor: default;
    color: #aaa;
    border-color: #ddd;
    background-color: #ddd
}

.btn_secondary {
    color: white;
    border-color: #a7cd6b;
    background-color: #a7cd6b
}

.btn_secondary:hover, .btn_secondary:focus {
    color: white;
    border-color: #9cc758;
    background-color: #9cc758
}

.btn_secondary:disabled, .btn_secondary.is-disabled {
    cursor: default;
    color: #aaa;
    border-color: #ddd;
    background-color: #ddd
}

.btn_primary-dark {
    color: white;
    border-color: #2B6F69;
    background-color: #2B6F69
}

.btn_primary-dark:hover, .btn_primary-dark:focus {
    color: white;
    border-color: #245d58;
    background-color: #245d58
}

.btn_primary-dark:disabled, .btn_primary-dark.is-disabled {
    cursor: default;
    color: #aaa;
    border-color: #ddd;
    background-color: #ddd
}

.btn_danger {
    color: white;
    border-color: #e65e50;
    background-color: #e65e50
}

.btn_danger:hover, .btn_danger:focus {
    color: white;
    border-color: #cb5246;
    background-color: #cb5246
}

.btn_danger:disabled, .btn_danger.is-disabled {
    cursor: default;
    color: #aaa;
    border-color: #ddd;
    background-color: #ddd
}

.btn_facebook {
    color: white;
    border-color: #4863b3;
    background-color: #4863b3
}

.btn_facebook:hover, .btn_facebook:focus {
    color: white;
    border-color: #4159a1;
    background-color: #4159a1
}

.btn_facebook:disabled, .btn_facebook.is-disabled {
    cursor: default;
    color: #aaa;
    border-color: #ddd;
    background-color: #ddd
}

.btn_outline {
    border-color: #444;
    background-color: transparent
}

.btn_outline:hover, .btn_outline:focus {
    border-color: #444;
    background-color: #444;
    color: white
}

.btn_outline:disabled, .btn_outline.is-disabled {
    color: #aaa;
    border-color: #ddd;
    background-color: transparent
}

.btn_outline-primary {
    border-color: #50b584;
    color: #50b584;
    background-color: transparent
}

.btn_outline-primary:hover, .btn_outline-primary:focus {
    border-color: #50b584;
    background-color: #50b584;
    color: white
}

.btn_outline-primary:disabled, .btn_outline-primary.is-disabled {
    color: #aaa;
    border-color: #ddd;
    background-color: transparent
}

.btn_outline-danger {
    border-color: #e65e50;
    color: #e65e50;
    background-color: transparent
}

.btn_outline-danger:hover, .btn_outline-danger:focus {
    border-color: #e65e50;
    background-color: #e65e50;
    color: white
}

.btn_outline-danger:disabled, .btn_outline-danger.is-disabled {
    color: #aaa;
    border-color: #ddd;
    background-color: transparent
}

.header {
    background-color: white
}

.header .logo {
    margin-bottom: 0px;
    padding: 6px 12px
}

.header .logo a {
    font-size: 24px;
    line-height: 24px;
    margin: 0 auto;
    display: block;
    text-indent: -119988px;
    overflow: hidden;
    text-align: left;
    background-image: url('./images/logo-zh-mobile.png?1451909261');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 166px;
    height: 48px;
    background-image: none, url('./images/logo-zh-mobile.svg?1451909261');
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain
}

@media (min-width: 480px) {
    .header .logo a {
        text-indent: -119988px;
        overflow: hidden;
        text-align: left;
        background-image: url('./images/logo-zh.png?1451909261');
        background-repeat: no-repeat;
        background-position: 50% 50%;
        width: 309px;
        height: 48px;
        background-image: none, url('./images/logo-zh.svg?1451909261');
        background-position: center center;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain
    }
}

.navbar {
    border-width: 0;
    background-color: #00acb3;
    border-bottom: 1px solid #00858a;
    -webkit-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.52);
    box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.52);
    color: #ffffff;
    font-family: arial, sans-serif;
    top: 0;
    position: fixed;
    width: inherit
}

.navbar a {
    cursor: pointer;
    font-weight: bold
}

.navbar li > a, .navbar .navbar-toggle {
    color: #efefef
}

.navbar li > a.btn {
    color: #666666
}

.navbar .dropdown-menu li a, .navbar .dropdown-menu li a:hover {
    color: white
}

.navbar .dropdown-menu li > a {
    padding-left: 30px
}

.navbar .dropdown-menu .divider {
    background-color: rgba(255, 255, 255, 0.1)
}

.navbar li > a:hover, .navbar li > a:focus, .navbar .open, .navbar .open > a,
.navbar .open > a:hover, .navbar .open > a:focus {
    background-color: #007b80;
    color: #fff
}

.navbar .logo {
    color: #fffffe;
    font-size: 20px;
    font-weight: 700
}

.navbar .navbar-toggle, .navbar .close {
    outline: 0
}

.navbar .navbar-toggle .icon-bar {
    background-color: #fff
}

.navbar .nav .caret, .navbar .nav a:hover .caret {
    border-top-color: #fffffe;
    border-bottom-color: #fffffe
}

.navbar .nav .open > a .caret, .navbar .nav .open > a:hover .caret, .navbar .nav .open > a:focus .caret {
    border-top-color: #fffffe;
    border-bottom-color: #fffffe
}

@media (min-width: 640px) {
    .navbar .dropdown-menu li a {
        color: #00acb3
    }

    .navbar .dropdown-menu .divider {
        background-color: #eee
    }

    .navbar .navbar-form {
        width: 40%
    }
}

@media (min-width: 960px) {
    .navbar .navbar-form {
        width: 30%
    }
}

.dropdown-menu {
    font-size: 16px
}

.row {
    height: inherit
}

textarea.form-control {
    margin: auto auto;
    width: 100%;
    min-height: 140px;
    font-size: 20px;
    line-height: 30px;
    color: #333;
    resize: none;
    padding: 5px;
    padding-bottom: 20px
}

label.checkbox {
    font-size: 18px;
    cursor: pointer;
    display: inline-block;
    vertical-align: bottom;
    margin: 0 10px 10px 10px
}

.left-bottom-corner {
    position: relative;
    text-align: center
}

.left-bottom-corner div {
    margin: 0 auto
}

#generator h1 {
    font-size: 36px;
    line-height: 36px;
    color: #930;
    margin: 0;
    padding: 0;
    font-size: 1px;
    text-indent: -9999px;
    width: 100%;
    height: 65px;
    background: url(./images/h1.png) no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    margin: auto auto;
    margin-bottom: 25px;
    margin-top: 20px;
    display: none
}

#generator h2 {
    display: none
}

#generator #settings {
    max-width: 500px;
    margin: 0 auto
}

@media (min-width: 640px) {
    #generator h1 {
        display: block
    }
}

#uploading {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    padding: 5px 0;
    display: none;
    z-index: 99999
}

#generating {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    padding: 5px 0;
    display: none;
    z-index: 99999
}

.control-box {
    margin: 3em 0
}

.banana {
    display: none
}

.gototop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 100000;
    cursor: pointer;
    background: #00acb3;
    color: #FFFFFF;
    text-align: center;
    font-size: 30px;
    line-height: 50px;
    border-radius: 3px;
    display: none
}

.gototop .glyphicon {
    bottom: 0;
    left: 1px
}

#show {
    width: 60px;
    height: 60px;
    background: #ccc;
    text-align: center;
    line-height: 60px;
    position: fixed;
    bottom: -5px;
    left: 0;
    margin: 0 auto;
    font-size: 26px;
    cursor: pointer;
    -moz-border-radius-topright: 10px;
    -webkit-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    z-index: 99999
}

#show:hover {
    background: #eee
}

@media (min-width: 640px) {
    #show {
        display: none
    }
}

.mobile-hide {
    display: none
}

@media (min-width: 640px) {
    .mobile-hide {
        display: initial
    }
}

.likebtn {
    position: relative;
    width: 100%;
    height: 20px;
    text-align: center;
    margin: auto auto;
    margin-bottom: 20px;
    margin-top: 10px
}

.fbcomment {
    position: relative;
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: auto auto;
    margin-top: 30px;
    margin-bottom: 30px
}

.fbcomment h3 {
    width: 144px;
    height: 37px;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 1px;
    text-indent: -9999px;
    margin: auto auto;
    background: url(./images/feedbacktitle.png) no-repeat;
    margin-bottom: 10px
}

.plzlike {
    position: relative;
    width: 100%;
    font-size: 12px;
    color: #399;
    text-align: center;
    margin: 10px auto;
    display: none
}

#rotate_container {
    width: auto;
    height: auto;
    margin: auto auto;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    overflow: hidden
}

#rotate_object {
    position: relative
}

#rotate_object img {
    width: 100%;
    height: 100%
}

#rotateCopy {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -10
}

.ui-wrapper {
    overflow: visible !important
}

.ui-resizable-handle {
    background: #f5dc58;
    border: 1px solid #FFF;
    z-index: 2
}

.ui-rotatable-handle {
    background: #f5dc58;
    border: 1px solid #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: pointer;
    height: 10px;
    left: 50%;
    margin: 0 0 0 -5px;
    position: absolute;
    top: -5px;
    width: 10px
}

.ui-rotatable-handle.clone {
    visibility: hidden
}

.ui-resizable-ne, .ui-resizable-nw, .ui-resizable-se, .ui-resizable-sw {
    width: 24px;
    height: 24px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    border-radius: 12px;
    background: rgba(245, 220, 88, 0.5)
}

@media (min-width: 960px) {
    .ui-resizable-ne, .ui-resizable-nw, .ui-resizable-se, .ui-resizable-sw {
        width: 12px;
        height: 12px;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        -ms-border-radius: 0px;
        -o-border-radius: 0px;
        border-radius: 0px
    }
}

.uploadBtn {
    cursor: pointer
}

input#uploadInput {
    display: none
}

.waiting {
    position: relative;
    width: 100%;
    height: 100vh
}

.waiting .waiting-inner {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%)
}

.waiting .waiting-image {
    margin-top: 24px;
    margin-bottom: 24px;
    display: inline-block
}

.waiting span {
    display: block;
    font-size: 21px;
    line-height: 48px
}

.intro-section {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    height: 90vh;
    min-height: 440px;
    background-image: url("./images/img-mobile.png");
    background-repeat: no-repeat;
    background-position: right bottom
}

.intro-section .container {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 48px;
    padding-bottom: 48px;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%)
}

.intro-section .container:after {
    content: "";
    display: table;
    clear: both
}

.intro-section .title, .intro-section .description {
    max-width: 272px;
    margin-left: auto;
    margin-right: auto
}

.intro-section .title {
    font-size: 24px;
    line-height: 30px
}

.intro-section .description {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 24px
}

.intro-section .start {
    display: block;
    width: 160px;
    margin: 36px auto 0
}

@media (min-width: 640px) {
    .intro-section {
        height: 80vh;
        min-height: 480px;
        background-image: url("./images/img-top.png");
        background-position: 80% 30%;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover
    }

    .intro-section .container {
        padding-top: 96px;
        padding-bottom: 96px;
        top: 47.5%
    }

    .intro-section .title, .intro-section .description {
        max-width: 400px;
        margin-left: 0
    }

    .intro-section .title {
        font-size: 28px;
        line-height: 30px;
        text-align: left
    }

    .intro-section .start {
        margin: 24px 0 0
    }
}

@media (min-width: 960px) {
    .intro-section {
        height: 70vh;
        min-height: 600px
    }

    .intro-section .title {
        font-size: 36px;
        line-height: 36px
    }
}

.editor-section {
    padding: 24px 0px;
    background-color: white
}

.editor-section .upload-image {
    margin: 0 auto 24px;
    max-width: 320px;
    text-align: center
}

.editor-section .upload-image:after {
    content: "";
    display: table;
    clear: both
}

.editor-section .upload-image .upload-image-inner {
    margin: 0 -3px
}

.editor-section .upload-image .upload-image-row {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 3px;
    width: 50%;
    display: inline-block
}

.editor-section .upload-image .btn {
    display: block;
    margin: 0 auto;
    width: 100%;
    padding: 3px 6px
}

.editor-section .preview {
    margin-bottom: 12px
}

.editor-section .preview-image {
    position: relative;
    max-width: 320px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 80%;
    margin: 0 auto 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden
}

.editor-section .preview-image:after {
    z-index: -1;
    content: "";
    display: block;
    padding-top: 100%
}

.editor-section #userimage, .editor-section #coverimage {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto auto
}

.editor-section #userimage .inner, .editor-section #coverimage .inner {
    width: 100%;
    padding-top: 100%;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 50% 50%
}

.editor-section #coverimage {
    overflow: hidden
}

.editor-section #dragger {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    cursor: move
}

.editor-section #size-slider {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
    height: 24px;
    background: transparent;
    border: none;
    position: relative;
    margin: 0 48px;
    cursor: pointer
}

.editor-section #size-slider:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -1px;
    left: 0px;
    right: 0px;
    height: 2px;
    background-color: #ddd
}

.editor-section #size-slider .ui-state-default, .editor-section #size-slider .ui-widget-content .ui-state-default,
.editor-section #size-slider .ui-widget-header .ui-state-default {
    top: 50%;
    margin-top: -3px;
    outline: none;
    width: 24px;
    height: 6px;
    background: #50b584;
    opacity: 1;
    border: 0px solid transparent;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    cursor: pointer
}

.editor-section #size-slider .ui-slider-handle {
    top: 50%;
    margin-top: -3px;
    margin-left: -12px
}

.editor-section #size-slider .zoomin, .editor-section #size-slider .zoomout {
    color: #50b584;
    position: absolute;
    font-size: 24px;
    line-height: 24px;
    color: #bbb
}

.editor-section #size-slider .zoomin {
    text-indent: -119988px;
    overflow: hidden;
    text-align: left;
    background-image: url('../images/icon-zoomin.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 24px;
    height: 24px;
    background-image: none, url('../images/icon-zoomin.svg');
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    right: -50px
}

.editor-section #size-slider .zoomout {
    text-indent: -119988px;
    overflow: hidden;
    text-align: left;
    background-image: url('../images/icon-zoomout.png?1452071651');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 24px;
    height: 24px;
    background-image: none, url('../images/icon-zoomout.svg?1452071651');
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    left: -50px
}

.editor-section #userimage .inner {
    background-color: #f7f7f7
}

.editor-section #loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none
}

.editor-section #loading div {
    position: relative;
    width: 100%;
    height: 100%
}

.editor-section #loading img {
    width: 200px;
    height: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -11px;
    margin-left: -100px
}

.editor-section .templates {
    background-color: #f7f7f7;
    margin: 0 -24px 24px;
    padding: 12px 9px;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch
}

.editor-section .templates .btn {
    position: relative;
    display: inline-block;
    margin: 0 3px;
    padding: 0;
    border: none;
    background-size: cover;
    background-position: center;
    width: 20%;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px
}

.editor-section .templates .btn.active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

.editor-section .templates .btn:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 2px solid transparent;
    -webkit-transition: border 0.5s;
    -moz-transition: border 0.5s;
    -o-transition: border 0.5s;
    transition: border 0.5s
}

.editor-section .templates .btn:hover:before {
    border: 2px solid rgba(80, 181, 132, 0.2)
}

.editor-section .templates .btn.active:before {
    border: 2px solid rgba(80, 181, 132, 0.75)
}

.editor-section .templates img {
    width: 100%;
    margin-bottom: 0px
}

.editor-section .finish-editor {
    text-align: center
}

.editor-section .finish-editor .btn {
    padding: 4px 36px
}
.or {
  margin: 12px;
  display: inline-block;
}

@media (min-width: 640px) {
    .editor-section {
        padding: 50px 0
    }

    .editor-section:after {
        content: "";
        display: table;
        clear: both
    }

    .editor-section .container {
        padding: 0 36px
    }

    .editor-section .editor-row {
        margin: auto;
        width: 100%; max-width: 550px;
        // float: left;
        // width: 50%;
        position: relative;
        padding: 0 12px
    }

    .editor-section .preview {
        margin-bottom: 0px
    }

    .editor-section .upload-image {
        max-width: none
    }

    .editor-section .preview-image {
        width: 100%;
        max-width: none
    }

    .editor-section .templates {
        background-color: transparent;
        margin: auto;
        padding: 0;
        white-space: normal;
        overflow-x: auto;
        overflow-y: auto;
        margin-right: -6px;
        margin-bottom: 24px
    }

    .editor-section .templates .btn {
        position: relative;
        display: inline-block;
        margin: 0;
        width: 25%;
        border-right: 6px solid white;
        border-bottom: 6px solid white
    }

    .editor-section .finish-editor:after {
        content: "";
        display: table;
        clear: both
    }

}

.action-section {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    background-repeat: no-repeat;
    background-position: left top
}

.action-section .container {
    
}

.action-section .container:after {
    content: "";
    display: table;
    clear: both
}

.action-section .tip {
    font-size: 18px;
    line-height: 24px
}

.action-section .btn {
    display: block;
    margin: 6px auto;
    padding: 9px 24px;
    width: 100%;
    max-width: 240px;
}

.action-section .icon-facebook, .action-section .icon-download {
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle
}

.action-section .js-fb-upload {
    position: relative
}

.action-section .js-fb-upload:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -32px;
    font-size: 13px;
    line-height: 24px;
    color: #999;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s
}

.action-section .icon-facebook {
    text-indent: -119988px;
    overflow: hidden;
    text-align: left;
    background-image: url('./images/icon-facebook.png?1452071651');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 24px;
    height: 24px;
    background-image: none, url('./images/icon-facebook.svg?1452071651');
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain
}

.fb-connected .action-section .js-fb-upload:after {
    content: "點擊後若無反應，請再次點擊";
    opacity: 1
}

.action-section .icon-download {
    position: relative;
    top: -3px;
    text-indent: -119988px;
    overflow: hidden;
    text-align: left;
    background-image: url('../images/icon-download.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 24px;
    height: 24px;
    background-image: none, url('../images/icon-download.svg');
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain
}

.action-section .copyright {
    margin: 200px auto 48px;
    color: #ccc;
    width: 80%;
}
.action-section .copyright a {
  white-space: nowrap;
}

@media (min-width: 640px) {

    .action-section .btn {
        display: inline-block;
        margin: 0 6px
    }
}

.hide-phone {
    display: none
}

@media (min-width: 640px) {
    .hide-phone {
        display: block
    }
}

.hide-mobile {
    display: none
}

@media (min-width: 960px) {
    .hide-mobile {
        display: block
    }
}

@media (min-width: 640px) {
    br.word-break-on-phone {
        display: none
    }
}

.word-no-break {
    display: inline-block;
    white-space: nowrap
}

.tip-block {
    background-color: #E7E879;
    color: black;
    padding: 12px 0;
    text-align: center
}

.tip-block-title {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 0px
}
