/* global */

body ::-moz-selection {
    background-color: #ccc;
}

body ::selection {
    background-color: #ccc;
}

.container {
    width: 978px !important;
}

.search-form {
    margin-top: 5px;
}

.google-cse {
    background: #FFFFFF url("https://www.google.com/coop/intl/zh-TW/images/google_custom_search_watermark.gif") 10px no-repeat;
}

.background-white {
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: bold;
}

h2 {
    line-height: 1.6;
}

h3 a {
    color: #444444;
}

.glyphicon {
    top: 2px;
}

p {
    line-height: 1.8;
    padding-left: 1%;
    padding-right: 1%;
    word-wrap: break-word;
    font-size: 18px;
    font-family: "Xin Gothic", "Droid Sans Fallback", "Microsoft YaHei", sans-serif;
}

/* menu */

.container.container-nav {
    height: 46px;
}

#navbar {
    font-size: 15px;
    margin-bottom: 0;
    min-height: 20px;
    border-radius: 4px 4px 0 0;
}

#navbar.menu-fixed {
    position: fixed;
    top: 0;
    z-index: 150;
    width: 968px;
    border-radius: 0;
    opacity: 0.9;
}

#navbar .nav>li>a {
    padding: 10px 8px;
    border-left: 1px solid #444444;
}

#navbar .nav>li:first-child>a {
    border-left: none;
}

.navbar-inverse .navbar-nav>li>a {
    color: #cccccc;
}

.navbar-right {
    margin-right: 0;
}

/*
.navbar-right li:last-of-type {
    margin-right: -5px;
}
*/

/* slide */

.slider {
    width: 968px;
    height: 438px;
    position: relative;
    overflow: hidden;
}

.carousel-inner .item {
    width: 968px;
    height: 438px;
    overflow: hidden;
}

.carousel-indicators {
    bottom: 1px;
    left: 0;
    right: 0;
    margin-bottom: 0;
    line-height: 15px;
    width: 100%;
    margin-left: 0;
    text-align: right;
    padding-right: 10px;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    margin: 0;
    border-radius: 7px;
}

.carousel-indicators .active {
    width: 15px;
    height: 15px;
}

.carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333333;
    opacity: 0.8;
    color: #ffffff;
    padding-top: 0;
    padding-bottom: 0;
}

.carousel-caption h3 {
    font-size: 20px;
    margin: 15px 0;
}

.carousel-control {
    opacity: 0.8;
}

/* hot news */

.hot .panel {
    border-radius: 0;
    margin-bottom: 0;
}

.hot .panel-heading {
    padding: 10px 12px;
}

.hot .panel-body {
    padding: 10px;
}

ul.hot-news {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.hot-news li {
    display: inline-block;
    margin-left: 9px;
    width: 150px;
    border: 1px solid #e5e5e5;
    background-color: #f3f3f3;
    padding: 5px 0;
    text-align: center;
}

ul.hot-news li:first-child,
ul.hot-news li.no-left-margin {
    margin-left: 0;
}

ul.hot-news li img {
    width: 90%;
    border-radius: 15px;
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.2);
}

ul.hot-news li h3 {
    width: 100%;
    height: 36px;
    line-height: 18px;
    font-size: 14px;
    /*text-overflow:ellipsis;*/
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 3px;
    font-weight: normal;
    text-align: center;
}

ul.hot-news li p {
    width: 100%;
    height: 36px;
    line-height: 18px;
    font-size: 14px;
    /*text-overflow:ellipsis;*/
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 3px;
    font-weight: normal;
    text-align: center;
}

/* news list */

.news-list-header {
    background-color: #f5f5f5;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e5e5;
    border-bottom: 1px solid transparent;
    padding: 10px 15px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    margin: 0;
    font-size: 19px;
    color: #333;
    font-weight: normal;
}

.in-list .breadcrumb-container {
    background-color: #fff;
    padding: 5px 0;
}

.in-list .breadcrumb-container .breadcrumb {
    margin-bottom: 0;
    line-height: 1.0;
    background-color: #fff;
}

.in-list .hot-bc {
    border-bottom: 1px solid #ddd;
    background-color: #f5f5f5;
}

.in-list .hot-bc .breadcrumb {
    background-color: #f5f5f5;
}

.border-1 {
    border: 1px solid #eee;
}

.media.news-big-icon {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 5px 15px 15px;
    margin-top: 0;
}

.no-margin-row {
    margin: 0;
    padding-top: 10px;
    padding-left: 5px;
}

.no-margin-row2 {
    margin: 0;
    padding: 10px;
}

.sub-categories {
    display: inline;
    margin-right: 5px;
}

