/* CSS Document */
html,body{
  margin:0;
  padding: 0;
}
body { 
  width: 100%;
  display: flex;
	flex-wrap: wrap;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 16px;
}
h1, h2, h3, nav {
  font-weight: 700;
  text-transform:uppercase;
  letter-spacing: 1px;
}
h2 {
  font-size: 1.2rem;
}
p {
  font-size: .8rem;
  margin: 8px 0;
}
nav {
  width: 40%;
  position: fixed;
  left: 5%;
  padding: 25px 0;
  font-weight: 700;
  font-size: .7rem;
  background: #fff;
  z-index: 5;
}
nav a {
  margin-right:25px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  transition-duration: .2s;
}
nav a:hover {
  color: #FA9917;
}
nav a#close {
  position: absolute;
  right: 40px;
  top: 50px;
  cursor: pointer;
  display: none;
}
nav#secondary, nav.secondary {
  height: 30%;
  width: 12.5%;
  min-height: 280px;  
  position: fixed;
  left: auto;
  right: 2.5%;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 0;
  font-weight: 400;
  text-align: right;
  display: none;
  background: none;
}
nav.secondary.mob {
  display: none!important;
  background: none;
}
nav#secondary a, nav.secondary a {
  margin: 20px 0;
  text-transform: none;
  display: block;
  color: #999;
  transition-duration: .2s;
}
nav#secondary a.active, nav.secondary a.active {
  font-size: 1rem;
  color: #000;
}
nav#secondary a:hover, nav.secondary a:hover {
  color: #000;
}
a.menu{
  position: fixed;
  left: 5%;
  top: 20px;
  z-index: 1;
  cursor: pointer;
  display: none;
}
.bar1, .bar2, .bar3 {
    width: 32px;
    height: 1px;
    background-color: #000;
    margin: 6px 0;
}
.btn {
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 10px;
  background: #FA9917;
  display: inline-block;
  width: 80px;
  margin: 10px 0;
  text-align: center;
}
#logo {
  position: fixed;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 2.5%;
  width: 10%;
  min-width: 75px;
  opacity: 1;
  transition-duration: .2s;
  z-index: -1;
}
#logo.alt {
  opacity: 0;
}
section#image { 
  width: 40%;
  height: 100vh;
  background: #ccc; 
  overflow: hidden;
  position: fixed;
  right: 15%;
  background-size:cover;
  transition-duration: .3s;
}
section#image img { 
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  z-index: 0;
  bottom: 0;
  display: none;
}
section#image img.active { 
  display: block;
}
section#image .overlay { 
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}
section#image .overlay div { 
  width: 17.5%;
  height: 100%;  
  float: left;   
  opacity: .75;
}
section#image .overlay div:nth-of-type(2) { 
  margin-right:30%;
}
section#image .overlay div.dark { 
  background: #FA9917;
}
section#image .overlay div.light { 
  background: rgba(250,153,23,0.5);
}
section#content { 
  width: 45%;
  height: 100vh;  
  padding: 75px 5% 50px;
  box-sizing: border-box;
  display: flex;
  position: absolute;
}
section#content.history { 
  width: 85%;
}
section#content.contact { 
  background: #fff;
  z-index: 1;
}
nav#primary.history { 
  background: none;
}
nav#primary.history a { 
  color: white;
}
section#content div { 
  display: none;
  justify-content: center;
  flex-direction: column;
  text-align: left;  
}
section#content div#history { 
  z-index: 1;
  color: white;
}
section#content div#history h2 { 
  font-size: 2.5rem;
}
section#content div#history p { 
  font-size: 1.25rem;
}
section#content div.active { 
  display: flex;
}

.activeService {
  display: none;
  text-align: right;
}
.activeService span{
  float: left;
}

.contactForm { margin:10px 0; }
#response { display:none; padding:10px 0 75px; }
.contactForm input, .contactForm textarea {
  display: block;
  border: 1px solid #C9B588;
  padding: 10px;
  width: 100%;
  margin-bottom:15px;
  transition:all .5s ease;
  -webkit-appearance:none;
  box-sizing: border-box;
}
.contactForm textarea { min-height:150px; }
.contactForm input:focus, .contactForm textarea:focus { outline:0; border-color:  #D07A09; }
.contactForm button { border: 0; padding: 10px 20px; background-color: #D07A09; color: #FFF; font-family: 'Playfair Display', serif; text-transform: uppercase; font-size: 1rem; letter-spacing: 5px; transition:all .5s ease; -webkit-appearance:none; }
.contactForm button:hover { background-color:#000; cursor:pointer; }

.msg { display:none; margin:10px 0; }
.contactForm input.is-error, .contactForm textarea.is-error { background: #FFD2D2; outline:0; border:1px solid #c23616;  }
#video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  display:none;
}
#video.history { display:block; }
#video .overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

@media only screen and (max-width:1200px){
  nav#primary {
    left: 0;    
    width: 100%;
    height: 100%;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0;
    color: #000;
    background: rgba(255,255,255,0.98);
    display: none;
  }
  nav#primary.history { 
    background: rgba(255,255,255,0.98);
  }  
  nav#primary.history a {
      color: black;
  }  
  nav#primary a {
    margin:20px 0;
    font-size: 2rem;
  }
  nav#primary a#close, a.menu {
    display: block;
  }
  #menuContainer {
    position: fixed;
    width: 100%;
    padding: 35px 0;
    background: #fff;
    color: #000;    
    z-index: 11;
  }
  section#content div.active { 
    display: block;
  }  
}
@media only screen and (max-width:900px){
  #menuContainer {
    padding: 25px 0;
  }
  a.menu {
    top: 13px;
  }
  #logo {
    top: 5px;
    margin: 0;
    z-index: 15;
  }
  #logo.alt {
    opacity: 1;
  }
  nav.secondary {
    height: auto;
    width: 100%;
    min-height: auto;  
    position: relative;
    left: 0;
    text-align: left;
    margin-top: -25px;
  }
  nav#secondary.secondary {
    display: none!important;
  }
  nav.secondary.mob {
    display: block!important;
  }

  .activeService {
    display: block;
    cursor: pointer;
  }
  section#content,section#image, section#content,section#image img {
    width: 100%;
    height: auto;
    position: relative;
    right: 0;
    order: 1;
  }  
  section#content div#history h2 { 
    font-size: 1.5rem;
  }
  section#content div#history p { 
    font-size: .9rem;
  }
  
  section#content {
    padding: 0 5% 50px;
  }
  section#image {
    height: 250px;
    margin-top: 50px;
    order:0;
    background-position: center;
  }
  section#image .overlay {
    position: absolute;
    bottom: 0;
    height: 40px;
  }  
  section#image .overlay div {
    width: 25%;
  }  
  section#image .overlay div:nth-of-type(2) {
    margin-right: 0;
  }
  #services div h2 {
    display: none;
  }
}

@media only screen and (min-width:1200px){
  nav#primary {
    display: block!important;
  }
}
