html, body {
    height: 100%;
    margin: 0;
}

html {
    font: normal 12px "Trebuchet MS", Verdana, "Lucida Grande", Georgia, Sans-Serif;
    text-align: center;
    color: #555;
}

/* Links */

a, a:link, a:visited {
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: underline;
}

/* Html Elements */

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 5px 0 10px;
    padding: 0;
}

h1 {
    font-size: 22px;
}
h2 {
    font-size: 13px;
    padding-left: 25px;
    line-height: 18px;
    font-weight: bold;
}
h3 {
    font-size: 13px;
    padding-left: 25px;
    line-height: 18px;
    font-weight: normal;
}
h4 {
    font-size: 12px;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 12px;
}

ul, ol {
    padding: 10px 30px;
    line-height: 1.8em;
}
ul {
    list-style-type: square;
}

p {
    text-align: justify;
}
p.info {
    font-style: italic;
    color: #666;
}

span.info {
    font-size: 10px;
}

img {
    border: none;
}
img.pointer {
    cursor: pointer;
}

pre {
    font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
    letter-spacing: 0.015em;
    padding: 5px;
    line-height: 15px;
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    border: 1px solid #d8d8d8;
    background-color: #f4f4f4;
}

fieldset {
    border: 1px solid #ccc;
}
legend {
    font-style: italic;
    color: #aaa;
}

table.odd {
    background-color: #eee;
}

/* Forms */
form ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
form th {
    font-weight: normal;
    font-style: normal;
    width: 280px;
    text-align: right;
}
form ul.errorlist {
    font-weight: bold;
    color: #b92b14;
}
div.form_buttons {
    margin: 5px auto;
    text-align: center;
}

input {
    height: 16px;
}
input:hover, textarea:hover {
}
input.checkbox, input.checkbox:hover {
    border: none;
    background-color: transparent;
}

input.form_button {
    width: 200px;
    height: 27px;
    border: none;
    font-weight: bold;
}
input.form_button:hover {
    background-position: 0 -27px;
}

/* Slider */
.slider_left {
    margin: 0;
    width: 10px;
    height: 20px;
    float: left;
    background: transparent url(../img/slider_left.png) no-repeat scroll 0%;
    cursor: pointer;
}
.slider_right {
    margin: 0;
    width: 10px;
    height: 20px;
    float: left;
    background: transparent url(../img/slider_right.png) no-repeat scroll 0%;
    cursor: pointer;
}
.slider_bar {
    width: 200px;
    height: 20px;
    float: left;
    background: transparent url(../img/slider_bar.png) no-repeat scroll 0%;
}
.slider {
    width: 9px;
    height: 20px;
    background: transparent url(../img/slider.png) no-repeat scroll 0%;
    cursor: move;
}
.slider_verbose {
    clear: left;
    text-align: center;
    color: #526b8a;
}
.slider_radius_verbose {
    color: #6e8f55;
}
#track_interval_min_radius, #track_interval_max_radius {
    width: 90px;
}
#slider_interval_min_right {
    margin-right: 5px;
}

