/* CSS Document */
#menu, #menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
}
#menu {
        width: 860px;
        border: 0px solid #ce3d4e;
        -moz-box-shadow: 0 0px 0px #ce3d4e;
        -webkit-box-shadow: 0 0px 0px #ce3d4e;
        box-shadow: 0 0px 0px #ce3d4e;
}
#menu:before,
#menu:after {
        content: "";
        display: table;
}

#menu:after {
        clear: both;
}

#menu {
        zoom:1;
}
#menu li {
        float: left;
        border-right: 0px solid #ce3d4e;
        -moz-box-shadow: 0px 0 0 #ce3d4e;
        -webkit-box-shadow: 0px 0 0 #ce3d4e;
        box-shadow: 1px 1 1 #ce3d4e;
        position: relative;
}

#menu a {
        float: left;
		padding: 6px 18px;
		color:#ed515b;		
        font: 12px Arial, Helvetica;
        text-decoration: none;
        text-shadow: 1 1px 1 #f6f7f7;
}


#menu ul li ul li a {
    background:#e9ebec;
 }
 
#menu ul li:hover ul li a:hover {
    color:#FFFFFF;
    background:#FFFFFF;
 }


#menu li:hover > a {
        color: #000000;
}

*html #menu li a:hover { /* IE6 only */
        color: #000000;
}
#menu ul {
        margin: 10px 0 0 0;
        _margin: 0; /*IE6 only*/
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 27px;
        left: 0;
        z-index: 9999;
        background: #ffffff;
        background: -moz-linear-gradient(#e9ebec, #e9ebec);
        background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #e9ebec)),color-stop(1, #e9ebec));
        background: -webkit-linear-gradient(#e9ebec, #e9ebec);
        background: -o-linear-gradient(#e9ebec, #e9ebec);
        background: -ms-linear-gradient(#e9ebec, #e9ebec);
        background: linear-gradient(#e9ebec, #e9ebec);
        -moz-box-shadow: 0 -1px rgba(255,255,255,.3);
        -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
        box-shadow: 0 -1px 0 rgba(255,255,255,.3);
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        -ms-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
}

#menu li:hover > ul {
        opacity: 1;
        visibility: visible;
        margin: 0;
}

#menu ul ul {
        top: 0;
        left: 150px;
        margin: 0 0 0 20px;
        _margin: 0; /*IE6 only*/
        -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
        -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
        box-shadow: -1px 0 0 rgba(255,255,255,.3);
}

#menu ul li {
        float: none;
        display: block;
        border: 0;
        _line-height: 0; /*IE6 only*/
        -moz-box-shadow: 0 1px 0 #ce3d4e 0 0px 0 #ce3d4e;
        -webkit-box-shadow: 0 1px 0 #ce3d4e, 0 0px 0 #ce3d4e;
        box-shadow: 0 1px 0 #ce3d4e, 0 0px 0 #ce3d4e;
}

#menu ul li:last-child {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
}

#menu ul a {
        padding: 10px;
        width: 180px;
        _height: 10px; /*IE6 only*/
        display: block;
        white-space: nowrap;
        float: none;
        text-transform: none;
}

#menu ul a:hover {
        background-color: #ce3d4e;
        background-image: -moz-linear-gradient(#696969,  #4d4d4d);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#696969), to(#4d4d4d));
        background-image: -webkit-linear-gradient(#696969, #4d4d4d);
        background-image: -o-linear-gradient(#696969, #4d4d4d);
        background-image: -ms-linear-gradient(#696969, #4d4d4d);
        background-image: linear-gradient(#696969c, #4d4d4d);
}
#menu ul li:first-child > a {
        -moz-border-radius: 3px 3px 0 0;
        -webkit-border-radius: 3px 3px 0 0;
        border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
        content: '';
        position: absolute;
        left: 40px;
        top: -6px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #ce3d4e;
}

#menu ul ul li:first-child a:after {
        left: -6px;
        top: 50%;
        margin-top: -6px;
        border-left: 0;
        border-bottom: 6px solid transparent;
        border-top: 6px solid transparent;
        border-right: 6px solid #ce3d4e;
}

#menu ul li:first-child a:hover:after {
        border-bottom-color: #ce3d4e;
}

#menu ul ul li:first-child a:hover:after {
        border-right-color: #0299d3;
        border-bottom-color: transparent;
}

#menu ul li:last-child > a {
        -moz-border-radius: 0 0 3px 3px;
        -webkit-border-radius: 0 0 3px 3px;
        border-radius: 0 0 3px 3px;
}
