@charset 'utf-8';
/*@import url(http://fonts.googleapis.com/earlyaccess/notosanstc.css);*/
@import url('https://fonts.googleapis.com/css?family=Chivo');
@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);
/* ----------RESET---------- */
	*{
		margin:0;
		padding: 0;
		color:inherit;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
		font: inherit;
	}
	body{
		position: relative;
		font-size: 16px;
		font-weight: 400;
		font-family: 'cwTeXYen', '微軟正黑體', 'Microsoft JhengHei', sans-serif;
		color:#666666;
	}
	br{
		font-family:  'Microsoft JhengHei', sans-serif;
	}

	ul, li{
		list-style: none;
		font-size: inherit;
	}
	img{
		border:none;
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
	}
	input,
	textarea,
	keygen,
	select,
	span,
	a,
	a:active,
	a:hover,
	a:focus{
		outline: none;
	}
	input::-moz-focus-inner,
	button::-moz-focus-inner,
	select::-moz-focus-inner{
		border:0;
		outline:0;
	}
	select:-moz-focusring {
		color: transparent;
		text-shadow: 0 0 0 #000;
	}
	input[type="search"],
	input[type="search"]:hover,
	input[type="search"]:focus,
	input[type="search"]:active{
		-webkit-appearance:none;
	}
	select::-ms-expand {
		display: none;
	}
	button,
	input[type="submit"],
	input[type="reset"]{
		background: none;
		border:none;
		outline: none;
		cursor:pointer;
		font:inherit;
	}
	option{
		font-family: 'cwTeXYen', '微軟正黑體', 'Microsoft JhengHei', sans-serif;
		background-color: transparent;
	}
	table{
		border-collapse:collapse;
	}
/* ----------BLOCK---------- */
	.fleft{float:left; }
	.fright{float: right; }
	.cf:before{
		content:'';
		display: block;
		clear:both;
	}
	.row{
		width: 100%;
		position: relative;
		margin-bottom: 30px;
	}
	.w1000{
		width: 90%;
		max-width: 1020px;
		margin:0 auto;
	}
	.w1200{
		width: 90%;
		max-width: 1200px;
		margin:0 auto;
	}
	.col90,
	.col80,
	.col75,
	.col70,
	.col66,
	.col60,
	.col50,
	.col40,
	.col33,
	.col30,
	.col25,
	.col20,
	.col15,
	.col05{
		display: inline-block;
		vertical-align: top;
		margin-left: -5px;
	}
	.col90{width: 90%; }
	.col80{width: 80%; }
	.col75{width: 75%; 
		margin: 0 auto;}
	.col70{width: 70%; }
	.col66{width: 66.6666%; }
	.col60{width: 60%; }
	.col50{width: 50%; }
	.col50:nth-child(odd){margin-left: 0px; }
	.col40{width: 40%; }
	.col30{width: 30%; }
	.col33{width: 33.3333%; }
	.col25{width: 25%; }
	.col20{width: 20%; }
	.col15{width: 15%; }
	.col05{width: 05%; }

	.ib-middle{
		display: inline-block;
		vertical-align: middle;
	}
	.ib-top{
		display: inline-block;
		vertical-align: top;
	}
