/* CSS Document */
html, body {
  min-height: 100vh;
  width: 100%;
  padding: 0;
  margin: 0;
  font-familY: "Lato", sans-serif;
  line-height: 150%;
  color: #4d4d4d;
}
a {
  text-decoration: none;
  transition: color .3s !important;
}
img {
  max-width: 100%;
}
/* h2 is used for PROJECT TITLES and ??? */
h1, h2, h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 19px;
  color: #3b3a36;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
h1 {
  text-transform: none;
}
h3 {
  font-size: 17px;
}
blockquote {
  font-size: clamp(22px, 2.1vw, 29px);
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  color: #a2a1a1;
  margin: clamp(20px, 3%, 3%) 0;
  line-height: 150%;
}
#container {
  width: 100%;
  min-height: calc(100vh - 94px);
  background: #ffffffcc;
  box-sizing: border-box;
	margin:94px 0 0 0;
}
.home {max-height:100vh;overflow: hidden;}
.home.loaded{max-height:auto;overflow: auto;}
/* HEADER */
/* NAVS */
header {
  position: relative;
  width: 100%;
	z-index: 300;
}
nav {
  text-align: center;
  font-family: "Libre Baskerville", serif;
}
header nav {
  position: relative;
  transition: margin-top 1s;
}
.home header nav {
  margin-top: calc(100vh - 138px);
}
.home.loaded header nav {
  margin-top: 80px;
}
header nav::before {
  content: "";
  position: absolute;
  border: 110px transparent solid;
  border-top: none;
  border-bottom: 56px solid #ffffffcc;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0;
}
nav a {
  display: inline-block;
  font-size: 14px;
  padding: 25px 0;
  text-decoration: none;
  width: 100px;
  transition: width 1s, margin 1s, padding 1s, color .3s, opacity 1s;
}
.transitioning nav a{
	opacity:.5;
	pointer-events: none;
	transition: opacity 1s;
}
header nav a {
  color: #515151;
}
header nav a:nth-child(4) {
  margin-left: 360px;
	transition:margin 1s;
}
header nav a:hover, header nav a:focus, header nav a:active{color:#51515199;}
header nav .logo {
  padding: 0;
  width: 247px;
  position: absolute;
  top: -33px;
  left: 50%;
  transform: translateX(-50%);
	z-index:1000;
}
/* TAB */
#social-tab {
  background: #00263e;
  border: 2px solid #fff;
  border-radius: 0 0 100px 100px;
  width: 38px;
  height: 127px;
  position: fixed;
  top: -2px;
  right: 72px;
  box-shadow: 0 0 4px #000000bb;
  z-index: 400;
  transition: background .3s, top 1s;
  cursor: pointer;
}
#social-tab:hover {
  background: #07111a;
}
#social-tab img {
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}
/* SLIDESHOW */
.header-slideshow {
  width: 100%;
  height: calc(100% - 60px);
  font-size: 0;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  z-index: -1;
}
.slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 3.5s;
  border: 6px #fff solid;
  box-sizing: border-box;
}
.slide.active {
  opacity: 1;
}
#imageProgress {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
  background-color: #eee;
  transition: opacity .3s;
  height: 10px;
  width: 200px;
}
progress[value]::-webkit-progress-value {
  background-color: #07111A;
  border-radius: 2px;
}
/* CONTAINER */
/* HOME */
#homeFooter{opacity:0;
	pointer-events: none;
transition:opacity 1s;}
.home #homeFooter {
	pointer-events: all;
  display:block;
  position: absolute;
  bottom: 0;
  text-align: center;
  padding: 15px;
  width: 100%;
  z-index: 0;
  font-size: 12px;
  color: #a2a1a1;
  box-sizing: border-box;
  opacity:1;
}
.home #homeFooter a {
  color: #a2a1a1;
  text-decoration: none;
}
.home #homeFooter a:hover, .home #homeFooter a:active, .home #homeFooter a:focus {
  color: #a2a1a199;
}
/* MAIN */
main {
  box-sizing: border-box;
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  background: #ffffff;
  text-align: center;
  padding: 25px 5vw 100px 5vw;
  min-height:calc(100vh - 324px);
	opacity:1;
	transition:opacity 1s;
}
.home main{opacity:0;}
/* ABOUT */


