/* Normal Tile - Title + Excerpt below image */

.tile a {
  text-decoration: none !important;
  color: #333 !important;
}

.tile img {
  margin-bottom: 20px;
}

.tile h3 {
  text-transform: uppercase;
  font-size: 13pt;
  margin-bottom: 10px;
}

.tile p.content {
  font-size: 10pt;
  margin-bottom: 20px !important;
}

.tile .more {
  margin-bottom: 20px;
  color: #fff !important;
  background-color: #333;
  display: inline-block;
  padding: 5px 10px;
  font-size: 10pt;
  line-height: 10pt;
}


/* Hover Tile - fixed heigth picture with title on Over */

.tile-hover a {
  background-position: center center;
  background-size: cover;
  display: block;
  text-decoration: none !important;
  margin-bottom: 20px;
  position: relative;
}

.tile-hover .overlay {
  display: none;
  background-color: #000000;
  height: 100%;
  width: 100%;
  padding: 20px;
  position: absolute;
  top: 0;
}

.tile-hover .overlay-content {
  display: flex;
  height: 100%;
  width: 100%;
  text-align: center;
}

.tile-hover .overlay span {
  display: flex;
  width: 100%;
  justify-content: center;
  align-self: center;
  font-size: 20pt;
  color: white;
  text-transform: uppercase;
}

.tile-hover a:hover .overlay {
  display: block;
  animation: color_change 1s 1;
  background-color: #00000077;
}

.tile-hover img {
  min-width: 100%;
}

@keyframes color_change {
  from {
    background-color: #00000000;
  }
  to {
    background-color: #00000077;
  }
}


/* Taxonomy menu */

.tax-menu {
  margin: 10px 0 15px 0;
}

.tax-menu>li {
  margin: 0 5px;
}

.tax-menu>li>a {
  padding: 0 !important;
  font-size: 12pt;
  text-transform: uppercase;
  color: #D9D9D9 !important;
}

.tax-menu>li>a.active {
  background-color: transparent !important;
  color: #404040 !important;
}