#map_wrapper {
	clear: both;
	margin: 0px;
	width: 960px;
	min-width: 500px;
	position: relative;
}

#map_loading div {
	float: left;
	clear: none;
}

#map_loading div img {
	padding: 1px 10px;
}

#map {
	clear: none;
	width: 785px;
	height: 100%;
	min-height: 350px;
	border: 1px solid black;
	float: left;
}

#map_header {
        clear: both;
        min-width: 500px;
	margin-bottom: 0px;
	text-align: right;
}

#map_tabs {
	list-style: none;
	padding: 0px;
	margin: 0px auto;
	display: block;
}

#map_tabs li {
	border: 1px solid #d6d3ad;
	margin: 0px;
	float: left;
}

#map_tabs li a {
	text-decoration: none;
	display: block;
	background: #fffcce;
	width: 152px;
	height: 2.5em;
	text-align: left;
	color: #999;
	padding: 1px 0px 3px 6px;
	font-size: 1.1em;
}

#map_tabs li a:hover {
	background: #E9F1E7;
	color: #000;
}

#map_tabs li.selected {
	border-color: #555;
}

#map_tabs li.selected a {
	background: #c6d5e3;
	font-weight: bold;
	color: #000;
}

#map_tabs li.selected:hover {
	color: #000;
}

#map_tabs li.important {
	border-color: #ffd100;
}

#map_tabs li.important a {
	background: #fff5cb;
}

#map_tabs li.important a:hover {
	background: #E9F1E7;
}

#help {
	width: 142px;
}

#help a {
	width: 136px !important;
}

#map_info {
	clear: none;
	min-width: 220px;
	border-bottom: 10px solid #ddd;
	background: #f9f9f9;
}


#profile_info {
	clear:both;
	margin: 0px;
	position: relative;
	padding-bottom: 10px;
	display: none;
}

#profile_info .small_link {
	font-size: .85em;
	color: #999999;

}

#profile_info .field_container {
	border: 0px none;
	clear: both;
}

#profile_info strong {
	margin-bottom: 3px;
	display:block;
}

#profile_info label {
	width: 40px;
	text-align: right;
	float: left;
	margin-right: 4px;
	clear: both;
}

#profile_info .circle_label {
	width: 70px;
}
/*
#profile_info .active_label {
	width: 30px;
	text-align: right;
	float: left;
	margin-right: 4px;
}
*/
#profile_info fieldset {
	display: inline;
	clear: none;
	padding: 5px;
	vertical-align: top;
	margin: 10px 16px 10px 0px;
	border: 3px solid #e9e9e9;
	background: #f7f7f7;
}

#profile_info fieldset {
	min-width: 100px;
	min-height: 75px;
}

#profile_info fieldset.two, #main_email_wrapper fieldset.two {
	width: 128px;
}

#profile_info fieldset.three, #main_email_wrapper fieldset.three {
	width: 208px;
}

.magnote {
  margin-top: 0;
}

#profile_info #more_options {
	display: none;
}

#show_more_options {
	display: none;
}

.field_container_header {
        border: 0px none;
        margin: 0px;
	padding: 0px 10px;
	display: block;
        clear: both;
	font-weight: bold;
	font-size: 1.2em;
	color: #f4f4f4;
	background: #2c3c73;
	height: 31px;
	width: auto;
	position: relative;
	vertical-align: middle;
}

#profile_info .field_container_header label {
	width: 130px;
	padding: 5px 16px 0 0;
}

.field_container_header input {
	padding: 2px;
	font-size: 1.05em;
	height: 23px;
	width: 230px;
	margin: 1px;
	border: 1px solid black;
}

.field_container_header img {
	/*float: right;
	padding: 4px;
	*/
	position: absolute;
	right: 10px;
	top: 10px;
}

#more_options fieldset {
	margin: 0px;
	clear: none;
	display: block;
	float: left;
}

#more_options select {
	width: 180px;
}

#type {
	font-size: .9em;
	color: #d9d9d9;
	clear: none;
	display: inline;
}

#profile_info button {
	cursor: pointer;
	width: 140px;
	height: 30px;
	margin: 1px 0px;
	-moz-border-radius: 6px;
}

.button_small {
	cursor: pointer;
	width: 63px;
	height: 30px;
	margin: 1px 16px 1px 0px;
	font-size: .95em;
	padding: 2px;
}

.add_email {
	cursor: pointer;
	width: 142px;
	height: 30px;
	margin: 1px 16px 1px 0px;
}

#profile_info button:hover {
	border: 1px solid #1435ad;
	background: url("../images/button_bg_over.png") repeat-x;
}

