.ui-dialog-content
{
    text-align: center;
}

.ui-dialog-content p
{
    text-align: justify;
    margin:1em 0;
}

/* Tool Wrapper ------------------------------------------------------------ */

#tool_wrapper * {
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

#tool_wrapper {
    font-size: 10px;
    line-height: 1.5; 
}

#tool_submit {
    border:none;
    margin:20px;
    width:200px;
    height:40px;
    color: #fff;
    font-weight: bold;
    cursor: pointer; 
    font-size:18px;
    font-family:"Times New Roman",Georgia,Serif;
    background:url(img/btn.png);
}

#tool_submit:hover {
    background:url(img/btn.png) 0 -45px;
}

#tool_submit:active {
    background:url(img/btn.png) 0 -90px;
}

/* Tooltips ---------------------------------------------------------------- */

#tooltip {
    position: absolute;
    border: 1px solid #333;
    background: #f7f5d1;
    padding: 2px 5px;
    color: #333;
    display: none;
}

/* Quick Forecast ---------------------------------------------------------- */

#forecast {
    width: 500px;
    text-align:center;
    margin: 0px auto;
}

#forecast tbody {
    border: 0;
}

#forecast td {
    width:160px;
}

#forecast select {
    font-size:10px;
}

#forecast #address {
    font-size:10px;
    color:gray;
    width:150px;
}

#forecast p#results {
    font-size:18px;
}

#forecast #help {
    height:120px;
    text-align:justify;
    color:Darkorange;
    font-size:16px;
    line-height:1.5; 
}

#forecast #help p {
    margin: 0;
}

#forecast-report {
    line-height: 1.5; 
    text-align:justify;
    display: none;
}

#forecast-warning {
    text-align:center;
    display: none;
}

#forecast-warning p {
    font-weight:bold;
    margin:1em 0;
}

/* Home Response ----------------------------------------------------------- */

#response-top {
    width:450px;
    height:35px;
    font-size: 12px;
    margin: 0px auto;
}

#response-top #loading {
    display:none;
    float:right;
}

#home-response {
    width:450px;
    margin: 0px auto;
}

#home-response h3 {
    font-weight: bold;
}


#home-response p {
    margin: 1em;
}

#home-response #help {
    clear:both;
    padding-top:20px;
    color:OrangeRed;
    font-size:medium;
}

#home-response #help p {
    display: none;
}

#home-response tr { height: 3em; }

#lyear, #lfloors, #lhsize, #lval, #lframe, #lsoil {
    cursor:help;
}

#home-response #map1 , #home-response #map2 {
    width:400px;
    height:380px;
    margin-bottom:15px;
}

#home-response #grid {
    margin-bottom:10px;
}

#home-response #zillow {
    float:right;
    border:none;
    border: 1px solid grey;
}

/* Hazard Viewer ----------------------------------------------------------- */

#iw_kml { height: 200px; } /* USGS Earthquake Infobox */

#viewer_prompt, #viewer_alert {
    font-size:10px;
}

#viewer_wrapper * {
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
}

#viewer_wrapper {
    font-size:10px;
    line-height: 1.5; 
    margin: 0;
    padding-left: 200px;    /* LC fullwidth */
    padding-right: 25px;   /* RC fullwidth + CC padding */
    min-width: 220px;       /* LC fullwidth + CC padding */
}

#viewer_content {
    padding: 0 10px;
    width: 100%;
}

#viewer_content p {
    clear: both;
}

#flabel {
    font-size:smaller;
    padding:5px;
    text-align:justify;
    line-height:2;
    color:grey
}

#viewer_left {
    width: 180px;           /* LC width */
    padding: 0 10px;        /* LC padding */
    right: 220px;           /* LC fullwidth + CC padding */
    margin-left: -100%;
}

/*** IE Fix ***/
* html #viewer_left {
    left: 200px;            /* RC fullwidth */
}

#viewer_right {
    display: none;
    width: 0;
}

#viewer_content, #viewer_left, #viewer_right {
    position: relative;
    float: left;
}

#viewer_map {
    width: 100%;
    height: 100px;
    margin: 10px 0;
}

#viewer_search {
    text-align: center;
}

#viewer_search label, #searchsubmit {
    width: 50px;
}

#searchstring {
    width: 350px;
}


/*** IE Fix ***/
* html #viewer_left {
    left: 200px;            /* RC fullwidth */
}

