*{
	font-family: 'Roboto', "Montserrat", "Noto Sans TC", sans-serif;
}

body{
	width: 100%;
	overflow-x: hidden;
	background: #ffffff;
	font-size: 16px;
}

body.premium{
	background: #ffffff;
}

h1, h2, h3, h4, h5, h6{
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
}

h1{
	font-size: 3.4em;
	font-weight: 700;
	line-height: 1.2em;
}

h2{
	font-size: 2.25em;
	font-weight: 700;
	line-height: 1.1em;
}

h3{
	font-size: 1.2em;
	font-weight: 700;
	line-height: 2.4em;
}

h4{
	font-size: 1.85em;
	font-weight: 700;
}

h5{
	font-size: 1.125em;
	font-weight: 700;
}

h6{
	font-size: 1em;
    font-weight: 500;
}

p{
	font-family: 'Roboto', "Montserrat", "Noto Sans TC", sans-serif;
	/* text-align: justify; */
	font-size: 0.975em;
    /* line-height: 1.5em; */
    font-weight: 500;
}

::selection {
    color: #000000;
    background: #ffcc00;
}

.show{
	display: block;
}

.hide{
	display: none;
}

.mobile{
	display: none;
}

.desktop{
	display: block;
}

.clearfix{
	clear: both;
}

section{
	position: relative;
	width: 100%;
	margin: 0 auto;
}

@media all and (max-width: 768px){
	h2{
		font-size: 1.85em;
	}

	h3{
		font-size: 1em;
		line-height: 1.85em;
	}
}

/* ============================================================
COLOR
============================================================ */
.bg-white{
	background: #ffffff;
}

.bg-black{
	background: #000000;
}

.bg-yellow{
	color: #ffcc00;
}

.text-white{
	color: #ffffff;
}

.text-black{
	color: #000000;
}

.text-yellow{
	color: #ffcc00;
}



/* ============================================================
ICON
============================================================ */
.icon-close{
	width: 36px;
	height: 18px;
	padding-top: 18px;
	position: absolute;
	top: 30px;
	right: 30px;
	cursor: pointer;
	z-index: 35;
}

.icon-close-line{
	width: 100%;
	height: 2px;
}

.icon-close-line:nth-child(1){
	margin-top: 1px;
	transform: rotate(45deg);
}

.icon-close-line:nth-child(2){
	margin-top: -1px;
	transform: rotate(-45deg);
}


.icon-back{
	width: 40px;
	height: 40px;
	color: #ffffff;
	cursor: pointer;
	font-size: 2em;
}


/* ============================================================
INPUT
============================================================ */
.input-text{
	width: 100%;
	max-width: 800px;
	position: relative;
	margin: 0 auto;
}

.text-input{
	width: calc(100% - 75px);
	height: 50px;
	padding: 0 10px;
	border: 1px solid #999999;
	/* box-sizing: border-box; */
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
	font-size: 1em;
	line-height: 50px;
	margin: 0;
	vertical-align: bottom;
}

.input-submit-btn{
	width: 52px;
	height: 52px;
	background: #ffcc00;
	border: 0;
	margin: 0;
	margin-left: -7px;
    font-size: 1.5em;
    cursor: pointer;
}

/* ============================================================
NAVGATION
============================================================ */
nav{
	width: 100%;
	height: 60px;
	background: #ffffff;
	border-bottom: 1px solid #e6e6e6;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
}

.nav-down{
	animation: navMoveDown .2s 0s forwards linear;
}

.nav-up{
	animation: navMoveUp .2s 0s forwards linear;
}

@keyframes navMoveDown{
	0%{
		top: -61px;
	}

	100%{
		top: 0;
	}
}

@keyframes navMoveUp{
	0%{
		top: 0;
	}

	100%{
		top: -61px;
	}
}

.ngm-logo{
	width: 150px;
	height: 50px;
	position: relative;
	margin: 0 auto;
	margin-top: 5px;
	z-index: 22;
}

.ngm-logo img{
	max-height: 100%;
	max-width: 100%;
}

.nav-icon{
	width: 36px;
	height: 26px;
	position: absolute;
	top: 17px;
	left: 20px;
	z-index: 22;
	cursor: pointer;
}

.nav-icon-line{
	width: 100%;
	height: 2px;
	background: #000000;
}

