.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.simpleclearfix {
	overflow: auto;
}

* html .simpleclearfix {
	height: 1%; /* IE5-6 */
}
	    
html { 
  height: 100%;
}

* {
  font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
}

body {
	background: #fff url('/img/headerbg.png') repeat-x left 82px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	height: 100%;
}

h1 {
	font-size: 16px;
  font-weight: bold;
  margin-bottom: 24px;
}

h2 {
  font-size: 13px;
  font-weight: bold;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


#container {
  height: 100%;
  position: relative;
/*
	min-width: 930px;
	max-width: 1308px;
*/
	margin: 0 auto;
  width: 930px;
}

body > #container {
  height: auto; 
  min-height: 100%;
}

/* ---- BUTTONS ---- */

div.optionsbutton {
  background-position: left;
  float: left;
  height: 27px;
  margin-right: 4px;
  width: 90px;
}

div.optionsbutton span {
  background-position: right;
  display: block;
  height: 27px;
  margin-left: 4px;
  width: 100%;
}

div.optionsbutton span a {
  color: #fff;
  display: block;
  font-size: 12px;
  font-weight: bold;
  height: 27px;
  line-height: 25px;
  padding-right: 4px;
  text-align: center;
}

div.optionsbutton span a:hover {
  text-decoration: none;
}

div.optionsbutton:hover {
  background-position: left;
}

div.optionsbutton:hover span {
  background-position: right;
}

div.optionsbutton.active {
  background-position: left;
}

div.optionsbutton.active span {
  background-position: right;
}

div.optionsbutton_blue,
div.optionsbutton_blue span {
  background-image: url('/img/buttons/blue.png');
}

div.optionsbutton_blue:hover, 
div.optionsbutton_blue:hover span,
div.optionsbutton_blue.active, 
div.optionsbutton_blue.active span {
  background-image: url('/img/buttons/blue_mo.png')
}

div.optionsbutton_green,
div.optionsbutton_green span {
  background-image: url('/img/buttons/green.png');
}

div.optionsbutton_green:hover, 
div.optionsbutton_green:hover span,
div.optionsbutton_green.active, 
div.optionsbutton_green.active span {
  background-image: url('/img/buttons/green.png')
}

div.optionsbutton_topmenu,
div.optionsbutton_topmenu span {
  background-image: url('/img/buttons/topmenu.png');
}

div.optionsbutton_topmenu:hover, 
div.optionsbutton_topmenu:hover span,
div.optionsbutton_topmenu.active, 
div.optionsbutton_topmenu.active span {
  background-image: url('/img/buttons/topmenu_mo.png')
}

/* ---- FORMS ---- */
form.contentform {
  margin-bottom: 25px;
}

form.contentform p {
  margin-bottom: 13px;
}

form.contentform p label {
  color: #000;
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

form.contentform p input.textbox, 
form.contentform p textarea {
  width: 200px;
}

form.contentform p input.error,
form.contentform p textarea.error {
  border: 1px solid red;
  padding: 2px;
}

form.contentform .errormessage {
  color: red;
  font-size: 11px;
  font-style: italic;
  padding: 4px 5px;
}

#headerads {
  height: 72px;
  text-align: center;
  padding-top: 10px;
} 

#headerads_right {
  height: 62px;
  position: relative;
  padding-top: 10px;
}

#headerads_right #userlinks {
  bottom: 10px;
  color: #466296;
  position: absolute;;
  right: 0;
}

#headerads_right #userlinks a {
  color: #466296;
  font-weight: bold;
  text-decoration: underline;
  text-transform: lowercase;
}

#headerads_right #userlinks a:hover {
  text-decoration: none;
}

#header {
  padding: 12px 0;
  margin-bottom: 15px;
} 

#header #logo {
  float: left;
  margin-left: -6px;
  margin-top: -5px;
  width: 189px;
}

#header div.optionsbutton {
  margin-right: 14px;
}

#header div#headerbutton_allprograms {
  width: 130px;
}


#header div#headersearch {
  float: right;
  text-align: right;
  width: 250px;
}

#header div#headerbutton_searchsubmit {
  float: right;
  margin-right: 4px;
  width: 68px;
}

#header div#headersearch #headersearch_inputcontainer {
  background: #fff;
  border: 1px solid #7f9db9;
  float: right;
  height: 25px;
  margin-right: 10px;
  width: 152px;
}

#header div#headersearch #headersearch_inputcontainer input {
  border: 0;
  margin: 2px;
  padding: 2px 4px 2px 4px;
  width: 140px;
}

#contentcontainer {
  position: relative;
  min-height: 650px;
}

#leftbar {
  padding-top: 6px;
  position: absolute;
  left: 0;
  top: 0;
  width: 189px;
}

#content {
  margin-left: 189px;
  margin-top: 15px;
  padding-bottom: 75px;
  position: relative;
}

#content.withoutleftbar {
  margin-left: 0;
}

#topcontent {
  position: relative;
}

#topcontentloading {
  background: #fff;
  display: none;
  height: 100%;
  left: 0;
  filter:alpha(opacity=50); /* msie */  
  -moz-opacity: 0.50; /* firefox 1.0 */  
  -khtml-opacity: 0.50; /* webkit */  
  opacity: 0.50; /* css 3 */    
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.notifyblock {
}

.notifycontent {
  line-height: 120%;
  padding: 26px 27px;
}

.blockhomeleft {
  float: left;
  line-height: 120%;
  padding: 20px 0;
  width: 240px; 
}

.bannerblock {
  border: 1px solid #ebebeb;
  float: right;
  padding: 11px;
  width: 447px; 
}

#topcontent_1 {
  min-height: 30px;
}

#topcontent_2.programinfo {
  border: 1px solid #000;
  padding: 15px;
}

#footercontainer {
  background: #fff url('/img/footerbg.png') repeat-x left;
  clear: both;
  height: 31px;
	margin-top: -31px; /* negative value of footer height */
  padding: 0;
  position: relative;
} 

#footercontainer #footer {
  color: #fff;
  font-size: 11px;
  line-height: 30px;
  margin: 0px auto;
  text-align: center;
  width: 930px;
}

#footercontainer #footer a:link,
#footercontainer #footer a:hover,
#footercontainer #footer a:visited {
  color: #fff;
  font-size: 11px;
  margin: 0 4px;
}
