﻿/*首頁*/
/* --電腦版型------------------------------------- */
.ternbody{
    position: relative;
    z-index: 1;

    background: #fff;
}
.ternbody *:not(i) {
	font-family: '微軟正黑體';
}

.wrapper{
    width: 1028px;
    margin: 0 auto;
}

.header{
    display: none;
}
.hea02{
    display: block;
}

.container{
    clear: both;
    overflow: hidden;

    width: 100%;
    margin-top: 10px;
}

.CL{
    clear: both;
}
.FL{
    float: left;
}
.FR{
    float: right;
}

.container .ACT .con01{
    background: url(../images/act_BG.jpg) no-repeat right -50px;
}
.container .ACT .con01 h6{
    font-size: 2.25em;
    font-weight: bold;

    /*float: left;*/

    /*height: 200px;*/
    /*padding: 50px 0 0 6px;*/

    letter-spacing: 4px;

    color: #d10313;
    text-shadow: 10px 7px 2px #fff;

    -webkit-writing-mode: vertical-lr;
            writing-mode: vertical-lr;
}
.container .ACT .con01 h4{
    font-size: 1.4em;
    line-height: 2em;

    display: block;

    width: 100%;
    height: 100px;
    margin-top: 35px;

    text-align: center;
    letter-spacing: 1px;

    color: #fff;
    background: url(../images/TIT01.png) no-repeat center;
    text-shadow: 1px 1px 1px rgba(122,69,0, .7);
    font-weight: bold;
}
.container .ACT .con01 p{
	line-height: 1.8em;
	letter-spacing: 1px;
	text-align: justify;
	color: #000;
	font-weight: normal;
	font-size: 1.18em;
}
img.person{
    /*float: left;*/

    margin-top: 45px;
}

.flex_this {
	display: flex;
    align-items: center;
}
.flex_this .flex_1 {
    
}
.flex_this .flex_2 {
    /*margin-left: 50px;*/
    margin: -30px 0px 0px 10px;
}
.flex_this .flex_3 {
    /*margin-left: 25px;*/
 	margin: 10px 0px 0px 65px;
}



.ACT_bg{
    position: absolute;
    z-index: -1;
    left: 0;

    width: 100%;
    height: 450px;
    margin-top: -55px;

    background: url(../images/act_BG.svg) repeat left center;
    background-size: 20%;
    box-shadow: 1px 2px 5px rgba(168,168,168,.3) ,  1px -2px 5px rgba(168,168,168,.3) ;
}


.con02{
    float: left;
    font-weight: bold;
    width: 1024px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 46px;
}

.con02 .ML31{
    margin-right: 62px;
}
.con02 .MR31{
    margin-right: 0;
}


.container .BOX p.btn1{
    position: absolute;

    float: left;

    width: 300px;
    height: 82px;
    margin-top: -5px;
}

.container a .BOX p.btn1{
    display: block;

    background: url(../images/bt01.png) bottom right no-repeat;
}

.container a:hover .BOX p.btn1{
    display: block;

    background: url(../images/bt02.png) bottom right no-repeat;
}

.container a .BOX p.btn2{
    display: block;
    float: left;

    width: 300px;
    height: 42px;

    background: url(../images/bt03.png) no-repeat right;
    position: absolute;
    bottom: 40px;
}

.container .BOX{
    float: left;

    width: 300px;
    height: 320px;
}

.container .BOX img{
    width: 300px;
    height: 200px;
    padding-top: 0;
    margin-bottom: 10px;

    border: 10px;
}


.container .BOX p.f1,
.container .BOX p.f2{
    font-size: 1.6em;

    position: relative;

    width: 130px;
    margin: 6px auto 0 auto;

    text-align: justify;
    text-align: center;
}

.container .BOX p.f1{
    line-height: 2em;

    float: left;

    color: #555;
}

.container .BOX p.f2{
    float: right;

    color: #e56e04;
}


.container .BOX p.f3{
    font-size: 1.1em;
    line-height: 30px;

    position: relative;

    /*float: right;*/
    text-align: justify;

    margin: 6px auto 0 auto;

    text-align: justify;
    letter-spacing: 1px;

    color: #000;
    padding: 5px;
}

