.l42-cc__body {
  margin: 0;
  padding: 0;
  font-family: "FilsonBook", sans-serif;
  font-size: 14px;
}
#l42-cc__body {
  display: none;
}

* {
  box-sizing: border-box;
}
.l42-cc b {
  font-family: "FilsonBold", sans-serif !important;
}
.l42-cc :after, .l42-cc :before {
  box-sizing: content-box;
}
input[type=checkbox] {
  -moz-appearance:initial;
}    
.l42-cc {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding-left: 0;
  z-index: 10001;
}

.l42-cc h3 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.l42-cc h3+p {
  margin-top: 0;
  margin-bottom: 0;
}

.l42-cc__container,
.l42-cc__tabcontainer,
div[id^="l42-cc__info_"] {
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
}
.l42-cc__container a {
  font-size: 14px;
  text-transform: initial;
}

.l42-cc__container {
  text-align: center;
}

.l42-cc__infocontainer {
  background-color: #ffffff;
  width: 100vw;
  padding-top: 8px;
  padding-bottom: 21px;
}

.l42-cc__tabcontainer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 180px 106px;
  grid-column-gap: 4px;
  padding-left: 0;
  margin-bottom: 0;
  margin-top: 10px;
}

.l42-cc__tabcontainer>div,
.l42-cc__tabcontainer>li {
  list-style: none;
  border-radius: 4px;
  position: relative;
}

.l42-cc__tabcontainer a {
  color: #ffffff;
  height: 46px;
  display: inline-block;
  width: 85%;

}

/*============== colors ===============*/

.l42-cc-text-color--primary {
  color: black;
}

.l42-cc--bgcolor {
  background-color: #E5E5E5;
}

/* div[class^='l42-cc__tab_'],
li[class^='l42-cc__tab_'] {
background-color: #808080;
color: #ffffff;
height: 46px;
line-height: 46px;   
} */
label[for^="l42-cc__radio_"] {
  background-color: #808080;
  color: #ffffff;
  height: 46px;
  line-height: 46px;
  display: inline-block;
  width: 100%;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding-left: 31px;
  padding-right: 8px;
  box-sizing: border-box;
  cursor: pointer;
}
label[for^="l42-cc__chbx"] {
  display: none;
}

.l42-cc__details {
  background-color: #ffffff;
  color: #CE0E2D;
  height: 38px;
  line-height: 38px;
  padding-left: 8px;
  ;
}

.l42-cc__details a {
  color: #CE0E2D;
}
.l42-cc__details label:lang(en) {
  display: flex;
}
.l42-cc__details span:first-of-type:lang(en) {
  order: 2;
  margin-left: 7px;
}
.l42-cc__consent {
  background-color: #CE0E2D;
  color: #ffffff;
  height: 38px;
  text-align: center;
}

.l42-cc__consent label {
  color: #ffffff;
  background-color: transparent;
  border: none;
  line-height: 38px;
}
.l42-cc label {
  margin-bottom: 0;
}

input[id^="l42-cc__chbx"] {
  position: absolute;
  top: 13px;
  left: 4px;
  margin: 3px 0.5ex;
}

input[id^="l42-cc__radio_"],
input[name="l42-cc__switch"] {
  position: absolute;
  right: 0;
  opacity: 0;

}

label[for^="l42-cc__radio_"]>span {
  text-decoration: underline;
}