/* The animation code */
@keyframes exiting {
  0%   {opacity:1;}
  50%  {opacity:0;}
  100% {opacity:0;}
}
@keyframes entering {
  0%   {opacity:0;}
  50%  {opacity:0;}
  100% {opacity:1;}
}

/* The element to apply the animation to */
.content, .enteringContent, .exitingContent{transition:opacity 1s;}
.enteringContent{
	opacity:0;
	transition:opacity 1s;
}
.enteredContent{opacity:1;pointer-events: all;display:block;}
.exitedContent{opacity:0;pointer-events: none;display:none;}

#projectPopup{z-index:302;}
.panel {
  position: fixed;
  top: 100%;
  height: 100%;
  width: 100%;
  left: 0;
  transition: top 1s;
  background: #081b2c;
  text-align: center;
  padding-top: 150px;
  color: #fff;
  z-index: 202;
}
.panel .closeX{
  cursor: pointer;
	transition:opacity .3s;
}
.panel .closeX:hover{
  opacity:50%;
}
.panel .closeX:last-of-type{margin-top:20px;}
.panel .service h1, .panel .service h2, .panel .service h3 {
  border-bottom: 1px solid #263542;
  width: fit-content;
  margin: 20px auto;
  padding: 20px 100px;
	color:#fff;
}
.about .panel h1, .about .panel h2, .about .panel h3 {
  color: #fff;
}
.panel.active {
  top: 0%;
}
.service p {
  width: 100%;
  max-width: 700px;
  margin: 20px auto 60px auto;
}
#services {
  font-weight: 400;
  color: #a2a1a1;
}
/* #services a,*/  #services span {
  color: #122a40;
}
/* #services a:hover {
  color: #122a4099;
}*/
/* #services a::after, #services a::before,*/  #services span::after, #services span::before{margin:0 10px; content: "——";color:#bbbbbb;letter-spacing: -3px;transition:color .3s;}
/* #services a:hover::after, #services a:hover::before{color:#bbbbbb99;} */


