/*---滚动条默认显示样式--*/

::-webkit-scrollbar-thumb {

    background-color: #BDD7EE;
    height: 50px;
    outline-offset: -2px;
    outline: 2px solid #fff;
    -webkit-border-radius: 4px;
    border: 2px solid #fff;
}

/*---鼠标点击滚动条显示样式--*/

::-webkit-scrollbar-thumb:hover {
    background-color: #443EAB;
    ;
    height: 50px;
    -webkit-border-radius: 4px;
}

/*---滚动条大小--*/

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

/*---滚动框背景样式--*/

::-webkit-scrollbar-track-piece {
    -webkit-border-radius: 0;
}




header {
    width: 1200px;
    margin: 0 auto;
}

/* header头部居中 */
.navbar {
    padding: 20px 0 20px 0;
}

.w {
    margin: 0 auto;
    width: 1200px;
}

/* bar */
.bar {
    background: url('../img/index.png') no-repeat center center;
    height: 30px;
    background-size: 100%;
}


.jumbotron {
    border-radius: 0%;
    background: url('../../../index_img/banner.png') no-repeat center center;
    background-size: 100% 100%;
    margin-bottom: 0px;
    padding: 30px 0px;
}

.login {
    width: 360px;
    height: 200px;
    font-size: 14px;
    padding: 25px 25px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}

.login .yzm {
    width: 95px;
}

.login img {
    width: 70px;
    border-radius: 5px;
}


.form-group {
    text-align: center;
}

.login input {
    border: 1px solid white;
    border-radius: 5px;
    background: #443EAB;
    color: white;
}

.login button {
    background: #5C41A8;
    border: 0px;
    padding: 0px 15px;
    margin: 0px 15px;
}

/* 密码修改 */
.password {
    margin: 20px auto;
    width: 510px;
    text-align: center;
}


.main {
    margin: 50px auto;
    width: 1200px;
}

.row {
    margin: 0;
}

/* 专题详情页 */
.cate_index {
    margin-top: 0px;
}

.chapter_name {
    font-weight: 700;
}

