
a {
    color:#333;
    text-decoration:none;
}

a:hover {
    color:red;
    text-decoration: none;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

body {
    background-color: #343a40;
    font-family: "Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-weight: normal;
}
.container {
    background-color: #fff;
}

.full-ads {
    padding-top: 1rem;
}

/**所有列表页**/
.wg-list h2{
    font-size: 1.25rem;
}
/**所有详情页**/
.wg-content h1{
    font-size: 1.75rem;
}
/**
.wg-content-body h2 {
    font-size: 1.5rem;
    margin-bottom: 0.9rem;
    margin-top: 1rem;
    padding: 0.5rem 0.5rem;
    border-bottom: solid 1px #429AD9;
    border-left: solid 6px #429AD9;
    background-color: #fbfbfb;
}
*/
.wg-content-body {
    color: #363636;
}
.wg-content-body blockquote {
    border-left: 6px solid #eee;
    color: #333;
    font-size: 0.875rem;
    font-style: italic;
    margin: 10px 0 10px 2em;
    padding: 6px 12px;
    word-break: break-all;
}
.wg-content-body ul li, .wg-content-body ol li {
    line-height: 180%;
}
.wg-content-body h2 {
    background-color: #008FC6;
    border-radius: 3px;
    /*text-align: center;*/
    color: white;
    text-shadow: 1px 1px 2px #222222;
    font-size: 1.5rem; /*24px*/
    padding: 0.6rem 0.5rem;
    margin-top: 2.25rem;
}
.wg-content-body h3 {
    color: #1F2D3D;
    font-size: 1.25rem; /*20px*/
    font-weight: 500;
    /*margin-bottom: 1rem;*/
    margin-top: 1.75rem;
    padding: 0.5rem 0.5rem;
    border-left: solid 4px #429AD9;
    background-color: #fbfbfb;
}
.wg-content-body h4 {
    color: #1F2D3D;
    font-size: 1.12rem; /*18px*/
    font-weight: 500;
    /*margin-bottom: 0.8rem;*/
    margin-top: 1.25rem;
    /*text-indent: 2em;*/
}
.wg-content-body p {
    /*text-indent: 2em;*/
    line-height: 1.75rem;
    margin-top: 1.25rem;
    /*margin-bottom: 0;*/
    margin-bottom: 1.25rem;
    word-break: break-all;
    word-wrap: break-word;
    font-size: 1rem;
    text-align: justify;
    letter-spacing: -0.025rem;
    color: #47555F;
    font-weight: normal;
}
.wg-content-body p span img {
    vertical-align: top;
}
.wg-content-body blockquote {
    margin: 0.75rem auto;
    padding: 5px 15px 10px;
    border: solid 1px #d6e9c6;
    background-color: #fafcf9;
    border-left-width: 3px;
}
.wg-content-body blockquote p {
    margin: 6px 0 5px 0;
}
.wg-content-body blockquote ul {
    margin: 0;
}

.wg-content-body blockquote ul li {
    margin-bottom: 0;
    font-weight: bold;
}

.wg-content-body a {
    color:#428BCA;
}
.wg-content-body a:hover {
    color:red;
    text-decoration: none;
}
.wg-content-body ul, .wg-content-body ol {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-left: 1.625rem;
}

.wg-content-body ul li, .wg-content-body ol li {
    margin-bottom: 1.25rem;
    padding-left: 0.375rem;
}

/* 修改container的最大宽度为1280，根据设计稿来走的 */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px !important;
    }
}

/* header */
header {
    padding-left: 0!important;
}
header .wrap{
    background-color: #f6f6f6;
    top: 0;
}
.logo {
    background-color: #429ad9;
}
.logo img{
    display: block;
    /* width: 100%; */
    max-width: 100%;
    margin: 0 auto;
}

