/* Reset & Base — adapted from the existing Gatsby layout.css */
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  overflow-y: scroll;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: hsla(0, 0%, 0%, 0.8);
  font-weight: normal;
  word-wrap: break-word;
}
img {
  max-width: 100%;
  border-style: none;
}
a {
  font-family: inherit;
  background-color: transparent;
}
a:active, a:hover { outline-width: 0; }
b, strong { font-weight: bold; }
p {
  margin: 0 0 1.45rem;
}
table {
  margin: 0 0 1.45rem;
  font-size: 1rem;
  line-height: 1.45rem;
  border-collapse: collapse;
  width: 100%;
}
thead { text-align: left; }
td, th {
  text-align: left;
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.12);
  padding: 0.725rem 0.96667rem;
}
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
th { font-weight: bold; }
ul { font-size: 14px; }

/* ============ HEADER ============ */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-desktop .logo {
  display: flex;
  width: 188px;
  align-items: center;
}
.nav-desktop .logo img { width: 100%; }
.nav-desktop .nav-links {
  margin: 0 1rem;
}
.nav-desktop .nav-links a {
  color: #ddd;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 0 4px;
}
.nav-desktop .nav-links a:hover,
.nav-desktop .nav-links a.active {
  color: #fff;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  width: 100%;
  text-align: center;
}
.nav-mobile .mobile-bar {
  display: flex;
  height: 45px;
  justify-content: center;
  align-items: center;
  position: relative;
}
.nav-mobile .mobile-title {
  width: 100%;
  padding: 0 44px;
  overflow: hidden;
  white-space: nowrap;
}
.nav-mobile .mobile-title a {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.nav-mobile .hamburger {
  position: absolute;
  left: 0;
  padding: 0 12px;
  display: inline-block;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-mobile .hamburger .bar {
  width: 24px;
  height: 3px;
  margin: 4px 0;
  transition: 0.4s;
  background-color: rgb(194, 194, 194);
  display: block;
}
.nav-mobile .hamburger.open .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-3px, 6px);
}
.nav-mobile .hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-mobile .hamburger.open .bar:nth-child(3) {
  transform: rotate(45deg) translate(-3px, -8px);
}
.nav-mobile .mobile-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-mobile .mobile-menu.open {
  display: block;
}
.nav-mobile .mobile-menu li { padding: 0; }
.nav-mobile .mobile-menu a {
  display: block;
  color: rgb(194, 194, 194);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.7em 0;
}
.nav-mobile .mobile-menu a.active {
  color: #fff;
}

@media only screen and (max-width: 640px) {
  .nav-mobile { display: block; }
  .nav-desktop { display: none; }
}
@media only screen and (min-width: 641px) {
  header { height: 130px; }
  .nav-mobile { display: none; }
  .nav-desktop { display: flex; }
}

/* ============ MAIN CONTENT ============ */
.site-wrapper {
  min-height: calc(100vh - 130px);
  background: #fff;
}
main {
  margin: 0 auto;
  max-width: 1140px;
  padding: 0 1.0875rem 1.45rem;
}

/* ============ FOOTER ============ */
footer {
  font-size: 12px;
  margin-top: 64px;
  padding: 16px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
}
footer .footer-brand { font-weight: bold; }

