@charset "UTF-8";
* { margin: 0; padding: 0 }
body { font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif; color: #000; background: #f1f1f1; font-size: 15px; }
img { border: 0; display: block }
ul, li { list-style: none; }
a { text-decoration: none; color: #000; }
a:hover { color: #218af1; text-decoration: none; }
h1 { font-size: 28px }
h2 { font-size: 18px }
h3 { font-size: 16px }
i { font-style: normal; display: block }
span { display: block }
.clr, .spacer { clear: both; width: 100%; overflow: hidden; }
.spacer { height: 20px }
.fl { float: left }
.fr { float: right }
.container, .page-main { width: 1170px; margin: auto; overflow: hidden; }
.page-main { margin-top: 70px; }
.card { background: #fff; border: 1px solid #eee; }
.plr20 { padding: 0 20px; }

/* header */
.site-header { margin: 0; width: 100%; z-index: 9; position: fixed; top: 0; transition: all 0.4s; background: #fff }
.logo-area { padding: 10px 0; display: flex; }
.logo { overflow: hidden }
.logo img { width: 175px; max-height: 70px; }
.search-area { padding-left: 20px; flex: 1 }
.search-area a { display: block; padding: 0 10px; line-height: 45px; }
.hotline { font-size: 18px; line-height: 45px; color: #f4543c; }
.navbar { width: 100%; background: #1487f4; overflow: hidden; height: 1px; }
.navbar:before { display: table; content: " "; }
.navbar:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

/* footer */
.site-footer { background: #333; width: 100%; padding: 30px 0; color: #777; font-size: 14px; position: relative; overflow: hidden }
.site-footer:before { content: ""; background: #34aadc linear-gradient(to left, #1487f4, #5ac8fa, #007aff, #5ac8fa); height: 10px; width: 100%; position: absolute; top: 0; left: 0; }
.wechat-box { overflow: hidden; float: left; margin-right: 20px }
.wechat-box li { float: left; margin: 0 10px; text-align: center }
.wechat-box img { height: 100px }
.copyright b { font-size: 16px; color: #34aadc; margin-bottom: 15px; display: block; }
.copyright p { margin-bottom: 5px }
.copyright a { color: #777 }
.copyright a:hover { text-decoration: underline }

/* main layout */
.primary-column { width: 830px; float: left }
.secondary-column { width: 320px; float: right }
.space-list ul { padding: 0 20px 20px; }
.space-list ul li { overflow: hidden; border-bottom: 1px dashed #d3d3d3; padding: 20px 0; }
.space-list ul li:first-child { padding-top: 0 }
.space-list li h2 { font-size: 18px; margin-top: 5px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; margin-bottom: 10px; }
.space-list li h2 a { color: #1487f4; }
.space-list li i { width: 200px; height: 120px; line-height: 100%; overflow: hidden; float: left; margin-right: 15px; }
.space-list li i img { width: 100%; min-height: 120px; display: inline-block; transition: .5s; }
.space-list li i:hover img { transform: scale(1.2); }
.space-list li p { color: #888; line-height: 22px; height: 43px; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2; font-size: 14px; margin-top: 10px; }
.space-list li span { font-size: 14px; color: #666; display: inline-block; border: 1px solid #C0C0C0; padding: 3px; margin: 0px 3px; }
.space-list ul li h2:hover a { color: #000 }

/* widget title */
.widget-title { font-size: 16px; border-bottom: 1px solid #eee; color: #484848; font-weight: normal; position: relative; margin-bottom: 10px; padding-bottom: 10px }
.widget-title:after { content: ""; position: absolute; width: 64px; height: 2px; content: ""; background: #000; left: 0; bottom: -1px; -moz-transition: all .5s ease; -webkit-transition: all .5s ease; transition: all .5s ease; }
.widget-title:hover:after { width: 100%; }

/* recommend widget */
.recommend { padding: 20px; }
.recommend ul { overflow: hidden; padding-top: 10px }
.recommend li { overflow: hidden; margin-bottom: 10px; height: 60px; }
.recommend li i { width: 70px; height: 70px; margin-right: 10px; overflow: hidden; display: block; float: left; }
.recommend li i img { height: 100%; max-width: 100%; min-width: 100%; -moz-transition: all .5s ease; -webkit-transition: all .5s ease; -ms-transition: all .5s ease; -o-transition: all .5s ease; transition: all .5s ease; }
.recommend li p { margin-top: 10px; line-height: 20px; max-height: 40px; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2; font-size: 14px; }
.recommend li:hover { background: #f6f6f6; }
.recommend li:hover img { transform: scale(1.1); }

/* ranking widget */
.ranking { padding: 20px }
.ranking ul { overflow: hidden; }
.ranking ul li { height: 30px; line-height: 30px; margin-bottom: 10px; padding-left: 5px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.ranking ul li i { display: block; width: 16px; height: 16px; background: #B1B1B1; float: left; margin-top: 8px; margin-right: 10px; position: relative; font-style: normal }
.ranking ul li i::before { position: absolute; left: 0; top: 0; font-size: 9px; color: #fff; line-height: 16px; width: 16px; text-align: center }
.ranking ul li:first-child i, .ranking ul li:nth-child(2) i, .ranking ul li:nth-child(3) i { background: #FF6600; }
.ranking ul li:first-child i::before { content: "1"; }
.ranking ul li:nth-child(2) i::before { content: "2"; }
.ranking ul li:nth-child(3) i::before { content: "3"; }
.ranking ul li:nth-child(4) i::before { content: "4"; }
.ranking ul li:nth-child(5) i::before { content: "5"; }
.ranking ul li:nth-child(6) i::before { content: "6"; }
.ranking ul li:nth-child(7) i::before { content: "7"; }
.ranking ul li:nth-child(8) i::before { content: "8"; }
.ranking ul li:nth-child(9) i::before { content: "9"; }
.ranking ul li:nth-child(10) i::before { content: "10"; }
.ranking ul li:nth-child(11) i::before { content: "11"; }
.ranking ul li:nth-child(12) i::before { content: "12"; }
.ranking ul li:nth-child(13) i::before { content: "13"; }
.ranking ul li:nth-child(14) i::before { content: "14"; }
.ranking ul li:nth-child(15) i::before { content: "15"; }

/* friend links */
.friend-links { padding: 20px; overflow: hidden }
.friend-links ul { overflow: hidden; padding-top: 10px }
.friend-links ul li a { float: left; line-height: 22px; padding: 0 10px 0 0; position: relative; display: block; }
.friend-links ul li a:after { content: ""; background: #1487f4; background: linear-gradient(to right, #0062ff 0%, #00a0ec 100%); width: 20%; height: 2px; position: absolute; bottom: 0; left: 40%; opacity: 0; -moz-transition: all .5s ease; -webkit-transition: all .5s ease; transition: all .5s ease; }
.friend-links ul li a:hover:after { opacity: 1; width: 100%; margin: auto; display: block; left: 0; }

/* page header */
.page-header { border-bottom: #e4e3e3 1px solid; margin: 20px; padding-bottom: 10px; overflow: hidden; }
.article-box { padding: 0 20px 20px; }
.article-title { font-size: 22px; margin-bottom: 20px; }
.meta-info { overflow: hidden; color: #888; margin-bottom: 15px; }
.meta-info span { display: inline-block; margin-right: 15px; padding-left: 20px; }
span.date-icon { background: url(date.png) no-repeat center left; background-size: 16px; }
.entry-content { line-height: 24px; margin-bottom: 20px; overflow: hidden; }
.entry-content p { margin-bottom: 20px; font: 300 1em/1.8 PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif; }
.entry-content span { display: inline }
.entry-content img { max-width: 100% !important; height: auto !important; margin: 10px auto; }
.entry-content table { margin: auto !important }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { font-size: 16px; margin: 20px 0; position: relative; padding-left: 10px; }
.entry-content h2:before, .entry-content h3:before, .entry-content h4:before, .entry-content h5:before, .entry-content h6:before { position: absolute; content: ""; background: #1487f4; width: 3px; height: 100%; left: 0; bottom: 0; }

/* tag page specific */
.tag-container { width: 960px; margin: 0 auto; }
.tag-left { width: 66%; float: left; }
.tag-right { width: 33%; float: right; }
.tag-right-header { height: 45px; line-height: 45px; background-color: #F0F0F0; text-align: center; border: 1px solid #F0F0F0; border-bottom-style: none; }
.tag-right-body { border: 1px solid #F0F0F0; padding: 5px; border-top-style: none; }
.tag-item-img { float: left; }
.tag-item-img img { width: 267px; height: 200px; }
.tag-item { margin-top: 10px; height: 210px; border-bottom: 1px solid #F0F0F0; }
.tag-item-info { margin-left: 275px; }
.tag-rooms span { border: 1px solid #C0C0C0; padding: 2px; margin-left: 2px; font-size: 14px; }

/* responsive */
@media screen and (min-width: 1024px) and (max-width: 1170px) {
    body { overflow-x: hidden }
    .container, .page-main { width: 100%; }
    .primary-column { width: 68%; }
    .secondary-column { width: 31% }
}
@media screen and (min-width: 960px) and (max-width: 1023px) {
    body { overflow-x: hidden }
    .container, .page-main { width: 960px; }
    .primary-column { width: 68%; }
    .secondary-column { width: 31% }
}
@media screen and (min-width: 840px) and (max-width: 959px) {
    body { overflow-x: hidden }
    .container, .page-main { width: 100%; }
    .primary-column { width: 68%; }
    .secondary-column { width: 31% }
}
@media screen and (max-width: 839px) {
    body { overflow-x: hidden }
    .container, .page-main { width: 100%; }
    .logo-area {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 10;
        padding: 8px 12px;
        align-items: center;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .navbar { display: none !important; }
    .page-main { margin-top: 70px !important; }
    .logo { width: auto; flex-shrink: 0; margin-right: 10px; }
    .logo img { width: 120px; height: auto; }
    .search-area { flex: 1; overflow-x: auto; white-space: nowrap; padding-left: 0; }
    .search-area div { display: flex; flex-wrap: nowrap; }
    .search-area a { display: inline-block; padding: 0 8px; line-height: 34px; font-size: 14px; white-space: nowrap; }
    .hotline { font-size: 14px; white-space: nowrap; margin-left: 8px; flex-shrink: 0; }
    .hotline b { font-size: 14px; }
    .primary-column { width: 100%; }
    .secondary-column { display: none; }
}
@media screen and (max-width: 768px) {
    .primary-column { width: 100% }
    .secondary-column { width: 0 !important; height: 0 !important; display: none; }
    .list-container { overflow: hidden; }
    .tag-container { width: 98%; }
    .tag-left, .tag-right { width: 100%; }
    .tag-item { height: auto; }
    .tag-item-img { clear: both; width: 100%; }
    .tag-item-img img { width: 90%; height: auto; }
    .tag-item-info { margin-left: 5px; }
}
@media screen and (max-width: 480px) {
    .card { border: none; overflow: hidden; }
    .page-header { margin: 10px 0 }
    .primary-column { width: 100%; }
    .secondary-column { display: none; }
    .spacer { height: 10px; }
    .wechat-box { width: 100%; text-align: center; margin-bottom: 20px }
    .wechat-box li { float: none; display: inline-block }
    .copyright { text-align: center; padding: 0 20px; clear: both; }
    .copyright p { margin-bottom: 20px }
    .space-list ul li { border-bottom: #eee 1px solid; padding: 10px 0; }
    .space-list li i { width: 60px; height: 60px; float: right; margin-right: 0; margin-left: 10px; }
    .space-list li i img { width: auto; }
    .space-list li p { display: none }
    .site-footer { padding: 30px 0 70px }
    .article-title { font-size: 18px; margin-top: 20px; }
    .article-box { padding: 0 20px 0; }
}