.user_done {
	border-bottom: 1px solid #ddd;
    padding: 30px 20px 10px;
	margin-bottom: 20px;
}
.user_done:not(.done) .user_done-box {
	display: none;
}
.user_done.done .user_done-loading {
	display: none;
}
.user_done-box {
	max-width: 900px;
	margin: 0 auto;
}
.user_done-loading {
    text-align: center;
    font-size: 15px;
    padding-bottom: 20px;
}
.user_done img {
	width: 100%;
    border-radius: 4px;
}
.user_done .user_done-img {
	max-width: 815px;
	margin: 0 auto;
}
.user_done .user_done-fb {
    max-width: 815px;
    margin: 20px auto;
    border-radius: 4px;
    padding: 20px 9px;
    background: #4465b8;
    display: flex;
    color: #fff;
    font-size: 23px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.user_done .user_done-fb:hover {
	background: #3b5998;
}
.user_done .user_done-fb img {
	width: 27px;
	height: 27px;
	margin-right: 15px;
}

#READ h6{
    font-size: 2.25em;
    font-weight: bold;
    line-height: 3em;

    text-align: center;
    letter-spacing: 1px;

    color: #614244;
}
#READ .con02 .BOX{
    height: 350px;
    position: relative;
}
#READ .con02 a:hover > .BOX {
	/*border: 1px solid #ddd;*/
	box-shadow: 1px 2px 3px 0px rgba(0,0,0,0.2);
}


/*感謝狀*/
#ad3 {
    position: absolute;
    z-index: 9;
    top: 7%;
    right: 0;
    bottom: 0;
    left: 0;

    display: block;

    width: 90%;
    height: auto;
    margin: auto;

    -webkit-transition: all .3s ease-out; /* 宣告 transition 動畫 */
}
.CLOSE{
    -webkit-transform: scale(0); /* 縮小到消失 */

    opacity: 0;
}
.OPEN_BG1{
    position: fixed;
    z-index: 8;
    top: 0;

    width: 100%;
    height: 100%;
    margin: 0;

    -webkit-animation-name: fadeIn2; /*动画名称*/
    -webkit-animation-duration: .5s; /*动画持续时间*/
    -webkit-animation-delay: 0s; /*延迟时间*/
    -webkit-animation-iteration-count: 1; /*动画次数*/

    background-color: rgba(0,0,0,.5);
}
.ad_close img{
    width: 60px;
    height: 60px ;
}
#thankBOX{
    width: 815px;
    margin: 0 auto;
}
#awarBOX{
    position: relative;

    width: 815px;
    height: 427px;
}
.awarbg{
    position: absolute;
    z-index: 1;

    width: 100%;
    height: auto;
}
#awarBOX .perBOX{
    position: relative;
    z-index: 2;

    width: 35%;
    height: auto;
    margin: 70px 0 0 70px;
    padding: 3px;

    -webkit-transform: rotate(-10deg); /* Safari 和 Chrome */
       -moz-transform: rotate(-10deg); 	/* Firefox */
        -ms-transform: rotate(-10deg); 	/* IE 9 */
         -o-transform: rotate(-10deg);
    /*旋轉十度*/
            transform: rotate(-10deg);

    border: 3px #bf3d66 solid;
    background: #fff;
}

#awarBOX .thank_FBOX{
    position: relative;
    z-index: 2; 

    width: 51%;
    margin-top: 175px;
}
#awarBOX .thank_FBOX .awar_name{
    font-size: 1.9em;
    font-weight: bold;
    line-height: 2.5em;

    color: #000;
}
#FBshare{
    position: relative;

    clear: both;

    width: 100%;
    padding-top: 9%;
}


/* --手機版型------------------------------------- */
@media only screen and (max-width: 670px) and (min-width: 200px) {
	.container {
	    max-width: 100%;
	}
}