input[id="l42-cc__radio_1"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_1"]>span,
input[id="l42-cc__radio_2"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_2"]>span,
input[id="l42-cc__radio_3"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_3"]>span,
input[id="l42-cc__radio_4"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_4"]>span {
  text-decoration: none;
}

/*if tab is not active hide associated infocontainer*/
input[id="l42-cc__radio_1"]~.l42-cc__infocontainer div[id="l42-cc__info_1"],
input[id="l42-cc__radio_2"]~.l42-cc__infocontainer div[id="l42-cc__info_2"],
input[id="l42-cc__radio_3"]~.l42-cc__infocontainer div[id="l42-cc__info_3"],
input[id="l42-cc__radio_4"]~.l42-cc__infocontainer div[id="l42-cc__info_4"] {
  opacity: 0;
  height: 0;
  display: none;
}

/*if tab is active show associated infocontainer*/
input[id="l42-cc__radio_1"]:checked~input[id="l42-cc__explanations"]:checked~.l42-cc__infocontainer div[id="l42-cc__info_1"],
input[id="l42-cc__radio_2"]:checked~input[id="l42-cc__explanations"]:checked~.l42-cc__infocontainer div[id="l42-cc__info_2"],
input[id="l42-cc__radio_3"]:checked~input[id="l42-cc__explanations"]:checked~.l42-cc__infocontainer div[id="l42-cc__info_3"],
input[id="l42-cc__radio_4"]:checked~input[id="l42-cc__explanations"]:checked~.l42-cc__infocontainer div[id="l42-cc__info_4"] {
  opacity: 1;
  height: 100%;
  transition: opacity .3s ease-in-out;
  display: block;
}

/*if tab is active change style of tab*/
input[id="l42-cc__radio_1"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_1"],
input[id="l42-cc__radio_2"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_2"],
input[id="l42-cc__radio_3"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_3"],
input[id="l42-cc__radio_4"]:checked~.l42-cc__tabcontainer label[for="l42-cc__radio_4"] {
  background-color: #CE0E2D;
  color: #ffffff;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

.l42-cc table {
  display: grid;
  border-collapse: collapse;
  min-width: 100%;
  grid-template-columns: 168px 169px 332px 135px 86px;
}

.l42-cc thead,
.l42-cc tbody,
.l42-cc tr {
  display: contents;
}

.l42-cc th,
.l42-cc td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.l42-cc td:nth-of-type(3) {
  overflow: visible;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}

.l42-cc td:nth-of-type(even) {
  background-color: #F1F1F1;
}

.l42-cc th {
  position: sticky;
  top: 0;
  background: #CE0E2D;
  text-align: left;
  font-weight: normal;
  font-size: 1.1rem;
  color: white;
  padding-left: 12px;
  font-size: 14px;
  line-height: 22px;
}

.l42-cc th:last-child {
  border: 0;
}

.l42-cc td {
  padding-top: 15px;
  padding-bottom: 12px;
  padding-left: 8px;
  padding-right: 8px;
  border-bottom: 1px solid #E5E5E5;
  overflow: visible;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}


.l42-cc__tabcontainer input[type='checkbox']:before {
  line-height: 1.5em;
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, .7);
  background-color: #808080;
}

.l42-cc__tabcontainer input[type='checkbox']:checked:before {
  width: 14px;
  height: 14px;
  background-color: #ffffff;
}

.l42-cc__tabcontainer input[type='checkbox']:checked:after {
  content: "";
  width: 3px;
  height: 9px;
  border-right: 2px solid #CE0E2D;
  border-bottom: 2px solid #CE0E2D;
  position: absolute;
  top: 2px;
  left: 6px;
  transform: rotate(45deg);
}

input#l42-cc__chbx1:before {
  content: "";
  background-color: #808080;
}

input#l42-cc__chbx1:after {
  content: "";
  background-color: #808080;
  content: "";
  width: 3px;
  height: 9px;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  position: absolute;
  top: 2px;
  left: 6px;
  transform: rotate(45deg);
  opacity: .7;
}

input[id="l42-cc__radio_2"]:checked~.l42-cc__tabcontainer #l42-cc__chbx2:before {
  background-color: #ffffff;
}

input[id="l42-cc__radio_3"]:checked~.l42-cc__tabcontainer #l42-cc__chbx3:before {
  background-color: #ffffff;
}

input[id="l42-cc__radio_4"]:checked~.l42-cc__tabcontainer #l42-cc__chbx4:before {
  background-color: #ffffff;
}

/*functional label is always checked and disabled */
input[id="l42-cc__radio_1"]:checked~.l42-cc__tabcontainer #l42-cc__chbx1:before {
  background-color: #CE0E2D;
}

input[id="l42-cc__radio_1"]:checked~.l42-cc__tabcontainer #l42-cc__chbx1:after {
  background-color: #CE0E2D;
}

/*switch between cookie explanations and about cookies labels*/
.l42-cc__cwrapper {
  cursor: pointer;
  text-align: center;
}

.l42-cc__ccontainer {
  background-color: #CE0E2D;
}

.l42-cc__cwrapper label {
  height: 34px;
  width: 165px;
  border: 1px solid #ffffff;
  cursor: pointer;
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 6px;
  border-radius: 4px;
  color: #ffffff;
  line-height: 34px;
}

input[id="l42-cc__explanations"]:checked~.l42-cc__ccontainer label[for="l42-cc__explanations"] {
  color: #CE0E2D;
  background-color: #ffffff;
}

input[id="l42-cc__about"]:checked~.l42-cc__ccontainer label[for="l42-cc__about"] {
  color: #A41F35;
  background-color: #ffffff;
}

