/* ----- General ----------------- */

@font-face {
  font-family: 'KorpusGroteskA';
  src: local('‚ò∫'), url('/fonts/KorpusGrotesk-A.woff2')format('woff2'), url('/fonts/KorpusGrotesk-A.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  }

  @font-face {
    font-family: 'KorpusGroteskD';
    src: local('‚ò∫'), url('/fonts/KorpusGrotesk-D.woff2')format('woff2'), url('/fonts/KorpusGrotesk-D.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    }

body {
  margin: 0;
  padding: 0;
  font-family: 'KorpusGroteskA', sans-serif !important;
  color:#4a4a4a;
}


p {
  font-size: 1rem;

}


.noUi-value-sub{
  opacity: 0;
}


.imprint p {
  font-size: 1.2rem;
  line-height: 120%;
}


.imprintNotes {
  margin-left: 1.5em;
  margin-bottom: 1em;
  line-height:1.2em;
  list-style-type: disc;
  margin-right:1em;
}

.imprintNotesInner {
  line-height:1.2em;
  margin-left:1.5em;
  list-style-type: circle;
}


.intro{
  margin-top:0.8rem;
}

.intro p {
  font-size: 1.5rem;
}

g {
  font-size: 1rem;
  font-family: 'KorpusGroteskA', sans-serif !important;
}

.yAxisContinents g{
  font-family: 'KorpusGroteskD', sans-serif !important;
}

.xAxisContinents g{
  font-family: 'KorpusGroteskD', sans-serif !important;
}

b{
  font-family: 'KorpusGroteskD', sans-serif !important;
  font-weight:normal;
}



#filterContainer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding-top: 0;
  /* position: sticky;
  bottom:0;*/
  opacity: 0;
  padding-bottom:10px;
  background-color: #fff;
}

#PercentageFilter {
  visibility: hidden;
  margin-bottom: 35px;
}

#ContinentsFilter {
  visibility: hidden;
}

#YearFilter {
  visibility: hidden;
  margin-bottom: 25px;
}

#CountryFilter {
  visibility: hidden;
}

.lineBarVisualization {
  /* z-index: 2;*/
  position: relative;
  margin-top: 1.1rem;
}

.filterTitel {
  font-size: 1rem;
  color: #888888;
}

.filters {
  justify-self: start;
  margin-right: 30px;
  margin-left:1%;
  margin-top: -0.3rem;
  min-width: 300px;
}

.filternotation {
  font-size: 1rem;
  color: #333333;
  margin-top: 12px;
  min-width: 300px;
}


.overlay {
  background-color: #fff;
  min-height: 20px;
  min-width: 110%;
  margin-left: -4%;
  z-index: 100;
  position: sticky;
  bottom: 0;
  border-top: 1px solid #888888;
  padding: 10px;
  opacity: 0;
  border-left: 10px solid #3c7bb5;
}



.overlayButtonFilter {
  background-color: #fbfbfb;
 /* display: none;*/
  /* width: 32px;*/
  /* height: 32px;*/
  border: 1px solid #f5f5f5;
  /* border-radius: 16px;*/
  z-index: 200;
  position: sticky;
  bottom: 0%;
  left: 1%;
  display:none;
  padding-left: 5px;
  padding-right: 19px;
  padding-top: 3px;
  padding-bottom:0px;
}

.fa {
  font-size: 24px;
  color: #888888;
}


.header {
  /* background-color: #f1f1f1;*/
  width: 100%;
  position: sticky;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  transition: all 0.3s ease;
  background-color: #fff;
}

.sticky h1 {
  font-size: 1.5rem !important;
  font-family: 'KorpusGroteskD', sans-serif !important;

}

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

.content{
  margin-bottom:0.1rem !important;
}

.sourceDesktop{
  display: flex;
  align-items: flex-end;
 /*padding-bottom: 0.5rem;*/
  margin-left:auto;
  margin-right:-0.75rem;
}


/* --------------------------------- Mobile ---------------------------------------------------



/* Media Query for Mobile Devices */
@media (max-width: 640px) {
  div.lineBarVisualization {
    display: none;
  }

  g {
    font-size: 0.8rem;
  }
.title.is-1{
  font-size:3rem;
  font-weight: normal ;
  font-family: 'KorpusGroteskD', sans-serif !important;
  line-height: 1;
}

.intro{
  margin-right: 1rem;
}

.intro p {
 padding-right:5%;
  font-size: 1.3rem;
}


.sourceDesktop{
  display: none;
}

.overlayFilter{
  display: none;
}

 #overlayTooltip {
  position: absolute;
  min-width: 160px;
  min-height: 30px;
  margin-top:34px;
  opacity: 0;
  border-top: 4px solid black;
  background-color: white;
  z-index: 1200;

}

