/*
   Copyright 2010 Micah Altman, Michael McDonald

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software 
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

   This file is part of The Public Mapping Project
   https://github.com/PublicMapping/

   Purpose:
       This stylesheet defines all the styles used in The Public Mapping
       Project django web application.

   Author: 
        Brian Jacobs, Andrew Jennings, David Zwarg, Kenny Shepard
*/
html {
    height: 100%;
    width: 100%;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  width: 100%;
  min-width: 980px;
  background: #777
  /*min-height: 640px;*/
}


.float_left  {float:left}
.float_right {float:right}

.clear_left  {clear:left}
.clear_right {clear: right}
.clear  {clear: both}

div.static_wrap {
  width: 906px;
  margin: 0 auto;
  }

div#static_header {
  padding: 35px 0 20px;
  padding: 35px 0 20px;
  margin: 0 0 20px;
  height: 86px;
  background: url(/static-media/images/divider.png) 0 100% repeat-x;
}  
div#app_header {
  padding: 0;
  height: 43px; 
  background: #7FAAAA url(/static-media/images/bg-app-header.png) 0 0 repeat-x;
  background-color: rgba(233,233,210, .35);
  box-shadow: 0 0 7px rgba(0,0,0,.6);
  -moz-box-shadow: 0 0 7px rgba(0,0,0,.6);
  -webkit-box-shadow: 0 0 7px rgba(0,0,0,.6);
  
} 
div#logo {
  float: left;
}

div#site_nav {
  float:right;
}
div#site_nav a {
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  padding: 0 15px;
  display:inline-block;
  line-height: 40px;
  height: 100%;
  vertical-align:middle; 
}
div#site_nav a:hover {
  background-color: #90B7B9;
  background-color: rgba(255,255,255, .1);
}

div#site_nav a.last {
  background-image: none;
}

div#site_nav li {
  list-style: none; 
  float:left;
  height: 43px;
  background: url(/static-media/images/divider-vert.png) 100% 0 repeat-y; 
}


/*header styles*/

#app div#logo { 
  margin: 10px 0 0 15px;
  font-size:20px;
  font-weight: bold;
  text-shadow: 0 -1px #222;
  color: #fff;
}

div#steps {
    background:none repeat scroll 0 0 transparent;
    border:medium none;
    bottom:10px;
    left:0;
    padding:0;
    position:absolute;
    right:0;
    top:0;
}
ul#steps_tabs {
  background:url(/static-media/images/divider-vert.png) 0 0 repeat-y;
  border:none;
  padding:0;
  float:left;
  padding: 5px 10px;
  margin-left: 10px;
  width: 600px; /*chrome needs this */
  
}

ul#steps_tabs li {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Arial Black", arial, helvetica, sans-serif;
  margin: 0 -20px 0 0;
  border:none;
  border-bottom: 1px solid #5F8081 !important;
  border-top: 1px solid #5F8081 !important;
  background-color: transparent;
  background-image: url(/static-media/images/bg-arrow-button.png);
  background-position: top right;
  background-repeat:repeat-x;
 -moz-border-radius: 3px 0 3px 0;
  -webkit-border-radius: 3px 0 3px 0;
  border-radius: 3px 0 0 3px;
  text-shadow: 0 -1px #666
}

ul#steps_tabs li a:focus {
  outline: 1px dotted #7CA7A7
 }

ul#steps_tabs li.ui-state-default.ui-tabs-selected {
  background-image: url(/static-media/images/bg-arrow-button-active.png);
  padding-bottom:0;
}

ul#steps_tabs li.ui-state-default.ui-state-disabled {
  background-image: url(/static-media/images/bg-arrow-button-disabled.png); 
  opacity: 1; 
  filter: Alpha(Opacity=100);
}
ul#steps_tabs li.ui-state-default.ui-state-disabled a {
  color: rgba(255,255,255, .3);
  text-shadow:none;
  filter: Alpha(Opacity=35);
}

ul#steps_tabs li#tab_plan {border-left: 1px solid #5F8081 !important; background-position: 100% 0; z-index: 31 }
ul#steps_tabs li#tab_plan a {padding-left: 20px; }
ul#steps_tabs li#tab_draw {background-position: 100% -31px; z-index: 30}
ul#steps_tabs li#tab_evaluate {background-position: 100% -62px; z-index: 29}
ul#steps_tabs li#tab_share {
  background-position: 80% -93px; z-index: 28; margin-right: 10px; 
    border-right: 1px solid #5F8081 !important;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  }
  ul#steps_tabs li#tab_share a  {
    padding-right: 20px;
  }
ul#steps_tabs li#tab_leaderboard {
  background-position: 80% 0;
  border: 1px solid #5F8081 !important;  
-moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
ul#steps_tabs li#tab_leaderboard a {
  padding-right: 15px;
  padding-left: 15px;
}

ul#steps_tabs li a {
color: #fff;
padding: 7px 30px 10px; 
}



/* mapping styles */

input#drawbtn {
    color: #ffffff;
    border: 1px solid #000000;
    background-color: #ff8800;
}
input#evalbtn, input#sharebtn {
    color: #000000;
    border: 1px solid #000000;
    background-color: #dddddd;
}

/* tab containers */

div.toolbar {
  border: none;
  -moz-border-radius: 8px 8px 0 0;
  -webkit-border-radius: 8px 8px 0 0;
  border-radius: 8px 8px 0 0;
}

div.toolbar .ui-tabs-nav { /*jquery ui tab override */
  background:none;
  border:none;
}

div.fulltab .toolbar {height: 50px; background: url(../images/bg-toolbar.png) repeat-x #1a1a1a}
div.fulltab  .toolbar h1 {font-size: 21px; color: #fff; padding: 11px 0 0 15px;}



div#step_plan {
    padding:0;
}



div#step_draw .toolbar {
    background:none;
    height: 100%;
}

div#step_evaluate {
    padding:0;
}
div#step_share{
    padding:0;
}

div#step_leaderboard {
    padding:0;
}

#leaderboard_nav {float:left; margin-left: 5px;}


#leaderboard_nav li{
  float:left;
  color:#fff;
  background:none;
  border:none;
  font-size: 14px;
  font-weight:bold;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0 0 3px #333;
  -webkit-box-shadow: 0 0 3px #333;
  box-shadow: 0 0 3px #333; 
}

#leaderboard_nav li.ui-state-active {
  text-decoration:none;
  background: url(/static-media/images/toolbar-nav-button-active.png) 0 0 no-repeat;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#leaderboard_nav li a {
  color:#fff;
  padding: 5px 12px;

}