.nav-icon-line-1, .nav-icon-line-2{
	margin-bottom: 10px;
}

.navline-1-active{
	animation: navlineTurnRight .2s 0s forwards linear;
}

.navline-1-back{
	animation: navlineTurnRightBack .2s 0s forwards linear;
}

@keyframes navlineTurnRight{
	0%{
		transform: rotate(0);
		margin-top: 0px;
	}

	100%{
		transform: rotate(45deg);
		margin-top: 23px;
	}
}

@keyframes navlineTurnRightBack{
	0%{
		transform: rotate(45deg);
		margin-top: 23px;
	}

	100%{
		transform: rotate(0);
		margin-top: 0px;
	}
}

.navline-3-active{
	animation: navlineTurnLeft .2s 0s forwards linear;
}

.navline-3-back{
	animation: navlineTurnLeftBack .2s 0s forwards linear;
}

@keyframes navlineTurnLeft{
	0%{
		transform: rotate(0);
		margin-top: 0px;
	}

	100%{
		transform: rotate(-45deg);
		margin-top: -23px;
	}
}

@keyframes navlineTurnLeftBack{
	0%{
		transform: rotate(-45deg);
		margin-top: -23px;
	}

	100%{
		transform: rotate(0);
		margin-top: 0px;
	}
}



.navbar-icons{
	width: 300px;
	height: 20px;
	position: absolute;
	right: 40px;
	top: 17px;
	z-index: 22;
}

.navbar-search, .navbar-user, .navbar-cart, .navbar-shop{
	float: right;
	width: 60px;
	text-align: right;
	font-size: 20px;
}

.navbar-search a, .navbar-user a, .navbar-cart a , .navbar-shop a{
	color: #000000;
}

.navbar-search-w a, .navbar-user-w a, .navbar-cart-w a , .navbar-shop-w a{
	color: #ffffff;
}

.navbar-icons:after{
	content: '';
	display: table;
	clear: both;
}

.navbar-cart-icon{
	width: 20px;
	margin-left: 37px;
}

.navbar-cart-icon img{
	width: 100%;
}

@media all and (max-width: 768px) {
	.navbar-cart{
		display: none;
	}

	.navbar-icons{
		right: 25px;
	}

	.navbar-search, .navbar-user, .navbar-cart, .navbar-shop{
		width: 40px;
	}
}

@media all and (max-width: 480px) {
	nav{
		height: 50px;
	}

	.ngm-logo{
		height: 40px;
		text-align: center;
	}

	.nav-icon{
		top: 13px;
	}

	.navbar-icons{
		top: 11px;
	}
}


/* MENU */
.nav-menu{
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, .95);
	position: fixed;
	top: 0;
	left: -100%;
	z-index: 21;
	opacity: 0;
	display: none;
	overflow: hidden;
}

.menu-container{
	width: 80%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0, -50%);
	/* margin-top: 60px; */
}

.menu-content{
	width: 50%;
	position: relative;
	float: left;
}

.menu-container:after{
	content: '';
	display: table;
	clear: both;
}

.menu-left{
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
	color: #ffffff;
}

.menu-left a{
	color: #ffffff;
	font-size: 2.25em;
	font-weight: 700;
}

.menu-left li{
	margin-bottom: 30px;
}

.menu-right{
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
	color: #ffcc00;
}

.menu-right a{
	color: #ffcc00;
	font-size: 1.35em;
	font-weight: 700;
}

.menu-right li{
	font-size: 1em;
	margin-bottom: 20px;
}

.menu-right li:nth-child(1){
	margin-bottom: 5px;
	color: #dedede;
}

.menu-right ul:nth-child(1){
	margin-bottom: 50px;
}

@media all and (max-width: 768px){
	.menu-container{
		width: 90%;
	}
}

@media all and (max-width: 480px){
	.menu-left li{
		margin-bottom: 10px;
	}

	.menu-left a{
		font-size: 1.25em;
	}

	.menu-right ul:nth-child(1){
		margin-bottom: 30px;
	}

	.menu-right li{
		font-size: .85em;
		margin-bottom: 10px;
	}

	.menu-right a{
		font-size: 1.15em;
	}


}

/* ============================================================
USER FUNCTION
============================================================ */
.user-function{
	position: fixed;
	width: 190px;
	background: #ffffff;
	top: 60px;
	right: 10px;
	z-index: 22;
	opacity: 0;
	display: none;
}