/*if a tab is active show/hide cookie explanations*/
.l42-cc__ccontainer {
  display: none;
}

input[name="l42-cc__radio"]:checked~.l42-cc__ccontainer {
  display: block;
}

/*if tab1 is active and about cookies is checked switch to about cookies container*/
input[id="l42-cc__about"]:checked~.l42-cc__ccontainer label[for="l42-cc__about"] {
  color: #CE0E2D;
  background-color: #ffffff;
}

div[id^="l42-cc__cinfo"] {
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

/* if tab1 is active and about cookies is active show about cookies info */
input#l42-cc__radio_1:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__cinfo1,
input#l42-cc__radio_2:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__cinfo2,
input#l42-cc__radio_3:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__cinfo3,
input#l42-cc__radio_4:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__cinfo4 {
  display: block;
}

/* if tab1 is active and about cookies is active hide cookies info */
input#l42-cc__radio_1:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__info1,
input#l42-cc__radio_2:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__info2,
input#l42-cc__radio_3:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__info3,
input#l42-cc__radio_4:checked~input#l42-cc__about:checked~.l42-cc__infocontainer #l42-cc__info4 {
  display: none;
}

/*show/hide details*/
#l42-cc__details {
  opacity: 0;
  position: absolute;
}

.l42-cc__details,
label {
  cursor: pointer;
}

.l42-cc__details__caret,

#l42-cc__details:not(:checked)~.l42-cc .l42-cc__tabcontainer .l42-cc__details__caret {
  border-top: 7px solid #CE0E2D;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  position: absolute;
  top: 15px;
  right: 7px;
}

#l42-cc__details:checked~.l42-cc .l42-cc__tabcontainer .l42-cc__details__caret {
  border-bottom: 7px solid #CE0E2D;
  border-top: none;
}

.l42-cc__hide,
#l42-cc__details:checked~.l42-cc .l42-cc__tabcontainer .l42-cc__show,
input[name="l42-cc__radio"]:checked~.l42-cc__tabcontainer .l42-cc__show {
  display: none;
}

#l42-cc__details:not(:checked)~.l42-cc .l42-cc__tabcontainer .l42-cc__show,
#l42-cc__details:checked~.l42-cc .l42-cc__tabcontainer .l42-cc__hide,
.l42-cc__show {
  display: inline;
}

#l42-cc__details:checked~.l42-cc .l42-cc__infocontainer,
#l42-cc__details:checked~.l42-cc .l42-cc__ccontainer {
  display: block;
}

#l42-cc__details:not(:checked)~.l42-cc .l42-cc__infocontainer,
#l42-cc__details:not(:checked)~.l42-cc .l42-cc__ccontainer {
  display: none;
}

#l42-cc__submit {
  position: absolute;
  opacity: 0;
}
/*if submit button is checked hide cookie consent*/
#l42-cc__submit:checked ~ .l42-cc {
  display: none;
}
/* if Details is checked, fix top part on top of page */
#l42-cc__details:checked ~ .l42-cc {
  position: fixed;
  bottom: 0px;
  max-height: 600px;
  min-height: 600px;
}
.l42-cc__infocontainer {
  overflow: auto;
  max-height: 398px;
  min-height: 398px;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}
