/* CSS Document */
html, body {
  padding: 0;
  margin: 0;
  font-family: "Oswald";
  font-size: 15px;
  font-weight: 300;
  line-height: 160%;
  color: #727272;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  min-height: 500px;
  position: relative;
}
a {
  text-decoration: none;
  transition: color .3s;
}
#intro, #background, #background-low, #background-med {
  top: 0;
  left: 0;
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  border: 9px solid #fff;
  background-position: center center;
  background-size: cover;
  z-index: -1;
  background-repeat: no-repeat;
	min-height: 500px;
}
#background {
  z-index: -1;
  background-image: url("../images/layout-2022/background.jpg");
  background-repeat: no-repeat;
  transition: opacity 2s;
}
#background-low {
  z-index: -2;
  background-image: url("../images/layout-2022/background-low-res.jpg");
  filter: blur(8px);
  -webkit-filter: blur(8px);
}
#background-med {
  z-index: -1;
  background-image: url("../images/layout-2022/background-med-res.jpg");
  display: none;
}
#intro {
  z-index: 10000;
  background-color: #fff;
  animation: fading 5s ease-in-out;
  opacity: 0;
  left: -200%;
  top: -200%;
  pointer-events: none;
}
#intro div {
  position: absolute;
  width: 90vw;
  height: 90vh;
  max-width: 90vh;
  max-height: 90vw;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
}
#intro img {
  transform-origin: center;
  width: 100%;
  height: 100%;
  position: absolute;
  animation: rotating 20s linear infinite;
}
@keyframes rotating {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes fading {
  0% {
    opacity: 1;
    left: 0;
    top: 0;
  }
  50% {
    opacity: 1;
    left: 0;
    top: 0;
  }
  99% {
    opacity: 0;
    left: 0;
    top: 0;
  }
  100% {
    left: -200%;
    top: -200%;
  }
}
#container, #form-container {
  position: absolute;
  height: 100vh;
  width: calc(95% - 102px);
  max-width: 566px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 117px 30px 67px 67px;
  background: #fff;
  top: 0;
  transition: right 1s, padding 1s;
  box-shadow: 0 0 10px #000000bb;
  box-sizing: border-box;
  z-index: 3;
  right: -464px;
	min-height:500px;
}
#form-container {
  z-index: 2;
  padding: 0;
  overflow: hidden;
}
#form-container iframe {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.close #container, .form-close #form-container {
  right: -464px;
}
.open #container, .form-open #form-container {
  right: 102px;
}
header {
    position: absolute;
    top: 0;
    right: 0;
    width: 102px;
    height: 100vh;
    background: #fff;
    transition: width 1s;
    z-index: 10;
	min-height:500px;
}
header::after {
  content: "";
  width: 72px;
  height: 1px;
  background: #c6c6c6;
  position: absolute;
  right: 19px;
  top: 386px;
  z-index: 1000;
  transition: top 1s;
}
#logo {
  width: 40px;
  height: 284px;
  position: absolute;
  top: 86px;
  right: 32px;
  transition: top 1s;
}
#sun {
  width: 80px;
  height: 80px;
  top: 393px;
  right: 12px;
  position: absolute;
  transition: top 1s;
}
.toggle {
  text-align: center;
  width: 100%;
  position: absolute;
  bottom: 60px;
  left: 0;
  font-weight: 500;
  color: #777777;
  cursor: pointer;
  transition: opacity .3s, bottom 1s;
  z-index: 9999;
}
.toggle:hover {
  opacity: .5;
}
.close #close, .open #inquire, .form-open #inquire {
  pointer-events: none;
  opacity: 0;
}
.open #close, .close #inquire {
  pointer-events: all;
  opacity: 1;
}
h1, h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}
#emails {
  margin-bottom: 20px;
}
#emails a {
  display: block;
  text-decoration: none;
  color: #7ca1ce;
}
#emails a:hover {
  color: #7ca1ce88;
}
#phones {
  margin-bottom: 20px;
  line-height: 170%;
}
#phones span {
  clear: left;
  color: #7ca1ce;
  font-weight: 500;
  display: inline-block;
}
#hours {
  margin-bottom: 40px;
}
main img {
  width: 100%;
  max-width: 334px;
}
#formlink {
  margin-bottom: 20px;
}
#formlink a {
  text-decoration: none;
  color: #7ca1ce;
  font-weight: 600;
}
#formlink a:hover {
  color: #7ca1ce88;
}
#click::before {
  content: "";
  border-left: none;
  border-right: #ecb941 14px solid;
  border-top: 7px transparent solid;
  border-bottom: 7px transparent solid;
  margin: 0 6px 0 12px;
  font-size: 0;
  vertical-align: bottom;
}
footer {
  position: absolute;
  bottom: 67px;
  left: 67px;
  font-family: "myriad-pro", sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: #8a8888;
  z-index: -1;
	line-height:1.4;
}
footer a {
  color: #8a8888;
}
footer a:hover, footer a:active, footer a:focus {
  color: #676666;
}
@media(max-width:800px) {
  #background {
    display: none;
  }
  #background-med {
    display: block;
  }
  #intro, #background, #background-low, #background-med {
    border-width: 0px;
  }
  #container {
    padding: 30px;
  }
  #logo {
    top: 30px;
  }
  #sun {
    top: 337px;
  }
  header::after {
    top: 330px;
  }
}
@media screen and (max-width:600px) {
  header {
    width: 72px;
  }
  #sun {
    width: 60px;
    height: 60px;
    right: 6px;
  }
  #logo {
    right: 15px;
  }
  #container, #form-container {
    width: calc(95% - 72px);
  }
	
.open #container, .form-open #form-container {
  right: 72px;
}
}
@media(max-height:960px) {
	html, body{overflow-y: auto;}
  footer {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 40px;
  }
  #logo {
    top: 30px;
  }
  .toggle {
    bottom: calc(100% - 460px);
  }
  #sun {
    top: 337px;
  }
  header::after {
    top: 330px;
  }
  #container {
    padding: 30px 30px 80px 30px;
  }
}
@media(max-height:400px) {
  #logo {
    top: 30px;
  }
  .toggle {
    bottom: calc(100% - 460px);
  }
  #sun {
    display: none;
  }
  header::after {
    display: none;
  }
  #container {
    padding: 30px 30px 80px 30px;
  }
}
@media print {
  * {
    display: none;
  }
  #form-container, #form-container * {
    display: block;
  }
  #form-container {
    position: relative;
    width: 100%;
    height: auto;
    right: auto;
    top: auto;
  }
}