* {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    /*background: url('static/picture/BG.jpg') no-repeat center center fixed;
    background: url(../picture/BG.jpg) 50% 50% no-repeat fixed;*/

    background-size: cover;
     background: #1e1f24; 
    white-space: nowrap;
    overflow-x: auto;
}

@media (max-width: 1200px) {
    body {
        font-size: 1em;
    }
}

@media (max-width: 992px) {
    body {
        font-size: 0.9em;
        /*background: url(../picture/BG02.jpg) 50% 50% no-repeat fixed;*/
        background-size: cover;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.85em;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.8em;
    }
}

.header,
.container,
.content,
.left,
.footer,
.mobnav {
    background: transparent;
}

.header {
    width: 100%;
    text-align: center;
    height: auto;
}

.container {
    max-width: 1000px;
}

.container-header {
    display: flex;
    justify-content: space-between;
}

.logo {
    width: auto;
    flex: initial;
}

.content {
    width: 100%;
    padding-bottom: 4rem;
    padding-top: .2rem;
    border-top: #484848 1px solid;
    /*border-bottom: #484848 1px solid;*/
}

.jc:hover img {
    border-radius: 10px;
    box-shadow: 0px 13px 28px -4px rgba(243, 161, 39, 0.4);
    transition: 0.3s;
}

.card02 {
    padding: 0 min(1.5vw, 15px);
}

.qbjc {
    background: #000;
}

.qbjc:hover {
    box-shadow: 0px 13px 28px -4px rgba(243, 161, 39, 0.6);
    transition: 0.3s;
}

.rank {
    position: relative;
    top: -15px;
}

.qbtitle {
    color: #fff;
    height: 40px;
    padding: .5rem 0;
    box-sizing: content-box;
}

.qblink {
    width: 100%;
    text-align: center;
    background-color: #f5cc7c;
    border-radius: 5px;
    padding: .5rem 0;
    display: block;
}

a.qblink { font-weight: bolder;
    text-decoration: none;
    color: #000;
}

a.qblink:hover {
    background: #f3a025;
}

.qbbtn {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    padding: .5rem 0;
}



.btn {
    padding: .5rem 0;
    color: #fff;
    background-color: #6f7070;
    margin: 10px 0px;
}

.btn:hover {
    filter: brightness(1.1);
    color: #fff;

}

.atag {
    padding: 0;
}

.footer {
    /* height: 80px; */
    line-height: 80px;
    color: #55657e;border-top: #484848 1px solid; margin-top: 5%;
}

.left {
    position: fixed;
    left: calc((100% - 1000px) / 2 - 120px);
    padding-top: 50px;
    z-index: 5;
}

.nav {
    margin-bottom: 10px;
}

.menu {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    cursor: pointer;
}

.menu01 {
    width: 100px;
    height: 100px;
    position: relative;
}