div#updateLeaderboardsContainer {
  float:right;
  margin: 2px 10px 0 0;
}
div#updateLeaderboardsContainer button {
    padding: 3px 20px;
    
}
div#updateLeaderboardsContainer button span {
    line-height: 12px;
    padding: .25em 0 0 ;
}

div#downloadLeaderboardsContainer {
  float:right;
  margin: 2px 10px 0 0;
}
div#downloadLeaderboardsContainer button {
    padding: 3px 20px;
    
}
div#downloadLeaderboardsContainer button span {
    line-height: 12px;
    padding: .25em 0 0 ;
}


#step_leaderboard .ui-tabs-panel{
padding:0;
}

div.leaderboard_panels {
    width: 960px;
    margin: 0 auto;
}


div.leaderboard_panel {
    float: left;
    margin: 10px;
    padding: 12px 12px 15px;
    border: 1px solid #ccc;
    background: #FBFBF3;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 0 13px -5px #666666;
    -webkit-box-shadow: 0 0 13px -5px #666666;
    box-shadow: 0 0 13px -5px #666666;

}
div.leaderboard_title {
  font-size:16px;
  font-weight: bold;
  color: #3E3E3E;
  margin-bottom: 10px;
}
div.leaderboard_panel.odd {clear:left}
div.leaderboard_panel.even {margin-right:0; }

div.leaderboard_panel table{
  border-collapse: collapse;
  color: #555555;
  font-size: 11px;
  border: 1px solid #ccc;
  width: 390px;
}

div.leaderboard_panel .ui-widget-content .ui-th-ltr {
  font-weight: bold;
 }
 
div.leaderboard_panel .titleHelp {
  float:left;
  margin: 5px 5px 0 0;
}
 
div.leaderboard_panel table th{
background: #ECF6F5;
font-weight:bold;
font-size: 12px;
}
div.leaderboard_panel table td, div.leaderboard_panel table th {
padding: 4px 7px;
border: 1px solid #ccc;
line-height: 14px;
}
div.leaderboard_panel table th.colRank {width: 25px}
div.leaderboard_panel table th.colUser {width: 90px}
div.leaderboard_panel table th.colPlan {width: 160px}
div.leaderboard_panel table th.colScore {width: 30px}

div.leaderboard_panel table tr {
  background: #fafafa;
}
div.leaderboard_panel  table a {
  color: #555
}

div.leaderboard_panels div.leg_selector_container {
  margin-right: 88px;
  display: none;
}


div.shadow_left {
background:url(/static-media/images/map-shadow-left.png) no-repeat scroll 0 0 transparent;
bottom:0;
left:0;
position:absolute;
top:0;
width:11px;
z-index:900;
}

div.shadow_top {
background:url(/static-media/images/map-shadow-top.png) repeat-x scroll 0 0 transparent;
height:11px;
left:11px;
position:absolute;
right:0;
top:0;
z-index:900;
}


div#step_plan div.shadow_left ,
div#step_evaluate div.shadow_left ,
div#step_share div.shadow_left,
div#step_leaderboard div.shadow_left {
  top: 51px;
  opacity: .6
}

div#step_plan div.shadow_top,
div#step_evaluate div.shadow_top ,
div#step_share div.shadow_top,
div#step_leaderboard div.shadow_top  {
  top: 51px;
  opacity: .6
}

div #footer p {
font-size: 12px;  
font-weight: bold;
color: rgb(62, 107, 127);
}

div #footer a {color: #10525e}

div #copyright, div#sponsors {width: 350px}
div #copyright .logoLeft {
  float:left; margin-right: 15px;
}

div #sponsors .logoRight {
  float: right; margin-left: 15px;
}

div #sponsors p {
text-align: right;
}

div.tab_content {
    top:51px;
    overflow:auto;
    bottom:0;
    left:0;
    right:0;
    position: absolute;
    background: #e3e3e3;
    padding: 18px;
}

div.tab_content h3 {
  color: #3e3e3e;
  font-size: 14px;
  letter-spacing: -0.03em;
  font-weight: bold;
  margin-bottom: 10px;
}

div.tab_content h3#select_plan_title {
  float:left; 
  width: 66%;
  }


/*plan tab */

div.leg_selector_container {
  background: url(/static-media/images/divider-horz.png) 0 100% repeat-x;
  padding: 0 0 12px 0;
  margin: 0 0 12px 0;
}

div.leg_selector_container select {
  font-size: 14px;
  font-weight:bold;
  color: #5a5a5a;
}

span.leg_selector_instructions {
  font-size: 16px;
  color: #3e3e3e;
  font-weight:bold;
  padding-right: 6px;
  }

/* ADAPTED FROM #TemplateTypeButtons */

div#plan_type {

  width: 150px;
  float:left;
  -moz-border-radius: 0 0 0 10px ;
  -webkit-border-radius:   0 0 0 10px;
  border-radius:   0 0 0 10px;
  
}

ul#plan_buttons {
  padding-top: 10px;
  overflow:hidden
}

ul#plan_buttons li {
  color:#fff;
  background-color:#ccc;
  border-bottom:1px solid #FFFFFF;
  border-left:1px solid #FFFFFF;
  cursor:pointer;
  display:block;
  font-size:14px;
  font-weight:bold;
  padding:8px 0 8px 10px;
  position:relative;
  background-image: url(/static-media/images/bg-button-lg.png);
  background-position: center center;
  background-repeat:  repeat-x;
  margin-left: 5px;
  }
ul#plan_buttons li:hover {
  background-color: #98dbc7;
    margin-left: 0;
  }
  
ul#plan_buttons li.active {
  color:#333;
  background-image:none;
  background-color: #FBFBF3;
  margin-left: 0;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  -moz-box-shadow: 0 0 13px -5px #666;
  -webkit-box-shadow: 0 0 13px -5px #666;
  box-shadow: 0 0 13px -5px #666;  
  z-index:10;
}
  
div#select_plan {


}  
  
  
div#content_container {
  -moz-box-shadow: 0 0 13px -5px #666;
  -webkit-box-shadow: 0 0 13px -5px #666; 
  box-shadow: 0 0 13px -5px #666; 
  background-color:#FBFBF3;
  position: absolute;
  left: 168px;
  right: 18px;
  padding-bottom: 15px;
  padding-bottom: 15px;
}  
  
div#step_plan div.middlecolumn  {
  position:absolute;
  left:0;
  right: 302px;
  font-size:12px;
  margin-top:0;
  padding:15px 0 15px 15px;

  
}  

input#plan_search {
    position:absolute;
    top: 16px;
    right: -16px;
    width: 30%;
    color: #666;
    border:1px solid #CCCCCC;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
}

div#gbox_plan_table {
  min-height: 395px;
}

/*jQgrid customization */
.ui-jqgrid .ui-jqgrid-titlebar {
display:none !important;
}

