﻿.mainNavigation{border-top:#e4e4e4 solid 5px;margin-top:-5px;margin-bottom:5px;}
#mainNav{list-style-position:outside;list-style-type:none;padding:0;margin:0;border-top:1px solid #d6b2bc;}
#mainNav li{line-height:29px;height:auto !important;height:29px;width:216px;border-bottom:1px solid #d6b2bc;}
#mainNav a{text-decoration:none;line-height:29px;display:block;font-size:12px;padding:0 0 0 10px;margin:0;width:206px;color:black;}
#mainNav a:hover{background:#e4e4e4 url(../Images/nav_hover.jpg) no-repeat right;}

#mainNav li ul{display:none;}
#mainNav li.active{margin:0;padding:0;}
#mainNav li.active a{padding:0 0 0 10px;background:#d6d6d6 url(../Images/sub_hover.jpg) repeat-y right;}
#mainNav li.active li a{color:black !important;background:#e4e4e4 url(../Images/nav_hover.jpg) no-repeat right !important;}
#mainNav li.active li a:hover, body.TheCommunity #mainNav li.active li.active a{color:black !important;background:#D6D6D6 url(../Images/sub_hover.jpg) no-repeat right !important;}

body.TheCommunity #mainNav li.active a{color:white;padding:0 0 0 10px;background:#6d1218 url(../Images/sub_hover_community.jpg) repeat-y right;}
body.LifeCare #mainNav li.active a{color:white;padding:0 0 0 10px;background:#607965 url(../Images/sub_hover_lifecare.jpg) repeat-y right;}
body.Residences #mainNav li.active a{color:white;padding:0 0 0 10px;background:#5b88cb url(../Images/sub_hover_residences.jpg) repeat-y right;}
body.NewsEvents #mainNav li.active a{padding:0 0 0 10px;background:#f7c540 url(../Images/sub_hover_news.jpg) repeat-y right;}
body.ContactUs #mainNav li.active a, body.ConstructionUpdates #mainNav li.active a{padding:0 0 0 10px;background:#d9c7a2 url(../Images/sub_hover_contact.jpg) repeat-y right;}

/* the line below had a margin of 3 in the third spot but was messing up IE*/
#mainNav li.active ul{display:block;background:#e4e4e4 url(../Images/nav_hover.jpg) repeat-y right;list-style:none;list-style-position:outside;margin:0;padding:0;border-top:1px solid #d6b2bc;}
#mainNav li.active li{margin:0;background:none;line-height:21px;height:auto !important;height:21px;}
#mainNav li.active li a{color:#3A4B01;font-weight:normal;background:none;line-height:21px;}
#mainNav li.active li a:hover{background:#d6d6d6 url(../Images/sub_hover.jpg) repeat-y right;}
#mainNav li.active li.active{background:transparent;margin:0;}
.mainnav li.active a:hover{}

.home li ul{display:none;}
.home li.active{margin:0;padding:0;}
.home #mainNav li.active a{padding:0 0 0 10px;background:#d6d6d6 url(../Images/sub_hover.jpg) repeat-y right;}
.home #mainNav li.active a{padding:0 0 0 10px;background:#d6d6d6 url(../Images/sub_hover.jpg) repeat-y right;}
.community #mainNav li.active a{color:white;padding:0 0 0 10px;background:url(../Images/sub_hover_community.jpg) #6d1218 repeat-y right;}
.community #mainNav li.active ul li a{color:black;padding:0 0 0 10px;background:#e4e4e4 url(../Images/nav_hover.jpg) repeat-y right;}
.lifecare #mainNav li.active a{color:white;padding:0 0 0 10px;background:#607965 url(../Images/sub_hover_lifecare.jpg) repeat-y right;}
.lifecare #mainNav li.active ul li a{color:black;padding:0 0 0 10px;background:#e4e4e4 url(../Images/nav_hover.jpg) repeat-y right;}
.residences #mainNav li.active a{color:white;padding:0 0 0 10px;background:#5b88cb url(../Images/sub_hover_residences.jpg) repeat-y right;}
.residences #mainNav li.active ul li a{color:black;padding:0 0 0 10px;background:#e4e4e4 url(../Images/nav_hover.jpg) repeat-y right;}
.news #mainNav li.active a{padding:0 0 0 10px;background:#f7c540 url(../Images/sub_hover_news.jpg) repeat-y right;}
.news #mainNav li.active ul li a{color:Black;padding:0 0 0 10px;background:#e4e4e4 url(../Images/nav_hover.jpg) repeat-y right;}
.contact #mainNav li.active a{padding:0 0 0 10px;background:#d9c7a2 url(../Images/sub_hover_contact.jpg) repeat-y right;}
.contact #mainNav li.active ul li a{color:Black;padding:0 0 0 10px;background:#e4e4e4 url(../Images/nav_hover.jpg) repeat-y right;}

.adminNavigation{background-color:White;position:absolute;border:black solid 1px;height:30px;margin-left:245px;z-index:5;width:515px;}
#adminNav{margin:0px;padding:0px;}
#adminNav li{list-style-type:none;padding:5px;float:left;}
#adminNav li a{color:Black;text-decoration:none;}