/*#mapbox_map img, #mapbox_map a {
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	-webkit-text-size-adjust: none;
	 -webkit-user-select: none; -moz-user-select: none;
	 }*/
	
/*#mapbox_map, #map, #map_canvas{
	width:100%;
	position:absolute;
	top:120px;
	bottom:0px;
	left:0;
	right:0;}*/
	
body {
	overflow: hidden;
}
#geoname {
    display: none;
}
#headertitle {
    padding-top: 0px;

}
#dropdown-toggle, #dropdown-toggle .caret {
    color: white;
    border-top-color: white;
    background-color: #0066cc;
}
.caret {
    float: right;
    position: relative;
    right: 2px;
    top: 1px;

}
#dropdown-toggle {
    width: 317px;
    display: block;
    padding-left: 8px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
    border: 1px solid #ccc;

}
.dropdown-menu {
    width: 330px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 18px;
    background-color: #0066cc;
    border: none;
    border-radius: 0px;
    margin-top: -1px;
    border: 1px solid #ccc;
    border-top: none;
}
.dropdown-menu li > a {
    color: white;
    line-height: 23px;
    padding-left: 8px;
    padding-right: 5px;

}
.dropdown-menu li > a:hover {
    background-color: black;
    background-image: none;

}
#legendnav {
    border-top: 1px #ccc;
    margin-top: 1px;
    padding-top: 3px;
    width: 100%;
    height: 40px;
    background-color: #fcfbfb;
    position: absolute;
    bottom: 0;
    left: 0;


}
a.navbutton {
    color: #0066cc;
    text-decoration: underline;
    margin-right: 3px;
}
a.navbutton-selected {
    color: black;
    text-decoration: none;
    font-weight: bold;

}
#navpart {
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 8px;
}
#newnyersnav,#incomenav {
    font-size: 10px;
    text-transform: uppercase;
    line-height: 16px;

}
#incomenav {
    position: relative;
    top: -2px;

}
.legend {
    float: right;
    width: auto;
    margin-right: 8px;
    line-height: 10px;
    padding-top: 5px;
    padding-bottom: 5px;

}
#legendpart {
    float: right;
}
.legendlabel {
    min-width: 20px;
    font-size: 10px;
    display: inline-block;
    float: left;
    position: relative;
    left: -6px;
}
.leftlegendlabel {
    min-width: 20px;
    font-size: 10px;
    display: inline-block;
    float: left;
}
.plus {
    font-size: 10px;
    display: inline-block;
    float: left;
    text-align: right;

}
.legendcolor {
    width: 30px;
    height: 15px;
    margin-left: 0px;
    display: inline-block;
    float: left;

}
.incomelegendpart span {
    width: 25px;
    float: left;

}
.incomelegendpart .plus {
    width: 5px;
    float: right;

}
.incomelegendpart .leftlegendlabel {
    position: relative;
    left: -4px;
}
.leftlegendlabel:first-child {
    left: -10px;

}

#mapbox_map, #map, #map_canvas iframe {
	height:100%;
	width: 100%;
	}


/*Code for multi-layer toggle*/

#map-ui {
    position:absolute;
    top:50px;left:10px;
    list-style:none;
    margin:0;padding:0;
    z-index:100;
    }
    #map-ui a {
      font:normal 13px/18px 'Helvetica Neue',Helvetica,sans-serif;
      background:#FFF;
      color:#3C4E5A;
      display:block;
      margin:0;padding:0;
      border:1px solid #BBB;
      border-bottom-width:0;
      min-width:138px;
      padding:10px;
      text-decoration:none;
      }
    #map-ui a:hover { background:#F0F0F0; }
    #map-ui li:last-child a {
      border-bottom-width:1px;
      -webkit-border-radius:0 0 3px 3px;
              border-radius:0 0 3px 3px;
      }
    #map-ui li:first-child a {
      -webkit-border-radius:3px 3px 0 0;
              border-radius:3px 3px 0 0;
            }
    #map-ui a.active {
      background:#E01838;
      border-color:#E01838;
      border-top-color:#FFF;
      color:#FFF;
      }

/* special for the flood map tabs, which I want different colors*/

    #map-ui a.active-blue {
      background:#004DDB;
      border-color:#004DDB;
      border-top-color:#FFF;
      color:#FFF;
      }

.map-tooltip {

    font-size: 12px;
    box-shadow:none;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    padding: 15px;
    border-radius:0;
    border: none;
    background-color: #333;
    color: white;
    }


