/* head menu */

ul#nav {
	padding: 0;
	text-align: center;
	margin: auto;
	width: 790px;
	
}
#nav ul li {
    border-right:none;
    border-bottom:1px solid #DDD;
    width: 100%;
    height:39px;
    display:block;
    visibility:visible;
    white-space: nowrap;
    text-align: center;
}
#nav a:link {
    text-decoration: none;
}
#nav a:hover {
    text-decoration: underline;
}
#nav ul li a {
    border-right: none;
    white-space: nowrap;
}
#nav ul {
    display:none;
    visibility:hidden;
    position:absolute;
    top:40px;
    z-index:1;
    border-radius:7px;
    border-top-left-radius:initial;
//    width:170px;
    padding:0;
}
#nav li:hover > ul {
    display:block;
    visibility:visible;
    background-color: #d2bb6e;
}
#nav {
    height:39px;    
    min-width:500px;
    margin-left:0;
    padding-left:0
}
#nav li {
    list-style:none;
    display:block;
    float:left;
    height:40px;
    position:relative;
    white-space: nowrap;
}
#nav li a {
    line-height:40px;
    height:40px;
    color:#5a533d;
    white-space: nowrap;
    text-transform: lowercase;
    display:block;
    margin:0;
    padding:0 10px 0 10px
}

.bigmenu {
    line-height:40px;
    height:40px;
    color:#5a533d;
    white-space: nowrap;
    text-transform: lowercase;
    display:block;
    margin:0;
    padding:0 10px 0 10px
}

#nav ul li:last-child,#nav ul li:last-child a {
    border-bottom:none
}
#nav ul ul,#nav ul ul ul {
    top:0;
    left:170px;
    display:none;
    visibility:hidden;
    z-index:1
}
#nav li:hover {
    background-color: #d2bb6e;
    border-radius: 7px;
}
#nav li.hasSubMenu {
    border-bottom-left-radius: initial;
    border-bottom-right-radius: initial;
}
ul#nav li ul {
    list-style-type: square;
}
ul#nav li ul li {
    text-align: left;
    list-style-type: circle;
}
/* foot menu */

ul#footnav {
    margin: 0;
	padding: 0;
}
#footnav ul li {
    border-right:none;
    border-bottom:1px solid #DDD;
    width: 100%;
    height:39px;
    display:block;
    visibility:visible;
    white-space: nowrap;
    text-align: center;
}
#footnav a:link {
    text-decoration: none;
}
#footnav a:hover {
    text-decoration: underline;
}
#footnav ul li a {
    border-right: none;
    white-space: nowrap;
}
#footnav ul {
    display:none;
    visibility:hidden;
    position:absolute;
    bottom:40px;
    z-index:1;
    border-radius:7px;
    border-bottom-left-radius:initial;
//    width:170px;
    padding:0
}
#footnav li:hover > ul {
    display:block;
    visibility:visible;
    background-color: #d2bb6e;
}
#footnav {
    height:39px;    
    min-width:500px;
    margin-left:0;
    padding-left:0
}
#footnav li {
    list-style:none;
    display:block;
    float:left;
    height:40px;
    position:relative;
    white-space: nowrap;
}
#footnav li a {
    line-height:40px;
    height:40px;
    color:#5a533d;
    white-space: nowrap;
    text-transform: lowercase;
    display:block;
    margin:0;
    padding:0 10px 0 10px
}
#footnav ul li:last-child,#footnav ul li:last-child a {
    border-bottom:none
}
#footnav ul ul,#footnav ul ul ul {
    bottom: -100px;
    left:170px;
    display:none;
    visibility:hidden;
    z-index:1
}
#footnav li:hover {
    background-color: #d2bb6e;
    border-radius: 7px;
}
ul#footnav li.hasSubMenu {
    border-top-left-radius: initial;
    border-top-right-radius: initial;
}
ul#footnav li ul li {
    text-align: left;
    list-style-type: circle;
}