tr.chooserAlt td {
    background-color:#f3f3f3;
    color:#000000;
}
tr.ui-state-hover td {
    background-color:#e9e9e9;
    color:#000000;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
background: #ececec url("/static-media/images/bg-button-lg.png") center top repeat-x;
color: #555;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight , tr.chooserAlt.ui-state-highlight  td, tr.ui-state-hover.ui-state-highlight  td{
background-color: #efefef;
background-image:none;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
background-image:none;
background-color: #ccc;
cursor:pointer;
}


/* end jQgrid */

div#upload_selection {
  display:none;
   font-weight:bold;
}



div#upload_selection #indexFile {
  margin-bottom: 10px;
}



div#form_column{
    float:right;
    width:273px;
    position: relative;
    margin-right: 15px;
}

div#form_container {
  background-color: #ececec;
  margin-top: 15px;
  padding: 12px 18px 15px;
  border: 1px solid #ddd;
  font-size:14px;
  -moz-border-radius: 4px ;
  -webkit-border-radius:   4px;
  border-radius:   4px;
  }

.chooserDetailButton {
  float:left;
  margin-right:4px;
}
div#chooserFileDownloadTarget .loading {
    background: url('/static-media/images/chooser-loading.gif') no-repeat left center;
    height:25px;
    width:70px;
}
div#chooserFileDownloadTarget div#pendingMessage {
  font-size: 11px; 
  width: 120px; 
  text-align:right; 
  line-height: 12px; 
  border: 1px solid #ccc; 
  padding: 3px; 
  background: #fafafa
}

div#edit_container {
margin-bottom:9px
}

div#form_action{
  background-color: #bbb;
  margin-top: 15px;
  padding: 12px 18px 15px;
  font-size: 14px;
  color: #3e3e3e;
  font-weight:bold;
  -moz-border-radius: 4px ;
  -webkit-border-radius:   4px;
  border-radius:   4px;
  -moz-box-shadow: 3px 3px 3px #999;
  -webkit-box-shadow: 3px 3px 3px #999;
  box-shadow: 3px 3px 3px #999;  

}

#lblStartDrawing {
  font-size: 14px;
  color: #3e3e3e;
  font-weight:bold;
}

div#form_action input#txtNewName {
width: 100%;
}

div#form_action button {
margin-top: 10px;
font-size:13px;
width: 100%;
}


form#plan_form {
}

div#form_container label#name_label,div#form_container label#description_label  {display:block}

div#form_container label, div#radCopyOrEdit {
  font-size: 12px;
  color: #555;
  font-weight:bold;
  }
div#radCopyOrEdit {margin-bottom: 5px}
  
div#form_container input, 
div#form_container textarea {
  margin: 0 0 8px 0;
  width: 95%;
}

div#form_container input#owner,
div#form_container input#edited,
div#form_container input#is_shared,
div#form_container input#districtCount
{
  background:none repeat scroll 0 0 transparent;
  border:medium none;
  color:#888888;
  width:140px;
}

div#form_column textarea {
font-size:10px;
height:59px;
overflow:auto;
}
  
/*choose a plan overlay */

div#PlanChooser {
  margin: -10px -5px 0 -3px;
  padding:0;
  height: 315px !important;
  overflow:hidden;
}

ul#TemplateTypeButtons {

  width: 170px;
  float:left;
  overflow:hidden;
  height: 100%;
  background: #eee;
  -moz-border-radius: 0 0 0 10px ;
  -webkit-border-radius:   0 0 0 10px;
  border-radius:   0 0 0 10px;
  
}

ul#TemplateTypeButtons li {
  color:#fff;
  background-color:#8BD1BC;
  border-bottom:1px solid #FFFFFF;
  cursor:pointer;
  display:block;
  font-size:14px;
  font-weight:bold;
  padding:13px 0;
  text-align:center;
  position:relative;
  background-image: url(/static-media/images/bg-button-lg.png);
  background-position: center center;
  background-repeat:  repeat-x;
  
  }
ul#TemplateTypeButtons li:hover {
  background-color: #98dbc7;
  }
  
ul#TemplateTypeButtons li.active {
  color:#333;
  background-image:none;
  background-color: #fff;
  -moz-box-shadow: 0 0 13px -5px #666;
  -webkit-box-shadow: 0 0 13px -5px #000000;
  box-shadow: 0 0 13px -5px #000000;  
  z-index:10;
}
  
div#TemplateTypeContent {
  background-color:#FFFFFF;
  float:left;
  font-size:12px;
  height:100%;
  margin-top:0;
  padding:0 15px;
  position:relative;
  width:408px;
  overflow:auto;
  -moz-box-shadow: 0 0 13px -5px #000000;
  -webkit-box-shadow: 0 0 13px -5px #000000; 
  box-shadow: 0 0 13px -5px #000000;   
}  

div#TemplateTypeContent label {
display:block;
font-size:14px;
font-weight:bold;
margin-bottom:5px;
}


div #TemplateTypeContent div {
   margin-top: 15px;
}
  
div#PlanChooser button#btnSelectPlan {display:none; margin-top: 15px; font-size: 14px;}


div#SharedSelection, div#SelectorsHelp{
  font-size: 16px;
  font-weight:bold;
}

div#PlanChooser li.inactive {
    opacity:.7;
    cursor: not-allowed;
}




/* large layer chooser button */
div#control_header button#choose_layers_button.ui-state-default {
    float:left;
    text-transform: uppercase;
    background-color: #606060;
    margin:0;
    height: 87px;
    background: url(/static-media/images/bg-button-xl.png) 0 0 repeat-x;
    -moz-box-shadow: 2px 2px 2px rgba(0,0,0,.3);
    -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,.3);
    box-shadow: 2px 2px 2px rgba(0,0,0,.3);

}

div#control_header button#choose_layers_button .icon-layers {
    background: url(/static-media/images/icon-map-layers.png) 3px 5px no-repeat;
    display: block;
    width: 61px;
    height: 49px;
    top:0;
    left: auto;
    margin: 0 auto;
    position: relative;
}
div#control_header button#choose_layers_button .ui-button-text {
  line-height: 1.1em;
  padding: 5px 15px;
}

/* toolbar buttonsset stying */



div#toolbar_plans {
    background-color: #777;
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 0 0 0 10px;
    -moz-box-shadow: 5px -5px 7px -5px rgba(0,0,0,.3);
    -webkit-box-shadow: 5px -5px 7px -5px rgba(0,0,0,.3);
    box-shadow: 5px -5px 7px -5px rgba(0,0,0,.3);
    -moz-border-radius: 0 10px 0 0;
    -webkit-border-radius: 0 10px 0 0;
    border-radius: 0 10px 0 0;
}

