﻿a,
/*a:hover {text-decoration:none; -webkit-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;}
*/ul,
ol {list-style:none;}

*,
*:after,
*:before {
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
/*	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;*/  /*為了通過w3c刪除的*/
}

/*  選單內容 begin */

.nav {
	position:relative;
	font-size:120%;
	display:inline-block;
	font-weight: 600;
	z-index:99999;
    }
.nav-list {text-align:left;}
.nav-item {
	float:left;
	display: table; 
    /*zoom:1;*/   /*為了通過w3c刪除的*/
	position: relative;
	border-right:#3871af 1px solid;/* 主選單外框線*/
	}
	.nav-item:last-child {border-right:#fff}/* 主選單外框線，最後一條線隱藏*/
	.nav-item a {
		display: block;
		color: #fff;
		padding: 10px 20px;
		background: #4C70CD;
	}
.nav-item > a:hover {
	background: #0166fe; text-decoration:none;
    }
.nav-item:hover .nav-submenu {
	display:block;
	
}
/* 子選單 */
.nav-submenu {
	display:none;
	position:absolute;
	left:0;
	width:180px;
	}
.nav-submenu-item a {
	background:#0166fe;
	border-bottom:1px solid #FFF;
	display:block;
	padding:4x 2px 4px 15px;
	color:#fff;
	
}
.nav-submenu-item a:hover {
	background:#4690ff; text-decoration:none;
	
}
/* 手機選單 */
.nav-mobile {
	display:none; 
	cursor:pointer;
	position:absolute;
	top:0;
	left:0;
	background:#222 url(../images/nav.jpg) no-repeat center center;
	background-size:40px;
	height:49px;
	width:49px;
	
}
/* 手機選單 revealing <ul> */
.nav-click {
	position:absolute;
	top:0;
	right:0;
	display:none;
/*	border-left:1px solid #FFF;
*/	height:49px;
	width:50px;
	cursor:pointer;
	
	
	
	
}
.nav-click i {
	display:block;
	height:55px;
	width:55px;
	background:url(../images/drop.jpg) no-repeat center center #CECECE;
	background-size:40px;
	
}
.nav-click:hover {
	background-color:#666;
}
.nav-rotate {
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	-ms-transform:rotate(180deg);
	-o-transform:rotate(180deg);
	transform:rotate(180deg);
}



@media screen and (max-width: 768px) {
	.nav-mobile {
		display:block;
	}
	.nav {
		width:100%;
		padding:50px 0 0;
	}
	.nav-list {
		display:none;
	}
	.nav-item {
		width:100%;
		float:none;
		border-right:0px;/* 主選單外框線*/
		border-bottom: #fff 1px solid;

	}
	.nav-item > a {
		padding:15px;
	}
	.nav-click {
		display:block;
	}
	.nav-mobile-open {
		border-radius:5px 5px 0 0;
		-webkit-border-radius:5px 5px 0 0;
		-moz-border-radius:5px 5px 0 0;
	}
	.nav-item:hover .nav-submenu {
		display:none;
	}
	.nav-submenu {
		position:static;
		width:100%;
	}
}



@media screen and (max-width: 640px) {
	
#tabs li{	width:50%;}


	}
/*最新消息選單結束*/