﻿html {
    font-size: 62.5%;
}

body {
    min-height: 100%;
    color: #121212;
}


#loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s;
}

    #loading-mask > div:first-child {
        text-align: center;
        color: #eef3ef;
        margin: auto;
        top: 50%;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }


.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 16px;
        background: #2196f3;
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
        }

#loading-mask-text {
    color: #2196f3;
    margin-top: -6px;
}

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%, 100% {
        top: 24px;
        height: 32px;
    }
}


/*----------------------------------------------------------------*/
#capacity_info {
    position: absolute;
    bottom: 30px;
    left: 10px;
    right: 10px;
}

    #capacity_info img {
        position: relative;
        top: 4px;
    }

    #capacity_info .bar {
        height: 10px;
        width: 100%;
        border: 1px solid #eaedf0;
        position: relative;
        border-radius: 2px;
        margin-top: 5px;
    }

#capacity-bar {
    width: 2%;
    position: absolute;
    height: 80%;
    background-color: #2196f3;
    top: 1px;
}

#qq-group {
    width: 300px;
    height: auto;
    border-radius: 2px;
    border-top: none;
    position: fixed;
}

    #qq-group > img {
        margin: auto;
        display: block;
        width: 80%;
        margin-top: -7px;
        z-index: -1;
        position: relative;
    }

/*------------------new layout start ----------------*/
@media only screen and (max-width: 768px) {
    body {
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
        -webkit-user-select: none;
        -moz-user-focus: none;
        -moz-user-select: none;
    }

    .container {
        max-width: 100vw;
        display: block;
    }

    .article_list {
        width: 100vw;
    }

    .container-right {
        display: none;
    }

    .container-center {
        margin-top: 61px;
    }
}

.snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1111;
    left: 50%;
    bottom: 30px;
    font-size: 16px;
    transform: translateX(-50%);
    max-width: 100%;
}

    .snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/*-----------------footer-----------------*/

footer {
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    background: #F9F9FB;
}

    footer a {
        text-decoration: none;
        color: rgb(78, 78, 78);
    }

/*左侧导航栏*/

.navigation {
    width: 90px;
    flex-shrink: 0;
}

.fresnel-container {
    text-align: center;
}

.logo-img {
    width: 90px;
    margin: auto;
    display: block;
    height: auto;
}

strong {
    top: -3px;
    position: relative;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: aliceblue;
    border-radius: 3px;
    padding: 2px 5px;
    display: flex;
    justify-content: center;
}

    strong > span:first-child {
        color: #2196f3;
    }

    strong > span:last-child {
        color: #00d1b2;
    }

.sidenav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.menuitem {
    color: black;
    font-size: 1.6rem;
    position: relative;
    text-align: center;
    padding: 10px 0;
    transition: background .3s ease;
}

    .menuitem:not(.menu-button):hover {
        background-color: #F7F7F7;
    }

.text-icon {
    font-size: 2.5rem;
}

.menu-text {
    font-size: 1.3rem;
    display: block;
}

.menu-button {
    background: #2196F3;
    color: #fff;
    width: 90%;
    margin: auto;
    border-radius: 100px;
    margin: 1rem auto;
}

.reg-btn {
    background-color: #C0A46B;
}

.navigation-menu {
    margin: 10px auto;
}

    .navigation-menu > li {
        margin: 10px auto;
    }

.avatar-img {
    width: 3.2rem;
    height: auto;
    display: block;
    margin: auto;
    border-radius: 100px;
}

.mobile-nav {
    display: none;
}

@media only screen and (max-width: 768px) {
    .navigation {
        display: none;
    }
    /*-----------------------------mobile nav*/
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        width: 100vw;
        background: #fff;
        z-index: 2;
    }

    .navbar {
        width: 100%;
        box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 62px;
    }

    .navbar .menu-items {
        display: flex;
    }

    .navbar .nav-container li {
        list-style: none;
    }

    .navbar .nav-container a {
        text-decoration: none;
        color: #0e2431;
        font-weight: 500;
        height: 50px;
        line-height: 50px;
        display: block;
        position: relative;
    }

        .navbar .nav-container a > img {
            top: 6px;
            position: relative;
            margin-right: 3px;
        }

        .navbar .nav-container a:hover {
            font-weight: bolder;
        }

    .nav-container {
        display: block;
        position: relative;
        height: 60px;
        line-height: 60px;
    }

        .nav-container .checkbox {
            position: absolute;
            display: block;
            height: 30px;
            width: 30px;
            top: 16px;
            left: 16px;
            z-index: 5;
            opacity: 0;
            cursor: pointer;
        }

        .nav-container .hamburger-lines {
            display: block;
            height: 20px;
            width: 24px;
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

            .nav-container .hamburger-lines .line {
                display: block;
                height: 4px;
                width: 100%;
                border-radius: 10px;
                background: #0e2431;
            }

            .nav-container .hamburger-lines .line1 {
                transform-origin: 0% 0%;
                transition: transform 0.4s ease-in-out;
            }

            .nav-container .hamburger-lines .line2 {
                transition: transform 0.2s ease-in-out;
            }

            .nav-container .hamburger-lines .line3 {
                transform-origin: 0% 100%;
                transition: transform 0.4s ease-in-out;
            }

    .navbar .menu-items {
        padding-top: 120px;
        box-shadow: inset 0 0 2000px rgba(255, 255, 255, 0.5);
        height: 100vh;
        width: 100%;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease-in-out;
        text-align: center;
        background: #fff;
        position: absolute;
        margin-top: 61px;
    }

        .navbar .menu-items li {
            margin-bottom: 3.2rem;
            font-size: 1.8rem;
            font-weight: 500;
        }

    .mobile-nav-logo {
        position: absolute;
        font-size: 2rem;
        color: #0e2431;
        margin: auto;
        left: 50%;
        transform: translate(-50%, 0);
        text-align: center;
        letter-spacing: 3px;
        font-weight: bold;
    }

    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

    .nav-container input[type="checkbox"]:checked ~ .logo {
        display: none;
    }
}

/*容器 start*/
.container {
    min-height: calc(100vh - 121px);
    margin: auto;
    position: relative;
    display: flex;
    margin: auto;
}

.container-center {
    position: relative;
    flex-grow: 1;
    margin-right: 10px;
    margin-left: 10px;
    border-left: 1px solid rgba(0,0,0,0.08);
    border-right: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}


.container-right {
    position: relative;
    top: 11px;
    bottom: 0;
    width: 302px;
    border-radius: 6px;
    background: #fbfcfc;
    flex-shrink: 0;
}

/* 小于等于 960px */
@media screen and (max-width: 960px) {
    .container {
        /* 设置适合的样式 */
        width: 100%;
    }
}

/* 大于 960px 且小于等于 1152px */
@media screen and (min-width: 961px) and (max-width: 1152px) {
    .container {
        /* 设置适合的样式 */
        width: 960px;
    }
}

/* 大于 1152px 且小于等于 1344px */
@media screen and (min-width: 1153px) and (max-width: 1344px) {
    .container {
        /* 设置适合的样式 */
        width: 1152px;
    }
}

/* 大于 1344px */
@media screen and (min-width: 1345px) {
    .container {
        /* 设置适合的样式 */
        width: 1344px;
    }
}

/*容器 end*/