div#toolbar_plans div.toolset_group {padding: 6px 9px;}

  
div#toolbar_plans .planname, #currently_viewing {
  font-size: 11px;
  font-weight:normal;
  cursor:normal;
  padding-left: 0;
  line-height: 14px;
}
div#toolbar_plans .planname label{font-weight:bold;}

div#toolbar_plans #saveplanbtn {
  background: url(/static-media/images/icon-save.png) 0 0 no-repeat;
  padding-left:20px;
  
}
div#toolbar_plans #difplanbtn {
  background: url(/static-media/images/icon-open.png) 0 0 no-repeat;
  padding-left:20px;
}

div.fulltab {

    position:absolute;
    top:53px;
    right:10px;
    left:10px;
    bottom:0px;
    min-width:980px;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
    /*min-height:550px;*/
}

div#step_draw  div.fulltab{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    }

div#map {
    position: absolute;
    top: 100px;
    left:0;
    right: 0;
    bottom:0;
    background: #ccc;
}


#mapandmenu .mapping_tabs {padding:0}    
#mapandmenu ul.mapping_tabs li {
  top: 0;
  font-size: 11px;
  font-weight: bold;
  margin: 0 7px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  text-transform: uppercase;
  background-color: #82AFB0;
  background-color: rgba(233, 233, 210, 0.35);
  *background-color: #82AFB0;
  background-image: url(/static-media/images/bg-button-sm.png);
  background-position:0 0;
  background-repeat:repeat-x;
  text-shadow: 0 -1px rgba(0,0,0,.3);
  -moz-border-radius: 3px 3px 0 0;
  -webkit-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}
#mapandmenu ul.mapping_tabs li.ui-tabs-selected {
  background-image:none;
}
#mapandmenu ul.mapping_tabs li.ui-tabs-selected a,  #mapandmenu ul.mapping_tabs li.ui-state-hover  a {
  color: #fff; 
  }
#mapandmenu ul.mapping_tabs li.ui-state-hover   {
  border: 1px solid #90ADAE;
  border: 1px solid rgba(255,255,255,.3);
  border-bottom: none;
  }

div#toolsets {
    position: absolute;
    top: 0;
    right: 280px;
    left: 91px;
    background:none;
    border:none;
    padding: 0;
    }  
    
div#control_header .button_group {
  display:inline-block;
  vertical-align:top;
    margin: 0 3px;
}
div#control_header .button_group#control_assign_district {
  padding-top: 10px;

  }
div#control_header div.toolset {
  padding: 0;
  background: url(/static-media/images/bg-header-panel.png) 0 0 repeat-x;
  background-color: #82AFB0;
  background-color: rgba(233,233,210, .35);
  *background-color: #82AFB0;
 -moz-border-radius: 0 3px 3px;
  -webkit-border-radius: 0 3px 3px;
  border-radius: 0 3px 3px;
  box-shadow: 3px 3px 5px rgba(0,0,0,.3);
  -moz-box-shadow: 3px 3px 5px  rgba(0,0,0,.3);
  -webkit-box-shadow: 3px 3px 5px  rgba(0,0,0,.3);
}
    
div#control_header  .ui-button {
text-align:center;
background:none; 
border:1px solid transparent;
padding:0;
margin: 0 3px;
}

div#control_header .ui-button .ui-button-text {padding: 0.4em 1em 0.4em 2.6em}

div#control_header .ui-button.ui-state-hover {
  background-color:#6b6b6b;
  background-image:none;
  border:1px solid #5F7F7B;
}

div#control_header .ui-button.toggle, div#control_header .ui-button.ui-state-active{
  background-color:#6B8F8B;
  border:1px solid #C2DDDB;

}
div#control_header .ui-button.ui-state-hover {
  background: #99C4BF;
  border:1px solid #C2DDDB;
}

div#control_header .ui-button.disabled, div#control_header .ui-button.ui-state-hover.disabled {
background:none;
border:none;
cursor: not-allowed;
opacity: .5;
filter: Alpha(opacity=50);
}


div#control_header  .toolset_group_lg .ui-button {margin: 0; padding: 3px 5px}
div#control_header  .toolset_group_lg .ui-button .ui-icon {
    background-position: 50% 50%;
    background-repeat:none;
    display:block;
    margin: 0;
    position:relative;
    padding-bottom: 5px;
    left:auto;
    top:0;
    margin: 0 auto;
}

div#control_header  .toolset_group_lg .ui-button .ui-button-text {
  padding: 0;
  line-height: 1.1em;
}


div#control_header #history_tools {margin-top: -5px; float:right; padding-bottom: 2px;}

div#control_header #history_tools  .ui-button {
font-size:10px; padding: 1px; margin: 0;
}
div#control_header #history_tools   .ui-button .ui-button-text {
font-size: 10px; padding-right: 4px;
}



.navigate_map_tool  .ui-icon {
  background-image: url(/static-media/images/icon-pan.png);
}
.identify_map_tool  .ui-icon {
  background-image: url(/static-media/images/icon-identify.png);
}
#district_id_map_tool  .ui-icon {
  background-image: url(/static-media/images/icon-district.png);
}
#lock_district_map_tool  .ui-icon {
  background-image: url(/static-media/images/icon-lock-district.png);
}
#single_drawing_tool  .ui-icon {
  background-image: url(/static-media/images/icon-select.png);
}
#rectangle_drawing_tool  .ui-icon {
  background-image: url(/static-media/images/icon-select-rect.png);
}
#polygon_drawing_tool  .ui-icon {
  background-image: url(/static-media/images/icon-select-poly.png);
}
#copy_paste_tool  .ui-icon {
  background-image: url(/static-media/images/icon-copy-paste.png);
}
#unassign_tool  .ui-icon {
  background-image: url(/static-media/images/icon-copy-paste.png);
}
#dragdrop_tool .ui-icon {
  background-image: url(/static-media/images/icon-drop.png);
}
#anchor_tool .ui-icon {
  background-image: url(/static-media/images/icon-anchor.png);
}
#history_undo .ui-icon {
  background-image: url(/static-media/images/icon-undo.png);
}
#history_redo  .ui-icon {
  background-image: url(/static-media/images/icon-redo.png);
}
#district_select_tool  .ui-icon {
  background-image: url(/static-media/images/icon-select-district.png);
}
.delete_set .ui-icon {
  background-image: url(/static-media/images/icon-trash.png);
}
#fix_unassigned_button .ui-icon {
  background-image: url(/static-media/images/icon-fix.png);
}
#show_splits_button .ui-icon {
  background-image: url(/static-media/images/icon-splits.png);
}

#generate_splits_report_button .ui-icon {
  background-image: url(/static-media/images/icon-splits-report.png);
}