.user-f-container{
	width: 80%;
	position: relative; 
	margin: 0 auto;
	padding: 20px 0;
}

@media all and (max-width: 480px){
	.user-function{
		top: 50px;
	}
}



/* ============================================================
FOOTER
============================================================ */
footer{
	width: 100%;
	position: relative;
	margin: 0 auto;
	background: #000000;
	z-index: 2;
}

.footer-container{
	width: 85%;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
	padding-top: 50px;
}

.footer-logo{
	width: 60%;
	max-width: 200px;
	float: left;
}

.footer-logo img{
	width: 100%;
}

.footer-social{
	color: #ffffff;
	float: right;
	margin-top: 15px;
}

.footer-social p{
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.1em;
}

.footer-social ul li{
	font-size: 2.2em;
	margin-right: 20px;
	float: left;
}

.footer-social ul li a{
	color: #ffffff;
}

.footer-social ul:after{
	content: '';
	display: table;
	clear: both;
}

.footer-link{
	width: 100%;
	position: relative;
	margin: 0 auto;
	margin-top: 60px;
	margin-bottom: 40px;
}

.footer-link ul li{
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
	font-size: .875em;
	font-weight: 500;
	color: #ffffff;
	padding: 0 20px;
	border-right: 1px solid #999999;
	box-sizing: border-box;
	float: left;
	margin: 5px 0;
}

.footer-link ul li a{
	color: #ffffff;
}

.footer-link ul:after{
	content: '';
	display: table;
	clear: both;
}

.footer-link ul li:nth-child(1){
	padding-left: 0;
}

.footer-link ul li:nth-last-child(1){
	border: 0;
}

.footer-copyright{
	padding: 20px 0;
	border-top: 1px solid #666666;
}

.footer-copyright p{
	font-size: .875em;
	color: #ffffff;
	margin: 5px 0;
}

.footer-mobile{
	display: none;
}

@media all and (max-width: 960px){
	.footer-link ul li{
		width: 20%;
	}

	.footer-link ul li:nth-child(5){
		border: 0;
	}

	.footer-link ul li:nth-child(6){
		padding-left: 0;
	}

	.footer-link ul li:nth-last-child(1){
		width: 60%;
	}
}

@media all and (max-width: 768px){
	.footer-social p{
		font-size: .875em;
	}

	.footer-social ul li{
		font-size: 1.875em;
	}


	.footer-link ul li{
		width: 33.33333%;
	}

	.footer-link ul li:nth-child(5){
		border-right: 1px solid #999999;
	}

	.footer-link ul li:nth-child(6){
		padding-left: 20px;
	}

	.footer-link ul li:nth-child(3), .footer-link ul li:nth-child(6){
		border: 0;
	}

	.footer-link ul li:nth-child(4), .footer-link ul li:nth-child(7){
		padding-left: 0;
	}

	.footer-link ul li:nth-last-child(1){
		width: 60%;
	}

	.footer-mobile{
		display: block;
	}
}

@media all and (max-width: 480px){
	.footer-container{
		width: 90%;
	}
	
	.footer-logo, .footer-social{
		float: none;
	}

	.footer-social{
		margin-top: 30px;
	}

	.footer-link ul li:nth-child(6) {
	    padding-left: 8px;
	}

	.footer-link ul li{
		padding: 0 8px;
		width: 36%;
	}

	.footer-link ul li:nth-child(3n-2){
		width: 25%;
	}

	.footer-link ul li:nth-last-child(1){
		width: 70%;
	}
}

/* ============================================================
SECTION TITLE
============================================================ */
.section-title{
	text-align: center;
	padding: 30px 0;
	position: relative;
}

.section-title-eng{
	text-transform: uppercase;
	font-weight: 700;
	text-align: center;
	font-size: .975em;
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
}

.section-title-cht{
	text-align: center;
	font-weight: 700;
	font-size: 1.875em;
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
	line-height: 1.8em;
}

.section-title:after{
	content: '';
	display: table;
	width: 60px;
	height: 4px;
	background: #ffcc00;
	position: relative;
	margin: 0 auto;
}


@media all and (max-width: 480px){
	.section-title-eng{
		font-size: .85em;
	}

	.section-title-cht{
		font-size: 1.7em;
	}
}


