@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap");
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700,900&display=swap');

:root {
    --primary-color: #D00000;
    --secondary-color: #0921a8;
    --third-color: #666;
    --fourth-color: #adadad;
    --header-color: #fff;
    --border-color: rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
}

::selection {
    background-color: var(--secondary-color);
    color: #fff;
}

/*  img
------------------------------------- */

img {
    max-width: 100%;
    width: auto;
    border-radius: 15px;
    transition: all 0.3s;
}

@media screen and (max-width: 767px) {
    img {
        border-radius: 10px;
    }
}

a img:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
    transform-origin: center center;
}

hr {
    border-top: 0px;
    border-bottom: 1px solid var(--border-color);
    margin: 20px 0;
}


ul {
    margin: 0;
    padding: 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color) !important;
}

/*  html
------------------------------------- */

html {
    font-size: 16px;
}

@media screen and (max-width: 1400px) {
    html {
        font-size: 15px;
    }
}

@media screen and (max-width: 1000px) and (min-width: 767px) {
    html {
        font-size: 13px;
    }
}

@media screen and (max-width: 767px) {
    html {
        font-size: 15px;
    }
}

/*  body
------------------------------------- */

body {
    font-family: Roboto Condensed, Microsoft Yahei, Microsoft JhengHei, fantasy, Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    line-height: 1.6;
    color: #000;
    margin: 0px;
    padding: 0px;

}

@media only screen and (min-width: 992px) {
    body {
        padding-top: 60px;
    }
}


a {
    text-decoration: none;
    color: #000;
    transition: all 0.1s;
}

a:hover {
    color: var(--primary-color);
    font-weight: 700;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

ul {
    list-style: none;
}

p {
    margin-top: 10px;
    margin-bottom: 10px;
}


/*header
========================================== */

header #navigation {
    border-top: 4px solid var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}


/*navigation-logo
========================================== */
.navigation-logo img {}

/*header-search
========================================== */
.header-search {
    display: flex;
    padding: 42px 20px;
}

.header-search input {
    margin: 0;
    padding: 5px 10px !important;
    width: 10vw;
    min-width: 200px;
    height: 36px;
    border: 0;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 5px 0 0 5px;
    /*清除預設選擇框樣式*/
    appearance: none;
    /*清除選中時樣式*/
    outline: 0px;
    transition: transform .3s
}

@media only screen and (max-width: 992px) {
    .header-search input {
        min-width: 180px;
    }
}

.header-search input:focus {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 3px 3px rgb(0, 0, 0, 0.2) inset;
}

.header-search button {
    margin: 0;
    padding: 5px !important;
    width: 55px;
    height: 36px;
    border: 0px solid rgba(255, 255, 255, 1);
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    outline: 0px;
}



/*  h1~h4
------------------------------------- */
h1,
h2,
h3,
h4 {
    font-family: Roboto Condensed, Microsoft Yahei, sans-serif;
    line-height: 1.2;
    margin-top: 0;
    letter-spacing: 1px;

}

h1 {
    font-size: 26px;
    font-weight: 600;
}

h2 {
    font-size: 24px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 28px;
        font-weight: 600;
    }

    h2 {
        font-size: 20px;
        font-weight: 700;
    }
}


/*game-menu
========================================== */
.game-menu {
    position: relative;
    font-size: 16px;
    background-color: #F1F3F4;
    box-shadow: 0 5px 20px rgb(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.game-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}

.game-menu ul li {
    margin: 0;
    padding: 0px 1vw;
}

.game-menu ul li a {
    width: 100%;
    display: flex;
    padding: 15px 1vw 10px 1vw;
    display: block;
    border-radius: 0px;
}

.game-menu ul li a img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 5px auto;
    object-fit: cover;
    object-position: 0px 0px;
    border-radius: 10px;
    filter: grayscale(1);
}

.game-menu ul li a:hover img {
    transform: scale(1.1);
    transform-origin: center center;
}

.game-menu ul li a.active img {
    filter: grayscale(0);
}

.game-menu ul li a:hover {
    /* background-color: #fff; */
    color: #000;
}

@media only screen and (max-width: 500px) {
    .game-menu ul li {
        flex: 1;
        text-align: center;
    }

    .game-menu ul li a {
        font-size: 11px;
        padding: 2px;
    }

    .game-menu ul li a img {
        width: 45px;
        height: 45px;
    }
}


