body {
    font-family: 'Helvetica Neue',Helvetica,sans-serif;
    font-weight: 300;
    text-rendering: optimizeLegibility;
    color:#eee;
}
#legend {
    position:absolute;
    bottom:20px;
    right:20px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
	border:1px solid #FFF;
    background: #000;
    padding:10px;
}
.legend-title {
    float:center;
    bottom:10px;
    text-align: center;
    margin-bottom: 8px;
    font-size: 90%;
}
.legend-scale ul {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    padding-left:6px;
    padding-right:6px;
}
.legend-scale ul li {
    display: block;
    float: left;
    
    width: 30px;
    text-align: center;
    margin: 6px 0;
    margin-bottom:-2px;
    font-size: 80%;
    list-style: none;
}

ul.legend-labels li span {
    border:1px #ccc solid;
    display: block;
    float: left;
    height: 15px;
    width: 30px;
}
body {
    margin: 0;
    padding: 0;
    color: #333;
    font-weight:300;
    font: normal 14px/20px 'Helvetica Neue', Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #888;
}
h1,h2 {
    margin: 10px 0;
    font-weight: 200;
}
p {
    font-weight: 300;
    margin-bottom: 10px;
}
a {
    color: #333;
    font-weight: 500;
}
.learn-more a {
    text-transform: uppercase;
    font-size: 12px
}
.learn-more {
    position: relative;
    margin-left: 0px;
    margin-bottom: 4px;
    display: block;
}
a {
    text-decoration: none;
    cursor:pointer;
}
#map {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}


.animate-layer {
    transition: opacity 50ms linear;

}
#dates {
    position: relative;
    z-index:9999;
    
    transition:background 500ms, color 500ms;
    -moz-transition:background 500ms, color 500ms;
    -webkit-transition:background 500ms, color 500ms;
}

a.date {
    text-decoration: none;
    
    color: #white;
    float: right;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
    margin-top:9px;
    
    display:none;
}

a.date.active {
    background: #000;
    vertical-align: top;
    color: rgb(255,255,255);
    font-weight: 300;
    font-size: 30px;
    border-bottom: 0px;
    border-top: 0px;
    display: block;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    pointer-events:none;
}

.ctrls {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}
.ctrl {
    display: inline-block;
    width: 110px;
    height: 35px;
    float: left;
    font-weight: 400;
    text-decoration: none;
    color: #FFF;
    text-align: center;
    line-height: 35px;
    margin: 0;
    box-sizing: border-box;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin: 2px;
}



.ctrl:hover {
    border:1px #eee solid;
    
}


.close { display:none;}
.open { display:inline-block;}

.desc { 
    width:100%;
    text-align:center;
    clear:both;
	color:#999;
    display:block;
    font-size:13px;
}
#legend{min-width:320px;}

*-----------------------------------
Mobile
-------------------------------------*/
@media only screen and (max-width:700px) {
    .ctrls {width:auto;}
    .ctrl { max-width:30px;}
    #map-ui {
        width: 100%;
        left: 0;
        top: 60px;
        margin-left: 0;
        position: fixed;
    }
    #legend{min-width:200px;width:auto;}

}


@media only screen and (max-width:690px) {
    body {
        font-size: 80%;
    }
    h1 {font-size:20px;font-weight: 300;}
    .ctrl { width:50px;}
    .legend-scale ul li, .legend-scale ul li span {width:20px;}
        #legend{min-width:200px;width:auto;}

}