/* ============================================================
SUB-NAVGATION
============================================================ */
.sub-nav{
	width: 100%;
	height: 60px;
	background: #000000;

}

.sub-nav-container{
	width: 100%;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
	overflow: hidden;
}

.sub-nav-container ul li{
	width: 100px;
	height: 60px;
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
	font-weight: 500;
	font-size: 1.1em;
	line-height: 60px;
	color: #ffffff;
	text-align: center;
	transition: .2s linear;
	display: inline-block;
	margin-right: 10px;
}


.sub-nav-container ul li:hover{
	border-bottom: 5px solid #ffcc00;
	box-sizing: border-box;
}

.sub-nav-active{
	border-bottom: 5px solid #ffcc00;
	box-sizing: border-box;
}

.sub-nav-fixed{
	position: fixed;
	top: 0;
	z-index: 19;
}

.scrollmenu-horizontal{
	overflow: auto;
	white-space: nowrap;
	border-bottom: 1px solid #e6e6e6;
}

@media all and (max-width: 768px){
	.sub-nav-container ul li:hover{
		border-bottom: none;
		box-sizing: border-box;
	}
}

@media all and (max-width: 480px){
	.sub-nav{
		height: 50px;
	}

	.sub-nav-container ul li{
		height: 50px;
		line-height: 50px;
		font-size: 1em;
	}

}


/* PREMIUM */
.sub-nav-premium{
	background: #ffffff;
}

.sub-nav-premium .sub-nav-container ul li{
	color: #000000;
}

/* ============================================================
SEARCH
============================================================ */
.search-content{
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, .95);
	position: fixed;
	top: 0;
	right: -100%;
	display: none;
	opacity: 0;
	z-index: 30;
	overflow: hidden;
}

.search-content-range{
	width: 85%;
	max-width: 900px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-bottom: 1px solid #999999;
}

.search-check{
	color: #ffffff;
	font-size: 1.1em;
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
	margin-bottom: 10px;
}

.search-check span{
	margin-right: 15px;
	font-size: 1.1em;
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
}

.search-input{
	width: calc(100% - 80px);
	background: none;
	border: 0;
	color: #999999;
	padding: 10px;
	font-size: 1.5em;
	font-family: "Montserrat", 'Roboto', "Noto Sans TC", sans-serif;
}

.search-submit-btn{
	width: 50px;
	background: none;
	border: 0;
	color: #ffffff;
	font-size: 1.7em;
	cursor: pointer;
}


/* ============================================================
SUBSCRIBE
============================================================ */
.subscribe-area{
	width: 100%;
	position: relative;
	margin: 0 auto;
	background: #f7f7f7;
	padding: 20px 0 70px 0;
	z-index: 2;
}

.subscribe-area-content{
	width: 85%;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
}


/* ============================================================
ADVERTISEMENT
============================================================ */
.ad-tip{
	color: #999999;
	font-size: 0.8em;
	text-align: center;
	text-transform: uppercase;
}

/* 300 */
.ad-300250, .ad-300600{
	width: 300px;
	position: relative;
	margin: 20px auto;
}

/* 970 */
.ad-970250{
	width: 970px;
	position: relative;
	margin: 50px auto;
}

.ad-300250 .ad-content{
	width: 300px;
	height: 250px;
	position: relative;
	overflow: hidden;
}

.ad-300600 .ad-content{
	width: 300px;
	height: 600px;
	position: relative;
	overflow: hidden;
}

.ad-970250 .ad-content{
	width: 970px;
	height: 250px;
	position: relative;
	overflow: hidden;
}

.ad-content picture{
	width: 100%;
}

@media all and (max-width: 1100px){
	.ad-970250{
		width: 300px;
		margin: 20px auto;
	}

	.ad-300600 .ad-content{
		width: 300px;
		height: 250px;
	}
}



/* ads parallax */
.ads-parallax{
	width: 100%;
	position: relative;
	margin: 0 auto;
}

.ads-para-container{
	width: 100%;
	position: relative;
}

.ads-parallax img{
	width: calc(100% - 1px);
	position: relative;
	margin: 0 auto;
	vertical-align: bottom;
}

.ads-parallax-fixed{
	position: fixed;
	top: 0;
	z-index: 1;
}