#discard, #delete_btn {
	background: url("../images/buttonBGgrey.jpg") repeat-x;
	float: right;
	display: block;
	clear: none;
	border: 1px solid #aaa;

}

#delete_btn {
	clear: both;
}

#delete_profile_confirm button {
	padding: 5px;
}

#save {
	float: left;
	height: 40px;
	background: url("../images/buttonBGblue.jpg") repeat-x;
	border: 1px solid #aaa;
	font-weight: bold;
}

#profile_info #discard:hover, #profile_info #delete_btn:hover {
	background: #f8f5f1;
	border: 1px solid #ed8a1c;
}

#profile_info #update_rect {
	font-size: .85em;
}

#profile_info #mag_min, #profile_info #mag_night {
	width: 30px;
}

#profile_info .mag_warning {
	border: 2px dashed #f74444;
	background: #f7e7e7;
	padding: 4px;
	position: absolute;
	top: 121px;
	left: 318px;
	width: 291px;
}

#tooltip {
	position: absolute;
	border: 3px solid #285577;
	background: url('../images/tooltip_bg.png');
	display: none;
	padding: 3px;

}

.control_add {
	background-attachment: fixed;
        background: url('../images/button_all.png') 0px -56px no-repeat;
	padding: 3px 6px;
	margin-right: 7px;
	margin-left: 0px;
	clear: none;
	display: block;
	height: 52px;
	min-width: 136px;
}

.control_add_wrapper {
	background-attachment: fixed;
        background: url('../images/button_all.png') right -56px no-repeat;
  	margin: 0px;
	padding: 0px;
	height: 58px;
	float: left;
	position: absolute;
	right: 17px !important;
	top: 0px !important;
}

.control_add_wrapper button{
	width: 35px;
	height: 28px;
	border: 0px none;
	margin: -2px;
	padding: 0px;
	background-attachment: fixed;
	background: url('../images/button_all.png') no-repeat;
	vertical-align: top;
	cursor: pointer;
}

#btn_pre {background-position: 0px 0px;}
#btn_pre:hover {background-position: 0px -28px;}
#btn_custom {background-position: -35px 0px;}
#btn_custom:hover {background-position: -35px -28px;}
#btn_custom_adv {background-position: -70px 0px;}
#btn_custom_adv:hover {background-position: -70px -28px;}

#btn_hide {
	float: left;
	display: block;
	clear: none;
	width: 10px;
	height: 55px;
	background-attachment: fixed;
	background: url('../images/button_all.png') no-repeat;
	background-position: -230px 0px;
	border: 0px none;

}

#add_predefined_select {
	display: none;
	height: 30px;
	clear: none;
	border: 1px solid #999999;
	vertical-align: top;
	margin: 0px;
	padding: 0px;
	min-width: 211px;
}

#recent_legend {
	background: #fff;
	border: 1px solid #555;
	margin: 1px;
}

#map_buttons_wrapper {
	margin: 0px 155px 0px 0px;
}

.button_wrapper {
	overflow: auto;
}

#map_buttons {
	float: left;
	clear: none;
	display: block;
}

.map_button, .map_button_yellow {
	background-attachment: fixed;
	background: url('../images/button_all.png') no-repeat -140px 0px;
	border: 0px none;
	width: 90px;
	height: 27px;
	font-size: 1.1em;
	cursor: pointer;
	display: block;
	clear: both;
}

.map_button:hover {
	background-position: -140px -28px;
	color: #333333;
}

.map_button_yellow {
	background-position: -309px -112px;
	height: 55px;
	width: 55px;
	float: left;
	font-size: .9em;

}

.map_button_yellow:hover {
	background-position: -310px 0px;
	color: #999999;

}

#list_map_type {
	display: none;
	z-index: 12;
	position: absolute;
	background: #FDFDFD;
	border: 1px solid #999999;
	margin: 0px;
	width: 90px;
	font-size: 1.1em;
	text-align: center;
}

#list_map_type li {
	list-style: none;
	margin: 0px;
	padding: 3px;
}

#list_map_type li:hover {
	background: #cacafe;
}

#profile_list {
	width: 155px;
	display: block;
	clear: left;
	margin: 2px 0px;
	height: 296px;
	position: absolute;
	right: 0px;
	top: 56px;
}

#profile_list ul {
	padding: 0px;
	margin: 0px;
	border-left: 1px solid #9b9b9b;
	border-right: 2px solid #949494;
	background: #FFFFFF;
	position: relative !important;
}

