body {
    padding: 20px 50px 20px 50px;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Playfair Display', serif;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    color: black;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}
h2 {
    font-size: 16px;
}
a:visited {
    color: black;
}
p {
    font-size: 16px;
    line-height: 24px;
}
.site-title {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
}
.site-title a {
    text-decoration: none;
    color: black;
}
.site-title a:visited {
    color: black;
}
.site-title a:hover,
.site-title a:focus,
.site-title a:active {
    color: #06973b;
}
/*ul.attribution {
    list-style: none;
    padding-left: 16px;
    padding-right: 16px;
}*/
#header {
    float: left;
}
#social {
    float: right;
    padding-top: 12px;
}
#intro {
    clear: both;
}
#map-container {
    width: 100%;
    box-sizing: border-box;
}
#map {
    height: 500px;
    width: 100%;
    border: 1px solid #ccc;
    max-width: 1200px;
    box-styling: border-box;
}
.mapboxgl-popup-content {
    max-width: 240px;
}
.mapboxgl-ctrl-compass {
    display: none !important;
}
.mapboxgl-ctrl-geocoder input[type='text'] {
    font-family: 'Montserrat', sans-serif !important;
}
.mapboxgl-ctrl-geocoder .suggestions {
    font-family: 'Montserrat', sans-serif !important;
}
.select2-container .select2-choice {
    display: block!important;
    height: 35px!important;
    white-space: nowrap!important;
    line-height: 35px!important;
}
.select2-chosen {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}
.select2-result-label {
    font-size: 12px;
}
.select2-container .select2-choice abbr {
    top: 12px;
}
.legend {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin-right: 8px;
}
.legend.popup {
    height: 9px;
    width: 9px;
    margin-right: 5px;
}
.select2-chosen .legend {
    position: relative;
    top: 2px;
}
.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--twitter {
  background-color: #55acee
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9
}

.resp-sharing-button--pinterest {
  background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615
}

.resp-sharing-button--facebook {
  background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373
}

.resp-sharing-button--tumblr {
  background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c
}

.resp-sharing-button--reddit {
  background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1
}

.resp-sharing-button--google {
  background-color: #dd4b39
}

.resp-sharing-button--google:hover {
  background-color: #c23321
}

.resp-sharing-button--linkedin {
  background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293
}

.resp-sharing-button--email {
  background-color: #777
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e
}

.resp-sharing-button--xing {
  background-color: #1a7576
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c
}

.resp-sharing-button--whatsapp {
  background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851
}

.resp-sharing-button--hackernews {
background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
  background-color: #507299
}

.resp-sharing-button--vk:hover {
  background-color: #43648c
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

#backgrounds {
    background: #fff;
    position: absolute;
    z-index: 1000;
    bottom: 10px;
    left: 10px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.4);
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}
#backgrounds .background {
    color: black !important;
    font-size: 12px;
    margin: 0;
    padding: 10px;
    text-decoration: none;
    border-right: 1px solid rgba(0,0,0,0.25);
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
}
#backgrounds .background:last-child {
    border: none;
}
#backgrounds .background:hover {
    background-color: #f8f8f8;
    color: #404040;
}
#backgrounds .background.active {
    background-color: #3887be;
    color: #ffffff;
}
#backgrounds .background.active:hover {
    background: #3074a4;
}
@media (max-width: 800px) {
    body {
        padding: 20px 10px 20px 10px;
    }
    #map-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    #map {
        height: 500px;
    }
    .site-title {
        font-size: 22px;
        font-weight: normal;
        margin-top: 0;
    }
    #header {
        margin-bottom: 0;
    }
    #social {
        display: none;
    }
/*    ul.attribution {
        padding-left: 0;
        padding-right: 0;
    }*/
    .mapboxgl-ctrl-geocoder {
      display: none;
  }
}

