/*
Theme Name: Aspen
Author: Freerange Future
Author URI: http://freerangefuture.com/
Version: 1.0
Text Domain: aspen
*/

@font-face {
    font-family: 'carraramedium';
    src: url('assets/fonts/carrara-medium-webfont.woff2') format('woff2'),
        url('assets/fonts/carrara-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

*{
  font-size: 16px;
    line-height: 1.4em;
    font-family: "motiva-sans",sans-serif;
  font-style: normal;
  font-weight: 300;
    color: #6A7764;
}
body{
  margin: 0;
  padding: 0;
  background-color: #e5e8e1;
}
.top{
  background: #fff;
  padding: 40px 0;
}
.logo-icon{
  height: 233px;
  width: 197px;
}
.logo{
  height: 130.25px;
    width: 385px;
    margin-top: 138px;
}
h1{
  color: #545E4F;
  font-size: 34px;font-weight: 500;
  line-height: 39px;
  text-align: right;
}
.bottom{
    padding: 80px 0 20px;
}
h3, .page-content h1{
  color: #6A7764;
  font-size: 28px;
  font-weight: 500;
  line-height: 37px;
  margin: 0 0 20px;
  max-width: 88%;
  text-align: left;
}
h2{
  color: #393F31;
  font-size: 28px;
  font-weight: 500;
  line-height: 35px;
  margin: 0;
  max-width: 88%;
}
h2 a{
  font-size: 1em;
  color: #393F31;
  font-weight: 500;
  text-decoration: none;
    transition: all 0.1s ease-in-out 0s;
    display: inline-block;
    overflow: hidden;
    position: relative;
}
a:hover{
  color: #393F31;
  cursor: pointer;
  text-decoration: none;
}
h2 a:after, .contact-details a:after, .footer-items li a:after{
    content: '';
    box-shadow: 0px 0px 0px 1px #393F31;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    z-index: -1;
}
.contact-details a:after, .footer-items li a:after{
  box-shadow: 0 0 0 1px #e5e8e1;
}
h2 a:hover:after, .contact-details a:hover:after{
    box-shadow: 0 0 0 9px #fff;
    bottom: 11px;
    transition: all 0.3s ease;
}
.contact-details a:hover:after, .footer-items li a:hover:after{
  box-shadow: 0 0 0 7px #fff;
}
.contact-details{
  margin: 100px 0 30px;
  float: left;
  width: 100%;
}
.contact-details h2{
  color: #545E4F;
  font-family: 'carraramedium';
  font-size: 35px;
  line-height: 37px;
  margin: 0 0 15px;
  max-width: 100%;
}
.contact-details a{
  color: #6A7764; 
  font-size: 18px;
  line-height: 30px;
  margin: 0 40px 0 0;
  float: left;
  display: inline-block;
  overflow: hidden;
  position: relative;
}
.contact-details a:last-child{
  margin-right: 40px;
}
.footer-items{
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-items li{
  font-size: 14px;
  line-height: 37px;
  display: inline-block;
}
.footer-items li:first-child{
  margin-right: 30px;
}
.footer-items li a{
  color: #6A7764;
  font-size: 1em;
  display: inline-block;
  overflow: hidden;
  position: relative;
}
.contact-details a:hover, .footer-items li a:hover{
  color: #393F31;
}
.footer-items li.active{
  text-decoration: underline;
}
.form-modal {
    position: fixed;
    top: 0;
    background: rgba(57,63,49,0.6);
    left: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    display: block!important;
    opacity: 0;
    transition: 300ms all;
}
.form-modal.show {
    opacity: 1;
    z-index: 9999;
}
body.fixed {
    overflow: hidden;
}
.form-modal .wrapper {
    margin: 0 auto;
    max-width: 780px;
    height: 550px;
    position: absolute;
    left: 0;
    right: 0;
    top: 180px;
    box-shadow: 0 100px 200px 0 rgba(35,31,32,0.2);
    padding: 100px 100px 80px;
    background: #fff;
}
.form-modal .close {
    position: absolute;
    right: 35px;
    top: 35px;
}
.form-modal .close img {
    width: 30px;
    height: 30px;
}
.form-modal .close:hover, .form-modal .close img:hover{
  cursor: pointer;
}
#mc_embed_signup form{
  padding: 0!important;
}
#mc_embed_signup .clear{
  float: right;
  display: inline-block;
  overflow: hidden;
  position: relative;
}
#mc_embed_signup .clear:after{
  content: '';
    box-shadow: 0px 0px 0px 1px #393F31;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
}
#mc_embed_signup .clear:hover:after{
    box-shadow: 0 0 0 9px #ecdc75;
    bottom: 7px;
    transition: all 0.3s ease;
    display: block;
}
.form-modal h2{
  color: #545E4F;
  font-family: 'carraramedium';
  font-size: 35px!important;
  font-weight: 500!important;
  line-height: 37px!important;
  margin: 0 0 20px!important;
  max-width: 100%;
}
.form-modal p{
  font-size: 28px;
  line-height: 37px;
  color: #6A7764;
  margin: 0 0 20px;
}
#mc_embed_signup .mc-field-group{
  width: 100%!important;
  padding-bottom: 15px!important;
}
label{
  color: #6A7764;
  font-size: 16px;
  line-height: 24px
}
#mc_embed_signup .mc-field-group input{
    border: 1px solid #6A7764;
    background-color: rgba(57,63,49,0.05);
    border-radius: 0;
    padding: 12px 5px;
    font-size: 24px;
    font-weight: 500!important;
    line-height: 30px;
}
#mc_embed_signup .mc-field-group input:focus{
  border-width: 2px;
  outline: none!important;
}
#mc_embed_signup .asterisk{
  color: #6A7764!important;
}
#mc_embed_signup .button{
    float: right;
    color: #545E4F!important;
    font-size: 28px!important;
    font-weight: 500!important;
    line-height: 35px!important;
    background-color: transparent!important;
    padding: 0!important;
    border-radius: 0!important;
    text-decoration: none!important;
    margin: 12px 0 0!important;
    transition: all 0.1s ease-in-out 0s!important;
    position: relative;
    z-index: 1;
}
#mc_embed_signup .button{
  outline: none!important;
}
#mc_embed_signup div#mce-responses{
  top: 0!important;
  position: absolute;
  padding: 0!important;
  margin: 0!important;
  width: 100%!important;
}
#mc_embed_signup #mce-success-response{
    color: #d6c662!important;
    font-size: 30px;
    line-height: 40px;
    top: 0;
    padding: 0;
    margin: 0;
    height: 380px;
    width: 100%;
    background: #fff;
    padding-top: 160px;
    text-align: center;
}

