/* Mixins */
/**
 * Returns value from colors map
 */
/**
 * Turns pixels to rems
 * We typically set out HTML font size to 62.5% which helps us have a base-10 value to work with.
 * So the following mixin accepts a pixel value that is then turned into a corresponding rem value.
 */
/**
 * Function for converting a px based font-size to rem.
 *
 * @param $size - the value in pixel you want to convert
 *
 * e.g. p {to-rem(12);}
 *
 */
.node--type--tile--teaser {
  max-width: 25.9rem;
}
@media only screen and (max-width: 959px) {
  .node--type--tile--teaser {
    margin: 0 auto;
    padding: 0 0.1rem 5rem 2.2rem;
  }
}
@media only screen and (min-width: 960px) {
  .node--type--tile--teaser {
    padding: 0 0 8.1rem 2rem;
  }
}
@media only screen and (min-width: 1200px) {
  .node--type--tile--teaser {
    padding-bottom: 0;
  }
}
.node--type--tile--teaser .uk-card {
  background: white;
  text-decoration: none;
}
.node--type--tile--teaser .uk-card .uk-card-body {
  border-left: 0.1rem solid #c9c9c9;
  border-right: 0.1rem solid #c9c9c9;
  padding: 2rem;
}
.node--type--tile--teaser .uk-card .uk-card-title {
  font-family: "Roboto-Medium", sans-serif !important;
  font-size: 2rem;
  line-height: 1.4 !important;
  margin-bottom: 0;
}
.node--type--tile--teaser .uk-card .subtitle {
  font-family: "Roboto-Regular", sans-serif !important;
  font-size: 1.6rem;
  line-height: 1.4 !important;
  color: #535353;
  margin-top: 0.5rem;
}
.node--type--tile--teaser .uk-card .subtitle h1:last-child,
.node--type--tile--teaser .uk-card .subtitle h2:last-child,
.node--type--tile--teaser .uk-card .subtitle h3:last-child,
.node--type--tile--teaser .uk-card .subtitle h4:last-child,
.node--type--tile--teaser .uk-card .subtitle h5:last-child,
.node--type--tile--teaser .uk-card .subtitle h6:last-child,
.node--type--tile--teaser .uk-card .subtitle p:last-child,
.node--type--tile--teaser .uk-card .subtitle ul:last-child,
.node--type--tile--teaser .uk-card .subtitle ol:last-child,
.node--type--tile--teaser .uk-card .subtitle dl:last-child,
.node--type--tile--teaser .uk-card .subtitle pre:last-child,
.node--type--tile--teaser .uk-card .subtitle address:last-child,
.node--type--tile--teaser .uk-card .subtitle fieldset:last-child,
.node--type--tile--teaser .uk-card .subtitle figure:last-child,
.node--type--tile--teaser .uk-card .subtitle table:last-child {
  margin-bottom: 0;
}
.node--type--tile--teaser .uk-card:not(:hover) .uk-card-body {
  border-bottom: 0.4rem solid #8c8c8e;
}
.node--type--tile--teaser .uk-card:not(:hover) .uk-card-title {
  color: black;
}
.node--type--tile--teaser .uk-card:hover .uk-card-body {
  border-bottom: 0.4rem solid #26b7de;
}
.node--type--tile--teaser .uk-card:hover .uk-card-title {
  color: #fd5312;
}