/*****************************************************************************************************************************************************************/
/* COOKIE NOTICE *************************************************************************************************************************************************/
/*****************************************************************************************************************************************************************/

.cookie-wrapper {
  position: fixed;
  overflow-y: scroll;
  background-color: rgba(0,0,0,0.6);
  width: 100%;
  height: 100vh;
  min-height: 100%;
  z-index: 999999;
}

.cookie-wrapper .cookie-main .cookie-link {
  text-decoration: unset;
}

.cookie-bg-overlay {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: #000;
  opacity: 0.5;
  z-index: 0;
}

.cookie-main {
  width: 100%;
  max-width: 900px;
  position: relative;
  background: white;
  clear: both;
  float: left;
  padding: 5rem;
  margin: 0 auto;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, 3rem);
}

.information-text {
  margin-bottom: 20px;
}

.row-item {
  min-width: 150px;
  min-height: 30px;
  margin: 10px 0;
  width: 25%;
}

.row.link-row {
  padding: 20px 0;
}

.checkbox-item {
  display: inline-block;
}

.checkbox-item label {
  width: unset;
  border: unset;
  margin: 0 8rem 0 0;
}

.checkbox-item:first-of-type {
  color: #ababab;
}

.checkbox-item:first-of-type input[type="checkbox"] {
  color: #ababab;
  background-color: #ababab;
}

.checkbox-item:first-of-type input[type="checkbox"]::after {
  color: #fff;
}

.checkbox-item:first-of-type input[type="checkbox"]:checked {
  border: unset;
}

.checkbox-item input[type="checkbox"] {
  position: relative;
  display: inline-flex;
  margin-right: 1.5rem;
  top: -1px;
  color: #000;
}

#cm-notification {
  display: none;
}

#cm-notification p {
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid #ccc;
}

i.fas.fa-angle-down,
i.fas.fa-angle-up {
  font: normal normal normal 14px/1 FontAwesome;
}

.toggle {
  max-height: 1800px!important;
  transition: max-height 0.5s;
}

.details_btn_close,
.details_btn_open {
  color: #999;
}

#hide {
  display: none;
}

#toggle-details-text {
  display: none;
  overflow: hidden;
  transition: max-height 0.5s;
  margin: 20px 0;
}

.impressum-link {
  text-transform: uppercase;
}

a.button.button--primary.no-icon {
  min-width: unset;
  padding: 1.9rem 3.8rem 2rem;
}

.button.button--primary.no-icon,
.button.button--primary.no-icon:hover,
.button.button--primary.no-icon::after {
  background: inherit;
  color: inherit;
}

.button.button--primary.no-icon::after {
  content: unset;
}

.button.button--primary.invert,
.button.button--primary.invert:hover {
  text-align: left;
}

/*****************************************************************************************************************************************************************/
/* COOKIE NOTICE  ************************************************************************************************************************************************/
/* GLOBAL STYLING ************************************************************************************************************************************************/
/*****************************************************************************************************************************************************************/

.align-right {
  text-align: right;
  float: right;
  clear: both;
}

.align-left {
  text-align: left;
  float: left;
  clear: both;
}

/*****************************************************************************************************************************************************************/
/* COOKIE NOTICE *************************************************************************************************************************************************/
/* MEDIA QUERIES *************************************************************************************************************************************************/
/*****************************************************************************************************************************************************************/

@media (max-width: 767px) {
  .cookie-wrapper {
    position: fixed;
  }

  .cookie-main {
    position: absolute;
    width: auto;
    background: #fff;
    clear: both;
    padding: 2rem;
    margin: 2rem;
    top: unset;
    left: unset;
    transform: unset;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 10;
  }

  .cookie-bg-overlay {
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: 0;
  }

  .cookie-wrapper .cookie-main .btn-grp {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    text-align: center;
    bottom: 0;
  }

  .checkbox-item label {
    width: 100%;
  }

  .checkbox-item {
    display: block;
  }

  .btn-grp .button--primary {
    text-align: center;
  }

  .details-text {
    padding-bottom: 130px;
  }
}