#profile_list ul li {
	list-style: none;
	padding: 1px 4px;
	margin: 0px;
	display: block;
	min-height: 1.28em;
	cursor: pointer;
	position: relative;
}

#profile_list ul li a {
	position: absolute;
	right: 4px;
}

#profile_wrapper {
	max-height: 241px;
	overflow: auto;
	overflow-x: hidden;
	position: relative !important;
}

/* hide the Show / Hide links in profiles list b/c 1. they don't work correctly and 2. questionable utility / user confusion */
#profile_wrapper li a {
	display: none;
}

#expand_profiles, #profile_list_header {
	background-attachment: fixed;
	background: url('../images/button_all.png') no-repeat;
	width: 155px;
	text-align: center;
	font-weight: bold;
	background-position:  0px -112px;
	height: 35px;
	border: 0px none;
	line-height: 3.4em;
	font-size: .92em;
	border-bottom: 1px solid #949494;
}

#collapse_profiles, #profile_list_footer {
	background-attachment: fixed;
	background: url('../images/button_all.png') no-repeat;
	width: 155px;
	font-size: .75em;
	text-align: center;
	height: 16px;
	background-position: 0px -146px;
	padding-bottom: 3px;
	border-top: 1px solid #949494;
}

#email_list {
	margin: 0px;
	display: block;
	clear: none;
}


#email_list div {
	display: block;
	clear: both;
}

#email_list input {
	margin: 2px;
	clear: right;
}

#main_email_wrapper {
	padding: 1px 0px;
}

#main_email_wrapper ul {
	padding: 0px;
	margin: 0px;
}

#main_email_wrapper li {
	list-style-type: none;
	min-width: 400px;
	margin: 0px;
}

#main_email_wrapper li fieldset {
	margin: 0px 16px 0px 0px;
	clear: none;
	display: inline;
	clear: none;
	vertical-align: top;
	margin: 10px 16px 10px 0px;
}

#main_email_wrapper li fieldset label {
	clear: right;
	display: block;
}

#main_email_wrapper li div {
	display: inline;
	clear: none;
}

#main_email_wrapper .ajax_result {
	display: block;
	clear: both;
	border-bottom: 1px solid #e0e0e0;
	text-align: right;
	margin: 0px 75px 10px;
}

#main_email_wrapper select {
	width: 127px;
}

#main_email_wrapper .buttonWrapper {
	height: 40px;
	display: block;
	padding: 12px 0px;
}

#account_prefs {
	padding: 10px 10px 10px 50px;
}

div.prefs_container {
	margin: 0px 16px 20px 0px;
}

/* styles for the forms */
.ens_form {

}

.ens_form div, .ens_form li {
	display: block;
	clear: both;
	border-bottom: 2px solid #f9f9f9;
	margin-bottom: 4px;
}

.ens_form label {
	width: 146px;
	height: 2.4em;
	float: left;
	display: block;
	padding-right: 15px;
}

.ens_form fieldset {
	border: 0px;
	padding: 0px;
}

.ens_form [type="radio"] {
	margin: 3px 3px 3px 0px;
}

.ens_form [type="text"], .ens_form [type="password"] {
	width: 136px;
}

.ens_form select {
	width: 222px;
}

.ens_form button {
	width: 142px;
	height: 30px;
	clear: both;
	margin-left: 160px;
	display: block;
}

.ens_form .help {
	clear: both;
	display: block;
	margin: 0px 0px 0px 160px !important;
	border: 0px none;
}

.vertical_form {

}

.vertical_form li {
	list-style-type: none;
	padding: 10px 0px 0px;
}
.vertical_form label {
	display: block;
	clear: right;
}

.vertical_form li.help {
	padding: 0px;
}

.vertical_form li.help p {
	color: #999;
	padding: 1px;
	margin: 1px;
}

.success_box {
	background-color: #c0f5b7;
	border: 3px dashed #57b947;
	padding: 15px;
}

.warning_box {
	background-color: #f7f7c7;
	border: 3px dashed #c7c86f;
	padding: 15px;
	margin: 10px 0px;
}


/* site's css breaks leaflet draw styles; override */
.leaflet-draw-actions li {
	margin: 0;
}
.leaflet-draw-actions a, .leaflet-draw-actions a:hover {
	color: #fff !important;
}



/* Stuff for tiptip plugin */
/* TipTip CSS - Version 1.2 */

#tiptip_holder {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
}

#tiptip_holder.tip_top {
	padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
	padding-top: 5px;
}

#tiptip_holder.tip_right {
	padding-left: 5px;
}

