﻿

.card {
    text-align: left;
    flex-direction: row;
    background-color: #36768e;
    border: 0;
    transition: all ease-in 300ms;
    box-shadow: 0 7px 7px rgba(0, 0, 0, 0.18);
    margin: 0.6em 0.1em;
    padding-bottom: 0.8em;
    min-height: 20vh !important;
    max-height: 20vh !important;
    overflow: hidden !important;
    padding: 0 !important;
    overflow: hidden;
}
.card.dark {
  color: #fff;
}

.card:hover {
    transform: translateY(-5px);
    background-color:white;
    color: black;
}

.card.card.bg-light-subtle .card-title {
  color: dimgrey;
}
.card img {
  max-width: 100%;
  margin: 0 auto;
  padding: 0.1em;
  border-radius: 0.3em;
  width:100%;
  height:100%;
  max-height:140px;
}
.card-body {
  /*display: flex;
  justify-content: flex-start;*/
}

.image-section{
    max-width:100%;
    margin-right: 1em;
    width:100%;
}
.text-section {
    max-width: 100%;
    align-content:center;
    text-align:center;
}
.card-title {
    font-size: 1em;
    font-weight: 500;
    height: 1.7rem;
    color: black;
    line-height: 1.3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-text{
    font-size: 0.8rem;
    line-height:inherit;
}

@media screen and (max-width: 475px) {
  .card {
    font-size: 0.9em;
  }
}
