/* This hides the sidebar element */
html {
  overflow-x: hidden;
}

.wg-wrapper {
  display: flex;
  align-items: stretch;
}

.wg-main {
  flex: 1 0 65%;
  padding-right: 1rem;
  padding-top: 2rem;
}

.wg-sidebar {
  flex: 1 0 35%;
  background-color: #e3e8ea;
  padding: 2rem 1rem 1rem;
  position: relative;
}

.wg-sidebar:after {
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  width: 999px;
  background-color: #e3e8ea;
  height: 100%;
  content: '';
}

.wg-main fieldset {
  padding: 1rem;
  border: 1px solid #ddd;
}

.wg-sidebar h3 {
  margin: 3rem 0;
  float: none;
}

.wg-sidebar .card {
  margin-bottom: 1rem;
}

.card {
  padding: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17);
}

.wg-member__header {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
}

.wg-member__header img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  margin-right: 1rem;
}

.wg-member__header__title {
  flex: 1 0 0;
}
.wg-member__header__title__name {
  font-size: 18px;
  margin-bottom: 8px;
  display: block;
}

.wg-member__header__meta {
  font-weight: 100;
  font-style: italic;
}

.member-content-toggle {
  content: 'More';
}

.wg-member__content {
  margin-bottom: 1rem;
}

/* Architecture Categories */

.a-categories {
  padding: 0;
}

.a-categories li,
.a-categories ul {
  display: flex;
}

.level-1 li {
  align-items: flex-start;
}

.a-categories a {
  padding: 4px;
  border-radius: 4px;
  background-color: #012c8b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  margin-bottom: 8px;
  min-width: 100px;
  max-width: 100px;
  text-align: center;
  transition: all 0.15s ease-out;
}

.a-categories a:hover {
  background-color: #2656c1;
  transform: scale(1.05);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.level-1 > li {
  padding: 8px;
  padding-bottom: 0;
  border-radius: 4px;
  background-color: #e3e8ea;
  margin-bottom: 8px;
}

.level-2 {
  flex-wrap: wrap;
  align-items: stretch;
}

.level-2 {
}

.level-2 > li {
  display: flex;
  margin-right: 8px;
  margin-bottom: 8px;
}
.level-2 > li a {
  background-color: #5d6369;
  margin: 0;
  height: 100%;
}

.level-2 > li a:hover {
  background-color: #868f98;
}

/* MOBILE STYLE */

@media (max-width: 800px) {
  .wg-wrapper {
    flex-wrap: wrap;
  }
  .wg-main,
  .wg-sidebar {
    flex: 1 0 100%;
  }
}