@media only screen and (max-width: 1023px) {
	.container {
	     max-width: 100%;
	}
}
@media screen and (max-width: 736px) {
    #READ .con02 a:hover > .BOX {
        box-shadow: none;
    }
	.flex_this {
		display: inherit;
	    align-items: inherit;
	}
	.flex_this .flex_1,
	.flex_this .flex_2,
	.flex_this .flex_3 {
	    margin-left: inherit;
	}

	.user_done .user_done-fb {
		padding: 20px 9px;
	}
	.user_done .user_done-fb img {
		width: 23px;
		height: 23px;
		margin-right: 9px;
	}

	*{
	    box-sizing: border-box; /* 讓 padding 與 width 解除關係 */
	}

	html,
	body{
	    -webkit-text-size-adjust: none; /* iPhone 旋轉後 文字不要放大 */
	}



	.wrapper{
	    width: 100%;
	    margin: 0 auto;
	}


	.header{
	    display: block;

	    background: none;
	}
	.header img{
	    float: left;
	}

	.hea02{
	    display: none;
	}

	.container{
	    clear: both;
	    overflow: hidden;

	    width: 100%;
	    margin-top: 10px;
	}

	.CL{
	    clear: both;
	}

	.container .ACT .con01{
	    background: none;
	}
	.container .ACT .con01 h6{
	    font-size: 2.25em;
	    font-weight: bold;

	    position: absolute;
	    z-index: 1;

	    float: none;

	    width: 100%;
	    height: 70px;
	    margin-top: -20px;
	    padding: 0 0 0 6px;

	    text-align: center;
	    letter-spacing: 4px;

	    color: #d10313;
	    text-shadow: none;

	    -webkit-writing-mode: horizontal-tb;
	            writing-mode: horizontal-tb;
	}
	.container .ACT .con01 h4{
		 font-weight: bold;
	    font-size: 1.2em;
	    line-height: 1.4em;

	    display: block;

	    width: 100%;
	    height: 120px;
	    margin: 0 auto;
	    margin-top: 20px;
	    padding-top: 9px;

	    text-align: center;
	    text-align: center;
	    letter-spacing: 1px;

	    color: #fff;
	    background-image: url(../images/MB_TIT01.png),url(../images/MB_TIT02.png);
	    background-repeat: no-repeat , repeat-x;
	    background-position: center top, center top;
	    background-size: auto;
	    text-shadow: 1px 1px 1px rgba(122,69,0, .7);
	    font-weight: bold;
	}


	.container .ACT .con01 p{
	    font-size: 1.16em;
	    line-height: 1.8em;

	    position: relative;

	    width: 85%;
	    margin: 0 auto;
	    padding: 45px 0 0 0 ;

	    letter-spacing: 1px;

	    color: #382307;
	}
	img.person{
	    position: relative;

	    float: left;

	    margin-left: 2%;
	}



	.ACT_bg{
	    position: absolute;
	    z-index: -1;
	    left: 0;

	    width: 100%;
	    height: auto;
	    margin-top: auto;

	    background: url(../images/act_BG.svg) repeat left center;
	    background: none;
	    background-size: 20%;
	    box-shadow: none;
	}


	.ACT_bg1{
	    position: relative;
	    left: 0;

	    width: 100%;
	    height: auto;
	    margin-top: -55px;
	    padding-top: 45px;

	    background: url(../images/act_BG.svg) repeat left center;
	    background-size: 30%;
	}

	.con02{
	    float: none;

	    width: 100%;
	    margin: 0 auto;
	    /*margin-top: 30px; */margin-bottom: none;
	}

	.con02 .ML31{
	    margin-right: auto;
	}
	.con02 .MR31{
	    margin-right: auto;
	}


	.container .BOX p.btn1{
	    position: absolute;

	    float: none;

	    width: 100%;
	    height: 80px;
	    margin: 0 auto;
	    margin-top: -5px;

	    text-align: center;
	}

	.container a .BOX p.btn1{
	    display: block;

	    margin-top: -12px;

	    background: url(../images/bt01_mb.png) bottom center no-repeat;
        background-size: 300px 65px;
	}

	.container a:hover .BOX p.btn1{
	    display: block;

	    background: url(../images/bt01_mb.png) bottom center no-repeat;
        background-size: 300px 65px;
	}

	.container a .BOX p.btn2{
	    /*height:82px;*/
	    display: block;
	    float: none;

	    width: 90%;
	    height: 35px;
	    background: url(../images/bt03.png) no-repeat right;
        position: relative;
        bottom: initial;
	}

	.container .BOX{
	    display: inline-block;
	    float: none;

	    width: 100%;
	    height: auto;
	    margin-top: 40px;
	    padding-bottom: 50px;

	    text-align: center;

	    border-bottom: dashed #aaa 1px;
	}


	.container #READ .BOX{
	    display: inline-block;
	    float: none;

	    width: 100%;
	    height: auto;
	    margin-bottom: 20px;
	    padding-bottom: 0;

	    text-align: center;

	    border-bottom: none;
	}

	.container .BOX img{
	    display: block;

	    width: 90%;
	    width: 300px;
	    height: 200px;
	    margin: 0 auto;
	    padding-top: 0;
	    padding-bottom: 10px;
	    /* vertical-align: middle; */

	    text-align: center;

	    border: 10px;
	}


	.container .BOX p.f1,
	.container .BOX p.f2{
	    font-size: 1.6em;

	    position: relative;

	    width: 40%;
	    margin: 6px auto 0 auto;

	    text-align: justify;
	    text-align: none;
	}

	.container .BOX p.f1{
	    line-height: 2em;

	    float: left;

	    text-align: right;

	    color: #555;;
	}

	.container .BOX p.f2{
	    float: right;

	    text-align: left;

	    color: #e56e04;
	}


	.container .BOX p.f3{
	    font-size: 1.1em;
	    line-height: 30px;

	    position: relative;

	    float: none;

	    width: 90%;

	    text-align: justify;
	    letter-spacing: 1px;

	    color: #000;
	}

	#READ h6{
	    font-size: 2.25em;
	    font-weight: bold;
	    line-height: 3em;

	    margin-top: 40px;
	    margin-bottom: -40px;

	    text-align: center;
	    letter-spacing: 1px;

	    color: #614244;
	}



	/*感謝狀*/
	#ad3 {
	    position: absolute;
	    z-index: 9;
	    top: 7%;
	    right: 0;
	    bottom: 0;
	    left: 0;

	    display: block;

	    width: 90%;
	    height: auto;
	    margin: auto;

	    -webkit-transition: all .3s ease-out; /* 宣告 transition 動畫 */
	}
	.CLOSE{
	    -webkit-transform: scale(0); /* 縮小到消失 */

	    opacity: 0;
	}
	.ad_close img{
	    width: 10%;
	    height: 10%;
	}
	#thankBOX{
	    width: 100%;
	    margin: 0 auto;
	}
	#awarBOX{
	    position: relative;

	    width: 100%;
	    height: auto;
	}
	.awarbg{
	    position: absolute;
	    z-index: 1;

	    width: 100%;
	    height: auto;
	}
	#awarBOX .perBOX{
	    position: relative;
	    z-index: 2;

	    width: 35%;
	    height: auto;
	    margin: 7% 0 0 7%;
	    padding: 3px;

	    -webkit-transform: rotate(-10deg); /* Safari 和 Chrome */
	       -moz-transform: rotate(-10deg); 	/* Firefox */
	        -ms-transform: rotate(-10deg); 	/* IE 9 */
	         -o-transform: rotate(-10deg);
	    /*旋轉十度*/
	            transform: rotate(-10deg);

	    border: 3px #bf3d66 solid;
	    background: #fff;
	}

	#awarBOX .thank_FBOX{
	    position: relative;
	    z-index: 2; 

	    width: 51%;
	    margin-top: 21%;
	}
	#awarBOX .thank_FBOX .awar_name{
	    font-size: 1.3em;
	    font-weight: bold;
	    line-height: 1.9em;

	    color: #000;
	}
	#FBshare{
	    padding-top: 12%;
	}
	.OPEN_BG1{
	    position: fixed;
	    z-index: 8;
	    top: 0;

	    width: 100%;
	    height: 100%;
	    margin: 0;

	    -webkit-animation-name: fadeIn2; /*动画名称*/
	    -webkit-animation-duration: .5s; /*动画持续时间*/
	    -webkit-animation-delay: 0s; /*延迟时间*/
	    -webkit-animation-iteration-count: 1; /*动画次数*/

	    background-color: rgba(0,0,0,.5);
	}
}
.ternbody.loading .all-loading {
    text-align: center;
    padding: 30px 0 100px;
}
.ternbody:not(.loading) .all-loading,
.ternbody.loading #ACT,
.ternbody.loading .user_done,
.ternbody.loading #READ,
.ternbody.already_play #ACT,
.ternbody:not(.already_play) .user_done,
.ternbody:not(.already_play) #READ {
    display: none;
}
