/*#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;
}

#headerimg {
	position: relative;
	top: -1px;
}

#headertitle {
	margin: 0px;
	padding: 0px;
        margin-left: 20px;
}

#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;
    }

#mapbox_map, #map_canvas, #map {
	width:auto;
	position:absolute;
	top:154px;
        bottom: 22px;
	left:0;
	right:0;
	border-top: none;
	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-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 {
	min-height: 145px;
    height: 150px;
    width: auto;
   
        position: absolute;
        top: 0;
        left: 0;
        right: 2px;
    border-bottom: none;
    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 {
    float: left;
    width: 130px;
    margin-top: 6px;
    position: relative;
    bottom: 1px;
}
#zoombutton {
    float: left;
    padding-top: 6px;
    position: relative;
    bottom: 1px;

}

#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;
}


#legend {
    font-size: 13px;
    overflow: hidden;
    min-height: 50px;
    color: #fff;
    background-color: #999;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 0 10px 10px 10px;
}
	#legend img {
	    margin: 0 5px 0 0;
	}
	#legend-left {
	    float: left;
	    height: 50px;
	}
		#legend-left div div {
		    float: left;
			margin: 22px 20px 0 0;
			position: relative;
		}
		#legend-left img {
		    position: relative;
		}
		
#legend > #legend-right {
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #f60;
    float: right;
    position: absolute;
    box-sizing: border-box;
	padding: 11px 15px 0 15px;
    cursor: pointer;
}
#legend-toggle {
	text-align: center;
}
	#legend-toggle:hover, #legend-right:hover {
		text-decoration: underline;
	}
#sightings-legend strong {
	font-weight: 700;
}
#swarm {
    position: relative;
    top: -13px;
}
#swarm img {
    position: relative;
    top: 8px;
}
#onlyheard {
    width: 105px;
}

#temp-legend {
    display: none;
}
#temp-legend div {
	position: relative;
	top: -7px;
}
#temp-legend div img {
	position: relative;
	top: 5px;
}



#header {
    padding-bottom: 0px;
}
#search {
    float: right;
    margin-right: 13px;
}

#tooltip,#crowdtip {
    display: none;
    width: 400px;
    height: 450px;
    font-size: 14px;
    position: absolute;
    top: 150px;
    left: 100px;
    z-index: 500;
    color: #333;
    border: solid 2px rgba(0,0,0,0.1);
    overflow: hidden;

}
#crowdtip {
    height: 480px;

}
#crowdname {
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
}
#display_address {
    font-size: 14px;
    text-transform: lowercase;
}
#crowddate, #crowdinches {
    padding-left: 20px;

}
#crowdimg {
    padding-left: 20px;
    padding-top: 20px;

}
#name {
    text-transform: lowercase;
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
}
#time {
    padding-left: 20px;
}
#snowfall {
    padding-left: 20px;

}
#highchart {
    width: 380px;
    height: 335px;
    position: absolute;
    bottom: 1px;
    left: 10px;
    background-color: white;

}
#tooltip-content,#crowdtip-content {
    width: 400px;
    height: 450px;
    background-color: white;
}
#crowdtip-content {
    height: 480px;

}


.label {
    color: #999;
    clear: both;
    float: left;
    margin-bottom: 10px;
    font-size: 14px;
}
.fooditem {
    font-size: 14px;
    width: 105px;
    height: 15px;
    float: left;
    clear: both;
    margin-bottom: 5px;
    padding: 10px;
    
}
.Yes {
    background-color: #00cc33;
    color: #eee;
}
.No,.Unsure {
    color: white;
    background-color: #eee;

}

body {
    font-family: 'Lato', Arial, sans-serif;

}
.imgholder {
    float: left;
    width: 150px;
    height: 150px;
}
.imgholder img {
    display: none;

}

.marker-image {

}

#headertitle {
}
#headertext {
    padding-left: 0;
}
.text {
    margin-top: 13px;
    font-size: 11px;
    color: white;

}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;

}
.popupbox {
    z-index: 1000;

}
.map-attribution {
    display: none;

}





#crowdimg {
    max-width: 300px;
    max-height: 300px;

}

.wnycpin {
    margin-left: -10px;
    margin-top: -10px;
    position: absolute;
    pointer-events: all;
}

.audiencepin {
    margin-left: -5px;
    margin-top: -5px;
    position: absolute;
    pointer-events: all;

}
.sightingpin {
    margin-left: -9px;
    margin-top: -7px;
    position: absolute;
    pointer-events: all;
}

.sightingswarm {
    margin-left: -11px;
    margin-top: -11px;
    position: absolute;
    pointer-events: all;
}


.audience-tooltip {
    height: 130px;
     width: 220px;
     z-index: 100;
}
.sighting {
    height: 180px;

}
.noaa {
    height: 170px;
}
.wnyc-bottom {
    margin: auto;
    width: 375px;
    height: 60px;
}
.wnyc-top {
    height: 240px;
    width: 400px;
}
#wnyc-tooltip {
    height: 300px;
    width: 400px;
    background-color: white;
    position: absolute;
    top: 20%;
    left: 30%;

}
#chart-canvas {
    width: 100%;
    height: 240px;

}
.tooltip-topper {
    height: 20px;
    width: 100%;

}
.tooltip-location {
    text-transform: uppercase;
    font-size: 12px;
    float: left;
    clear: both;
    font-weight: 900;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 10px;
}
.tooltip-seen, .tooltip-heard
{
    font-size: 20px;
    font-weight: 700;
    float: left;
    margin-left: 10px;
    margin-top: 5px;
}
.tooltip-heard {
    margin-bottom: 15px;

}

.tooltip-date {
    float: left;
    clear: left;
    margin-top: 10px;
    font-size: 13px;
    margin-left: 10px;

}
.tooltip-noaa {
    font-size: 11px;
    float: left;
    color: #333;
    margin-top: 10px;
    margin-left: 10px;
    width: 80%;
}
.tooltip-noaa a {
    color: #333;
    text-decoration: underline;
    

}
.marker-popup {
    padding: 0px;
}

.tooltip-temp {
    width: 60px;
    float :left;
    margin-left: 8px;
    font-size: 36px;
    font-weight: 900;


}
#flyoutclose {
    position: absolute;
    z-index: 25;
    top: 5px;
    right: 5px;
    cursor: pointer;
}
.audience-tooltip #flyoutclose {
    top: 5px;
    right: 5px;

}

.chart-tooltip {
    padding-left: 15px;
 padding-top: 10px;
 padding-right: 15px;
 padding-bottom: 15px;
 font-size: 10px;
 background-color: #333;
 -moz-box-shadow:    3px 3px 2px 0px rgba(0,0,0,.3);
 -webkit-box-shadow: 3px 3px 2px 0px rgba(0,0,0,.3);
 box-shadow:         3px 3px 2px 0px rgba(0,0,0,.3);
 z-index: 50;
}

.theDate {
    padding-top: 7px;
}

.ttbig {
    font-size: 15px;
}
g.highcharts-markers {
    cursor: pointer;
}
.popupbox {
    left: 1px;
    right: 1px;
    bottom: 23px;
}

@media screen and (min-width: 1400px)
{
    #header {
        width: 100%;
        width: calc(100% - 2px);
        width: -webkit-calc(100% - 2px);
        width: -moz-calc(100% - 2px);
    }
}
@media screen and (max-width: 960px)
{
    #header {
        width: auto;

    }
    #map_canvas {
        top: 140px;
    }
    #legend > div {
        position: relative;
        top: -10px;
    }
}

@media screen and (max-width: 910px)
{
    #map_canvas {
        top: 182px;
    }
    #header {
        height: 173px;
    }
    #legend {
        padding-bottom: 15px;
    }
    #legend > div
    {
        top: 0px;
    }

}

@media screen and (max-width: 610px)
{
    #map_canvas {
        top: 192px;
    }
    #header {
        height: 183px;
    }
    #legend {
        padding-bottom: 15px;
    }
}

