/* main_min_css.css */

@font-face {
  font-family: thesans_light;
  src: url(../webfonts/the-sans/thesans_b_300_eot.eot);
  src: url(../webfonts/the-sans/thesans_b_300_eot.eot#iefix) format('embedded-opentype'), url(../webfonts/the-sans/thesans_b_300_woff.woff) format('woff'), url(../webfonts/the-sans/thesans_b_300_svg.svg#thesans_b_300_svg) format('svg');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: thesans;
  src: url(../webfonts/the-sans/thesans_b_500_eot.eot);
  src: url(../webfonts/the-sans/thesans_b_500_eot.eot#iefix) format('embedded-opentype'), url(../webfonts/the-sans/thesans_b_500_woff.woff) format('woff'), url(../webfonts/the-sans/thesans_b_500_svg.svg#thesans_b_500_svg) format('svg');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: thesans_bold;
  src: url(../webfonts/the-sans/thesans_b_700_eot.eot);
  src: url(../webfonts/the-sans/thesans_b_700_eot.eot#iefix) format('embedded-opentype'), url(../webfonts/the-sans/thesans_b_700_woff.woff) format('woff'), url(../webfonts/the-sans/thesans_b_700_svg.svg#thesans_b_700_svg) format('svg');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: ibb_iconfont;
  src: url(../webfonts/ibb-iconfont/ibb_iconfont_woff2.woff2?wjlos7) format('woff2'), url(../webfonts/ibb-iconfont/ibb_iconfont_ttf.ttf?wjlos7) format('truetype'), url(../webfonts/ibb-iconfont/ibb_iconfont_woff.woff?wjlos7) format('woff'), url(../webfonts/ibb-iconfont/ibb_iconfont_svg.svg?wjlos7#ibb_iconfont) format('svg');
  font-weight: 400;
  font-style: normal
}

body {
  margin: 0;
  padding-top: 0;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

small {
  font-size: 80%;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button {
  text-transform: none;
}

button {
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

@media print {

  *,
  :after,
  :before {
    color: #000 !important;
    text-shadow: none !important;
    background: 0 0 !important;
    box-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " ("attr(href) ")";
  }

  a[href^="#"]:after {
    content: "";
  }

  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p {
    orphans: 3;
    widows: 3;
  }

}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: thesans, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  background-color: #fff;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

a {
  color: #0495c5;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #0495c5;
  text-decoration: underline;
}

a:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

img {
  vertical-align: middle;
}

[role=button] {
  cursor: pointer;
}

p {
  margin: 0 0 11px;
}

small {
  font-size: 75%;
}

input[type=range] {
  display: block;
  width: 100%;
}

body {
  font-size: 16px;
  line-height: 25px;
}

@media (max-width:767px) {
  img {
    width: 100%;
  }
}

@media (min-width:768px) {
  img {
    max-width: 100%;
  }
}

p {
  margin: 0 0 10px;
}

small {
  font-size: 12px;
  line-height: 21px;
}

body {
  -webkit-backface-visibility: hidden;
}

body {
  padding-top: 0px;
}

i {
  font-family: thesans;
  font-weight: 400;
  font-style: italic;
}

a:focus {
  outline: 0;
}

/*! CSS Used from: https://wohnungs.markt/css/main.css */

/* main_min_css.css */

.wmb-chart {
  width: 100%;
  height: 300px;
  border: 1px solid grey;
  margin-bottom: 1%;
  margin-top: 20px;
  margin-right: 90px;
}

@media screen and (min-width:681px) {
  .wmb-map {
    width: 100%;
    height: 520px;
    margin-top: 0;
    margin-bottom: 5px;
    border: 0;
  }

  .legendbutton {
    float: none;
/*     margin: 0;
    padding: 0px 8px;

    border: 1px solid #e3e2d5;
    background-color: transparent; */
  }

  .source {
    padding: 0;
    padding-bottom: 10px;
    /* text-align: right; */
  }

  .map-subline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .map-timeline {
    display: flex;
    align-items: center;
  }

  .timeline-control {
    display: flex;
    flex-wrap: wrap;
  }

  .timeline-control button {
    border: 0;
    border-radius: 0;
    color: #00adcc;
    background-color: white;
    font-size: 25px;
    line-height: 1em;
    flex: 1;
    margin: 2px;
  }

  .timeline-control button:before {
    font-family: ibb_iconfont;
  }

  #timeline-play {
    flex: 0 0 100%;
    margin-right: 0;
  }

  #timeline-prev:before {
    content: "\e901"
  }

  #timeline-next:before {
    content: "\e902";
  }

  .timeline-range {
    position: relative;
    flex: 1;
    margin: 0 40px;
  }

  input#timeline-range-input {
    width: 100%;
    height: 22px;
    background-color: transparent;
    -webkit-appearance: none;
    cursor: pointer;
  }

  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: #e3e2d5;
    border: none;
    border-radius: 3px;
  }

  input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    background: #e3e2d5;
    border: none;
    border-radius: 3px;
  }

  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #00adcc;
    margin-top: -6px;
  }

  input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #00adcc;
    margin-top: -10px;
  }

  input[type=range]:focus {
    outline: none;
  }

  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
  }

  .map-timeline button {
    /* height: 25px; */
    width: 40px;
    margin: 0;
  }

  .range-labels {
    position: absolute;
    width: calc(100% + 20px);
    display: flex;
    justify-content: space-between;
    margin-left: -10px;
    margin-right: -10px;
    z-index: -1;
  }

  .range-label {
    position: relative;
  }

  .range-label:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #e3e2d5;
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width:680px) {
  .wmb-map{
    height: 360px;
  }

  .map-control {
    display: block;
  }

  .map-timeline {
    max-width: none;
    margin-bottom: 20px;
  }

  .legendbutton {
    white-space: nowrap;
  }

  #chapter5 {
    line-height: 21px;
  }

  .map-timeline {
    flex-wrap: wrap;
  }

  .timeline-range {
    flex: 0 0 100%;
    order: 3;
    margin: 0;
    margin-top: 10px;
    padding: 0 20px;
  }

  .timeline-control:first-child {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }

  .timeline-control:first-child button#timeline-play {
    flex: 0 0 auto;
    padding: 0;
    width: 40px;
  }

  .range-labels {
    width: calc(100% - 20px);
  }
}

.sticky+.content {
  padding-top: 60px;
}

.legend {
  line-height: 23px;
  color: #555;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
  border: 1px solid #000000
}

.legendbutton {
  float: right;
  margin: 0;
  padding: 0px 8px;

  border: 1px solid #e3e2d5;
  background-color: transparent;
}

/* .legendbutton {
  float: right;
  margin-bottom: 5px;
  margin-right: 10px;
  border-radius: 2px;
  background: #f2f2f2;
  border: 2px solid rgba(119, 119, 119, 0.5);
  padding: 4px;
} */

.source {
  padding: 2px;
  font-size: 11px;
  padding-bottom: 20px;
}

.info {
  padding: 6px 8px;
  font: 14px/16px;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}