/************************************************************
 * Default style for elements 
 ************************************************************/

body {
  background-color: #d1e2ec;
  color: black;
  font-family: arial, helvetica, sans-serif;
  font-size: 13px;
  margin: 0px; 
}

/* anchor's: link, visited, focus, hover, active */

a {
  color: #000098;
  text-decoration: underline;
}

a:visited {
  color: #800080;
  text-decoration: underline;
}

a:focus {
  color: #ff0000;
  text-decoration: underline;
}

a:hover {
  color: black;
  text-decoration: none;
}

a:active {
  background-color: white;
  color: black;
  text-decoration: none;
}

h1 {
  color: #555;
  font-size: 1.4em;
}

h2 {
  color: #555;
  font-size: 1.2em;
}

h3 {
  color: #555;
  font-size: 1.1em;
}

h4 {
  color: #555;
  font-size: 1.0em;
}

img {
  border: none;
}

table {
  border-collapse: collapse;
}

th {
  text-align: left;
}

table.approval td {
  border: 1px solid black;
  padding-left: 5px;
  padding-right: 5px;
}

/************************************************************
 * End default style for elements 
 ************************************************************/

/************************************************************
 * Layout style 
 ************************************************************/

/* outertop contains the background image with a shadow on left
 * and right.
 * using auto for left/right margins centers the div */

div#outertop {
  background: #d1e2ec url(../images/shadowbackground.jpg) repeat-y;
  margin-left: auto;
  margin-right: auto;
  width: 830px;
}

/* inner contains the various content pieces such as header, content
 * footer, etc.
 * the 15px left/right margin match the 15px wide shadows */

div#inner {
  background-color: #d1e2ec;
  margin: 0px 15px 0px 15px;
  width: 800px;
}

/* Logged in as: */

div#logged_in_as {
  color: #777;
  float: right;
  font-style: italic;
  margin-right: 5px;
  margin-top: 50px;
  text-align: right;
  width: 300px;
}

/* Header */

div#layout_header {
  background-color: white;
  border-bottom: 1px solid #d1e2ec;
  padding: 5px;
}

/* Menu */

div#layout_menu {
  background-color: #a3c6da;
  width: 800px;
}

div#layout_menu ul {
  background-color: #3f6b85;
  float: left;
  list-style: none;
  margin: 0px;
  padding: 0px;
  width: 800px;
}

div#layout_menu ul li {
  float: left;
}

/* menu anchor's: link, focus, hover, active */

div#layout_menu ul a {
  background-color: #3f6b85;
  color: #fcfcfc;
  display: block;
  font-size: 1.1em;
  line-height: 2.1em;
  padding: 0 12px;
  text-decoration: none;
}

div#layout_menu ul a:hover {
  background-color: #99bcd0;
  color: white;
  text-decoration: underline;
}

/* Flash */

div#layout_flash {
  position: absolute;
  text-align: center;
  top: 100px;
  width: 800px;
}

#layout_flash_span {
  background-color: #ee0;
  color: black;
  font-weight: bold;
}

/* Content */

div#layout_content {
  background-color: #f5fbff;
  clear: left;
  color: #333;
  font-size: 1.15em;
  line-height: 1.3;
  padding: 9px 7px 9px 7px;
}

/* Footer */

div#layout_footer {
  background-color: #3f6b85;
  color: #fcfcfc;
  font-size: 0.9em;
  padding: 1px 7px 1px 7px;
  text-align: center;
}

div#layout_footer a {
  color: #fcfcfc;
  text-decoration: none;
}

div#layout_footer a:hover {
  color: white;
  text-decoration: underline;
}

div#layout_footer p {
  line-height: 1.4;
}

div#layout_footer a#lojiclink {
  color: #e8e8e8;
  font-size: 0.85em;
  text-decoration: none;
}

div#layout_footer a#lojiclink:hover {
  color: white;
  text-decoration: underline;
}

/* outerbottom is simply for displaying the bottom portion of the
 * shadow */

div#outerbottom {
  background: #d1e2ec url(../images/bottombackground.jpg) repeat-y;
  height: 15px;
  margin-left: auto;
  margin-right: auto;
  width: 830px;
}

/************************************************************
 * End Layout Elements 
 ************************************************************/

/************************************************************
 * Home page 
 ************************************************************/

#home_market_pitch {
  color: #304060; 
  font-family: 'Times New Roman', serif; 
  font-size: 1.8em; 
  font-style: italic; 
  font-weight: normal; 
  margin: 5px 0px 10px 0px;
  padding: 0px;
  text-align: center; 
}