.l42-cc__infocontainer::-webkit-scrollbar {
  display: none;
}
#l42-cc__details:checked ~ .l42-cc .l42-cc__cwrapper {
  box-shadow: 0px 6px 7px 9px rgba(0, 0, 0, .25);
}
@media screen and (max-width: 889px) {
  .l42-cc {
    padding-bottom: 64px;
    max-height: 100vh;
  }

  .l42-cc__container,
  .l42-cc__tabcontainer,
  div[id^="l42-cc__info_"] {
    max-width: 324px;
  }

  .l42-cc__tabcontainer {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 10px;
    margin-bottom: -4px;
  }

  label[for^="l42-cc__radio_"] {
    border-radius: 4px;
  }

  .l42-cc__tabcontainer .l42-cc__details {
    position: fixed;
    bottom: 10px;
    width: 160px;
    height: 40px;
    padding-left: 0;
  }

  .l42-cc__tabcontainer .l42-cc__consent {
    position: fixed;
    bottom: 10px;
    width: 160px;
    transform: translate(103%, 0);
    height: 40px;
  }

  #l42-cc__info_4 {
    margin-bottom: 45px;
  }

  #l42-cc__details:checked~.l42-cc .l42-cc__tabcontainer {
    padding-bottom: 12px;
  }

  input[id^="l42-cc__chbx"] {
    top: 8px;
  }

  .l42-cc__cwrapper {
    background-color: #ffffff;
  }

  .l42-cc__cwrapper label {
    background-color: #CE0E2D;
  }

  label[for^="l42-cc__radio_"] {
    height: 40px;
    line-height: 40px;
  }

  .l42-cc__cwrapper label {
    height: 32px;
    line-height: 32px;
  }

  input[id="l42-cc__explanations"]:checked~.l42-cc__ccontainer label[for="l42-cc__explanations"],
  input[id="l42-cc__about"]:checked~.l42-cc__ccontainer label[for="l42-cc__about"] {
    border: 1px solid #CE0E2D;
    height: 30px;
    line-height: 30px;
  }

  #l42-cc__cinfo1 {
    max-width: 324px;
  }

  /*change table*/
  .l42-cc table,
  .l42-cc thead,
  .l42-cc tbody,
  .l42-cc th,
  .l42-cc td {
    display: block;
    font-size: 14px;
  }

  .l42-cc tr {
    display: grid;
    grid-template-areas:
      "td1 td1"
      "td3 td3"
      "td2 td2"
      "td4 td5";
  }

  .l42-cc thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .l42-cc td:before {
    top: 6px;
    left: 6px;
    white-space: nowrap;
    font-weight: 700;
  }


  .l42-cc td:nth-of-type(1):before {
    content: "NAME: ";
    width: 43px;
  }

  .l42-cc td:nth-of-type(2):before {
    content: "ANBIETER: ";
  }

  .l42-cc td:nth-of-type(3):before {
    content: " ";
  }

  .l42-cc td:nth-of-type(4):before {
    content: "ABLAUF: ";
  }

  .l42-cc td:nth-of-type(5):before {
    content: "TYP: ";
  }

  .l42-cc td:nth-of-type(1) {
    background-color: #CE0E2D;
    color: #ffffff;
    order: 0;
    grid-area: td1;
    line-height: 14px;
    padding-top: 8px;

  }
  .l42-cc td:nth-of-type(1) br {
    display: none;
  }
  .l42-cc tr td:nth-of-type(2) {
    order: 2;
    grid-area: td2;
    background-color: #F1F1F1;
  }

  .l42-cc tr td:nth-of-type(3) {
    order: 1;
    grid-area: td3;
  }

  .l42-cc tr td:nth-of-type(4) {
    order: 3;
    grid-area: td4;
    background-color: #ffffff;
  }

  .l42-cc tr td:nth-of-type(5) {
    order: 3;
    grid-area: td5;
  }

  .l42-cc td {
    padding-top: 6px;
    padding-bottom: 6px;
    border: none;
  }

  #l42-cc__details:checked~.l42-cc .l42-cc__container p {
    display: none;
  }

  #l42-cc__details:checked~.l42-cc .l42-cc__tabcontainer .l42-cc__details:before {
    content: "";
    height: 64px;
    width: 100vw;
    background-color: #E5E5E5;
    display: inline;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: -1;
    box-shadow: 0px 7px 6px 10px rgba(0, 0, 0, .25);
  }

  .l42-cc__details label {
    padding-left: 12px;
  }

  #l42-cc__details:checked ~ .l42-cc .l42-cc__tabcontainer .l42-cc__details label {
    height: 40px;
    width: 160px;
    background-color: white;
    cursor: pointer;
    display: block;
    border-radius: 4px;
  }

  /*if Details is checked, fix top part on top of page*/
  #l42-cc__details:checked ~ .l42-cc {
    position: fixed;
    top: 0;
  }
  .l42-cc__infocontainer {
    overflow: auto;
    max-height: calc(100vh - 242px);
    min-height: calc(100vh - 242px);
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
  }
  .l42-cc__infocontainer::-webkit-scrollbar {
    display: none;
  }
  #l42-cc__details:checked ~ .l42-cc .l42-cc__cwrapper {
    box-shadow: inset 0px 9px 6px -6px rgba(0, 0, 0, .25);    
  }
  .l42-cc__infocontainer div[id^="l42-cc__cinfo"] {
    max-width: 324px !important;
  }
}

/*set tab with no cookie content inactive by adding the class "l42-cc__tab--inactive" to the specific -li class="l42-cc__tab_*"- element*/
.l42-cc__tab--inactive {
  pointer-events: none;
}
.l42-cc__tab--inactive label[for^="l42-cc__radio"] {
  opacity: .2;
}
.l42-cc__tab--inactive input[type='checkbox']:before {
  background-color: #f1f1f1;
}