/*黑白*/
@import url("//at.alicdn.com/t/font_2524291_i95f11vin9.css");
/*彩色*/
@import url("//at.alicdn.com/t/font_2835561_xzyttjrey1.css");


:root {
    --bg-body: #f6f8fb;
    --white: #ffffff;
    --font-color: #34495e;
    --blue: #0d6efd;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #d63384;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #198754;
    --teal: #20c997;
    --cyan: #0dcaf0;
    --gray: #6c757d;
    --gray-light: #efefef;
    --gray-dark: #343a40;
    --primary: #5291fc;
    --secondary: #6c757d;
    --success: #4FC277;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #ff5d4a;
    --light: #f8f9fa;
    --dark: #212529;
    --muted: #6a6a6a;
    --bg-light: #eceef1;
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
}

body {
    background: #f6f8fb;
    color: var(--font-color);
    font: 1.2rem/1.5 "SF Pro SC", "SF Pro Text", -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

blockquote, html, body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, td, textarea, th, ul {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: var(--dark);
    text-decoration: none
}

a:hover {
    color: var(--gray)
}

a.disabled {
    pointer-events: none;
}

a:active, a:hover {
    outline: 0
}

img {
    border: none
}

li {
    list-style: none
}

.none {
    display: none;
}

.relative {
    position: relative;
}

/**
徽章
 */
.badge {
    position: relative;
    display: inline-block;
    padding: 0 0.6rem;
    font-size: 1rem;
    text-align: center;
    background-color: var(--danger);
    color: var(--white);
    border-radius: 5rem;
}


/**
头像
 */
.avatar .avatar-small {
    width: 4rem;
    height: 4rem;
    border-radius: 0.4rem;
    cursor: pointer;
}

.avatar .avatar-default {
    width: 8rem;
    height: 8rem;
    border-radius: 0.4rem;
    cursor: pointer;
}

.avatar .avatar-big {
    width: 12rem;
    height: 12rem;
    border-radius: 0.4rem;
    cursor: pointer;
}

.avatar .avatar-round {
    border-radius: 50%;
}

/**
表单
 */
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=tel] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

.input-default {
    display: block;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted);
    background-color: var(--light);
    background-clip: padding-box;
    border: 1px solid var(--light);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .6rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    height: calc(37px + 2px);
    padding: 0.8rem 1.6rem;

}

.input-default-lg {
    border-radius: .6rem;
    height: calc(42px + 2px);
    padding: 0.8rem 1.6rem;
    font-size: 1.5rem;
}

.input-default::placeholder {
    color: var(--gray);
    opacity: 1
}

/**
自定义滚动条
 */
::-webkit-scrollbar {
    width: 0.6rem;
    height: 0.1rem;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 0.5rem rgba(0, 0, 0, 0.1);
    background: var(--secondary);
}

::-webkit-scrollbar-track {
    border-radius: 0.5rem;
    background: transparent;
}

/**
主体
 */
.container {
    width: 120rem;
    margin-right: auto;
    margin-left: auto;
}

header {
    background-color: var(--white);
    position: relative;
    z-index: 1000;
}

header nav {
    height: 6.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav .logo {
    height: 3.4rem;
}

header nav .logo img {
    height: 100%;
}

header .menu {
    margin-left: 5rem;
}

header .menu, header .menu ul {
    display: flex;
    align-items: center;
    width: 100%;
}

header .menu li {
    padding: 0 1.5rem;
    font-size: 1.4rem;
}

header .icon-btn {
    opacity: 1;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    height: 100%;
    align-items: center;
}

header .icon-btn.top-left > div,
header .icon-btn.top-right > div {
    padding: 1rem 1rem;
}

header .icon-btn.top-right {
    display: flex;
    float: right;
}

header .icon-btn .color-font {
    font-size: 2.2rem;
}

header .openNews .badge {
    position: absolute;
    right: 0.2rem;
    top: 0.4rem;
}

header .user-login {
    flex-shrink: 0;
    margin-left: 2rem;
}

header .user-login a {
    float: left;
    line-height: 3.4rem;
    padding: 0 2rem;
    font-size: 1.4rem;
}

header .user-login a:hover {
    opacity: .8;
    color: var(--white);
}

header .user-info {
    position: relative;
    align-items: center;
    display: flex;
    height: 100%;
    margin-left: 2rem;
}

header .user-info .user-nav {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    right: 0;
    top: 150%;
    line-height: 3.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 0.2rem 0.8rem 0 rgba(0, 0, 0, 0.05);
    background-color: #fff;
    z-index: 5000;
    min-width: 15rem;
    border-radius: 0 0.3rem 0 0.3rem;
    white-space: nowrap;
    font-size: 1.3rem;
    background-clip: padding-box;
    transition: all .33s ease 0s;
}

header .user-info .user-nav li.hr {
    border-top: 0.1rem solid #f5f5f5;
    margin-top: .5rem;
    padding-top: .5rem;
}

header .user-info .user-nav li a {
    display: block;
    padding: 0 3rem;
}

header .user-info .user-nav li a:hover {
    color: var(--dark);
    background-color: var(--bg-body);
}

header .user-info:hover .user-nav {
    opacity: 1;
    visibility: visible;
    top: 100%;
}


/**
搜索
 */
.popup-search {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -o-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.popup-search .search-container {
    background-color: var(--white);
    top: 0;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 35rem;
    transform: translateY(-4rem);
    transition-property: transform;
    transition-duration: .3s;
}

.popup-search.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -o-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.popup-search.is-visible .search-container {
    transform: translateY(6.7rem);
}

.search-container .search-close {
    position: absolute;
    right: 3rem;
    top: 2rem;
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 1;
    border-radius: 50%;
    transition: -webkit-transform .6s;
    transition: transform .6s;
}

.search-container .search-close:hover {
    transform: rotate(360deg);
}

.search-container .search-close:before, .search-container .search-close:after {
    content: '';
    position: absolute;
    top: 2rem;
    width: 2rem;
    height: 0.1rem;
    background-color: #fff;
}

.search-container .search-close:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 1rem;
}

.search-container .search-close:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 1rem;
}

