/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/drop_lists.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#menu {
    clear:both;
    position:absolute;
    width:100%;
    height:25px;
    top:0;
    left:0;
	background:#ccf url('images/bg_menubar.png') repeat-x top;
	border-bottom:solid 1px #00c;
}
#lists {
    float:left;
    height:25px;
    list-style:none;
    margin:0;
    padding:0;
    position:relative;
    z-index:500;
}
#lists li {
    color:#00c;
    display:inline;
    float:left;
    height:25px;
}
#lists li a.tl {
    border-right:solid 1px #00c;
    display:block;
    font-size:12px;
    font-weight:bold;
    height:25px;
    line-height:24px;
    text-align:center;
    text-decoration:none;
}
#lists div {
    display:none;
}
#lists li a:hover, #lists li:hover > a, #lists li a:focus, #lists li:focus > a {
    background:#00c url('images/bg_menubar_hover.png') repeat-x top;
    color:#fff;
    white-space:normal;
}
#lists :hover div, #lists :focus div {
    background:#fff;
    border:1px solid #00c;
    display:block;
    left:0;
    padding-bottom:10px;
    position:absolute;
    top:25px;
    width:597px;
}
#lists :hover div dl, #lists :focus div dl {
    display:inline;
    float:left;
    margin:0 10px 10px;
    padding:0;
    width:179px;
}
#lists :hover div dl dt, #lists :focus div dl dt {
    border:1px solid #ccf;
    height:20px;
    line-height:20px;
    margin:5px 0 10px;
    text-align:center;
    text-decoration:none;
    width:179px;
}
#lists :hover div dl dd, #lists :focus div dl dd {
    margin:0;
    padding:0;
}
#lists :hover div dt a, #lists :focus div dt a {
    background:#fff;
    color:#00c;
    cursor:default;
    text-decoration:none;
}
#lists :hover div dd a, #lists :focus div dd a {
    border:1px solid #fff;
    color:#333;
    display:block;
    font-size:11px;
    line-height:15px;
    text-indent:1px;
    text-decoration:none;
    text-align:left;
}
#lists :hover div dd a:hover, #lists :focus div dd a:focus {
    background:#ccf url('images/bg_menubar.png') repeat-x top;
    border:1px solid #ccf;
    color:#00c;
}

/*
@media all and (min-width: 600px) {
    #lists {
        width:600px;
    }
    #lists li a.tl {
        width:119px;
    }
}

@media all and (max-width: 600px) {
    #lists li a.tl {
        font-size:12px;
        font-weight:normal;
    }
    #lists :hover div, #lists :focus div {
        visibility:hidden;
    }
    #lists :hover div dl, #lists :focus div dl {
        visibility:hidden;
    }
    #lists :hover div dl dt, #lists :focus div dl dt {
        visibility:hidden;
    }
    #lists :hover div dl dd, #lists :focus div dl dd {
        visibility:hidden;
    }
    #lists :hover div dt a, #lists :focus div dt a {
        visibility:hidden;
    }
    #lists :hover div dd a, #lists :focus div dd a {
        visibility:hidden;
    }
    #lists :hover div dd a:hover, #lists :focus div dd a:focus {
        visibility:hidden;
    }
}

@media all and (max-width: 400px) {
    #container { 
        padding-top:48px;
    }
    #menu {
        height:48px;    
        background:#ccf url('images/bg_menubar.png') repeat top;
    }
    #lists, #lists li {
        height:24px;
    }
    #lists li a.tl {
        font-size:10px;
        font-weight:normal;
        height:24px;
        line-height:23px;
    }
    #lists :hover div, #lists :focus div {
        visibility:hidden;
    }
    #lists :hover div dl, #lists :focus div dl {
        visibility:hidden;
    }
    #lists :hover div dl dt, #lists :focus div dl dt {
        visibility:hidden;
    }
    #lists :hover div dl dd, #lists :focus div dl dd {
        visibility:hidden;
    }
    #lists :hover div dt a, #lists :focus div dt a {
        visibility:hidden;
    }
    #lists :hover div dd a, #lists :focus div dd a {
        visibility:hidden;
    }
    #lists :hover div dd a:hover, #lists :focus div dd a:focus {
        visibility:hidden;
    }
}
*/

/* Sub-menus */
#sub_menu {
	text-align:center;
}
#sub_menu li {
	list-style:none;
}
#sub_menu li a.tl {
	font-size:2.1em;
	margin:0 0 0.3em 0;
	text-align:center;
}
#sub_menu div dl dt {
	border:1px solid #ccf;
	margin:0.3em auto;
	text-decoration:none;
	width:30%;
}
#sub_menu div dl dd a {
	border:solid 1px #fff;
	margin:0.1em auto;
	text-decoration:none;
	width:30%;
	display:block;
}
#sub_menu div dl dd a:hover, #sub_menu div dl dd:hover > a, #sub_menu div dl dd a:focus, #sub_menu div dl dd:focus > a {
	background:#ccf url('images/bg_menubar.png') repeat-x top;
	text-decoration:none;
	border:solid 1px #ccf;
	display:block;
}