/* PROJECTS */
#featured .project {
  padding-bottom: 75px;
  margin-bottom: 37px;
  margin-top: 37px;
  position: relative;
  cursor: pointer;
}
#featured .project:last-child {
  border-bottom: none;
}
.mainPhoto {width: 100%;padding-bottom:50%;position:relative;
  margin-bottom: 4%;background:#f3f3f3;}
.mainPhoto img{width:100%; height:100%;position:absolute;top:0;left:0;object-fit: cover;}

#featured .project img {
  margin-bottom: 2%;
}
.project-five {
  position: relative;
  display: flex;
  z-index: 10;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
.project-five div {
  width: 18%;
  background: #f3f3f3;
}
.project-five div img{width:100%;height:100%;object-fit:cover;}
.location {
  font-weight: 700;
  color: #a2a1a1;
  font-size: 13px;
  margin-bottom: 30px;
}
.see-details {
  position: relative;
  padding: 5px 10px;
  font-weight: 700;
  color: #081b2c;
  transition: opacity .3s;
}
.see-details:hover {
  opacity: .6;
}
.see-details::after {
  content: "";
  background-image: url("../images/see-details.svg");
  width: 20px;
  height: 12px;
  background-size: contain;
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  transition: top .3s;
}
.see-details:hover::after {
  top: 90%;
}
.specs {
  width: fit-content;
  margin: 35px auto 20px;
  line-height: 1;
  color: #4d4d4d;
  font-size: 15px;
}
.specs h3 {
  margin-bottom: 15px;
  font-size: 14px;
}
.specs div {
  border-bottom: 1px solid #b4babf;
  padding: 7px 20px;
}
.specs div:last-child {
  border-bottom: none;
}
.project_description {
  position: relative;
  padding: 0 7vw;
  font-size: 15px;
  line-height: 24px;
}
/* .project_description::before, .project_description::after {
  font-family: "Libre Baskerville", serif;
  position: absolute;
  font-size: 23vw;
  opacity: .1;
  top: 0;
  line-height: 1;
}
.project_description::before {
  content: "“";
  left: 0;
}
.project_description::after {
  content: "”";
  right: 0;
} */
.video {
  width: 100%;
  max-width: 540px;
  padding-bottom: 33%;
  position: relative;
  margin: 0 auto;
}
.video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.video_title {
  margin-top: 50px;
  font-family: "Libre Bakersville";
  text-transform: uppercase;
  color: #696969;
  font-size: 14px;
}
.video_title h2 {
  font-size: 14px;
}
#project-gallery-1 h2, #project-gallery-2 h2, #project-gallery-3 h2, #project-gallery-4 h2, #project-gallery-5 h2, #project-gallery-6 h2{
  font-size: 14px;
  margin-bottom: 0;
}
.all-projects {
  padding-top: 60px;
  margin-top: 60px;
  border-top: 1px solid #cccccc;
}
.all-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 4%;
  margin-bottom: 60px;
}
.all-projects-grid .project {
  padding-bottom: 56.25%;
  position: relative;
}
.galleries .all-projects-grid .project {
  padding-bottom: 66.667%;
  position: relative;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: #ffffffcc;
  transition: opacity .3s;
  cursor: pointer;
  vertical-align: middle;
}
.all-projects-grid .project:hover .overlay {
  opacity: 1;
}
.all-projects-grid .location {
  color: #5a5959;
  letter-spacing: 1px;
}
.all-projects-grid .project h3, .all-projects-grid .project .location {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  line-height: 110%;
}
.all-projects-grid .project h3 {
  bottom: 50%;
}
.all-projects-grid .project .location {
  top: 50%;
}
.all-projects h2 {
  margin-bottom: 20px;
}
.galleries .overlay {
  opacity: 1;
}
.galleries .all-projects-grid .project:hover .overlay {
  opacity: 0;
}



.projects .panel{
	padding: 30px;
    box-sizing: border-box;
    overflow-y: scroll !important;
    background-color: #ffffff !important;
    color: #4d4d4d;
}

body.panelOpen{max-height:100vh;overflow:hidden;}