.sub-cat {
    /* border: 1px #333 solid; */
}

.sub-categories .sub-cat {
    font-size: 15px;
    line-height: 1.3;
    vertical-align: middle;
    min-width: 36px;
    text-align: center;
    padding: 2px 2px;
    display: table-cell;
}

h3.news-list-title {
    font-size: 18px;
    display: inline;
}

h2.news-list-title {
    font-size: 18px;
    display: inline;
}

p.news-list-title {
    font-size: 18px;
    display: inline;
}

.news-list-info {
    font-size: 13px;
    font-weight: normal;
    color: #999;
    text-align: right;
}

.news-list-info em {
    font-style: normal;
    margin-right: 7px;
}

.news-list-info .items {
    margin-right: 10px;
}

.news-list-intro {
    height: 86px;
    overflow: hidden;
    line-height: 1.5;
    margin: 5px 0;
    font-size: 14px;
}

.list-more {
    padding: 10px 0 20px;
    text-align: center;
}

.media-left img {
    border-radius: 10px;
    box-shadow: 0 4px 3px -2px rgba(0, 0, 0, 0.8);
}

/* side */

.panel-title {
    font-size: 19px;
    color: #555;
    font-weight: normal;
}

.side {
    padding-left: 11px;
}

.side .well {
    border-radius: 0;
    padding: 0;
    margin-bottom: 10px;
    width: 300px;
    box-shadow: none;
}

.side .panel {
    margin-bottom: 10px;
    width: 300px;
}

.side .panel-body.no-padding {
    padding: 0;
}

.panel-body .news-small-icon {
    border-bottom: 1px solid #eee;
    line-height: 1.2;
    margin: 0;
    padding: 5px;
}

.news-small-icon img {
    width: 76px;
    height: 76px;
}

.news-small-icon .media-body {
    vertical-align: middle;
}

.news-small-icon h3.news-list-title {
    font-size: 14px;
    font-weight: normal;
}

.news-small-icon h2.news-list-title {
    font-size: 14px;
    font-weight: normal;
}

.news-small-icon p.news-list-title {
    font-size: 14px;
    font-weight: normal;
}

.multi-ads {
    margin-bottom: 1px;
}

/* footer */

.site-info {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding: 50px;
    text-align: center;
}

#go-top {
    /*border: 1px solid #ccc;
    bottom: 40px;
    left: 50%;
    margin-left: 489px;
    position: fixed;
    cursor: pointer;
    background-color: #f3f3f3;
    height: 35px;
    line-height: 30px;
    text-align: center;
    width: 70px;
    z-index: 10;*/
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0.2s, opacity 0.2s linear;
    -moz-transition: visibility 0.2s, opacity 0.2s linear;
    transition: visibility 0.2s, opacity 0.2s linear;
}

#go-top.display {
    visibility: visible;
    opacity: 1;
}

/* news content */

.in-content .breadcrumb-container {
    background-color: #f5f5f5;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.in-content .breadcrumb-container .breadcrumb {
    margin-bottom: 0;
    line-height: 1.0;
}

.news-title {
    margin: 0 0 8px 0;
}

.news-title h1 {
    display: inline;
    font-size: 23px;
    line-height: 1.4;
    margin: 0;
}

.news-detail .news-info {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 7px;
    margin-left: 0;
    margin-bottom: 2px;
}

.news-detail .news-intro {
    border-bottom: 1px solid #dddddd;
    margin-bottom: 10px;
    padding: 7px 10px;
    background-color: #f3f3f3;
    margin-top: 0;
}

.news-intro .media-body {
    line-height: 1.3;
    vertical-align: middle;
    font-size: 18px;
}

.news-intro .media-left {
    padding-top: 2px;
}

.news-info {
    font-size: 13px;
    font-weight: normal;
    color: #777777;
    margin-bottom: 7px;
    margin-left: 7px;
}

.news-info em {
    font-style: normal;
    margin-right: 12px;
}

.news-info .items {
    display: inline-block;
    height: 28px;
    margin-right: 10px;
}

strong span.glyphicon {
    margin: 0 5px 0 10px;
    color: #aaa;
}

strong em {
    color: #777;
    font-weight: normal;
}

/* google+ v-align */

#___plusone_0 {
    vertical-align: bottom !important;
}

.news-content {
    /*margin-bottom: 20px;*/
}

.news-content a {
    color: #558dd4;
    text-decoration: none !important;
    border-bottom: 1px dashed #639dd4;
}

.news-content a>span {
    text-decoration: none !important;
    color: inherit !important;
}

.news-content img,
.news-images img {
    display: block;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.19);
    max-width: 97%;
    height: auto;
    margin: 3px auto;
}