/*** Just for Looks ***/

#viewer_content, #viewer_left, #viewer_right {
    padding-top: 1em;
}

.blockHeadline
{
  background: #edf3f8;
  border: 1px solid #a3c1da;
  border-bottom-width: 0;
  color: #356287;
  text-align:center;
  font-weight: bold;
  font-size: 0.8em;
}

.blockHeadline a
{
  color: #356287;
  text-decoration: none;
}

.blockHeadline a:hover, .blockRight a:hover
{
  text-decoration: underline;
}

.blockLeft
{
  border: 1px solid #a3c1da;
  font-size: 0.7em;
  margin-bottom: 10px;
  background: white;
}

.blockLeft select, .blockLeft table
{
    width: 174px;
    margin: 2px;
}

.formbutton
{
    width: 174px;
    margin: 10px 2px 2px 2px;
}

.blockLeft a
{
  color: #356287;
  text-decoration: none;
}

.blockLeft td {
    padding: 0 2pt;
}

.blockLeft a:hover
{
  text-decoration: underline;
}

.blockRight
{
  text-align:center;
  border: 1px solid #a3c1da;
  font-size: 0.7em;
  margin-bottom: 10px;
  background: white;
}

.blockRight img
{
    padding-top:10pt;
    border:0;
}

.blockRight a
{
    text-decoration:none;
    color:black;
    padding-bottom:5px;
}

.blockRight p.date
{
    font-style:italic;
    color:gray;
    padding-bottom:10px;
}

/* Risk Index -------------------------------------------------------------- */

#my_score {
    text-align: center;
    border: 4px ridge #27638C;
    padding: 5px 0;
    margin-bottom: 10px;
}

#my_score h1 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    color: grey;
    text-transform:uppercase;
}

#my_score #score {
    margin: 40px 0;
    font-family: "Times New Roman", serif;
    font-size: 80px;
    color: #27638C;
    text-decoration: none;
}

#my_score a.flinks {
    font-size: 10px;
    font-weight: bold;
    margin: 0 10px;
    text-decoration: none;
    color: grey;
    text-transform:uppercase;
}

#my_score a.flinks:hover {
    text-decoration: underline;
    color: black;
}

/* Home Description Form --------------------------------------------------- */

#home_tool
{
    text-align:left;
    background:#fff;
    border:1px solid #ccc;
    -webkit-box-shadow:rgba(0,0,0,.2) 0px 0px 5px;
    -moz-box-shadow:rgba(0,0,0,.2) 0px 0px 5px;

    width:550px;
    margin: 10px auto;
    font-size:small;
    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
}

#home_tool h1
{
    margin:0;
    padding:10px 20px;
    background-color:#94CE18;
    color:#ffffff;
    text-decoration:none;
    text-shadow:1px 1px #545454;
    font-size:large;
}

#home_tool #form_info
{
    margin: 20px;
    padding-bottom: 20px;
    font-size:95%;
    line-height:135%;
    color:#555;
    border-bottom:1px dotted #ccc;
}

#home_tool ul
{
    padding:0 20px;
    list-style-type:none;
}

#home_tool ul li
{
    display:block;
    padding:0px 5px 15px 9px;
    background: #fff !important;
}

#home_tool ul li:hover
{
    background:#FFF7C0 !important;
    -webkit-box-shadow:rgba(0,0,0,.2) 0px 0px 5px;
    -moz-box-shadow:rgba(0,0,0,.2) 0px 0px 5px;
}

label.desc
{
    font-size:95%;
    font-weight:bold;
    color:#222;
    line-height:150%;
    padding:10px 0 3px 0;
    border:none;
    display:block;
}

label.choice
{
    display:block;
    font-size:100%;
    line-height:150%;
    margin:-17px 0 0 23px;
    padding:0 0 5px 0;
    color:#222;
    width:88%;
}

#home_tool #saveForm
{
    margin: 0 0 20px 20px;
}

/* Forecast Tool ----------------------------------------------------------- */

form#personal {
    text-align: center;
    width: 402px;
}

form#personal #loc_address {
    width: 300px;
    font-size: larger;
}

form#personal #forecast_submit {
    font-size: larger;
    float:right;
}