/* ----------TEXT---------- */
	h1,h2,h3,h4,h5,h6,
	a,p,b,small{
		font:inherit;
		color:inherit;
	}
	h1{
		font-size: 36px;
		font-weight: 500;
		letter-spacing: 1px;
		line-height: 1em;
	}
	h2{
		font-size: 36px;
		font-weight: 500;
		letter-spacing: 1px;
		line-height: 1.2em;
		margin-bottom: 35px;
	}
	h3{
		font-size: 25px;
		letter-spacing: 1px;
		font-weight: 500;
		line-height: 30px;
		margin-bottom: 10px;
	}
	h4{
		font-size: 22px;
		letter-spacing: 1px;
		line-height: 30px;
		font-weight: 500;
		margin-bottom: 18px;
	}
	a,
	span{
		display: inline-block;
		text-decoration: none;
	}
	p{
		font-size: 17px;
		line-height: 28px;
	}
	b, strong{
		letter-spacing: 0;
		font-weight: bolder;
	}
	small{
		font-size: .75em;
		line-height: normal;
	}
	.txt-white{color:#ffffff; }
	.txt-red{color:#ed1c24; }
	.txt-link{text-decoration: underline; }

	.txt-left{text-align: left; }
	.txt-right{text-align: right; }
	.txt-center{text-align: center; }
/* ----------BTN---------- */
	.btn{
		width: 145px;
		font-size: 25px;
		padding:5px 20px;
		border-radius: 10px;
		-webkit-transition: all .25s ease;
		   -moz-transition: all .25s ease;
		    -ms-transition: all .25s ease;
		     -o-transition: all .25s ease;
		        transition: all .25s ease;
	}
	.btn:hover{
		-webkit-transform: scale(1.02) translateY(-2px);
		   -moz-transform: scale(1.02) translateY(-2px);
		    -ms-transform: scale(1.02) translateY(-2px);
		     -o-transform: scale(1.02) translateY(-2px);
		        transform: scale(1.02) translateY(-2px);
	}
	.btn:active{
		-webkit-transform: scale(1) translateY(0);
		   -moz-transform: scale(1) translateY(0);
		    -ms-transform: scale(1) translateY(0);
		     -o-transform: scale(1) translateY(0);
		        transform: scale(1) translateY(0);
	}
	.btn-cancel{
		display: inline-block;
		width: auto;
		background-color: #ffffff;
		border:2px solid;
		font-size: 16px;
		margin-top: 10px;
		cursor: pointer;
	}
/* ----------FORM--------- */
	input[type=text],
	input[type=email],
	input[type=password],
	select{
		width: 100%;
		margin: 5px 0 6px;
		border:2px solid #cccccc;
		padding:2px 8px;
		letter-spacing: 1px;
	}
	input[type=text]:focus,
	input[type=email]:focus,
	input[type=password]:focus{
		border-color: #003979;
	}
	select{
		border-radius: 5px;
	}
	input[type=text].col50,
	input[type=email].col50,
	input[type=password].col50,
	select.col50,
	label.select.col50{
		width: 50%;
		margin-left: -5px;
	}

	input[type=text].col25,
	input[type=email].col25,
	input[type=password].col25,
	select.col25,
	label.select.col25{
		width: 25%;
		margin-left: -5px;
	}

	select{
		-webkit-appearance:none;
		-moz-appearance:none;
		appearance:none;
	}

	label.select{
		display: inline-block;
		width: 100%;
		height: 100%;
		position: relative;
	}
	label.select:before {
		content:'';
		display:block;
		width:50px;
		height:27px;
		background:#ffffff;
		position:absolute;
		top:2px;
		bottom:2px;
		right:2px;
		margin:auto 0;
		pointer-events:none;
	}
	label.select:after {
		content:'';
		display:block;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 10px 7px 0 7px;
		border-color: #003979 transparent transparent transparent;
		position:absolute;
		top:0;
		bottom:0;
		right:20px;
		margin:auto 0;
		pointer-events:none;
	}
	label h4{
		margin:10px 0 11px;
	}

	::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	    color:    #cccccc;
	}
	:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	   color:    #cccccc;
	   opacity:  1;
	}
	::-moz-placeholder { /* Mozilla Firefox 19+ */
	   color:    #cccccc;
	   opacity:  1;
	}
	:-ms-input-placeholder { /* Internet Explorer 10-11 */
	   color:    #cccccc;
	}
	::-ms-input-placeholder { /* Microsoft Edge */
	   color:    #cccccc;
	}

	/*radio&checkbox樣式覆蓋*/
		input[type=radio   ]:not(old),
		input[type=checkbox]:not(old){
			width     : 0;
			margin    : 0;
			font-size : 0;
			opacity   : 0;
			pointer-events: none;
            display: none;
		}
		input[type=radio   ]:not(old) + label,
		input[type=checkbox]:not(old) + label{
			display      : inline-block;
			vertical-align: middle;
			line-height  : 24px;
			margin-right : 17px;
			font-size: 18px;
			cursor       : pointer;
    		letter-spacing: 0;
		}
		input[type=radio   ]:not(old) + label > span,
		input[type=checkbox]:not(old) + label > span{
			display          : inline-block;
			width            : 18px;
			height           : 18px;
			padding          : 0;
			margin           : -1px 8px 3px 5px;
			position         : relative;
			border-radius    : 0;
			background       : rgba(255,255,255,.8);
			border			 : 2px solid #cccccc;
			vertical-align   : middle;
			cursor           : pointer;
		}
		input[type=radio]:not(old):checked +  label > span:before{
			display          : block;
			width            : 10px;
			height           : 10px;
			margin           : auto;
			top: 0;right: 0;bottom: 0;left: 0;
			position         : absolute;
			border-radius    : 0;
			background       : #336194;
		}
		input[type=checkbox]:not(old):checked + label > span:before{
			content     : '';
			display          : block;
			width            : 10px;
			height           : 10px;
			margin           : auto;
			top: 0;right: 0;bottom: 0;left: 0;
			position         : absolute;
			border-radius    : 0;
			background       : #336194;
		}
