/* Global Elements */

body {
  margin-top: 0;
}

body, p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 12px;
  line-height: 18px;
}

pre {
  padding: 10px;
  font-size: 11px;
}
legend {
  font-weight: bold;
}

a:hover {text-decoration: none;}
a img {border: 0;}

/* Tables */
table {
  border-spacing: 0px;
  border-collapse: collapse;
}
table th {
  text-align: left;
  font-weight: bold;
  padding: 0.1em 0.5em;
  border: 1px solid #666666;
  background-color:#ddd;
}
table td {
  padding: 0.1em 0.5em;
  border: 1px solid #666666;
}
table thead th {
  text-align: center;
}


/* Forms */
fieldset {
  display: block;
  margin: 3px auto;
  width: 700px;
}
fieldset table {
  width: 99%;
}
fieldset table tr td:first-child {
  padding-right: 1em;
  text-align: right;
}
fieldset table tr td {
  width: 33%;
  border: 0;
}
label:after {
  content: ":";
}
.required {
  font-weight: bolder;
}
.formError {
  color: red;
}
.fieldWithErrors {
  color: red;
}
div#errorExplanation {
  padding-left: 5px;
  margin: 0 80px 2px 80px;
  background-color: #fee;
  border: solid 1px #ddd;
}
div#errorExplanation h2 {
  color: red;
}
div#errorExplanation h2, div#errorExplanation p {
  margin: 0px;
  padding: 0px;
  font-weight: bold;
}
div#errorExplanation ul {
  margin: 0px;
  padding-left: 15px;
}
div#errorExplanation li {
  font-size: 11px;
}

fieldset.form_show table tr td:first-child {
  width: 25%;
  font-weight: bold;
  text-align: right;
  padding-right: 1em;
}



/* Global Classes */

.clearfix {
  display: block;
  clear: both;
}
.borderless td {border: 0px;}
.borderless {border:0px;}
.debug, .demo {
  border: thin dashed #525200;
}
.debug, .demo {
  border: thin dashed #525200;
}

fieldset.content_section {
  border: 1px solid #ccc;
  width: 80%;
  margin: 1em auto;
}

fieldset.content_section table {
  width: auto;
}



/* Global Divs */

div#header, #menu, #content, #footer {
  overflow: hidden;
}
div#header_bar {
  font-size: 20px;
  height: 40px;
}
/* safari and opera need these */
div#header, #menu, #footer {width: 100%}
div#header {height: 120px;}

div#logo {
  width: 300px;
  float: left;
  padding-top: 6px; 
  background-position: bottom left;
  height: 40px;
  position: relative;
}
div#login_box {
  float: right;
  padding-top: 20px;
  display: inline;
}
div#log {
  display: inline;
}
div#login_box h3 {
  font-size: 14px;
}
div#container {
  width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

div#menu {
  margin-top: -3px;
}
#main_menu {
  position: relative;
  display: block;
  height: 39px;
  font-size: 11px;
  font-weight: bold;
  background: transparent url(/images/bg_off.png) repeat-x top left;
  font-family: Arial, Verdana, Helvitica, sans-serif;
  border-top: 1px solid #ddd;
}
  #main_menu ul {
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
  }
  #main_menu ul li {
    display: block;
    float: left;
    margin: 0;
    list-style-type: none;
  }
  #main_menu ul li a {
    display: block;
    float: left;
    text-decoration: none;
    padding: 11px 15px 0 15px;
    height: 23px;
    background: transparent url(/images/bg_divider.png) no-repeat top right;
  }

div#content {
  padding-bottom: 5px;
  width: 100%;
  float: left;
}
  #content h1 {
    font-size: 1.4em;
    margin: 0;
    padding: 10px 10px 3px 2px;
  }
  #content h2 {
    font-weight: normal;
    font-size: larger;
    margin: 0;
    padding: 10px 10px 0 10px;
  }
  #content p {
    font-size: 0.9em;
    margin: 3px 0 10px;
  }
  #content p.q {
    font-weight: bolder;
  }

div#footer {
  clear: left;
  text-align: center;
  padding: 5px 0px 35px 0px;
  line-height: 25px
}
  div#footer_links {
    font-size: 0.9em;
  }
  div#footer_links li {
    display: inline;
  }
  div#footer_links li {
    padding: 0 0.5em;
  }
  div#footer_links li:first-child {
    border: none;
  }
  div#copy_right {
    font-size: 0.9em;
  }

/* Flash */
div#notice {
  color: green;
  font-weight: bold;
  text-align: center;
}
div#error {
  color: red;
  font-weight: bold;
  text-align: center;
}

div#loading div#fade {
  background: white;
  position: fixed;
  top: 0;
  opacity: 0.6;
  width: 100%;
  height: 100%;
}
div#loading div#message {
  background: white;
  text-align: center;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}
div#loading div#message p {
  font-size: 1.5em;
  line-height: 1.2em;
}

div.map_report {
  text-align: center;
}
div.map_report table {
  margin: 1px;
}
div.map_report_column {
  float: left;
  width: 50%;
}
div.map_report_column table tr td:first-child:after {
  content: ":";
}
div.map_report_column fieldset {
  width: 90%;
}

#edit_financial_map table {
  margin-left: 1px;
}
table.edit_financial {
  border-collapse: collapse;
  width: 99%;
  margin-left: 1px;
  border: thin solid #959595;
}
th.edit_financial {
  border: thin solid #959595;
  background-color: #e4e4e4;
  font-weight: bolder;
}
td.edit_financial {
  border: thin solid #959595;
  background-color: #ececec;
}
.options {text-align: right}

.good {
  color: green;
}
.bad {
  color: red;
}

/* Tooltips */
a.tip {
	position: relative;
}

a.tip img {
  padding-right: 5px;
  padding-bottom: 3px;
}

a.tip span {
	display: none;
	position: absolute;
	top: 0;
	left: 25px;
	width: 220px;
	padding: 5px;
	margin: 0;
	background: #ffc;
	border: 1px solid #aa9;
	font-weight: normal;
	color: #000;
	font-size: 12px;
	-moz-border-radius: 5px; /* this works only in camino/firefox */
	-webkit-border-radius: 5px; /* this is just for Safari */
}

a:hover.tip {
	font-size: 99%; /* this is just for IE */
	z-index: 100;
}

a:hover.tip span {
	display: block;
}

tr.lump-sum td.notes {
  color: red;
}