/* 1. 我们如果进入了超小屏幕下，logo里面的图片就隐藏起来 */
/* 2. 我们事先准备好一个盒子在logo里面，它只有在超小屏幕下才显示 */
.logo span {
    display: block;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.nav {
    /* background-color: #eee; */
    /* border-bottom: solid 1px #ccc; */
    border-bottom: 1px solid #eee;
}

.nav>ul {
    width: 100%;
}

/* 当我们进入小屏幕还有超小屏幕的时候，我们nav里面的li浮动起来，并且宽度为20% */
@media (max-width: 767px) {
    header {
        padding-right: 0px!important;
    }
    /* .nav li {
        float: left;
        width: 20%;
    } */

    article {
        margin-top: 10px;
    }

    .news li {
        width: 50%!important;
        padding: 0 5px !important;
    }
    .news li:nth-child(1) {
        width: 100%!important;
    }
}
/* 当我们进入超小屏幕的时候，我们nav的文字会变成14px */
@media (max-width: 575px) {
    .nav li a {
        /*font-size: 14px;*/
    }
}

.nav a {
    color:#666;
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 30px;
    font-size: 16px;
}
.nav a:hover {
    background-color: #fff;
    color: #333;
    text-decoration: underline;
}
.nav a::before {
    vertical-align: middle;
    padding-right: 5px;
}

.nav-link {
    padding:0;
}

.news ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.news li {
    float: left;
    width: 25%;
    height: 128px;
    padding-left: 10px;
    margin-bottom: 10px;
}

.news li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    /* background-color: purple; */
}
.news li:nth-child(1) {
    width: 50%;
    height: 266px;
    padding-left: 0;
    /* background-color: pink; */
}

.news li a img {
    width: 100%;
    height: 100%;
}
.news li a p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 41px;
    padding: 5px 10px;
    margin-bottom: 0;
    background: rgba(0, 0, 0, .5);
    font-size: 12px;
    color: #fff;
}

.news li:nth-child(1) p {
    padding: 0 10px;
    font-size: 20px;
    line-height: 41px;
}

ul.catalog{
    background-color: #fff !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
}
ul.catalog > li {
    padding-bottom: 1rem;
}
ul.catalog h5{
    color:#007bff;
}

/*********热推*********/
.hotRecommend {

}
.hotRecommend h2 {
    font-size: 120%;
    border-bottom: 2px solid #08d;
    padding-bottom: 0.5rem;
}
.hotRecommend ul li {
    position: relative;
    padding-left: 30px;
    height: 36px;
    line-height: 36px;
}

.hotRecommend ul li:after{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #FFF;
    background: #999999;
    position: absolute;
    left: 0;
    top: 8px;
}
.hotRecommend ul li:first-child:after {content: "1";background: red;}
.hotRecommend ul li:nth-child(2):after {content: "2";background: green;}
.hotRecommend ul li:nth-child(3):after {content: "3";background: skyblue;}
.hotRecommend ul li:nth-child(4):after {content: "4";/*background: #CCCCFF;*/}
.hotRecommend ul li:nth-child(5):after {content: "5";/*background: #60C4FD;*/}
.hotRecommend ul li:nth-child(6):after {content: "6";}
.hotRecommend ul li:nth-child(7):after {content: "7";}
.hotRecommend ul li:nth-child(8):after {content: "8";}
.hotRecommend ul li a{
    display: block;
}
.hotRecommend ul li:hover {
    background-color: #f6f6f6;
}

ul.newLife {

}
ul.newLife li {
    position: relative;
    padding-left: 30px;
    /*height: 36px;*/
    line-height: 24px;
    padding-bottom: 10px;
    padding-top: 8px;
    color: #666666;
    font-weight: normal;
    letter-spacing: -0.025rem;
}
ul.newLife li:after{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #FFF;
    background: #999999;
    position: absolute;
    left: 0;
    top: 8px;
}
ul.newLife li:first-child:after {content: "1";background: red;}
ul.newLife li:nth-child(2):after {content: "2";background: green;}
ul.newLife li:nth-child(3):after {content: "3";background: skyblue;}
ul.newLife li:nth-child(4):after {content: "4";/*background: #CCCCFF;*/}
ul.newLife li:nth-child(5):after {content: "5";/*background: #60C4FD;*/}
ul.newLife li:nth-child(6):after {content: "6";}
ul.newLife li:nth-child(7):after {content: "7";}
ul.newLife li:nth-child(8):after {content: "8";}
ul.newLife li a{
    display: block;
}
ul.newLife li:hover {
    background-color: #f6f6f6;
}

