/* core menu style */
#footermenu li a{display:inline-block;float:left;color:#ffffff;width:100%;padding:0px;margin:0;text-align:center;-webkit-transition: all .5s ease-in-out;border-left:solid 1px #333;}
#menu>li>a{line-height: 1em;height: 63px;}

ul#menu {
        list-style-type:none;
        margin: 0 auto;
        height:65px;
        width:100%;
        padding:0;
        background: #c9c9c9; /* Old browsers */
        background: -moz-linear-gradient(top, #c9c9c9 0%, #868686 5%, #464646 95%, #adadad 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c9c9c9), color-stop(5%,#868686), color-stop(95%,#464646), color-stop(100%,#adadad)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #c9c9c9 0%,#868686 5%,#464646 95%,#adadad 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #c9c9c9 0%,#868686 5%,#464646 95%,#adadad 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #c9c9c9 0%,#868686 5%,#464646 95%,#adadad 100%); /* IE10+ */
        background: linear-gradient(top, #c9c9c9 0%,#868686 5%,#464646 95%,#adadad 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9c9c9', endColorstr='#adadad',GradientType=0 ); /* IE6-9 */
        -webkit-box-shadow: 1px 1px 20px 8px rgba(0,0,0,0.8);
        -moz-box-shadow: 1px 1px 20px 8px rgba(0,0,0,0.8);
        box-shadow: 1px 1px 20px 8px rgba(0,0,0,0.8);
        -webkit-transition: all .5s ease-in-out;
}

	
/* Clear Floats */
#menu:before,
#menu:after {
        content: "";
        display: table;
}

#menu:after {
        clear: both;
}



/* List Elements */

#menu li {
        float: left;
        -moz-box-shadow: 1px 0 0 #444;
        -webkit-box-shadow: 1px 0 0 #444;
        box-shadow: 1px 0 0 #444;
        position: relative;
        background:url('../img/corner_arrow.png') 100% 0 no-repeat;
        width:20%;
}

#menu li a.open
{
    background: #00c7fa;
    color:#333333;
    
}

#menu li a.closed
{
   
}

#menu > li > a {font-size: 75%;}
#menu li a img{width: 30px;height:30px;clear:both;padding-top:4px;}



#menu a {
        float: left;
        /* padding: 12px 30px; */
        color: #999;
        /*text-transform: uppercase;*/
        /* font: bold 12px Arial, Helvetica; */
        text-decoration: none;
        text-shadow: 0 1px 0 #000;
}


#menu li:hover > a {
        color: #fafafa;
}

*html #menu li a:hover { /* IE6 only */
        color: #fafafa;
}

/* Sub Menus */

#menu ul {
        margin: 0px 0 0 0;
        _margin: 0; /*IE6 only*/
        /* opacity: 0; */
        /* visibility: hidden; disabled this and replaced with display-none/block*/
        display:none;
        position: absolute;
        bottom: 63px;
        z-index: 999999;
        background: #444;
        background: -moz-linear-gradient(#444, #111);
        background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
        background: -webkit-linear-gradient(#444, #111);
        background: -o-linear-gradient(#444, #111);
        background: -ms-linear-gradient(#444, #111);
        background: linear-gradient(#444, #111);
        -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;
        
        margin: 0;
        display:block;
} */

#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;
        list-style-type:none;
        border: 0;
        _line-height: 0; /*IE6 only*/
        -moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
        -webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
        box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#menu ul li:last-child {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
}

#menu > li:last-child > ul
{
    right: 0;    
}

#menu ul a {
        padding: 10px;
        width: 130px;
        _height: 10px; /*IE6 only*/
        display: block;
        white-space: nowrap;
        float: none;
        text-transform: none;
        background: #333333;
}

#menu ul a:hover{background: #00c7fa;color:#333333;}