/* CSS Document */
/************************************************************************************
RESET
*************************************************************************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;}

body {
    color:#333;
    font-family: '微軟正黑體';
    -webkit-text-size-adjust: none;/*防止allpe的safari瀏覽器字體變大*/
    background-color:#5ebfed;}

ol, ul {
    list-style: none;}

/* * {
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;} */

a {text-decoration: none;}
a {color:#333; text-decoration: none;}
a:hover {text-decoration:none;}

img {
  border: none;}

  
ol, ul, li {
  list-style: none;}

input, textarea, select, button {
  font-size: 14px;}



/* 共同樣式區 */

.bg_mob{
    display: none;
}


.popup {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
;}

.popupbox_nav{
    justify-content: center;
    align-items: center;
    display: flex;
    width:90%;
    height:100%;
    max-width: 580px;
    margin:0 auto;
}

.popupbox{
    justify-content: center;
    align-items: center;
    display: flex;
    width:90%;
    height:100%;
    max-width: 480px;
    margin:0 auto;
}

.X{
    /* background: url(../images/X.png); */
    width: 33px;
    height: 33px;
    position: absolute;
    top:-15px;
    right:-15px;
    cursor:pointer;
    display: block;
}




/* header Block Start */

.header{
    width:100%;
    padding:5px 10px;
    background-color: #273bff;
    margin:0 auto;
}

.header .headerbox{
    width:100%;
    max-width: 2000px;
    display: flex;
    align-items: center;
}

.header_right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width:100%;
}

.header_right li a{
    display: inline-block;
    padding-right:8px;
    color:#fff;
}

.main{
    width:100%;
    margin: auto;
    overflow: hidden;
}

/* sea block Start */
.sea_conetnt{
    background: url(../images/bg_pc.jpg) no-repeat top;
    width:100%;
    height:auto;
     ;
}




.top_content{
    width:100%;
    height:647px;;
    max-width: 960px;
    margin:0 auto;
    position: relative;
}

.main_title{
    width:512px;
    padding-top:50px;
    margin:0 auto;
}

.date{
    position: absolute;
    top:-7px;
    left:127px;
}

.workout{
    position: absolute;
    top:194px;
    right:14px;
}

.ice{
    position: absolute;
    top:197px;
    left:55px;
}

.joinbtn{
    width:100%;
    text-align: center;
    margin:45px 0 0 0;
    
}

.joinbox{
    max-width: 480px;
    margin:0 auto;
}

.joinbox a{
    position: relative;
    font-size:24px;
    display: inline-block;
    margin: 0 auto;
    padding:10px 70px;
    border-radius: 25px;
    text-align: center;
    background-color: #ffe400;
    color:#ff4800;
    font-weight: bold;
    box-shadow: 0 3px 0 #ff4800;
    cursor: pointer;
    z-index: 99;
}

.joinbox a:hover{
    background-color: #009a44;
    color:#fff;
    box-shadow: 0 3px 0 #ffe400;
}


.fingerjoin{
    position: absolute;
    bottom:-20px;
    right:0;
}

/* beach block Start */


.beach_content{
    background: url(../images/bg_beach.png) no-repeat top;
    width:100%;
    height:auto;
    margin-top:-150px;
    z-index: -1;
}

.bottom_content{
    width:100%;
    max-width: 1440px;
    height:auto;
    margin:0 auto;
}

.beach_icon{
    background: url(../images/beach-icon.png) no-repeat bottom;
    padding-top:29px;
}

.beachbox{
    display: flex;
    width:100%;
    margin:0 auto;
    justify-content: center;
    align-items: center;
    padding-top:160px;
}

/* 輪播owl權重 */

.bottom_content .owl-carousel .owl-stage-outer{
    position: relative;
    overflow:inherit;
}

.beachbox li:hover{
    transform: scale(1.1) translateY(-3%);
}

.prizetime{
    width:100%;
    text-align: center;
    padding-bottom: 37px;
}

.timebox{
    max-width: 480px;
    margin:0 auto;
}

.timebox a{
    position: relative;
    font-size:24px;
    display: inline-block;
    margin: 0 auto;
    padding:8px 30px;
    border-radius: 10px;
    text-align: center;
    background-color: #5ebfed;
    color:#fff;
    font-weight: bold;
    box-shadow: 0 3px 0 #2e6f8e;
}

.timebox a:hover{
    background-color: #59d2e7;
}

.fingertime{
    position: absolute;
    bottom:-25px;
    right:0;
}

/* 注意事項 block */
.popupbox_notice{
    background-color:#fff;
    border-radius: 10px;
    padding:30px 20px;
    position: relative;
}

.notice{
    overflow-x: hidden;
    overflow-y: auto;
    height:480px;
    margin: auto;
    text-align: center;
}

