/* Copyright 2009 by Peter Johnson. All rights reserved */

/* Overall document formatting */

body {
	font-family: Georgia, "Times New Roman", Times, serif;
}

/* Formatting for forms */

#info label {
	float: left;
	text-align: right;
	margin-right: 15px;
}

.date_entry {
	width: 110px;
}

.centered-button {
	margin-left: 12px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.full_width {
	width: 100%;
}

/* Formatting for page header */

#page-header {
	position: relative;
	top: 0px;
	left: 0px;
	z-index: 99;
	width: 100%;
	margin-bottom: 5px;
	font-weight: bold;
	color: #3366FF;
	border-bottom: 2px solid #3366FF;
}

/* Formatting for left section of page */

#page-left {
	float: left;
	padding: 5px;
}

/* Formatting for filter area (assets to display, times etc) */

#filter-area {
	width: 150px;
	padding: 1px;
	border: 1px solid #b5b5b5;
	border-top: 2px solid #b5b5b5;
}
#filter-area h1 {
	font-size: 12px;
	margin-bottom: 0px; 
	color: #3366FF;
	font-weight: bold;
}

#filter-area p {
	font-size: 12px;
	line-height: 20px;
	margin-top: 2px; 
	margin-bottom: 0px; 
}

#filter-area ul {
	list-style-type: none;
	margin-left: 0px;
	margin-top: 0px;
	font-size: 12px;
}

#filter-area li {
	margin-left:0px;
}

/* Formatting for display options area */

#display-area {
	width: 150px;
	padding: 1px;
	border: 1px solid #b5b5b5;
	border-top: 2px solid #b5b5b5;
}
#display-area h1 {
	font-size: 12px;
	margin-bottom: -12px;
	color: #3366FF;
	font-weight: bold;
}

#display-area p {
	font-size: 12px;
	line-height: 20px;
	margin-top: 2px; 
	margin-bottom: 0px; 
}

#display-area ul {
	list-style: none;
	margin-left: 0;
	padding-left: 1em;
	text-indent: -1em;
	font-size: 12px;
}

#display-area li {
	margin-left:0px;
}

#display-area {
	margin-left:0px;
}

/* Formatting for selection area (columns to include and exclude) */

#selection-area {
	width: 150px;
	padding: 1px;
	border: 1px solid #b5b5b5;
	border-bottom: 2px solid #b5b5b5;
}
#selection-area h1 {
	font-size: 12px;
	margin-bottom: -12px;
	color: #3366FF;
	font-weight: bold;
}

#selection-area p {
	font-size: 12px;
	line-height: 20px;
	margin-top: 0px; 
	margin-bottom: 2px; 
}

#selection-area ul {
	list-style: none;
	margin-left: 0;
	padding-left: 1em;
	text-indent: -1em;
	font-size: 12px;
}

#selection-area li {
	margin-left:0px;
}

/* Within selection area initially hide sections until they are loaded */

#exclusions-area {
	display: none;
}

#inclusions-area {
	display: none;
}

#columns-area {
	display: none;
}

/* Formatting for main part of page */

#page-main {
	float: left;
	padding: 1px;
}

/* Formatting for map area */

#map {
	position: relative;
	top: 0px;
	z-index: 1;
	width: 800px;
	height: 600px;
	margin-bottom: 0px;
}

/* Formatting for the loading icon */

#loading {
	display: none;
	position: absolute;
	z-index: 2;
	float: left;
	top: 250px;
	left: 50%;
}

/* Formatting for GPS history */

#gps-history {
	position: relative;
	top: 0px;
	left: 0px;
	width: 100%;
	margin-top: 10px;
}

#gps-history table {
	border-style: groove;
	border-collapse: collapse;
}

#gps-history thead { 
	display: table-header-group; 
	font-size: 12px;
}

#gps-history tfoot { 
	display: table-footer-group; 
	font-size: 12px;
}

#gps-history td, th {
	border-style: groove;
	font-family: Arial;
}

#gps-history th {
	color: #ffffff;
	background-color: #3366ff;
}

#gps-history tr.RowOdd td {
	background-color: #fff;
}

