/*!
Theme Name: Capacity Bio
Version: 1.0
*/
html {
  --max-width: 1100px;
  --max-width-narrow: 900px;
  --padding: 30px;
  --color2: #fbbe55;
  --color3: #fb6b55;
}

html :where(.wp-block) {
  max-width: var(--max-width);
}

html,
body {
  font-size: 18px;
}

body {
  background-color: #141416;
  color: #eee;
  font-family: "Open Sans", sans-serif;
  margin: 0;
}

.fa-brands {
  font-family: var(--fa-style-family-brands);
  font-style: normal;
}

/*
@media (max-width: 1100px)
{
    body::after
    {
        content: 'Mobile view not yet coded. Please increase browser window width or zoom out to view site.';
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 24px;
        text-align: center;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.66);
    }
}
*/
a {
  color: #bbb;
  text-decoration: none;
}
a.selected {
  color: #55a0fb;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

.-narrow {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px;
}
@media (max-width: 600px) {
  .-narrow {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 420px) {
  .-narrow {
    padding-left: 10px;
    padding-right: 10px;
  }
}

h1.tabs {
  display: flex;
}
h1.tabs span {
  cursor: pointer;
  padding-right: 15px;
}
h1.tabs span:not(.selected) {
  color: #bbb;
}
h1.tabs span:not(.selected)::after {
  background-color: #bbb;
}

.section-inside {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: var(--padding);
}

.heading h1 {
  text-transform: uppercase;
  font-size: 1.66rem;
  margin-bottom: 1.66rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.heading h1 span {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  color: #55a0fb;
}
.heading h1 span::before {
  position: absolute;
  top: 10%;
  left: 6px;
  width: 3px;
  height: 0.7em;
  background-color: #55a0fb;
  content: "";
  transform: skew(-23deg);
  box-sizing: border-box;
}
.heading h1 span::after {
  position: absolute;
  top: 30%;
  left: 12px;
  width: 3px;
  height: 0.7em;
  background-color: #55a0fb;
  opacity: 0.5;
  content: "";
  transform: skew(-23deg);
  box-sizing: border-box;
}
.heading h2 {
  font-weight: 600;
  margin-top: 2em;
  /*
  span
  {
      position: relative;
      padding-left: 30px;
      color: #fff; // #85b5cd;

      &::after
      {
          position: absolute;
          top: 20%;
          left: 8px;
          width: 3px;
          height: 60%;
          background-color: #fff;
          content: '';
          transform: skew(-23deg);
          box-sizing: border-box;
      }
  }
  */
}
.heading .heading-subheading {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.2em;
  padding-left: 30px;
}

main > .container:not(:first-child) {
  padding-top: 60px;
}

main > .container {
  padding-left: 30px;
  padding-right: 30px;
}
@media (max-width: 600px) {
  main > .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 420px) {
  main > .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.container.-width-narrow .container-inside {
  max-width: var(--max-width-narrow);
}

.container.-columns-2 > .container-inside,
.container.-columns-2 > .container-inside > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: flex;
  margin: calc(-0.5 * var(--padding));
}
.container.-columns-2 > .container-inside > *,
.container.-columns-2 > .container-inside > .block-editor-inner-blocks > .block-editor-block-list__layout > * {
  flex: 1 0 0;
  padding: calc(0.5 * var(--padding));
}

/*
.-columns
{
    columns: 2;
    column-gap: 30px;

    p:first-child
    {
        margin-top: 0;
    }

    p:last-child
    {
        margin-bottom: 0;
    }

    p
    {
        break-inside: avoid;
    }
}
*/
.text p:first-child {
  margin-top: 0;
}
.text p:last-child {
  margin-bottom: 0;
}
.text li {
  margin-bottom: 0.5em;
}
.text.-boldisblue {
  font-size: 1.125rem;
}
.text.-boldisblue strong {
  color: #55a0fb;
  font-weight: 600;
}

.hero {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  font-size: 2vw;
  overflow: hidden;
  margin-top: -10px;
  margin-bottom: -40px;
}

.hero-video iframe {
  top: 0;
  left: 0;
  height: auto;
  filter: brightness(110%);
  border: none;
  position: absolute;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.hero-video::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #141416 0%, rgba(20, 20, 22, 0) 40%, rgba(20, 20, 22, 0) 60%, #141416 100%);
  content: "";
}

@media (max-width: 600px) {
  .hero {
    padding-top: 337.5px;
  }

  .hero-video iframe,
.hero-video::after {
    width: 600px;
    height: 337.5px;
  }
}
.hero-text {
  position: absolute;
  top: 1vw;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.hero-text h1 {
  text-transform: uppercase;
  font-size: 4vw;
}
.hero-text p {
  max-width: 40vw;
  font-size: 2.125vw;
}
@media (max-width: 1100px) {
  .hero-text h1 {
    font-size: 44px;
  }
  .hero-text p {
    font-size: 24px;
    max-width: 440px;
  }
}
@media (max-width: 440px) {
  .hero-text h1 {
    font-size: 8.38vw;
  }
  .hero-text p {
    font-size: 4.57vw;
  }
}
.hero-text *:first-child {
  margin-top: 0;
}
.hero-text *:last-child {
  margin-bottom: 0;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  margin: -20px -15px;
  padding-top: 15px;
}

.team-member {
  padding: 20px 15px;
  flex: 0 0 25%;
  box-sizing: border-box;
}
@media (max-width: 975px) {
  .team-member {
    flex: 0 0 33.3333333333%;
  }
}
@media (max-width: 725px) {
  .team-member {
    flex: 0 0 50%;
  }
}
@media (max-width: 420px) {
  .team-member {
    flex: 0 0 100%;
  }
}
.team-member .team-member-text {
  margin-left: auto;
  width: 80%;
  background-color: #141416;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  top: -25px;
  margin-bottom: -25px;
  left: 10px;
  padding: 9px 10px 10px 10px;
}
.team-member .team-member-text h2 {
  margin-top: 0;
  margin-bottom: 3px;
  font-size: 14px;
  color: #fff;
}
.team-member .team-member-text h2 span {
  text-transform: none;
}
.team-member .team-member-text div {
  font-size: 13px;
}

.team-member-photo {
  height: 0;
  padding-top: 100%;
  width: 100%;
  position: relative;
  background-color: #e1e2e4;
}
.team-member-photo img {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news-inside {
  min-height: 100%;
}

.news a {
  color: var(--color2);
}

.news-inside > *:first-child {
  margin-top: 0;
}

.news-inside > *:last-child {
  margin-bottom: 0;
}

.news-inside {
  display: flex;
  flex-direction: column;
}

.news-heading {
  font-weight: 500;
  margin-bottom: 7px;
}

.news-subheading {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
}

.news-excerpt {
  flex-grow: 1;
}

.logos-inside {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -20px;
}

.logos-logo a {
  display: block;
  margin: 20px;
}

.logos-logo img {
  max-width: 100%;
  width: 300px;
  filter: brightness(0) invert(100);
  display: block;
}

.logos-logo:nth-child(2) img {
  width: 200px;
}

@media (max-width: 650px) {
  .logos-inside {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: -10px;
  }

  .logos-logo a {
    margin: 10px;
  }

  .logos-logo img {
    width: 120px;
  }

  .logos-logo:nth-child(2) img {
    width: 90px;
  }
}
header {
  padding-bottom: 10px !important;
  padding-top: 10px !important;
  position: sticky;
  top: 0;
  z-index: 1;
  --bg-opacity: 0;
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #141416 0%, #141416 calc(100% - 2px), rgba(20, 20, 22, 0) 100%);
  z-index: -1;
  opacity: var(--bg-opacity);
  transition: opacity 0.1s;
}

.header-inside {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.header-logo a,
.header-logo img {
  display: block;
}
.header-logo img {
  width: 350px;
  height: auto;
  display: block;
}

.header-nav-toggle {
  display: none;
}

.header-nav {
  white-space: nowrap;
}
.header-nav ul {
  padding-left: 60px;
  display: flex;
  margin: -20px;
  text-transform: uppercase;
  font-size: 16px;
}
.header-nav li {
  display: block;
  padding: 20px;
  line-height: 1;
}

.header-nav a.-highlight {
  color: var(--color2);
}

.header-nav-close {
  display: none;
}

@media (max-width: 925px) {
  .header-nav ul {
    margin: -15px;
  }
  .header-nav li {
    padding: 15px;
  }
}
@media (max-width: 850px) {
  .header-inside {
    flex-direction: column;
    align-items: center;
  }

  .header-nav {
    padding-top: 30px;
  }
  .header-nav ul {
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .header-inside {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .header-nav-toggle {
    display: block;
    padding-left: 30px;
  }
  .header-nav-toggle button {
    width: 30px;
    background-color: transparent;
    border: 0;
    padding: 0;
    display: block;
  }
  .header-nav-toggle button .bar {
    width: 100%;
    height: 0;
    padding-top: 15%;
    background-color: #eee;
  }
  .header-nav-toggle button .bar:not(:last-child) {
    margin-bottom: 25%;
  }
}
@media (max-width: 560px) and (max-width: 400px) {
  .header-nav-toggle button {
    width: 7.5vw;
  }
}
@media (max-width: 560px) {
  .header-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
  }
  .header-nav-close button {
    background-color: transparent;
    border: 0;
    color: #eee;
    font-size: 2rem;
  }
}
@media (max-width: 560px) {
  .header-nav {
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.9);
    transition: opacity 0.25s;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .header-nav.-open {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 560px) {
  .header-nav .menu-header-menu-container ul {
    flex-direction: column;
    font-size: 2rem;
    margin: -20px;
    position: relative;
  }
  .header-nav .menu-header-menu-container ul li {
    padding: 20px;
  }
}
.post-title {
  margin-bottom: 1.66rem;
  /*
  display: flex;
  justify-content: space-between;
  */
}
.post-title h1 {
  margin: 0;
  margin-bottom: 1rem;
}
.post-title h1 span {
  padding-left: 0;
}
.post-title h1 span::before,
.post-title h1 span::after {
  display: none;
}

.post-title > div:not(first-child) {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.125rem;
}

.single-post .heading h1 {
  padding-top: 2rem;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 60px;
  padding-top: 60px;
}
footer .fa-brands {
  font-size: 1.5em;
  margin-right: 0.33em;
}
footer strong {
  color: var(--color1);
  padding-bottom: 2px;
  display: inline-block;
}

footer > div:first-child {
  display: flex;
  justify-content: space-between;
  padding: 0 30px 60px 30px !important;
  font-size: 14px;
  max-width: 900px;
}
footer > div:first-child > * {
  flex: 1 1 0;
}
footer > div:first-child > div {
  text-align: center;
}
footer > div:first-child p {
  margin: 0;
}
footer > div:first-child p:not(:last-child) {
  margin-bottom: 1em;
}

footer > div:last-child {
  text-align: center;
  font-size: 12px;
  padding-bottom: 30px;
}

@media (max-width: 825px) {
  footer > div:first-child > div:first-child {
    text-align: left;
  }
  footer > div:first-child > div:last-child {
    text-align: right;
  }
}
@media (max-width: 650px) {
  footer > div:first-child {
    flex-direction: column;
  }
  footer > div:first-child > div {
    text-align: center !important;
  }
  footer > div:first-child > div:first-child {
    padding-bottom: 20px;
  }
  footer > div:first-child > div:last-child {
    padding-top: 20px;
  }
}
body.mousenav a:focus {
  outline: none;
}

body:not(.mousenav) a:focus {
  outline: 2px dotted var(--color2);
  outline-offset: 3px;
}
body:not(.mousenav) p a:focus {
  outline-offset: 0;
}

.header-skip {
  position: absolute;
  top: 10px;
  left: 10px;
}
.header-skip a {
  color: #fff;
  display: block;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.header-skip:not(:focus-within) {
  opacity: 0;
  pointer-events: none;
}

/*# sourceMappingURL=style.css.map */
