﻿@charset "utf-8";
html, body {
    height: 100vh;
    overflow-y: auto;
}

/* CSS Document */
a img{
	border:none;
}
ul,ol{
	list-style-type:none;
}
*,html {
	margin: 0px;
	padding: 0px;
}
body {
    font-family: Arial,  'Microsoft JhengHei', sans-serif;
    background-color: #000;
}
a{
	text-decoration: none;
	color: #fff;
}
#header_in {
    width: 100%;
    margin: auto;
    height: 60px;
    background-color: #000;
}

    #header_in > div {
        height: 60px;
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 10;
        background-color: #000;
        display: flex;
        justify-content: space-between;
        background-color: #000;
        margin: auto;
    }


    .logoBlock {
        height: 60px;
        display: flex;
        align-items: center;
    }
.logoBlock > *{
    margin: auto 1%;
}

    .logoBlock > a {
        height: 75%;
    }
.logo{
	height: 100%;
}
.shareIcon{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}
.shareIcon > a {
    margin-right: 5px;
}

#audio_start{
	width:25px;
	height:25px;
}


#audio_start{
	width: 50px;
    height: 50px;
    float: left;
    margin-left: 10px;
    position: relative;
}
#audio_start > div{
	width: 100%;
    height: 100%;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}
.body_style {
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat, no-repeat,repeat-x;
    background-position: center top,center bottom,center top;
    background-size: cover;
    background-color: #000;
}
#wrapper {
    width: 100%;
    margin: auto;
    padding-top: 2%;
    min-height: calc(100vh - 110px);
    max-width: 90%;
}
	
#main_block{
	width:100%;
	
}
#main_block_mobile{
	display: none;
}
.winner_box{
	width: 100%;
    height: auto;
    display: inline-block;
    margin: 0 auto 2% auto;
    text-align:center;
}
.winner {
	padding: 0 1.25em;
    height: auto;
    color: #fff;
    background-color: #d20040;
    text-align: center;
    font-size: 1.5em;
    font-weight: 800;
    line-height: 2.3em;
    display: inline-block;
    margin: 0 1%;
    cursor: pointer;
	-moz-box-shadow: 0px 1px 0px 0px #f0f7fa;
	-webkit-box-shadow: 0px 1px 0px 0px #f0f7fa;
	box-shadow: 0px 1px 0px 0px #f0f7fa;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #de4274), color-stop(1, #d2003f));
	background:-moz-linear-gradient(top, #de4274 5%, #d2003f 100%);
	background:-webkit-linear-gradient(top, #de4274 5%, #d2003f 100%);
	background:-o-linear-gradient(top, #de4274 5%, #d2003f 100%);
	background:-ms-linear-gradient(top, #de4274 5%, #d2003f 100%);
	background:linear-gradient(to bottom, #de4274 5%, #d2003f 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#de4274', endColorstr='#d2003f',GradientType=0);
	background-color:#de4274;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #7c0014;
	text-decoration:none;
	text-shadow:0px -1px 0px #5b6178;
}
.btn{
    width: 60%;
    height: auto;
    color: #fff;
    background-color: #d20040;
    text-align: center;
    font-size: 1.5em;
    font-weight: 800;
    line-height: 2.3em;
    display: inline-block;
    margin: 1% 1%;
    cursor: pointer;
    -moz-box-shadow: 0px 1px 0px 0px #f0f7fa;
	-webkit-box-shadow: 0px 1px 0px 0px #f0f7fa;
	box-shadow: 0px 1px 0px 0px #f0f7fa;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #3476e0), color-stop(1, #0047ba));
	background:-moz-linear-gradient(top, #3476e0 5%, #0047ba 100%);
	background:-webkit-linear-gradient(top, #3476e0 5%, #0047ba 100%);
	background:-o-linear-gradient(top, #3476e0 5%, #0047ba 100%);
	background:-ms-linear-gradient(top, #3476e0 5%, #0047ba 100%);
	background:linear-gradient(to bottom, #3476e0 5%, #0047ba 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3476e0', endColorstr='#0047ba',GradientType=0);
	background-color:#3476e0;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #033e9c;
	text-decoration:none;
	text-shadow:0px -1px 0px #5b6178;
}

.winner:hover,.btn:hover{
	background-color: #4c4c4c;
}
#main_block img , #main_block_mobile img{
	width:100%;
}
#main_block>ul li{
	width:100%;
	float:left;
}
.footer{
	width: 100%;
	color: #fff;
	text-align: center;
	height: 50px;
	background-color: #3e3a39;
	line-height: 50px;
	font-size: 0.8em;
	letter-spacing: 2px;
}

#Default {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    height:inherit;
    min-height: 70vh;
    margin: auto;
}
/*mask中獎名單*/
.mask_bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #121214 url(../images/close.png) no-repeat;
    background-position: 98% 5%;
    z-index: 9980;
    top: 0;
    left: 0;
    opacity: 0.9;
}
.mask_content {
    display: none;
    width: 80%;
    max-height: 80vh;
    overflow-x:  auto;
    height: auto;
    position: absolute;
    top: 10%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    left: 10%;
    border: 1px solid #fff;
    color: #FFFFFF;
    padding: 2%;
    line-height: 2em;
}
.mask_content img {
    height:auto !important;
    max-width:600px !important;
    }
.itemCon {
        display: block;
        text-align: center;
    }
.item{
	width:49%;
	display:inline-block;
	margin: 0px auto;
	text-align: center;
}
.itemImg{
	width:40%;
	display:inline-block;
	vertical-align: middle;
}
.itemImg img{
	width: 100%;
}
.itemWord{
	width: 50%;
    display: inline-block;
    color: #fff;
    font-size: 1.3em;
    vertical-align: middle;
}
.itemWord p{
    line-height: 1.3em;
}


/*mask end*/

@media only screen and (min-width: 1200px) {
    #header_in > div {
        padding: 0 25%;
    }

    #wrapper {
        max-width: 900px;
    }
}

@media only screen and (min-width: 980px){
    #wrapper {
        max-width: 900px;
    }
}

@media only screen and (max-width: 768px){

	/*中獎名單*/
    .mask_bg {
        background-position: 98% 3%;
    }
    .mask_content {
        width: 90%;
        left: 45%;
        top: 8%;
        max-height: 85vh;
        margin-left: -40%;
    }
	.itemCon {
	    display: block;
	}	
	.itemWord {
	    font-size: 1.1em;
	}
}

@media screen and (min-width: 415px) and (max-width: 736px){
	.body_style{
		/*background-size: auto 100%;*/
	}
}




@media only screen and (max-width: 414px){
	.body_style{
		/*background-size: auto 100vh;*/
	}
	#audio_start {
	    width: 30px;
	    height: 30px;
	    margin-left: 0;
	}
    .mask_content img {
        width: 100% !important;
    }
    #audio_start li {
        width: 30px;
        height: 30px;
        top: 10px;
    }
	
	.winner, .btn {
	    font-size: 1.2em;
	}
	#main_block{
		display: none;
	}
	#main_block_mobile{
		display: block;
	}
	/*中獎名單*/
	.item {
	    width: 100%;
	}
}

@media only screen and (max-width: 360px){
	.footer{
		font-size: 0.6em;
	    letter-spacing: 1px;
	}
	.itemWord {
	    font-size: 1em;
	}
}


@media only screen and (max-width: 320px){

	.itemWord {
	    font-size: 0.9em;
	}

    .logoBlock > a {
        height: 25px;
    }
}	
