/* General
-----------------------------------------*/

* {
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0px;
	margin-top: 0;
	margin-right: 0;
} /*Simple browser reset*/


nav {
	width: 220px;
	float: left;
	list-style-type: none;
}

nav ul {
}

nav ul li:first-child {
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #FFF;

}







/* nav element
-----------------------------------------*/

nav ul li {
	display: block;
	height: 30px;
	line-height: 30px;
	background-color: #c3e6f8;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	width: 220px;
}

nav ul li a, nav ul li a:visited {
	display: block;
	height: 100%;
	padding-left: 15px;
	text-decoration: none;
	color: #2f5aa3;
	-webkit-font-smoothing: antialiased;
	-webkit-transition: background .4s;
	-moz-transition: background .4s;
	-o-transition: none;
	transition: background .4s;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; /*You can change the font in this line.*/
}

nav ul li a:hover {
	background-color: #2f5aa3;
	border-right-width: 5px;
	border-right-style: solid;
	border-right-color: #FC0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFF;
}

nav ul li a:active {
	position: relative;
	padding-top: 1px;
	color: #2f5aa3;
	font-size: 14px;
}







/* selected nav element
-----------------------------------------*/

nav ul li.selected {
	margin-right: -1px;
}

nav ul li.selected a, nav ul li.selected a:visited, nav ul li.selected:active {
	padding-top: 0; /*Change this to your site's main background color*/
	background-color: #2f5aa3;
	border-right-width: 5px;
	border-right-style: solid;
	border-right-color: #FC0;
	color: #FFF;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
}

/* loading nav element (only webkit browsers)
-----------------------------------------*/

@media screen and (-webkit-min-device-pixel-ratio:0) {
	nav {
		background: #C3E6F8 url(../../file/iMac/Users/imacapple/Sites/Vertical%20CSS%20Navigation%20Bar%201-2.2/spinner.gif) no-repeat -20px; /*This preloads the loading indicator image*/
	}
	
	a.loading {
		-webkit-transition: none;
	}
	
	a.loading, a.loading:visited, a.loading:hover {
		background: url(../../file/iMac/Users/imacapple/Sites/Vertical%20CSS%20Navigation%20Bar%201-2.2/spinner.gif) no-repeat 95% #eee;
	}
	
	li.selected a.loading, li.selected a.loading:visited, li.selected a.loading:hover {
		background: #fff;
	}
}
