﻿body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0px;
    font-family: "Microsoft Yahei Light", "Microsoft Yahei", Helvetica, sans-serif, "等线";
    background-color: #f8f8f8;
    -webkit-tap-highlight-color: transparent;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@font-face {
    font-family: 'iconfont';
    src: url('../images/font_1281248_39s685qvp2e.eot');
    src: url('../images/font_1281248_39s685qvp2e.eot?#iefix') format('embedded-opentype'),
    url('../images/font_1281248_39s685qvp2e.woff2') format('woff2'),
    url('../images/font_1281248_39s685qvp2e.woff') format('woff'),
    url('../images/font_1281248_39s685qvp2e.ttf') format('truetype'),
    url('../images/font_1281248_39s685qvp2e.svg#iconfont') format('svg');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

#topBar.dark, #splashScr.dark, .btnRound.dark, #postLoading.dark, .postItem.dark {
    background-color: #333 !important;
}

body.dark, #areaEdit.dark, #textEdit.dark {
    background-color: #444 !important;
}

#splashInfo.dark, #emptyPlaceholder.dark, #loadingTip.dark, .postTime.dark, .postip.dark {
    color: rgba(255, 255, 255, 0.5) !important;
}

#textEdit.dark, .postContent.dark {
    color: rgba(255, 255, 255, 0.8) !important;
}

#splashScr {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: all 0.25s;
    z-index: 1000;
    background-repeat: no-repeat;
    background-size: 150px auto;
    background-position: center;
    background-image: url("../images/bin_Logo.png");
}

#splashInfo {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
}

#topBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px;
    z-index: 999;
    background-repeat: no-repeat;
    background-size: auto 90%;
    background-position: center;
    background-image: url("../images/bin_Logo.png");
    /*backdrop-filter: blur(20px);*/
}

#btnBack {
    display: none;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#emptyPlaceholder {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
}

#postList {
    position: fixed;
    top: 50px;
    left: 0;
    padding-top: 10px;
    width: 100%;
    height: calc(100% - 60px);
    overflow-y: scroll;
    /*-webkit-overflow-scrolling: touch;*/
}

.postItem {
    opacity: 0;
    position: relative;
    width: calc(90% - 40px);
    height: auto;
    left: 5%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    transform: scale(0.5);
    transition: all 0.25s;
    overflow: hidden;
}

.postPicBox {
    position: relative;
    left: -20px;
    height: auto;
    max-height: 0;
    border: none;
    background-color: rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}


.postItem:hover > .postPicBox {
    width: calc(100% + 40px);
    max-height: 300vh;
    transition: all 1s ease-in-out;
}


.postContent {
    position: relative;
    width: 100%;
    font-size: 14px;
}

.postTime {
    position: relative;
    margin-top: 8px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 10px;
}

.postip {
    position: relative;
    margin-top: 8px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 10px;
    float: right;
}

.postItem > * {
    display: inline-block;
}

.toDel {
    display: none;
}

.btnRound {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 80px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 10px;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 999;
    overflow: hidden;
    /*backdrop-filter: blur(20px);*/
}

#btnNew {
    bottom: 50px;
    right: 30px;
}

#btnNew:hover, #btnSend:hover, #btnPic:hover {
    transform: scale(1.1);
}

#btnNew:hover > .iconNew {
    transform: rotate(90deg);
}

#btnNew:active, #btnSend:active, #btnPic:active {
    background-color: #8764b8 !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 10px;
    transform: scale(0.9);
}

#btnNew:active > .iconNew, #btnSend:active > .iconSend, #btnPic:active > .iconPic {
    color: white;
}

.iconNew, .iconSend, .iconBack, .iconPic {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -9px;
    margin-left: -8px;
    color: #8764b8;
    transition: all 0.25s;
}

#iconSend {
    transition: transform 0.25s, color 0.25s, top 0.5s, left 0.5s;
}

#areaEdit {
    display: none;
    opacity: 0;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    background-color: white;
    transition: all 0.25s;
}

#textEdit {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: calc(100% - 30px);
    padding: 20px;
    padding-top: 10px;
    border: none;
    outline: none;
    resize: none;
    font-family: "Microsoft Yahei Light", "Microsoft Yahei", Helvetica, sans-serif, "等线";
    font-size: 0.88em;
}

#btnPic {
    bottom: -60px;
    right: 100px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#btnPicImg {
    bottom: 50px;
    right: 100px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#btnSend {
    bottom: -60px;
    right: 30px;
}

#btnSend:hover > .iconSend {
    transform: rotate(-45deg);
    margin-left: -6.5px;
}

#postLoading {
    display: none;
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 80px;
    margin-top: -40px;
    margin-left: -80px;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 20px;
    transition: all 0.25s;
    text-align: center;
    /*backdrop-filter: blur(20px);*/
}

#loadingTip {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -8.5px;
    color: rgb(0, 0, 0, 0.5);
    font-size: small;
}

#frmUplPic, #browsePic {
    display: none;
}

@media screen and (max-width: 600px) {
    .postPicBox {
        width: calc(100% + 41px);
    }
}

@media screen and (min-width: 900px) {
    .postItem {
        max-width: 460px;
        left: 50%;
        margin-left: -250px;
    }
}



