#ul {
    position: fixed;
    top: 0;
    width: 100%;
    list-style-type: none;
    overflow: hidden;
    background-color: #333;
}

.head {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background-image: url("../images/header.jpg");
    background-position: top;
}

#menu {
    width: 100%;
    height: 70px;
    float: left;
    padding:0;
    font-weight: bold;
    cursor: pointer;
    background-image: url("../images/excog02.png");
    background-repeat: no-repeat;
    background-position: center top;
}

#menu ul {
    display:table;
    line-height:10px;
    padding:0;
}
#menu ul li {
    position:relative;
    display:inline;
    padding:0;
}
#menu ul li a {
    float:left;
    position:relative;
    padding:22px 12px;
    color:#FFF;
    text-decoration:none;
    background-color:rgba(60,60,60,0.3);
}
#menu ul li a:hover {
    background:#000;
}
#menu ul ul {
    position:absolute;
    width:200px;
    top:54px;
    left:-305px;       /* CHROME, SAFARI */
    -webkit-transform:translateX(232px);     /* CHROME SAFARI */
    -moz-transform:translateX(135px);       /* FIREFOX */
    
    /* BACKGROUND COLOR AND BORDER. */
    background:#5C7C99;
    border-radius:2px;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;

    /* ADD BORDER SHADOW. */
    box-shadow:0 0 10px #444;
    -moz-box-shadow:0 0 10px #444;
    -webkit-box-shadow:0 0 10px #444;
}

/* SUB MENU LIST */
#menu ul ul li {
    text-align:left;
    margin:0;
}

/* SET HEIGHT AS '0', SO THE SUBMENUS REMAINS HIDDEN IN THE BEGINNING. */

#menu ul ul li a {
    height:0;
    line-height:0;
    width:230px;
    padding:0px 20px;
    color:#FFF;
    -moz-opacity: 0;
    opacity:0;
    filter: alpha(opacity=0);
}
#menu ul ul ul {
    visibility:hidden;
    position:absolute;
    top:175px;
}
#categories a {
    padding: 0;
    transition:all 0.3s linear;
    -o-transition:all 0.3s linear;
    -moz-transition:all 0.3s linear;
    -webkit-transition:all 0.3s linear;
}
#categories:hover ul li a {
    height:40px;
    line-height:40px;
    -moz-opacity: 1;
    opacity:1;
    filter: alpha(opacity=100);
}

#menu #categories #da > ul {
    top:160px;
    left:-432px;
    transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    -o-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    -moz-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
    -webkit-transition:opacity 0.2s 0.01s ease-in-out, left 0.2s 0.1s ease-out, visibility 0.1s 0.1s linear;
}
#menu #categories #da:hover > ul {
    visibility:visible;
    position:absolute;
    left:-232px;                             /* CHROME, SAFARI */
    -moz-transform:translateX(232px);       /* FIREFOX */
}
