body {
	background:#fff url('../img/bg.png') no-repeat top;
	font-family: arial, sans-serif;
    margin: 0;
    font-size: 95%;
}

a, a:active, a:hover,
a img{
	border:none;
    color: #00C7A4;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #00876F;
}

ul {
    padding-left: 15px;
}

#content, 
#header{
	width: 960px;
	margin: 0px auto;
}

#content {
    min-height: 600px;
}

#content #left {
    width: 220px;
    min-height: 200px;
    float: left;
}

#content #right {
    width: 70%;
    float: left;
    padding-bottom: 200px;
}

#map {
    height: 500px;
}

#footer {
    clear: both;
}

/*
 * header
 */
#header {
    padding: 10px;
	position: relative;
}

#header h1 {
    margin: 3px;
}

#header #logo {
}

#searchbar {
	border: none;
    width: 75%;
    margin-left: 300px;
	padding: 0 7px 0;

	color: #000;
    font-size: 18px;
	font-weight: bold;
}

#searchbar #address {
    font-size: 120%;
    width: 350px;
}
#searchbar #address.example {
    color: gray;
}

#nav {
	position: absolute;
	left: 300px;
	top: 25px;
	background-color: #FFFFCC;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
	padding: 10px 0px;
}
#nav a,
#nav a:active,
#nav a:visited {
	padding: 0px 18px;
	text-decoration: none;
	color: #000;
}

#nav a:hover {
	background-color: #FFFF8F;
	padding: 10px 18px;
}

#help, .helpmodal {
    display: none;
    position: absolute;
    background: white;
}

#help {
    padding: 20px; 
    border: 1px solid black; 
    -webkit-border-radius: 10px;
    font-size: 16px;
}

#help .yellow {
    font-weight: bold;
    color: #DCE121;
}

#help .red {
    font-weight: bold;
    color: #F90000;
}

#help .orange {
    font-weight: bold;
    color: #E8C051;
}

#help .delete {
    background-image: url(../img/delete.png);
    display: inline-block;
    height: 16px;
    vertical-align: middle;
    width: 16px;
}

#help .trigger {
    font-weight: normal;
}

#map_buttons {
    position: absolute;
    font-size: 10px;
}

#map_buttons .button {
    background: white;
    border: 1px solid black;
    padding: 2px;
    float: right;
    margin-left: 10px;
    cursor: pointer;
    text-align: center;
}

#map_buttons .button.expanded .label {
    margin-bottom: 5px;
    border-bottom: 1px solid gray;
}

#map_buttons .dropdown {
    display: none;
    text-align: left;
}

#political_borders.button {
    width: 120px;
}
#political_borders_selector {
    padding-top: 10px;
}
#political_borders_selector ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/*
 * map controls
 */
.olControlAttribution {
    bottom: 0.1em !important;
    font-size: xx-small !important;
}

.olControlLoadingPanel {
    background-image: url(../img/loading_circle.gif);
    left: 50%;
    top: 10px;
    position: relative;
    width: 16px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}

.olControlZoomPanel {
    left: 10px !important;
    top: 10px !important;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    background-image: url(../img/sq_plus.png) !important;
    width: 16px;
    height: 16px;
    background-position: 0 50% !important;
    background-repeat: no-repeat;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    background-image: url(../img/home.png) !important;
    width: 16px;
    height: 16px;
    background-position: 0 50% !important;
    background-repeat: no-repeat;
}
.olControlZoomPanel .olControlZoomOutItemInactive {
    background-image: url(../img/sq_minus.png) !important;
    width: 16px;
    height: 16px;
    background-position: 0 50% !important;
    background-repeat: no-repeat;
}

.olPopupContent {
    font-size: 10px !important;
    padding: 0 !important;
}

.olPopupCloseBox {
    background: url(../img/delete.png) no-repeat scroll 0 0 transparent !important;
    top: 3px !important;
    right: 3px !important;
}

/*
 * menus
 */