.choices__inner{
  background-color: #fbfbfb !important;
  min-height: 10px !important;
}

.choices__input{
  background-color: #fbfbfb !important;
}

.choices__list--multiple .choices__item {
  margin-bottom:2px !important;

}

.filternotation{
  min-width: 150px;
  max-width: 150px !important;
}

.filters {
  margin-top: 0.4rem;
}

#overlayTooltip p {
  font-size: 0.8rem;
  padding-left: 1rem;
  text-align: left;
  font-weight: normal;
  color: #000;
  margin-top:5px;
  min-width: 180px;
}

#divCurrentYear {
   margin-top:0px !important;
    right:2% !important;
   /* margin-top: 1em !important;
    margin-bottom: 1em;*/
    /*padding-top:0.75rem !important;*/
    
  }

  .clickTitel{
    position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 55px;
      background-color: transparent; /* Transparente Hintergrundfarbe */
      cursor: pointer; /* Zeiger, um zu zeigen, dass es klickbar ist */
      z-index: 9999;
    }

#interactionButtons {
   margin-top:1rem;
   margin-left:10%;
  }

  #CountryFilter {
  max-width: 150px;
  margin-bottom: 15px;
  }
  
  .overlayFilter {
    background-color: #fbfbfb !important;
    min-height: 20px;
    min-width: 102%;
    z-index: 100;
    position: sticky;
    bottom: 0;
    border-top: 1px solid #f5f5f5;
   margin-left: -1rem;
   margin-right: -1rem;
    visibility: hidden;
  }
  
.footerMobile{
  display: flex;
  position: sticky;
  bottom: 0;
  z-index:200;
}

#filterContainer {
display:none;
opacity: 0;
position: fixed;
bottom: 0;
justify-content:space-around;
}

.filters{
  margin-left: 10px;
  margin-right:10px;
 /*margin-bottom:15px;*/
  min-width:150px;
  box-sizing: border-box;

}

.sourceMobile{
  margin-left:auto;
 margin-top: auto;
 padding-bottom:5px;
 padding-right: 5%;
}


  .shortertop {
   margin-left: 3% !important;
    z-index: 100;
    margin-left:0.8rem;
    margin-top: 1.3rem;
  
  }

  #divTooltip {
    display: none;

  }

  .yAxis {
    font-size:0.8rem;
  }


  article {
   /* margin-left: 10%;*/
    margin-right: auto;
    position: relative;
    padding: 0;
    max-width: 1px;
  }


  .nomobile {
    display: none;
  }


  .yAxisContinents {
    display: none;
  }

  #header {
    font-size: 2.5rem;
    background-color: #fff;
    /* Grey background */
    padding-left: 0px;
    padding-top: 30px;
    padding-bottom: 10px;
    /* Some padding */
    position: fixed;
    /* Fixed position - sit on top of the page */
    top: 0;
    width: 100%;
    /* Full width */
    transition: 0.2s;
    /* Add a transition effect (when scrolling - and font size is decreased) */
    z-index: 1000;
  }



  #scrolly {
    position: relative;
    /*background-color: #8a2a2a;*/
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.005rem;
  }

  figure {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    width: 100%;
    margin: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /*background-color: #8a8a8a;*/
    z-index: 0;
  }

  figure p {
    /*text-align: center;
    padding: 1rem;
    position: absolute;*/
 /*top: 50%;*/
   /*  left: 50%;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
   font-size: 8rem;
    font-weight: 900;
    color: #fff;*/
  }


  .scrollText{
    font-size: 1.3rem !important;
  }

  #interactionButtons input{
    font-size: 1.3rem !important;
  }

  .step {
    margin: 0 auto 0.7rem auto;
    width: 80vw;
    background-color: rgba(255, 255, 255, 0.95);
    color: #4a4a4a;
    margin-bottom: 50rem;
    border: 0.8px solid rgba(0, 0, 0, .2);
    line-height: 120%;
    border-radius:1px;
    box-shadow: 3px 3px 5px #4a4a4a33;
  }


  .step:first-child {
    margin-top: 20rem;
  }


  .step p {
    text-align: left;
    padding: 1rem;
    font-size: 1.2rem;
  }


  .step.is-active p {
    color: #4a4a4a;

  }