/* ============ LAYOUT UTILITIES ============ */
.row {
  display: flex;
}
.col {
  display: flex;
  flex-direction: column;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============ HOME PAGE ============ */
.page-title {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 300;
}
.page-subtitle {
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
  font-size: 16px;
  border-bottom: 1px solid #eee;
}
.page-subtitle .inner {
  max-width: 800px;
  margin: 0 auto;
}

.home-columns {
  display: flex;
}
.home-col {
  width: 50%;
  padding: 0 12px;
}
.home-col .section-label {
  display: flex;
  justify-content: center;
  padding: 42px 0;
  font-weight: 300;
  text-transform: uppercase;
}
.home-col .section-text {
  margin-top: 12px;
  font-size: 14px;
}
.home-col a {
  text-decoration: none;
  color: inherit;
}

/* Image with caption overlay */
.img-caption-wrap {
  position: relative;
  display: block;
}
.img-caption-wrap img {
  display: block;
  width: 100%;
}
.img-caption-wrap .caption {
  position: absolute;
  display: flex;
  align-items: center;
  bottom: 0;
  width: 100%;
  height: 52px;
  padding: 0 12px;
  background: #000;
  color: #fff;
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
}

@media only screen and (max-width: 640px) {
  .home-columns { flex-direction: column; }
  .home-col { width: 100%; }
}

/* ============ SHIPPING CONTAINERS / PRAIRIE WOOD ============ */
.content-row {
  display: flex;
  margin-top: 40px;
}
.content-row .gallery-col {
  width: 50%;
}
.content-row .text-col {
  width: 50%;
  font-size: 14px;
  padding-top: 16px;
  padding-left: 24px;
}
.content-row .text-col p {
  line-height: 1.6;
}
.content-row .text-col .note {
  text-align: center;
  font-size: 90%;
  font-style: italic;
}

@media only screen and (max-width: 640px) {
  .content-row { flex-direction: column; }
  .content-row .gallery-col,
  .content-row .text-col {
    width: 100%;
    padding-left: 0;
  }
}

/* ============ PRAIRIE WOOD PRODUCTS ============ */
.pwp-title {
  margin-top: 40px;
  font-size: 30px;
  font-weight: 300;
}
.pwp-row {
  display: flex;
  margin-top: 12px;
}
.pwp-info {
  flex: 1.15;
}
.pwp-gallery {
  flex: 1;
  padding-left: 64px;
}
.pwp-section-title {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 8px;
}
.pwp-section {
  margin-bottom: 32px;
}
.pwp-section p {
  padding-top: 12px;
  font-size: 15px;
}
.pwp-table {
  margin-top: 24px;
  font-size: 13px;
}
.pwp-table td, .pwp-table th {
  padding: 2px 0;
}
.pwp-table thead tr {
  border-bottom: 2px solid #111;
}
.pwp-note {
  font-style: italic;
  font-size: 15px;
}
.pwp-lath-title {
  margin-top: 40px;
  font-size: 28px;
  font-weight: 300;
}

@media only screen and (max-width: 640px) {
  .pwp-row { flex-direction: column; }
  .pwp-gallery { padding-left: 0; margin-top: 24px; }
}

/* ============ CONTACT PAGE ============ */
.contact-title {
  margin-top: 40px;
  font-size: 32px;
  font-weight: 300;
}
.contact-divider {
  width: 100%;
  margin: 16px 0;
  border: none;
  border-bottom: 1px solid #eee;
}
.contact-row {
  display: flex;
}
.contact-left {
  width: 50%;
}
.contact-right {
  width: 50%;
  padding-left: 24px;
}
.contact-info-row {
  display: flex;
  width: 100%;
  margin-bottom: 12px;
}
.contact-details {
  width: 50%;
  line-height: 140%;
  font-size: 14px;
}
.contact-details a {
  color: inherit;
  text-decoration: none;
}
.contact-details h3 {
  margin: 12px 0;
  font-size: 22px;
  font-weight: normal;
}
.contact-details address {
  font-style: normal;
  margin-bottom: 12px;
}
.contact-image {
  width: 50%;
}
.contact-image img {
  width: 100%;
  display: block;
}
.contact-map {
  width: 100%;
  height: 300px;
  margin-top: 12px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-form-intro {
  font-size: 14px;
  line-height: 140%;
  margin-bottom: 16px;
}
.contact-form-intro a {
  color: inherit;
  text-decoration: none;
}
.contact-form label {
  color: #666;
  font-size: 13px;
}
.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 4px 0;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
  font-family: sans-serif;
  font-size: 12px;
  line-height: normal;
  box-sizing: border-box;
  border-radius: 2px;
}
.contact-form textarea {
  min-height: 100px;
  resize: vertical;
  margin-top: 6px;
}
.contact-form .btn-submit {
  display: inline-block;
  padding: 1em 2.5em;
  color: #fff;
  background-color: #272727;
  border: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1em;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  appearance: none;
}

@media only screen and (max-width: 640px) {
  .contact-row { flex-direction: column; }
  .contact-left, .contact-right {
    width: 100%;
    padding-left: 0;
  }
  .contact-right { margin-top: 24px; }
}

/* ============ 404 ============ */
.page-404 {
  text-align: center;
  padding: 80px 0;
}
.page-404 h1 {
  font-size: 2.25rem;
  margin-bottom: 1.45rem;
}

/* ============ IMAGE GALLERY ============ */
.gallery {
  position: relative;
}
.gallery-main {
  width: 100%;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 4px;
}
.gallery-thumbs button {
  flex: 0 0 auto;
  padding: 2px;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.gallery-thumbs button.active,
.gallery-thumbs button:hover {
  opacity: 1;
}
.gallery-thumbs button img {
  height: 64px;
  width: auto;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 0;
  bottom: 80px;
  display: flex;
  align-items: center;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 2.5em;
  padding: 0 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  z-index: 1;
}
.gallery-nav.prev { left: 0; }
.gallery-nav.next { right: 0; }

.pwp-gallery .gallery-main img {
  height: 330px;
}

@media only screen and (max-width: 480px) {
  html { font-size: 100%; }
}
