﻿/* remove all list stylings */
.menu, .menu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
}


/* move all list items into one row, by floating them */
.menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
}

/* define new starting point for the nested UL, thus making positioning it a piece of cake */
.menu li:hover {
	position: relative;
}

/* force the submenu items into separate rows, while still keeping float:left (which resolves IE6 white-gap problem) */
.menu li li {
	width: 100%;
}

/* fix the position for 2nd level submenus.
	first make sure no horizontal scrollbars are visible on initial page load by sliding them all into top-left corner  */
.menu li li div {
	top: 0;
	left: 0;
}

/* ...and then place the submenu where it should be when shown */
.menu li li:hover div {
	left: 100%;
}

/* initialy hide all sub menus */
.menu div {
	display: none;
	position: absolute;
	z-index: 10;
}

/* display them on hover */
.menu li:hover>div {
	display: block;
}

/* -- float.clear -- force containment of floated LIs inside of UL */
.menu:after, .menu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
/* IE7 float clear: */
.menu, .menu ul {
	min-height: 0;
}
/* -- float.clear.END --  */

/* sticky submenu: it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".menu div" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
.menu div {
	background-image: url(../Images/Tabs/empty.gif);/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	padding: 3px 30px 30px 30px;
	margin: 0px 0 0 -30px;
	/*background: #f00; */		/* uncomment this if you want to see the "safe" area. you can also use to adjust the safe area to your requirement */
}


/* - - - ADxMenu: DESIGN styles - - - */

.menu {
	color: #eee;
	background: #F2F2E8;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
}

.menu ul {
	width: 123px;
	background: #ECE9E0;
	border-left:1px #A6A6A6 solid;
	border-right:1px #A6A6A6 solid;
	
	margin-right:4px;
}

 

.menu li:hover>a {
	color:black;
	text-decoration:underline;
}

.menu a {
	text-decoration: none;
	color:black;
	padding: 2px 1em;
	display: block;
}

.menu a:hover {
/*	color: #000;*/
}

/* Fix for IE5/Mac \*//*/
.menu a {
	float: left;
}
.menu {
	display: inline-block;
}
/* End Fix */



.menu div span.top,.menu div span.bot {
	background-repeat:no-repeat;
	width:125px;
	height:2px;
	display:block;
	font-size:1px;
}


.menu div span.top {
	background-image:url('../Images/Tabs/roundTop.gif');	
}

.menu div ul span.top {
	margin-top:0;
}

.menu div span.bot {
	background-image:url('../Images/Tabs/roundBottom.gif');	
}


.menu a#tab-WaystoGive,.menu a#tab-AboutOurChurch,.menu a#tab-Worship,.menu a#tab-CommunityOutreach,.menu a#tab-EventsCalendar,.menu a#tab-News,.menu a#tab-ContactUs,.menu a#tab-Home
{
	display:block;
	height:22px;
	text-indent:-8000px;
	padding:0;
}


.menu a#tab-WaystoGive
{
	width: 106px;
	background: url(../Images/Tabs/ways-to-give.gif) top left no-repeat;	
}

.menu a#tab-AboutOurChurch
{
	width: 115px;
	background: url(../Images/Tabs/about-selected.gif) top left no-repeat;	
}

.menu a#tab-Worship
{
	width: 61px;
	background: url(../Images/Tabs/worship-off.gif) top left no-repeat;		
}

.menu a#tab-CommunityOutreach
{
	width: 134px;
	background: url(../Images/Tabs/community-off.gif) top left no-repeat;		
}

.menu a#tab-EventsCalendar
{
	width: 105px;
	background: url(../Images/Tabs/events-off.gif) top left no-repeat;		
}

.menu a#tab-News
{
	width: 44px;
	background: url(../Images/Tabs/news-off.gif) top left no-repeat;		
}

.menu a#tab-ContactUs
{
	width: 75px;
	background: url(../Images/Tabs/contact-off.gif) top left no-repeat;		
}

.menu a#tab-Home
{
	width: 45px;
	background: url(../Images/Tabs/home-off.gif) top left no-repeat;		
}

.menu a#tab-WaystoGive:hover,.menu a#tab-AboutOurChurch:hover,.menu a#tab-Worship:hover,.menu a#tab-CommunityOutreach:hover,.menu a#tab-EventsCalendar:hover,.menu a#tab-News:hover,.menu a#tab-ContactUs:hover,.menu a#tab-Home:hover {
	background-position: 0 -44px;
	}


.menu li.selected a#tab-WaystoGive,.menu li.selected a#tab-AboutOurChurch,
.menu li.selected a#tab-Worship,.menu li.selected a#tab-CommunityOutreach,
.menu li.selected a#tab-EventsCalendar,.menu li.selected a#tab-News,
.menu li.selected a#tab-ContactUs,.menu li.selected a#tab-Home {
	background-position: 0 -22px;
}
	
.menu li.hasChildren
{
	background-image:url(../Images/Tabs/small_red_pointer.gif);
	background-repeat:no-repeat;
	background-position: 113px 5px;
}