.step:last-child {
  border: none;
  font-size: 3.5rem;
  box-shadow: none;
  background: none;
  min-width: 300px;
  margin-bottom: 150vh;
}

.step p.laststep {
  font-size: 4rem;
  line-height: 1;
}


/* ---------Slider Sachen-----------------------------*/

#percentageSlider{
  font-size: 12px;
}

#yearSlider{
  font-size: 12px;
}

.noUi-tooltip{
background-color: #fbfbfb !important;

}







.noUi-horizontal .noUi-tooltip {
  position: absolute;
  bottom: -125% !important;
  white-space: nowrap;
}

#range-slider-container {
  width: 300px; /* Adjust the width of the container */
  text-align: center;
  position: relative;
}



}
























/* -------------------- Not mobile ---------------------------------*/

/* Media Query for not mobile Devices */
@media (min-width: 641px) {
  div.lineBarVisualizationVertical {
    display: none;
  }

  #buttonFilterClose{
    display: none;
  }

  .sourceMobile{
    display: none;
  }

  .overlay {
    display: none;
  }

  .overlayFilter {
    display: none;
  }

  .overlayButtonFilter {
    display: none;
  
  }

  .footerMobile{
    display: none !important;
  }

  #overlayTooltip{
    display: none !important;
  }

  #filterContainer {
    justify-content:flex-start;
  }

  #ContinentsFilter {
    visibility: hidden;
    max-width: 120px !important;
    min-width: 120px !important;
  }

  /*------------------ Scrollytelling -------------------*/


  #scrolly {
    position: relative;
    /*background-color: #8a2a2a;*/
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.005rem;
  }

  article {
    position: relative;
    padding: 0;
    max-width: 1px;
    margin-left: 50%;
    /*width: 20%;*/ 
  }

  figure {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    width: 100%;
    margin: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /*background-color: #8a8a8a;*/
    z-index: 0;
  }

  figure p {
    text-align: center;
    padding: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 8rem;
   /* font-weight: 900;*/
    color: #fff;
  }

  .step {
    margin: 0 auto 0.7rem auto;
    min-width: 400px;
    width: 20%;
    background-color: rgba(255, 255, 255, 0.95);
    color: #4a4a4a;
    margin-bottom: 50rem;
    border: 0.8px solid rgba(0, 0, 0, .2);
    line-height: 120%;
    border-radius:1px;
    box-shadow: 3px 3px 5px #4a4a4a33;
  }

  .step:first-child {
    margin-top: 20rem;
  }

  .step p {
    text-align: left;
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 0.9;
    }

  .step.is-active p {
    color: #4a4a4a;

  }


.step:last-child {
  border: none;
  font-size: 5rem;
  box-shadow: none;
  background: none;
  min-width: 500px;
  margin-bottom: 100vh;
}

.step p.laststep {
  font-size: 4rem;
}

.noUi-horizontal .noUi-tooltip {
  position: absolute;
  bottom: -171% !important;
  white-space: nowrap;
}

.title.is-1{
  font-weight: normal ;
  font-family: 'KorpusGroteskD', sans-serif !important;

}

.clickTitel{
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 58px;
  background-color: transparent; /* Transparente Hintergrundfarbe */
  cursor: pointer; /* Zeiger, um zu zeigen, dass es klickbar ist */
  z-index: 9999;
}

}






















a {
  color: #4a4a4a;
  text-decoration: underline;
  margin-right: 5px;
}


a:hover {
  background-color: #e6e6e6;
}

.source {
  font-size:0.8rem;
  position: relative;
  color: #4a4a4a;
  text-align: right;
  margin-left: auto;
}

input {
  background-color: #fff;
  border: 1px solid #fff;
  color: #4a4a4a;
  margin-right: 20px;
  font-family: 'KorpusGroteskD', sans-serif !important;
  font-size: 1.5rem;
}

.scrollText{
  background-color: #fff;
  color: #4a4a4a;
  margin-right: 20px;
  font-family: 'KorpusGroteskD', sans-serif !important;
  font-size: 1.5rem;
}

input[type="button"]:hover {
  background-color: #e6e6e6;
}


/* ----- Tooltip  ----------------- */