div.home_info_box {
  background-color: #e0f4ff; 
  border: 1px solid #a3c6da; 
  float: left; 
  height: 12em;
  margin: 24px; 
  padding: 15px;
  width: 302px; 
}

p.home_info_heading {
  color: #3e3e3e; 
  font-weight: bold; 
  font-size: 1.2em; 
  margin: 0px; 
  padding: 0px; 
  text-align: left;
}

/************************************************************
 * End home page 
 ************************************************************/

/************************************************************
 * Info pages
 ************************************************************/

div#info_page {
  margin: 20px 60px 20px 40px;
  width: 650px;
}

div#info_page p {
  font-size: 0.95em;
}

/************************************************************
 * End info pages
 ************************************************************/

/************************************************************
 * Register page
 ************************************************************/

div#register_page .formlabel {
  font-size: 0.95em;
  text-align: left;
}

/************************************************************
 * End register page 
 ************************************************************/

/************************************************************
 * Contact page
 ************************************************************/

div#contact_page {
  margin: 20px 10px 20px 30px;
}

div#contact_address {
  float: left;
  font-size: 0.9em;
  width: 225px;
}

div#contact_address h2 {
  border-bottom: 1px solid #a3c6da; 
  font-size: 1.1em;
  margin-bottom: 3px;
  margin-right: 35px;
}

div#contact_form {
  background-color: #e0f4ff; 
  border: 1px solid #a3c6da; 
  float: left;
  padding: 10px;
  width: 450px;
}

span#fields_required {
  color: #999;
  font-size: 0.95em;
  font-style: italic;
}

/************************************************************
 * End contact page 
 ************************************************************/

/************************************************************
 * Tutorial pages 
 ************************************************************/

div#tutorial_page {
  font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  margin: 20px 0px 20px 30px;
  width: 575px;
}

div#tutorial_page h1 {
  font-size: 1.2em;
}

div#tutorial_page h2 {
  font-size: 1.1em;
}

div#tutorial_page ul#error_list li {
  color: red;
}

/************************************************************
 * End tutorial pages 
 ************************************************************/

/************************************************************
 * FAQ page 
 ************************************************************/

dd.info_box {
  background-color: #e0f4ff; 
  border: 1px solid #a3c6da; 
  margin: 7px 0px 13px 0px; 
  padding: 5px;
  width: 550px;
}

/************************************************************
 * End FAQ page 
 ************************************************************/

/************************************************************
 * About Us page 
 ************************************************************/

div.founder_name {
  float: left;
  padding: 10px 0px 0px 0px;
  width: 160px;
}

div.founder_name h3 {
  font-size: 1.1em;
  margin: 0px;
  padding: 0px;
}

div.founder_name h4 {
  font-size: 1.0em;
  font-style: italic;
  margin: 0px;
  padding: 0px;
}

div.founder_bio {
  /* background-color: #e0f4ff;  */
  background-color: #e4f6ff;  
  border: 1px solid #a3c6da; 
  float: left;
  font-size: 0.95em;
  margin: 0px 0px 10px 0px;
  padding: 10px 10px 0px 10px;
  width: 400px;
}

div.founder_bio p {
  margin: 0px 0px 10px 0px;
  padding: 0px;
}

/************************************************************
 * End About Us page 
 ************************************************************/

/************************************************************
 * Miscellaneous 
 ************************************************************/

a.edit_link, a:visited.edit_link, a:focus.edit_link {
  color: #888;
  font-weight: bold;
  text-decoration: none;
}

span.active_status {
  color: #00b000;
}

span.inactive_status {
  color: #c0c000;
}

/************************************************************
 * End Miscellaneous 
 ************************************************************/

/************************************************************
 * Form style 
 ************************************************************/

div.formdiv {
  border: 2px solid #c1d2dc;
  /*
  background-color: #d1e2ec;
  */
  padding: 3px;
}

div.formcaption {
  font-style: italic;
  margin: 4px 4px 6px 4px;
}

td.formlabel {
  text-align: right;
  vertical-align: top;
}

input.text_field {
  font-size: 0.8em;
  width: 15em;
}

.required_field {
  font-weight: bold;
}

/************************************************************
 * End form style 
 ************************************************************/

/************************************************************
 * Rails error style 
 ************************************************************/

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-left: 150px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 0.9em;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 0.9em;
  list-style: square;
}

/* div#info_page tr td div.fieldWithErrors { */
div.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: block;
}

/************************************************************
 * End Rails error style 
 ************************************************************/
