/**
 * @file
 * Visual styles for Base+'s node in teaser tile view.
 */
.node--view-mode-mt-metro-tile {
  margin-bottom: 16px;
  overflow: hidden;
}
.view-mt-metro-tiles--layout-2 .node--view-mode-mt-metro-tile {
  margin-bottom: 13px;
}
.node--type-mt-album.node--view-mode-mt-metro-tile {
  overflow: visible;
}
@media (min-width: 992px) and (max-width: 1200px) {
  .node--view-mode-mt-metro-tile {
    margin-bottom: 11px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .node--view-mode-mt-metro-tile {
    margin-bottom: 8px;
  }
}
.view-mt-metro-tiles .view-content {
  margin-left: -0.5%;
  margin-right: -0.5%;
}
.view-mt-metro-tiles .view-content:after {
  display: block;
  clear: both;
  content: "";
}
.view-mt-metro-tiles .views-row {
  float: left;
  width: 100%;
  margin-left: 0.5%;
  margin-right: 0.5%;
}
.view-mt-metro-tiles .views-row .node__title {
  font-size: 20px;
}
@media (min-width: 768px) {
  .view-mt-metro-tiles .views-row {
    width: 49%;
  }
}
@media (min-width: 992px) {
  .view-mt-metro-tiles .views-row {
    width: 24%;
  }
}
.view-mt-metro-tiles .images-container {
  margin-bottom: 0;
}
.node--view-mode-mt-metro-tile .overlay--colored {
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
  opacity: 0.4;
  background: linear-gradient(20deg, hsl(0deg 0% 0% / 86%), hsl(0deg 0% 0% / 20%));
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.node--view-mode-mt-metro-tile:hover .overlay--colored {
  opacity: 1;
}
@media (min-width: 768px) {
  .view-mt-metro-tiles .views-row.view--current-page--0:first-child,
  .view-mt-metro-tiles .views-row.view--current-page--0:nth-child(2),
  .view-mt-metro-tiles .views-row.view--current-page--0:nth-child(3),
  .view-mt-metro-tiles .views-row.view--current-page--:first-child,
  .view-mt-metro-tiles .views-row.view--current-page--:nth-child(2),
  .view-mt-metro-tiles .views-row.view--current-page--:nth-child(3) {
    width: 49%;
  }
  .view-mt-metro-tiles--layout-2 .views-row.view--current-page--0:nth-child(4),
  .view-mt-metro-tiles--layout-2 .views-row.view--current-page--:nth-child(4) {
    width: 49%;
  }
}
@media (min-width: 1200px) {
  .view-mt-metro-tiles .views-row.view--current-page--0:first-child .node__title,
  .view-mt-metro-tiles .views-row.view--current-page--0:nth-child(2) .node__title,
  .view-mt-metro-tiles .views-row.view--current-page--0:nth-child(3) .node__title,
  .view-mt-metro-tiles .views-row.view--current-page--:first-child .node__title,
  .view-mt-metro-tiles .views-row.view--current-page--:nth-child(2) .node__title,
  .view-mt-metro-tiles .views-row.view--current-page--:nth-child(3) .node__title {
    font-size: 26px;
  }
  .view-mt-metro-tiles--layout-2 .views-row.view--current-page--0:nth-child(4) .node__title,
  .view-mt-metro-tiles--layout-2 .views-row.view--current-page--:nth-child(4) .node__title {
    font-size: 26px;
  }
}
.node--view-mode-mt-metro-tile .metro-tile-container {
  position: relative;
}
.node--view-mode-mt-metro-tile .metro-tile__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: 100%;
  max-width: 100%;
  -webkit-transform: translateY(80px);
  -moz-transform: translateY(80px);
  -ms-transform: translateY(80px);
  -o-transform: translateY(80px);
  transform: translateY(80px);
}
.metro-tile__caption.two-items {
  padding: 20px;
  -webkit-transform: translateY(40px);
  -moz-transform: translateY(40px);
  -ms-transform: translateY(40px);
  -o-transform: translateY(40px);
  transform: translateY(40px);
}
.metro-tile__caption.one-item {
  padding: 30px 20px;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  -ms-transform: translateY(10px);
  -o-transform: translateY(10px);
  transform: translateY(10px);
}
.node--view-mode-mt-metro-tile:hover .metro-tile__caption {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.node--view-mode-mt-metro-tile .metro-tile__caption a {
  color: #ffffff;
  text-decoration: none;
}
.node--view-mode-mt-metro-tile .metro-tile__caption a:hover,
.node--view-mode-mt-metro-tile .metro-tile__caption a:focus {
  color: #ffffff;
}
.node--view-mode-mt-metro-tile .caption-text-first {
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 10px;
}
.node--view-mode-mt-metro-tile:hover .caption-text-first {
  opacity: 1;
}
.node--view-mode-mt-metro-tile .caption-text-first .field--entity-reference-target-type-taxonomy-term,
.node--view-mode-mt-metro-tile .caption-text-first .field--entity-reference-target-type-taxonomy-term.field__item {
  padding-top: 0;
}
.node--view-mode-mt-metro-tile .caption-text-first .field--entity-reference-target-type-taxonomy-term a {
  font-size: 14px;
}
.node--view-mode-mt-metro-tile .caption-text-first .field--entity-reference-target-type-taxonomy-term.field--label-hidden:before,
.node--view-mode-mt-metro-tile .caption-text-first .field--entity-reference-target-type-taxonomy-term.field--label-hidden.field__item:before {
  top: 2px;
}
.node--view-mode-mt-metro-tile .caption-text-first a {
  color: #ffffff;
}
.node--view-mode-mt-metro-tile .caption-text-second {
  color: #ffffff;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-size: 16px;
  font-weight: 700;
}
.node--view-mode-mt-metro-tile:hover .caption-text-second {
  opacity: 1;
}
.node--view-mode-mt-metro-tile .caption-text-second .field--entity-reference-target-type-taxonomy-term,
.node--view-mode-mt-metro-tile .caption-text-second .field--entity-reference-target-type-taxonomy-term.field__item {
  padding-top: 0;
}
.node--view-mode-mt-metro-tile .caption-text-second .field--entity-reference-target-type-taxonomy-term a {
  font-size: 14px;
}
.node--view-mode-mt-metro-tile .caption-text-second .field--entity-reference-target-type-taxonomy-term.field--label-hidden:before,
.node--view-mode-mt-metro-tile .caption-text-second .field--entity-reference-target-type-taxonomy-term.field--label-hidden.field__item:before {
  top: 0px;
}
