/* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */
.SideNavMenu {
	position:absolute;
	overflow:hidden;
	left:-1000px;
	top:-1000px;
	}

/* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */
.SideNavMenu .content {
	position:absolute;
	}

/* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */
.SideNavMenu .items {
	position:relative;
	left:0px; top:0px;
	z-index:2;
	border:1px solid #0066CC; /* adds a border to the sides & bottom of slideout */
	}

.SideNavMenu .items td {
	}

.SideNavMenu.left .items {
	border-left:none;
	}
/*
.transMenu.top .items {
	border-top:none;
	}
*/

/* each .item is one menu item */ 
.SideNavMenu .item { 
    color:#000;
	/* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
	border:none;
	cursor:pointer;
	cursor:hand; /* end hack */
	text-decoration:none;
	font:bold 10pt/16px Arial, Verdana, sans-serif; /* font for slideout */
    text-indent:2px;
	}
.SideNavMenu .item td { }

/* this DIV is the semi-transparent white background of each menu. the -moz-opacity is a proprietary way to get transparency in mozilla, the filter is for IE/windows 5.0+. */
/* we set the background color in script because ie mac does not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by */
.SideNavMenu .background {
	position:absolute;
	left:0px; top:0px;
	z-index:1;
	-moz-opacity:.93;
	filter:alpha(opacity=93);
	}

/* same concept as .background, but this is the sliver of shadow on the right of the menu. It's left, height, and background are set by script. In IE5/mac, it uses a PNG */
.SideNavMenu .shadowRight {
	position:absolute;
	z-index:3;
	top:3px; width:2px;
	-moz-opacity:.4;
	filter:alpha(opacity=40);
	}

/* same concept as .background, but this is the sliver of shadow on the bottom of the menu. It's top, width, and background are set by script. In IE5/mac, it uses a PNG */
.SideNavMenu .shadowBottom {
	position:absolute;
	z-index:1;
	left:3px; height:2px;
	-moz-opacity:.5;
	filter:alpha(opacity=50);
	}

/* this is the class that is used when the mouse is over an item. script sets the row to this class when required. */
.SideNavMenu .item.hover {
	color:#0066CC;
	background-color:#FFF;
	}

/* this is either the dingbat that indicates there is a submenu, or a spacer gif in it's place. We give it extra margin to create some space between the text and the dingbat */
.SideNavMenu .item img {
	margin-left:0px;
	}

/* tr.menuborder td 
td.off { background:transparent url(http://www.thefriary.org/ContentImages/LeftNavMenu/sidenavli_bg.gif) no-repeat left center; }
td.on { background:transparent url(http://www.thefriary.org/ContentImages/LeftNavMenu/sidenavli_bg2.gif) no-repeat left center; }
*/

/* Side(Left)Nav Menu *NEW* */
#sidenavcontainer {	/* holder div */
	margin:0px;
	padding:0px;
	width:190px;
}

#sidenavcontainer ul {	/* fixes mozilla issues */
	margin:0px; padding:0px;
	list-style-type:none;
	font:bold 10pt Arial, Verdana, sans-serif;
	background-color:#EAEAEA;
}

#sidenavlist li {
	color:#333;
	list-style:none;
	margin:0px;
	border-bottom:1px ridge #CCC;	/* border for bottom of list items */
	border-right:1px solid #DDD;	/* border for right side 3D effect */
	text-align:left;
	/* turn bg img back on once double line button links are fixed */
	background:transparent url(http://www.thefriary.org/ContentImages/LeftNavMenu/snav_lg1.gif) no-repeat center left;
	cursor:default !important;
}

/* hover class from menu script - keeps focus on main link */
#sidenavlist li a.hover {
background:#B0CAE3 url(http://www.thefriary.org/ContentImages/LeftNavMenu/snav_lg2.gif) no-repeat center left;
}

#sidenavlist li a {
	display:block;
	text-indent:0.8em;
	padding:4px 0px;
	/*padding-top:4px;*/
	/*height:20px;  fixes height issue(s) */
	text-decoration:none;
	background:transparent url(http://www.thefriary.org/ContentImages/LeftNavMenu/snav_lg1.gif) no-repeat center left;
}

#sidenavlist li a:link, #sidenavlist li a:visited { color:#333; }

#sidenavlist li a:hover {
	font-weight:bold;
	color:#000;
	background:transparent url(http://www.thefriary.org/ContentImages/LeftNavMenu/snav_lg2.gif) no-repeat center left;
	background-color:#B0CAE3; /* blue */
	/*border-left:3px #004080 solid; side indent color block */
}

/* sidenav - blue border line */
td#sidenavtd {
	border-right:1px solid #0066CC;
	background-color:#F5F5F5;
	width:190px;
	vertical-align:top;
}

/* -webkit fix */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .SideNavMenu .item{color:#333;}
    .SideNavMenu .background {background-color:#06C;}
    .SideNavMenu .item.hover {background:#FFF;color:#06C;}
}