@charset "utf-8";
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    height: 100%;
}

body {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100%;
}

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

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

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

progress {
    vertical-align: baseline;
}

[hidden], template {
    display: none;
}

a {
    background: transparent;
    text-decoration: none;
    color: #333;
}

a:active {
    outline: 0;
}

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

b, strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

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;
    vertical-align: middle;
    max-width: 100%;
}

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

pre {
    overflow: auto;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

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

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
    vertical-align: middle;
}

button, input, select {
    overflow: visible;
}

button, select {
    text-transform: none;
}

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

[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;
    box-sizing: border-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;
    resize: vertical;
    vertical-align: top;
}

optgroup {
    font-weight: bold;
}

input, select, textarea, button {
    outline: 0;
}

textarea, input {
    -webkit-user-modify: read-write-plaintext-only;
}

input::-ms-clear, input::-ms-reveal {
    display: none;
}

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

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

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

.placeholder {
    color: #999;
}

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

td, th {
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, figure, form, blockquote {
    margin: 0;
}

ul, ol, li, dl, dd {
    margin: 0;
    padding: 0;
}

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

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

h1 {
    font-size: 18px;
}

h2 {
    font-size: 16px;
}

h3 {
    font-size: 14px;
}

i {
    font-style: normal;
}

* {
    box-sizing: border-box;
}

.page-moments {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    position: relative;
}

/* header */

.top-header {
    margin-bottom: 20px;
    height: 40px;
    width: 100%;
    background: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header img {
    height: 20px;
    margin-left: 15px;
}

.top-header .title {
    color: white;
    font-size: 20px;
    margin-left: 30px;
}

.top-header .add-mo {
    color: white;
    font-size: 14px;
    margin-right: 15px;
}

/* moments */

.moments-item {
    display: flex;
    padding: 20px 10px;
    border-bottom: 1px solid #dfdfdf;
    font-size: 14px;
    position: relative;
}

.moments-item .item-left {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.moments-item .item-right {
    flex: 1;
    overflow: hidden;
}

.moments-item .item-name {
    color: #637ab4;
    font-size: 14px;
    line-height: 1.3;
}

.moments-item .item-share {
    display: flex;
    align-items: center;
    padding: 5px;
    background: #f3f3f3;
    margin-top: 10px;
    margin-bottom: 5px;
}

.moments-item .item-share .share-img {
    margin-right: 5px;
}

.moments-item .item-share .share-tt {
    line-height: 20px;
    max-height: 40px;
    overflow: hidden;
}

.moments-item .item-only-img {
    max-width: 180px;
    max-height: 180px;
    margin-top: 10px;
}

.moments-item .item-pic {
    display: inline-block;
    vertical-align: middle;
}

.moments-item .pic-item {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    margin-top: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 320px) {
    .moments-item .pic-item {
        width: 70px;
        height: 70px;
    }
}

.moments-item .item-ft {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    line-height: 36px;
    position: relative
}

.moments-item .item-ft .item-time {
    color: #999;
    font-size: 12px;
}

.moments-item .item-ft .delbtn {
    color: #31708F;
    margin-left: 15px;
    font-size: 12px;
}

.moments-item .item-ft .item-reply {
    background: currentColor;
    width: 16px;
    height: 12px;
    display: inline-block;
    position: relative;
    color: #8c99c1;
    vertical-align: middle;
}

.moments-item .item-ft .item-reply::before {
    content: "";
    width: 0;
    height: 0;
    border: 3px solid currentColor;
    border-color: transparent currentColor transparent transparent;
    border-width: 2px 3px;
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translate(0, -50%);
}

.moments-item .item-ft .item-reply::after {
    content: "";
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 1px;
    box-shadow: 7px 0 0 #fff;
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translate(0, -50%);
}

.moments-item .reply-zone {
    background: #f0f0f0;
    margin-top: 5px;
    position: relative;
}

.moments-item .reply-zone .reply-who {
    color: #637ab4;
}

.moments-item .reply-zone::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 8px solid #f3f3f3;
    border-color: transparent transparent #f3f3f3 transparent;
    border-width: 8px 8px;
    top: -14px;
    left: 8px;
}

.moments-item .reply-like {
    padding: 2px 8px 2px;
    color: #637ab4;
}

.moments-item .icon-like-blue {
    display: inline-block;
    vertical-align: -3px;
    width: 14px;
    height: 14px;
    margin-right: 2px;
    background: url(./img/like-blue.png) no-repeat;
    background-size: 14px;
}

.moments-item .icon-like {
    background: url(./img/like.png) no-repeat;
}

.moments-item .icon-comment {
    background: url(./img/comment.png) no-repeat;
}

.moments-item .icon-like, .moments-item .icon-comment {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: cover;
    vertical-align: middle;
}

.moments-item .reply-comment {
    padding: 5px 8px;
}

.moments-item .reply-like+.reply-comment {
    border-top: 1px solid #ccc;
}

.item-ft .item-reply-likelist {
    width: 180px;
    color: #fff;
    background-color: #303136;
    border-radius: 3px;
    display: flex;
    align-content: space-around;
    justify-content: space-around;
    position: absolute;
    top: 0;
    right: 36px;
}

.item-reply-likelist .item-reply-likelist-like, .item-reply-likelist .item-reply-likelist-comment {
    cursor: pointer;
}

.item-reply-likelist .item-reply-likelist-like::before, .item-reply-likelist .item-reply-likelist-comment::before {
    content: "";
    width: 20px;
    height: 36px;
    float: left;
}

.item-reply-likelist .item-reply-likelist-like::before {
    background: url("img/like.png") no-repeat left center/16px 16px;
}

.item-reply-likelist .item-reply-likelist-comment::before {
    background: url("img/comment.png") no-repeat left center/16px 16px;
}

.item-right .item-pic .pic-wrap {
    float: left;
}

.item-right .pic-item {
    flex-grow: 0;
    align-self: center;
}

.item-right .item-pic-big {
    background: #000;
    float: none !important;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-Index: 10;
    display: flex;
    align-content: center;
    justify-content: center;
}

.item-right .pic-item.pic-mgpd {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

.page-moments .moments-comment {
    width: 100%;
    max-width: 640px;
    height: 8%;
    background-color: #f8f8f8;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    z-index: 10;
    bottom: 0;
}

.moments-comment .moments-comment-button {
    width: 8%;
    height: 50%;
    color: #fff;
    font-size: 16px;
    text-align: center;
    outline: none;
    border: none;
    border-radius: 6px;
    background-color: #47b111;
}

.moments-comment .moments-comment-input {
    height: 50%;
    width: 80%;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: none;
    padding: 0;
}

.page-moments .weui-cells {
    margin-top: 0;
}

.page-moments .weui-cells::before {
    display: none;
}

li.weui-uploader__file {
    position: relative;
}

li.weui-uploader__file .delxxx {
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: url(./u3676.svg) no-repeat right top;
}