.cookieplease {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2147483647;
  width: 100%;
  font: inherit;
  padding-top: 19px;
  padding-bottom: 19px;
  background-color: #fff;
  overflow: hidden;
  box-sizing: border-box;
  vertical-align: middle;
  user-select: none;

  .cookieplease__inner {
    width: 82.933%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cookieplease__headline {
    display: block;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 3px;
  }
  
  .cookieplease__description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .cookieplease__more {
    display: inline-block;
    color: #000;
    text-decoration: underline;
    font-size: 14px;

    &:hover {
      text-decoration: none;
    }

  }

  .cookieplease__actions {
    display: block;
  }

  .cookieplease__checkboxgroup {
    flex-shrink: 0;
    display: block;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;

    .cookieplease__checkbox {
      display: inline-block;
      margin-top: 20px;
      font-size: 12px;
      line-height: 24px;
      position: relative;
      white-space: nowrap;
      cursor: pointer;
      width: 47.4%;
      transition: all 400ms ease-in-out;

      &::before {
        content: '';
        box-sizing: border-box;
        border: 2px solid #000;
        width: 24px;
        height: 24px;
        display: inline-block;
        vertical-align: bottom;
        margin-right: 8px;
        transition: all 400ms ease-in-out;
      }

      &::after {
        content: '';
        box-sizing: content-box;
        width: 12px;
        height: 12px;
        display: block;
        position: absolute;
        left: 6px;
        top: 6px;
        opacity: 1;
        transition: all 400ms ease-in-out;
      }

      &.active {
        font-weight: bold;

        &::after {
          background-color: #000;
        }

      }
      
      &.disabled {
        cursor: not-allowed;
        pointer-events: none!important;
      }

    }

  }
  
  .cookieplease__buttongroup {
    display: block;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;

    .cookieplease__select, .cookieplease__button {
      display: inline-block;
      text-align: center;
      width: 47.4%;
      box-sizing: border-box;
      padding: 1em 0.5em;
      margin-top: 20px;
      font-size: 12px;
      line-height: 1.25;
      vertical-align: middle;
      cursor: pointer;
      font-weight: bold;
      transition: all 300ms ease-in-out;
      flex-shrink: 0;
      white-space: nowrap;
      border: 2px solid #000;
      background-color: transparent;

      &:hover {
        opacity: 0.8;
      }
    }

    .cookieplease__select {
      color: #000;
    }

    .cookieplease__button {
      background-color: #000;
      color: #fff;
    }

  }

  &.cookieplease--dark {
    background-color: #000;
    color: #fff;

    .cookieplease__more {
      color: #fff;
    }

    .cookieplease__checkboxgroup {
      .cookieplease__checkbox {
        &::before {
          border-color: #fff;
        }

        &.active {
          font-weight: bold;
  
          &::after {
            background-color: #fff;
          }
        }
      }
    }

    .cookieplease__buttongroup {

      .cookieplease__select, .cookieplease__button {
        border-color: #fff;
      }

      .cookieplease__select {
        color: #fff;
      }
  
      .cookieplease__button {
        background-color: #fff;
        color: #000;
      }

    }
  }
}
  
  @media screen and (min-width: 1024px) {
    .cookieplease {
      padding-top: 19px;
      padding-bottom: 32px;

      .cookieplease__inner {
        max-width: 928px;
      }

      .cookieplease__headline {
        font-size: 18px;
        margin-bottom: 8px;
      }

      .cookieplease__actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        margin-top: 30px;
      }
  
      .cookieplease__checkboxgroup {
        justify-content: flex-start;
  
        .cookieplease__checkbox {
          width: auto;
          margin-top: 0;
          margin-right: 50px;
        }
      }

      .cookieplease__buttongroup {
        justify-content: flex-end;
        
        .cookieplease__select, .cookieplease__button {
          margin-top: 0;
          margin-left: 16px;
          width: auto;
          padding: 1em 1.5em;
        }
      }

    }
  }

  @media screen and (min-width: 1920px) {
    .cookieplease {
      padding-top: 24px;
      padding-bottom: 40px;

      .cookieplease__inner {
        max-width: 1432px;
      }

      .cookieplease__headline {
        font-size: 24px;
        margin-bottom: 24px;
      }

      .cookieplease__description {
        font-size: 18px;
      }
  
      .cookieplease__checkboxgroup {
  
        .cookieplease__checkbox {
          font-size: 14px;
          margin-right: 70px;
        }

      }

      .cookieplease__buttongroup {

        .cookieplease__select, .cookieplease__button {
          font-size: 14px;
          margin-left: 24px;
          padding: 1em 4em;
        }

      }

    }
  }
  
  // @media screen and (orientation:landscape) {
  //   .cookieplease__select,.cookieplease__button {
  //     display: inline-block;
  //     width: auto;
  //   }
  // }
  