.popup_title{
    font-size: 22px;
    border-bottom: 4px solid #273bff;
    display: inline-block;
    margin-bottom: 25px;
    color:#273bff;
}

.notice ul li{
    font-size:14px;
    line-height: 24px;
    text-align: left;
}

/* 活動辦法 */

.popupbox_act{
    background-color:#fff;
    border-radius: 10px;
    padding:30px 20px;
    position: relative;
}

.activity{
    height:480px;
    margin: auto;
    text-align: center;
}

.activity ul li{
    font-size:14px;
    line-height: 23px;
    text-align: left;
}

.titlecolor{
    color:#273bff;
}
/* scrollbar hidden */
.activity::-webkit-scrollbar,.notice::-webkit-scrollbar,.list::-webkit-scrollbar{
    display: none;
}
/* scrollbar hidden */
.activity,.notice,.list{
    -ms-overflow-style: none;
	overflow: auto;
}

.prizedayline{
    padding:20px;
    margin-top:10px;
    background-color :#ffe6b0;
    border:#ff4800 2px solid;
    border-radius: 10px;
}

.prizedayline p:nth-child(1){
    font-size: 22px;
    border-bottom: 4px solid #e73f0f;
    display: inline-block;
    margin-bottom: 25px;
    color:#e73f0f;
}

.prize_container span:nth-child(1){
    color:#ff4800;
    background-color: #ffe400;
    border-radius: 8px;
    padding:3px;
}

.prize_container span:nth-child(2){
    color:#ff0000;
}
.prize_container span:nth-child(4){
    color:#ff0000;
}
.prize_container span:nth-child(5){
    color:#ff0000;
}

.prize_container strong{
    color:#ff0000;
}

/* 得獎名單 */

.popupbox_prizelist{
    background-color:#fff;
    border-radius: 10px;
    padding:30px 20px;
    position: relative;
}

.list{
    height:480px;
    margin: auto;
    text-align: center;
}

.list ul li{
    font-size:14px;
    line-height: 25px;
    text-align: left;
    border-bottom:solid 1px #d5d5d5;
    padding-bottom:5px;
    margin-bottom:5px
}

.list ul li:hover{
    background-color: #fff6ca;
}

.list_container .day{
    color:#ff4800;
    background-color: #ffe400;
    border-radius: 8px;
    padding:3px;
}

.list_container .name{
    font-size:15px;
    font-weight: bold;
}

.list_container div{
    color:#ff4800;
    /* display: none; */
}

.week{
    color:#d60563;
}

.listhidden{
    display: none;
}


/* app導連 */

.popupbox_app{
    background-color:#fff;
    border-radius: 10px;
    padding:30px 20px;
    position: relative;
}

.appbox{
    overflow-x: hidden;
    overflow-y: auto;
    height:auto;
    margin: auto;
    text-align: center;
}

.appbox .link{
    text-align: center;
    display: inline-block;
    padding:10px 0;
}

.appbox .link img{
    padding-bottom:10px;
}

.app li{
    text-align: left;
    font-size:15px;
    line-height: 24px;
}

.tag{
    color:#ff0000;
    font-size: 24px;;
}

.fiveday{
    color:#ff0000;
    background-color: #ffe400;
    font-size: 24px;
    padding:0px 3px;
}

@media only screen and (max-width: 960px) {


    .top_content{
        height:auto;
    }

    .main_title,.date,.workout,.ice{
        display: none;
    }

    .main-mob {
        width:100%;
        height:auto;
        padding:0;

    }

    .main-mob .bg_mob{
        width:100%;
        height:auto;
        margin: 0 auto;
        position: relative;;
        display: block;
        z-index: -1;
    }

    .sea_conetnt{
        background:none;
    }

    .joinbtn{
        margin:-50px 0 0 0;
    }

    .beach_content{
        margin-top:0px;
    }
}

@media only screen and (max-width: 768px) {

    

    .fb img,.line img{
        width:70%;
        display: inline-block;
    }
}

@media only screen and (max-width: 680px) {

    

    .headerbox .logo a img{
        width:100%;
    }

    .header_right li{
        font-size:14px;
        text-align: center;
    }


    .joinbox a{
        font-size:18px;
        padding:5px 40px;
    }
}

@media only screen and (max-width: 480px) {
    
    .header .headerbox{;
        flex-wrap: wrap;
        justify-content: center;
        
    }

    .headerbox .logo a img{
        width:70%;
        padding-bottom:5px;
        margin:0 auto;
    }

    .header_right{
        justify-content: center;;
    }

    .header_right li a{
        padding-right:5px;
    }

    .joinbtn{
        margin:-34px 0 0 0;
    }
    
    .beach_content{
        margin-top:-63px;
    }
}

@media only screen and (max-width: 375px) {

    .popupbox_prizelist,.popupbox_notice,.popupbox_act{
        padding:10px 20px;
    }

}

