﻿/* formatting for all list elements
---------------------------------------------------------- */
#prenav 
{
	/*background      : transparent url(Images/nav_bg.jpg) no-repeat;*/
	background: transparent url(http://bucket.bonsaimediagroup.com/Websites/SoundTelecom/images/soundTele_sprite.png) no-repeat 0 -100px;
	width           : 745px;
	height          : 60px;
	position        : absolute;
	top             : 100px;
	left            : 0;
	z-index         : 999;
}

#prenav ul { /* all lists */
	padding: 0;
	margin:20px auto auto 0px;
	list-style: none;
	font-weight: bold;
	z-index:99;

}

#nav li { /* all list items */
	float           : left;
	position        : relative;
    z-index         : 5;
    background      : url(http://bucket.bonsaimediagroup.com/Websites/SoundTelecom/images/navDivider.jpg) no-repeat top left;
}

#nav li:first-child
{
    background      : none;
}

#prenav li a { /* all list item links, this makes the entire item and not just the text clickable */
	display: block;
	margin:auto 8px auto 8px;
	font-size:11px;
	text-transform:uppercase;
	text-decoration:none;
	z-index:5;
	color:#afdefa;
	height:25px;
	padding-top:15px;
}

/*Following is used to fix the spacing of the nav because Telephone Answering Service was changed to answering service */
#prenav #answeringServiceLink .answeringServiceLink 
{
	margin:auto 10px auto 0;
	padding-left:15px;
}

#prenav li a:hover 
{
	color:#d5792c;	
}

#nav {
    z-index:5;
}

/* list ends
---------------------------------------------------------- */


/* second level lists
---------------------------------------------------------- */

#prenav li ul {	
	display: none;
	position: absolute;
	z-index:5;
	margin:0 0 0 -10px;
	width:100%;
}

#prenav li ul li 
{
	z-index         :5;
    background      : none;
}

#prenav li ul li a {
	display: block;
	width: 185px;
	padding-left:10px;
	height: 25px;
	background-color:#cddde7;
	color:#124a6d;
	z-index: 5;
	text-transform: capitalize;
	border-right:solid 1px #1e5679;
	border-bottom:solid 1px #1e5679;
	border-left:solid 1px #1e5679;


}

/* second-level list item links hover */
#prenav li ul li a:hover 
{ 
	background-color:#eef3f5;
	z-index: 5;
}

/* IE and mozilla fixes
---------------------------------------------------------- */

#prenav li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	left: auto;
}

#prenav li:hover ul, li.over ul { /* lists nested under hovered list items */
	display: block;
}

#prenav li ul li {
	clear: left; /* float fix for IE*/
}

/* misc
---------------------------------------------------------- */



/*Hacks :( */
@media screen and (-webkit-min-device-pixel-ratio:0) 
{
#prenav li a {
	font-size:1em;
	margin:auto 15px;
}
}
