/* CSS Document */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 180%;
  color: #727272;
  font-weight: 400;
  /* 
    
    FIND OUT WHAT IS OVERFLOWING! 
    overflow-x:hidden;
    */
}
h1 {
  font-size: 20px;
  font-weight: 500;
}
h2 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 36px;
}

a, a:link, a:visited, a:hover, a:focus {
outline: none !important;
}


/* HEADER */
#header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 270px;
  text-align: center;
}
#logo {
  width: 137px;
  display: block;
  margin: 90px auto 55px auto;
}
#navs ul {
  list-style: none;
  padding: 0;
  letter-spacing: 2px;
  font-size: 13px;
  line-height: 230%;
}
#navs ul li {
  color: #a4a4a4;
  position: relative;
}
#navs ul li:last-of-type {
  margin-top: 11px;
}
#navs ul li:last-of-type::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 4px;
  background: #c6c6c6;
}
#navs ul li a {
  text-decoration: none;
  color: #474747;
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
#navs ul li a:hover, #navs ul li a:active, #navs ul li a:focus {
  text-decoration: none;
  color: #000000;
}
#navs ul li.currentpage a {
  color: #8b2638;
}
.page {
  position: relative;
  padding-bottom: 1px;
}
.page.contact {
  padding: 0 33px 0 33px;
  min-height: calc(100vh + 45vw - 150px - 29px);
}
.page-content {
  display: flex;
  background: #ffffffcc;
  z-index: 2;
  position: relative;
  justify-content: space-evenly;
  margin: 0 33px;
}
.project .page-content{display:block;padding-bottom:60px;}
.quote {
  font-size: 24px;
  font-style: italic;
  color: #8b2638;
  margin: 30px 0px;
  line-height: 150%;
  font-weight: 400;
}
#about .quote {
  display: block;
  background: #ffffffcc;
  z-index: 2;
  position: relative;
  margin: 0 33px;
  font-size: 28px;
  padding: 33px 4%;
  text-align: center;
}
#about .quote p {
  max-width: 1100px;
  margin: auto;
}
.quotename, .quote p span {
  font-size: 16px;
}
.quotename {
  color: #8b2638;
  line-height: 150%;
  font-weight: 400;
  font-style: italic;
}
.quotename::before {
  content: "— "
}
#services {
  color: #484848;
  font-weight: 500;
}
#services span {
  color: #8b2638;
}
#about .right {
  text-align: center;
}
#about .right .crops {
  position: relative;
  max-width: 413px;
  padding: 18px;
  margin: auto;
}
#about .right img {
  max-width: 377px;
  display: block;
  width: 100%;
}
.contact .page-content {
  justify-content: flex-start;
  width: 32%;
  font-weight: 500;
  color: #484848;
  margin-top: -2px;
}
img#mapmarker {
  width: 17px;
  height: 25px;
}
img.social {
  width: 24px;
  height: 24px;
}
.contact a {
  color: #484848;
  text-decoration: none;
  transition: opacity 0.3s;
  font-weight: 700;
}
.contact a:hover {
  opacity: .5;
}
.page-content-padding {
  position: relative;
  height: calc(45vw - 29px);
}
#contact.page-content {
  min-height: auto;
}
.address {
  line-height: 140%;
}
.map {
  line-height: 100%;
  margin-bottom: 22px;
}
.project-number {
  position: absolute;
  font-size: 200px;
  color: #fff;
  top: -144px;
  width: 100%;
  text-align: center;
  line-height: 200px;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
}
.project-details {
  color: #484848;
}
.project-details span {
  color: #a4a4a4;
}
.main-photo {
  width: calc(100% - 270px);
  position: fixed;
  top: 0px;
  right: 0px;
  height: 45vw;
  z-index: 1;
  opacity: 0;
}
.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-main-photo {
  background: #ffc;
}
.page:first-of-type .main-photo {
  opacity: 1;
}
.left, .right {
  margin: 46px 0;
  position: relative;
}
.left {
  width: 32%;
  text-align: center;
}
.project .left{margin:0;padding:46px 0;}
.right {
  width: 55%;
}
.left h1 {
  margin-top: 0;
}
#contact .left {
  width: 100%;
}
#content {
  width: calc(100% - 270px);
  margin-left: 270px;
}
.thumbs {
  font-size: 0;
  position: relative;
  line-height: 100%;
  text-align: right;
  padding:0 30px 30px 30px;
   display:grid;
   grid-template-columns: 1fr 1fr 1fr 1fr;
   grid-gap: 28px;
}
.thumbs > a:not(.viewall){display:none;}
.thumb {
  position: relative;
 cursor: pointer;
  box-sizing: border-box;
   aspect-ratio:1/1;
}
.thumb img{}
.viewall {
  position: absolute;
  bottom: 0px;
  left: 50%;
   transform: translateX(-50%);
  font-size: 16px;
  text-decoration: none;
  color: #484848;
  transition: color 0.3s;
}
.viewall span {
  font-size: 24px;
  color: #8a8a8a;
  transition: color 0.3s;
}
.viewall:hover, .viewall:hover span {
  color: #000;
}
.cropmarks {
  width: 15px;
  height: 15px;
  opacity: 0.3;
  transition: opacity 0.3s;
  max-width: 15px !important;
  max-height: 15px;
}
.cropmark1 {
  position: absolute;
  top: 0;
  left: 0;
}
.cropmark2 {
  position: absolute;
  top: 0;
  right: 0;
  transform-origin: center;
  transform: rotate(90deg);
}
.cropmark3 {
  position: absolute;
  bottom: 0;
  right: 0;
  transform-origin: center;
  transform: rotate(180deg);
}
.cropmark4 {
  position: absolute;
  bottom: 0;
  left: 0;
  transform-origin: center;
  transform: rotate(270deg);
}
.thumb:hover .cropmarks {
  opacity: 1;
}
.thumb img:last-child {
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 15px;
  object-position: center;
  object-fit: contain;
  transition: opacity .3s;
   aspect-ratio:1/1;
   left:0;
   top:0;
}
.thumb:hover img {
  opacity: .5;
}
#footer {
    height: 150px;
    background: #ffffffbb;
    z-index: 3;
    position: relative;
    text-align: right;
    padding: 10px 4% 50px 270px;
    font-size: 13px;
    line-height: 163%;
}
#footer img {
  width: 373px;
}
#copyright {
  color: #484848;
}
#credit a {
  color: #b4b4b4;
  text-decoration: none;
  transition: color 0.3s;
}
#credit a:hover {
  color: #484848;
}
.iframeHolder {
  position: relative;
  margin-bottom: 30px;
}
iframe {
  opacity: 0;
}
/* iframe{max-height:23%;
height:23%;} */
.cover {
    position: absolute;
    z-index: 2;
    cursor: pointer;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    top: 50%;
    max-height:300px;
}
img.play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  cursor: pointer;
  pointer-events: none;
  transform: translate(-50%, -50%);
  max-width: 175px;
  width: 40%;
}
#copyright a {
  color: #484848;
  text-decoration: none;
  transition: opacity 0.3s
}
#copyright a:hover {
  opacity: 0.6;
}
@media screen and (max-width:1250px) {
  /* HEADER */
  #header {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 210px;
    text-align: center;
  }
  .main-photo {
    width: calc(100% - 210px);
    height: 45vw;
  }
  #content {
    width: calc(100% - 210px);
    margin-left: 210px;
  }
  .left {
    width: 40%;
    text-align: center;
  }
  .right {
    width: 40%;
  }

