﻿
.MenuBackground {
    width: 100% !important;
}

.MenuInside {
    width: 890px;
    margin-left: auto;
    margin-right: auto;
    position: relative !important;
    top: 0px !important;
    padding: 0px !important;
    /*border: 1px Solid #333333;*/
    background-color: #FAFAFA;
    z-index: 1;
    color: #333333;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    font-weight: bold;
    /*height: 50px;*/
    border-radius: 5px;
}

.MenuCMS ul {
    width: 100%;
    margin-top: 1px;
    margin-bottom: 1px;
    margin-left: 0px !important;
    padding: 0px !important;
}

.MenuCMS li {
    padding: 5px;
    margin: 0px;
    display: inline-block;
    text-decoration: none;
    width: auto;
    text-align: center;
    /*border:1px solid green;*/
}

.MenuCMS ul li a {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    line-height: 40px;
}

.MenuCMS ul li a:visited {
        color: #333333;
        font-weight: bold;
        text-decoration: none;
        font-size: 14px;
        display: inline-block;
        line-height: 40px;
    }

.MenuCMS ul li a:hover {
        color: #C5C5C5;
        font-weight: bold; /*background-image:url(Images/star_grey.png);
    background-position-y:center;
    background-position-x:left;
    background-repeat:no-repeat;
    padding-left:15px;*/
    }

.MenuCMS a {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    line-height: 40px;
    width:199px;
}

.MenuCMS a:visited {
        color: #333333;
        font-weight: bold;
        text-decoration: none;
        font-size: 14px;
        display: inline-block;
        line-height: 40px;
    }

.MenuCMS a:hover {
        color: #C5C5C5;
        font-weight: bold;
        /*background-image:url(Images/star_grey.png);
    background-position-y:center;
    background-position-x:left;
    background-repeat:no-repeat;
    padding-left:16px;*/
    }

    
/*.nav {
    display: block;
    width: 65%;
    border: 1px solid #ccc;
    background-color: #e8eded;
    height: 52px;
    margin-left: 235px;
         }
.nav ul{
	margin:0;
	padding:0;
	list-style:none;
    width:100%;
}
.nav ul li{
	margin:0;
	padding:10px 20px;
	position:relative;
	height:20px;
	line-height:20px;
	background-color:#e8eded;
}
.nav > ul > li {
	float: left;
	height:30px;
	line-height:30px; 
	background-color:#e8eded;
}
.nav li > ul{
	visibility:hidden; 
	position: absolute;
	top:0px;
	left:200px; 
	width:auto;
}
.nav > ul > li > ul{
	top:50px;
	left:0;
	width:600px;
}
.nav > ul > li > ul > li{
	width:150px;
	float:left;
}
.nav li:hover{
	background-color:#cdd1d1; 
}
.nav li:hover a{ 
    color:black;
}
.nav li:hover > ul{
	visibility:visible;
}*/

#nav {
    display: block;
    width: 65%;
    border: 1px solid #ccc;
    background-color: #e8eded;
    height: 52px;
    margin-left: 235px;
}

 #nav ul{
	margin:0;
	padding:0;
	list-style:none;
}
#nav ul li{
	margin:0;
	padding:10px 20px;
	position:relative;
	height:20px;
	line-height:20px;
	background-color:#e8eded;
}
#nav > ul > li {
	float: left;
	height:30px;
	line-height:30px;
	background-color:#e8eded;
}
#nav li > ul{
	visibility:hidden;
	width:200px;
	position: absolute;
	top:0px;
	left:200px; 
}
#nav > ul > li > ul{
	top:50px;
	left:0;
}
#nav li:hover{
	background-color:#6ea3a3; 
}

#nav li:hover a{ 
    color:black;
}
 
#nav li:hover > ul{
	visibility:visible;
}