* {
    padding: 0;
    margin: 0;
}

html,
body {
    background: #242424;
    color: #ccc;
    font-size: 14px;
    box-sizing: border-box;
}
ul,
li {
    list-style: none;
}
a {
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
}
a:hover {
    opacity: 1;
}

.page-top {
    height: 66px;
    background: #1a1a1a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.page-top .page-top-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.page-top .page-top-inner img {
    width: 120px;
    margin-top: 8px;
}

.page-top .nav ul li {
    display: inline-block;
    line-height: 66px;
    padding: 0 20px;
    font-size: 16px;
}
.page-top .nav ul li:hover {
    background: #d22222;
    transition: all 0.3s;
}
.page-nav {
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 20px;
    text-align: center;
}
.page-nav p {
    padding: 10px 0;
    text-align: left;
}
.page-nav a {
    display: inline-block;
    font-size: 16px;
    padding: 0 20px 0 20px;
    position: relative;
    margin-left: 0;
}
.page-nav a::after {
    content: "";
    height: 16px;
    width: 2px;
    background: #ddd;
    position: absolute;
    right: 0;
    top: 4px;
}
.page-nav a:first-child::before {
    content: "";
    height: 16px;
    width: 2px;
    background: #ddd;
    position: absolute;
    left: 0;
    top: 4px;
}

.page-main {
    margin: 20px auto 40px;
    display: flex;
    justify-content: space-between;
}
.page-main .main-cont {
    margin-right: 30px;
    flex: 1;
}
.page-main .main-side {
    width: 300px;
}

.page-link {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}
.page-link a {
    margin: 0 10px;
}
.page-bottom {
    text-align: center;
    margin: 0 auto;
}
.page-bottom .page-link {
    background: #1a1a1a;
    padding: 10px 0;
}
.page-bottom .page-copyright {
    padding: 20px 0;
    line-height: 24px;
}

.side-box {
    background: #303030;
    border-radius: 2px;
}

.cp-title {
    border-bottom: 1px solid #d9dde0;
}
.cp-title h2 {
    padding: 0 0 10px;
    border-bottom: 3px solid #d22222;
    margin-bottom: -2px;
    display: inline-block;
}

.cp-list .cp-item {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}
.cp-list .cp-item .cpi-img {
    width: 160px;
}
.cp-list .cp-item .cpi-img .empty {
    width: 160px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #888;
    background: #1a1a1a;
}
.cp-list .cp-item .cpi-cnt {
    padding-left: 20px;
    flex: 1;
}
.cp-list .cp-item .cpi-img img {
    width: 160px;
    height: 120px;
    border-radius: 3px;
    vertical-align: top;
}

.cp-page {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid #d9dde0;
    padding-top: 20px;
    font-size: 16px;
}

.cpi-cnt .cpic-ttl {
    font-size: 16px;
    height: 30px;
}
.cpi-cnt .cpic-cnt {
    flex: 1;
    height: 60px;
    font-size: 12px;
    color: #888;
}
.cpi-cnt .cpic-extra {
    height: 30px;
    display: flex;
    justify-content: space-between;
}
.cpi-cnt .cpic-extra span {
    color: #d22222;
}

@media screen and (max-width: 1320px) {
    .page-top .page-top-inner,
    .page-nav,
    .page-main {
        width: 1000px;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-bottom {
        min-width: 1000px;
    }
}

@media screen and (min-width: 1520px) {
    .page-top .page-top-inner,
    .page-nav,
    .page-main,
    .page-main {
        width: 1000px;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-bottom {
        min-width: 1000px;
    }
}

.side-box {
    padding: 15px 15px 20px;
    margin-bottom: 20px;
}
.side-box .sb-hd {
    border-bottom: 1px solid #555;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.n-list {
}
.n-list li {
    margin-top: 16px;
    line-height: 16px;
    height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.n-list li i {
    font-style: normal;
    vertical-align: top;
    display: inline-block;
    width: 18px;
    height: 16px;
    font-size: 12px;
    text-align: center;
    background: #999;
    margin-right: 5px;
    line-height: 16px;
    border-radius: 2px;
}
.n-list li.t i {
    background: #d22222;
}

.cp-detail img {
    max-width: 100%;
    max-height: 400px;
    border: 1px solid #d9dde0;
    padding: 5px;
    margin: 5px auto;
    border-radius: 3px;
    background: #1a1a1a;
    display: block;
}

.cp-detail {
    font-size: 16px;
    padding: 20px 0;
}
.cp-detail h1,
.cp-detail h2,
.cp-detail h3,
.cp-detail h4,
.cp-detail h5,
.cp-detail h6 {
    position: relative;
    padding-left: 20px;
    margin: 15px 0;
    line-height: 24px;
}
.cp-detail h1::before,
.cp-detail h2::before,
.cp-detail h3::before,
.cp-detail h4::before,
.cp-detail h5::before,
.cp-detail h6::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 3px;
    height: 100%;
    font-size: 14px;
    font-weight: normal;
    background: #d22222;
}

.cp-detail h1 {
    font-size: 24px;
}
.cp-detail h2 {
    font-size: 20px;
}
.cp-detail h3 {
    font-size: 16px;
}
.cp-detail ol,
.cp-detail ul {
    line-height: 26px;
}
.cp-detail ol li,
.cp-detail ul li {
    padding: 5px 0 5px 20px;
    position: relative;
}
.cp-detail ul li::before {
    content: "-";
    padding-right: 5px;
    position: absolute;
    left: 0;
    top: 5px;
}
.cp-detail ol li::before {
    content: "·";
    padding-right: 5px;
    position: absolute;
    left: 0;
    top: 5px;
}
.cp-detail p {
    padding: 15px 0;
    line-height: 30px;
}
.cp-detail p + p {
    padding-top: 0;
}
.cp-detail h1 + p,
.cp-detail h2 + p,
.cp-detail h3 + p,
.cp-detail h4 + p,
.cp-detail h5 + p,
.cp-detail h6 + p {
    padding-top: 0;
}

.cp-detail ul ul,
.cp-detail ol ul,
.cp-detail ul ol,
.cp-detail ol ol {
    padding-left: 20px;
}

.cp-detail ul li p,
.cp-detail ol li p {
    display: inline-block;
    padding-top: 0;
    width: 100%;
}

.cp-detail h1::before {
    width: 3px;
}
.cp-detail h2::before {
    width: 6px;
}
.cp-detail h3::before {
    width: 9px;
}
.cp-detail h4::before {
    width: 12px;
}
.cp-detail h5::before {
    width: 15px;
}
.cp-detail h6::before {
    width: 18px;
}
.cp-detail pre {
    background: #1a1a1a;
    padding: 15px;
    font-size: 12px;
    line-height: 24px;
    border-radius: 3px;
    white-space: wrap;
}
.cp-detail em,
.cp-detail strong {
    margin: 0 10px;
}
.cp-detail table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
.cp-detail table tr {
    line-height: 30px;
    border-bottom: 1px solid #ccc;
}
.cp-detail table th {
    background: #1a1a1a;
}

.cate-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
}
.cate-list a {
    width: 22%;
    display: inline-block;
    border: 1px solid #1a1a1a;
    background: #1a1a1a;
    text-align: center;
    font-size: 16px;
    padding: 15px 0;
    margin: 15px 0 0;
}
