html {
    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: 62.5%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    -webkit-overflow-scrolling: touch;
    font-size: .26rem;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: 100% !important;
}

img {
    border: 0;
    vertical-align: middle;
    width: 100%;
}

button,
select {
    text-transform: none;
}

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

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

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;
    -webkit-appearance: none;
}

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

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

legend {
    margin: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
}

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

th,
td {
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: .05rem 0;
}

h1 {
    font-size: .46rem;
}

h2 {
    font-size: .42rem;
}

h3 {
    font-size: .38rem;
}

h4 {
    font-size: .36rem;
}

h5 {
    padding: .03rem 0;
    font-size: .32rem;
    line-height: 1.3;
    font-weight: normal;
}

h6 {
    font-size: .28rem;
}

p,
figure,
form,
blockquote {
    margin: 0;
}

ul,
ol,
li,
dl,
dt,
dd,
p,
span,
div,
section {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none outside none;
}

h1,
h2,
h3 {
    line-height: 2rem;
    font-weight: normal;
}

h1 {
    font-size: .8rem;
    line-height: 1rem;
}

h2 {
    font-size: .6rem;
    line-height: .8rem;
}

h3 {
    font-size: .4rem;
    line-height: .6rem;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #cccccc;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #cccccc;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #cccccc;
}

a {
    background: transparent;
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
    text-decoration: none;
}

a:active {
    outline: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

.tc {
    text-align: center;
}

.hide {
    display: none
}

/* clearfix */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

/* margin */
.ml10 {
    margin-left: .1rem;
}

.mb40 {
    margin-bottom: .4rem;
}

.mr20 {
    margin-right: .2rem;
}

.mb20 {
    margin-bottom: .2rem;
}

.mb30 {
    margin-bottom: .3rem;
}

/* padding */
.p40 {
    padding-bottom: .4rem;
}

.p20 {
    padding: .2rem;
}

/* layout */
.wrapper {
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
}

#errorMsg {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 90%;
    height: .8rem;
    margin-left: -45%;
    padding: .2rem .4rem;
    background: rgba(0, 0, 0, .5);
    border-radius: 0.1rem;
    text-align: center;
    line-height: .4rem;
    font-size: 0.28rem;
    color: #fff;
    z-index: 9999999;
    opacity: 0;
}


.mask {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 111;
}

.mask img {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -25%;
    margin-top: -50%;
    width: 50%;
    vertical-align: middle;
    z-index: 99999;
}

.prev {
    color: #666666;
    width: .14rem;
    height: .22rem;
    position: absolute;
    left: .2rem;
    top: 0;
}

.wrapper_sns {
    width: 100%;
    text-align: center;
    height: .88rem;
    background-color: #fff;
    color: #000;
    font-size: .34rem;
    font-weight: bold;
    line-height: .88rem;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;
}

.wrapper_select {
    display: flex;
    align-items: center;
}

.wrapper_select .active {
    color: #DC167C;
    font-size: .38rem;
}

.wrapper_select .active .cur {
    border-bottom: .05rem solid #DC167C;
    width: .4rem;
    position: absolute;
    left: 50%;
    margin-left: -.2rem;
    bottom: .05rem;
}

.wrapper_select>div {
    display: inline-block;
    position: relative;
    margin: 0 .3rem;
    text-align: center;
}

.hair {
    height: .88rem;
    clear: both;
}

.nofollow {
    width: 1.1rem;
    height: .44rem;
    line-height: .44rem;
    border: .01rem solid #198AED;
    border-radius: .08rem;
    text-align: center;
    color: #198AED;
    font-size: .26rem;
}

.underfollow {
    width: 1.1rem;
    height: .44rem;
    line-height: .44rem;
    border: .01rem solid #999999;
    border-radius: .08rem;
    text-align: center;
    color: #666;
    font-size: .26rem;
}

.upload-del-img {
    position: absolute;
    right: -.08rem;
    top: -.08rem;
    width: .4rem;
    height: .4rem;
    background: url("../images/sns_yaochen/deletephotos.png") no-repeat;
    background-size: 100% 100%;
}


.pencil{
    position: fixed;
    right: .2rem;
    bottom: 4rem;
    width: .8rem;
    height: .8rem;
    background-color: #0065D8;
    border-radius: .4rem;
    color: #fff;
    font-size: .2rem;
    text-align: center;
    line-height: .8rem;
}


#shareModal{
    width: 5rem;
    margin: auto;
    text-align: center;
}
#shareModal .modal-content{
    padding: .5rem;
    white-space: wrap;
}
#shareModal .titles{
    margin: auto;
}
#shareModal button{
    outline: none;
    border: none;
    width: 2rem;
    height: .6rem;
    background-color: #0065D8;
    border-radius: .08rem;
    color: #fff;
    margin-top: 1rem;
}
#shareModal .content{
    width: 3rem;
    margin:  auto;
    /* text-align: left; */
    line-height: .6rem;
    
}

#myModal .modal-dialog {
    margin-left: .4rem;
    margin-right: .4rem;
}

#myModal .inputBox {
    text-align: center;
}

#myModal .inputBox textarea {
    border: none;
    outline: none;
    width: 6rem;
    margin: auto .2rem;
    font-size: .4rem;
    resize: none;
}

#myModal .titles,#shareModal .titles {
    text-align: center;
    margin: .3rem 0;
    font-weight: bold;
    font-size: .4rem;
}

#myModal .buttonBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#myModal .buttonBox button {
    outline: none;
    border: none;
    width: 50%;
    height: 1rem;
    font-size: .4rem;
    border-radius: .1rem;
}

#myModal .buttonBox button:nth-child(2) {
    background-color: #89bf04;
    color: #fff;
}
