@media (max-width: $sidebar-breakpoint) {
  .offset .content-actionbar {
    transition:  all .25s ease-out;
    left: $sidebar-width-extended;
  }
  .content-actionbar {
    transition: all 0.25s ease-out;
    left: 0;
  }
}

@media (min-width: $sidebar-breakpoint) {
  .with-sidebar .content-actionbar {
    left: $sidebar-width;

    &.secondary-content-actionbar {
      left: 0;
    }
  }
}


.content-actionbar {
  z-index: $zindex-content-actionbar;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: $spacing-sm $body-padding-desktop;
  color: $white;
  background-color: $btn-primary-bg;
  min-height: $actionbar-height;

  &.secondary-content-actionbar {
    position: absolute;
    .list-inline {
      display: inline-flex;
    }
  }

  &.blue-content-actionbar {
    background-color: $blue-dark;
  }

  @include media-breakpoint-down(sm) {
    padding-left: $body-padding-mobile;
    padding-right: $body-padding-mobile;
    white-space: nowrap;
  }

  .list-inline li {
    margin-bottom: 0;
  }

  .form-control {
    background-color: $btn-primary-bg;
    border-color: $white;
    color: $white;

    &:placeholder {
      color: $white;
    }
  }
}

.content-actionbar {

  .btn {
    height: $spacing-md * 2;
    border-color: $modal-content-bg;
    background-color: transparent;
    color: $modal-content-bg;

    &.btn-primary {
      background-color: $modal-content-bg;
      color: $modal-footer-bg;

      @include hover-focus {
        border-color: $link-hover-color;
        background-color: $link-hover-color;
        color: $white;
      }
    }

    &.btn-secondary {

      @include hover-focus {
        border-color: $link-hover-color;
        background-color: $link-hover-color;
        color: $white;
      }
    }

    &.btn-danger, &.btn-warning {
      border-color: $btn-danger-border;
      background-color: $btn-danger-bg;

      @include hover-focus {
        border-color: $link-hover-color;
        background-color: $link-hover-color;
        color: $white;
      }
    }
  }

  .btn.disabled, :disabled.btn {
    cursor: not-allowed;
    opacity: 1;
    background-color: $petrol;
    background-image: url("@images/pattern-stripes-petrol.png");
    background-repeat: repeat;
    border-color: $white-transparenter;
    color: $white-transparent;

    @include hover-focus {
      border-color: $white-transparenter;
      color: $white-transparent;
    }
  }
}