/* ----------DATEPICKER---------- */
	.ui-datepicker .ui-widget-header{
		background: #003979;
		border:none;
	}
	.ui-datepicker .ui-datepicker-title select{
		padding:0 15px;
		color:#003979;
		text-align: center;
		border:none;
		border-radius: 0;
	}
	.ui-datepicker .ui-datepicker-calendar td{
		padding:0;
	}
	.ui-datepicker .ui-state-default,
	.ui-datepicker.ui-widget-content .ui-state-default,
	.ui-datepicker .ui-widget-header .ui-state-default{
		border-color:#f6f6f6;
		background: #f6f6f6;
	}
	.ui-datepicker .ui-state-hover,
	.ui-datepicker.ui-widget-content .ui-state-hover,
	.ui-datepicker .ui-widget-header .ui-state-hover,
	.ui-datepicker .ui-state-focus,
	.ui-datepicker.ui-widget-content .ui-state-focus,
	.ui-datepicker .ui-widget-header .ui-state-focus{
		border:1px solid #003979;
		background:#eaeff4;
		color:#003979;
	}
	.ui-datepicker .ui-datepicker-header .ui-datepicker-prev-hover,
	.ui-datepicker .ui-datepicker-header .ui-datepicker-next-hover,
	.ui-datepicker .ui-datepicker-header .ui-datepicker-next,
	.ui-datepicker .ui-datepicker-header .ui-datepicker-prev{
		border:0;
		background: transparent;
	}
	.ui-datepicker .ui-datepicker-header .ui-datepicker-prev-hover{
		left: 2px;
	}
	.ui-datepicker .ui-datepicker-header .ui-datepicker-next-hover{
		right: 2px;
	}


	.ui-datepicker .ui-state-highlight,
	.ui-datepicker.ui-widget-content .ui-state-highlight,
	.ui-datepicker .ui-widget-header .ui-state-highlight{
		border-color: #003979;
		background: #eaeff4;
	}
	.ui-state-hover a,
	.ui-state-hover a:hover,
	.ui-state-hover a:link,
	.ui-state-hover a:visited,
	.ui-state-focus a,
	.ui-state-focus a:hover,
	.ui-state-focus a:link,
	.ui-state-focus a:visited{
		color:#c77405;
		text-decoration:none
	}
	.ui-datepicker .ui-state-active,
	.ui-datepicker.ui-widget-content .ui-state-active,
	.ui-datepicker .ui-widget-header .ui-state-active{
		border:1px solid #003979;
		background:#003979;
		font-weight:bold;
		color:#ffffff
	}
/* ----------PAGINATION---------- */
	.pagination{
		text-align: center;
		margin-top: 30px;
	}
	.pagination li{
		display: inline-block;
		vertical-align: middle;
	}
	.pagination li a{
		background-color: #003979;
		color:#ffffff;
		padding:5px 10px;
		border-radius: 5px;
		-webkit-transition: all .25s ease;
		   -moz-transition: all .25s ease;
		    -ms-transition: all .25s ease;
		     -o-transition: all .25s ease;
		        transition: all .25s ease;
	}
	.pagination li a:hover{
		opacity: .8;
	}
	.pagination li.active a{
		background-color: #ed1c24;
	}
/* ----------LIGHTBOX---------- */
	.openbox{
		cursor: pointer;
	}
	#lightbox{
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: 100;
		display: none;
	}
	#overlay{
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: rgba(0,0,0,.8);
		cursor: url(../img/icon-close.png), crosshair;
	}
	#lightbox .box{
		width: 770px;
		height: 420px;
		max-width: 90%;
		background-color: #ffffff;
		border:2px solid #003979;
		border-radius: 10px;
		padding:50px 70px;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: -5px;
		margin:auto;
		cursor: default;
	}

	#lightbox .cancelbox{
		width: 770px;
		height: 300px;
		max-width: 90%;
		background-color: #ffffff;
		border:2px solid #003979;
		border-radius: 10px;
		padding:50px 70px;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: -5px;
		margin:auto;
		cursor: default;
	}
	#lightbox .cancelbox textarea{
		width: 100%;
		max-width: 100%;
		margin-bottom: 10px;
	}
