/*********************************************************************
* Footer Styles
*********************************************************************/
#footer {
  background: #f3f3f3;
  overflow: hidden;
  padding-top: 95px;
  position: relative;
}

#footer h2 {
  margin-bottom: 20px;
}

#footer-offices {
  color: #909090;
  margin: 120px 0 50px 0;
  overflow: hidden;
  position: relative;
  top: 0;
  width: 100%;
}

#footer-offices.open {
  top: -100px;
}

#footer-offices p {
  margin-bottom: 20px;
}

#footer-offices a {
  color: #909090;
}

#footer-offices h5 {
  color: #909090;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#footer-offices .footer-office {
  display: inline-block;
  height: 290px;
  text-align: center;
  vertical-align: top;
  width: 25%;
}

#footer-offices .clock {
  display: block;
  margin: 18px auto;
  position: relative;
  width: 90px;
}

#footer-offices .clock-face {
  background: #e5e5e5;
  border-radius: 45px;
  display: inline-block;
  height: 90px;
  width: 90px;
}

#footer-offices .hour-hand,
#footer-offices .minute-hand {
  border-left: 1px solid #7f7f7f;
  left: 50%;
  position: absolute;
  -webkit-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
  width: 0;
}

#footer-offices .hour-hand {
  height: 15%;
  top: 35%;
}

#footer-offices .minute-hand {
  height: 35%;
  top: 15%;
}

.footer-nav {
  color: #1d1d1c;
  height: 25px;
  line-height: 25px;
  position: relative;
  text-align: center;
  top: 0;
  -webkit-transition: top 0.5s ease-in-out;
          transition: top 0.5s ease-in-out;
  -webkit-transition-delay: 100ms;
          transition-delay: 100ms;
}

.footer-nav.open {
  top: -120px;
}

.footer-nav li {
  display: inline;
  letter-spacing: 1px;
  margin: 0 15px;
}

.footer-nav li:last-child {
  margin-right: 0;
}

.footer-nav a {
  color: #1d1d1c;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: #40bfb4;
}

.footer-nav ul.menu {
  width: 80%;
}

.footer-nav #footer-social,
.footer-nav #footer-newsletter-toggle {
  position: absolute;
  top: 0;
}

.footer-nav #footer-social {
  font-size: 18px;
  right: 20px;
}

.footer-nav #footer-social a {
  font-size: 18px;
  margin-left: 36px;
}

.footer-nav #footer-social a:hover {
  color: #40bfb4;
}

#footer-copyright {
  color: #1d1d1c;
  display: inline-block;
  float: left;
  font-size: 12px;
  height: inherit;
  letter-spacing: 1px;
  line-height: inherit;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: top .5s ease-in-out;
          transition: top .5s ease-in-out;
  -webkit-transition-delay: 50ms;
          transition-delay: 50ms;
}

#footer-newsletter-toggle {
  color: #40bfb4;
  display: block;
  text-align: center;
  margin: 30px auto;
  width: 25%;
}

#footer-newsletter-toggle:hover span {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

#footer-newsletter-toggle:hover i {
  background: #40bfb4;
  color: #fff;
  -webkit-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

#footer-newsletter-toggle span {
  cursor: pointer;
  display: block;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 10px auto;
  text-transform: uppercase;
  -webkit-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}

#footer-newsletter-toggle i {
  background: transparent;
  border: thin solid #40bfb4;
  border-radius: 25px;
  color: #40bfb4;
  cursor: pointer;
  font-size: 20px;
  font-weight: normal;
  padding: 10px;
  text-align: center;
  -webkit-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

#footer-newsletter {
  background: #1d1d1c;
  bottom: 0;
  color: #fafafa;
  max-height: 0;
  overflow: hidden;
  position: absolute;
  -webkit-transition: max-height .5s linear;
          transition: max-height .5s linear;
  width: 100%;
}

#footer-newsletter.open {
  max-height: 230px;
}

#footer-newsletter > div {
  padding: 35px 0 30px;
  margin: 0 auto;
  max-width: 800px;
  overflow: hidden;
}

#footer-newsletter button {
  background: transparent;
  border: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: -5px;
  z-index: 10;
}

#footer-newsletter h3,
#footer-newsletter .hbspt-form {
  display: inline-block;
  float: left;
}

#footer-newsletter h3 {
  margin-right: 64px;
}

#footer-newsletter span.form-label {
  color: #fafafa;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-indent: 10px;
  text-transform: uppercase;
}

#footer-newsletter .hbspt-form {
  margin: 0 auto;
  width: 800px;
}

#footer-newsletter .hbspt-form form {
  position: relative;
  width: 100%;
}

#footer-newsletter .hbspt-form .field label {
  display: none;
}

#footer-newsletter .hbspt-form .field .hs-error-msgs {
  color: #40bfb4;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .5px;
  margin: 0;
  padding: 0;
  text-indent: 12px;
  text-transform: uppercase;
}

#footer-newsletter .hbspt-form .field .hs-error-msgs li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-top: 15px;
}

#footer-newsletter .hbspt-form .field .hs-error-msgs label {
  display: block;
}

#footer-newsletter .hbspt-form input[type='email'] {
  border: 0;
  border-bottom: 2px solid #fafafa;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  color: #fafafa;
  font-family: 'Playfair Display', sans-serif;
  font-size: 36px;
  position: relative;
  width: 80%;
}

#footer-newsletter .hbspt-form input[type='email']::-webkit-input-placeholder {
  color: #fafafa;
  font-family: 'Playfair Display', sans-serif;
  font-size: 36px;
  text-indent: 10px;
}

#footer-newsletter .hbspt-form input[type='email']:-ms-input-placeholder {
  color: #fafafa;
  font-family: 'Playfair Display', sans-serif;
  font-size: 36px;
  text-indent: 10px;
}

#footer-newsletter .hbspt-form input[type='email']::placeholder {
  color: #fafafa;
  font-family: 'Playfair Display', sans-serif;
  font-size: 36px;
  text-indent: 10px;
}

#footer-newsletter .hbspt-form input[type='submit'] {
  border: thin solid #fafafa;
  border-radius: 2px;
  color: #fafafa;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 1px;
  -webkit-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

#footer-newsletter .hbspt-form input[type='submit']:hover {
  background: #40bfb4;
  border-color: #40bfb4;
  -webkit-transition: all .5s ease-in-out;
          transition: all .5s ease-in-out;
}

#footer-newsletter .hbspt-form input[type='submit']::after {
  font-family: FontAwesome;
  content: "\f061";
}

#footer-newsletter .hbspt-form .legal-consent-container {
  width: 80%;
  padding-top: 10px;
}

#footer-newsletter .hbspt-form .legal-consent-container p {
  font-size: 11px;
}

#footer-newsletter .hbspt-form div.mce_inline_error {
  background: transparent;
  color: #6b0505;
  font-size: 14px;
  font-weight: lighter;
  padding: 0;
  position: absolute;
  top: 25px;
}

#footer-newsletter .hbspt-form div#mce-responses {
  background: #909090;
  position: absolute;
  top: 25%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 11;
}

#footer-newsletter .hbspt-form .submitted-message {
  color: #fff;
}

#footer-newsletter .hs_submit {
  bottom: 80px;
  position: absolute;
  right: 0;
}

#footer-newsletter .toggle {
  cursor: pointer;
  font-size: 18px;
  margin-top: -19px;
  padding: 10px;
  position: absolute;
  right: 35px;
  top: 50%;
}
