/* 
* Document   : layout.css
* Created on : 10 May 11
* Author     : Steve Clason
* Description:
*     Layout stylesheet for sosidd_1 Joomla template. Client-specific for "The
*     State of the States in Developmental Disabilities.
*/

/* 
   This stylesheet assumes YUI Reset has been loaded.
*/

#page {
  width: 928px;
  margin:  auto;
  background-image: url("../images/outter_page_homepage_bg.gif");
  background-repeat: repeat-y;
  padding: 0 30px;
}

#header {
  padding: 5px;
  width: 918px;
  background-color: #000;
}

#header {
  background-color: #000000;
  background-image: url("../images/header_background_928x136.png");
  background-position: -14px 4px;
  background-repeat: no-repeat;
  height: 136px;
  width: 918px;
  position: relative; 
}

#header h1 {
  background-color: transparent;
  color: #CFB87C;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 205%;
  font-weight: normal;
  letter-spacing: -1px;
  margin: 0 0 0 115px;
  padding: 21px 0 0;
}

#header h2 {
  color: #FFFFFF;
  font-size: 26px;
  line-height: 0.8;
  margin: 8px 0 0 116px;
  text-align: left;
  width: 31em;
}

#header h2 span {
  font-size: 14px;
  font-style: normal;
}

#header h2 a, #header h2 a:link, #header h2 a:visited, #header h2 a:hover, #header h2 a:active {
  color: #FFFFFF;
  text-decoration: none;
}

#header h2 a, #header h2 a:link, #header h2 a:visited, #header h2 a:hover, #header h2 a:active {
    color: #FFFFFF;
    text-decoration: none;
}

#header form { /* Search form in header. */
  float: right;
  width: 300px;
}

/* Skip to navigation section, first item om page. */
#skip a, #skip a:hover, #skip a:visited {
  position: absolute;
  right: 18px;
  top: -500px;
  overflow: hidden;
  height: 1px;
  width: 1px;
}

#skip a:active, #skip a:focus {
  top: 120px;
  color: rgb(255, 255, 255);
  text-decoration: none;
} 

#wrapper {
  position: relative; 
  background-color: transparent;
  width: 918px;
}

#sidebar {
  width: 175px;
  padding: 20px 15px;
  float: right;
}

#content {
  margin-right: 200px;
  background-color: #fff;
  padding: 20px;
}

#inset {
  float: left;
  border: 1px solid silver;
  padding: 1em;
}

#footer {
  background: url("../images/footer_wrapper_bg.png") no-repeat scroll 0 0 transparent;
  color: #FFFFFF;
  font-size: 11px;
  height: 90px;
  line-height: normal;
  margin: 0;
  padding: 0;
  width: 928px;
  clear: both;
}

div.custom_footer {
  padding: 10px;
}

div.custom_footer span {
  padding-left: 1em;
}

#form-login { /* Member login form on footer. */
  float: right;
  width: 300px;
  text-align: left;
}

form.linkForm { /* Two jump menus on the links page. */
  width: 50%;
  margin-left: 2em;
}

/************* Interactive Charts Pages *************/


/*********** Common Rules *********/  
.checkboxColumn {
  float:left; 
  width: 150px;
}


fieldset {
  border: 2px solid orange;
  background-color: #E1E1E1;
  padding: 1em;
  margin: 1em auto;
}

#chartContainer p {
  text-align:center;
  color:silver;
  border:1px solid gray;
  padding:2em;
}

#flashError {
  text-align: center;
  margin: 1em 2em;
  border: 1px solid red;
  padding: 1em;
  display: none;
}

img.newTab { /* Icons indicating link will open a new window/tab. */
  margin: 0;
  padding: 0;
  position: relative;
  left: -8px;
  top: -6px;
}

/*********** Default/Initial Chart Display ***********/
#selectRegions, #selectDataOptions, #submitButtons {
  display: none;
}

/*
.printInstructions, .printText, .tableText {
  display: none;
}
*/

.printInstructions {
  display: none;
}

.tableText {
  margin-bottom: 1em;
}

#printReady {
  float: right;
  width: 25px;
  height: 25px;
  position: relative;
  overflow: hidden;
  display: none;
  background-image: url("http://stateofthestates.org/images/checkAndCross.png");
  background-position: top right;
  background-repeat: no-repeat;
}


/************** User Chart ***********/
body.userChart {
  width: 700px;
  border: 1px solid rgb(0,0,0);
  padding: 1em;
}

#selectRegions, #selectDataType, 
#selectSortOrder {
  display: none;
  margin-bottom: 1em;
}

/* Don't show the "Next" buttons or narrative on the custom chart display page. */
.next {
  display: none;
}

/********** User Table **********/
#closeTab {
  display: block;
  margin-bottom: 1ex;
  text-align: right;
  font-size: 80%;
}

body.userTable {
  width: 600px;
  border: 1px solid rgb(0,0,0);
  padding: 1em;
}

#descriptionContainer h1 {
  display: none;
}

/********* Category Comparison Charts ***********/
div#serviceComparisonChart {
	font-size: 80%;
}

div.regionSelect {
	clear: left;
	padding-top: 1em;
	position: relative;
}

#serviceComparisonChart #chartContainer {
	position: absolute;
	top: 18px;
	right: 0px;
	width: 337px;
	height: 168px;
	display: none;
}

#chartLegend {
	display: none;
	padding-left: 330px;
	clear: both;
	text-indent: -2ex;
	color: #4B4B4B;
	font-size: 76%;
	margin-top: 95px;
}

/************* Utility Rules ***********/

.clearBoth {
  clear: both;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.hide {
	display: none;
}