@font-face
    {
    font-family: 'noto_sansregular';
    font-style: normal;
    font-weight: normal;
    src: url('f/notosans-regular-webfont.woff2') format('woff2'),
         url('f/notosans-regular-webfont.woff') format('woff');
    }

@font-face
    {
    font-family: 'alegreya_sansmedium';
    font-style: normal;
    font-weight: normal;
    src: url('f/alegreyasans-medium-webfont.woff2') format('woff2'),
         url('f/alegreyasans-medium-webfont.woff') format('woff');
    }

html, body, #map
    {
    color: #202020;
    font: 14px 'noto_sansregular', sans-serif;
    height: 100%;
    line-height: 1.5;
    }

body
    {
    hyphens: auto;
    margin: 0;
    padding: 0;
    user-select: none;
    }

input[type=button]
    {
    font-family: 'noto_sansregular';
    }

a:link, a:visited, a:hover, a:active
    {
    color: #0b69b0;
    }

hr
    {
    background-color: #d0d0d0;
    border-width: 0;
    color: #d0d0d0;
    height: 2px;
    }

h4
    {
    margin-bottom: 10px;
    margin-top: 15px;
    }

fieldset
    {
    max-height: 450px;
    overflow: auto;
    }

dialog
    {
    user-select: none;
    outline: none;
    }

dialog::backdrop
    {
    background-color: #202020a0;
    }

#location_dialog
    {
    border: 0;
    border-radius: 1em;
    color: #202020;
    padding: 2em;
    max-width: 50ch;
    }

/* change some leaflet defaults */

.sidebarInner
    {
    height: 100%;
    margin: 0 auto;
    max-width: 500px;
    }

.leaflet-sidebar-pane
    {
    height: 100%;
    }

.leaflet-sidebar-tabs
    {
    background-color: #f0f0f0;
    height: 120px;
    }

.leaflet-sidebar-header
    {
    background-color: #72a87040;
    border: 0 solid pink;
    border-bottom: 2px solid #00000040;
    font: 37px 'alegreya_sansmedium', sans-serif;
    }

.leaflet-control-layers.leaflet-control
    {
    background-color: #f0f0f0;
    border-radius: 0;
    border: 0px solid pink;
    margin: 0;
    }

.leaflet-control-attribution.leaflet-control
    {
    background-color: #f0f0f0;
    font-size: 11px;
    padding: 0.5em;
    }

.leaflet-popup-content-wrapper
    {
    border-radius: 6px;
    }

.leaflet-popup-content
    {
    margin: 10px;
    margin-top: 3px;
    margin-bottom: 5px;
    text-decoration: none;
    }

.leaflet-popup-content a
    {
    text-decoration: none;
    }

ul.n
    {
    margin-bottom: 0px;
    padding-bottom: 0.75em;
    padding-left: 25px;
    }

ul.n > li
    {
    padding-bottom: 0.75em;
    }

table
    {
    border-collapse: collapse;
    border: 0 solid purple;
    cursor: default;
    font-size: 12px;
    hyphens: none;
    user-select: text;
    width: 100%;
    }

td, th
    {
    border-top: 1px solid #d0d0d0;
    padding: 5px;
    vertical-align: top;
    }

th
    {
    font-weight: bolder;
    }

tr:hover
    {
    background-color: #e0e0e0;
    }

/* tint */

span.t
    {
    color: #606060;
    font-size: smaller;
    }

/* for tables */

caption
    {
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    }

fieldset
    {
    border-radius: 10px;
    border: 2px solid #d0d0d0;
    font-size: 13px;
    margin-top: 17px;
    }

/* for fieldsets */

legend
    {
    font-weight: bolder;
    }

label
    {
    display: inline-block;
    padding: 3px;
    }

input
    {
    accent-color: #0b69b0;
    font-size: 13px;
    }

/* hide system checkbox for toggleable buttons */

input[type='checkbox'].scb
    {
    display: none;
    }

/* style for unselected toggleable button */

