@charset "utf-8";

/* CSS Document */

/*
Author: Craig Erskine
Description: Dynamic Menu System - Horizontal/Vertical
*/

ul#navmenu-h {
    padding: 0;
    list-style: none;
    position: relative;
    width: 100%;
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 0;
    margin-left: 0px;
    height: 40px;
    background-color: #b80c0c;
    display: block;
    z-index: 9999;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
}

ul#navmenu-h ul {
    width: 102px;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    height: 40px;
    float: left;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0px;
    display: none;
}

ul#navmenu-h ul ul,
ul#navmenu-h ul ul ul {
    top: 0;
    left: 100%;
}

ul#navmenu-h li {
    display: inline;
    position: relative;
    height: 40px;
    width: 102px;
    text-align: center;
    float: left;
    padding: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}
ul#navmenu-h ul li {
    width: 100%;
    display: block;
    background-color: #b80c0c;
    float: left;
    left: -40px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
}

/* Root Menu */
ul#navmenu-h a {
    padding: 0px;
    float: left;
    display: block;
    color: #fff;
    text-decoration: none;
    font-family: '微軟正黑體', '新細明體', '標楷體';
    font-size: 15px;
    font-weight: normal;
    width: 102px;
    margin: 0px;
    line-height: 40px;
    font-family: Verdana, Geneva, sans-serif;
    letter-spacing: 2px;
}

/* Root Menu Hover Persistence */
ul#navmenu-h a:hover,
ul#navmenu-h li:hover a,
ul#navmenu-h li.iehover a {
    color: #fff;
    background-color: #b80c0c;
}

/* 2nd Menu */
ul#navmenu-h li:hover li a,
ul#navmenu-h li.iehover li a {
    float: none;
    background-color: #b80c0c;
}

/* 2nd Menu Hover Persistence */
ul#navmenu-h li:hover li a:hover,
ul#navmenu-h li:hover li:hover a,
ul#navmenu-h li.iehover li a:hover,
ul#navmenu-h li.iehover li.iehover a {
    background-color: #f00;
    height: 40px;
    width: 102px;
}

/* Hover Function - Do Not Move */
ul#navmenu-h li:hover ul ul,
ul#navmenu-h li:hover ul ul ul,
ul#navmenu-h li.iehover ul ul,
ul#navmenu-h li.iehover ul ul ul {
    display: none;
}
ul#navmenu-h li:hover ul,
ul#navmenu-h ul li:hover ul,
ul#navmenu-h ul ul li:hover ul,
ul#navmenu-h li.iehover ul,
ul#navmenu-h ul li.iehover ul,
ul#navmenu-h ul ul li.iehover ul {
    display: block;
}