form#personal #map_canvas {
    border: #acf solid;
    width: 400px;
    height: 325px;
    text-align:left;
}
form#personal p#results { font-size: larger }
form#personal p#template { display: none; }
form#personal img#loading { 
    display: none;
    position: absolute;
    top: 8px;
}

form#personal span.bold {
   font-weight: bold;
}#map_canvas {
    border: #acf solid;
    width: 400px;
    height: 325px;
    text-align:left
}

h1 {margin-top:40px}
p#template { display: none; }
img#loading { 
    display: none;
    position: absolute;
    top: 8px;
}


/*
 *  File:         demo_table.css
 *  CVS:          $Id$
 *  Description:  CSS descriptions for DataTables demo pages
 *  Author:       Allan Jardine
 *  Created:      Tue May 12 06:47:22 BST 2009
 *  Modified:     $Date$ by $Author$
 *  Language:     CSS
 *  Project:      DataTables
 *
 *  Copyright 2009 Allan Jardine. All Rights Reserved.
 *
 * ***************************************************************************
 * DESCRIPTION
 *
 * The styles given here are suitable for the demos that are used with the standard DataTables
 * distribution (see www.datatables.net). You will most likely wish to modify these styles to
 * meet the layout requirements of your site.
 *
 * Common issues:
 *   'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is
 *     no conflict between the two pagination types. If you want to use full_numbers pagination
 *     ensure that you either have "example_alt_pagination" as a body class name, or better yet,
 *     modify that selector.
 *   Note that the path used for Images is relative. All images are by default located in
 *     ../images/ - relative to this CSS file.
 */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables features
 */

.dataTables_wrapper {
	position: relative;
	min-height: 302px;
	clear: both;
	_height: 302px;
	zoom: 1; /* Feeling sorry for IE */
}

.dataTables_processing {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 250px;
	height: 30px;
	margin-left: -125px;
	margin-top: -15px;
	padding: 14px 0 2px 0;
	border: 1px solid #ddd;
	text-align: center;
	color: #999;
	font-size: 14px;
	background-color: white;
}

.dataTables_length {
	width: 40%;
	float: left;
}

.dataTables_filter {
	width: 50%;
	float: right;
	text-align: right;
}

.dataTables_info {
	width: 60%;
	float: left;
}

.dataTables_paginate {
	width: 44px;
	* width: 50px;
	float: right;
	text-align: right;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
	height: 19px;
	width: 19px;
	margin-left: 3px;
	float: left;
}

.paginate_disabled_previous {
	background-image: url('../images/back_disabled.jpg');
}

.paginate_enabled_previous {
	background-image: url('../images/back_enabled.jpg');
}

.paginate_disabled_next {
	background-image: url('../images/forward_disabled.jpg');
}

.paginate_enabled_next {
	background-image: url('../images/forward_enabled.jpg');
}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
 */
table.display {
	margin: 0 auto;
	clear: both;
	width: 100%;
	
	/* Note Firefox 3.5 and before have a bug with border-collapse
	 * ( https://bugzilla.mozilla.org/show%5Fbug.cgi?id=155955 ) 
	 * border-spacing: 0; is one possible option. Conditional-css.com is
	 * useful for this kind of thing
	 *
	 * Further note IE 6/7 has problems when calculating widths with border width.
	 * It subtracts one px relative to the other browsers from the first column, and
	 * adds one to the end...
	 *
	 * If you want that effect I'd suggest setting a border-top/left on th/td's and 
	 * then filling in the gaps with other borders.
	 */
}

table.display thead th {
	padding: 3px 18px 3px 10px;
	border-bottom: 1px solid black;
	font-weight: bold;
	cursor: pointer;
	* cursor: hand;
}

table.display tfoot th {
	padding: 3px 18px 3px 10px;
	border-top: 1px solid black;
	font-weight: bold;
}

table.display tr.heading2 td {
	border-bottom: 1px solid #aaa;
}

table.display td {
	padding: 3px 10px;
}

table.display td.center {
	text-align: center;
}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */

.sorting_asc {
	background: url('../images/sort_asc.png') no-repeat center right;
}

.sorting_desc {
	background: url('../images/sort_desc.png') no-repeat center right;
}

.sorting {
	background: url('../images/sort_both.png') no-repeat center right;
}

.sorting_asc_disabled {
	background: url('../images/sort_asc_disabled.png') no-repeat center right;
}

.sorting_desc_disabled {
	background: url('../images/sort_desc_disabled.png') no-repeat center right;
}





