﻿@charset "utf-8";
* {
    box-sizing: border-box;
}

body {
    font-family: "microsoft yahei";
}

ul, li {
    list-style: none;
}

@font-face {
    font-family: "diyicon"; /* Project id 1671115 */
    src: url('paperCup/fonts/iconfont.woff2?t=1632793615358') format('woff2'),
    url('paperCup/fonts/iconfont.woff?t=1632793615358') format('woff'),
    url('paperCup/fonts/iconfont.ttf?t=1632793615358') format('truetype');
}

.diyicon {
    font-family: "diyicon" !important;
    font-size: 20px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-paizhao:before {
    content: "\e640";
}

.icon-slogan:before {
    content: "\e639";
}

.icon-logo:before {
    content: "\e638";
}

.icon-preview-cancel:before {
    content: "\e607";
}

.icon-croper-ok1:before {
    content: "\e62e";
}


* {
    touch-action: pan-y;
}

* {
    box-sizing: border-box;
}

#crop_box .pop-body, #previewBox .pop-body {
    height: 100% !important;
    max-height: unset;
}

#crop_box .pop-body {
    background-color: #000;
    padding-top: 2rem;
}

#previewBox .pop-body {
    background-color: #202c43 !important;
}

#previewBox .pop-body .close-icon i {
    color: #fff;
    cursor: pointer;
}

#previewBox .preview-area {
    top: .8rem;
    bottom: 2.6rem;
}

#shareLink {
    display: none;
}

.pop-body {
    background-color: #fff;
    max-height: calc(100vh - .5rem);
}

.pop-body .pop-body-margin {
    padding-left: .24rem;
    padding-right: .24rem;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .4);
    font-size: 4rem;
    z-index: 11;
    font-size: .24rem;
    color: #fff;
    text-align: center;
}

.loading img {
    max-width: 2.5rem;
}

.crop-wrap {
    margin: 0;
}

.crop-wrap img {
    display: block;
}

.cropper-container .cropper-view-box {
    outline: none;
}

.cropper-container .cropper-line, .cropper-point {
    background-color: transparent;
}

.cropper-container .cropper-point {
    width: .8rem;
    height: .8rem;
    background: url(../img/paperCup/cropper.png);
    background-size: 1.5rem;
    background-position: 0 -.02rem;
}

.cropper-container .cropper-point.point-nw {
    left: -.05rem;
    top: -.05rem;
}

.cropper-container .cropper-point.point-n {
    margin-left: -.1rem;
    top: -.05rem;
    background-position: -.36rem -.02rem;
}

.cropper-container .cropper-point.point-ne {
    top: -.05rem;
    right: -.05rem;
    background-position: -.7rem -.02rem;
}

.cropper-container .cropper-point.point-e {
    margin-top: -.1rem;
    right: -.05rem;
    background-position: .82rem -.34rem;
}

.cropper-container .cropper-point.point-se {
    right: -.05rem;
    bottom: -.05rem;
    background-position: 2.29rem .8rem;
    width: .8rem;
    height: .8rem;
}

.cropper-container .cropper-point.point-se:before {
    display: none;
}

.cropper-container .cropper-point.point-s {
    margin-left: -.1rem;
    bottom: -.05rem;
    background-position: -.34rem .8rem;
}

.cropper-container .cropper-point.point-sw {
    left: -.05rem;
    bottom: -.05rem;
    background-position: 0 -.7rem;
}

.cropper-container .cropper-point.point-w {
    margin-top: -.1rem;
    left: -.05rem;
    background-position: -1.5rem -.34rem;
}

.cropper-point {
    background-color: transparent !important;
}

.cropper-line {
    background-color: #fff !important;
}

#crop_img {
    max-width: 6.3rem;
    max-height: 7.8rem;
}

.modal-buttons-cut {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    color: #fff;
    justify-content: space-between;
    line-height: .88rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.modal-buttons-cut i {
    font-size: .4rem;
    width: 1rem;
    text-align: center;
}

.modal-buttons-cut span {
    width: calc(100% - 2rem);
    text-align: center;
}