.game-menu ul li dl {
    display: none;
    position: absolute;
    top: 100px;
    background-color: #fff;
    box-shadow: 2px 2px 1px 3px rgb(0, 0, 0, 0.3);
    z-index: 99999;
}

.game-menu ul li:hover dl {
    display: block;
}

.game-menu dl dd {
    margin: 0;
    padding: 0;
}

.game-menu dl dd a {
    padding: 5px 20px;
    min-width: 180px;
    font-size: 14px;
    border-radius: 0px;
}

.game-menu dl dd a:hover {
    background-color: #E6E6E6;
    color: #000;
}




/*guide-menu
========================================== */
.guide-menu {
    background-color: #F1F3F4;
    box-shadow: 0 5px 20px rgb(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.guide-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}


.guide-menu ul li {
    margin: 0;
    padding: 0px 1vw;
}

.guide-menu ul li a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 1vw;
}



.guide-menu .active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 900;
}

@media only screen and (max-width: 500px) {
    .guide-menu {
        padding: 5px;
    }

    .guide-menu ul li a {
        padding: 5px;
        font-size: 13px;
    }

}

/*breadcrumb
========================================== */

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

@media only screen and (max-width: 767px) {
    .breadcrumb {
        font-size: 12px;
    }
}

.breadcrumb ol li {
    list-style: none;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0.5rem;
    word-break: break-word;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/*內容主排版
========================================== */
.L-container,
.M-banner {
    max-width: 1500px;
    margin: 0 auto;
    border-left: 1px solid var(--border-color);
}

.M-banner {
    border-left: 0px;
    padding: 10px;
}

.M-banner img {
    width: 100%;
    max-width: 100%;

}

.M-banner a img:hover {
    filter: brightness(1);
    transform: scale(1);
}

@media only screen and (max-width: 900px) {
    .L-main {
        display: flex;
        flex-direction: column-reverse;
        padding: 2rem;
    }
}

/*main
========================================== */
.main {
    padding: 2vw 3vw;

}

.sidebar {
    border-left: 1px solid var(--border-color);
    padding: 2vw 3vw;
    border-radius: 30px 0 0 0;
}

@media only screen and (min-width: 900px) {

    /* responsive layout */
    .main {
        display: inline-block;
        width: 77%;
        vertical-align: top;
    }

    .sidebar {
        display: inline-block;
        width: 22%;
        vertical-align: top;
    }

    /* loaded fixed-sticky polyfill
	https://github.com/filamentgroup/fixed-sticky */
    .fixedsticky {
        top: 0;
    }
}

@media only screen and (max-width: 900px) {
    .sidebar .M-card {
        display: none;
    }

    .all-M-card-sidebar {
        display: none;
    }
}


.sidebar .M-card-body ul li {
    border-bottom: 1px dashed var(--border-color);
    font-size: 95%;
    padding: 5px 0;
    position: relative;
}


.sidebar .M-card-body ul li a {
    display: block;
}



/* fixedsticky */
.fixedsticky {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
}

/* When position: sticky is supported but native behavior is ignored */
.fixedsticky-withoutfixedfixed .fixedsticky-off,
.fixed-supported .fixedsticky-off {
    position: static;
}

.fixedsticky-withoutfixedfixed .fixedsticky-on,
.fixed-supported .fixedsticky-on {
    position: fixed;
}

.fixedsticky-dummy {
    display: none;
}

.fixedsticky-on+.fixedsticky-dummy {
    display: block;
}


/*sidebar-banner
========================================== */
.sidebar-banner::before {
    position: absolute;
    top: -10px;
    content: '';
    display: block;
    font-size: 13px;

}

@media screen and (max-width: 992px) and (min-width: 900px) {
    .sidebar-banner {
        display: flex;
        gap: 20px;
        flex-direction: column;

    }
}

@media only screen and (max-width: 900px) {
    .sidebar-banner {
        display: flex;
        gap: 20px;
        flex-direction: row;
    }
}


.sidebar-banner img {
    width: 100%;
    border-radius: 5px;
}

.sidebar-banner .M-banner {
    margin-top: 0px;
}



/*M-card
========================================== */
.M-card {
    margin: 0;
    padding-bottom: 20px;
}

.M-card h2 {
    color: var(--secondary-color);
}

.M-card h1 img,
.M-card h2 img {
    border-radius: 50px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: 50% 50%;
    border: 3px solid #fff;
    box-shadow: 0 15px 15px rgb(0, 0, 0, 0.1);
}


@media only screen and (min-width: 1500px) {
    .M-card h1 {
        color: #000;
        position: relative;
        padding: 5px 0;
        margin-bottom: 20;
    }

    .M-card h2 {
        position: relative;
        padding: 5px 0;
        margin-bottom: 20;
        background: linear-gradient(90deg, transparent, #eee);
    }


    .M-card h1 img,
    .M-card h2 img {
        position: absolute;
        left: -5vw;
        top: -20px;
    }
}


@media only screen and (max-width: 767px) {
    .M-card h1 {
        text-align: center;
    }

    .M-card h2 {
        text-align: center;
    }

    .M-card h1 img,
    .M-card h2 img {
        display: block;
        margin: 0 auto;
        margin-bottom: 10px;
    }

}

/*games-list
========================================== */


.game-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 30px 3vw;
    text-align: center;
}

.game-list-pic {
    width: 100%;
    aspect-ratio: auto 2.8 / 2;
}

.game-list-pic img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    margin: 0auto;
}