#multi_member_toggle .ui-icon {
  background-image: url(/static-media/images/icon-members.png);
}




div.toolset_group {
  float:left;
  font-size: 11px;
  font-weight:bold;
  cursor:pointer;
  background: url(/static-media/images/divider-vert.png) 100% 0 repeat-y;
  padding: 3px 4px 3px;
  }
  
div.toolset_group.first {padding-left: 0}
div .toolset_group.last {background: none}

div.toolset_group .help{
  float:right;
}

div.toolset_group label {
  font-size: 11px; 
  font-weight:bold;
  color: #fff
}
div.toolset_group select {
  width: 100px;
  margin-right: 5px;
  font-size: 11px;
  }
div.toolset .ui-icon {
background-color: transparent;
border:none;
}
    
div#no_edit_at_zoom_level {
  height: 51px;
  width: 70%;
  font-size:small;
  position:relative;
  left:15px;
  top:5px;
}

#app button, .ui-dialog button {
    background-image: url(/static-media/images/bg-button-sm.png);
    background-position: 0 0; 
    background-repeat: repeat-x;
    background-color: #333;
    border: 1px solid #222;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0 -1px rgba(0,0,0,.3);
    color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px
    }
	

#app .multiple .ui-buttonset .ui-button {
    background-image: url(/static-media/images/bg-button-sm.png);
    background-position: 0 0; 
    background-repeat: repeat-x;
    background-color: #333;
    border: 1px solid #222;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0 -1px rgba(0,0,0,.3);
    color: #fff;
}	
#app  .ui-buttonset .ui-button {
    background-image: none;
    background-position: 0 0; 
    background-repeat: repeat-x;
    background-color: transparent;
    border: none;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0 -1px rgba(0,0,0,.3);
    color: #fff;
}
#app .multiple .ui-buttonset .ui-button.ui-state-active {
	background-image:none;
	background-color: #444;
}
#app .multiple .ui-buttonset .ui-button .ui-button-text {
padding: 0.4em 1em;
}
#app  .ui-buttonset .ui-button .ui-button-text {
	padding: 0;
}
    
#app button.lg, .ui-dialog button.lg {
    background-image: url(/static-media/images/bg-button-lg.png);
}

button.toolbar_toggle {
    position:absolute;
    right:0;
    text-transform: uppercase;
    padding: 5px;
    margin-top: 8px;
}

    
button#edit_map_settings ,
button#start_drawing   {
    width:135px;
}

button#start_mapping[disabled="disabled"] {
    background-color: #DDD;
    color: #444;
    cursor: default;
}

div#map_menu {
    background:none;
    border:none;
    padding: 0;
    position:absolute;
    right: 0;
    margin: 0;
    height: 100%;
    z-index:1000;
}


div#stats_options  {position: absolute; right: 0}
div#stats_options  .ui-button{ 
    border: 1px solid transparent;
    margin: -1px 0 1px 0;
    padding: 0;
    text-align: center;
}
 
div#stats_options .ui-button .ui-icon {
background: url(/static-media/images/icon-pencil.png) 0 0 no-repeat;
}  
div#stats_options .ui-button .ui-button-text {
  padding-left: 23px; padding-right: 4px;
}

div#map_menu button.menu_toggle{
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    margin: 0 5px 0 -2px;
    width: 14px;
    height: 12px;
}


button.menu_toggle .ui-icon-arrow-right {
background: url(/static-media/images/icon-arrow.png) 4px 0 no-repeat;
}
button.menu_toggle .ui-icon-arrow-down {
background: url(/static-media/images/icon-arrow.png) 2px -14px no-repeat;
}


div#map_menu_header { 
    height: 52px;
    padding: 8px 0 0 0;
    cursor: pointer;
    width: 270px;
    background: #82AFB0 url(/static-media/images/bg-header-panel.png) 0 0 repeat-x;
    
    background-color: rgba(233,233,210, .35);
    *background-color: #82AFB0;
    -moz-border-radius: 0 3px 3px;
    -webkit-border-radius: 0 3px 3px;
    border-radius: 0 3px 3px;
    box-shadow: 3px 3px 5px rgba(0,0,0,.3);
    -moz-box-shadow: 3px 3px 5px  rgba(0,0,0,.3);
    -webkit-box-shadow: 3px 3px 5px  rgba(0,0,0,.3);

    }
    
div#map_menu_header select {
    background-color: #A6C4C5;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    font-size: 19px;
    font-weight: bold;
    height: 30px;
    line-height: 23px;
    margin: 6px 0 0 12px;
    padding-left: 0;
    width: 239px;
}

div#map_menu_header select option {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #222

}
    
div#map_menu_header label {
  margin: 0 5px 0 7px;
  display: block;
  float:left;
  font-size: 11px; 
  font-weight:bold;
  line-height: 12px;
  }

button#legend_toggle {
    background-color: #606060;
    position: absolute;
    bottom: 8px;
    right: 280px;
    font-size: 7pt;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
}

button#legend_toggle.collapse {
  right: 15px;
  }

button#legend_toggle.ui-state-default {border: 1px solid #ccc;}

div#map_legend_content {
    position: absolute;
    bottom: 35px;
    right: 280px;
    width: 170px;
    background-color: #272727;
    color: #fff;
    padding: 5px;
    border: 1px solid #666666;
    display: none;
    opacity: 0.9;
    filter: alpha(opacity=90);
    overflow-y: hidden;
    overflow-x: hidden;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
div#map_legend_content h1 {
    font-size: 11pt;
    font-weight: bold;
    text-align:center;
}
div#map_legend_content table td {
    font-size: .65em;
}
div#map_legend_content table th {
    font-size: .65em;
    font-weight: bold;
}
div#map_legend_content table {
    margin: 0 3px 10px;
}
div#map_legend_content .swatch {
    width: 30px;
    height: 16px;
    margin: 1px 5px 1px 1px;
}
div#map_legend_content .basemap_swatch {
    border: solid 1px #555555;
}
div#map_legend_content .district_swatch {
    border: solid 2px #ee9900;
}
div#legend_swatch_1 {
    background-color: #dcdcdc;
}
div#legend_swatch_2 {
    background-color: #ababab;
}
div#legend_swatch_3 {
    background-color: #666666;
}
.reference {
    background: #447700 url(/static-media/images/icon-legend-boundary.gif) no-repeat top left;
    border: none;
    padding 2px;
}
table#reference_legend {
    display:none;
}
button.map_type_button {
    font-size: 7pt;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
    width: 70px;
    cursor: pointer;
    background-color: #EFE8CB !important;
    color: #222 !important;
    font-weight: normal !important;
}
button#map_type_toggle {
    font-size: 7pt;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
    width: 70px;
    cursor: pointer;
    top: 110px;
    right: 280px;
    position: absolute;
    font-size: 7pt;
    background-color: #606060;
    display:none;
}
div#map_type_content {
    position: absolute;
    top: 83px;
    right: 280px;
    width: 70px;
    border: solid 1px #999999;
    display: none;
    overflow-y: hidden;
    overflow-x: hidden;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
    background-color: #EFE8CB;
}

