#map-canvas {
  min-height: 400px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  line-height: 1.6em;
  font-size: 16px;
}

a {
  color: #000;
  font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Comfortaa', cursive;
  font-weight: bold;
  margin:0 0 1em 0;
}

img {
  max-width: 100%;
}

.bg-grey {
  background: #f3f3f3;
}

.btn {
  background:none;
  border-radius:0;
}

.btn:hover,
.btn:active,
.btn:focus,
.btn:active:focus {
  color:#000;
  background:none;
  outline: 0;
}

.btn-group .btn {
  margin-right: 1em;
}

.btn-primary {
  color:#000;
  border:2px solid #000;
  font-weight:bold;
}

.btn-link {
  color: #000;
}

.container {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 767px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.container-no-gutters,
.container-fluid-no-gutters {
  padding-right: 0;
  padding-left: 0;
  margin-right: 0;
  margin-left: 0;
}

/*

Spacing

*/

.mt0 {
  margin-top:0;
}
.mt1 {
  margin-top:1em;
}
.mt2 {
  margin-top:2em;
}
.mt3 {
  margin-top:3em;
}
.mt-50 {
  margin-top:0;
}


.mb0 {
  margin-bottom:0;
}
.mb1 {
  margin-bottom:1em;
}
.mb2 {
  margin-bottom:2em;
}
.mb3 {
  margin-bottom:3em;
}

/*

Responsive

 */
.text-xs-left {
  text-align: left;
}

.text-xs-right {
  text-align: right;
}

.text-xs-center {
  text-align: center;
}

.text-xs-justify {
  text-align: justify;
}

@media (min-width: 768px) {
  .text-sm-left {
    text-align: left;
  }

  .text-sm-right {
    text-align: right;
  }

  .text-sm-center {
    text-align: center;
  }

  .text-sm-justify {
    text-align: justify;
  }
}

@media (min-width: 992px) {
  .text-md-left {
    text-align: left;
  }

  .text-md-right {
    text-align: right;
  }

  .text-md-center {
    text-align: center;
  }

  .text-md-justify {
    text-align: justify;
  }
}

@media (min-width: 1200px) {
  .text-lg-left {
    text-align: left;
  }

  .text-lg-right {
    text-align: right;
  }

  .text-lg-center {
    text-align: center;
  }

  .text-lg-justify {
    text-align: justify;
  }
}

.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}
.row-eq-height > [class*='col-'] {
  flex-grow: 1;
}


/*

Navigation

*/

.navbar-brand {
  background: transparent;
  position: static;
  height: auto;
  padding: 20px 15px;
}

.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:hover {
  background: transparent;
}

.navbar-brand>img {
  height: 50px;
  transition: filter .25s ease;
}

.navbar {
  margin-bottom: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 90px;
  transition: background-color .25s ease, box-shadow .25s ease;
}

/* Solid state: off-white background with a light shadow */
.navbar-default {
  background-color: #f6f4f2;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  border: none;
}

/* Transparent state at the top of pages with a hero,
   except while the mobile menu is open */
body.has-hero .navbar-default:not(.navbar-scrolled):not(.navbar-open) {
  background-color: transparent;
  box-shadow: none;
}

body.has-hero .navbar-default:not(.navbar-scrolled):not(.navbar-open) .navbar-brand>img {
  filter: brightness(0) invert(1);
}

body.has-hero .navbar-default:not(.navbar-scrolled):not(.navbar-open) .navbar-nav>li>a {
  color: #fff;
}

body.has-hero .navbar-default:not(.navbar-scrolled):not(.navbar-open) .navbar-toggle .icon-bar {
  background-color: #fff;
}

/* Pages without a hero start below the fixed navbar */
body:not(.has-hero) {
  padding-top: 90px;
}

.navbar-default .navbar-toggle {
  border: 0;
  margin-top: 22px;
  margin-bottom: 22px;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #000;
}

.navbar-default .navbar-nav>li>a {
  color: #000;
  font-weight: bold;
  transition: color .25s ease;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
  color: inherit;
  background:transparent;
}

.navbar-nav>li>a:focus,
.navbar-nav>li>a:active,
.navbar-brand:focus,
.navbar-brand:active {
  outline: 0;
  background: transparent;
}

