﻿.card-block
{
 position: relative;
}

.card-title 
{
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 background-color: rgba(0, 0, 0, 0.1);
 padding: 1rem;
 font-size: 0.95rem;
 color: #000;
 text-transform: uppercase;
 overflow: hidden;
 white-space: nowrap;
 text-overflow: ellipsis;
}

.tile-text-block 
{
 overflow: hidden;
}

.tile-image-block 
{
 position: relative;
 width: 100%;
 text-align: center;
}

.tile-image-text 
{
 position: absolute;
 bottom: 0;
 padding: 8px 0;
 background-color: rgba(0,0,0, 0.25);
 color: #fff;
}

@media (min-width: 768px) 
{
 .tile-image 
 {
  height: 100px;
  object-fit: cover;
 }

 .tile-text-block 
 {
  height: 100px;
  max-height: 100px
 }

 .tile-text 
 {
  height: calc(100% - 20px);
 }
}