/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
table.display tr.odd.gradeA {
	background-color: #ddffdd;
}

table.display tr.even.gradeA {
	background-color: #eeffee;
}

table.display tr.odd.gradeC {
	background-color: #ddddff;
}

table.display tr.even.gradeC {
	background-color: #eeeeff;
}

table.display tr.odd.gradeX {
	background-color: #ffdddd;
}

table.display tr.even.gradeX {
	background-color: #ffeeee;
}

table.display tr.odd.gradeU {
	background-color: #ddd;
}

table.display tr.even.gradeU {
	background-color: #eee;
}


tr.odd {
	background-color: #E2E4FF;
}

tr.even {
	background-color: white;
}





/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */
.dataTables_scroll {
	clear: both;
}

.dataTables_scrollBody {
	*margin-top: -1px;
}

.top, .bottom {
	padding: 15px;
	background-color: #F5F5F5;
	border: 1px solid #CCCCCC;
}

.top .dataTables_info {
	float: none;
}

.clear {
	clear: both;
}

.dataTables_empty {
	text-align: center;
}

tfoot input {
	margin: 0.5em 0;
	width: 100%;
	color: #444;
}

tfoot input.search_init {
	color: #999;
}

td.group {
	background-color: #d1cfd0;
	border-bottom: 2px solid #A19B9E;
	border-top: 2px solid #A19B9E;
}

td.details {
	background-color: #d1cfd0;
	border: 2px solid #A19B9E;
}


.example_alt_pagination div.dataTables_info {
	width: 40%;
}

.paging_full_numbers {
	width: 400px;
	height: 22px;
	line-height: 22px;
}

.paging_full_numbers span.paginate_button,
 	.paging_full_numbers span.paginate_active {
	border: 1px solid #aaa;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 2px 5px;
	margin: 0 3px;
	cursor: pointer;
	*cursor: hand;
}

.paging_full_numbers span.paginate_button {
	background-color: #ddd;
}

.paging_full_numbers span.paginate_button:hover {
	background-color: #ccc;
}

.paging_full_numbers span.paginate_active {
	background-color: #99B3FF;
}

table.display tr.even.row_selected td {
	background-color: #B0BED9;
}

table.display tr.odd.row_selected td {
	background-color: #9FAFD1;
}


/*
 * Sorting classes for columns
 */
/* For the standard odd/even */
tr.odd td.sorting_1 {
	background-color: #D3D6FF;
}

tr.odd td.sorting_2 {
	background-color: #DADCFF;
}

tr.odd td.sorting_3 {
	background-color: #E0E2FF;
}

tr.even td.sorting_1 {
	background-color: #EAEBFF;
}

tr.even td.sorting_2 {
	background-color: #F2F3FF;
}

tr.even td.sorting_3 {
	background-color: #F9F9FF;
}


/* For the Conditional-CSS grading rows */
/*
 	Colour calculations (based off the main row colours)
  Level 1:
		dd > c4
		ee > d5
	Level 2:
	  dd > d1
	  ee > e2
 */
tr.odd.gradeA td.sorting_1 {
	background-color: #c4ffc4;
}

tr.odd.gradeA td.sorting_2 {
	background-color: #d1ffd1;
}

tr.odd.gradeA td.sorting_3 {
	background-color: #d1ffd1;
}

tr.even.gradeA td.sorting_1 {
	background-color: #d5ffd5;
}

tr.even.gradeA td.sorting_2 {
	background-color: #e2ffe2;
}

tr.even.gradeA td.sorting_3 {
	background-color: #e2ffe2;
}

tr.odd.gradeC td.sorting_1 {
	background-color: #c4c4ff;
}

tr.odd.gradeC td.sorting_2 {
	background-color: #d1d1ff;
}

tr.odd.gradeC td.sorting_3 {
	background-color: #d1d1ff;
}

tr.even.gradeC td.sorting_1 {
	background-color: #d5d5ff;
}

tr.even.gradeC td.sorting_2 {
	background-color: #e2e2ff;
}

tr.even.gradeC td.sorting_3 {
	background-color: #e2e2ff;
}

tr.odd.gradeX td.sorting_1 {
	background-color: #ffc4c4;
}

tr.odd.gradeX td.sorting_2 {
	background-color: #ffd1d1;
}

tr.odd.gradeX td.sorting_3 {
	background-color: #ffd1d1;
}

