* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    zoom: 1;
}

body {
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

html, body, #map {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
#map {
    height: calc(100% - 64px);
    position: relative;
    z-index: 1;
}
    #map > p {
        margin: 60px 20px 60px 40px;
    }
    #map > p a {
        color: #0074d9;
    }
    #map > p:nth-of-type(1) {
        font-size: 24px;
        font-weight: bold;
    }
@media all and (max-width: 1024px) {
    #map {
        height: 90%;
        margin-right: auto;
        margin-left: auto;
        width: 90%;
    }
        #map > p {
            margin: 60px 20px;
        }
}
@media all and (min-width: 1024px) {
        #map > p:nth-of-type(1) {
            margin-top: 150px;
        }
}


button {
    line-height: 2em;
    padding: 0 20px;
}

#tools {
    display: none;
    padding: 20px;
    min-width: 300px;
    text-align: center;
}
    .has-js #tools {
        display: block;
    }
@media all and (min-width: 1024px) {
    #tools {
        right: 0px;
        position: absolute;
        bottom: 20px;
        z-index: 8;
    }
    #tools {
        background: rgba(255, 255, 255, .75);
        padding-right: 40px;
    }
}
@media all and (max-width: 1024px) {
    #tools {
        padding-top: 0;
    }
}

@media all and (min-width: 1024px) {
    #data-note {
        left: 0px;
        position: absolute;
        bottom: 20px;
        z-index: 8;
		padding-top: 0;
		width:300px;
		background: rgba(255, 255, 255, .75);
        padding-left: 20px;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 10px;
		text-align: left;
    }
}

@media all and (max-width: 1024px) {
    #data-note {
		width:100%;
		margin-top:20px;
		margin-bottom: 40px;
		padding-left:30px;
		padding-right:30px;
		text-align:center;
    }
}
    #masthead h1 {
        font-size: 16px;
        text-align: center;
    }
    #masthead h2 {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 1em;
        text-align: center;
    }

    #species-list,
    #year-list {
        border-radius: 3px;
        border: 1px solid #c5c5c5;
        color: #454545;
        color: #000;
        font-size: 14px;
        font-weight: bold;
        line-height: 24px;
        height: 24px;
        margin: 0 auto 10px;
        padding-right: 8px; /* firefox */
        padding-left: 4px;
    }
    #species-list {
        width: 260px;
    }
    #species-list[disabled],
    #species-list[disabled]:active,
    #species-list[disabled]:focus,
    #species-list[disabled]:hover,
    #year-list[disabled],
    #year-list[disabled]:active,
    #year-list[disabled]:focus,
    #year-list[disabled]:hover {
        color: #999;
    }

    #tools > div {
        padding: 10px 0 10px;
    }
    #no-data {
        opacity: 0;
    }
    #current-interval {
        font-size: 14px;
        height: 22px;
        line-height: 22px;
        margin-bottom: 8px;
        text-align: center;
    }
    .button,
    #play {
        background: #f6f6f6;
        border-radius: 3px;
        border: 1px solid #c5c5c5;
        color: #454545;
        font-weight: normal;
        line-height: 16px;
        margin-left: 5px;
        padding: 0 3px 0 5px;
        position: relative;
        top: -1px;
    }
    #play[disabled],
    #play[disabled]:active,
    #play[disabled]:focus,
    #play[disabled]:hover {
        color: #999;
    }
    #report {
        background: #f6f6f6;
        border-radius: 3px;
        border: 1px solid #c5c5c5;
        color: #454545;
        font-size: 12px;
        font-weight: bold;
        line-height: 16px;
        margin-left: 5px;
        padding: 0 3px 0 3px;
        position: relative;
        top: -1px;
    }
    #report[disabled],
    #report[disabled]:active,
    #report[disabled]:focus,
    #report[disabled]:hover {
        color: #999;
    }
    #link,
    #play {
        background: #f6f6f6;
        border-radius: 3px;
        border: 1px solid #c5c5c5;
        color: #454545;
        font-size: 12px;
        font-weight: bold;
        line-height: 16px;
        margin-left: 5px;
        padding: 0 4px 0 4px;
        position: relative;
        top: -1px;
    }
    #link[disabled],
    #link[disabled]:active,
    #link[disabled]:focus,
    #link[disabled]:hover,
    #play[disabled],
    #play[disabled]:active,
    #play[disabled]:focus,
    #play[disabled]:hover {
        color: #999;
    }
    #tools > #key {
        padding: 20px 14px 0 4px;
        text-align: left;
    }

    #tools a.button {
        color: inherit;
        color: #454545;
        font-size: 12px;
        font-weight: bold;
        line-height: 16px;
        padding: 0 4px 0 4px;
        text-decoration: none;
    }
