﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/

html, body {
    height: 100%;
}

body
{
    /*background-color: #9B5E5E;*/
    background-color: #686868;
    font-size: .75em;
    font-family: Courier New,Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding-top: 0px;
    padding-bottom: 0px;
    color: white;
    padding-left: 32px;
    height: 100%;
    padding-right: 32px;
}

a:link
{
    color: #ffffff;
    text-decoration: underline;
}
a:visited
{
    color: #ffffff;
}
a:hover
{
    color: #16DE7C;
    text-decoration: none;
}
a:active
{
    color: #16DE7C;
}

ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
/*h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}*/

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
/*h3
{
    font-size: 1.2em;
}*/
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    position: relative;
    z-index:1;
    background: #505050 url('../Images/Background_Overlay.jpg') 50% 0 fixed no-repeat;
    /* height: 100%;*/
    margin: 0px auto -32px auto;
    bottom: 0;
    padding-bottom: 0px;
    width: 1024px;
}

#logo2 {
    position:static;
    float: left;
    top:0;
    left:0;
    margin-top: 4px;
    margin-left: 16px;
    background-image: url("../Images/ToP_Logo_Small.png");
    width: 256px;
    height: 49px;
}

#header
{
    background: url('../Images/ToP_Logo_Medium.png') repeat-x 0px -48px;
    position: relative;
    height: 32px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px !important;
}

#main
{
    position: relative;
    width: 1024px;
    background-color: transparent;
    padding-top: 0px;
    margin-top: 32px;
    margin-bottom: 32px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
}

#footer
{
    
   position: relative;
   padding-bottom: 0px;
   /*width:1024px;*/
   bottom: 0;
   height: 56px;
   background: url('../Images/ToP_Logo_Medium.png') repeat-x 0px -104px;
}

#footer p#footer-map {
    padding-top: 16px;
    text-align: center;  
    display: block;   
}

#footer p#footer-map a {
    text-decoration: none;
}

#footer div#footer-ad {
    text-align: center;
    padding-top: 8px;
}

/* Silverlight Styles
----------------------------------------------------------*/

#silverlightControlProfile {
	    height: 100%;
	    text-align:center;
    }
    

/* TAB MENU   
----------------------------------------------------------*/

#menucontainer ul ul ul
{
    left: -20000px;
}

#menucontainer li.active ul
{
    display: block;
}

#menucontainer li:hover ul
{
    display: block;
    z-index: 6000;
}

#menucontainer li ul
{
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 25px;
    height: 28px;
    overflow: hidden;
    left: 0;
    width: 100%;
}

#menucontainer li ul li a
{
    padding: 3px 14px 6px 14px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.2em;
    background-color: transparent;
    color: white;
    margin-right: -7px;
}

#menucontainer li a
{
    padding: 10px 10px 2px 10px;
    font-weight: bold;
    font-family: Courier New Baltic;
    text-decoration: none;
    line-height: 2.3em;
    background-color: transparent;
    color: white;
}

#menucontainer li
{
    display: inline-block;
    list-style: none;
    margin: 5px 0px 0px 0px;
}

#menucontainer li ul li
{
    background: url('../Images/ToP_Logo_Medium.png') repeat-x 05px -81px;
    margin-right: -7px;
    padding-right: 7px;
}

ul#menu
{
    border-bottom: 0px #3DB653 solid;
    padding: 0 0 0px;
    position: relative;
    margin: 0;
    text-align: right;
}




ul#menu li#greeting
{
    padding: 10px 10px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}


ul#menu li:hover
{
    background-color: #CC9999;
    text-decoration: none;
}

ul#menu .search:hover
{
    background-color: transparent;
    text-decoration: none;
}

ul#menu li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;

}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
}


/* Main Content
----------------------------------------------------------*/

#mainwidget { 
	left: 24px; 
	right: auto;
	position: relative;
	width: 610px;
    top: 0px;
}

#mainheader { 
	background: url('../Images/widget_sprites.png') no-repeat -5px -300px; 
	height: 48px; 
	width: 610px; 
}

#mainfooter { 
	background: url('../Images/widget_sprites.png') no-repeat -5px -442px; 
	height: 24px;
	
	width: 610px; 
}

#maincontent {  
	width: 610px;
	background: url('../Images/widget_sprites.png') repeat-y -1053px 0px;
	padding-left: 16px; margin-bottom: -20px; 
}

div#maincontent ul li {
	font-size: 12px;
	font-family:Courier New; 
	font-style:italic;
	margin-right: 24px; 
}

div#maincontent ul li a
{
    font-style:normal;
    font-weight:bold;
    font-family:Arial Black;
    color: #ffffff;
}
div#maincontent ul li a:hover
{
    font-style:italic;
    font-weight:bold;
    font-family:Arial Black;
    color: #CC9999;
}

div#mainheader h3 
{ 
	padding: 16px 0px 0px 24px;  
	font-family:Courier New Baltic;
	font-style: normal;
}

div#mainheader h3:hover
{ 
	padding: 16px 0px 0px 24px;  
	font-family:Courier New Baltic;
	font-style:italic;
	font-weight:bolder;	
}