.news-content iframe {
    width: 100%;
}

.news-content table {
    margin-bottom: 10px;
    border-collapse: collapse;
    display: table;
}

.news-content td,
.news-content th {
    padding: 5px 10px;
    border: 1px solid #DDD;
}

.share-buttons {
    margin: 20px auto;
    /*width: 280px;*/
    text-align: center;
    line-height: 40px;
}

.share-buttons>a {
    margin-right: 10px;
}

.share-buttons .line-it-button {
    position: relative !important;
    top: 16px !important;
}

.fb-like-site {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 20px;
    font-weight: bold;
}

.fb-like-site .fb-home-link {
    font-size: 15px;
    font-weight: normal;
    color: #2c71bf;
}

.content-bottom-ad,
.content-bottom-2nd {
    margin-bottom: 10px;
    text-align: center;
}

.content-bottom-ad-title {
    color: #cccccc;
    text-align: left;
}

.content-bottom-ad img {
    width: 100%;
    height: auto;
}

.related-title,
.comments .comments-title {
    border-left: 3px solid #ff7800;
    height: 35px;
    font-size: 18px;
    font-weight: bold;
    line-height: 35px;
    color: #333;
    background-color: #eee;
    text-indent: 20px;
    margin: 15px 0;
}

.comments {}

.comments .comments-title {
    border-left: 3px solid #00a2d4;
}

.star_bg {
    background: url(../images/rate.png) no-repeat;
    vertical-align: text-bottom;
    display: inline-block;
}

.star_m_1 {
    height: 19px;
    width: 110px;
    background-position: -90px -26px;
}

.star_m_3 {
    width: 110px;
    height: 19px;
    background-position: -68px -26px;
}

.star_m_5 {
    width: 110px;
    height: 19px;
    background-position: -46px -26px;
}

.star_m_7 {
    width: 110px;
    height: 19px;
    background-position: -24px -26px;
}

.star_m_9 {
    width: 110px;
    height: 19px;
    background-position: -2px -26px;
}

.star_m_0 {
    height: 19px;
    width: 110px;
    background-position: -112px -4px;
}

.star_m_2 {
    height: 19px;
    width: 110px;
    background-position: -90px -4px;
}

.star_m_4 {
    width: 110px;
    height: 19px;
    background-position: -68px -4px;
}

.star_m_6 {
    width: 110px;
    height: 19px;
    background-position: -46px -4px;
}

.star_m_8 {
    width: 110px;
    height: 19px;
    background-position: -24px -4px;
}

.star_m_10 {
    width: 110px;
    height: 19px;
    background-position: -2px -4px;
}

.star_s_0 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -77px -52px;
}

.star_s_2 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -64px -52px;
}

.star_s_4 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -49px -52px;
}

.star_s_6 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -34px -52px;
}

.star_s_8 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -19px -52px;
}

.star_s_10 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -4px -52px;
}

.star_s_1 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -64px -70px;
}

.star_s_3 {
    width: 75px;
    height: 13px;
    background-position: -49px -70px;
}

.star_s_5 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -34px -70px;
}

.star_s_7 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -19px -70px;
}

.star_s_9 {
    width: 75px;
    height: 13px;
    overflow: hidden;
    background-position: -4px -70px;
}

/** rank **/

.rank-no {
    font-size: 18px;
    font-weight: bolder;
    float: left;
    color: #666;
    line-height: 1;
}

.rank-up,
.rank-down,
.rank-same {
    font-size: 12px;
    float: right;
}

.rank-up {
    color: #ff0000;
}

.rank-down {
    color: #349f34;
}

.rank-same {
    color: #ccc;
}

.top-app .media-body {
    vertical-align: inherit;
}

.top-app-name {
    height: 55px;
    overflow: hidden;
    line-height: 1.2;
}

.tab-content {
    border-color: #fff #ddd #ddd;
    border-style: solid;
    border-width: 1px;
}

.top-app-100 {
    padding: 15px;
}

.top-app-list .top-app {
    float: left;
    margin: 7px 5px;
    padding: 6px;
    width: 295px;
}

.countries {
    margin-bottom: 20px;
}

.tab-pane .alert {
    margin: 50px;
    padding: 50px;
    text-align: center;
}

.nav-tabs.nav-justified>li>a {
    background-color: #f7f7f7;
    border-color: #eee;
}

.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:hover,
.nav-tabs.nav-justified>.active>a:focus {
    background-color: #fff;
    border-color: #ddd #ddd #fff;
}

/* publish view mode (ac + book) */

.news-publish {
    margin-bottom: 10px;
    /*padding-bottom: 10px;*/
}

