/**
 * #.# Common SCSS
 *
 * Can include things like variables and mixins
 * that are used across the project.
*/
/**
 * #.# Styles
 *
 * CSS for both Frontend+Backend.
 */
.relatedcontent_block {
  margin: 10px 0;
  max-width: 100%;
  padding: 2rem;
  border: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
  min-height: 300px;
  position: relative;
  background-color: #eee9e7;
  transition: transform .15s,box-shadow .15s,filter .15s,-webkit-transform .15s,-webkit-filter .15s;
  background-color: gray; }

.relatedcontent_block:hover {
  -webkit-transform: scale(1.02) translateY(-2px);
  -ms-transform: scale(1.02) translateY(-2px);
  transform: scale(1.02) translateY(-2px);
  -webkit-box-shadow: 0 5px 10px black;
  box-shadow: 0 5px 10px black;
  -webkit-filter: brightness(1.2);
          filter: brightness(1.2); }

.relatedcontent_link {
  text-decoration: none; }

.relatedcontent_overlay_content {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  left: 0px;
  top: 0px;
  background: rgba(0, 0, 0, 0.35);
  opacity: 1;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  z-index: 10;
  background: -webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(25, 25, 25, 0.97)), to(transparent));
  background: -webkit-linear-gradient(bottom, rgba(25, 25, 25, 0.97) 20%, transparent);
  background: -o-linear-gradient(bottom, rgba(25, 25, 25, 0.97) 20%, transparent);
  background: linear-gradient(0deg, rgba(25, 25, 25, 0.97) 20%, transparent); }

.relatedcontent_action {
  min-height: 140px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: space-evenly;
      justify-content: space-evenly; }

.relatedcontent_overlay_action {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  left: 0px;
  top: 0px;
  background: rgba(0, 0, 0, 0.35);
  opacity: 1;
  z-index: 10; }

.relatedcontent_content {
  color: #fff;
  position: absolute;
  bottom: 5px;
  left: 30px;
  font-size: 18px;
  z-index: 100;
  text-align: left; }

.relatedcontent_content .relatedcontent_subhead {
  font-size: .8em;
  text-align: left;
  opacity: .8;
  min-height: 10px; }

.relatedcontent-text.relatedcontent_action {
  z-index: 100;
  text-align: center; }

.relatedcontent_action .relatedcontent_title {
  text-align: center;
  border-bottom: 1px dotted;
  font-size: 1.7rem;
  line-height: unset !important; }

.relatedcontent_action .relatedcontent_subhead {
  font-size: 1rem; }

@media only screen and (max-width: 600px) {
  .relatedcontent_block {
    min-height: 200px;
    padding: 1rem; }
  .relatedcontent_content {
    left: 10px; }
  .relatedcontent_content .relatedcontent_title {
    font-size: 15px;
    margin: 0px; }
  .relatedcontent_content .relatedcontent_subhead {
    font-size: 12px;
    margin: 10px 0px; }
  .relatedcontent_action .relatedcontent_title {
    font-size: 1.2rem; }
  .relatedcontent_action .relatedcontent_subhead {
    font-size: .9rem; } }