#tiptip_holder.tip_left {
	padding-right: 5px;
}

#tiptip_content {
	font-size: 11px;
	font-weight: bold;
	color: #333;
	text-shadow: 0 0 2px #fff;
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,0.25);
	background: #ffe877;
	background: rgb(255,232,119);
	background: rgba(255,232,119,0.92);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fffbaa), to(#ffe877));
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 0 3px #555;
	-webkit-box-shadow: 0 0 3px #555;
	-moz-box-shadow: 0 0 3px #555;
}

#tiptip_arrow, #tiptip_arrow_inner {
	position: absolute;
	border-color: transparent;
	border-style: solid;
	border-width: 6px;
	height: 0;
	width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow {
	border-top-color: #fff;
	border-top-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_bottom #tiptip_arrow {
	border-bottom-color: #fff;
	border-bottom-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_right #tiptip_arrow {
	border-right-color: #fff;
	border-right-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_left #tiptip_arrow {
	border-left-color: #fff;
	border-left-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
	margin-top: -7px;
	margin-left: -6px;
	border-top-color: rgb(25,25,25);
	border-top-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
	margin-top: -5px;
	margin-left: -6px;
	border-bottom-color: rgb(25,25,25);
	border-bottom-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -5px;
	border-right-color: rgb(25,25,25);
	border-right-color: rgba(25,25,25,0.92);
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -7px;
	border-left-color: rgb(25,25,25);
	border-left-color: rgba(25,25,25,0.92);
}

/* Webkit Hacks  */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	#tiptip_content {
		padding: 4px 8px 5px 8px;
		background-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_bottom #tiptip_arrow_inner {
		border-bottom-color: rgba(45,45,45,0.88);
	}
	#tiptip_holder.tip_top #tiptip_arrow_inner {
		border-top-color: rgba(20,20,20,0.92);
	}
}

/* Styles for the date picker plugin */
/* Some resets for compatibility with existing CSS */
.date_selector, .date_selector * {
	width: auto;
	height: auto;
	border: none;
	background: none;
	margin: 0;
	padding: 0;
	text-align: left;
	text-decoration: none;
}
.date_selector {
	background: #F2F2F2;
	border: 1px solid #bbb;
	padding: 5px;
	margin: -1px 0 0 0;
	position: absolute;
	z-index: 100000;
	display: none;
}
.date_selector_ieframe {
	position: absolute;
	z-index: 99999;
	display: none;
}
.date_selector .nav {
	width: 17.5em; /* 7 * 2.5em */
}
.date_selector .month_nav, .date_selector .year_nav {
	margin: 0 0 3px 0;
	padding: 0;
	display: block;
	position: relative;
	text-align: center;
}
.date_selector .month_nav {
	float: left;
	width: 55%;
}
.date_selector .year_nav {
	float: right;
	width: 35%;
	margin-right: -8px; /* Compensates for cell borders */
}
.date_selector .month_name, .date_selector .year_name {
	font-weight: bold;
	line-height: 20px;
}
.date_selector .button {
	display: block;
	position: absolute;
	top: 0;
	width: 18px;
	height: 18px;
	line-height: 17px;
	font-weight: bold;
	color: #003C78;
	text-align: center;
	font-size: 120%;
	overflow: hidden;
	border: 1px solid #F2F2F2;
}
.date_selector .button:hover, .date_selector .button.hover {
	background: none;
	color: #003C78;
	cursor: pointer;
	border-color: #ccc;
}
.date_selector .prev {
	left: 0;
}
.date_selector .next {
	right: 0;
}
.date_selector table {
	border-spacing: 0;
	border-collapse: collapse;
	clear: both;
}
.date_selector th, .date_selector td {
	width: 2.5em;
	height: 2em;
	padding: 0;
	text-align: center;
	color: black;
}
.date_selector td {
	border: 1px solid #ccc;
	line-height: 2em;
	text-align: center;
	white-space: nowrap;
	color: #003C78;
	background: white;
}
.date_selector td.today {
	background: #FFFEB3;
}
.date_selector td.unselected_month {
	color: #ccc;
}
.date_selector td.selectable_day {
	cursor: pointer;
}
.date_selector td.selected {
	background: #D8DFE5;
	font-weight: bold;
}
.date_selector td.selectable_day:hover, .date_selector td.selectable_day.hover {
	background: #003C78;
	color: white;
}

/* Styles for the thickbox plugin */
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:1000;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 1002;
	color:#000000;
	display:none;
	border: 4px solid #525252;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	background-color:#e8e8e8;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:1003;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}