.menu {
    margin-left: 3px; 
    padding: 3px; 
    font-size: 85%; 
    overflow-x: hidden;
    z-index: 5003;
}

/*
 * attribute_picker
 */
#attribute_picker_container {
    float: left;
    width: 13%;
    overflow-y: auto;
    position: absolute;
    z-index: 5004;
}

#attribute_picker ul {
    list-style-type: none;
    color: green;
}

.trigger {
    color: green;
    font-weight: bold;
    text-decoration: none;
}

.trigger:hover {
    color: #0C0
}

.last-child {
    cursor: pointer;
}

.last-child.hover {
    color: #0C0;
}


/*
 * legend
 */

#legend {
    font-size: 120%;
    width: 200px;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

.selected {
    font-weight: bold;
}

#selectors {
	font-family: arial, sans-serif;
	color: #000;
	font-size: 14px;
    margin-bottom: 10px;
}
.selector_indicator {
    width: 200px; 
    min-height: 15px;
    padding-top: 3px; 
    padding-bottom: 3px;
    text-align: center;
    margin-top: 10px;
    vertical-align: top;
    border: 1px solid transparent;
}

.selector_indicator .reset {
    float: right;
    cursor: pointer;
    background-image: url(../img/delete.png);
    margin-left: -16px;
    height: 16px;
    width: 16px;
}

.selector_indicator .details {
    font-size: 65%;
    display: none;
}

#intersection_indicator {
    display: none;
}

/*
 * callouts
 */
#callout {
    left: 5px;
    bottom: 50px;
    padding: 5px;
    min-height: 100px;
    max-width: 200px;
}
#callout.minimized {
    min-height: 0;
}
#callout.minimized .content {
    display: none;
}
#callout.minimized #actions {
    display: none;
}
#callout #actions {
    text-align: right;
}
#callout .content {
    cursor: pointer;
    margin-top: 5px;
}
#callout #minimized {
    display: none;
}
#callout.minimized #minimized {
    display: block;
}

.button {
    cursor: pointer;
}
        

/*
 * jquery-ui
 */
.ui-autocomplete {
    z-index: 5002 !important;
}

.ui-menu { 
    width: 200px; 
    position: absolute; 
}
.ui-menu .ui-icon {
    float: right; 
}

.ui-tabs {
    padding: 0 !important;
    font-family: inherit !important;
}
.ui-tabs .ui-tabs-nav li a {
    color: #9E9E9E;
}
.ui-tabs .ui-tabs-nav li.ui-state-active a {
    color: black;
}
.ui-tabs .ui-tabs-nav li.ui-state-hover {
    border: 1px solid gray;
    background: #D4D4D4;
}
.ui-tabs .ui-tabs-nav li.ui-state-hover a {
    color: black;
}
.ui-tabs .ui-tabs-nav li.ui-state-active {
    border: 0px !important;
    background: white !important;
}
.ui-tabs .ui-tabs-nav li {
    background: #E5FFD3 !important;
}
.ui-tabs .ui-tabs-nav {
    background: #A4D248 !important;
    border: 0px !important;
}
.ui-corner-top {
    -moz-border-radius: 0px !important;
}
.ui-corner-all {
    -moz-border-radius: 0px !important;
}
.ui-tabs .ui-tabs-panel {
    background: white !important;
}
.ui-widget-content {
    border: 0 !important;
}
.ui-tabs label {
    display: inline-block;
    font-weight: bold;
    vertical-align: top;
    width: 120px;
}
.ui-tabs .list {
    display: inline-block;
    width: 300px;
}
.ui-tabs .warning {
    color: red;
    font-weight: bold;
    margin-bottom: 15px;
}

a#show_help {
    cursor: pointer;
}

/*
 * embed
 */

body.embed {
    background: none;
}

.embed #content {
	width: 740px;
	margin: 0px auto;
}

.embed #content #searchbar {
    margin-left: 0;
    width: 100%;
}

.embed #content #searchbar label {
    width: 200px;
    display: inline-block;
}

#credits .logo {
    position: relative;
    top: 4px;
}
