
nav {
    z-index: 9999;
    font-family: 'Ubuntu', sans-serif;;
    font-weight: 400;
}

#nav {
	margin: 0;
	padding: 0;
	display: block;
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	text-align: left;
    z-index: 9999;
	background:#fff;
}
#nav ul {
	display: none;
}
#nav.active {
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
}
.navcontents {
	background:#fff;
}
/* menu icon */
#menu-icon {
	color: #936695;
	width: 45px;
	height: 45px;
	background: url(../images/menu-icon.png) no-repeat center center;
	padding: 0;
	margin: 5px 5px 0;
	cursor: pointer;
	display: block; /* show menu icon */
}
#menu-icon.active {
	background: url(../images/menu-close.png) no-repeat center center;
}

#nav ul {
	height: 80%;
	padding: 1em 0;
}
ul#menu li {
	text-align: center;
	padding: 5px 10%;
    border-bottom: 1px solid #335b88
}

#nav a {
	display: inline-block;
	width:100%;
    color: #335b88;
    font-size: 20px;
    font-weight: 400;
	padding: 0;
}
#nav a:hover {
	background: #eee;
	text-decoration: none;
}

/*980px ----------------------------------------*/

@media screen and (min-width:980px){

#nav {
	position: fixed;
	width: 980px;
    margin: 0 auto;
	text-align: center;
	height: 48px;
	background: #fff;
    box-shadow: 0 5px 20px rgba(69,116,153,0.4);
    border-radius: 2px;
    top: 20px;
    right: 0; left: 0;
    border-bottom: none;
}
#nav a {
	display:block;
	line-height: 24px;
	padding: 8px 0;
    font-size: 18px;
	height:40px;
	box-sizing:border-box;
}
.navcontents {
	background:none;
}
#menu-icon {
	display: none;
}
#menu {
	background: none;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: auto;
	width: 980px;
}
#nav ul {
	display: block;
	margin: 0 auto;
    width: auto;
	padding: 0;
}
#nav ul li {
	display: inline-block;
    width: 150px;
	padding: 0;
    border-bottom: none;
	border-left: 3px solid #b4ccde;
}
#nav ul li:last-child {
	border-right: 3px solid #b4ccde;
}

div.navcontents {
	margin: 0 auto;
	padding: 0 ;
}
}