/* SIDEBAR LAYOUT ELEMENTS
----------------------------------------------------------*/

.sidebarheader { 
	background: url('../Images/widget_sprites.png') no-repeat -5px -126px; 
	height: 48px; 
	width: 340px; 
}

.sidebarheader h3 { 
	padding: 16px 0px 0px 24px;
	font-family:Courier New Baltic;
	font-style: normal;
}

.sidebarheader h3:hover
{ 
	padding: 16px 0px 0px 24px;  
	font-family:Courier New Baltic;
	font-style:italic;
	font-weight:bolder;	
}

.sidebarcontent { 
	background: url('../Images/widget_sprites.png') repeat-y -706px 0px;
	width: 340px; margin-bottom: 0px; 
	max-height: 256px;
}

#sidebarlist {
	margin: 0px 0px 0px 0px;
	padding: 8px 20px 8px 40px;	
}

#sidebarlist a#title {
	margin: 0px 0px 0px 0px;
	text-decoration: none;
	font-weight: bold;
}

#sidebarlist a#author {
	text-decoration: none;
	margin: 0px 0px 0px -8px;	
	color: #16DE7C;
	margin-left: 4px;
}

#sidebarlist a#author:hover {
	text-decoration: underline;
	font-weight: bold;
	color: #CC9999;
}

div#sidebarcontent a { 
	padding: 16px 0px 0px 16px; 
}

.sidebarfooter { 
	background: url('../Images/widget_sprites.png') no-repeat -5px -270px; 
	height: 24px; 
	width: 340px; 
}
           
#sidebar { 
	top: 0px;
	position: relative;
	/*left: 688px; */
	right: 16px;
	padding-left: 48px;
	left: auto;
	width: 344px;
	vertical-align: top;
}

table#tIndex {
    left: 0px;
    border: 0px;
    right: 0px;
}

table#tIndex tbody {
    border: 0px;
    left: 0px;
    right: 0px;
}

table#tIndex tbody tr {
    left: 0px;
    right: 0px;
}




/* SEARCH LAYOUT ELEMENTS
----------------------------------------------------------*/

li#search 
{
    background-color: transparent;
    padding-right: 32px;
}
li#search:hover
{
    background-color: transparent;
}

li#search:active
{
 border-color: red;
}

#searchdiv
{
    text-align :right;
}

#searchdiv input:hover
{
    color: #FFFFFF; 
    background-color: #CC9999; 
    border: 1px; 
    border-color:white; 
    margin: 2px 0 0 -7px;
}



#searchbox
{
    color: #FFFFFF; 
    background:#686868;
}

#searchbutton
{
    color: #FFFFFF; 
    background-color: transparent; 
    border: none; 
    margin: 2px 0 0 -7px;
}


/* ABOUT > PROFILES
----------------------------------------------------------*/

#about-header {
    background: url('../Images/About_Block_BG.png') no-repeat 0px 0px; 
    height: 16px;
    width: 768px;
}

#about-footer {
    background: url('../Images/About_Block_BG.png') no-repeat 0px -54px; 
    height: 16px;
    width: 768px;
}

#about-body {
    background: url('../Images/About_Block_BG.png') repeat-y -778px 0px; 
    height: 300px;
    width: 768px;
}

#outer-about 
{
    margin-left: 128px;
}

#about-left 
{
    border: 0px;
    width: 256px;
}

#about-right
{
    width: 512px;
}

#aeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown 
{
    visibility : hidden;
}


/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset label 
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] 
{
    width: 200px;
    border: 0px solid #CCC;
    color: #FFFFFF;
    background-color: #808080;
}

input[type="text"]:hover
{
    border: 0px solid #CCC;    
}
input[type="text"]:active
{
    border: 0px solid #CCC;    
}

input[type="password"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

/* TABLE
----------------------------------------------------------*/

table 
{
  border: solid 0px #e8eef4;
  border-collapse: collapse;
}

table td 
{
  padding: 5px;   
  border: solid 0px #e8eef4;
  display: table-cell;
  vertical-align: top;
  right: auto;
  left: auto;
  border: 0px;
}

table th
{
  right: auto;
  left: auto;
  display: table-cell;
  background-color: #e8eef4; 
  border: solid 0px #e8eef4;   
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}


#menucontainer
{
    margin-top:0px;
    height: 64px;
}

div#title 
{
    position: absolute;
    left: 8px;
    top: -1px;
    float: left;
    text-align: left;
    height: 48px;
    color: #f5f5f5;
    width: 228px;
    background: url('../Images/ToP_Logo_Medium.png') no-repeat -230px top;
}

div#title:hover
{  
    background: url('../Images/ToP_Logo_Medium.png') no-repeat 0px top;
}

div#title:link
{
    background: url('../Images/ToP_Logo_Medium.png') no-repeat -1px top;
}

#logindisplay
{
    font-size:1.1em;
    display:block;
    text-align:right;
    margin:10px;
    color:White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

.field-validation-error
{
    color: #ff0000;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}



