body {
    padding: 0;
    margin: 0;
}
html, body, #map {
    height: 100%;
    font: 9pt 'Montserrat', sans-serif;
    /*font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;*/
}

span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

p {
    margin-bottom: -4em;  
    margin-top: -4em;
    font-size: 12.5px
}

#navbox h5  {
    font-weight: regular;
    font-size: 20px;
    margin-bottom: 19px;
    margin-top: 12px;
    line-height: 23px
}

/*h5 {
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 3px;
}*/

table{
    border: none;
    border-collapse: collapse;
    width: 215px; 
}

td {
    border: none;
    padding: -1px;
}

.leaflet-popup-content-wrapper {
    background: #ffffff !important;
    box-shadow: 0 7px px rgba(0,0,0,1) !important;
    border-radius: 7px !important;
    width: 265px !important;
    border: 3px solid #00679d !important; 
    
}

.leaflet-popup-tip {
    background: #00679d !important;
    /*box-shadow: 0 5px 18px rgba(0,0,0,2) !important;*/
    
}

.leaflet-container a.leaflet-popup-close-button {
    color: #e55925 !important;
    right: 4px!important;
    top: 3px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: #202f49 !important;
}

/*When adding CDs, reset .infobox height to 600px*/

.infobox {
	width: 325px;
    height: 470px;
	position: fixed;
	z-index: -1;
	bottom: 40px;
	left: 60px;
	background: #F5F5F5;
	overflow-x: hidden;
	padding: 5px 5px 5px;
	opacity: 1;
    border-radius: 7px;
    border: 5px solid #00679d;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.textbox {
	width: 304px;
    height: 450px;
	position: fixed;
	z-index: -1;
	background: #F5F5F5;
	/*overflow-x: hidden;*/
	padding:  10px;
	opacity: 1;
}

/*When adding CDs, reset .legendbox bottom to 50px, height to 160px*/

/*.legendbox {
	width: 304px;
    height: 150px;
	position: fixed;
	z-index: -1;
	background: #F5F5F5;
	overflow-x: hidden;
	padding:  10px;
	opacity: 1;
    bottom: 50px;
}*/

.closeX {
    color: #e55925;
    font: 17px/20px 'Montserrat', sans-serif;
    font-weight: bold;
    right: 8px;
    cursor: pointer;
}

.closeX:hover {
    color: #202f49;
}

.btn-group-vertical {
    bottom: 30px;
    right: 40px;
    position: fixed; 
    
}

#btnStates {
    background-color: #7ed3f6; 
    border: 4px solid #00679d !important;
    color: white; 
    font: 15px/20px 'Montserrat', sans-serif !important;
    font-weight: bold !important;
    padding: 5px 5px;
    margin-bottom: 12px;
    cursor: pointer; 
    width: 160px !important; 
    height: 50px !important;
    text-align: center !important;
    vertical-align: center !important;
    display: inline-block !important;
    border-radius: 7px !important;
    box-shadow: 0 7px 12px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

#btnCongDist {
    background-color: #7ed3f6; 
    border: 4px solid #00679d !important;
    color: white; 
    font: 15px/20px 'Montserrat', sans-serif !important;
    font-weight: bold !important;
    padding: 5px 5px;
    margin-bottom: 12px;
    cursor: pointer; 
    width: 160px !important; 
    height: 50px !important;
    text-align: center !important;
    vertical-align: center !important;
    display: inline-block !important;
    border-radius: 7px !important;
    box-shadow: 0 7px 12px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

#btnStates.pressed {
    background-color: #ffffff; 
    color: #202f49;
    opacity: 1;

}

#btnCongDist.pressed {
    background-color: #ffffff; 
    color: #202f49;
    opacity: 1;

}

#btnStates:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

#btnCongDist:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.logo {
	position: fixed;
	z-index: -1;
	top: 30px;
	right: 40px;
}

.my-legend .legend-title {
    text-align: left;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 20px;
}

.my-legend .legend-scale ul {
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    float: left;
    list-style: none;
}

.my-legend .legend-scale ul li {
    font-size: 12.5px;
    list-style: none;
    margin-left: 0;
    line-height: 18px;
    margin-bottom: 10px;
}

.my-legend ul.legend-labels li span {
    display: block;
    float: left;
    height: 22px;
    width: 42px;
    margin-right: 10px;
    margin-left: 0;
    border: 1.5px solid #202f49;
    opacity: .5;

    border-radius: 5px;
}

.my-legend .legend-source {
    font-size: 70%;
    color: #000000;
    clear: both;
}
  
.my-legend a {
    color: #000000;
}

.filterBox {
	width: 200px;
    height: 200px;
	position: fixed;
	z-index: -1;
	bottom: 200px;
	right: 40px;
	background: #F5F5F5;
	overflow-x: hidden;
	padding: 5px 5px 5px;
	opacity: 1;
    border-radius: 7px;
    border: 5px solid #00679d;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}