.game-list figcaption {
    font-size: 15px;
}

@media screen and (max-width: 1200px) and (min-width: 767px) {
    .game-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 767px) {
    .game-list {
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
}



/*  guides 遊戲攻略
------------------------------------- */

.guides-list {
    display: grid;
    grid-template-columns: 20% 1fr;
    grid-gap: 3vw;
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.guides-list:hover {
    box-shadow: 0 30px 30px -30px rgb(0 0 0 / 15%);
}

.guides-list:hover p {
    color: #000;
}

.guides-list-pic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: auto 1 / 1;
    border-radius: 15px;
    overflow: hidden;
}

.guides-list-pic img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.guides-list-text h2 {
    font-weight: 500;
    background-image: none;
    text-align: left;

}

.guides-list:hover h2 {
    color: var(--primary-color);
}

@media only screen and (max-width: 767px) {
    .guides-list {
        grid-template-columns: 30% 1fr;
    }

    .guides-list-pic {
        aspect-ratio: auto 1 / 1;
    }

    .guides-list-text h2 {
        font-size: 18px;
        font-weight: 700;
    }

    .guides-list-text p {
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}


/*編輯器排版語法
========================================== */

.promo-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2vw;
}

@media only screen and (max-width: 767px) {
    .promo-list {
        grid-template-columns: 1fr;
    }

}




/*search-list
========================================== */

.search-list {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.search-list h2 {
    text-align: left;
    background-image: none;
    font-size: 20px;

}

.search-list h2:hover {
    color: var(--primary-color);

}

/*tag-list
========================================== */

.tag-list {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;

}

.tag-list h2 {
    text-align: left;
    background-image: none;
    font-size: 20px;

}

.tag-list h2:hover {
    color: var(--primary-color);

}






/*index 首頁
========================================== */

.marquee-section {
    background-color: var(--primary-color);
}

.index-marquee {
    max-width: 1500px;
    margin: 0 auto;
    padding: 6px;
    transition: all 5s;
    font-size: 15px;
    font-weight: 700;
}

.index-marquee a {
    color: #fff;
    font-size: 15px;
}

.index .main {
    width: 60% !important;
    padding: 2vw;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.index .sidebar {
    width: 19% !important;
    padding: 2vw;
    border-radius: 0;
    border: 0;
}

@media only screen and (max-width: 900px) {
    .index .main {
        width: 100% !important;
    }

    .index .sidebar {
        width: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    .index .main {
        width: 100% !important;
    }

    .index .sidebar {
        display: contents;
    }
}



.index-popular-games {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    line-height: 1.4;
}


.index-popular-games img {
    width: 80px;
    height: 80px;
    border-radius: 100px;
    object-fit: cover;
    object-position: 50% 50%;
    margin: 10px auto;

}


.index-popular-games li {
    border-bottom: 0px !important;

}


/* tabs ,nav-tabs
========================================== */

.nav-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}


.nav-tabs>li {
    display: inline-block;
    margin: 0;
    padding: 0;

}

.nav-tabs>li>a {
    padding: 7px 15px 4px 15px;
    color: #333333;
    display: block;
    text-decoration: none;

}

.nav-tabs>li>a:hover {}


.nav-tabs li.show a,
.nav-tabs a.active {
    color: var(--primary-color);
    border-radius: 15px 15px 0 0;
    border: 1px solid var(--border-color);
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    font-weight: 700;
}

.nav-tabs>li>.active,
.nav-tabs>li>.active:hover {}


.tab-content>.tab-pane {
    display: none;
    position: relative;
}

.tab-content>.active {
    display: block;
}




/*text-editor
========================================== */



.text-editor p {
    margin: 30px 0;
    width: 100%;
}


.text-editor p img {
    text-align: center;
}


/*舊排版語法
========================================== */



/* 內頁banner */

@media only screen and (min-width: 767px) {

    .M-banner img {
        border-radius: 10px;
        min-height: 180px;
        object-fit: cover;
    }
}

@media only screen and (max-width: 767px) {
    .M-banner img {
        border-radius: 5px !important;
        min-height: 90px;
        object-fit: cover;
        margin-top: 8px;
    }
}






/* M-aside-nav */



.aside li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);

}

.aside li:nth-last-child(1) {
    border-bottom: 0px;
}

.aside li .badge {
    display: none;
}

.aside li b {
    font-weight: 400;
}





.promo-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2vw 4vw;
    text-align: center;
}

