body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

* {
    box-sizing: border-box;
}

a,
a:link,
a:visited {
    text-decoration: none;
}

/* 選單1 手機底部選單  menu-1 start*/
.menu-1 {
    z-index: 999;
    position: fixed;
    width: 100%;
    bottom: 0px;
    background: #0d1e30;
    text-align: center;
    font-size: 0;
    letter-spacing: -0.2px;
}

.menu-1 a {
    display: inline-block;
    width: 20%;
    font-size: 0;
}

.menu-1 a .menu-1-btn {
    height: 100%;
    padding: .5rem .1rem;
    grid-gap: .5rem;
    color: #fff;
    box-sizing: border-box;
    font-size: 12px;
}

.header-3-dropdown-1 img{
    height:auto !important;
    width: 22px;
    margin-right: 0;
}

/*按鈕為一張圖或有背景圖時選用下方 start*/
/*
.menu-1 a .menu1-imgbtn1 {
    background-size: contain;
    background-position: center center;
}

.menu-1 a:hover .menu1-imgbtn1 {
    background: -moz-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -webkit-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -ms-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
}

.menu-1 a .menu1-imgbtn2 {

    background-size: contain;
    background-position: center center;
}

.menu-1 a:hover .menu1-imgbtn2 {
    background: -moz-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -webkit-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -ms-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
}

.menu-1 a .menu1-imgbtn3 {

    background-size: contain;
    background-position: center center;
}

.menu-1 a:hover .menu1-imgbtn3 {
    background: -moz-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -webkit-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -ms-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
}

.menu-1 a .menu1-imgbtn4 {

    background-size: contain;
    background-position: center center;
}

.menu-1 a:hover .menu1-imgbtn4 {
    background: -moz-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -webkit-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
    background: -ms-linear-gradient(90deg, rgb(0, 78, 194) 0%, rgb(0, 149, 253) 100%);
}*/

.menu-1 a .menu-1-btn .menu-1-btn_img {
    max-height: 50px;
}


/*按鈕為一張圖時選用下方 end*/

/*圖示和文字分開時選用下方 start*/
.menu-1 a .menu-1-btn div:first-child {
    height: 30px;
}

.menu-1 a .menu-1-btn div img {
    height: 100%;
}

/*圖示和文字分開時選用下方 end*/

/* @media screen and (max-width:1024px) {
    .menu-1 {
        display: grid;
    }
} */

/* 選單1 手機底部選單  menu-1 end */



/*-----------------  1200px寬頂部欄 header-3_start ---------------------*/

.header-3 {
    width: 100%;
    top: 0;
    z-index: 999;
    height: 90px;
    /* HEADER高度修改 */
    background-color: #fff;
    position: fixed;
    padding: 0 .5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    background-color: #0d1e30;
    border-bottom: 1px solid #ffdd65;
}

.header-3 .header-3-logo {
    /*    display: inline-block;*/
    display: flex;
    max-width: 100px;
    height: 100%;
    /*    background: #202020;*/
    align-items: center;
    justify-content: flex-start;
}

.header-3-dropdown-1 {
    /* display: flex;
    padding-right: 15px;
    height: 100%;
    justify-content: flex-end;
    align-items: center; */

    display: none;
}

.header-3-dropdown-1 > .header-3-dropdown-1-main {
    margin: 0 5%;
}

/*
.header-3-dropdown-1 > .header-3-dropdown-1-main {
    display: inline-flex;
}
*/

.header-3-dropdown-1-main {
    text-decoration: none;
    color: white;
    transition: 0.3s;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.header-3-dropdown-1-main:last-child {
    /*    padding-right: 12px;*/
}

.header-3-dropdown-1-main:hover {
    color: grey;
}

.header-3-dropdown-1 .dropdown {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
}

.header-3-dropdown-1 .header-3-dropdown-1-main {
    height: 100%;
}

.header-3-dropdown-1 .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 100vw;
    z-index: 1;
    top: 90px;
    left: 0px;
    /*    margin-top: 39%;*/
    background: rgb(190, 190, 190);
    overflow: hidden;
}