button#settings_toggle {
    background-color: #606060;
    position: absolute;
    top: 60px;
    right: 355px;
    font-size: 7pt;
    display:none;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
}

 button#settings_toggle.ui-state-default {border: 1px solid #ccc;}

div#map_settings_content {
    position: absolute;
    top: 110px;
    right: 280px;
	min-width: 140px;
    background-color: #272727;
    color: #fff;
    border: 1px solid #666666;
    padding: 8px 11px;
    opacity: 0.9;
    filter: alpha(opacity=90);
    overflow-y: hidden;
    overflow-x: hidden;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}


div#map_settings_content #map_type_content_container {margin-bottom:10px; margin-right:0;}

div#map_settings_content h1 {
    font-size: 11pt;
    font-weight: bold;
    text-align:center;
}
div#map_settings_content #map_settings_layers, div#map_settings_content .layer_type_container {
    font-size: 0.65em;
    font-weight:bold;
    vertical-align:middle;
    }
div#map_settings_content #reference_layer_id   {display:none; margin: 4px 0 2px; float:left;  line-height: 14px;}
div#map_settings_content #reference_layer_name  {
  font-weight: normal;
}
    
div#map_settings_content #opacity_slider {
    width: 100%;
    height: 5px;
    margin: 5px 0;
}
div#map_settings_content .ui-slider .ui-slider-handle {
    cursor: default;
    height: 0.8em;
    position: absolute;
    width: 0.6em;
    z-index: 2;
    margin-left: -.4em
}


    
 div.map_menu_content {
     width: 269px;
    position:absolute; 
    bottom: 5px;
    top: 85px;
    z-index: 100;
    background:#e0ecea;
    border: 1px solid #769F9F;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    -moz-box-shadow: 0 8px 17px -6px #333333;
    -webkit-box-shadow: 0 8px 17px -6px #333333;
    box-shadow: 0 8px 17px -6px #333333;
}

div.plan_summary {
    padding: 10px 10px 15px;
    background: url(/static-media/images/divider.png) 0 100% repeat-x;
    color: #3c3c3c;
    line-height: 16px;
    position:relative;
}
div.plan_summary h3 {
  font-size: 19px;
  line-height: 26px;
  font-weight: bold;

}
div.plan_summary label {
  display:inline-block;
  width: 160px;
  text-align:left;
  font-size: 12px;
  font-weight: bold;
  margin-left: 3px;
  }
div.plan_summary span {
  display:inline-block;
  width: 77px;
  text-align:right;
  font-size: 12px;
  font-weight: normal
  }
div.plan_summary .summary_header {
  border-bottom: 1px solid #999999;
}

#updatestatsbtn {
  position: absolute;
  right: 290px;
  top:150px;
}

div.info_table table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

div.info_table {
    color: #717171;
    padding-left: 5px;
    padding-right: 5px;
}
div.info_table thead,
div.info_table tbody {
    left: 5px; 
    right: 5px; 
}
div.info_table thead tr {
  padding-right: 18px;
  display:block
}
div.info_table.basic thead tr {
  padding-right: 0;
}

div.info_table th {
    top: 10px;
    text-align:center;
    padding: 3px;
    font-weight: bold;
    font-size: 11px;
    line-height: 11px;
}
div.info_table tbody { 
    background: #f7f7f7;
    border: 1px solid #aaa;
    overflow:auto;
    position:absolute;
    top:165px;
    bottom:29px;
}
div.map_menu_content.basic_information div.plantable.body {
  top: 181px;
  }
div.map_menu_content.demographics div.plantable.body {
  top: 203px;
  }
    
  

div.info_table table tr.even {
  background: #fff;
}
div.info_table table tr td {
    font-size: 10pt;
    text-align: center;
    padding: 5px 5px;
}
div.info_table .district_name{  
    width: 12%;
}
div.info_table td.district_name {
    overflow: hidden;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
div.info_table .community_name {
    width: 12%;
}
div.info_table td.community_name {
    overflow: hidden;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}
div.info_table .score1{  
    width: 67px;
}
div.info_table .score2{  
    width: 26%;
    text-align:center;
}
div.info_table .score3{  
    width: 35%;
}
table#demographics_table td.cellright{
    text-align:right;
}
div.info_table .error {
  font-size: 12px; 
  font-weight: bold;
  color:#333; 
  padding: 8px;
}
span.poptot { 
  -moz-border-radius:2px;
  -webkit-border-radius:2px;
  border-radius:2px;
  padding: 1px;
  color: #3c3c3c;
  font-size: 11px;
  display:block;
  min-width: 64px;
  text-align:center;
}
.over, .interval_3.poptot {
  background: #ead3a7;
  border: 2px solid transparent;
}
.farover, .interval_4.poptot {
  background: #EBB95E;
  border: 2px solid transparent;
}
.under, .interval_1.poptot {
  background: #a2d5d0;
  border: 2px solid transparent;
}
.farunder, .interval_0.poptot {
  background: #0AAC98;
  border: 2px solid transparent;
}
.target, .interval_2.poptot {
  background: #eeeeee;
  border: 2px solid transparent;
}
.locked {
  background: #FF0000 url(/static-media/images/icon-legend-boundary.gif) no-repeat top left;
  border: none;
  padding 2px;
}

.notOnMap {
    opacity:.5;
}

div.menu_footer {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
}
div#stats_legend_panel{
  width: 240px;
  max-width:none;
  font-size: 11px;
  font-weight: bold;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
}
div#stats_legend_panel div.legend_item {
  width: 48%;
  margin-right:2%;
  float:left;
}
div#stats_legend_panel div.legend_item.last {
  width: 48%;
  margin-right: 0
}
div#stats_legend_panel h5 {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 3px;
}
div#stats_legend_panel li{
  margin-bottom: 3px;
  list-style: none;
  }
div#stats_legend_panel span.swatch{
  float:left; 
  display: block;
  margin: 4px 5px 0 0;
  width: 5px;
  height: 5px;
}
div#stats_legend_panel img  {
  float:left; 
  display: block;
  margin: 2px 5px 0 0;

}


div#map_menu button#stats_legend {
  width: 100%;
  background: #1F8CBE url("/static-media/images/bg-button-sm.png") 0 0 repeat-x;
  border: 1px solid #ccc;
  margin: 0;
  -moz-border-radius: 0 0 8px 8px;
  -webkit-border-radius: 0 0 8px 8px;
  border-radius: 0 0 8px 8px

}