.cate_name {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.chapter_list {
    margin: 0 auto;
    width: 500px;
}

.chapter_list a {
    color: #2F2F2F;
}

.ask_btn {
    background: #40459E;
    color: white;
    width: 60%;
    padding: 1px 5px 1px 5px;
    border-radius: 10px;
}

.ask_answer {
    color: #676767;
    word-wrap: break-word;
}

.ask_answer_bg {
    background: #7030A0;
    color: white;
}

.ask_btn:hover {
    color: white;
}

/* 专题页主margin */
.account {
    margin-top: 40px;
}

.cate_list {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.cate_card {
    box-sizing: border-box;
    border: 1px solid #D5D5D5;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card {
    padding: 0px;
    border: 0px;
}

.card-body {
    padding-left: 0;
    padding-right: 0;
}

.card-body h5 {
    text-align: center;
    font-size: 25px;
    color: #333333;
    font-weight: 700;

}

.card-body p {
    margin-top: 20px;

}


.index_list {
    padding: 0;
    height: 510px;

}

.index_list ul.list {
    margin: 0;
    padding: 0;
    height: 510px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.index_list .media {
    align-items: center;
    width: 360px;
    height: 140px;
    border-radius: 10px;
    border: 2px solid #D5D5D5;
    box-sizing: border-box;


}

/* 用户登录 */
.rec_list .media .username {
    text-align: center;
    color: #676767;
}

.rec_list .media .user_btn {
    text-align: center;
    color: #676767;
}

/* 推荐阅读 */
.rec_list {
    padding: 0;
    /* height: 510px; */
}


.rec_list ul.list {
    margin: 0;
    padding: 0 auto;
    /* height: 510px; */
    display: flex;
    flex-direction: column;

}
.rec_list ul.list img {
    width:100%;
}

.rec_title {
    color: #676767;
    text-align: center;
    font-weight: 700;
}

.rec_list .media {
    align-items: center;
    width: 360px;
    height: 140px;
    border-radius: 10px;
    border: 2px solid #F6F6F6;
    box-sizing: border-box;
    margin-bottom: 20px;


}

.cate_btn {
    background-color: #FFE699;
    float: right;
    width: 40%;
    margin-right: 20px;
}

.days {
    margin-left: 20px;
}

.progress {
    margin-left: 20px;
    margin-right: 20px;

}

.progress-bar {
    background: #5CB85C;
}


.media h5 a {
    font-weight: 700;
    color: #676767;
    text-decoration: none;
}

.media h5 a:hover {
    color: #443EAB;
}

.media p {
    color: #676767;
}


.index_list .media img {
    border-radius: 50%;
}

/* 推荐阅读 */
.rec_list .media img {
    border-radius: 50%;
}

.index_show {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;

}

.index_title {
    width: 100%;
    text-align: center;
    padding-top: 0;

}

.index_title h5 {
    font-weight: 700;
    font-size: 30px;
}

.index_content {
    height: 450px;
    width: 700px;
    color: #676767;
    background: #F1FAFF;
    overflow: auto;
    padding: 40px;
}

.index_content img {
    max-width: 100%;
    height: auto;
}

.article_content img {
    max-width: 100%;
    height: auto;
}

footer {
    border-top: 1px solid #999999;
    font-size: 14px;
    line-height: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: #E2E2E2;
}







@media (max-width: 768px) {

    header {
        width: 100%;
    }

    .banner {
        width: 100%;
    }

    .bar {
        height: 15px;
    }

    .main {
        margin: 15px auto;
    }

    /* 专题详情页 */

    .chapter_list {
        margin: 0 auto;
        width: 100%;
    }

    /* 专题页主margin */
    .account {
        margin-top: 0px;
    }

    /* 密码修改 */
    .password {
        width: 100%;
    }

    .index_list {
        padding: 0;
        height: 100%;
        max-width: 100%;
        margin: 0 auto;

    }

    .index_list ul.list {
        height: 100%;
        width: 100%;

    }

    .index_list .media {
        align-items: center;
        justify-content: center;
        height: 100px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #D5D5D5;
        margin-bottom: 15px;
    }

    /* 专题列表 */
    .cate_list {
        padding: 0;
        height: 100%;
        max-width: 100%;
        margin: 0 auto;

    }

    .card {
        height: 100%;
        max-width: 100%;
    }


    /* 推荐阅读 */
    .rec_list {
        padding: 0;
        height: 100%;
        max-width: 100%;
        margin: 0 auto;

    }

    .rec_list ul.list {
        padding: 0;
        height: 100%;
        width: 100%;

    }

    .rec_list .media {
        align-items: center;
        justify-content: center;
        height: 100px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #F6F6F6;
        margin-bottom: 15px;
    }

    .main {
        width: 100%;
    }

    .main .row {
        flex-direction: column;
    }

    .index_show {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 100%;

    }

    .index_title {
        text-align: center;
        padding-top: 0;

    }

    .index_title h5 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-weight: 700;
        font-size: 24px;
    }

    .index_content {
        height: 300px;
        max-width: 100%;
        color: #676767;
        background: #F1FAFF;
        overflow: auto;
        padding: 10px;
    }


    .navbar {
        padding: 10px 10px 10px 10px;
    }

    .w {
        margin: 0 auto;
        width: 100%;
    }

    .login {
        width: 300px;
        height: 150px;
        margin: 0px 10px;
        padding: 15px 10px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
        margin: 0px auto;
    }

    .form-group {
        margin-bottom: 3px;
    }



}


/* 文章部分 */
.artile_title {
    color: #2F2F2F;
    text-align: center;
    font-weight: 600;
    font-size: 24px;
}

.article_content {
    padding: 0px 10px;
    word-wrap: break-word;
}

.read_count {
    text-align: right;
    color: #8EA7CC;
    font-size: 14px;
    padding: 0px 10px;
}

.article_menu {

    text-align: center;
}

.article_menu .dig {
    font-size: 14px;
    border-radius: 20px;
}

.article_menu .join {
    font-size: 14px;
    border-radius: 20px;
}

.article_menu .isjoin {
    font-size: 14px;
    border-radius: 20px;
}

footer {
    border-top: 1px solid #999999;
    font-size: 14px;
    line-height: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: #E2E2E2;
}

/* 文章部分 */
.artile_title {
    font-size: 20px;
}

@media (min-width: 768px) {
    .navbar {
        padding: 30px auto 10px auto;
    }

    .navbar img {
        /* 
        height: 50px;
        width: 50px;
        */
        
    }

    .navbar-brand {
        font-size: 30px;
    }

    /* 文章部分 */
    .artile_title {
        font-size: 30px;
    }

}


@media (max-width: 992px) {
    header {
        width: 100%;
    }

    .banner {
        width: 100%;
    }


    .main {
        margin: 15px auto;
    }

    /* 专题详情页 */

    .chapter_list {
        margin: 0 auto;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 专题页主margin */
    .account {
        margin-top: 0px;
    }

    .main .row {
        flex-direction: none;
    }



    .index_list {
        padding: 0;
        height: 100%;
        max-width: 100%;
        margin: 0 auto;

    }

    .index_list ul.list {
        height: 100%;
        width: 100%;

    }

    .index_list .media {
        align-items: center;
        justify-content: center;
        height: 100px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #D5D5D5;
        margin-bottom: 15px;
    }

    .index_list .media h5 {
        font-size: 18px;
    }

    /* 专题列表 */
    .cate_list {
        padding: 0;
        height: 100%;
        max-width: 100%;
        margin: 0 auto;

    }

    .cate_list .media h5 {
        font-size: 18px;
    }

    /* 推荐阅读 */
    .rec_list {
        padding: 0;
        height: 100%;
        max-width: 100%;
        margin: 0 auto;

    }

    .rec_list ul.list {
        padding: 0;
        height: 100%;
        width: 100%;

    }

    .rec_list .media {
        align-items: center;
        justify-content: center;
        height: 100px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #F6F6F6;
        margin-bottom: 15px;
    }

    .rec_list .media h5 {
        font-size: 18px;
    }





    .main {
        width: 100%;
    }



    .index_show {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 100%;

    }

    .index_title {
        text-align: center;
        padding-top: 0;

    }

    .index_title h5 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-weight: 700;
        font-size: 24px;
    }

    .index_content {
        height: 300px;
        width: 100%;
        color: #676767;
        background: #F1FAFF;
        overflow: auto;
        padding: 10px;
    }


    .navbar {
        padding: 10px 10px 10px 10px;
    }

    .w {
        margin: 0 auto;
        width: 100%;
    }

    .login {
        width: 300px;
        height: 150px;
        margin: 0px 10px;
        padding: 15px 10px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
        margin: 0px auto;
    }

    .form-group {
        margin-bottom: 3px;
    }
}


@media (max-width: 1024px) {
    header {
        width: 100%;
    }

    .banner {
        width: 100%;
    }


    .main {
        margin: 15px auto;
    }

    .index_list {
        padding: 0;
        height: 100%;
        max-width: 100%;
        margin: 0 auto;

    }

    .index_list ul.list {
        height: 100%;
        width: 100%;

    }

    .index_list .media {
        align-items: center;
        justify-content: center;
        height: 100px;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #D5D5D5;
        margin-bottom: 15px;
    }

    .main {
        width: 100%;
    }

    .main .row {
        flex-direction: none;
    }


    .index_show {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 100%;

    }

    .index_title {
        text-align: center;
        padding-top: 0;

    }

    .index_title h5 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-weight: 700;
        font-size: 24px;
    }

    .index_content {
        height: 300px;
        width: 100%;
        color: #676767;
        background: #F1FAFF;
        overflow: auto;
        padding: 10px;
    }

    .rec_list .media {

        width: 100%;
    }


    .navbar {
        padding: 10px 10px 10px 10px;
    }

    .w {
        margin: 0 auto;
        width: 100%;
    }

    .login {
        width: 300px;
        height: 150px;
        margin: 0px 10px;
        padding: 15px 10px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
        margin: 0px auto;
    }

    .form-group {
        margin-bottom: 3px;
    }

}