.header-3-dropdown-1 .dropdown-content a {
    color: black;
    text-align: center;
    border-bottom: 1px solid black;
    padding: 1rem;
    text-decoration: none;
    display: block;
    font-size: 14px;
    height: 100%;
}

.header-3-dropdown-1-main:hover + .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.header-3 .show-menu-btn,
.header-3 .hide-menu-btn {
    font-size: 17px;
    transition: 0.4s;
    cursor: pointer;
    display: none;
}

.header-3 .show-menu-btn {
    position: absolute;
    top: .5rem;
    left: .5rem;
}

.header-3 .show-menu-btn:hover,
.header-3 .hide-menu-btn:hover,
.header-3 .menu a:hover {
    /* color: #000000; */
}

.header-3 #chk {
    position: absolute;
    visibility: hidden;
    z-index: -1111;
}


.header-3 .chaxun {

    display: block;
    position: absolute;
    right: 0;
    top: 0.4rem;
}

.header-3 .chaxun img {

    width: 65%;
}




body {
    background: url(../img/bg.png) no-repeat;
    box-sizing: border-box;
    background-size: 100% 100%;
    background-attachment: fixed;
}



.maincontent {

    width: 100vw;
    height: 100vw;
    background: url(../img/gift.png) no-repeat;
    background-position: top center;
    background-size: 100% auto;
    position: relative;
    /*    display: flex;*/
    justify-content: center;

    position: fixed;
    bottom: 0;
    z-index: -10;
}


.marquee {
    height: 35vw !important;
    width: 68%;
    overflow: hidden;
    box-sizing: border-box;
    font-size: .5rem;
    max-width: 235px;
    max-height: 383px;
    margin-top: 33%;
    margin-left: 7%;
}

.marquee .m1,
.marquee .m3 {
    color: #ff0000;
}

.marquee .m2 {
    color: #3100ff;
}

.marquee .m4 {
    color: #18cc00;
}





.inputcontent {

    box-sizing: border-box;
    max-width: 373px;
    margin: -90px auto 0 auto;
    background-size: 100% 100%;
    background-position: top center;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
}

.inputcontent .input {
    /* display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 45px;
    justify-content: center;
    align-items: center; */
    margin: 3% auto;
    width: 85%;
    /* line-height: 100%; */
    padding: 1%;
}


.inputcontent .input div {
    height: 100%;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    margin: 0 5%;
    text-align: center;
    width: 90%;
}

.floatcontent > div {
    text-align: center;
}

.inputcontent .input .i_title {
    font-size: 1rem;
    color: #fff;
    /*        text-shadow: 0px 2px 2px #000;*/
    font-weight: bolder;
}

.r_title {
    display: flex;
    justify-content: center;
    padding-left: 5%;
    margin: 9% auto -7% auto;
    box-sizing: border-box;
}

.btns {
    /*     background:url(../img/buttonbg.png) no-repeat;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 90%;
    height: 100%;
    margin: auto;
    max-height: 45px;
}

.btns a {
    width: 100%;
    height: 100%;
    background: url(../img/receive.png) no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    background-position: center center;
    /*    margin: 0%;*/
    padding-bottom: 3%;
}

/*
.i_input input {
    border: 3px solid #6273c8;
    padding: 5px;
    border-radius: 10px;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
}
*/
.i_input {
    /*    padding: 2%;*/
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 30px;
}


.i_input_inside {
    background: #fff;
    /*    padding: 0 8%;*/
    border-radius: 5px;
    box-sizing: border-box;
    /*    box-shadow: 0px 2px 2px #2e6092 inset;*/
    width: 100%;
}


.i_input input {
    /*    border: 3px solid #6273c8;*/
    width: 100%;
    /* height: 80%; */
    box-sizing: border-box;
    border: none;
    font-size: 20px;
    text-align: center;

    height: 45px;
    border-radius: 5px;
}