tr.even.gradeX td.sorting_1 {
	background-color: #ffd5d5;
}

tr.even.gradeX td.sorting_2 {
	background-color: #ffe2e2;
}

tr.even.gradeX td.sorting_3 {
	background-color: #ffe2e2;
}

tr.odd.gradeU td.sorting_1 {
	background-color: #c4c4c4;
}

tr.odd.gradeU td.sorting_2 {
	background-color: #d1d1d1;
}

tr.odd.gradeU td.sorting_3 {
	background-color: #d1d1d1;
}

tr.even.gradeU td.sorting_1 {
	background-color: #d5d5d5;
}

tr.even.gradeU td.sorting_2 {
	background-color: #e2e2e2;
}

tr.even.gradeU td.sorting_3 {
	background-color: #e2e2e2;
}


/*
 * Row highlighting example
 */
.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
	background-color: #ECFFB3;
}

.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
	background-color: #E6FF99;
}

.ex_highlight_row #example tr.even:hover {
	background-color: #ECFFB3;
}

.ex_highlight_row #example tr.even:hover td.sorting_1 {
	background-color: #DDFF75;
}

.ex_highlight_row #example tr.even:hover td.sorting_2 {
	background-color: #E7FF9E;
}

.ex_highlight_row #example tr.even:hover td.sorting_3 {
	background-color: #E2FF89;
}

.ex_highlight_row #example tr.odd:hover {
	background-color: #E6FF99;
}

.ex_highlight_row #example tr.odd:hover td.sorting_1 {
	background-color: #D6FF5C;
}

.ex_highlight_row #example tr.odd:hover td.sorting_2 {
	background-color: #E0FF84;
}

.ex_highlight_row #example tr.odd:hover td.sorting_3 {
	background-color: #DBFF70;
}


/*
 * KeyTable
 */
table.KeyTable td {
	border: 3px solid transparent;
}

table.KeyTable td.focus {
	border: 3px solid #3366FF;
}

table.display tr.gradeA {
	background-color: #eeffee;
}

table.display tr.gradeC {
	background-color: #ddddff;
}

table.display tr.gradeX {
	background-color: #ffdddd;
}

table.display tr.gradeU {
	background-color: #ddd;
}

div.box {
	height: 100px;
	padding: 10px;
	overflow: auto;
	border: 1px solid #8080FF;
	background-color: #E5E5FF;
}

/* Monthpicker */ 
.MonthPicker {margin:0 0 10px 0; padding:0; font:bold 12px Arial; color:#ffe; background-image:url(bg.png)}
.MonthPicker {-moz-user-select:none; user-select:none}
.MonthPicker th{padding-left:0}
.MonthPicker td{padding:0}
.MonthPicker a{text-decoration:none; color:#333;}
.MonthPicker a:hover{background:#ffe}
.MonthPicker a:hover span{background:#ffe; color:#f60}
.MonthPicker a.li{position:relative}
.MonthPicker ul{list-style:none; margin:0; padding:0}
.MonthPicker ul table{width:100%; border-collapse:collapse}
.MonthPicker ul ul{position:absolute; visibility:hidden; left:-1px; top:13px; z-index:2; border:1px solid #999}
.MonthPicker ul ul .selected{background:#f60; color:#fff}
.MonthPicker li{position:relative; width:50px; float:left; text-align:center}
.MonthPicker li a{display:block}
.MonthPicker .li:hover ul{background:#ffe; visibility:visible}
.MonthPicker .li:hover li a:hover{background:#09f; color:#ffe}
.MonthPicker span{display:inline-block; width:48px; padding:1px; line-height:12px; text-align:center; cursor:pointer}
.MonthPicker .selected{background:#ffe}
/* Basic Forecast ---------------------------------------------------------- */

#basic-forecast {
    width: 500px;
    text-align:center;
    margin: 0px auto;
}

#basic-forecast #address {
    font-size:10px;
    color:gray;
    width:150px;
}

#basic-forecast p#results {
    font-size:18px;
}

#basic-forecast-report {
    line-height: 1.5; 
    text-align:justify;
    display: none;
}

#basic-forecast-warning {
    text-align:center;
    display: none;
}

#basic-forecast-warning p {
    font-weight:bold;
    margin:1em 0;
}
#monthpicker ul {
    margin-left: 0;
}
