nav {
	/*background-color: rgba(255,255,255,0.6);*/
	height: auto;
	width: 100%;
	margin-right: 0%;
	margin-left: 0%;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-right: 15px;
	position: absolute;
	top: 0px;
	right: 0px;
	display: block !important;
	z-index: 1000;
	border-bottom: solid 1px rgba(192,0,0,1.0);
	background-color: #FFF;
}

.logo {
	position: absolute;
	width: 190px;
	height: 70px;
	top: 15px;
	left: 15px;
	z-index: 1500;
}

.logo .pre {
	width: 100%;
	font-weight: 400;	
	display: block;
	line-height: 30px;
	font-size: 18px;
	color: rgba(192,0,0,1.0);
	font-family: 'Montserrat', sans-serif;
}

.logo .last {
	width: 100%;	
	display: block;
	font-weight: 300;
	font-size: 20px;
	letter-spacing: 0.2em;
	border-top: solid 1px #000000;
	line-height: 30px;
	color: rgba(0,32,96,1.0);
	font-family: 'Roboto', sans-serif;
}

nav ul{
	margin: 0;
	list-style: none;
	padding: 0;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	font-size: 0;
	z-index: 999;
	position: relative;
	display: inline-block !important;
	zoom: 1;				
}
nav ul li{
	display: block;
	white-space: nowrap;
	font-size: 0;
	float: left;
	text-decoration: none;
}
* html nav ul li a{
	display:inline-block;}
nav ul>li{
	margin:0;}
nav ul a:active, nav ul a:focus{
	outline-style:none;}
nav ul a{
	display: block;
	vertical-align: middle;
	text-align: left;
	text-decoration: none;
	color: #000;
	cursor: pointer;
	font-size: 18px;
	font-weight: 300;
	border-right-width: 0;
	line-height: 40px;
	margin-top: 10px;
	margin-right: 25px;
	margin-bottom: 10px;
	margin-left: 25px;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	font-family: 'Montserrat', sans-serif;
	border-bottom: 2px solid transparent;
}
nav ul li:hover>a,nav ul li a.pressed{
	text-decoration: none;
	color: #333;
	font-weight: 300;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	border-bottom: 2px solid rgba(192,0,0,1.0);
}
nav ul li:hover>a,nav ul li > a.pressed{
	text-decoration: none;
	color: #333;
	font-weight: 300;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	border-bottom: 2px solid rgba(192,0,0,1.0);
}

nav ul li:active, nav ul li:focus, nav ul a:active, nav ul a:focus {
	text-decoration: none;
	color: #333;
	font-weight: 300;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	border-bottom: 2px solid rgba(192,0,0,1.0);
}

nav ul li {
	border: none !important;
}

/* Scroll-Top */

#scroll-top {
	position: fixed;
	bottom: 15px;
	right: 15px;
	cursor: pointer;
	background-color: rgba(255,255,255,0.5);	
	padding: 8px;
	padding-left: 12px;
	padding-right: 12px;
	border-radius: 3px;
	border: solid 1px rgba(192,0,0,1.0);
	display: none;
}

#scroll-top i {
	font-size: 24px;	
}

.sub-nav {
	position: absolute;	
	width: 100%;
	z-index: 999;
	opacity: 0.9;
	display: none;
}

.sub-nav li {
	border-bottom: solid 2px transparent;
	padding: 1rem;
}

.sub-nav li:hover {
	border-bottom: solid 2px rgba(192,0,0,1.0);
}

.sub-nav a {
	color: #000000;	
	text-decoration: none;
}

@media all and (max-width: 800px) {
	.logo {
		position: static;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.logo .pre {
		font-size: 15px;
	}
	
	.logo .last {
		font-size: 17px;
	}

	nav {
		padding-bottom: 0px;
		padding-right: 0px;
	}

	nav ul a {
		font-size: 16px;
		line-height: 25px;
	}

	.sub-nav {
		top: 133px;
	}

	.main-content {
		margin-top: 133px;	
	}
}