/* -----------------------------------------------
Layout: View
----------------------------------------------- */

// Container
.b-view {
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

body.b-has-app-nav {
  .b-view {
    padding-left: 240px;
    @media only screen and (max-width: 1140px) {
      padding-left: initial;
    }
  }
}

// Content
.b-view-content {
  margin: 3rem auto;
  width: 95%;
  max-width: 1200px;
  @media screen and (max-width: 768px) {
    width: 100%;
    margin: 1rem auto;
    padding: 1rem;
  }
}

// Header
.b-view-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 100%;
  padding: 1.5rem;
  width: 100%;
  color: #174071;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  z-index: 250;
  &.is-sticky {
    position: sticky;
    top: 60px;
  }
}

.b-view-header-title {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  word-wrap: break-word;
  flex-wrap: wrap;
  color: #174071;
  @media only screen and (max-width: 1140px) {
    font-size: 1.5rem;
  }
}
