
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body { font-family:'Lato'; background-color:#f7f7f7}
header { width: 100%; }

.nav-bar { display: none; }

header nav {
    background: rgb(96 170 202);
    z-index: 1000;
    width: 100%;
    margin: auto;
    color: rgb(255 255 255);
    
}

header nav ul { 
    text-align: center;
    display: block;
    width: 940px;
    list-style: none;
    padding: 0;
    margin-right: auto;
    margin-left: auto;
}

header nav ul li {
  float: left;
  position: relative;
 border-radius: 10px;
}

header nav:after {
  content: "";
  display: block;
  clear: both;
}

header nav ul li a {
  color: #fff !important; 
  display: block;
  line-height: 45px;
  text-decoration: none;
  font-size: 20px;
  font-family: "微軟正黑體";
  font-size: 15px;
  font-weight: 700;
  padding-right: 30px;
  padding-left: 30px;
}

header nav ul li:hover {

     background: rgb(68 132 160);
}

header nav ul li:hover i { color: yellow; }

header nav ul li i { margin-right: 10px; }

header nav ul li:hover .children { display: block; }

header nav ul li .children {
  display: none;
  background: #60aaca;
  position: absolute;
  width: 150%;
  z-index: 1000;
}

header nav ul li .children span { display: none; }

header nav ul li .children li {
  display: block;
  width: 100%;
  border-bottom: 1px solid #ffffff99;
}

header nav ul li .children li a { 
	/*margin-left: 30px; */
}

header nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}

/*responsive nav style*/

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

body {
	/*padding-top: 80px;*/
	}

.nav-bar {
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  background: #60aaca;
  z-index: 3;
}

.nav-bar span {
  float: left;
  font-size: 18px;
  line-height: 50px;
  color: #fff;
  font-family: "微軟正黑體";
  font-weight: 700;
  padding-left: 10px;
}

.nav-bar .fa-bars {
  display: block;
  padding: 20px;
  color: #fff;
  overflow: hidden;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  float: right;
}
	
#site-logo {
display: block;
    position: fixed;
    background-image: url(../images/head_logo_a.png);
    background-repeat: no-repeat;
    height: 45px;
    width: 150px;
    text-align: center;
    margin-left: 31%;
	margin-top: 3px;
}
	
#header {
    height: 0px;
    width: 100%;
    text-align: center;
}
	
	#searchform {
	display: none;
	}	


	
	
header nav ul {

    width: 100%;

}	

header nav {
  width: 100%;
  height: auto;
  position: fixed;
  right: 100%;
  top : 60px;
  overflow: hidden;
  height: 100%;
}

header nav ul li {
  display: block;
  /*border-bottom: 1px solid rgba(255, 255, .5);*/
  width: 100%;
}

header ul li a { display: block; }

header nav ul li .children {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: none;
}

header nav ul li:hover .children { display: none; }

header nav ul li ul li:first-child { border-top: 1px solid #ffffff99; }

header nav ul li .children span {
  display: inline-block;
  margin-right: 10px;
}

header nav ul li .children a {
  margin-left: 10px;
  padding: 5px 0;
}

header nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}
}