.btns .btn1 {
    /*    background: #f19149;*/
    width: 50%;
    max-width: 200px;
    height: 100%;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 5%;
    font-size: 17px;
    font-weight: bolder;
    width: 90%;
    max-width: 200px;
    color: #c11e01;
    margin: auto;
    text-align: center;
}

.btns .receive {
    /*        background: #f19149;*/
    width: 50%;
    max-width: 200px;
    height: 100%;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 5%;
    font-size: 17px;
    font-weight: bolder;
    width: 90%;
    max-width: 200px;
    color: #c11e01;
    margin: auto;
    text-align: center;
    font-weight: bold;
}






#lightbox_lightboxbg ,#lightbox_lightboxbg_sbox{
    /* display: none; */
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0px;
    left: 0px;
    min-width: 100%;
    min-height: 100%;
    z-index: 1000;
}

.lightbox {
    /* display: none; */
    position: fixed;
    width: 100%;
    z-index: 1001;
}

.lightbox1_lightbox-content {
    height: 219px;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    box-sizing: border-box;
    padding: 11% 2% 5% 14%;
    text-align: center;
    /* background: url(../img/img03.png) no-repeat;
    background-size: contain; */
    text-align: left;
}

.lightbox1_lightbox-close {
    display: block;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    position: absolute;
    bottom: -10vh;
    right: 140px;
    -moz-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    transition: ease-in-out 0.5s;
    border-radius: 100%;
    text-align: center;
    background: url(../img/close.png) no-repeat;
    background-size: contain;
}


.lightbox2_lightbox-close {
    display: block;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    position: absolute;
    /* top: 223px;
    right: 170px; */
    top: 30vh;
    right: calc(50vw - 18px);
    -moz-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    transition: ease-in-out 0.5s;
    border-radius: 100%;
    text-align: center;
    background: url(../img/close.png) no-repeat;
    background-size: contain;
}



.searchBox {
    /*display: none;*/
    /* padding: 3.3rem; */
    width: 20rem;
    position: fixed;
    /*
    left: 50%;
    top: 50%;
*/
    /* display: none; */
    z-index: 10000;
    border-radius: 0.3rem;
    box-sizing: border-box;
    background: #0d1e30;
    /*
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
*/
    border-radius: 0.8rem;
    border: 1.5px solid #ffd259;

    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    max-width: 95%;
}

.searchBox .close {
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
}

.searchBox p {
    margin: 0.3rem 0;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
}

.searchBox .search {
    margin: 0 auto 1rem;
    /*    width: 8rem;*/
    position: relative;
}

.searchBox .search input {
    margin: 0;
    padding: 0 0.5rem;
    width: 100%;
    height: 2.3rem;
    color: #161616;
    font-size: 0.35rem;
    line-height: 1.2rem;
    box-sizing: border-box;
    border-radius: 3.3rem;
    border: none;
    background: #fff;
}

.searchBox .search a {
    display: block;
    position: absolute;
    height: 100%;
    right: 0;
    top: 0;
    overflow: hidden;
    zoom: 1;
}

.searchBox .search a img {
    width: auto;
    height: 100%;
    display: block;
    float: right;
}

.searchBox .search input::-webkit-input-placeholder {
    color: #161616;
}

.searchBox .search input::-moz-placeholder {
    color: #161616;
    opacity: 1;
}

.searchBox .search input:-moz-placeholder {
    color: #161616;
    opacity: 1;
}

.searchBox table {
    width: 100%;
    border-collapse: collapse;
}

.searchBox th {
    color: #ffffff;
    font-size: 0.35rem;
    line-height: 1.8rem;
    text-align: center;
    background: #bc0000;
    border: 1px solid #ffffff;
}

.searchBox td {
    padding: 0.2rem;
    color: #ffdecf;
    font-size: 0.35rem;
    line-height: 1.7;
    text-align: center;
    border: 1px solid #fff;
    background: #8E1D0A;
}

.searchBox td span {
    color: #fff21c;
}

.searchBox tr:nth-child(2n+1) td {
    background: #9F220D;
}