.front {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.front img {
    width: 100px;
    height: 100px;
}

.card1:hover {
    transform: rotateY(360deg);
    transition: transform 0.8s;
    display: block;
}


.navlink p {
    margin-bottom: 0;
}

a.navlink:hover {
    text-decoration: none;
}

a.navlink:visited {
    text-decoration: none;
}

.close:focus {
    outline: none;
    box-shadow: none;
}

.close img {
    width: 50%;
}

.mobnav {
    display: none;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    background-color: #000;
    z-index: 90;
    width: 100%;
    height: min(20vw, 6rem);
}

.dropdown {
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0 16px;
    width: auto;
    border: 1px solid #ffe400;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    margin-top: 12px;
    transition: .2s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}



.dropdown.active {
    opacity: 1;
    padding: 10px 16px;
    height: auto;
    border: 1px solid #ffe400;
    transition: .4s;
}

.dropdown img {
    height: auto;
    width: initial;
    max-width: 120px;
    display: block;
}

.dropdown img:hover {
    opacity: 1;
}

.dropdown a {
    width: auto;
    display: block;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #555;
    padding: 16px 4px;
    display: flex;
    justify-content: center;
}

.dropdown a:nth-last-of-type(1) {
    border: none;
}

/* .dropdown a::before {
    content: "";
    background: #505050;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
} */

.dropdown .menu_logo01,
.dropdown .menu_logo05 {
    width: 80px;
}

/* 手機版選單 */
.dropdown02 {
    position: absolute;
    z-index: 5;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0 16px;
    width: 80vw;
    border: 1px solid #ffe400;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    margin-top: 12px;
    transition: .2s;
    box-sizing: border-box;
}

.dropdown02.active {
    opacity: 1;
    padding: 10px 16px;
    height: auto;
    border: 1px solid #ffe400;
    transition: .4s;
}

.dropdown02 img {
    height: auto;
    width: min(35vw, 270px);
    display: block;
    opacity: .85;
}

.dropdown02 a {
    width: auto;
    display: block;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #555;
    padding: 16px 4px;
    display: flex;
    justify-content: center;
}

.dropdown02 a:nth-last-of-type(1) {
    border: none;
}

.dropdown02 .menu_logo01,
.dropdown02 .menu_logo05 {
    width: min(21vw, 210px);
}

@media (min-width: 1200px) {
    .modal-dialog {
        max-width: 1000px;
        margin: 1.75rem auto;
    }

    .close {
        position: fixed;
        text-shadow: none;
        right: calc((100% - 1000px) / 2);
        transform: none;
        z-index: 999;
    }

    .logoimg {
        width: 100%;
    }

    .qbicon {
        /* box-shadow: 0 0 3px solid #ffe400; */
    }

    .qbicon img {
        width: 70px;
        border-radius: 15px;
        border: #f5cc7c solid 2px;
        /* display: block; */
        /* box-shadow: 0 0 3px 2px #ffe400; */
    }

    .qbjc {
        background-color: #000000;
        padding: 0 20px 0px;
        border-radius: 10px;
        box-sizing: border-box;
        margin-top: 40px;
    }

    .qbtitle {
        font-size: 120%;
    }

    a.qblink {
        font-size: 110%;
    }

    .qbbtn {
        font-size: 110%;
    }

    .left {
        position: fixed;
        left: calc((100% - 1000px) / 2 - 170px);
        padding-top: 50px;
    }

    .mobnav {
        display: none;
    }
}

@media (min-width: 576px) and (max-width:1200px) {
    .nav {
        display: none;
    }

    .logo {
        width: initial;
    }

    .modal-dialog {
        max-width: 550px;
        margin: 1.75rem auto;
    }

    .close {
        position: fixed;
        text-shadow: none;
        right: calc((100% - 550px) / 2);
        transform: none;
        z-index: 999;
    }

    .logoimg {
        width: 100%;
    }

    .qbjc {
        /* background-color: #1a251f; */
        padding: 0 20px 0;
        border-radius: 10px;
        box-sizing: border-box;
        margin-top: 40px;
    }

    .qbicon img {
        width: 33%;
        border-radius: 10px;

    }

    .qbtitle {
        font-size: 120%;
        height: 40px;
        padding: .5rem 0;
        line-height: 40px;
    }

    .qblink {
        padding: .5rem 0;
    }

    .qblink a {
        font-size: 110%;
    }

    .qbbtn {
        font-size: 110%;
        padding: .5rem 0;
    }

    .mobnav {
        display: flex;

    }

    .mob-nav-r {
        border-right: solid 1px #615e38;
    }

    .mobnav .navlink {
        width: 100%;
        text-align: center;
        height: 100%;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 120%;
        flex-direction: column;
    }

    .navlink img {
        height: 50%;
    }

    .btn {
        padding: .5rem 0;
        color: #fff;
        margin: 10px 0px;
    }

    .footer {
        margin-bottom: 6rem;
    }
}

@media (max-width: 576px) {
    .logo {
        width: 35%; margin-left: 3%;
    }
	.jc {margin-right: 3%; }

    .btn {
        margin: 10px 0 0;
    }

    .nav {
        display: none;
    }

    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .tt {
        padding-left: 0;
        padding-right: 0;
    }

    .close {
        position: fixed;
        text-shadow: none;
        right: -20px;
        transform: none;
        z-index: 999;
    }

    .close img {
        width: 30%;
    }

    .logoimg {
        width: 110%;
    }

    .qbicon img {
        width: 44px;
        border-radius: 10px;
        border: #f5cc7c solid 1px;
    }

    .qbjc {
        padding: 0 1rem;
        border-radius: 10px;
        box-sizing: border-box;
        margin-top: 1.5rem;
    }

    .qbtitle {
        font-size: 1rem;
        height: 2.5rem;
        padding: .5rem 0;
        line-height: 2.5rem;
    }

    .qblink {
        padding: .5rem 0;
    }

    .qblink a {
        font-size: 1rem;
    }

    .qbbtn {
        font-size: 1rem;
        padding: .5rem 0;
    }

    .mobnav {
        display: flex;

    }

    .mob-nav-r {
        border-right: solid 1px #615e38;
    }

    .mobnav .navlink {
        width: 100%;
        text-align: center;
        height: 100%;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 110%;
        flex-direction: column;
    }

    .navlink img {
        height: 40%;
    }

    .footer {
        margin-bottom: 1rem;
    }
}