.publish {
    border-top: solid 1px #eaeaea;
}
.publish .row {
    border-bottom: solid 1px #eaeaea;
    padding: 10px 0;
}
.publish .row:hover {
    background-color: #f6f6f6;
}
.pic {
    margin-top: 10px;
}
.pic img{
    width: 100%;
}

.summary {
    margin-bottom: 0.5rem;
}
.summary p{
    margin-bottom: 0;
    line-height: 1.5rem;
    color: #666;
}

.publish .meta {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.banner img {
    width: 100%;
}
.hot {
    display: block;
    margin-top: 20px;
    padding: 0 20px 20px;
    border: solid 1px #ccc;
}
.hot span {
    border-radius: 0;
    margin-bottom: 20px;
}

footer {
    border-top: solid 1px #ccc;
    margin-top: 20px;
    padding-top: 15px;
}

.content-detail{
    padding: 25px 10px 15px 0;
}
.content-detail-header {
    border-bottom: solid 1px #ccc;
    padding-bottom: 10px;
}
.content-detail-body {
    padding-top:20px;
}
.content-detail-body img {
    max-width: 90%;
    height:auto;
    /*max-height: 220px;*/
}

.content-detail-footer .content-copyright {
    border-left: solid 3px #ff2a2a;
    padding: 1rem 1rem 0.1rem 1rem;
    margin-top: 2rem;
    background-color: #F5F5F5;
}
.content-detail-footer .content-copyright p{
    margin-bottom: 1rem;
    line-height: 160%;
    font-size: 0.875rem;
    word-break: break-all;
    word-wrap: break-word;
}

.twitter-wrap .card {
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 2%);
    border-radius: 0.3rem;
    background: #ffffff;
    border: solid 1px #f5f5f5;
    transition: box-shadow 0.4s;
}

.twitter-wrap .card-footer {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #ffffff;
}

/*友情链接列表*/
.friend-links .card-header {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background-color: #fcfcfc;
}

.friend-links .card-body {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.friend-links .card-body .link-item {
    padding: 0.3rem;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 56px;
    }
    header {
        padding-right: 0 !important;
        background-color:  #f2f2f2!important;
    }
    article {
        margin-top: 10px;
    }
    header .wrap {
        height: auto !important;
        position: relative;
    }
    .offcanvas-collapse {
        position: fixed;
        top: 56px; /* Height of navbar */
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #343a40;
        transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    }
    .offcanvas-collapse.open {
        visibility: visible;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    color: rgba(255, 255, 255, .75);
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
    /*padding-top: .75rem;*/
    /*padding-bottom: .75rem;*/
    font-size: .875rem;
    color: #6c757d;
}

.nav-underline .nav-link:hover {
    color: #007bff;
}

.nav-underline .active {
    font-weight: 500;
    color: #343a40;
}

.bg-purple { background-color: #6f42c1; }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }



.toggler {
    position: fixed;
    top: 100px;
    left: 50%;
    z-index: 9999;

    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    width: 18px;
    height: 48px;
    cursor: pointer;
    background-color: #429AD9;

    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: 1px solid #429AD9;
    -webkit-box-shadow: 1px 0 8px rgba(0, 0, 0, .175);
    box-shadow: 1px 0 8px rgba(0, 0, 0, .175);
}
.toggler > span {
    /*width: 20px;*/
    /*height: 48px;*/
    display: block;
    padding-top: 10px;
    vertical-align: middle;
    color: white;
}