.Home-header {
  position: relative;
  background-image: url(images/header-bg.jpg);
}

.Home-header .mdl-layout__header-row {
  padding: 0;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.mdl-layout__title {
  font-size: 14px;
  text-align: center;
  font-weight: 300;
  color: #212121 !important;
  color-scheme: only light;
}

.is-compact .mdl-layout__title span {
  display: none;
}

.Home-logo-row {
  min-height: 200px;
}

.Home-header .mdl-layout__title span {
  color: #212121 !important;
}

.is-compact .Home-logo-row {
  min-height: auto;
}

.Home-logo {
  background: url(images/logo.png) 50% no-repeat;
  background-size: cover;
  height: 150px;
  width: 150px;
  margin: auto auto 10px;
}

.is-compact .Home-logo {
  height: 50px;
  width: 50px;
  margin-top: 7px;
}

.Home-navigation-row {
  background-color: rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  height: 45px;
}

.Home-navigation-row  .mdl-navigation {
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.Home-navigation-row .mdl-navigation__link {
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  line-height: 42px;
}

/* Make navigation links readable against header background */
.Home-navigation-row .mdl-navigation__link,
.mdl-layout__drawer .mdl-navigation__link {
  color: #212121;
  color-scheme: only light;
}

/* Active link color (uses site's accent) */
.Home-navigation-row .mdl-navigation__link.is-active,
.mdl-layout__drawer .mdl-navigation__link.is-active {
  color: #2196F3;
  font-weight: bold;
  color-scheme: only light;
}

.Home-header .mdl-layout__drawer-button {
    background-color: rgba(197, 197, 197, 0.44);
}

.Home-navigation-row .is-active {
  position: relative;
  font-weight: bold;
}

.Home-navigation-row .is-active:after {
  content: "";
  width: 70%;
  height: 2px;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #2196F3;
  left: 15%;
}

.Home-card .mdl-card__title {
  padding-bottom: 0;
}

.Home-blog-card-compact .mdl-card__title {
  padding-bottom: 0;
}

.Home-blog-card-bg > .mdl-card__actions {
  height: 52px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
}

img.article-image {
  width: 100%;
  height: auto;
}

.Home-max-width {
  max-width: 900px;
  margin: auto;
}

.Home-copy {
  max-width: 700px;
}

.no-padding {
  padding: 0;
}

.no-left-padding{
  padding-left: 0;
}

.no-bottom-padding {
  padding-bottom: 0;
}

.padding-top {
  padding: 10px 0 0;
}

.Home-share-btn {
  position: relative;
  float: right;
  top: -4px;
}

.demo-card-event > .mdl-card__actions {
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.Home-contact .mdl-textfield {
  width: 100%;
}

.Home-contact form {
  max-width: 550px;
  margin: auto;
}

footer {
  background-image: url(images/footer-background.png);
  background-size: cover;
}

/* Keep footer at viewport bottom when page content is short */
html, body {
  height: 100%;
}
.mdl-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.mdl-layout__content {
  display: flex;
  flex-direction: column;
}
.mdl-layout__content > .Home-max-width {
  flex: 1 0 auto;
}

/* Make card media backgrounds white so transparent PNGs don't show accent/pink underneath */
.Home-card .mdl-card__media {
  background-color: #ffffff;
}

/* Override MDL accent (pink) for Home cards' Read more buttons to a cooler blue */
.Home-card .mdl-button.mdl-button--accent,
.Home-card .mdl-button--colored.mdl-button--accent {
  background-color: #2196F3 !important; /* blue */
  color: #fff !important;
}
.Home-card .mdl-button.mdl-button--accent:hover {
  background-color: #1976D2 !important;
}

/* Site-wide override: change MDL accent (pink) to blue */
.mdl-color--accent,
.mdl-color-text--accent,
.mdl-button--accent,
.mdl-button--accent.mdl-button--raised,
.mdl-button--accent.mdl-button--fab {
  background-color: #2196F3 !important;
  color: #fff !important;
}
.mdl-button--accent .mdl-ripple,
.mdl-button--accent.mdl-button--raised .mdl-ripple,
.mdl-button--accent.mdl-button--fab .mdl-ripple {
  background: rgba(255,255,255,0.7) !important;
}

