./* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.head {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 28px;

}
ol {
    padding:0;
}
    
.thelist {
    margin: 0;
    list-style: none;
    list-style-position: outside;
    display: inline-block;
}
.thelist li {
    counter-increment: step-counter;
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.5em;
    padding-bottom: 1em;
}
.thelist li::before {
    content: counter(step-counter);
    margin-right:1em;
    width: 1.5em;
    font-family: "Montserrat",sans-serif;
    line-height: 1.5em;
    border-radius: 50%;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    color: #ffffff;
    background: #202020;
    display: inline-block;
}
.imageright{
    width:5em;
    float:right;
}
.imagerightwider{
    width:8em;
    float:right;
        margin: 1em;
}

.imagecentre{
    margin-left: auto;
    margin-right: auto;
    width:8em;
    display: block;
}
.imageleft{
    height:5em;
    float:left;
    margin: 1em;
}
.imageleftwider{
    height:8em;
    float:left;
    margin: 1em;
}
a:link, a:visited {
    color:#202020;
}

.logo {
    margin-left: auto;
    margin-right: auto;
    width:3em;
    display: block;
}
p {
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    margin-top: 12px;
    margin-bottom: 12px;
}
.credit {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color:#afb2ba;
    text-align: right;
}

.number{
    margin-right:12px;
    width: 24px;
    font-family: "Montserrat",sans-serif;
    line-height: 24px;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background: #202020;
    display: inline-block;
}
td {
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 1em;
}

.legend {
    display: flex;
    margin-bottom: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    line-height: 24px;
    opacity: 0.7;
}

.legendblock{
    width:17%;
    height:24px;
    font-family: "Montserrat", sans-serif;
    text-align: center;
}

.legendtext{
    padding-left: 5%;
    padding-right: 5%;
}

.tenpercent
{
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-size: 16px;
    margin-left: 15%;
    font-weight: bold;
}

.twentypercent
{
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-size: 16px;
    margin-left: 12%;
    font-weight: bold;
}

@media screen and (max-width: 480px) {
  legendblock {
    font-size:12px;
    line-height: 18px;  
  }
}

.legendleft{
    width:16.6%;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.legendright{
    width:16.6%;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.legend50{
    background-color: #990000;
    color: white;
}
.legend40{
    background-color: #d8352a;
    color: white;
}
.legend30{
    background-color: #e37169;
    color: white;
}
.legend20{
    background-color: #ecc3c0;
    color: #202020
}
.legend10{
    background-color: #b1b4da;
    color: #202020;
}
.legend0{
    background-color: #49509e;
    color: white;
}

.twentyfiveplus{
    color:#202020;
    font-weight: bold;
}

.twentyplus{
    color:#990000;
    font-weight: bold;
}
.seventeenplus{
    color:#d8352a;
    font-weight: bold;
}
.thirteenplus{
    color:#e37169;
    font-weight: bold;
}
.eightplus{
    color:#ecc3c0;
    font-weight: bold;
}
.fourplus{
    color:#b1b4da;
    font-weight: bold;
}
.zeroplus{
    color:#49509e;
    font-weight: bold;
}
.justzero {
    color:#202020;
    font-weight: bold;
}

.mapboxgl-popup {
max-width: 400px;
font-size: 16px;    
line-height: 24px;    
font-family: "Montserrat", sans-serif;
color: #202020;
text-align: center;    
}

@media all and (max-width: 500px) {
    .legend50, .legend40, .legend30, .legend20, .legend10, .legend0 {
        font-size: 14px;
    }
}