.search-body {
    position: relative;
    max-width: 80rem;
    padding: 5rem 0 3rem;
    margin: 0 auto;
}

.search-body .search-form {
    position: relative;
    margin: 0 0 2.5rem;
}

.search-body .input-default {
    text-align: center;
    color: var(--muted);
}

.search-body .input-default::placeholder {
    color: var(--muted);
}

.search-body .search-keywords {
    text-align: center;
}

.search-body .search-keywords {
    text-align: center;
}

.search-body .search-keywords a {
    position: relative;
    margin: 0 0.5rem 0.5rem;
}

/**
注册登录
 */
.oauth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.05);
    margin-top: 2.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.oauth .oauth-image {
    width: 75rem;
}

.oauth .oauth-image img {
    width: 100%;
}

.oauth .oauth-main {
    max-width: 45rem;
    min-height: 61rem;
    flex-shrink: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 3rem;
    box-sizing: border-box;
    position: relative;
}

.oauth .oauth-main .title {
    font-size: 1.6rem;
    border-bottom: 0.1rem solid #eeeeee;
}

.oauth .oauth-main .title .tab-li {
    color: #666666;
    display: inline-block;
    margin-right: 3rem;
    border-bottom: 0.2rem solid transparent;
    padding-bottom: 2rem;
    margin-bottom: -0.1rem;
    cursor: pointer;
}

.oauth .oauth-main .title .tab-li.active {
    color: #282828;
    border-bottom: 0.2rem solid #282828;
    font-weight: 500;
}

.oauth .form-main {
    width: 100%;
    position: relative;
    margin-top: 4.5rem;
}

.oauth .form-main .input-main {
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.oauth .form-main .default-input {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    min-height: 6rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    box-sizing: border-box;
    border-radius: .5rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #878889;
    border: 1px solid #f7f8fa;
    background-color: #f7f8fa;
}

.oauth .form-main .default-button {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    min-height: 6rem;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    box-sizing: border-box;
    border-radius: .5rem;
    background-color: #5291fc;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.oauth .border-top {
    border-top: 1px solid #e9edf1;
}

.oauth .text-link {
    font-size: 1.3rem;
    text-align: center;
}

.oauth .text-link a {
    padding: 0 0.8rem;
    position: relative;
}

.oauth .text-link a:after {
    content: "";
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    background-color: #878889;
    border-radius: 50%;
    right: -0.2rem;
    top: 50%;
    margin-top: -0.2rem;
}

.oauth .text-link a:last-child:after {
    display: none;
}

.oauth .copyright-text {
    text-align: center;
    color: #878889;
    padding: 3rem 0;
    margin-top: 4.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.oauth .form-main .captcha-button {
    width: 40%;
    flex-shrink: 0;
    background-color: #ecf2ff;
    color: #5291fc;
    margin-left: 1rem;
}

.oauth .form-main .captcha-button:hover {
    background-color: #5291fc;
    color: #ffffff;
}


/**
按钮
 */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 0.1rem solid transparent;
    padding: 0.6rem 1.2rem;
    font-size: 1.6rem;
    border-radius: 0.4rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:hover, .btn:focus, .btn.disabled, .btn:disabled, .btn:not(:disabled):not(.disabled):active:focus, .btn:not(:disabled):not(.disabled).active:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.btn-link:hover, .btn-link:focus, .btn-link.focus, .btn-link.disabled, .btn-link:disabled, .btn-link:not(:disabled):not(.disabled):active, .btn-link:not(:disabled):not(.disabled).active, .btn-link:not(:disabled):not(.disabled):active:focus, .btn-link:not(:disabled):not(.disabled).active:focus {
    color: var(--dark);
    background-color: var(--bg-light);
    border-color: var(--bg-light);
    text-decoration: none;
}

.btn-link {
    color: var(--muted);
    text-decoration: none;
}

.btn-sm {
    font-size: 1.2rem;
    padding: 0.5rem 1.4rem;
}

.btn-rounded.btn-sm {
    padding-left: 2rem;
    padding-right: 2rem;
}

.btn-rounded {
    border-radius: 5rem;
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-danger {
    color: var(--white);
    background-color: var(--danger);
    border-color: var(--danger);
}

.btn + .btn {
    margin-left: 1.3rem;
}

.btn-disabled, .btn-disabled:active, .btn-disabled:hover {
    border-color: #eee !important;
    background-color: #FBFBFB !important;
    color: #d2d2d2 !important;
    cursor: not-allowed !important;
    opacity: 1
}

/**
动画效果
 */
.animated {
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}