/* Calendar */
.calendarbox { margin:5px auto; font-size:11px; width:16em; text-align:center; position:relative; z-index: 2000; background:white; border:1px solid #ddd; }
.calendar { margin:0; padding: 0; }
.calendar table { margin:0; padding:0; border-collapse:collapse; width:100%; background-color:white; }
.calendar caption, .calendarbox h2 { margin: 0; font-size:11px; text-align:center; border-top:none; line-height:18px; }
.calendar th { font-size:10px; padding:2px 3px; text-align:center; color:#666; background-color:#e1e1e1; border-bottom:1px solid #ddd; }
.calendar td { font-size:11px; text-align: center; padding: 0; border-bottom:none; border-top:1px solid #eee; }
.calendar td.selected a { background-color: #C9DBED; }
.calendar td.nonday { background:#efefef; }
.calendar td.today a { background:#ffc; }
.calendar td.emptyday { background: #FFFFFF; }
.calendar td a, .timelist a { display: block; font-weight:bold; padding:4px; text-decoration: none; color:#444; }
.calendar td a:hover, .timelist a:hover { background-color: #5b80b2; color:white; }
.calendar td a:active, .timelist a:active { background-color: #036; color:white; }
.calendar #today { background-color: #BCED4C; color:#444; }
.calendar #today a { color:white; }
.calendarnav { font-size:10px; text-align: center; margin:0; padding:1px 3px; color:#ccc; }
.calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover { color: #999; }
.calendar-shortcuts {font-size:10px; line-height:11px; padding:3px 0 4px; background-color:white; border-top:1px solid #eee; color:#ccc; }
.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next { display:block; position:absolute; font-weight:bold; font-size:12px; line-height:18px; padding:0 4px; background-color:#C9DBED; color:white; }
.calendarnav-previous:hover, .calendarnav-next:hover { text-decoration: none; background-color:#036; }
.calendarnav-previous { top:0; left:0; }
.calendarnav-next { top:0; right:0; }
.calendar-cancel { margin:0 !important; padding:0; font-size:10px; background-color:#e1e1e1; border-top:1px solid #ddd; }
.calendar-cancel a { padding:2px; color:#999; }
.calendarlink img { vertical-align: top;}

/* Auto complete */
div.autocomplete {
    position:absolute;
    width:250px;
    margin:0px;
    padding:0px;
    z-index: 1000;
    background-color:white;
    border:1px solid #888;
}
div.autocomplete ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
}
div.autocomplete ul li {
    list-style-type:none;
    display:block;
    margin:0;
    padding:2px;
    cursor:pointer;
    font-style: normal;
    color: black;
}
div.autocomplete ul li.selected { background-color: #ffb;}

/* Default map */
div.map {
    width: 650px;
    height: 450px;
}

/* Custom popups */
div.map .olPopup {
}
div.map .olPopupContent {
    padding-left: 20px;
}
div.map .olPopupCloseBox {
    background: transparent url(../img/close.gif) no-repeat left top;
    cursor: pointer;
}
div.map .olFramedCloudPopupContent ul {
    margin: 0;
}

.CustomLayerSwitcher input, .CustomLayerSwitcher input:hover {
    border: none;
    background-color: transparent;
}

/* ToolBar */
.ToolBar  {
    float:right;
    right: 30px;
    height: 30px;
    width: 150px;
}
.ToolBar div {
  float:right;
  width:  40px;
  height: 40px;
  margin: 5px;
}
.ToolBar .olControlNavigationItemActive {
  background: url("../img/editing_tool_navigation.png") no-repeat left top;
}
.ToolBar .olControlNavigationItemInactive {
  background: url("../img/editing_tool_navigation.png") no-repeat left top;
  background-position: 0 -40px;
}
.ToolBar .olControlDrawFeaturePointItemActive {
  background: url("../img/editing_tool_draw_point.png") no-repeat left top;
}
.ToolBar .olControlDrawFeaturePointItemInactive {
  background: url("../img/editing_tool_draw_point.png") no-repeat left top;
  background-position: 0 -40px;
}

/* Container */

div#container {
    min-height: 100%;
    width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0;
    background: url(../img/body_bg.png) center repeat-y;
}

/* Page Headers */

#page-header {
    width: 970px;
    margin: 0 auto;
    padding: 0 0 10px;
    text-align: left;
}

#page-header h1#header {
    height: 158px;
    margin: 0px 0px 0px -15px;
    width: 1000px;
}

#page-header h1#header a {
    width: 950px;
    height: 80px;
    display: block;
    position: relative;
    left: 40px;
    top: 45px;
    text-indent: -5000px;
}

#navigation {
    position: absolute;
    top: 118px;
    padding: 0px 0px 0px 10px;
    height: 26px;
    width: 946px;
    margin: 21px 7px 10px;
    list-style-type: none;
}
#navigation li {
    float: left;
}
#navigation a:link, #navigation a:visited {
    float: left;
    padding: 2px 10px;
    line-height: 22px;
}
#navigation a:hover, #navigation a:active {
    text-decoration: none;
}
#navigation a.current {
    font-weight: bold;
}

div#user_connected {
    text-align: right;
    padding: 0 5px;
    line-height: 24px;
    color: #fff;
    position: absolute;
    right: 30px;
    top: 140px;
}

/* Wrapper */

div#wrapper {
    clear: left;
    width: 920px;
    margin: 0 auto;
    padding-bottom: 80px;
    overflow: hidden;
    text-align: left;
}

div#wrapper div.clear {
    clear: both;
}

/* Footer */

div#footer {
    position: absolute;
    bottom: 0;
    left: 0px;
    font-size: 11px;
    width: 940px;
    margin: 0 auto;
    color: #666666;
    background: #FFFFFF url(../img/page_footer.png) no-repeat scroll left bottom;
    padding: 10px 30px;
}
#footer a.current {
    text-decoration: underline;
}
#footer a:link, #footer a:visited {
    color: #000;
}
#footer a:hover, #footer a:active {
    color: #000;
}
#footer p {
    margin: 5px 0;
    text-align: center;
}
#footer #footer_links {
    margin-bottom: 10px;
}

/**********************************************************/

/* paginator */
table.pg_list {
    width: 99%;
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    border: 1px solid #cccccc;
}
table.pg_list td, table.pg_list th {
    padding: 5px;
    border: 1px solid #cccccc;
}
table.pg_list th a.ascending {
    padding-right: 13px;
    background: transparent url(../img/arrow_down.gif) no-repeat scroll right 0.4em;
}
table.pg_list th a.descending {
    padding-right: 13px;
    background: transparent url(../img/arrow_up.gif) no-repeat scroll right 0.4em;
}
table.pg_list th a:link, table.pg_list th a:visited {
    color: black;
}
p.pg {
    font-size: 11px;
    line-height: 22px;
    margin: 0;
    padding: 10px 5px;
    color: #666666;
}
p.pg a:link, p.pg a:visited {
    padding: 2px 6px;
    border: 1px solid #cccccc;
}
p.pg span.current {
    font-size: 13px;
    font-weight: bold;
    padding: 2px 6px;
    vertical-align: top;
}