.promo-tabs figure {
    aspect-ratio: auto 3 / 1;
}


.game-article-new {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 2vw 2.5vw;
    text-align: center;
}

.game-article-new figure a {
    aspect-ratio: auto 1 / 1;
}


.game-article-new figure img {
    display: flex;
    width: 100%;
    height: 85%;
    object-fit: cover;
    object-position: 50% 50%;
}




@media screen and (max-width: 500px) {
    .game-article-new {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .promo-tabs {
        grid-template-columns: 1fr;
    }
}

.M-card-more {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.M-card-more .btn {
    background-color: #eee;
    padding: 8px 25px !important;
    color: #000;
    font-weight: 700;
}

.M-card-more .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/*  .btn 按鈕系統
------------------------------------- */



.btn-block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}


.btn {
    background-color: var(--third-color);
    color: #fff;
    padding: 8px 25px;
    border-radius: 50px;
    transition: all 0.3s;
    margin: 5px 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}


.btn-gray {
    background-color: #eee;
    color: #000 !important;
}

.btn-gray:hover {
    background-color: #ddd !important;
    color: #000 !important;
}



.btn-primary {
    background-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

.btn-group .btn.active {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.playnow .btn {
    padding: 10px 15px 10px 45px;
    position: relative;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    background: linear-gradient(360deg, #eee, #fff);
    font-weight: 900;
    font-size: 16px;
    transition: all 0.1s;
}

.playnow .btn:hover {
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0);

}


.playnow .btn::before {
    position: absolute;
    left: 5px;
    content: '';
    background-color: var(--secondary-color);
    border-radius: 50px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.playnow .btn::after {
    position: absolute;
    left: 12px;
    content: 'GO';
    background-color: ;
    color: #fff;
    font-size: 18px;
    animation: rotate-90-horizontal-bck 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite both;
}

/* btn:hover */
.playnow .btn:hover {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.playnow .btn:hover::before {
    background-color: var(--primary-color);
}

.playnow .btn:hover::before {
    background-color: var(--primary-color);
}


.playnow .btn-primary {
    background: linear-gradient(360deg, var(--secondary-color), var(--secondary-color));
    color: #fff;
}


.playnow .btn-primary::before {
    background-color: #fff;
}

.playnow .btn-primary::after {
    color: var(--secondary-color);
}

/* :hover */
.playnow .btn-primary:hover {
    background: linear-gradient(360deg, var(--primary-color), var(--primary-color));
    color: #fff;
}

.playnow .btn-primary:hover::before {
    background-color: #fff;
}


.playnow .btn-primary:hover::after {
    color: var(--primary-color);
}




/*guide-info
========================================== */

.guide-info .btn-play {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media only screen and (min-width: 900px) {
    .guide-info {
        display: grid;
        grid-template-columns: 150px 1fr;
    }

    .guide-info h1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .guide-info .btn-play {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        margin-top: -25px;
        justify-content: end;
    }
}



.guide-info h1 {
    text-align: left;
}





/* 頁數 */

.M-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    gap: 5px;
}




.btn-group {
    display: flex;
    flex-wrap: wrap;
}

.btn-group a {
    margin: 2px;
}

.btn-group .btn {
    width: 34px;
    height: 34px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--third-color);
    line-height: 1;
}

.btn-group .btn:hover {
    background-color: var(--secondary-color);
}

.icon-left-open::after {
    content: '❮';
}

.icon-right-open::after {
    content: '❯';
}





/*  index-type
------------------------------------- */

.index-owl-carousel {
    width: 100%;
    aspect-ratio: auto 7 / 1;
}

@media only screen and (max-width: 767px) {
    .index-owl-carousel {
        width: 100%;
        aspect-ratio: auto 2 / 1;
    }
}




.index-type {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    grid-gap: 2vw;
}

.index-type-left .M-card ul li,
.index-type-right .M-card ul li {
    border-bottom: 1px solid var(--border-color);
}

.index-type-left .M-card ul li a,
.index-type-right .M-card ul li a {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    line-height: 1.2;
    align-items: center;
}

.index-type-left .M-card ul li a img,
.index-type-right .M-card ul li a img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
}

@media screen and (max-width: 1200px) {
    .index-type {
        display: grid;
        grid-template-columns: 250px 1fr;
        grid-gap: 2.5vw;
    }

    .index-type-right {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .index-type {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 2.5vw;
    }

    .index-type-left,
    .index-type-right {
        display: none;
    }
}




/* .index-type-left li*/

.index-type-left li,
.index-type-right li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.index-type-left li:nth-last-child(1),
.index-type-right li:nth-last-child(1) {
    border-bottom: 0px;
}

.index-type-left .badge,
.index-type-right .badge {
    display: none;
}

.index-type-left li b,
.index-type-right li b {
    font-weight: 400;
}



.index-type-right .M-card-body {
    max-height: 400px;
    overflow-y: scroll;
}






.nav-style-3 {
    padding: 5px;
}

.owl-carousel .owl-item img {
    padding: 5px;
}




/*  games-info
------------------------------------- */

.games-info {
    padding-bottom: 20px;
    margin-bottom: 20px;
}

@media screen and (min-width: 767px) {
    .games-info {
        display: grid;
        grid-template-columns: 360px 1fr;
    }

    .games-info-text {
        padding-left: 20px;
    }
}

.games-info-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (min-width: 767px) {
    .games-info-img {
        width: 100%;
        aspect-ratio: auto 3 / 2;
    }
}

@media only screen and (max-width: 767px) {
    .games-info {
        background-color: #f1f1f1;
        border-radius: 10px;
        padding: 15px;
    }


    .games-info-img img {
        margin-bottom: 20px;
    }
}


.games-info-text .btn-block {
    justify-content: left !important;

}






/*sort-title
========================================== */

.sort-title {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    font-weight: 900;
    color: var(--secondary-color);
    margin: 20px 0;
    font-size: 18px;

}

.sort-title:before,
.sort-title:after {
    position: absolute;
    top: 50%;
    overflow: hidden;
    width: 50%;
    height: 3px;
    content: "";
    background-color: var(--secondary-color);
}

.sort-title:before {
    margin-left: -50%;
    text-align: right;
}



/*M-tag  文章標籤
========================================== */
.M-tag ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.M-tag ul li {
    margin-bottom: 5px;
}

.M-tag ul li a {
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.M-tag ul li a:hover {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

@media only screen and (max-width: 767px) {
    .M-tag ul li a {
        padding: 5px 8px;
        font-size: 13px;
    }
}






/*text-editor
========================================== */

.text-editor h1,
.text-editor h2,
.text-editor h3,
.text-editor h4 {
    margin-top: 30px !important;
    background-image: none;
}



.text-editor h5 {
    font-size: 18px;
}




/* text-editor ul li
========================================== */

.text-editor ul {
    list-style-type: none !important;
    padding: 20px !important;
    margin: 0px !important;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.text-editor ul li {
    position: relative;
    list-style-position: outside !important;
    padding: 8px 0 8px 25px;
}




.text-editor ul li::before {
    content: "▩";
    position: absolute;
    top: 6px;
    left: 0;
    font-size: 18px;
}

.text-editor ul li ul li::before {
    content: "■" !important;

    position: absolute;
    top: 6px;
    left: 0;
    font-size: 20px;
}



/* text-editor  ol
========================================== */
.text-editor ol {
    counter-reset: my-sec-counter;
}

.text-editor>ol {
    padding: 20px 20px 20px 60px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.text-editor ol li {
    list-style: none;
    padding: 3px 0;
}

.text-editor ol li:before {
    counter-increment: my-sec-counter;
    content: "" counter(my-sec-counter, decimal) "、";
    color: #000;
    text-align: center;
    margin-left: -45px;
    margin-right: 10px;
}

.text-editor ol li ol {
    counter-reset: my-sec-counter;
}

.text-editor ol li ol li:before {
    counter-increment: my-sec-counter;
    content: "( " counter(my-sec-counter, decimal) " )";
    color: #000;
}

.text-editor ol li ol li ol {
    counter-reset: my-sec-counter;
}

.text-editor ol li ol li ol li:before {
    counter-increment: my-sec-counter;
    content: "" counter(my-sec-counter, lower-alpha) ".";
}



/* M-card-body-text ul li
========================================== */

.M-card-body-text ul {
    list-style-type: none !important;
    margin: 0px !important;
}

.M-card-body-text ul li {
    position: relative;
    list-style-position: outside !important;
    padding: 8px 0 8px 25px;
}



.M-card-body-text ul li::before {
    content: "▩";
    position: absolute;
    top: 6px;
    left: 0;
    font-size: 20px;
}

.M-card-body-text ul li ul li::before {
    content: "■" !important;
    position: absolute;
    top: 6px;
    left: 0;
    font-size: 18px;
}




.text-editor a {
    text-decoration: underline;
    color: var(--primary-color);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.text-editor a:hover {
    text-decoration: none;
    color: var(--secondary-color) !important;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0);
}






.text-editor .table-box {
    width: 100%;
    overflow-x: auto;
}

.text-editor table {
    border-collapse: collapse;
    min-width: 100%;
    margin: 20px 0 !important;
    background-color: #fff;
    border-radius: 10px;
    color: #162c2c;
    border: 1px solid #90c6c4;
}


.text-editor table thead th,
.text-editor table thead td {
    background: #1c6e6c;
    color: #fff;
    font-weight: 700;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    line-height: 1.2 !important;
    padding: 8px 0.5vw;
}


.text-editor table thead th:nth-child(1),
.text-editor table thead td:nth-child(1) {
    border-left: 1px solid #1c6e6c !important;
}



.text-editor table tbody th {
    background: #A5D2CE !important;
    font-weight: 700;
    border-color: rgba(255, 255, 255, 0.3) !important;
    text-align: left;
}



.text-editor table p {
    margin: 1px !important;
}

.text-editor table th,
.text-editor table td {
    padding: 5px 10px;
    border: 1px solid #90c6c4;
    line-height: 1.5 !important;
}


.text-editor table tr:nth-child(odd) {
    background: #dbecea;
}


@media only screen and (max-width: 767px) {
    .text-editor table {
        font-size: 13px;
    }

    .text-editor table th,
    .text-editor table td {
        padding: 5px 5px;
    }
}




.text-editor table img {
    border-radius: 5px;
    margin: 0 3px !important;

}

.text-editor table ul,
.text-editor table ol {
    background-color: transparent !important;
}

.text-editor table ul li {
    padding: 2px 0 2px 25px !important;
}

.text-editor table ul li {
    text-align: left !important;
}

.text-editor table ul li::before {
    color: #1b7b77;
    top: 0 !important;
}




.text-editor .img-box {
    text-align: center;
}

.text-editor .img-box img {
    margin: 0 auto;
}






/*  sitemap-info
------------------------------------- */

.sitemap-info h2 {
    position: relative;
    z-index: 1;
    overflow: hidden;

}

.sitemap-info h2:after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 100%;
    height: 1px;
    content: "";
    background-color: #333;
}


.sitemap-info .card-header {
    font-size: 22px;
    font-weight: 800;
}





/* table-cta */


/* table-cta */

.table-cta {
    width: 100%;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: 0px 25px 30px rgba(27, 31, 49, 0) !important;
    border-collapse: separate !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.table-cta {
    margin: 20px 0;
    border-spacing: 1vw !important;
}

.table-cta td {
    border-radius: 5px !important;
    background-color: #eee;
    position: relative;
    color: #000;
    border-spacing: 20px;
    vertical-align: top;
}

.table-cta td a::before {
    content: '➽ ';
    font-size: 110%;
}



.table-cta td:nth-child(1) {
    background-color: #ffeded;

}

.table-cta td:nth-child(1):hover {
    background-color: #d44b4b;

}

.table-cta td:nth-child(1) a {
    color: #d44b4b;
}


.table-cta td:nth-child(2) {
    background-color: #d9f0eb;

}

.table-cta td:nth-child(2):hover {
    background-color: #228b75;

}

.table-cta td:nth-child(2) a {
    color: #228b75;
}


.table-cta td:nth-child(3) {
    background-color: #d9e1f1;

}

.table-cta td:nth-child(3):hover {
    background-color: #133f9e;
}

.table-cta td:nth-child(3) a {
    color: #133f9e;
}



.table-cta td:nth-child(4) {
    background-color: #f7eee0;

}

.table-cta td:nth-child(4):hover {
    background-color: #E19664;

}

.table-cta td:nth-child(4) a {
    color: #da7f2a;
}


.table-cta td a {
    width: 100%;
    padding: 0.6vw 1vw !important;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    display: inline-block;
}



.table-cta td:hover a {
    color: #fff !important;
}


@media only screen and (max-width: 767px) {
    .table-cta {
        border-spacing: 5px !important;
    }

    .table-cta td a {
        padding: 5px 3px !important;
        font-size: 13px;
        line-height: 1.4;
    }
}





/* 廣告 */
.floating-box {
    width: 180px;
    text-align: left;
    display: scroll;
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 999;
    line-height: 0.7;
}

.floating-box button {
    padding: 0px !important;
    border: 0px !important;
    background-color: transparent !important;
}

.floating-box-img img {
    width: 100%;
    border-radius: 5px 0 0 5px;
    border: 3px solid #fff;
    padding: 0 !important;
}


@media only screen and (max-width: 1600px) {
    .floating-box {
        transform: scale(0.9);
        transform-origin: bottom left;
    }
}



@media only screen and (max-width: 767px) {
    .floating-box {
        transform: scale(0.8);

    }
}






/*  page-banner
------------------------------------- */

.page-banner {
    text-align: center;
    margin-top: 10px;
}








/*  footer
------------------------------------- */

footer {
    border-top: 8px solid var(--secondary-color);
}

footer .L-container {
    border-left: 0px !important;
}

@media only screen and (min-width: 1200px) {
    .footer-box {
        display: grid;
        grid-template-columns: 20% 1fr 380px;
    }
}



footer h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

footer h2 a {
    color: var(--secondary-color);
}

footer .logo {
    text-align: center;
    padding: 2vw;

}

footer .logo img {
    padding-top: 30px;

}


footer .logo p {
    font-size: 13px;
    padding: 0;
    margin: 0;

}

.footer-info {
    padding: 2vw;
    /* max-height: 180px;
    overflow-y: auto; */
}



.footer-info p {
    font-size: 13px;
    margin: 0;
}

.footer-info p::before {
    content: '✦ ';
    color: var(--secondary-color);
    font-size: 9px;
    padding-right: 10px;
}

.footer-info strong {
    color: var(--secondary-color);
    padding-right: 10px;
}

.footer-navigation {
    padding: 2vw;
}

.footer-navigation ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 0;
    position: relative;
    padding-right: 100px;
}


.footer-navigation .navigation-link {
    font-size: 15px;
    padding: 0px 0 !important;
    color: #000 !important;
    font-weight: 600;
    letter-spacing: 0px;
    border: 0px !important;
    font-weight: 700 !important;
}

.footer-navigation .navigation-link:hover {
    color: var(--primary-color) !important;
}

.footer-navigation ul li:nth-last-child(1) .navigation-link {
    width: 80px;
    height: 80px;
    padding: 8px !important;
    border-radius: 50px;
    position: absolute;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    right: 5px;
    bottom: 25px;
    box-shadow: 0 20px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    font-size: 16px;
}

.footer-navigation ul li:nth-last-child(1) .navigation-link:hover {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 20px 10px rgba(0, 0, 0, 0);
}

@media screen and (max-width: 1200px) and (min-width: 900px) {
    .footer-box {
        display: grid;
        grid-template-columns: 20% 1fr 300px;
    }

    .footer-navigation ul {
        grid-template-columns: 1fr;
    }

    .footer-navigation ul li:nth-last-child(1) .navigation-link {
        right: 35px;
        bottom: 35px;
    }
}




@media only screen and (max-width: 900px) {
    footer {
        border-top: 0px solid var(--secondary-color);
        padding: 0 15px;
        background-color: var(--primary-color);
        color: #fff;
        padding-bottom: 30px;
    }

    footer a {
        color: #fff;
    }

    .footer-info p {
        padding: 0;
    }

    footer .logo img {
        padding-top: 10px;
        filter: invert(100%) sepia(11%) saturate(139%) hue-rotate(208deg) brightness(116%) contrast(100%);
        width: 180px;
    }

    .footer-info {
        display: none;
    }


    .footer-navigation {
        border-top: 1px solid rgba(255, 255, 255, 0.2);

    }


    footer h2 a {
        color: #fff !important;
    }

    .footer-navigation .navigation-link:hover {
        color: #fff !important;
    }



    .footer-navigation .navigation-link {
        color: #fff !important;
    }

    .footer-info p::before {
        color: #fff !important;
    }

    .footer-info strong {
        color: #fff !important;
    }

    .footer-navigation ul li:nth-last-child(1) .navigation-link {
        background-color: var(--secondary-color) !important;
        box-shadow: 0 20px 10px rgba(0, 0, 0, 0);
    }

}




@media only screen and (max-width: 500px) {
    .footer-navigation ul {
        grid-template-columns: 1fr;
    }

    .footer-navigation ul li:nth-last-child(1) .navigation-link {
        right: 50px;
        bottom: 50px;
    }
}


/* Back to top */

#backtotop {
    position: fixed;
    right: 0;
    opacity: 0;
    visibility: hidden;
    bottom: 20px;
    margin: 0 30px 0 0;
    z-index: 99999;
    transition: 0.35s;

}

#backtotop.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#backtotop a {
    text-decoration: none;
    border: 0 none;
    display: block;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    opacity: 1;
    transition: all 0.3s;
    border-radius: 50%;
    text-align: center;
    font-size: 15px
}

body #backtotop a {
    color: #fff;
}

#backtotop a:after {
    content: '⇡';
    font-size: 25px;
    position: relative;
    display: block;
    top: 50%;
    -webkit-transform: translateY(-55%);
    transform: translateY(-55%);
}

@media (max-width: 1600px) {
    #backtotop {
        bottom: 15px;
        margin: 0 10px 0 0;
    }

    #backtotop a {
        width: 40px;
        height: 40px;
    }
}

/*flex
========================================== */

.justify-content-right {
    justify-content: right !important;
}

.justify-content-left {
    justify-content: left !important;
}

@media only screen and (min-width: 767px) {
    .justify-content-md-right {
        justify-content: right !important;
    }

    .justify-content-md-left {
        justify-content: left !important;
    }
}

h1#index_h1 a {
    display: block;
    font-size: 0px;
}

/*===========================
         联系窗口 css
===========================*/


.social-info {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 9;
}

.social-info img {
    width: 70px;
    margin: 10px 0 5px 0;
    box-shadow: 0px 0px 3px #666666;
    border-radius: 30%;

}

.social-info .social-hover1:hover {
    box-shadow: 0px 0px 10px #d00000;
    filter: brightness(120%);
}

.social-info .social-hover2:hover {
    box-shadow: 0px 0px 10px #d00000;
    filter: brightness(120%);
}

.social-info .social-hover3:hover {
    box-shadow: 0px 0px 10px #d00000;
    filter: brightness(120%);
}

.social-info .social-hover4:hover {
    box-shadow: 0px 0px 10px #d00000;
    filter: brightness(120%);
}

.social-info .social-hover5:hover {
    box-shadow: 0px 0px 10px #d00000;
    filter: brightness(120%);
}
/* 自定义active样式 */
.navigation-link.active {
  background: #D00000 !important;
  color: #fff !important;
  border-radius: 5px;
  font-weight: 700;
}
.navigation-link.active:hover {
  background: #b00000 !important;
  color: #fff !important;
}
