body {
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', Helvetica, Arial, Sans-serif;
    color: #333333;
}

h1 {
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.3em;
    color: #333333;
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.highlight {
    border-bottom: 4px solid #f47676;
}

.subtitle {
    font-family: "PT Serif", serif;
    font-style: italic;
    font-size: 13.5px;
}

h2 {
    font-family: "PT", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.1;
    color: #333333;
}

h3 {
    font-family: "PT Sans Narrow", sans-serif;
    font-style: bold;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    color: #333333;
}

p {
    font-size: 13px;
}

a {
    color: #2f8fce;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.mapboxgl-popup {
    max-width: 300px;
}

.mapboxgl-popup h3 {
    margin-top: 0;
    margin-bottom: 0.6em;
}

.mapboxgl-popup p {
    margin-bottom: 0.2em;
    margin-top: 0.3em;
}

.mapboxgl-popup-content {
    font-family: 'PT Sans', sans-serif;
    padding: 15px;
}

.summary {
    font-family: "PT Serif", serif;
    font-size: 13.5px;
    margin-top: 0.1em !important;
    margin-bottom: 0.7em !important;
}

.citation {
    font-size: 12px;
    line-height: normal;
}

.mapboxgl-popup i {
    margin: 3px;
    font-size: 14px;
}

.popup-icon {
    width: 14px;
    height: 14px;
    vertical-align: text-bottom;
}

#map {
    position: relative;
    width: 100%;
    height: 800px;
}

#console {
    position: absolute;
    width: 350px;
    margin: 10px;
    padding: 10px 20px;
    padding-right: 35px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 5px;
    z-index: 5;
}

.session {
    margin-bottom: 15px;
    display: inline-block;
}

.last {
    width: 100%;
    margin-bottom: 0;
}

.column {
    flex: 50%;
}

.row {
    display: flex;
    width: 100%;
}

#studies {
    font-weight: 700;
}

.marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}

/* styling for drought icon */
.marker-icon {
    width: 17px;
    height: 17px;
    vertical-align: text-top;
    margin-top: 3.5px;
}

.key-icon {
    margin-top: 1px;
    width: 12px;
    height: 12px;
    vertical-align: text-top;
}

.human {
    background-color: rgba(244, 118, 118, 0.9);
}

.natural {
    background-color: rgba(98, 184, 221, 0.9);
}

.unsure {
    background-color: rgba(153, 153, 153, 0.9);
}

.marker i {
    color: white;             
    margin-top: 7px;
    font-size: 15px;
}

/* style the key  */

.colour-key {
    width: 12px;
    height: 12px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    display: inline-block;
    margin-right: 3px;
    vertical-align: -10%;
}

ul {
    list-style-type: none;
}

.list-group {
    padding: 0px;
}

.impacts {
    display: inline-block;
}

.controls {
    margin-top: 0.5em;
}

.controls button {
    float: left;
    margin-right: 0.7em;
}

button {
    display: inline-block;
    border: none;
    padding: 2px 5px;
    border-radius: 8px;
    margin: 0;
    text-decoration: none;
    background: #7e7e7e;
    color: #ffffff;
    font-family: PT Sans;
    font-size: 12.5px;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out, 
                transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}

button:hover,
button:focus {
    background: #333333;
    outline:0;
}

li {
    font-size: 12.5px;
    float: left;
    margin-right: 0.7em;
    margin-bottom: 0.5em;
    background-color: #e7e7e7;
    border-radius: 8px;
    padding: 2px 5px;
    cursor: pointer;
}

.list-group-item:hover {
    opacity: 0.6;
}

.unselected {
    opacity: 0.3;
}

.unselected:hover {
    opacity: 0.6;
}

.impact i {
    margin-right: 3px;
}

.list-tooltip {
    display: inline-block;
    margin: 0;
}

.list-tooltip li {
    background-color: white;
    margin-bottom: 0em;
    cursor: pointer;
}

/* style the dropdown */

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(https://s3-eu-west-1.amazonaws.com/cbbranding/new+folder/arrow-for-map.png) 96% / 15% no-repeat #e7e7e7;
    background-size: 20px 13px;
    border:2px;
    padding: 4px;
    color: #333333;
    outline:0px;
}

.selector {
    width: 120px;
    border-radius: 4px;
}

/* arrow toggle */

#console-toggle {
    right: 0px;
    top: 0px;
    padding: 10px;
    position: absolute;
    z-index: 99999999;
    width: 12px;
    height: 12px;
    display: block;
}

.toggle {
    color: #7e7e7e;
    text-decoration: none;
    text-align: right;
}

.toggle:hover {
    color: #333333;
    text-decoration: none;
}

.arrow-right-hidden {
    display: none;
}

.arrow-left {
    display: inline;
}

.arrow-left-hidden {
    display: none;
}

.arrow-right {
    display: inline;
}

.console-close {
    transform: translateX(calc(-100% + 25px));
    -ms-transform: translateX(calc(-100% + 25px));
    -webkit-transform: translateX(calc(-100% + 25px));
    transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    transition-property: transform;
    -webkit-transition-property: transform;
    -moz-transition-property: transform;
}

.console-open {
    transform: translateX(0px);
    -ms-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transition-duration: 0.8s;
    -webkit-transition-duration: 0.8s;
    transition-property: transform;
    -webkit-transition-property: transform;
    -moz-transition-property: transform;
}

/* style logo */

#logo {
    position: absolute;
    bottom: 18px;
    right: 3px;
    z-index: 9000;
    height: 45px;
    width: 110px;
    background-image:url(../img/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    visibility: visible;
    opacity: 0.5;
}