.card {
  border: initial;
  background: $foreground-color;

  &.img-card{
    .card-body{
      padding: 5px;
    }
  }

  &.card-icon{
    svg{
      height: 65px;
    }
  }

  &.card-icon-medium{
    svg{
      height: 45px;
    }
    font-size: 1rem;
  }

  &.list-item{
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
  }

  .card-header .card-icon {
    right: 5px;
    top: 5px;
  }

  .card-subtitle {
    margin: 0;
    margin-bottom: 1rem;
  }

  .card-header .handle {
    cursor: default;
  }

  border-radius: calc(0.15rem - 1px);
  @include depth(1);

  .card-body {
    padding: 1.75rem;

    @include media-breakpoint-down(xs) {
      padding: 1.25rem;
    }

    &.sm {
      padding: 1.25rem 1.75rem;
    }
  }

  .card-title {
    margin-bottom: 0;
  }
}

.card-title {
  font-size: 1.1rem;
  @include media-breakpoint-down(sm) {
    font-size: 0.9rem;
  }
  padding: 1.75rem 1.75rem 0 1.75rem;

  @include media-breakpoint-down(xs) {
    padding: 1.25rem 1.25rem 0 1.25rem;
  }
  svg{
    height: $size-medium;
  }
  a, button{
    color: $theme-color-1;
    &:hover{
      color: $theme-color-2;
    }
  }
  ul{
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
    li{
      display: inline-block;
      &:not(:last-child){
        margin-right: $size-small;
      }
      button{
        color: $button-text-color;
        font-size: .55rem;
        &.active{
          color: $white !important;
        }
        &:hover{
          color: $white !important;
        }
      }
    }
  }
}

.card-img {
  border-radius: calc(0.25rem - 1px);
  height: 100%;
  object-fit: cover;
  max-height: 200px;
  width: unset;
}

.card-img-fluid {
  border-radius: calc(0.25rem - 1px);
  object-fit: cover;
}

.card-img-bottom {
  width: 100%;
  border-bottom-left-radius: calc(0.15rem - 1px);
  border-bottom-right-radius: calc(0.15rem - 1px);
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(0.15rem - 1px);
  border-top-right-radius: calc(0.15rem - 1px);
}

.card-img-left {
  width: 100%;
  border-top-left-radius: calc(0.15rem - 1px);
  border-bottom-left-radius: calc(0.15rem - 1px);
  height: 100%;
  object-fit: cover;
}

.card-img-right {
  width: 100%;
  border-top-right-radius: calc(0.15rem - 1px);
  border-bottom-right-radius: calc(0.15rem - 1px);
  height: 100%;
  object-fit: cover;
}

.card-img-overlay {
  background: rgba(#000000, 0.5);
  padding: 1.75rem;

  @include media-breakpoint-down(xs) {
    padding: 1rem;
  }
}

.card-top-buttons {
  padding: 1.3rem;
  right: 0;
  top: 0;

  @include media-breakpoint-down(xs) {
    padding: 0.35rem;
  }
}

.card-header {
  border: initial;
  background: initial;
  padding-top: 0;
}
.item-check {
  pointer-events: none;
}


.list-thumbnail {
  background-color: $theme-color-2;
  border-radius: $border-radius;
  padding: 0;
  border: initial;
  height: auto;
  max-width: unset;
  height: 100%;
  object-fit: cover;
  width: 90px;

  &.thumbnail-icon{
    width: 90px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    @include media-breakpoint-down(sm) {
      width: 30px !important;
    }
  }

  svg{
    height: 30px;
    color: $button-text-color;
    @include media-breakpoint-down(sm) {
      height: 20px;
    }
  }

  &.responsive {
    @include media-breakpoint-down(md) {
      width: 80px;
      //height: 110px;
    }

    @include media-breakpoint-down(xs) {
      width: 70px !important;
      //height: 100%;
    }
  }

  &.small {
    height: 60px;
    font-size: 1rem;

    @include media-breakpoint-down(md) {
      height: 55px;
    }

    @include media-breakpoint-down(xs) {
      height: 50px;
    }
  }

  &.xsmall {
    height: 40px;
    font-size: 1rem;

    @include media-breakpoint-down(md) {
      height: 40px;
    }

    @include media-breakpoint-down(xs) {
      height: 40px;
    }
  }
}

.list-thumbnail-letters {
  width: 85px;
  height: 85px;
  background: $theme-color-1;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
  color: $button-text-color;

  @include media-breakpoint-down(md) {
    width: 80px;
    height: 80px;
  }

  @include media-breakpoint-down(xs) {
    width: 70px;
    height: 70px;
  }

  &.small {
    width: 60px;
    height: 60px;
    font-size: 1rem;

    @include media-breakpoint-down(md) {
      width: 55px;
      height: 55px;
    }

    @include media-breakpoint-down(xs) {
      width: 50px;
      height: 50px;
    }
  }
}