/*!
 * Copyright 2022 Scheer PAS Schweiz AG
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  imitations under the License.
 */

mat-card {
  padding-top: 8px;
}

.api-card {
  border-radius: 2px;
  min-width: 24%;
  height: 30%;
  border: 1px solid rgb(0 0 0 / 10%);
}

.api-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-column-gap: 0.8rem;
  height: 32px;
  align-items: center;
}

.api-card-title {
  font-size: 1.2rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 500;
}

.api-card-header-title {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 0.8rem;
}

.api-card-content {
  padding: 16px;
  height: 4rem;
}

.content-text {
  /* stylelint-disable-next-line value-no-vendor-prefix */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.api-card-button {
  width: 32%;
}

.api-card-actions {
  text-align: center;
  margin-top: 1.6rem;
  margin-bottom: unset;

  button {
    width: fit-content;
  }
}
