/* Clearfix */
.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
 *zoom: 1;
}
/* Basic Styles */

nav_tab {
	/*height: 40px;*/
	font-family: 'Roboto', sans-serif;
	position: relative;
	text-align: center;
	background-color: #d8dddf;
	font-weight: 300;
	color: #828894;
	font-size: 1em;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	bottom:-1px;
	top:-20px\0/;
	
}
nav_tab ul {
	padding: 0;
	margin: 0px 0px;
/*	height: 40px;*/
}
nav_tab li {
	display: inline;
	width: 100%;
}
nav_tab a {
	color: rgb(46, 54, 76);
	display: inline-block;
	width: 135px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	background-color: #d8dddf;
	
}
.nav_tab_active {
	color: rgb(46, 54, 76);
	background-color: #FFFFFF;
	width: 135px;
	text-align: center;
	line-height: 40px;
	border-color: #d8dddf;
	border-style: solid;
	border-left-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-bottom-color: #ffffff;
}
.nav_tab_articulation_active {
	color: #F7FF20;
	background-color: #00A3FF;
	width: 135px;
	text-align: center;
	line-height: 40px;
	border-color: #d8dddf;
	border-style: solid;
	border-left-width: 1px;
	border-right-width: 1px;
	border-top-width: 1px;
	border-bottom-width: 0px;
}
nav_tab li a {
}
nav_tab li:last-child a {
}
nav_tab a:hover, nav_tab a:active {
	background-color: rgb(46, 54, 76);
	color: #fff;
}
nav_tab a#pull {
	display: none;
}
nav_tab a:hover#pull {
	color: #ffffff;
	background-color: rgb(0, 163, 255);
}

/* 當版面寬度大於900px時，會套用此段css */
@media screen and (min-width: 900px) {
	
	nav_tab {

	bottom:-22px\0/;
	
}
	
	
nav_tab li a {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	margin-left: 2px;
	margin-right: 2px;
	
	
}
}

/* 當版面寬度介於600~900px原，會套用此段css */
@media screen and (min-width: 600px) and (max-width: 900px) {
nav_tab {
	position: relative;
	width: 100%;
	height: auto;
	top: 40px;
	top: -10px\0/;
	margin-left: auto;
	margin-right: auto;
	
}
nav_tab ul {
	display: none;
	height: auto;
	width: auto;
}
nav_tab a#pull {
	display: block;
	background-color: rgb(46, 54, 76);
	width: 100%;
	position: relative;
	color: #fff;
}
nav_tab a#pull:after {
	content: "";
	background: url('/20221211081741oe_/https://www.eng.cuhk.edu.hk/ENGE-EAWW/img/nav-icon.png') no-repeat;
	width: 30px;
	height: 30px;
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 10px;
}
nav_tab li a {
	width: 100%;
}
.nav_tab li {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.nav_tab_active {
	width: 100%;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.nav_tab_articulation_active {
	width: 100%;
}
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {
nav_tab {
	position: relative;
	width: 100%;
	height: auto;
	top: 40px;
	top: -10px\0/;
	margin-left: auto;
	margin-right: auto;
}
nav_tab ul {
	display: none;
	height: auto;
	width: auto;
}
nav_tab a#pull {
	display: block;
	background-color: rgb(46, 54, 76);
	width: 100%;
	position: relative;
	color: #fff;
}
nav_tab a#pull:after {
	content: "";
	background: url('/20221211081741oe_/https://www.eng.cuhk.edu.hk/ENGE-EAWW/img/nav-icon.png') no-repeat;
	width: 30px;
	height: 30px;
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 10px;
}
nav_tab li a {
	width: 100%;
}
.nav_tab li {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.nav_tab_active {
	width: 100%;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.nav_tab_articulation_active {
	width: 100%;
}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
nav_tab {
	position: relative;
	width: 100%;
	height: auto;
	top: 40px;
	top: -10px\0/;
	margin-left: auto;
	margin-right: auto;
}
nav_tab ul {
	display: none;
	height: auto;
	width: auto;
}
nav_tab a#pull {
	display: block;
	background-color: rgb(46, 54, 76);
	width: 100%;
	position: relative;
	color: #fff;
}
nav_tab a#pull:after {
	content: "";
	background: url('/20221211081741oe_/https://www.eng.cuhk.edu.hk/ENGE-EAWW/img/nav-icon.png') no-repeat;
	width: 30px;
	height: 30px;
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 10px;
}
nav_tab li a {
	width: 100%;
}
.nav_tab li {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.nav_tab_active {
	width: 100%;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.nav_tab_articulation_active {
	width: 100%;
}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
nav_tab li {
	display: block;
	float: none;
	width: 100%;
}
nav_tab li a {
}
}
