* {
  box-sizing: border-box;
}

body {
  background: #000;
  color: #555;
  font: 12px "Open Sans", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: #555;
  text-decoration: none;
}

a:hover {
  color: #2b2b2b;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

.uppercase {
  text-transform: uppercase;
}

.clearfix::after {
  clear: both;
  content: "";
  display: table;
}

header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 55;
}

.header-container {
  min-height: 73px;
  position: relative;
}

h1#logo {
  border-right: 1px solid #ccc;
  float: left;
  min-height: 73px;
  padding: 0;
  position: relative;
  width: 10px;
  z-index: 500;
}

h1#logo a {
  background: #fff;
  bottom: 0;
  display: block;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  text-indent: -9999px;
  top: 0;
}

h1#logo a::before {
  content: none;
}

#options {
  margin-left: 10px;
  position: relative;
  text-align: left;
  white-space: nowrap;
  z-index: 300;
}

#options ul {
  border-left: 1px solid #ccc;
  float: left;
  font-size: 0;
  list-style: none;
  margin-left: -1px;
  min-height: 73px;
  padding: 13px 24px;
  padding-right: 0;
  position: relative;
}

#options li {
  width: 90px;
}

#options li a {
  color: #888;
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 19px;
  text-transform: uppercase;
}

#options li a:hover,
#options li a.current,
#options li a.selected {
  color: #2b2b2b;
}

#options ul#homepage,
#options ul#cv-menu {
  border: 0;
  display: block;
  font-size: 0;
  height: 100%;
  min-height: 73px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
}

#options ul#homepage li,
#options ul#cv-menu li {
  display: inline-block;
  height: 100%;
  width: auto;
}

#options ul#homepage li a,
#options ul#cv-menu li a {
  border-left: 1px solid #ccc;
  display: inline-block;
  font-size: 12px;
  height: 100%;
  margin: 0;
  padding: 13px 28px;
}

#options ul#homepage li a.selected,
#options ul#cv-menu li a.selected {
  background: #f8f8f8;
  text-decoration: underline;
}

#nav-button {
  background: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
  display: none;
  float: right;
  margin: 20px 20px 0;
  padding: 18px 20px;
  width: 67px;
}

.nav-bar {
  background-color: #2b2b2b;
  border-radius: 1px;
  display: block;
  height: 3px;
  margin: 3px auto;
  width: 25px;
}

#content .container {
  margin: 0 auto;
  padding: 10px 0;
  width: 1280px;
}

#container {
  border-top: 1px solid #ccc;
  margin: 0 auto;
  position: relative;
}

.index #container {
  border-top: 0;
}

.portfolio-grid {
  min-height: 1px;
}

.portfolio-grid .element {
  list-style: none;
  overflow: hidden;
  width: 300px;
}

.element.is-hidden {
  display: none;
}

.images {
  display: block;
  position: relative;
}

.images img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.show-hero-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.index .element .images img {
  opacity: 1;
  transition: opacity 200ms ease;
}

.title {
  left: 0;
  margin-left: 24px;
  opacity: 0;
  position: absolute;
  top: 30px;
  transition: opacity 250ms ease;
  z-index: 5;
}

.element:hover .title {
  opacity: 1;
}

h2,
h3 {
  color: #2b2b2b;
  display: block;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  text-transform: uppercase;
}

h2 {
  font-size: 30px;
  padding-bottom: 9px;
  padding-top: 8px;
}

h3 {
  font-size: 18px;
  padding-bottom: 9px;
  padding-top: 20px;
}

.index .title h3 {
  background: #fff;
  color: #2b2b2b;
  display: inline-block;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
  padding: 10px 12px;
}

.index .title h3 span {
  display: block;
}

#container.show-grid {
  border-top: 0;
}

.show-grid {
  min-height: 1px;
  width: 1280px;
}

.col1-1 {
  float: left;
  margin: 10px;
  position: relative;
  width: 940px;
}

.col1-1.combi {
  background: #fff;
}

.col1-3 {
  float: left;
  margin: 10px;
  overflow: hidden;
  width: 300px;
}

.combi .col1-3 {
  float: left;
  margin: 0;
  width: 300px;
}

.col2-3 {
  float: left;
  margin: 10px;
  overflow: hidden;
  width: 620px;
}

.combi .col2-3 {
  margin: 0;
  width: 640px;
}

.col1-3.white-right,
.col1-3.white {
  background: #fff;
  padding: 10px 25px 21px;
}

.white-right::before {
  border-color: transparent #fff transparent transparent;
  border-style: solid;
  border-width: 12px;
  content: "";
  height: 0;
  left: 616px;
  margin-top: 25px;
  position: absolute;
  width: 0;
}

.bottom-field {
  background: #f8f8f8;
  border-top: 1px solid #ccc;
  bottom: 0;
  color: #8d8d8d;
  display: block;
  left: 640px;
  padding: 10px 25px 21px;
  position: absolute;
  width: 300px;
}

.contact-grid {
  margin: 0 auto;
  width: 640px;
}

.contact-card.col1-1 {
  float: none;
  margin: 10px auto;
  width: 620px;
}

.contact-card.combi .col2-3,
.contact-card .col1-3.white-right {
  float: none;
  margin: 0;
  position: relative;
  width: 620px;
}

.contact-card .white-right {
  overflow: visible;
}

.contact-card .white-right::before {
  border-color: transparent transparent #fff transparent;
  left: 0;
  margin-left: 35px;
  margin-top: 0;
  top: -24px;
  z-index: 1;
}