.key {
    list-style: none;
}
.key li {
    font-size: 14px;
    line-height: 20px;
}
.key li img {
    display: inline-block;
    height: auto;
    margin-right: 2px;
    position: relative;
    top: 1px;
    width: 12px;
}

/* Suppress */

.symbolic-monarch-participants #play,
.symbolic-monarch-received #play ,
.symbolic-monarch-sent #play,
.symbolic-monarch-participants #start-date-slider,
.symbolic-monarch-participants #start-date-slider,
.symbolic-monarch-participants #start-date-slider,
.symbolic-monarch-participants .key,
.symbolic-monarch-received .key ,
.symbolic-monarch-sent .key {
    display: none;
}

/* Map popups */
.leaflet-popup {
    z-index: 9;
}
.leaflet-popup-content p {
    margin-top: 0;
}
.popup-h3 {
    margin-bottom: 0;
}
.popup-link-sighting {
    text-align: right;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #fff;
}
#start-date-slider {
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px;
  border: none;
  box-shadow: inset 0 0 0px 1px rgba(0, 0, 0, 0.18);
  height: 10px; }
#start-date-slider.YlOrRd {
  background: linear-gradient(to right,
    #6b001d 0%,
    #6b001d 4.166666667%,
    #feeb8f 4.166666667%,
    #feeb8f 12.500000001%,
    #fdd264 12.500000001%,
    #fdd264 20.833333335%,
    #fca33c 20.833333335%,
    #fca33c 29.166666669%,
    #fa792e 29.166666669%,
    #fa792e 37.500000003%,
    #f83521 37.500000003%,
    #f83521 45.833333337%,
    #d90017 45.833333337%,
    #d90017 54.166666671%,
    #ad001d 54.166666671%,
    #ad001d 62.500000005%,
    #6b001d 62.500000005%,
    #2c000f 70.833333339%,
    #2c000f 100% );
}
#start-date-slider.SpringFirst {
  background: linear-gradient(to right,
    #F3F0DA 0%,
    #F3F0DA 4.166666667%,
    #feeb8f 4.166666667%,
    #feeb8f 15.6250000003%,
    #fdd264 15.6250000003%,
    #fdd264 27.0833333335%,
    #fca33c 27.0833333335%,
    #fca33c 38.5416666668%,
    #fa792e 38.5416666668%,
    #fa792e 50%,
    #f83521 50%,
    #f83521 61.4583333333%,
    #d90017 72.9166666665%,
    #d90017 84.3749999998%,
    #ad001d 84.3749999998%,
    #ad001d 95.833333333%,
    #2c000f 95.833333333%,
    #2c000f 100% );
}
#start-date-slider.Duration {
  background: linear-gradient(to right,
    #000000 0%,
    #000000 4.166666667%,
    #3B0012 4.166666667%,
    #3B0012 13.3333333336%,
    #800026 13.3333333336%,
    #800026 22.5000000002%,
    #BD0026 22.5000000002%,
    #BD0026 31.6666666668%,
    #E31A1C 31.6666666668%,
    #E31A1C 40.8333333334%,
    #FC4E2A 40.8333333334%,
    #FC4E2A 50%,
    #FD8D3C 50%,
    #FD8D3C 59.1666666666%,
    #FEB24C 59.1666666666%,
    #FEB24C 68.3333333332%,
    #FED976 68.3333333332%,
    #FED976 77.4999999998%,
    #FFEDA0 77.4999999998%,
    #FFEDA0 86.6666666664%,
    #FFFFCC 86.6666666664%,
    #FFFFCC 95.833333333%,
    #FFFFFF 95.833333333%,
    #FFFFFF 100% );
}
#start-date-slider.YlOrRdWeekly {
  background: linear-gradient(to right,
    #feeb8f 0%,
    #feeb8f 4.166666667%,
    #fdd264 4.166666667%,
    #fdd264 17.2619047621%,
    #fca33c 17.2619047621%,
    #fca33c 30.3571428573%,
    #fa792e 30.3571428573%,
    #fa792e 43.4523809524%,
    #f83521 43.4523809524%,
    #f83521 56.5476190476%,
    #d90017 56.5476190476%,
    #d90017 69.6428571427%,
    #ad001d 69.6428571427%,
    #ad001d 82.7380952379%,
    #6b001d 82.7380952379%,
    #6b001d 95.833333333%,
    #2c000f 95.833333333%,
    #2c000f 100% );
}
#start-date-slider.Br {
  background: linear-gradient(to right,
    #662506 0%,
    #662506 4.166666667%,
    #662506 4.166666667%,
    #662506 17.2619047621%,
    #662506 17.2619047621%,
    #662506 30.3571428573%,
    #662506 30.3571428573%,
    #662506 43.4523809524%,
    #662506 43.4523809524%,
    #662506 56.5476190476%,
    #662506 56.5476190476%,
    #662506 69.6428571427%,
    #662506 69.6428571427%,
    #662506 82.7380952379%,
    #662506 82.7380952379%,
    #662506 95.833333333%,
    #662506 95.833333333%,
    #662506 100% );
}
#start-date-slider.Rd {
  background: linear-gradient(to right,
    #E9595D 0%,
    #E9595D 4.166666667%,
    #FC484D 4.166666667%,
    #FC484D 17.2619047621%,
    #FC3131 17.2619047621%,
    #FC3131 30.3571428573%,
    #FF0000 30.3571428573%,
    #FF0000 43.4523809524%,
    #DE0006 43.4523809524%,
    #DE0006 56.5476190476%,
    #BD0304 56.5476190476%,
    #BD0304 69.6428571427%,
    #A50503 69.6428571427%,
    #A50503 82.7380952379%,
    #8E0703 82.7380952379%,
    #8E0703 95.833333333%,
    #790502 95.833333333%,
    #790502 100% );
}
#start-date-slider.YlGnBuRev {
  background: linear-gradient(to right,
    #edf8b1 0%,
    #edf8b1 20%,
    #a1cf90 20%,
    #a1cf90 40%,
    #7fcdbb 40%,
    #7fcdbb 60%,
    #41b6c4 60%,
    #41b6c4 80%,
    #1d91c0 80%,
    #1d91c0 100% );
}
#start-date-slider.YlGnBu {
    /*#ffffcc 0%,
    #ffffcc 14.285714286%,
    #C7E9B4 14.285714286%,
    #C7E9B4 28.571428572%,
    #a1cf90 28.571428572%,
    #a1cf90 42.857142858%,
    #7fcdbb 42.857142858%,
    #7fcdbb 57.142857144%,
    #41b6c4 57.142857144%,
    #41b6c4 71.42857143%,
    #2c7fb8 71.42857143%,
    #2c7fb8 85.714285716%,
    #253494 85.714285716%,
    #253494 100% );*/
  background: linear-gradient(to right,
    #ffffcc 0%,
    #ffffcc 14.285714286%,
    #a1cf90 14.285714286%,
    #a1cf90 28.571428572%,
    #7fcdbb 28.571428572%,
    #7fcdbb 42.857142858%,
    #41b6c4 42.857142858%,
    #41b6c4 57.142857144%,
    #2c7fb8 57.142857144%,
    #2c7fb8 71.42857143%,
    #253494 71.42857143%,
    #253494 85.714285716%,
    #253494 85.714285716%,
    #253494 100% );
}
#start-date-slider.YlGn {
  background: linear-gradient(to right,
    #ABDB91 0%,
    #ABDB91 4.166666667%,
    #76C678 4.166666667%,
    #76C678 17.2619047621%,
    #6CB76F 17.2619047621%,
    #6CB76F 30.3571428573%,
    #42AA5F 30.3571428573%,
    #42AA5F 43.4523809524%,
    #3A9856 43.4523809524%,
    #3A9856 56.5476190476%,
    #238343 56.5476190476%,
    #238343 69.6428571427%,
    #016737 69.6428571427%,
    #016737 82.7380952379%,
    #094C2D 82.7380952379%,
    #094C2D 95.833333333%,
    #073C24 95.833333333%,
    #073C24 100% );
    /*#ffffe5 0%,
    #ffffe5 4.166666667%,
    #f7fcb9 4.166666667%,
    #f7fcb9 17.2619047621%,
    #d9f0a3 17.2619047621%,
    #d9f0a3 30.3571428573%,
    #addd8e 30.3571428573%,
    #addd8e 43.4523809524%,
    #78c679 43.4523809524%,
    #78c679 56.5476190476%,
    #41ab5d 56.5476190476%,
    #41ab5d 69.6428571427%,
    #238443 69.6428571427%,
    #238443 82.7380952379%,
    #006837 82.7380952379%,
    #006837 95.833333333%,
    #004529 95.833333333%,
    #004529 100% );*/
    /*#ffffe5 0%,
    #ffffe5 11.111111111%,
    #f7fcb9 11.111111111%,
    #f7fcb9 22.222222222%,
    #d9f0a3 22.222222222%,
    #d9f0a3 33.333333333%,
    #addd8e 33.333333333%,
    #addd8e 44.444444444%,
    #78c679 44.444444444%,
    #78c679 55.555555555%,
    #41ab5d 55.555555555%,
    #41ab5d 66.666666666%,
    #238443 66.666666666%,
    #238443 77.777777777%,
    #006837 77.777777777%,
    #006837 88.888888888%,
    #004529 88.888888888%,
    #004529 100% );*/
}