#gps-history tr.RowEven td {
	background-color: #eee;
}

#gps-history tr.RowRed td {
	background-color: #ff3366;
}

/* Formatting for from vehicle messages */

#from-messages {
	position: relative;
	top: 0px;
	left: 0px;
	width: 100%;
	margin-top: 10px;
}

#from-messages h1 {
	font-size: 12px;
	margin-bottom: 4px; 
	color: #3366FF;
	font-weight: bold;
}

#from-messages table {
	border-style: groove;
	border-collapse: collapse;
}

#from-messages thead { 
	display: table-header-group; 
	font-size: 12px;
	color: #ffffff;
	background-color: #3366FF;
}

#from-messages tfoot { 
	display: table-footer-group; 
	font-size: 12px;
}

#from-messages td, th {
	border-style: groove;
	font-family: Arial;
	font-size: 12px;
}

#from-messages th {
	color: #ffffff;
	background-color: #3366FF;
}

/* Formatting for page footer */

#page-footer {
	width: 100%;
	clear:both;
	border-top: 2px solid #b5b5b5;
}

/* Formatting for rich calendar control - see http://www.richarea.com/demo/rich_calendar/ */

.rc_calendar {
	border: 1px solid #000000;
}

.rc_iframe_body {
	margin: 0px;
	background: #FFFFFF;
	border: 0px;
	cursor: default;
}

.rc_iframe_body .rc_table {
	font-size: 11px;
	font-family: verdana,tahoma,sans-serif,arial;
}

.rc_iframe_body .rc_wd_tr td {
	border-bottom: 1px solid #000000;
	padding: 2px;
	text-align: center;
	color: #000;
	white-space: nowrap;
}
.rc_iframe_body .rc_time_tr td {
	border-top: 1px solid #000000;
	padding: 2px;
	text-align: center;
	color: #000;
	white-space: nowrap;
}

.rc_iframe_body .rc_head_tr td,
.rc_iframe_body .rc_nav_tr td {
	border-bottom: 1px solid #000000;
	padding: 2px;
	text-align: center;
	color: #000;
	white-space: nowrap;
	font-weight: bold;
}

.rc_iframe_body .rc_cal_tr td {
	border: 1px solid #fff;
	padding: 4px 2px 4px 2px;
	text-align: right;
	color: #000;
	white-space: nowrap;
	width: 20px;
}

.rc_iframe_body .rc_footer_tr td {
	border-top: 1px solid #000000;
	padding: 2px;
	text-align: center;
	color: #000;
	white-space: nowrap;
}

.rc_iframe_body .rc_hours {
	width: 20px;
}

.rc_iframe_body .rc_colon_span {
}

.rc_iframe_body .rc_mins {
	width: 20px;
}

.rc_iframe_body .rc_mins {
	width: 20px;
}

.rc_iframe_body td.rc_current {
	color: #fff;
	background: #00f;
	font-weight: bold;
}

.rc_iframe_body td.rc_today {
	font-weight: bold;
}

.rc_iframe_body td.rc_weekend_head {
	color: #f00;
}

.rc_iframe_body td.rc_weekend_day {
	color: #f00;
}

.rc_iframe_body tr.rc_highlight,
.rc_iframe_body tr.rc_highlight td {
	border: 1px solid #ccccff;
	background: #ccccff;
}

.rc_iframe_body tr.rc_highlight td.rc_highlight {
	background: #3366cc;
	border: 1px solid #9999ff;
}

/* ae_prompt style */

#aep_ovrl {
background-color: black;
-moz-opacity: 0.7; opacity: 0.7;
top: 0; left: 0; position: fixed;
width: 100%; height:100%; z-index: 99;
}
#aep_ww { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 100%; text-align: center;}
#aep_win { margin: 20% auto 0 auto; width: 400px; text-align: left;}
#aep_w {background-color: white; padding: 3px; border: 1px solid black; background-color: #EEE;}
#aep_t {color: white; margin: 0 0 2px 3px; font-family: Arial, sans-serif; font-size: 10pt;}
#aep_text {width: 98%;}
#aep_w span {font-family: Arial, sans-serif; font-size: 10pt;}
#aep_w div {text-align: right; margin-top: 5px;}