.navbar-nav>li>a {
  font-size: 16px;
  padding: 35px 20px;
}

/* Tighter spacing on smaller desktops so the menu stays on one line */
@media (min-width: 768px) and (max-width: 1099px) {
  .navbar-nav>li>a {
    font-size: 15px;
    padding: 37px 10px;
  }

  .navbar-brand {
    padding: 23px 10px;
  }

  .navbar-brand>img {
    height: 44px;
  }
}

@media (max-width: 767px) {
  .navbar-collapse {
    background-color: #f6f4f2;
    border-top: 0;
    margin-top: 0;
  }

  /* Collapsed menu always sits on the light background */
  body.has-hero .navbar-default:not(.navbar-scrolled) .navbar-nav>li>a {
    color: #000;
  }

  .navbar-nav>li>a {
    padding: 12px 20px;
  }

  .navbar-nav {
    margin: 7.5px 0;
  }
}

/*

Forms

*/ 

.form-control {
  box-shadow: none;
  border-radius: 0;
  border: 2px solid #000;
  padding: 20px;
  margin-bottom:1em;
}

/*

Jumbotron

*/ 

.container .jumbotron,
.container-fluid .jumbotron {
    border-radius: 0;
}

.jumbotron {
  min-height: 60vh;
  background-image: url('../img/bg2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 6em 0;
  margin-bottom: 0;
}

.jumbotron-small {
  min-height: 20vh;
}

.jumbotron h1,
.jumbotron h2,
.jumbotron p {
  margin: 0;
  color: #fff;
  z-index: 2;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


/*

Hero video

*/

.hero-video {
  position: relative;
  overflow: hidden;
}

.hero-video video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-video .overlay {
  z-index: 1;
}

.hero-video-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-video-content h1,
.hero-video-content p {
  color: #fff;
}

.hero-video-content p {
  font-size: 1.2em;
}

.hero-video-cta {
  margin-top: 2em;
}

.btn-hero {
  font-weight: bold;
  padding: 12px 28px;
  margin: 0.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero-solid,
.btn-hero-solid:hover,
.btn-hero-solid:active,
.btn-hero-solid:focus,
.btn-hero-solid:active:focus {
  background: #fff;
  color: #000;
}

.btn-hero-outline,
.btn-hero-outline:hover,
.btn-hero-outline:active,
.btn-hero-outline:focus,
.btn-hero-outline:active:focus {
  border: 2px solid #fff;
  color: #fff;
}

@media (max-width: 767px) {
  .hero-video video {
    min-height: 420px;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .hero-video-content h1 {
    margin-bottom: 0.5em;
  }

  .hero-video-content p {
    font-size: 1em;
  }

  .btn-hero {
    display: block;
    margin: 0.5em auto;
    max-width: 300px;
  }
}

/*

Sections

*/

.section {
  padding: 4em 0;
}

.section-cream {
  background: #f5f5f2;
}

.section-review {
  background: #342925;
  padding: 5em 0;
  text-align: center;
}

.section-review blockquote {
  border: none;
  padding: 0;
  margin: 0 0 1.5em 0;
  font-style: italic;
  font-size: 1.6em;
  line-height: 1.6em;
  color: #fff;
}

.section-review .review-author {
  color: #cbbfb6;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85em;
  margin: 0;
}

/* Quote on project detail: cream background, dark text */

.section-quote {
  background: #f5f5f2;
  padding: 5em 0;
  text-align: center;
}

.section-quote blockquote {
  border: none;
  padding: 0;
  margin: 0 0 1.5em 0;
  font-style: italic;
  font-size: 1.5em;
  line-height: 1.6em;
  color: #342925;
}

.section-quote .review-author {
  color: #8a7f77;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85em;
  margin: 0;
}

/* Call to action on project detail: brown background */

.section-cta {
  background: #342925;
  padding: 5em 0;
  text-align: center;
}

.section-cta h2 {
  color: #fff;
}

.section-cta p {
  color: #d8d0c8;
  margin-bottom: 2em;
}

/*

Craft section (home)

*/

.section-craft {
  text-align: center;
}

.section-craft p {
  font-size: 1.1em;
}

.section-craft-link {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85em;
  border-bottom: 2px solid #000;
  padding-bottom: 4px;
  text-decoration: none;
}

.section-craft-link:hover,
.section-craft-link:focus {
  text-decoration: none;
}

/*

Project cards (home)

*/

.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 1em;
}

.project-card {
  flex: 0 0 calc(33.333% - 20px);
  color: #000;
  font-weight: normal;
  text-decoration: none;
}

.project-card:hover,
.project-card:focus {
  text-decoration: none;
  color: #000;
}

.project-card-image {
  display: block;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.03);
}

.project-card-type {
  display: block;
  margin-top: 1em;
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 1px;
  color: #777;
}

.project-card-title {
  display: block;
  font-family: 'Comfortaa', cursive;
  font-weight: bold;
  font-size: 1.15em;
  margin: 0.3em 0;
}

.project-card-excerpt {
  display: block;
  color: #444;
}

@media (max-width: 767px) {
  .project-card {
    flex: 0 0 100%;
  }
}

/* Grid variant: two per row. Image sits on top, so images in a row
   align regardless of how many lines the title below wraps to. */

.project-cards-grid .project-card {
  flex: 0 0 calc(50% - 15px);
}

@media (max-width: 600px) {
  .project-cards-grid .project-card {
    flex: 0 0 100%;
  }
}

/* Plain page header: big centered title + intro on a cream block */

.page-header-plain h1 {
  font-size: 2.4em;
  margin-bottom: 0.6em;
}

.page-header-plain p {
  font-size: 1.1em;
  margin-bottom: 1em;
}

.page-header-plain p:last-child {
  margin-bottom: 0;
}

/*

Project detail

*/

.project-intro {
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 1.5em;
}

.project-description {
  overflow: hidden;
  position: relative;
}

.project-description.collapsed {
  max-height: 12em;
}

.project-description.collapsed:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3em;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

@media (max-width: 767px) {
  .project-description.collapsed {
    max-height: 6em;
  }
}

.read-more-toggle {
  padding-left: 0;
  font-weight: bold;
}

/*

Team

*/

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-member {
  flex: 0 0 calc(20% - 24px);
}

.team-member img {
  width: 100%;
}

.team-member h3 {
  margin: 0.75em 0 0.2em 0;
  font-size: 1.2em;
}

.team-member-role {
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: #777;
}

@media (max-width: 991px) {
  .team-member {
    flex: 0 0 calc(33.333% - 20px);
  }
}

@media (max-width: 600px) {
  .team-member {
    flex: 0 0 calc(50% - 15px);
  }
}

/*

Footer appointment

*/

.footer-appointment {
  background: #f5f5f2;
  padding: 4em 0;
}

.footer-appointment a {
  font-weight: normal;
}

.footer-appointment h2 {
  margin-bottom: 0.5em;
}

/*

Projects

*/
#projects {
  margin: 1rem 0;
  -webkit-column-count: 3; 
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  -webkit-column-width: 33.33333333333333%;
  -moz-column-width: 33.33333333333333%;
  column-width: 33.33333333333333%;
}
.tile { 
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 350ms ease;
  transition: all 350ms ease;
}

.tile:hover { 

}

.scale-anm {
  transform: scale(1);
}

.tile img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.imageblock {
  position: relative;
  padding: 0;
  overflow:hidden;
  padding:4em 0;
}

.imageblock .imageblock__content {
  position: absolute;
  height: 100%;
  top: 0;
  z-index: 2;
  padding: 0;
  overflow:hidden;
}

.imageblock .imageblock__content .map-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.background-image-holder {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover!important;
  background-position: 50% 50%!important;
  z-index: 0;
  transition: opacity .3s linear;
  -webkit-transition: opacity .3s linear;
  opacity: 0;
  background: #252525;
}

.background-image-holder img {
  max-width:10000%;
}


/*

Footer 

*/ 

.footer {
  background: #342925;
  padding: 4em 0;
  color: #d8d0c8;
}

.footer a {
  color: #d8d0c8;
  font-weight: normal;
}

.footer strong {
  color: #fff;
}

.footer-socials a {
  text-decoration: none;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.4em;
}

.footer-nav a {
  font-weight: normal;
}

.footer img {
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.7;
  max-height: 60px;
  max-width: 110px;
}

.footer img:hover {
  filter: none;
  opacity: 1;
}