/* ----------ANIMATION---------- */
	@keyframes showContent{
		from{
			opacity: 0;
			-webkit-transform: scale(.95);
			   -moz-transform: scale(.95);
			    -ms-transform: scale(.95);
			     -o-transform: scale(.95);
			        transform: scale(.95);
		}
		to  {
			opacity: 1;
			-webkit-transform: scale(1);
			   -moz-transform: scale(1);
			    -ms-transform: scale(1);
			     -o-transform: scale(1);
			        transform: scale(1);
		}
	}
	@-webkit-keyframes showContent{
		from{
			opacity: 0;
			-webkit-transform: scale(.95);
		}
		to  {
			opacity: 1;
			-webkit-transform: scale(1);
		}
	}
	.animated{
		-webkit-animation: showContent .5s ease forwards;
		   -moz-animation: showContent .5s ease forwards;
		    -ms-animation: showContent .5s ease forwards;
		     -o-animation: showContent .5s ease forwards;
		        animation: showContent .5s ease forwards;
	}
	@-webkit-keyframes fadeInFromDown{
		from{
			opacity: 0;
			-webkit-transform: translateY(50%);
		}
		to  {
			opacity: 1;
			-webkit-transform: translateY(0);
		}
	}
	@keyframes fadeInFromDown{
		from{
			opacity: 0;
			-webkit-transform: translateY(50%);
			   -moz-transform: translateY(50%);
			    -ms-transform: translateY(50%);
			     -o-transform: translateY(50%);
			        transform: translateY(50%);
		}
		to  {
			opacity: 1;
			-webkit-transform: translateY(0);
			   -moz-transform: translateY(0);
			    -ms-transform: translateY(0);
			     -o-transform: translateY(0);
			        transform: translateY(0);
		}
	}
/* ----------NAV---------- */
		nav{
			display: none;
			color: #fff;
			background-color: #f3a0c7;
			display: flex;
			align-items: center;
			padding: 10px;
			width: 100%;
		}
		nav .w1200{
			display: flex;
			justify-content: space-between;
            align-items: center;
		}
		nav img{
			width: 50%;
		}
		nav ul{
			display: flex;
		}
		nav ul li{
			text-align: center;
			padding: 3%;
    		width: 125px;
    		font-size: 20px;
    		position: relative;
		}
		nav ul li a:hover{
			color: #e95098;
		}
		nav ul li.active:before{
			content: "";
   			position: absolute;
   			top: 85%;
    		left: 25%;
   			width: 50%;
   			height: 3px;
    		background-color: #e95098;
		}
/* ----------Main---------- */
        .flexBox{
	    	display: flex;
	    }
		.headingsBegin{
			color: #fff;
			background-color: #f3a0c7;
			display: flex;
			align-items: center;
			padding: 10px;
			width: 100%;
	    }
	    .headingsBegin a img{
	    	padding-left: 5%;
	    	width: 25px;
	    	height: auto;
	    }
	    .headingsBegin p{
	    	width: 100%;
	    	margin:0 auto;
	    	text-align: center;
	    	padding-right: calc(5% - 12.5px);
	    }
/* ----------Main---------- */
		footer{
		    position: fixed;
		    bottom: 0;
		    z-index: 5;
			margin-top: 50px;
			width: 100%;
			height: 50px;
			margin:0px;
    		padding:0px;
			background: -webkit-linear-gradient(to right, #95d5f1, #fad8e8); 
            background: linear-gradient(to right, #95d5f1, #fad8e8); 
			background-size: cover;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}
		footer a{
			display: block;
			width: 25%;
			padding: 1.25% 5%;
		}

		footer a.active #bg path{
			fill: #f3a0c7 !important;
		}

		.boldnumber,
		time,
		.useGiftPoint span,
		.usePoint,
		.integral span{
			font-family: 'Chivo', sans-serif;
			letter-spacing: 1.5px !important;
			margin-right: 1.5px !important;
		}
/*--------------------rwd-------------------*/		
		@media screen and (min-width: 450px){

			footer a {
    			display: block;
    			padding: 1.25% 6.5%;
			}
			footer{
				height: 65px;
			}

		}
		@media screen and (min-width: 650px){

			footer a {
    			display: block;
    			padding: 1.25% 7.25%;
			}
			footer{
				height: 70px;
			}

		}
        @media screen and (max-width: 767px){

			nav {
				display: none;
			}

		}  		
		@media screen and (min-width: 768px){

			footer{
    			display: none;
			}
			.indexHeading,
			.headingsBegin{
				display: none;
			}
			nav{
				display: block;
			}

		}  		