#aep_ovrl { 
position: absolute; 
filter:alpha(opacity=70); 
top: expression(eval(document.body.scrollTop)); 
width: expression(eval(document.body.clientWidth)); 
} 
#aep_ww {  
position: absolute;  
top: expression(eval(document.body.scrollTop));  
} 

/* Following is style information for OpenLayers */

div.olMap {
	z-index: 0;
    padding: 0px!important;
    margin: 0px!important;
    cursor: default;
}

div.olMapViewport {
    text-align: left;
}

div.olLayerDiv {
   -moz-user-select: none;
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;  
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;   
}
.olControlAttribution {
    font-size: smaller; 
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
.olControlScaleLineBottom {
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}
.olControlScaleLineTop {
   border: solid 2px black;
   border-top: none;
   text-align: center;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
} 

div.olControlMousePosition {
    bottom: 0em;
    right: 3px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
}

.olControlOverviewMapContainer {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton {
    right: 0px;
    bottom: 80px;
}    

.olControlOverviewMapMaximizeButton {
    right: 0px;
    bottom: 80px;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("images/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("images/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}    
.olControlNavToolbar { 
    width:0px;
    height:0px;
}    
.olControlNavToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  top: 300px;
  left: 6px;
  position: relative;
}

.olControlNavigationHistory {
   background-image: url("images/navigation_history.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;

}
.olControlNavigationHistoryPreviousItemActive { 
  background-position: 0px 0px;
}
.olControlNavigationHistoryPreviousItemInactive { 
   background-position: 0px -24px;
}
.olControlNavigationHistoryNextItemActive { 
   background-position: -24px 0px;
}
.olControlNavigationHistoryNextItemInactive { 
   background-position: -24px -24px;
}

.olControlNavToolbar .olControlNavigationItemActive { 
  background-image: url("images/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("images/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("images/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("images/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  background-image: url("images/editing_tool_bar.png");
  background-repeat: no-repeat;
  float:right;
  width:  24px;
  height: 24px;
  margin: 5px;
}
.olControlEditingToolbar .olControlNavigationItemActive { 
  background-position: -103px -23px; 
}
.olControlEditingToolbar .olControlNavigationItemInactive { 
  background-position: -103px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive { 
  background-position: -77px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 
  background-position: -77px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 
  background-position: -51px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive { 
  background-position: -51px -23px; 
}

/*.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-position: -26px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 
  background-position: -26px -23px ;                                                                   
}*/

.olControlSaveFeaturesItemActive { 
    background-image: url(images/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}
.olControlSaveFeaturesItemInactive { 
    background-image: url(images/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}
.olHandlerBoxSelectFeature {
    border: 2px solid blue;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}   

.olControlPanPanel {
    top: 10px;
    left: 5px;
}  

.olControlPanPanel div {
    background-image: url(images/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    top: 0px;
    left: 9px;
    background-position: 0px 0px;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    top: 36px;
    left: 9px;
    background-position: 18px 0px;
}
.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0px;
    background-position: 0px 18px;
}
.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

.olControlZoomPanel {
    top: 71px;
    left: 14px;
} 

.olControlZoomPanel div {
    background-image: url(images/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    top: 0px;
    left: 0px;
    background-position: 0px 0px;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    top: 18px;
    left: 0px;
    background-position: 0px -18px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 36px;
    left: 0px;
    background-position: 0px 18px;
}

.olPopupCloseBox {
  background: url("images/close.gif") no-repeat;
  cursor: pointer;
}

.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
 -moz-user-select: none;
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}

.olControlEditingToolbar .olControlSelectFeatureItemActive { 
	background-image: url("images/select_feature_on.png");
	background-repeat: no-repeat;
}
.olControlEditingToolbar .olControlSelectFeatureItemInactive { 
	background-image: url("images/select_feature_off.png");
	background-repeat: no-repeat;
}

.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive {
  background-image: url("images/draw_polygon_off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
  background-image: url("images/draw_polygon_on.png");
  background-repeat: no-repeat;
}