input[type='checkbox'].scb + label
    {
    background-color: #f0f0f0;
    border-radius: 6px;
    border: 2px solid #d0d0d0;
    display: inline-block;
    font-size: 11px;
    margin: 2px;
    padding: 3px 3px;
    }

/* style for selected toggleable button */

input[type='checkbox'].scb:checked + label
    {
    border: 2px solid #0b69b0;
    }

.icon
    {
    height: 30px;
    padding: 5px;
    width: 30px;
    }

/* bottom aligned note on the home pane */

#attributionNote
    {
    bottom: 0;
    color: #808080;
    font-size: 12px;
    position: absolute;
    width: 90%;
    text-align: center;
    }

/* topright location status */

#status
    {
    background-color: #f0f0f0;
    color: #404040;
    font-size: 11px;
    padding: 0.5em;
    position: fixed;
    right: 0;
    top: 0;
    user-select: text;
    white-space: nowrap;
    z-index: 999;
    }

/* bottomleft location arrogance */

#arrogance
    {
    bottom: 0;
    color: #404040;
    display: none;
    font-size: 13px;
    font-weight: bold;
    left: 0;
    padding: 5px;
    position: fixed;
    text-shadow: #ffffff 0 0 1px, #ffffff 0 0 2px, #ffffff 0 0 3px, #ffffff 0 0 4px, #ffffff 0 0 5px, #ffffff 0 0 6px, #ffffff 0 0 8px, #ffffff 0 0 10px;
    z-index: 999;
    }

#regionWhichParkHidden
    {
    display: none;
    }

#regionWhichPark:checked ~ #regionWhichParkHidden
    {
    display: block;
    }

#regionWhichHoodHidden
    {
    display: none;
    }

#regionWhichHood:checked ~ #regionWhichHoodHidden
    {
    display: block;
    }

#regionWhichWardHidden
    {
    display: none;
    }

#regionWhichWard:checked ~ #regionWhichWardHidden
    {
    display: block;
    }

#treeWhichSpeciesHidden
    {
    display: none;
    }

#treeWhichSpecies:checked ~ #treeWhichSpeciesHidden
    {
    display: block;
    }

#treeWhichCommonHidden
    {
    display: none;
    }

#treeWhichCommon:checked ~ #treeWhichCommonHidden
    {
    display: block;
    }

#searchBox
    {
    text-align: center;
    }

#queryNote
    {
    font-size: 12px;
    }

#buttSearch
    {
    background-color: #d0d0d0;
    border-radius: 5px;
    border: 2px solid #0b69b0;
    display: inline-block;
    font-size: 13px;
    font-weight: bolder;
    margin: 15px;
    margin-bottom: 25px;
    outline: none;
    padding: 15px 25px;
    }

#buttLocation
    {
    background-color: #d0d0d0;
    border-radius: 5px;
    border: 2px solid #0b69b0;
    display: block;
    font-size: 13px;
    font-weight: bolder;
    margin: 0 auto;
    outline: none;
    padding: 15px 25px;
    }

#resultStatusText
    {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
    text-align: center;
    }

.errormsg
    {
    color: #c00000;
    }

#resultHidden
    {
    display: none;
    }

/* default off, show common instead */

#resultSetSpecies
    {
    display: none;
    }

#resultSetSpecies tr td:nth-child(1)
    {
    text-align: right;
    }

#resultSetSpecies tr td:nth-child(2)
    {
    text-align: right;
    }

#resultSetCommon tr td:nth-child(1)
    {
    text-align: right;
    }

#resultSetCommon tr td:nth-child(2)
    {
    text-align: right;
    }

/* tooltip labels for geojson features */

.wardLabel, .hoodLabel, .parkLabel
    {
    background-color: transparent;
    border: 0;
    box-shadow: none;
    color: #000000e0;
    font-size: 12px;
    font-weight: bolder;
    text-shadow: #ffffff 0 0 2px, #ffffff 0 0 3px, #ffffff 0 0 4px, #ffffff 0 0 6px, #ffffff 0 0 8px, #ffffff 0 0 10px;
    }
