// ----------------- //
// COOKIES
//
.cookie-wrapper {
  z-index: 9999;
  position: fixed;

  .cookie-settings, .cookie-main {
    position: fixed;
    width: 100vw;
    bottom: 0;
    left: 0;
    background-color: @hwk-blue-light-25;
    transition: max-height 1s ease-in-out;
    padding-top: 30px;
  }
  .cookie-main {
    max-height: 600px;
    @media (max-width: @screen-sm-max) {
      max-height: 100vh;
      overflow-y: auto;
    }
  }
  .cookie-settings {
    max-height: 0;
  }
  &.cookie-settings-active {
    .cookie-main {
      max-height: 0;
    }
    .cookie-settings {
      max-height: 600px;
      @media (max-width: @screen-sm-max) {
        max-height: 100vh;
        overflow-y: auto;
      }
    }
  }


  .cookie-settings-link {
    font-weight: @font-weight-bold;
    cursor: pointer;
  }
  .cookie-buttons {
    margin-top: 20px;
    margin-bottom: 20px;
    .btn {
      margin-bottom: 20px;
      margin-left: 20px;
    }
    @media (min-width: @screen-sm-min) {
      display: flex;
      justify-content: flex-end;
    }
    @media (max-width: @screen-xs-max) {
      .btn {
        margin-left: 0;
        margin-right: 20px;
      }
    }
  }
}