.s-title {
    color: #ffe522;
    font-size: 28px;
    font-weight: bolder;
}

.s-input {
    display: grid;
    grid-template-columns: 40% 60%;
    font-size: 1rem;
}

.s-input input {
    height: 100%;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 1%;
}

.s-btn {
    background: #34b3f4;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 5%;
    font-size: 20px;
    font-weight: bolder;
    width: 100%;
    max-width: 200px;
    color: #fff;
    margin: auto;
    text-align: center;
}

.s_hr {
    border: 1px solid #2ea3f2;
    width: 100%;
    height: 1px;
}

.s-result {
    width: 100%;
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.s-result table tr td {
    border: 1px solid #313131;
}

#sbox .lightbox1_lightbox-content > div,
#sbox .lightbox1_lightbox-content > a {
    margin: 2% 0 0 0;
    width: 100%;
}

.lightbox-title {
    background: url(../img/btnbg.png) no-repeat;
    background-size: 100% 100%;
    width: 60%;
    /* height: 70px; */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
    margin: 1% auto;
    padding: 6%;
    max-width: 221px;
    max-height: 70px;
}
}

.cooperation {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    justify-content: center;
    text-align: center;
    grid-gap: 5%;
}

.logo_item {
    display: grid;
    grid-template-rows: 70% 30%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2%;

}

.act_content {
    width: 100%;
    text-align: left;
}

.act_content a:link,
.act_content a:visited,
.act_content a:checked {
    color: red;
}

.act_content table {
    width: 100%;
    text-align: center;
    font-size: .5vw;
}

.act_content table tr:first-child td {
    background: #e5e5e5;
}

.red {
    font-size: 1rem;
    color: #ff0000;
}

.cooperation {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    justify-content: center;
    text-align: center;
}

.footmenu {
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
    width: 90%;
    max-width: 221px;
    /*    max-width: 373px;*/
    margin: 2% auto;
    z-index: 2;
}

.menu {
    background: url("../img/btnbg.png") no-repeat;
    background-size: 100% 100%;
    width: 100%;
    /*    height: 70px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
    margin: 1%;
    padding: 10%;
}

.logos img {
    width: 90%;
}

.maintitle {
    max-width: 450px;
    margin: 60px auto 0 auto;
    text-align: center;
}

.phonebg {
    width: 100%;
    margin: -4px auto 0 auto;
    text-align: center;
}

.copyright {
    position: relative;
    width: 100%;
    text-align: center;
    /*            margin-top: 5%;*/
    /*        bottom: 13%;*/
    color: #FFFFFF;
    /*    position: fixed;*/
    /*    bottom: 72px;*/
    margin: 2rem 0 5rem 0;
    font-size: 13px;

}

.container {
    /*        padding-bottom: 90px;*/
    /*    padding-bottom: 22%;*/

}