.news-publish:last-child {
    min-height: 300px;
}

.news-publish a.chapter {
    height: 4rem;
    line-height: 4rem;
    font-size: 1.5rem;
    display: block;
    text-decoration: none;
    border: 1px solid #bbb;
    text-align: center;
    margin: 8px 4px;
    overflow: hidden;
    border-radius: 3px;
}

.news-publish a.chapter:hover {
    background-color: #eee;
}

.news-publish .new-chap {
    color: red;
    font-size: 1rem;
    position: absolute;
    right: 1.2rem;
    top: 0.75rem;
}

.news-publish .publish-cover {
    max-width: 100%;
    box-shadow: 4px 4px 5px 0 rgba(0, 0, 0, 0.5);
}

.news-publish .alert {
    text-align: center;
    margin: 10px;
}

.btn.tag {
    padding: 3px 14px;
    border-radius: 12px;
    margin: 0 5px;
}

.list-group-item strong {
    margin-right: 15px;
    font-weight: normal;
}

/* bookmark */

#bookmark-btn {
    padding: 4px 10px;
    margin-left: 30px;
}

.label.label-as-badge {
    border-radius: 1em;
    font-size: 9px;
    font-weight: normal;
    padding: 0.1em 0.6em;
    position: relative;
}

.kiwi-ad-wrapper-728x90 {
    margin-top: -5px !important;
}

/* article pages */

nav.pages {
    text-align: center;
    margin-top: 30px;
    padding: 15px 0;
    background-color: #eff4fc;
    line-height: 1;
}

nav.pages .pagination {
    margin: 0;
}

.pagination>li>a,
.pagination>li>span {
    padding: 8px 18px;
    font-size: 20px;
}

/*.pages {
    text-align: center;
    margin: 30px auto 0;
    padding: 30px 15% 0;
    border-top: 1px solid #ccc;
}
.prev-and-next div, .prev-and-next a {
    background-color: #fff;
    border: 1px solid #777;
    display: block;
    font-size: 15px;
    line-height: 21px;
    height: 25px;
    text-align: center;
    width: 25%;
}
.prev-and-next div{
    border-color: #f3f3f3;
    color: #aaa;
}

.prev-and-next a:hover{
    background-color: #f3f3f3;
}
.prev-and-next .prev-page{
    float:left;
}
.prev-and-next .next-page{
    float: right;
}
.page-list{
    margin-top: 10px;
}
.page-list div, .page-list a{
    border: 1px solid #aaa;
    display: inline-block;
    font-size: 15px;
    line-height: 20px;
    width: 24px;
    height: 24px;
    text-align: center;
    margin: 0 2px;
}
.page-list div.this-page{
    color: #ff3b7c;
    border-color: #f3f3f3;
}
.page-list a:hover{
    background-color: #f3f3f3;
    border-color: #444;
}
*/

/* push */

#js-push-btn {
    display: none;
}

#js-push-btn.push-can span {
    color: #ff6600;
}

#js-push-btn.push-ed span {
    color: #9dff89;
}

#js-push-btn.push-disabled span {
    color: #555;
}

.high-pv {
    color: #ff0000;
}

.red-bar {
    background-color: red;
    color: white;
    padding: 10px;
    display: inline-block;
    border-radius: 5px;
    /* 可以添加圓角效果 */
}

.image-container {
    width: 100%;
    max-width: 600px;
    /* 根據需求調整 */
    margin: 0px auto;
    /* 加入適當的間距與居中樣式 */
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

@font-face {
    font-family: "Glyphicons Halflings";
    src: url("/static/bs3n/fonts/glyphicons-halflings-regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.advertisement-text {
    font-size: 12px;
    /* 字體大小 */
    color: #333;
    /* 提高對比度 */
    font-weight: bold;
    /* 增強可視性 */
    display: flex;
    /* 使用 Flexbox */
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    height: 30px;
    /* 固定高度 */
    margin-bottom: 3px;
    /* 與廣告區域保持距離 */
}

.article-ad {
    margin: 20px 0;
    text-align: center;
    clear: both;
}

.Gameapps15 {
    width: 300px;
    height: 250px;
    display: block;
    margin: 0 auto;
}

@media(min-width: 800px) {
    .Gameapps {
        width: 640px;
        height: 280px;
        display: block;
        margin: 0 auto;
    }
}

.Gameapps16 {
    width: 300px;
    height: 250px;
    display: block;
    margin: 0 auto;
}

@media(min-width: 800px) {
    .Gameapps {
        width: 640px;
        height: 280px;
        display: block;
        margin: 0 auto;
    }
}