/* Object details */
table.details {
    width: 100%;
}
table.details th {
    font-weight: normal;
    font-style: normal;
    width: 280px;
    text-align: right;
}

/* next date */
span.dd1 {
    color: red;
}
span.dd2 {
    color: orange;
}

/* Trip hours */
table.trip_hours {
    width: 500px;
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    border: 1px solid #eee;
}
form table.trip_hours {
    width: 700px;
}
table.trip_hours th {
    font-weight: bold;
    text-align: left;
}
table.trip_hours td, table.trip_hours th {
    padding: 5px;
    border: 1px solid #eee;
}
table.trip_hours td.copy {
    text-align: right;
}
table.trip_hours img.report_btn {
    cursor: pointer;
}

/* List firm */
table#firm_list th.act {
    width: 140px;
}


/* List user */
table#user_list th.act {
    width: 120px;
}

/* Add modify user */
#define_trip_map {
    width: 100%;
    position: relative;
}
#define_trip_map #wait {
    position: absolute;
    z-index: 1000;
    top: 220px;
    left: 350px;
}

/* Show trip results */
#trip_results {
    margin: 20px 0 0 0;
    height: 80px;
}
#trip_results p, #trip_results #params {
    float: left;
}
#trip_results #params {
    clear: both;
    width: 100%;
}
#trip_results #param_radius_driver, #trip_results #param_radius_passenger, #trip_results #param_radius_hours {
    float: left;
    margin-right: 20px;
}

#trip_results_map {
    float: right;
    width: 600px;
    position: relative;
}
#trip_results_map #wait {
    position: absolute;
    z-index: 1000;
    top: 220px;
    left: 190px;
}

#trip_container {
    clear: both;
    float: left;
    width: 300px;
    height: 450px;
    position: relative;
}

#trip_list {
    margin: 10px;
}
#trip_list div.trip_list_content {
    height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}
#trip_list div.trip {
    clear: both;
    padding: 3px 0;
}
#trip_list span.trip_toggle {
    cursor: pointer;
}
#trip_list span.trip_title {
    width: 230px;
}
#trip_list span.trip_toggle, #trip_list span.trip_title {
    float: left;
}
#trip_list div.trip_col {
    float: left;
    width: 10px;
    height: 10px;
    margin: 3px;
}
#trip_list span.trip_da {
    margin: 2px;
}
#trip_list span.trip_date {
    font-size: 11px;
    font-style : italic;
}
#trip_list span.trip_type {
    margin: 2px;
}
#trip_list span.trip_show {
    float: right;
}
#trip_list span.trip_show img {
    margin: 2px 3px 3px 3px;
}
#trip_list div.trip_details {
    clear: both;
    position: absolute;
    margin-top: 17px;
    width: 280px;
    height: 105px;
}
#trip_list p {
    padding: 10px;
    margin: 0;
    font-size: 11px;
    color: #444;
}
#trip_list div.trip_details p {
    padding: 10px 8px 0 20px;
    text-align: left;
}

#trip_pages {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}
#trip_pages a {
    padding: 0 5px;
    margin-left: 5px;
    line-height: 26px;
    cursor: pointer;
}
#trip_pages a:hover, #trip_pages a:active {
    text-decoration: none;
}

#trip_list_headers a {
    padding: 0 5px;
    margin-left: 5px;
    line-height: 26px;
    cursor: pointer;
}
#trip_list_headers a:hover, #trip_list_headers a:active {
    text-decoration: none;
}
.result_title {
    width: 300px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
}

/* Search home admin */
#trip_results #date_dows table {
    margin: 2px;
    border-collapse: collapse;
    border: 1px solid #999;
}
#trip_results #date_dows th, #trip_results #date_dows td {
    padding: 2px 5px;
    border: 1px solid #999;
}
#trip_results #param_radius {
    float: left;
    margin-right: 20px;
}

/* Firm Sites */
#firm_sites {
    float: left;
    width: 50%;
}
#firm_sites_map {
    float: right;
    width: 49%;
    height: 550px;
}

/* Home Page */
#home_blocks {
    width: 812px;
    height: 422px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

#home_blocks div.block {
    width: 270px;
    height: 180px;
    overflow: hidden;
    position: absolute;
}
#home_logos {
    text-align: center;
}
#home_logos img {
    vertical-align: middle;
    margin: 0 10px;
}

/* User map */
#user_map {
    width: 99%;
    margin: 0 auto;
}

/* Reports */
div.reportimg {
    text-align: center;
}
table.report {
    margin-left: 1px;
    border-collapse: collapse;
    padding: 0;
    text-align: center;
    border: 1px solid #cccccc;
}
table.report td, table.report th {
    border: 1px solid #cccccc;
    padding: 0 2px;
}

/* Iframes */
#iframe_preview iframe {
    border: solid 1px #6e6e6e;
}