/* copy / paste dialog */
#shared_districts_content {padding-bottom: 15px;float:left}
#shared_districts_content > div {
    float:left;
    margin-right: 15px;
    font-size: 12px;
}
#shared_districts_instructions {
    margin-bottom: 10px;
}
#shared_districts_content h2 {margin-bottom: 8px; font-size: 16px; font-weight:bold;}
#shared_plans_column {
}
#shared_districts_column {
}
#shared_districts_dialog  #step_3 {
}
#shared_districts_dialog  #step_3 h2{
  float:left; margin-right: 10px;
}



/* bard report previews */
#reportPreview h1#genreport { 
    text-align:center; 
} 
#reportPreview p { 
    margin: 0 5px 0 10px; 
    font-size: 0.8em; 
} 
div.report {
	border: 3px solid #779e7b;
    top:40;
    height:95%;
    width: 95%;
    overflow: auto;
}

/* Evaluate page */

.evaluate #description,
.evaluate #options {
    width:55%;
}

.evaluate #description p {

}

.evaluate #options {
    padding-top: 10px;
    font-size:x-small; 
}
.evaluate #description p{
    font-size:smaller;
}
.evaluate #description .child {
    font-weight:normal;
}
.evaluate #reportButtons {
  clear:both;
  padding: 30px;
}
.evaluate #options span {
    display: block;
}
.evaluate #options1, .evaluate #options2 {
    display:block;
    float:left;
    vertical-align:top;
    width: 45%;
}

.reportVar {
    padding-left:15px;
}
#reportPreviewContainer {
    position:absolute;
    top:10px;
    right:10px;
    height:480px;
    width: 40%;
}
#btnSharePlans {
    float:right;
}
/* Share page */

div.share p, div.share label{
    font-size:80%;
    margin: 13px 0;
}
div.share ol {
    font-size: 80%;
    margin-left: 20px;
}


div#nameandshare,
#btnSaveAndShare {
    margin: 10px 0;
}

.share #successfulShare {
    display: none;
    width: 450px;
}

#successfulShare #sharedPermalink  a{
    background: none repeat scroll 0 0 #DDDDDD;
    border: 1px solid #CCCCCC;
    font-size: 12px;
    font-weight: bold;
    margin: 15px 0;
    padding: 12px;
    text-decoration: none;
    display:block;
}

.share #saveandshare .explanation {
background: url("/static-media/images/divider-horz.png") repeat-x scroll 0 100% transparent;
padding-bottom: 20px;
margin-bottom:20px;
}
.share #saveandshare,
.share #preview {
    display:inline-block;
    width:45%;
}
.share #nameandshare {
   background: url("/static-media/images/divider-horz.png") repeat-x scroll 0 100% transparent;
    padding-bottom: 15px;
}
.share #reportpreview {
    height:600px;
}
#dlgMail input.error {
    border: 1px solid #ff0000;
}
#dlgMail div.error {
    font-size:small;
    color:red;
}
#districtIndexFileTarget {
    margin: 15px 0 30px 0;
}
#step_share .loading {
    background: url('/static-media/images/share-loading.gif') no-repeat left center;
    text-align: right;
}

.share #saveandshare,
.share #verifyandpost {
    float: left;
}

.share #verifyandpost {
    width: 47%;
    border: 1px solid #ccc;
    margin-left: 25px;
    padding: 20px;
    background: #FBFBF3;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 0 13px -5px #666666;
    -webkit-box-shadow: 0 0 13px -5px #666666;
    box-shadow: 0 0 13px -5px #666666;
}

.share #verifyandpost .explanation {
    margin: 0 0 15px 0;
}

#scoring {display:none}


/* Johnny's Fixes
==================================*/

.master {
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em 0 .4em 0;
}

.child {
	font-size: 1.2em;
}

#reportButtons {
	margin-top: 2em;
}


/* Report Table Styles
=======================================*/

#reportPreview h2 {
	background: #4e6651;
	color: #fff;
	font-weight: bold;
	padding-left: 5px;
}

#reportPreview h2.BARDtitle {
	background: #323232;
	color: #beccbf;
	font-size: .8em;
}

table.dataframe {
	background: #fff;
}

#reportPreview td.cellinside {
	text-align: right;
}

#reportPreview table {
	border-spacing: 2px;
	width: 100%;
}

tr.firstline th {
	background: #000;
	color: #fff;
	padding: 5px;
}


td.firstcolumn {
	background: #a1aca3;
	text-align: center;
}


/* district assignment control styles */
div.controlDiv {
    position:absolute; 
    width: 16px;
    height: 17px;
    left: 27px;
    top:27px;
    background: url(/static-media/openlayers/img/full-extent-mini.png) 0 0 no-repeat;
    background-color: #ffffff;
}
div.controlDiv span {
    font-size: 0.8em;
    margin: auto 5px;
}
div.controlDiv select {
    font-size: 0.7em;
}
div#tipclose {
    position: absolute;
    top: 2px;
    right: 2px;
    cursor: pointer;
}
select#newdistrictname {
    width: 290px;
}


/* JQUERY TOOLS TOOLTIPS */
/* tooltip styling */
.tooltip {
	display:none;
	background:#000;
  padding: 5px;
  border: 1px solid #666;
	font-size:11px;
  line-height: 14px;
	color:#fff;
  z-index: 10000;
  max-width: 141px;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;  
}
.tooltip h1 {
    font-size: 11pt;
    margin-bottom: 0.5em;
}
.tooltip div {
    white-space: nowrap;
}



/* JQUERY UI GLOBAL OVERRIDE */
.ui-widget, .ui-widget button, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {font-family: Arial, Helvetica, sans-serif;}

.ui-dialog {
  border: none;
  -moz-border-radius:14px 14px 10px 10px;
  -webkit-border-radius:14px 14px 10px 10px;
  border-radius:14px 14px 10px 10px;
  -moz-box-shadow:0 0 25px -9px;
  -webkit-box-shadow:0 0 25px -9px;
  box-shadow:0 0 25px -9px;
 }

.ui-dialog .ui-dialog-titlebar {
  margin: -0.2em -0.2em 10px -0.2em;
  background: #6EB29E url("../images/bg-toolbar.png") 0 0 repeat-x;
  color: #fff;
  padding: .4em 1em .2em .8em;
  font-size: 16px;
  -moz-border-radius:10px 10px 0 0;
  -webkit-border-radius:10px 10px 0 0;
  border-radius:10px 10px 0 0;
}