@media screen and (max-width:1024px) {
    .header-3 {
        height: 43px;
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main .menuimg,
    .header-3-dropdown-1 .header-3-dropdown-1-main .menutext {
               display: inline-block;
        /*        height: 50px;*/
        /*        line-height: 50px;*/
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main .menutext {
        margin-left: 0;
        width: 100px;
    }

    .header-3-dropdown-1 .header-3-search {
        display: block;
    }

    .header-3 .show-menu-btn,
    .header-3 .hide-menu-btn {
        display: block;
        color: #ffffff;
        font-size: 2rem;
        line-height: 30px;
    }

    .header-3 .show-menu-btn:hover,
    .header-3 .hide-menu-btn:hover {
        /*        color: blueviolet;*/
    }

    .header-3-dropdown-1 {
        position: fixed;
        flex-direction: column;
        /*        flex-wrap: wrap;*/
        /*        width: 170px;*/
        height: 100vh;
        background: #0d1e30;
        left: -100%;
        top: -17px;
        text-align: center;
        padding-top: 70px;
        transition: 0.7s;
        line-height: normal;
        list-style: none;
        z-index: 999;
        /* justify-content: flex-start; */
        padding: 60px 5% 0 5%;

        display: block;
        /* align-items: center; */
    }

    .header-3-dropdown-1-main:hover + .dropdown-content,
    .dropdown-content:hover {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main {
        font-size: 16px;
        color: #ffffff;
        display: block;
        /*        overflow: hidden;*/
        height: auto;

    }

    .header-3-dropdown-1 .hide-menu-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        color: #ffffff;
    }

    #chk:checked ~ .header-3-dropdown-1 {
        left: 0;
        /*        top: -17px;*/
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main {
        /* display: flex; */
        width: 100%;
        /* justify-content: flex-start; */
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main > div {
        /* display: grid;
        grid-template-columns: 20% 80%;
        justify-content: flex-start; */

        /* align-items: center; */
        margin-bottom: 1rem;
        /* width: 100%; */
        /* display: flex; */
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main > div > div {
        /* display: flex;
        align-content: center;
        justify-content: center; */
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main:hover .i-down {
        display: none;
    }

    .header-3-dropdown-1 .header-3-dropdown-1-main:hover .i-up {
        display: inline-flex;
    }

    .header-3-dropdown-1 .main-dropdown {
        margin-bottom: 0px;
    }

    .header-3-dropdown-1 .dropdown-content {
        background-color: rgb(237, 184, 9);
        z-index: 1;
        width: 100%;
        position: relative;
        top: 0;
        padding-bottom: 1rem
    }

    .header-3-dropdown-1 .dropdown-content a {
        color: white;
        border-bottom: 0;
        padding: 2px 6px;
        font-size: 18px;
        width: 100%;
    }

    .header-3-dropdown-1 .dropdown-content a:hover {
        color: gray;
    }

    .header-3 .header-3-logo {
        /*        justify-self: center;
*/
        margin: auto;
    }

    .header-3-dropdown-1-main > .header-3-dropdown-1-main {
        height: 50px;
        display: flex;
        margin: .2rem;
    }

}


@media screen and (min-width:1025px) {
    .marquee {
        height: 11vh !important;
        width: 60vw;
        overflow: hidden;
        box-sizing: border-box;
        font-size: .5rem;
        max-width: 235px;
        max-height: 383px;
        margin-top: 33%;
        margin-left: 7%;
    }

    .inputcontent {
        padding: 2% 3% 6% 3%;
        margin: auto;
    }
}

@media screen and (min-width:960px) and (max-width:1024px) {
    .marquee {
        height: 52% !important;
        width: 60vw;
        overflow: hidden;
        box-sizing: border-box;
        font-size: .5rem;
        max-width: 235px;
        max-height: 383px;
        margin-top: 33%;
        margin-left: 7%;
    }



    .inputcontent {
        padding: 6% 3% 6% 3%;
        margin-top: -25%;
    }



}


@media screen and (min-width:768px)and (max-width:959px) {



    .marquee {
        height: 51% !important;

    }



    .inputcontent {
        padding: 2% 3% 6% 3%;
        margin-top: -25%;
    }
}

@media screen and (max-width:480px) and (max-height:820px) {}

@media screen and (max-height:736px) {
    .maintitle {
        max-width: 80vw;
    }

    .phonebg {
        max-width: 80vw;
    }
}

.menu-1-btn_text_0040 {

    font-size: 10px;
}

[v-cloak] {
    display: none;
}

.layui-layer-dialog .layui-layer-content{
	color:#000;
}

/*分頁*/
#pages{
	text-align: center;
}

#pages .layui-laypage-next , #pages .layui-laypage-prev, #pages .layui-laypage a,#pages .layui-laypage-spr{
    background: #0d1e30;
    border: 1px solid #f6db60;
}
#pages .layui-laypage-em{
    background:  #f6db60;
    border: 1px solid #f6db60;
    padding: 0;
}

#pages .layui-laypage a{
    color: #fff;
}

.layui-laypage a, .layui-laypage span{
    padding: 0 10px;
}

.close-desc {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    padding: 5px;
    border-radius: 5px;
    word-break: break-all;
}