/*****************************************
*******************TOP*******************
*****************************************/

span.logout {
    float:right;
    text-align:center;
}

div.logout {
    color:#FFFFFF;
    float:left;
    width:100%;
}

div.logout ul {
    list-style-type: none;
    text-align:right;
    color:#FFFFFF;
    padding: 2px 10px 4px;
    margin:0px;
    float:right;
    line-height: 100%;
}

div.logout ul li {
    text-align:right;
    display: inline;
    margin: 0;
    padding:0px;
}

div.logout ul li a {
    display: inline;
    text-decoration: none;
    margin-left:1px;
    padding: 5px 5px 5px;
    color:#FF3399;
    font-weight:normal;
}

div.logout ul li a:hover {
    color:#FFF;
    text-decoration:underline;
}


.logout ul li a.cur {
    font-weight:bold;
}

div#top {
    float:left;
	max-width:998px;
    width:1000px;
    text-align:center;
    background:#000;
    background-image:url(../images/bg-grad.png);
    background-repeat:repeat-x;
    background-position:top;
	border:solid 1px #FF3399;
	border-width:0px 1px 0px 1px;
}

div#header {
float:left;
	max-width:998px;
    width:1000px;
    color:#FFFFFF;
    margin:0 auto;
    padding:0px 0px;
}

div#header h1 {
    line-height:80px;
    margin:0;
    padding-left:10px;
    color: #FFFFFF;
}

div#header #logo {
    float:left;
    width:193px;
    margin: 15px 5px 0px 25px
}

div#header #logo img {
    margin:0;
    padding:0;
}

p#head {
    float:right;
    font-size:1.3em;
    font-weight:bold;
	color:#FF3399;
    padding:0px;
    margin:0px -1px 0px 0px;
}



/*******************************
top menu experiment
*******************************/

/**sets the width onto the individual lists, <ul>'s**/

table#menu{
	float:left;
    text-align:center;
    border-collapse:collapse;
    color:#000000;
    height:auto;
    width:100%;
    margin:0px;
    padding:0px;
    border-top:solid 1px #FF3399;
    border-bottom:solid 1px #FF3399;
    background-image:url(../images/btn-grad.png);
    background-repeat:repeat-x;
    background-position:top;
    line-height: 100%;
}

table#menu tbody {
    text-align:center;
	line-height:100%;
}

table#menu tbody tr {
    text-align:center;
	line-height:100%;
}

table#menu tbody tr td {
    text-align:center;
	line-height:100%;
}

table#menu tbody tr td a {
    text-align:center;
    font-weight:bold;
    display: block;
    text-decoration: none;
    color:#000000;
    background-color:#FF3399;
    background-image:url(../images/btn-grad.png);
    background-repeat:repeat-x;
    background-position:top;
	line-height:100%;
}

table#menu tbody tr td a:hover {
    color:#FF3399;
    background-color:#000000;
    background-image:none;
    background-repeat:repeat-x;
    background-position:top;
}

table#menu tbody tr td ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
	line-height:100%;
    background-color:#FF3399;
    background-image:url(../images/btn-grad.png);
    background-repeat:repeat-x;
    background-position:top;
}



/**formatting to the <h2> headings and the <a> anchors**/


#menu tbody tr td h2 {
    font-size:1em;
    padding:0px;
    margin:0px;
    color: #000;
    text-transform: uppercase;
	line-height:100%;
}

#menu tbody tr td h2:hover {
    color:#FF3399;
}

#menu tbody tr td h2 a {
    display: block;
    margin: 0px;
    padding: 0px 0px;
    text-decoration: none;
    margin-right:0px;
    color:#000000;
	line-height:100%;
    padding: 7px 0px;
}


#menu tbody tr td a {
    display: block;
    margin: 0px;
    padding: 5px 15px;
    text-decoration: none;
    margin-right:0px;
    color:#000000;
    background-color:#FF3399;
    background-image:url(../images/btn-grad.png);
    background-repeat:repeat-x;
    background-position:top;
	line-height:100%;
}

#menu tbody tr td a:hover, #menu tbody tr td h2:hover {
    color:#FF3399;
    background-color:#000000;
    background-repeat:repeat-x;
    background-position:top;
}

#menu tbody tr td a:hover {
    color: #FF3399;
    background: #000;
}


/**Positioning the Popout Menus and Dropdown Menus**/

#menu tbody tr td li {
    position: relative;
}

#menu tbody tr td ul ul {
    position: absolute;
    z-index: 500;
    width:100%;
    border:solid 1px #000;
  /* for IE */
    filter:alpha(opacity=90);
  /* CSS3 standard */
    opacity:0.9;
}

#menu tbody tr td ul ul:hover {
    position: absolute;
    z-index: 500;
    width:100%;
    border:solid 1px #000;
  /* for IE */
    filter:alpha(opacity=100);
  /* CSS3 standard */
    opacity:1.0;
}

#menu tbody tr td ul ul {
    max-height:400px;
    overflow-y:auto;
}

#menu tbody tr td ul ul li {
    border-top:solid 1px #000;
}

#menu tbody tr td ul ul ul {
    top: 0px;
    left: 0px;
}
#menu tbody tr td ul ul {
    top: 100%;
    left: 0px;
}


/**Hiding and Revealing**/


table#menu tbody tr td ul ul, table#menu tbody tr td ul li:hover ul ul, table#menu tbody tr td ul ul li:hover ul ul {
    display: none;
}

table#menu tbody tr td ul li:hover ul, table#menu tbody tr td ul ul li:hover ul, table#menu tbody tr td ul ul ul li:hover ul {
    display: block;
}

div#search{
	display: block;
	padding:0px 0px;
	margin: 0px 0px;
	float:left;
	width:100%;
	line-height:100%;
	text-align:center;
}


div#search form {
	float:left;
	text-align:center;
	display: block;
	padding:1px 0px 0px;
	margin: 0px 0px 0px;
	line-height:100%;
	background-color:#FF3399;
	background-image:url(../images/btn-grad.png);
	background-repeat:repeat-x;
	background-position:top;
	width:100%;
	max-height:25px;
	height:26px
}

div#search form input#tags-ajaxxx.search {
	width:175px;
	line-height:100%;
	padding:0px 0px;
	margin: 0px 0px;
}

div#search form input.searchbutton {
/*	margin-top:1px;*/
}

div#extra {
    float:left;
    width:100%;
    text-align:center;
    background-image:url(../images/MXXXR-logo.png);
    background-repeat:no-repeat;
    background-position:97% 50%;
line-height:0px;
}

#extra a {
    max-width:998px;
    margin-left:auto;
    margin-right:auto;
    margin-top:0px;
    margin-bottom:0px;
}

#extra img#ad {
    max-width:998px;
    margin-left:auto;
    margin-right:auto;
    margin-top:2px;
    margin-bottom:2px;
}


#extra p {
    text-align:left;
}