@charset "UTF-8";
/*
 * ============================================
 * 基础布局
 * ============================================
 */

body {
    padding-top: 51px;
}

/* ============================================
 * 导航栏
 * ============================================
 */

#navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    background: #fff;
}

.navbar-head {
    padding: 0 1rem;
}

.navbar-head > .navbar-body > .nav > li > a {
    padding: 1.25rem 2rem;
}

/* ============================================
 * 分割容器
 * ============================================
 */

.isplit {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.isplit-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.isplit-full {
    padding: 2rem 1rem;
}

.bgmain,
.discovers-main {
    background: linear-gradient(165deg, #57c7f6, #00aa88);
}

/* ============================================
 * 轮播
 * ============================================
 */

.flip-item > .effect-content > strong {
    margin-top: 0 !important;
}

.flip > .flip-prev,
.flip > .flip-next {
    font-size: 2rem;
}

/* ============================================
 * 更多按钮
 * ============================================
 */

.more {
    font-weight: 200;
    padding: .5rem 5rem;
    border: solid 1px rgba(0, 0, 0, .075);
    border-radius: 2em;
    transition: all 0.5s ease;
}

.more:hover {
    background: #00aa88;
    border-color: transparent;
    color: #fff;
}

/* ============================================
 * Discovers 模块
 * ============================================
 */

.discovers-main > div {
    margin-top: -2.5rem;
}

.discovers > a > p {
    border-bottom: solid 1px #ddd;
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.discovers > a > p::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #999;
    transition: all 0.3s ease;
}

.discovers > a:hover > p::after {
    width: 100%;
}

/* ============================================
 * Effect Hover 效果
 * ============================================
 */

.effect-hover > .effect-content > i.icon-add,
.effect-hover > .effect-content > p {
    display: none;
}

.effect-hover > .effect-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.effect-hover > .effect-content > strong {
    color: #00aa88;
    font-weight: normal;
    font-size: .75rem;
}

/* ============================================
 * Documents 卡片
 * ============================================
 */

.documents > div {
    margin-bottom: 2rem;
}

.documents > div > strong {
    position: relative;
    display: block;
    font-weight: normal;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: solid 1px #eee;
}

.documents > div > strong::after {
    position: absolute;
    content: "";
    height: 1px;
    bottom: -1px;
    left: 0;
    width: 1.5rem;
    background: #666;
    transition: all 0.5s ease;
}

.documents > div:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.documents > div:hover > strong::after {
    width: 100%;
}

.documents > div > time {
    display: inline-block;
    transition: all 0.3s ease;
}

.documents > div:hover > time {
    transform: translateY(0.25rem);
    opacity: .75;
}

.documents > div > p {
    transition: all 0.3s ease;
}

.documents > div:hover > p {
    transform: translateY(-0.25rem);
}

/* ============================================
 * Forum 模块
 * ============================================
 */

.forum > .size-small > a {
    display: block;
    line-height: 1;
    padding: .5rem;
    transition: all 0.3s ease;
}

.forum > .size-small > a:not(:last-child) {
    border-bottom: solid 1px #eee;
}

/* ============================================
 * 响应式 - 1024px
 * ============================================
 */

@media(min-width:1024px) {
    .effect-hover > div > .open-width {
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        background: rgba(0, 0, 0, .5);
    }
    .effect-hover > div > .open-height {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 0;
        background: rgba(0, 0, 0, .5);
    }
    .effect-hover > .effect-content {
        opacity: 0;
        transition: all 0.3s ease;
    }
    .effect-hover > .effect-content > i.icon-add {
        display: inline-block;
        font-size: 2rem;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
    }
    .effect-hover > .effect-content > em {
        background: rgba(255, 255, 255, .25);
        margin-bottom: .5rem;
        width: 1px;
        height: 1rem;
        transition: all 0.3s ease;
    }
    .effect-hover > .effect-content > strong {
        font-size: 1.25rem;
        margin-top: 10%;
        transition: all 0.3s ease;
    }
    .effect-hover > .effect-content > p {
        display: block;
        font-size: .875rem;
        color: #fff;
        margin-top: -1.75rem;
        transition: all 0.3s ease;
    }
    .effect-hover:hover > .effect-content {
        opacity: 1;
    }
    .effect-hover:hover > .effect-content > i.icon-add {
        margin-bottom: 0;
    }
    .effect-hover:hover > .effect-content > em {
        height: 25%;
    }
    .effect-hover:hover > .effect-content > strong {
        transform: translateY(-.875rem);
    }
    .effect-hover:hover > .effect-content > p {
        transform: translateY(.875rem);
    }
    .effect-hover > .effect-content > i.icon-add:hover {
        transform: rotate(180deg);
        color: #fff !important;
    }
}

/* ============================================
 * 响应式 - 1280px
 * ============================================
 */

@media(min-width:1280px) {
    .isplit {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .isplit-full {
        padding: 3rem 1rem;
    }
    .isplit-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .flip-item > .effect-content > strong {
        font-size: 1.25rem !important;
    }
    #flip > .flip-prev,
    #flip > .flip-next {
        font-size: 5rem;
    }
    .discovers > a > p {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .documents > a {
        margin-bottom: 0;
    }
    .documents > a > strong {
        margin: .5rem 0 1rem 0;
    }
    .forum {
        padding: 2rem 2rem 0 2rem !important;
    }
    .forum > .size-small > a:hover {
        padding-left: 1rem;
    }
}

/* ============================================
 * 响应式 - 1600px
 * ============================================
 */

@media(min-width:1600px) {
    .isplit {
        padding-top: 0rem;
        padding-bottom: 8rem;
    }
    .isplit-full {
        padding: 8rem 2rem 5rem 2rem;
    }
    .isplit-content {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .flip-item > .effect-content > strong {
        font-size: 1.5rem !important;
    }
    .discovers-main {
        padding: 2rem !important;
    }
    .discovers-main > div {
        margin-top: -5rem;
    }
    .effect-hover > .effect-content > i.icon-add {
        font-size: 3rem;
    }
    .forum {
        padding: 3rem 3rem 0 3rem !important;
    }
    .forum > .size-small > a {
        padding: .75rem;
    }
}

/* ============================================
 * 响应式 - 1920px
 * ============================================
 */

@media(min-width:1920px) {
    .forum {
        padding: 3rem 3rem 0 3rem !important;
    }
    .forum > .size-small > a {
        padding: 1rem .75rem;
    }
}