/* common */
.flex-row {
    display: flex;
    flex-direction: row;
}
.flex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-none {
    display: none;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.align-center {
    align-items: center;
}

.fade {
    animation: fade-in 0.3s linear;
    -webkit-animation: fade-in 0.3s linear;
    -o-animation: fade-in 0.3s linear;
}

.ios-device {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 111;
}
.ios-device::before {
    content: ' ';
    display: block;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100vw;
    height: 100vh;
}
.ios-device_content {
    position: fixed;
    top: calc(50% - 62px);
    left: calc(50% - 150px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    width: 300px;
    height: 124px;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #fff;
    font-family: Microsoft YaHei;
    font-style: normal;
}
.ios-device_content p {
    color: #000;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px; 
}
.ios-device_content div {
    margin-top: 16px;
    width: 120px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 4.267px;
    background: #EA4B3D;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
}
@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.header-shadow {
    animation: header-shadow .5s forwards;
}
@keyframes header-shadow {
    0% {
        background-color: inherit;
        background-image: inherit;
    }
    100% {
        background-color: #fff;
        background-image: unset;
        box-shadow: 0 2px 4px -4px rgba(31,35,41,.02), 0 4px 8px rgba(31,35,41,.02), 0 4px 16px 4px rgba(31,35,41,.03);
    }
}

/* side-tab */
.side {
    position: fixed;
    right: 50px;
    bottom: calc(50% - 124.5px);
    z-index: 1000;
    color: white;
    width: 80px;
    height: 245px;
    background: #FFFFFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    text-align: center;
}
.side-item{
    width: 50px;
    height: 86px;
    cursor: pointer;
    margin: 0 15px;
    border-bottom: 1px solid #ddd;
    display: block;
    color: #666;
}
.side-item-img{
    width: 30px;
    margin: 20px auto 10px;
}

/* scroll */
.page-scroll {
    box-shadow: 0 1px 10px rgba(0, 0, 0, .15);
    background-color: #ffffff;
    background-image: unset;
}
.page-top {
    box-shadow: unset;
    background-color: unset;   
}