p {
  line-height: 1.55;
}

p.small {
  font-size: 12px;
  line-height: 1.45;
  padding-top: 8px;
}

.lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.88);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: 94vw;
}

.lightbox-image {
  display: block;
  height: auto;
  max-height: 92vh;
  max-width: 100%;
  width: auto;
}

.lightbox-credit {
  color: #888;
  font-size: 9pt;
  font-style: italic;
  line-height: 1.4;
  padding-top: 6px;
  text-align: right;
}

.lightbox-credit[hidden] {
  display: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  background: #000;
  border: 0;
  cursor: pointer;
  height: 50px;
  position: fixed;
  width: 50px;
}

.lightbox-close {
  right: 20px;
  top: 20px;
}

.lightbox-close::before,
.lightbox-close::after {
  background: #fff;
  content: "";
  height: 2px;
  left: 15px;
  position: absolute;
  top: 24px;
  width: 20px;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-prev {
  left: 20px;
  top: 50%;
}

.lightbox-next {
  right: 20px;
  top: 50%;
}

.lightbox-prev::before,
.lightbox-next::before {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  content: "";
  display: inline-block;
  height: 14px;
  position: absolute;
  top: 17px;
  width: 14px;
}

.lightbox-prev::before {
  left: 19px;
  transform: rotate(135deg);
}

.lightbox-next::before {
  right: 19px;
  transform: rotate(-45deg);
}

.cv-page {
  background: #000;
  color: #6f6f6f;
  padding: 0 0 80px;
}

#container.cv-page {
  border-top: 0;
}

.cv #content .container {
  width: 100%;
}

.cv-content {
  color: #6f6f6f;
  font-size: 13px;
  margin: 10px 10px 10px 34px;
  max-width: 940px;
  padding: 0;
  width: calc(100% - 44px);
}

.cv-content strong,
.cv-content h2 {
  color: #4b4b4b;
}

.cv-content h3 {
  color: #4b4b4b;
  letter-spacing: 0;
  padding-top: 22px;
}

.cv-content .cv-section {
  color: #686161;
  padding-top: 32px;
}

.cv-content p {
  color: #6f6f6f;
  line-height: 1.55;
}

.cv-content .is-hidden {
  display: none;
}

@media only screen and (min-width: 960px) and (max-width: 1279px) {
  #content .container,
  .show-grid {
    width: 960px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  #content .container,
  .show-grid {
    width: 640px;
  }

  .combi .col2-3,
  .col1-1,
  .col1-3.white-right {
    position: relative;
    width: 620px;
  }

  .white-right {
    overflow: visible;
  }

  .white-right::before {
    border-color: transparent transparent #fff transparent;
    left: 0;
    margin-left: 35px;
    top: -49px;
    z-index: 1;
  }

  .white-right .bottom-field,
  .bottom-field {
    left: 0;
    margin-left: -25px;
    margin-top: -6px;
    position: relative;
    top: 31px;
    width: 620px;
  }

  .contact-grid {
    width: 640px;
  }

  .contact-card.col1-1,
  .contact-card.combi .col2-3,
  .contact-card .col1-3.white-right {
    width: 620px;
  }

  #nav-button {
    display: block;
  }

  #options {
    clear: both;
    display: none;
    margin-left: 0;
    width: 100%;
  }

  #options.is-open {
    display: block;
  }

  #options ul,
  #options ul#homepage,
  #options ul#cv-menu {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0;
    padding: 17px 35px;
    position: relative;
    width: 100%;
  }

  #options ul#homepage li,
  #options ul#cv-menu li {
    display: block;
    height: auto;
    width: auto;
  }

  #options ul#homepage li a,
  #options ul#cv-menu li a {
    border: 0;
    display: block;
    height: auto;
    line-height: 19px;
    padding: 0;
  }
}

@media only screen and (max-width: 767px) {
  #content .container,
  .show-grid {
    width: 320px;
  }

  .combi .col2-3,
  .col1-1,
  .col1-3.white-right,
  .col2-3 {
    position: relative;
    width: 300px;
  }

  .combi .col2-3 {
    width: 300px;
  }

  .white-right {
    overflow: visible;
  }

  .white-right::before {
    border-color: transparent transparent #fff transparent;
    left: 0;
    margin-left: 35px;
    top: -49px;
    z-index: 1;
  }

  .white-right .bottom-field,
  .bottom-field {
    left: 0;
    margin-left: -25px;
    margin-top: -6px;
    position: relative;
    top: 31px;
    width: 300px;
  }

  .contact-grid {
    width: 320px;
  }

  .contact-card.col1-1,
  .contact-card.combi .col2-3,
  .contact-card .col1-3.white-right {
    width: 300px;
  }

  #nav-button {
    display: block;
  }

  #options {
    clear: both;
    display: none;
    margin-left: 0;
    width: 100%;
  }

  #options.is-open {
    display: block;
  }

  #options ul,
  #options ul#homepage,
  #options ul#cv-menu {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0;
    padding: 17px 35px;
    position: relative;
    width: 100%;
  }

  #options ul#homepage li,
  #options ul#cv-menu li {
    display: block;
    height: auto;
    width: auto;
  }

  #options ul#homepage li a,
  #options ul#cv-menu li a {
    border: 0;
    display: block;
    height: auto;
    line-height: 19px;
    padding: 0;
  }
}