#divTooltip {
  position: absolute;

  min-width: 200px;
  min-height: 44px;
  margin-top: -26px;
  opacity: 0;
  border-left: 8px solid black;
  background-color: white;
  z-index: 1200;
  line-height: 1.1;
}


#divTooltip p {
  font-size: 1rem;
  text-align: left;
  color:#363636;
  padding-top:20px;
  padding-left: 10px;
  min-width: 200px;
  font-weight: normal;
}

.separatedLabel{
  font-size: 1rem;
  text-align: left;
  padding-left: 40px;
  margin-top:-29px;
  font-weight: normal;
 font-family: 'KorpusGroteskA', sans-serif !important; 
}


/* ------------- Current Year  ----------------- */

#divCurrentYear {
  position: absolute;
  min-height: 40px;
  right: 2%;
  padding-left: 0px;
  top: -0.7rem;
  font-family: 'KorpusGroteskD', sans-serif !important; 
}

#divCurrentYear p {
  font-size: 1.5rem;
  text-align: left;
  color: #363636;
}


/* ------------- Detailsbox  ----------------- */

#divDetailsbox {
  position: absolute;
  min-width: 30px;
  min-height: 30px;
  padding: 5px;
  opacity: 0;
  background-color: white;
}

#divDetailsbox p {
  font-family: sans-serif;
  font-size: 10px;
  text-align: left;
  font-weight: lighter;
}

/* ---------------- Buttons  ----------------- */


button {
  background-color: white;
  border: 0.5px solid #888888;
  color: #888888;
  text-decoration: none;
  padding: 5px;
}

#buttonFilterClose {
  border: none;
  position: absolute;
  text-align: right;
  right:0.5rem;
  top: 0rem;
  padding-top:0px;
  font-size:1.5rem;
  background-color: #fbfbfb;
}


/* ---------------- Switch / Toggle  ----------------- */

.toggle {
  margin: 0 0 0 0rem;
  position: relative;
  display: inline-block;
  width: 2.2rem;
  height: 1.2rem;
}

.toggle input {
  display: none;
}

.roundbutton {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: #c3c3c3;
  display: block;
  transition: all 0.3s;
  border-radius: 1.7rem;
  cursor: pointer;
}

.roundbutton:before {
  position: absolute;
  content: "";
  height: 1rem;
  width: 1rem;
  border-radius: 100%;
  display: block;
  left: 0.15rem;
  bottom: 0.1rem;
  background-color: white;
  transition: all 0.3s;
}

input:checked+.roundbutton {
  background-color: #888888;
}

input:checked+.roundbutton:before {
  transform: translate(0.9rem, 0);
}



/* ---------------- Country Highlight  ----------------- */



input[type="text"] {
  width: auto;
  border: none;

  outline: none;
  border-radius: 5px 5px 0 0;
  background-color: #ffffff;
  padding: 10px 5px;
}

ul {
  list-style: none;
}

.list {
  width: 100%;
  border: 0.5px solid #c3c3c3;
  border-radius: 0 0 0px 0px;
  font-size: 14px;
  ;
}

.list-items {
  padding: 10px 5px;
}

.list-items:hover {
  background-color: #dddddd;
}

/* ---------------- Continents Y Axis  ----------------- */

.yAxisContinents .tick {

  /*font-weight: bold;*/

  /*writing-mode: vertical-lr;
  transform: rotate(180deg);
  transform: rotate(-90deg);*/

}


.yAxisContinents .tick line {

  opacity: 0;
}

.xAxisContinents .tick line {

  opacity: 0;
}

.footer {
  padding: 1.5rem 1.5rem 1.5rem;
}




/* ------------------------------------- Slider ------------------------------- */



  #range-slider-container {
      width: 300px; /* Adjust the width of the container */
      text-align: center;
      position: relative;
    }

  #percentageSlider {
      height: 5px;
  }
  
  #percentageSlider .noUi-connect {
      background: #888;
  }
  
  #percentageSlider .noUi-handle {
      height: 18px;
      width: 18px;
     /* top: -5px;*/
      right: -9px; /* half the width */
      border-radius: 9px;
  }


  #yearSlider {
    height: 5px;
}

#yearSlider .noUi-connect {
    background: #888;
}

#yearSlider .noUi-handle {
    height: 18px;
    width: 18px;
   /* top: -5px;*/
    right: -9px; /* half the width */
    border-radius: 9px;
}