#mapbox_map, #map_canvas, #map {
	width:auto;
	position:absolute;
	top:140px;
	bottom:20px;
	left:0;
	right:0;
	border-bottom-color: #CCCCCC;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color-ltr-source: physical;
    border-left-color-rtl-source: physical;
    border-left-color-value: #CCCCCC;
    border-left-style-ltr-source: physical;
    border-left-style-rtl-source: physical;
    border-left-style-value: solid;
    border-left-width-ltr-source: physical;
    border-left-width-rtl-source: physical;
    border-left-width-value: 1px;
    border-right-color-ltr-source: physical;
    border-right-color-rtl-source: physical;
    border-right-color-value: #CCCCCC;
    border-right-style-ltr-source: physical;
    border-right-style-rtl-source: physical;
    border-right-style-value: solid;
    border-right-width-ltr-source: physical;
    border-right-width-rtl-source: physical;
    border-right-width-value: 1px;
    border-top-color: #CCCCCC;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: #CCCCCC;
    border-right-style: solid;
    border-right-width: 1px;
    border-left-color: #CCCCCC;
    border-left-style: solid;
    border-left-width: 1px;
}

#keybox {
}

#key_legend {
	    position:absolute;
	    margin:0;
			padding:4px;
	    z-index:100;
			border:1px solid #BBB;
			border-bottom-width:1px;
		  -webkit-border-radius:0 0 3px 3px;
		          border-radius:0 0 3px 3px;
			background-color: #fff;
			left: 10px;
			top: 273px;
			display: none;
}

#key_legend .innertable {
	margin:0px 0px 0px 0px	;
	float: left;
	width: 60%;
	padding: 0;
	position: absolute;
	right: 10px;
	top: 10px;
	background: #FFF;

}
	}
#key_legend tr {clear:both; float:center; height:12px; margin-left:10px;}
#key_legend td {
	float:left; 
	height:12px; 
	width:40px; 
	opacity: 0.8; 
	margin: 0px; 
	text-align: center; 
	font-size:10px;
	padding: 0;
	}
#key_legend .spacer-box {width: 20px; background-color:#FFF;}
#key_legend .segment0 {background-color:#FFF;}
#key_legend .segment1 {background-color:#BD0026; color: #FFF}
#key_legend .segment2 {background-color:#FD8D3C;}
#key_legend .segment3 {background-color:#EBE267;}
#key_legend .segment4 {background-color:#FFFF33;}
#key_legend .segment5 {background-color:#AE017E;}
#key_legend .segment6 {background-color:#7A0177;}

#key_legend .segment7 {background-color:#225EA8;}
#key_legend .segment8 {background-color:#253494;}
#key_legend .segment9 {background-color:#081D58;}
#key_legend .segment10 {background-color:#006d2c;}

#header {
	height: 123px;
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        width: calc(100% - 2px);
        width: -webkit-calc(100% - 2px);
        width: -moz-calc(100% - 2px);
        width: -o-calc(100% - 2px);
        width: -ms-calc(100% - 2px);
	border-bottom-color: #CCCCCC;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color-ltr-source: physical;
    border-left-color-rtl-source: physical;
    border-left-color-value: #CCCCCC;
    border-left-style-ltr-source: physical;
    border-left-style-rtl-source: physical;
    border-left-style-value: solid;
    border-left-width-ltr-source: physical;
    border-left-width-rtl-source: physical;
    border-left-width-value: 1px;
    border-right-color-ltr-source: physical;
    border-right-color-rtl-source: physical;
    border-right-color-value: #CCCCCC;
    border-right-style-ltr-source: physical;
    border-right-style-rtl-source: physical;
    border-right-style-value: solid;
    border-right-width-ltr-source: physical;
    border-right-width-rtl-source: physical;
    border-right-width-value: 1px;
    border-top-color: #CCCCCC;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #CCCCCC;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: #CCCCCC;
    border-right-style: solid;
    border-right-width: 1px;
    border-left-color: #CCCCCC;
    border-left-style: solid;
    border-left-width: 1px;
}

#zoombox {
	margin-left: 10px;
        width: 20%;
        float: right;
        font-size: 10px;
}
#go {
    float: right;
    height: 27px;
    border: none;
    background-color: black;
    color: white;
    right: 36px;
    position: relative;
    top: 9px;
    cursor: pointer;

}
#go:hover {
    background-color: red;

}

#footerbar {
    width: auto;
    left: 0;
    right: 0;
    background-color: #EEEEEE;
    border-color: #CCCCCC;
    border-style: solid;
    border-width: 1px;
    border-top-color: #CCCCCC;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: #CCCCCC;
    border-right-style: solid;
    border-right-width: 1px;
    border-left-color: #CCCCCC;
    border-left-style: solid;
    border-left-width: 1px;
		border-bottom-color: #CCCCCC;
	    border-bottom-style: solid;
	    border-bottom-width: 1px;
}
.leaflet-control-attribution,.map-legends {
    display: none;

}
.mobileoverlay {
    display: none;
    z-index: 30;


}
#greyout {
    height: 100%;
    width: 100%;
    display: none;
    background-color: black;
    opacity: 0.2;
    top: 0;
    left: 0;
    position: absolute;

}
#mobilebutton {
    top: 200px;
    left: 25%;
    width: 80%;
    position: absolute;

}
#desktopbutton {
    top: 400px;
    left: 25%;
    width: 80%;
    position: absolute;
}
#desktopbutton img, #mobilebutton img {
    width: 60%;

}
.leaflet-control a {
    text-decoration: none;

}
