﻿/* BASIC styles [ MANDATORY ] */

/* remove all list stylings */
.menu {
    width: 445px;
    float: left;
}
.menu, .menu ul {
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
    display: block;
}

.menu li {
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    float: left; /* move all main list items into one row, by floating them */
    position: relative; /* position each LI, thus creating potential IE.win overlap problem */
    z-index: 5; /* thus we need to apply explicit z-index here... */
    height:30px;
}

.menu li:hover {
    z-index: 10000; /* ...and here. this makes sure active item is always above anything else in the menu */
    white-space: normal; /* required to resolve IE7 :hover bug (z-index above is ignored if this is not present) */
    background-color: #66cc33;
}

.menu li li {
    float: none; /* items of the nested menus are kept on separate lines */
}

.menu ul {
    visibility: hidden; /* initially hide all submenus. */
    position: absolute;
    z-index: 10;
    left: 0; /* while hidden, always keep them at the top left corner, */
    top: 0; /* to avoid scrollbars as much as possible */
}

.menu li:hover > ul {
    visibility: visible; /* display submenu on hover */
    top: 100%; /* 1st level goes below parent item */
}

.menu li li:hover > ul {
    /* 2nd+ levels go on the right side of the parent item */
    top: 0;
    left: 100%;
}

/* -- float.clear -- force containment of floated LIs inside of UL */
.menu:after, .menu ul:after {
    content: ".";
    height: 0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    clear: both;
}
.menu, .menu ul {
    /* IE7 float clear: */
    min-height: 0;
}
/* -- float.clear.END --  */

/* -- sticky.submenu --
	submenu should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".menu UL" or this feature may not work properly!
*/
.menu ul {
    background-image: url(empty.gif); /* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
    padding: 10px 30px 30px 30px;
    margin: -10px 0 0 -30px; /*background: #f00;*/ /* uncomment this if you want to see the "safe" area. 										you can also use to adjust the safe area to your requirement */
}
.menu ul ul {
    padding: 30px 30px 30px 10px;
    margin: -30px 0 0 -10px;
}
/* -- sticky.submenu.END -- */

/* DESIGN styles */

.menu {
    /*background: url('../images/menu/bgOFF.gif') repeat-x top left;*/
    background: #004D92;
    height: 30px;
    margin: 0;
	padding: 0;
}

/*submenu*/
.menu ul li a {
    color: #333333;
    margin-left:0px;
}
.menu ul {
    width: 21em;
    padding-top: 10px; /*distance between the submenu and the main menu */
    font-size: .8em;
}
.menu ul a {
    border-right-width: 0px;
    vertical-align: bottom;
}
.menu ul a:hover {
    color: #fff;
    /*background: url('../images/menu/submenu_hover.gif') no-repeat;  */
}
.menu li li:hover > a {
    color: #fff;
}
.menu li li {
    /* create borders around each item */
    padding-top: 1px;
    background-color: #FAFCFF;
    border-left: 1px solid #163288;
    border-right: 1px solid #163288;
}
.menu li li.borderBottom {
    border-bottom: 1px #163288 solid;
    padding-bottom:0;
}
.menu ul > li + li {
    /* and remove the top border on all but first item in the list */
    border-top: 0;
}
.menu li li:hover > ul {
    /* inset 2nd+ submenus, to show off overlapping */
    top: 5px;
    left: 90%;
}
/*submenu*/

.menu a {
    text-decoration: none;
    color: #cccccc;
    display: block;
    position: relative;
    font-family: Arial,Verdana,sans-serif;
    font-size: 1.1em;
    font-weight: bold;
	/*height: 18px;*/
	margin-top: 7px;
	padding: 0px 6px;   
	border-right: 1px solid #cccccc;
	float:left;
}

.menu .lastmenu {
    border-right-width: 0px;
}

.menu a:hover, .menu li:hover > a {
    color: #fff;
    border-right:1px #66cc33 solid;
    padding-left:-1px;
}

.menu li a.current, .menu li a.current:hover {
    color: #fff;
    background-color: #66cc33;
    height:23px;
    padding-top: 7px;
    /*padding-bottom:6px;*/
    margin-top:0;
    border-right:1px #66cc33 solid;
}

/* Fix for IE5/Mac \*//*/
.menu a {
	float: left;
}
/* End Fix */


#qqslogin {
    background: #aaaaaa;
    border: solid 1px #666666;
    width: 453px;
    z-index: 2;
    background: url(../images/loginbg2.png) repeat-x;
    height: 28px;
    position: relative;
    text-align: right;
    float: right;
    z-index:1001;
}
#qqslogin .logintext {
    font-family: Arial;
    font-weight: bold;
    font-size: 1.1em;
    color: #004D92;
}
#qqslogin .theInput {
    font-family: Arial;
    font-size: 12px;
    width: 72px;
    border: 1px #DBDDDF solid;
}
.homepageloginButton {
    position: absolute;
    top: 6px;
    right: 15px;
}
#qqslogin .error {
    font-size: 80%;
}
#qqslogin #loginfield {
    position: absolute;
    right: 85px;
    top: 5px;
}
.forgotbutton {
    position: absolute;
    top: 6px;
    right:2px;
    display: block;
    cursor: pointer;
}
#ctl00_divForgot {
	text-align:left;
	padding:10px;
	background: #f4f4f4;
	height: 200px;
	display: none;
	border-left: solid 1px #666666;
	border-right: solid 1px #666666;
	border-bottom: solid 1px #666666;
	border-top: solid 0px #666666;
	width:433px;
	margin-top:27px;
	position:absolute;
	right:-1px;
	z-index:900;
	float:right;
}

.signup_label {
    float: left;
    padding-right: 7px;
    text-align: left;
    width: 80px;
}