.back{
    color: #545E4F;
    font-size: 20px;
    font-weight: 500!important;
    line-height: 30px!important;
    text-decoration: underline;
    margin: 20px 0 40px;
    float: left;
    transition: all 0.1s ease-in-out 0s!important;
}

.page-content{
  padding-top: 80px;
}

footer{
  padding-bottom: 20px;
}

@media screen and (max-width: 850px){
  .form-modal .wrapper{
    max-width: calc(100% - 60px);
    top: 100px;
    height: 500px;
  }
  #mc_embed_signup #mce-success-response{
    padding-top: 130px;
    height: 350px;
  }
  #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error{
    margin: 0!important;
    padding-left: 0!important;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 768px){
  .form-modal .wrapper{
    padding: 80px;
  }
}

@media screen and (max-width: 750px){
  .form-modal .wrapper {
      padding: 60px 60px;
  }
  .form-modal p{
    font-size: 25px;
    line-height: 32px;
  }
  .form-modal h2{
    font-size: 32px!important;
  }
  #mc_embed_signup #mce-success-response{
    height: 380px;
  }
  .logo-icon {
      height: 180px;
      width: 150px;
  }
  .top{
    padding: 20px 0;
  }
  .logo {
      height: 108.25px;
      width: 320px;
      margin-top: 130px;
  }
  h1{
    font-size: 30px;
    line-height: 35px;
  }
  .bottom {
      padding: 60px 0 20px;
  }
  .page-content{
    padding-top: 60px;
  }
  .contact-details a{
    margin-bottom: 0;
    margin-right: 25px;
    line-height: 30px;
  }
  .contact-details {
      margin: 70px 0;
  }
}

@media screen and (max-width: 520px){
  .form-modal .wrapper {
      padding: 60px 30px;
      top: 70px;
  }
  .form-modal .close{
    top: 20px;
    right: 20px;
  }
  .form-modal .close img {
      width: 20px;
      height: 20px;
  }
  .logo-icon {
      height: 145px;
      width: 120px;
  }
  .logo {
      height: 82px;
      width: 240px;
      margin-top: 105px;
  }
  h1 {
      font-size: 24px;
      line-height: 30px;
  }
}

@media screen and (max-width: 414px){
  .form-modal h2{
    font-size: 30px!important;
      line-height: 35px!important;
  }
  .form-modal p {
      font-size: 22px;
      line-height: 28px;
  }
  #mc_embed_signup .button{
    font-size: 25px!important;
  }
  #mc_embed_signup .mc-field-group input{
    font-size: 20px;
  }
  .top {
      padding: 10px 0;
  }
  .logo-icon {
      height: 120px;
      width: 100px;
  }
  .logo {
      height: 70px;
      width: 200px;
      margin-top: 87px;
  }
  h1 {
      font-size: 20px;
      line-height: 25px;
  }
  .contact-details {
      margin: 50px 0;
      float: left;
      width: 100%;
  }
  h2, h3{
    max-width: 100%;
  }
}

@media screen and (max-width: 375px){
  .contact-details a{
    font-size: 16px;
    line-height: 25px;
  }
}

@media screen and (max-width: 350px){
  .form-modal .wrapper {
      padding: 50px 20px;
      top: 50px;
  }
  .form-modal h2 {
      font-size: 25px!important;
      line-height: 28px!important;
  }
  .form-modal p {
      font-size: 18px;
      line-height: 24px;
  }
  #mc_embed_signup .mc-field-group{
    padding-bottom: 10px!important;
  }
  .form-modal .wrapper{
    height: 450px;
  }
  #mc_embed_signup .button {
      font-size: 18px!important;
  }
  #mc_embed_signup .mc-field-group input{
    font-size: 18px;
  }
  .logo-icon {
      height: 100px;
      width: 85px;
  }
  .logo {
      height: 50px;
      width: 150px;
      margin-top: 78px;
  }
  h1 {
      font-size: 18px;
      line-height: 22px;
  }
  h2, h3{
    font-size: 25px;
    line-height: 32px;
  }
  .contact-details h2{
    font-size: 30px;
    line-height: 35px;
    margin-bottom: 10px;
  }
  .contact-details a{
    font-size: 14px;
  }
  .contact-details{
    margin: 40px 0 30px;
  }
  .bottom, .page-content{
    padding-top: 40px;
  }
}