.ads-para-container .ad-tip{
	position: absolute;
    top: 5px;
    left: calc(50% - 8px);
    z-index: 2;
    color: #f7f7f7;
}

.ads-para-container .ad-tip:before{
	content: '';
	display: table;
	width: 100%;
	height: 15px;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, .2);
}



/* ads cover */
.ads-cover{
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, .8);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 30;
}

.ads-cover-container{
	width: 1100px;
	height: 750px;
	position: absolute;
	left: calc(50% - 550px);
	top: 0;
}

.ads-cover img{
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.close-btn{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #ffcc00;
	color: #000000;
	line-height: 52px;
	text-align: center;
	font-size: 40px;
	cursor: pointer;
}

.close-btn.adscover{
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 31;
}

@media all and (max-width: 1100px) {
	.ads-cover{
		width: 100%;
		height: 100vh;
		background: rgba(0, 0, 0, .8);
		position: fixed;
		top: 0;
		left: 0;
	}

	.ads-cover-container{
		width: 300px;
		height: 460px;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%); 
	}
}




/* FIXED */
.ad-fixed{
	width: 970px;
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 20;
}

.ad-fixed .ad-content{
	width: 970px;
	/* height: 250px; */
	position: relative;
	overflow: hidden;
}

.ad-fixed .ad-content picture, .ad-fixed .ad-content img{
	width: 100%;
	vertical-align: bottom;
}

.ad-close{
	width: 35px;
	height: 35px;
	background: rgba(0, 0, 0, .85);
	color: #ffffff;
	text-align: center;
	line-height: 36px;
	font-size: 1.8em;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
}

@media all and (max-width: 1100px){
	.ad-fixed{
		width: 100%;
		max-width: 640px;
		min-width: 320px;
		bottom: 0;
		left: 50%;
		transform: translate(-50%,0);
	}

	.ad-fixed .ad-content{
		width: 100%;
		height: auto;
	}
}





.desktop-ad{
	display: block;
}

.mobile-ad{
	display: none;
}

@media all and (max-width: 1100px){
	.desktop-ad{
		display: none;
	}

	.mobile-ad{
		display: block;
	}
}


/* ============================================================
GO TOP
============================================================ */

#gotop{
	width: 52px;
	height: 52px;
	background: rgba(255,204,0,.7);
	z-index:9;
	position: fixed;
	right: 20px;
	bottom: 85px;
	cursor: pointer;
	border-radius: 50%;
	display:none;
	-o-transition: .2s linear;
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	transition:  .2s linear;
	z-index: 15;
}

#gotop i{
	font-size: 3em;
	color: #FFFFFF;
	width: 52px;
	line-height: 52px;
	text-align: center;
	-o-transition: .2s linear;
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	transition:  .2s linear;
}


/* ============================================================
POP WINDOW
============================================================ */
.pop-window{
	width: 300px;
	background: #ffffff;
	border: 1px solid #999999;
	position: fixed;
	top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    box-shadow: -3px 4px 8px rgba(0,0,0,.3);
    display: none;
}

.pop-win-text, .pop-win-btn{
	width: 85%;
	position: relative;
	margin: 0 auto;
	text-align: center;
}

.pop-win-text{
	padding: 30px 0 20px 0;
}

.pop-win-text p{
	text-align: center;
}

.cube-btn.confirm-btn{
	width: 40%;
	text-transform: uppercase;
	border-radius: 5px;
	margin-bottom: 20px;
	display: inline-block;
	cursor: pointer;
}

.cube-btn.pop-cancel-btn{
	width: 40%;
	text-transform: uppercase;
	border-radius: 5px;
	margin-bottom: 20px;
	display: inline-block;
}

.cancel-tip .confirm-btn{
	background: #000000;
	color: #ffffff;
}

.cancel-tip .confirm-btn:hover{
	background: #ffcc00;
	color: #000000;
}

/* ============================================================
RWD
============================================================ */
@media all and (max-width: 1440px) {
	
}

@media all and (max-width: 1366px){
	
}

@media all and (max-width: 1280px){
	
}

@media all and (max-width: 1024px) {
	
}

@media all and (max-width: 960px) {
	
}

@media screen and (orientation: portrait) {
	

}

@media all and (max-width: 768px) {
	
}

@media all and (max-width: 640px) {
	
}

@media all and (max-width: 480px) {
	
}


@media all and (max-width: 320px){
	
}