#start-date-slider.YlOrBr {
  background: linear-gradient(to right,
    #ffffe5 0%,
    #ffffe5 11.111111111%,
    #fff7bc 11.111111111%,
    #fff7bc 22.222222222%,
    #fee391 22.222222222%,
    #fee391 33.333333333%,
    #fec44f 33.333333333%,
    #fec44f 44.444444444%,
    #fe9929 44.444444444%,
    #fe9929 55.555555555%,
    #ec7014 55.555555555%,
    #ec7014 66.666666666%,
    #cc4c02 66.666666666%,
    #cc4c02 77.777777777%,
    #993404 77.777777777%,
    #993404 88.888888888%,
    #662506 88.888888888%,
    #662506 100% );
}

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
    opacity: 1;
    filter:Alpha(Opacity=100); /* support: IE8 */
    background-image: none;
}
.ui-state-disabled .ui-icon {
    filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
}

.ui-widget {
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
    line-height: 18px;
}
.ui-widget input[type='text'] {
    font-size: 14px;
    line-height: 20px;
    margin-top: 10px;
    width: 100%;
}

.YlOrRd .ui-slider-pips [class*=ui-slider-pip-selected],
.YlOrRd .ui-slider-pips [class*=ui-slider-pip-selected] .ui-slider-label {
    color: #2c000f;
}
.YlGnBu .ui-slider-pips [class*=ui-slider-pip-selected],
.YlOrRd .ui-slider-pips [class*=ui-slider-pip-selected] .ui-slider-label {
    color: #253494;
}
.YlGn .ui-slider-pips [class*=ui-slider-pip-selected],
.YlOrRd .ui-slider-pips [class*=ui-slider-pip-selected] .ui-slider-label {
    color: #004529;
}
.YlOrBr .ui-slider-pips [class*=ui-slider-pip-selected],
.YlOrRd .ui-slider-pips [class*=ui-slider-pip-selected] .ui-slider-label {
    color: #662506;
}