/* PRESS */
#pressAndTestimonials {
  text-align: left;
  position: relative;
  display: flex;
  z-index: 10;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin: 70px 0;
}
#press, #testimonials {
  width: 50%;
}
#press {
  border-right: #bfbfbf solid 1px;
  padding-right: 50px;
}
#testimonials {
  padding-left: 50px;
}
.pressItem {
  padding-bottom: 40px;
}
.pressItem:nth-child(n+2) {
  padding-top: 40px;
}
.pressItem:nth-child(-n+2) {
  border-bottom: #bfbfbf solid 1px;
}
.testimonialText:first-child {
  padding-top: 20px;
  border: none;
}
.testimonialText {
  padding-top: 40px;
  padding-bottom: 10px;
  border-top: #bfbfbf solid 1px;
  font-family: "Libre Baskerville";
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: #00263f;
  line-height: 30px;
}
.testimonialName {
  padding-bottom: 45px;
  font-size: 14px;
  color: #00263f;
  line-height: 36px;
}
.testimonialName span {
  font-weight: 700;
}
.sourceAndTitle {
  font-family: "Libre Baskerville";
  font-size: 18px;
  margin: 5px 0;
  line-height: 30px;
}
.sourceAndTitle span {
  color: #00263f;
  font-weight: 700;
}
.pressItem time {
  font-size: 14px;
  line-height: 34px;
  text-transform: uppercase;
}
.pressItem .author {
  font-size: 13px;
  color: #adafb2;
  line-height: 24px;
}
.readMore {
  display: flex;
  font-weight: 700;
  font-size: 15px;
  line-height: 30px;
}
.pdf a, .url a {
  font-weight: 700;
  font-size: 15px;
  color: #00263f;
  line-height: 30px;
}
.excerpt {
  margin: 10px 0;
  font-size: 15px;
  line-height: 24px;
}
.excerpt .br {
  height: 5px;
}
/* CONTACT */
.body.contact-heading {
  color: #001428;
  line-height: 30px;
}
#address {
  border-bottom: #bfbfbf 1px solid;
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 10px;
}
#phones {
  padding-top: 10px;
}
#phones abbr {
  text-decoration: none;
  color: #adafb2;
}
#phones a {
  color: #505050;
  text-decoration: none;
  font-size: 15px;
}
#email a {
  color: #505050;
  text-decoration: none;
  font-size: 15px;
}
#fourPics {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  z-index: 10;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin: 50px 0;
}
#fourPics div {
  width: 23%;
	background:#f3f3f3;
}
#fourPics img{width:100%;}
#name {
  font-size: 16px;
  color: #a4a2a2;
  font-style: italic;
  margin-bottom: 60px;
}
/* FOOTER */
footer {
  position: relative;
  background: #081b2c;
  height: 250px;
  text-align: center;
  color: #ffffff99;
  z-index: 200;
}
.home footer {
  display: none;
}
footer::before {
  content: "";
  position: absolute;
  border: 110px transparent solid;
  border-top: none;
  border-bottom: 56px solid #081b2c;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0;
}
footer nav {
  padding-top: 68px;
}
footer hr {
  max-width: 900px;
  margin: auto;
  border-top: 2px #ffffff solid;
  height: 0 !important;
  opacity: .25;
}
.home footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 20px 0;
  text-align: center;
  color: #a2a1a1;
}
footer .logo {
  padding: 0;
  width: 150px;
  position: absolute;
  top: -33px;
  left: 50%;
  transform: translateX(-50%);
}
footer .logo img {
  width: 100%;
}
footer nav a, footer nav span {
  color: #ffffffbb;
  font-size: 12px;
  width: auto;
  padding: 10px 15px;
	display: inline-block;
}
footer a {
  color: #ffffffbb;
}
footer .services a{display:none;}
footer a:hover {
  color: #fff;
}
footer #copyright {
  font-size: 11px;
}
footer #copyright a {
  color: #fff;
}
@media screen and (max-width:1120px) {
  #social-tab {
    top: -50px;
  }
}
@media screen and (max-width:910px) {
  header nav a {
    width: 85px;
  }
	footer nav a{padding:10px 8px;}
  header nav a:nth-child(4) {
    margin-left: 300px;
  }
}
@media screen and (max-width:750px) {
  .home header nav {
    margin-top: calc(100vh - 193px);
  }
  header nav a {
    padding-top: 67px;
  }
  header nav a:nth-child(4) {
    margin-left: 0;
  }
	footer .services{padding:15px 0 25px 0;}
	footer .services a{display:block;padding:2px;}
	footer{height:auto;padding-bottom:35px;}
	#copyright span{display:none;}
	#copyright a{display:block;}
  #pressAndTestimonials {
    flex-direction: column;
    margin: 50px 0;
  }
  #press {
    width: 100%;
    border-right: none;
    padding-right: 0;
    margin: 20px 0;
  }
  #testimonials {
    width: 100%;
  }
  .pressItem {
    border-bottom: #bfbfbf solid 1px;
  }
  #testimonials {
    padding-left: 0;
  }
  .panel {
    padding: 45px 15px !important;
    box-sizing: border-box;
  }
	#homeFooter{line-height:1.3;}
}
@media screen and (max-width:430px){
  .home header nav {
    margin-top: calc(100vh - 273px);
  }
header nav {
	height:180px;
}
header nav a {
    display: block;
    padding: 0;
	width:100%;
}
	header nav a:nth-child(2){padding-top:57px;}
	#homeFooter{display:none !important;}
}