/*Cookie*/
#cookie {
  position: fixed;
  display: block;
  z-index: 1000;
}
#cookie.hide {
  opacity: 0;
}
.cookie-view a,
.cookie-view a.allg,
a.textlink {
  color: #d9ad3b;
  text-decoration: underline;
}
.cookie-view p.allg a:hover {
  color: rgba(254, 254, 254, 0.7);
}
.cookie-view a#save {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font: 14px/19px 'Frutiger LT W01_45 Ligh1475730', sans-serif;
  background: #000000;
  padding: 12px 20px;
  display: inline-block;
  border: 1px solid #ffffff;
}

.cookie-view a#save:hover {
  text-decoration: none;
}
.cookie-view fieldset {
  border: none;
  padding: 3px 0 0 0;
  box-sizing: border-box;
  height: auto;
  width: 100%;
  margin: 0;
}
.cookie-view:not(.confirmed) {
  width: 100%;
  display: block;
  background-color: rgba(0, 0, 0, 1);
  box-sizing: border-box;
  text-align: left;
}
.cookie-view {
  min-height: unset;
  max-height: 100vh;
  overflow-y: auto;
  opacity: 1;
  height: auto;
  position: fixed;
  top: 50%;
  left: 0;
  padding: 30px 16px;
  text-align: left;
  border-top: none;
  z-index: 1000;
  display: block;
  transform: translate(0, -50%);
  width: 100%;
  font: 16px/24px 'Frutiger LT W01_45 Ligh1475730', sans-serif;
}
.cookie-view.start {
  width: 100%;
}
.cookie-view p {
  opacity: 1;
  width: auto;
  color: #ffffff;
  font: 14px/19px 'Frutiger LT W01_45 Ligh1475730', sans-serif;
  padding: 0 0 24px 0;
  margin: 0;
}
.cookie-view p.explanation {
  padding: 0 0 22px 0;
  margin: 0;
}
.cookie-view p.allg,
.cookie-view.askforyoutube-opt-in p.youtubeQuestion {
  display: block;
  padding: 0 0 24px 0;
}
.cookie-view.askforyoutube-opt-in p.allg,
.cookie-view p.youtubeQuestion {
  display: none;
}
.cookie-view.askforyoutube-opt-in p.highlight {
  font-weight: bold;
}
.cookie-view p.centertext {
  text-align: center;
  margin: 10px 0;
  padding: 0;
}
.cookie-view .switchholder {
  display: grid;
  width: 100%;
  margin: 0 auto;
  height: auto;
  grid-template-columns: 42px 1fr;
  grid-row-gap: 4px;
  align-items: start;
  padding: 0;
  box-sizing: border-box;
}
.cookie-view .closeCookie {
  display: block;
  width: 40px;
  cursor: pointer;
  height: 40px;
  position: absolute;
  background: url('../img/close.svg') no-repeat center;
  background-size: 40px 40px;
  right: 26px;
  top: 26px;
  z-index: 1100;
}

.cookie-view a#openCookie {
  display: none;
  text-decoration: none;
}
.cookie-view.confirmed {
  opacity: 1;
  top: 80%;
  bottom: 18px;
  left: auto;
  right: 0;
  width: auto;
  height: auto;
  max-height: 42px;
  display: inline-block;
  position: fixed;
  padding: 0;
  overflow-x: visible;
  overflow-y: hidden;
  border: none;
}
.cookie-view:not(.confirmed).askforyoutube-opt-in {
  min-height: unset;
  opacity: 1;
  display: block;
}
.cookie-view:not(.confirmed).askforyoutube-opt-in + #layer {
  position: fixed;
  content: ' ';
  display: block;
  background-color: #4c4c4c;
  z-index: 900;
}
.cookie-view.confirmed + #layer,
.cookie-view + #layer {
  display: none;
}
.cookie-view.confirmed a#openCookie {
  display: inline-block;
  padding: 14px 14px 29px 24px;
  height: auto;
  background: #000000 url(../img/cookie-icon.png) no-repeat center center;
  background-size: 24px 24px;
}
.cookie-view.confirmed a#openCookie.hideCookieButton,
.cookie-view a#openCookie.hideCookieButton {
  display: none;
  background: none;
}
/*-----------switches-------------*/

/*Cookie*/
/*Cookie*/
input.switches {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  font-size: 1em;
  width: auto;
  /*float: left;*/
  background: transparent;
  padding: 0 4px 6px 4px;
  opacity: 1;
}
input.switches:checked,
input.switches:not(:checked) {
  background: #ffffff;
  position: relative;
  visibility: hidden;
  margin: 0;
  padding: 0;
}
input.switches:checked + label,
input.switches + label {
  cursor: pointer;
  position: relative;
  height: 20px;
  width: 20px;
  line-height: 2;

  display: inline-block;
}
input.switches:not(:checked) + label::after {
  content: ' ';
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  background: #ffffff;
  box-shadow: none;
  top: 0;
  left: 0;
  clear: both;
  float: none;
}

input.switches:checked + label::after {
  content: ' ';
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  background: #ffffff url(../img/optin.svg) no-repeat center center;
  background-size: 16px 16px;
  box-shadow: none;
}
.cookie-view.confirmed .switches,
.cookie-view.confirmed p,
.cookie-view.confirmed .switchholder,
.cookie-view.confirmed #closeCookie {
  opacity: 0;
  visibility: hidden;
  height: 0;
  width: 0;
  overflow: hidden;
}
@media (min-width: 661px) {
  /*-------------------------------------------Cookie----------------------------------*/

  .cookie-view:not(.confirmed) {
    margin: 0;
  }
  .cookie-view:not(.confirmed).askforyoutube-opt-in {
    min-height: unset;
    opacity: 1;
    height: auto;
    border-top: none;
    z-index: 1000;
    display: block;
  }
  .cookie-view .switchholder {
    width: auto;
    margin: 0 auto;
  }
  .cookie-view p.allg,
  .cookie-view.askforyoutube-opt-in p.youtubeQuestion {
    display: block;
    padding: 0 0 24px 0;
  }
}
@media (min-width: 1000px) {
  /*-------------------------------------------Cookie----------------------------------*/
  .cookie-view.confirmed {
    opacity: 1;
    top: 80%;
    left: auto;
    right: 0;
    position: fixed;
    bottom: auto;
    max-height: 0;
  }
  .cookie-view:not(.confirmed) {
    opacity: 1;
    height: auto;
    padding: 80px 64px 10px 64px;
    border-bottom: none;
    z-index: 1000;
    width: 680px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
  }
  .cookie-view .switchholder {
    width: auto;
    /*max-width: 550px;*/
    margin: 0 auto;
  }
  .cookie-view p.centertext {
    text-align: center;
    margin: 38px 0 50px 0;
    padding: 0;
  }
}
