﻿*, *:after, *:before {
	margin:0;
	padding:0;
}


ul, ol {
	list-style:none;
}


/*web版*/
@media only screen and (min-width:768px) {



.nav {
	position:relative;
	display:inline-block;
	width:100%;
	height:auto;
	font-size:18px;
	line-height:30px;
	font-weight:900;
	z-index:9999;
	text-align:center;
	z-index:9999;
	background: rgba(0, 0, 0, 0.8);
	margin: 0 0 6px 0;
	border-top: 1px solid #333;
	-webkit-box-shadow: 2px 2px 4px rgba(20%,20%,40%,0.6);
	-moz-box-shadow: 2px 2px 4px rgba(20%,20%,40%,0.6);
	box-shadow: 2px 2px 4px rgba(20%,20%,40%,0.6);	
}


.nav-list {
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
	text-align: center;
	position:relative; 
	float:left;
	left:50%;	
	
}

.nav-item {
	float:left;
	*display:inline;
	zoom:1;
	position:relative; 
	right:50%;
}


.logodiv{
	padding: 0;
}


.nav-item a {
	display:block;
	color:#fff;
	padding:12px 0;
	margin:0 15px;
        font-size: 16px;
	font-weight:700;
	font-family:Microsoft JhengHei;
}

.nav-item a img {
	height:45px;
	width:auto;
	padding:0 20px 0 0;
	margin:-6px 0 0 0;	
}

.nav-item:hover .nav-submenu {
	display:block;
}


}


/*mobile版*/
@media only screen and (max-width: 768px) {

.nav {
	position:relative;
	display:inline-block;
	font-size:14px;
	font-weight:900;
	z-index:9990;
}

.nav-list {
	text-align:left;
}


.nav-item {
	float:left;
	*display:inline;
	zoom:1;
	font-family:Microsoft JhengHei;
}

.nav-item2 {
	float:left;
	*display:inline;
	zoom:1;
	font-family:Microsoft JhengHei;
}


.nav-item a {
	display:block;
	color:#111;
	padding:15px 0;
	margin:0 15px;
        font-size: 18px;
        font-weight: 700;
	font-family:Microsoft JhengHei;
}

.nav-item a img {
	height:45px;
	width:auto;
	padding:0;
	margin:0;	
}

.nav-item:hover .nav-submenu {
	display:block;
}

.nav-item input {padding:8px 8px 8px 0;}


}




.nav-item2 a {
	display:block;
	color:#111;
	padding:15px 0;
	margin:0 15px;
        font-size: 18px;
        font-weight: 700;
	font-family:Microsoft JhengHei;
}

.nav-item2 a img {
	height:35px;
	width:auto;
	padding:0;
	margin:0;	
}

.nav-item2:hover .nav-submenu {
	display:block;
}

.nav-submenu {
	display:none;
	position:absolute;
	left:0;
	width:100%;
	z-index:100;
	text-align: left;
}
.nav-submenu-item a {
	display:block;
	width:200px;
	padding:10px 15px;
	margin:0 0 1px 0;
	color:#fff;
        font-size: 16px;
        font-weight: 700;
	background: rgba(249, 76, 80, 0.8);
}
.nav-submenu-item a:hover {
	color:#EAE5C1;
	background: rgba(249, 76, 80, 0.8);
}

.nav-mobile {
	display:none; 
	cursor:pointer;
	position:absolute;
	top:0;
	left:0;
	background:url(../images/menu.png) no-repeat center center;
	background-size:40px;
	height:50px;
	width:50px;
}

.nav-click {
	position:absolute;
	top:0;
	right:0;
	display:none;
	border-left:1px solid #fff;
	border-bottom:1px solid #fff;
	background:#a8a8a8;
	height:49px;
	width:50px;
	cursor:pointer;
}
.nav-click i {
	display:block;
	height:48px;
	width:48px;
	background:url(../img/drop.svg) no-repeat center center;
	background-size:20px;
}
.nav-click:hover {
	background-color:#a8a8a8;
}
.nav-rotate {
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	-ms-transform:rotate(180deg);
	-o-transform:rotate(180deg);
	transform:rotate(180deg);
}

/*web版*/
@media only screen and (min-width:768px) {

.headermob{display:none;}
.headermob img{display:none;}

.mobbg1 a{color: #ffb5b8!important;}
.mobbg2 a{color: #65e899!important;}
.mobbg3 a{color: #58acf4!important;}

}


/*mobile版*/
@media only screen and (max-width: 768px) {

.headermob{
	width:100%;
	height:auto;
        margin:50px 0 0 0;
	padding:0;
	text-align:center;
}

.headermob img{
	top:5px;
	right:5px;
	position:fixed;
	height:40px;
	width:auto;
        margin:0;
	padding:0;	
	border:0;
	z-index:9991;
}

.headermsgmob{
	width:96%;
	height:auto;
	min-height:1px;
        margin:0 2% 0 2%;
	padding:50px 0 0 0;
	text-align:left;
	color:#595959;
	font-size:14px;
	font-weight:300;
	line-height: 16px;
	letter-spacing:0px;
}

	.nav-mobile {
		display:block;
	}
	.nav {
		position:fixed;
		top:0;
		width:100%;
		height:50px;
		padding:0;
		margin:0;
		background: rgba(10, 10, 10, 0.85);		
	}
	.nav-list {
		display:none;
		margin:50px 0 0 0;
		width:60%;		
	}
	.nav-item {
		width:100%;
		float:none;
		background: #313536;
		border-bottom:1px solid #222627;
	}

	.nav-item a {
		color:#fff;
		padding:0;
		margin:0 20px;
        	font-size: 17px;
        	font-weight: 300;
		line-height: 28px;
	}

	.nav-item > a {
		padding:8px 10px;	
	}

	.nav-item2 {
		width:50%;
		float:left;
		background: #313536;
		border-bottom:1px solid #222627;
	}

	.nav-item2 a {
		color:#fff;
		padding:0;
		margin:0 20px;
        	font-size: 17px;
        	font-weight: 300;
		line-height: 28px;
	}

	.nav-item2 > a {
		padding:8px 10px;	
	}

	.nav-click {
		display:block;
	}
	.nav-mobile-open {
		border-radius:2px 2px 0 0;
		-webkit-border-radius:2px 2px 0 0;
		-moz-border-radius:2px 2px 0 0;
	}
	.nav-item:hover .nav-submenu {
		display:none;
	}
	.nav-submenu {
		position:static;
		width:100%;
		background: rgba(100, 100, 100, 0.85);
	}

	.nav-submenu-item a {
		display:block;
		width: 90%;
		padding:10px 5%;
		color:#fff;
		margin:0 0 1px 0;
        	font-size: 18px;
        	font-weight: 700;
		background: rgba(100, 100, 100, 0.85);
		border-bottom:1px solid #fff;
	}
	.nav-submenu-item a:hover {
		color:#fff;
		background: rgba(100, 100, 100, 0.95);
	}

.mobbg1{background: #ffb5b8!important;color:#111!important;}
.mobbg2{background: #65e899!important;color:#111!important;}
.mobbg3{background: #58acf4!important;color:#111!important;}

.mobbg1 a{important;color:#000!important;}
.mobbg2 a{important;color:#000!important;}
.mobbg3 a{important;color:#000!important;}

}