

// Header Styles
.globalhead {
  background: #000;
  padding: .5rem 0;
  height: 2.5rem;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

.globalhead,
.pageheader {

  a {
    color: #E6E6E6;
    text-decoration: none;

    &:hover,
    &:focus {
      text-decoration: none;
      background: transparent;
      color: #f5f58f;

      // Simplest way to change property of a sub node on focus/hover
      path{ fill: currentColor; }// scss-lint:disable NestingDepth
    }
  }

  svg { height: 100%; }
}

.pageheader { height: 200px;

  span {
    vertical-align: middle;
    position: relative;
    top: 2px;
  }

  svg {
    margin-right: 10px;
    height: 40px;
    vertical-align: middle;
  }
}

.home-header,
.pageheader {
  width: 100%;
  height: 12rem;
  background:#333;
  color: white;
  display: -webkit-flex;
  -webkit-flex-direction: row;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  h1 {
    font-size: 2rem;
    margin-top: .5rem;
  }

  @media (min-width: 800px) { height: 20rem; }
}

.globalheadplaceholder { height: 2.5rem; }

.home-section,
.page-section,
.article-header,
.article-body,
.article-footer,
.resource-comments{
  max-width: 530px;
  box-sizing: border-box;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

@media screen and (min-width: 50em) {
  .home-section,
  .page-section,
  .article-header,
  .article-body,
  .article-footer,
  .resource-comments { max-width: 640px; }
}