.thumbs {
   grid-template-columns: 1fr 1fr 1fr;
}
  #footer {
    height: 150px;
    background: #ffffffbb;
    z-index: 3;
    position: relative;
    text-align: right;
    padding: 30px 4% 30px 270px;
    font-size: 13px;
  }
  .quote {
    font-size: 21px;
    line-height: 140%;
  }
  .page.contact {
    min-height: calc(100vh + 45vw - 150px - 29px);
  }
  .page-content-padding {
    height: calc(45vw - 29px);
  }
}
@media screen and (max-width:960px) {
  .page-content {
    flex-direction: column;
  }
  .contact .page-content {
    width: 100%;
    margin: 0px;
  }
  .left, .right {
    width: 92% !important;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width:820px) {
  
.thumbs {
   grid-template-columns: 1fr 1fr;
}
}
@media screen and (max-width:650px) {
  /* HEADER */
  #header {
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 102;
    padding-bottom: 45px;
  }
  #logo {
    width: 96px;
    display: block;
    margin: 45px auto 30px auto;
  }
  .main-photo {
    width: 100%;
    position: relative;
    top: auto;
    right: auto;
    height: 45vw;
    opacity: 1 !important;
  }
    .thumbs{margin:auto -15px;}
  #content {
    width: 100%;
    margin-left: 0;
  }
    .left, .right {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}
  #services {
    font-size: 12px;
    margin: auto -20px;
  }
  .page-content-padding {
    display: none;
    height: 0;
    max-height: 0;
  }
  .page-content {
    margin-top: -29px;
  }
  .page.contact {
    padding: 0;
    min-height: auto;
  }
  .quote {
    font-size: 21px !important;
    line-height: 140%;
    padding: 0 !important;
  }
  #about .quote {
    margin-bottom: 30px;
  }
  .right {
    padding-top: 0;
    margin-top: 0;
  }
  #footer {
    height: auto;
    position: relative;
    padding: 30px;
    font-size: 13px;
    line-height: 150%;
    text-align: center;
  }
  #footer img {
    max-width: 100%;
    margin-bottom: 15px;
  }
  #footer span {
    display: none;
  }
  #credit {
    margin-top: 10px;
  }
  #copyright a {
    display: block;
  }
}