.ui-dialog .dialog_step {
    background-color: #FBFBF3;
    border: 1px solid #DDDDDD;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.ui-dialog .ui-dialog-buttonpane {padding-top: 0; margin-top: 0;border:none}


.ui-dialog .dialog_step h2 {margin-bottom: 5px; font-size: 16px; font-weight:bold;}

.ui-dialog .dialog_step .centered {text-align:center}
.ui-dialog .dialog_step.indented {margin-left: 3px}
.ui-dialog .dialog_step .fillwidth {width:93%;}
.ui-dialog .dialog_step .spacebelow {margin-bottom:4px;}
.ui-dialog .dialog_step select {margin-top: 0; margin-bottom: 5px}


/* OPENLAYERS MAP CONTROLS OVERRIDE */

/*PAN*/

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

.olControlPanUpItemInactive {
	left: 0 !important;
  top: 0 !important
}
.olControlPanUpItemInactive img {
	width: 50px !important;
	height: 17px !important;
}

.olControlPanDownItemInactive {
	top: 34px !important;
	left: 0 !important;
}
.olControlPanDownItemInactive img{
	width: 50px !important;
	height: 17px !important;
}
	
.olControlPanLeftItemInactive {
	top: 17px !important;
  left: 0 !important;
}
.olControlPanLeftItemInactive img{
	width: 17px !important;
	height: 17px !important;
}

.olControlPanRightItemInactive {
	left: 33px !important;
	top: 17px !important;
}
.olControlPanRightItemInactive img{
	width: 17px !important;
	height: 17px !important;
}

/*ZOOM*/
.olControlZoomInInactive {
  top: 58px !important;
}

.olControlZoomInInactive img {
  width: 24px !important;
  height: 24px !important;
}

.olControlZoomOutInactive {
}

.olControlZoomOutInactive img {
  width: 24px !important;
  height: 22px !important;
}
.olControlZoomGrabInactive  {
  left: 14px !important;
  }
.olControlZoomGrabInactive  img{
  width: 23px !important;
  height: 10px !important;
}
#ui-dialog-title-working {
    font-size: 9pt;
}
#working {
    font-size: 9pt;
}

#zoom_debug {
    position:relative;
    left:200px;
    top:-20px;
}
    
/* layer chooser */
#choose_layers_dialog { display:none; }
#choose_layers_content {float:left}
#choose_layers_ok_div {clear: both;}
#choose_layers_ok_button {float: right;}
#choose_layers_select_div {width:345px; float:left;}
#reference_layer_content {width:420px; height:329px; float:left; margin-right:0; margin-left: 12px;}
#choose_layers_content > div {margin-right: 15px; font-size: 12px;}
#choose_layers_instructions {margin-bottom: 10px;}
#choose_layers_button_group button {float:left; margin-right: 10px;}
#reference_labels_check {vertical-align: bottom;}                                                                               
#reference_labels_label {font-weight: bold;}                                                                                    
#reference_labels_check_wrapper {display: none;}        

/* district label&comment */

button#label_district_button {
    background-color: #606060;
    position: absolute;
    bottom: 8px;
    right: 360px;
    font-size: 7pt;
    -moz-box-shadow: 2px 2px 2px #888888;
    -webkit-box-shadow: 2px 2px 2px #888888;
    box-shadow: 2px 2px 2px #888888;
}

button#label_district_button.ui-state-default {border: 1px solid #ccc;}

#multi_member_content {
    height: 255px;
    font-size: 12px;
    margin-bottom: 10px;
}

#multi_member_grid_container {
    width: 31%;
    height: 100%;
    float: left;
    margin-right: 15px;
}

#multi_member_info {
    width: 63%;
    height: 100%;
    float: left;
    margin-left: 3%;
}

#multi_member_targets {
    margin-top: 15px;
    font-size: 10pt;
    font-weight: bold;
}

#multi_member_values {
    margin-top: 15px;
    font-size: 10pt;
    font-weight: bold;
}

#multi_member_save_button {
    float: right;
    margin-top: 5px;
}

span.multi_val {
    text-decoration: underline;
    font-size: 11pt;
    color: #090;
}

span.multi_val.invalid {
    color: #900;
}

#gview_multi_member_grid div.ui-jqgrid-bdiv {
    height: 230px !important;
}

/* District highlighting */
#demographics_table tr {
  cursor: pointer;

  /* Make sure the text is not selectable */
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#demographics_table tr.selected {
  border: 2px solid #007FFF;
}

.highlighted {
  background: #007FFF url(/static-media/images/icon-legend-boundary.gif) no-repeat top left;
  border: none;
  padding 2px;
}

/* Commenting css */
#districtComment {padding-bottom: 0}

#districtComment, #districtCommentErr {
    display:none;
}
#districtComment form {
    font-size: 10pt;
}
#districtComment label {
    font-weight: bold;
}
#districtComment #id_comment {
    height: 80px;
    -moz-border-radius: 8px;
    border: 1px solid #CCCCCC;
    padding: 8px 0 0 8px;
}
#districtComment h3 {
    font-size: 14px;
    font-weight:normal;
}
#districtComment input , #districtComment textarea {
    width: 96%
}
#districtComment select {
    width: 96%;
    border: 1px solid #CCCCCC;
    margin-top: 10px;
}
.community_comments {
    overflow-y: auto;
    height: 98%;
}
.community_comments .comm2 {
    background-color: #F0FCFA;
}
.districtComment {
    padding: 10px 10px 15px;
    clear: both;
    font-weight: normal;
    position: relative;
}
.districtComment .infoLabel {
    font-size: 12pt;
    font-weight: bold;
    float: left;
    border: none;
    background: url("/static-media/images/divider.png") repeat-x 0 100% transparent;
    cursor: default;
    padding-bottom: 3px;
    padding-right: 38px;
}
.districtComment h4 {
    clear:both;
    font-size: 10pt;
    font-weight: bold;
}
.districtComment .edit_district_info {
  position: absolute;
  right: 10px;
    font-size: 8pt;
    text-decoration: underline;
}
.districtComment .edit_district_info:hover {
    cursor: pointer;
}
.districtComment .district_comment {
    clear: both;
    font-size: 9pt;
    margin-top: 5px;
}
.districtComment .district_comment textarea {
    border: 1px inset;
    width: 220px;
    height: 40px;
    background-color: #eeeeee;
    padding: 2px;
    cursor: default;
}
.districtComment .district_type {
    clear: both;
}
.districtComment .infoType {
    font-size: 10pt;
    border: none;
    width: 170px;
    background: transparent;
    cursor: default;
}
.districtComment .district_type h4 {
    display: inline;
}

#community_table .score1, 
#community_table .score2 {
  text-align:right
}

#community_table thead tr {padding-right: 0}

.indented_swatch { width: 40px; }
