/*.NewsletterModal{
  transition: all 3s ease-in-out;
}*/

#NewsletterModal.open{
  transition: all 150ms ease-in-out;
  opacity: 1;
}

#NewsletterModal{
  transition: all 150ms ease-in-out;
  opacity: 0;
}

.newsletter-inline-wrapper{
    border-style: solid;
    border-width: 10px;
    border-image: url("images/Background.svg") 2% round;
    /*border: 10px solid transparent;*/
    padding: 15px;
    height: 208px;
    margin: 15px 0;
}

.newsletter-join{
  color: #252525;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 22px;
  text-align: left;
  font-weight: bold;
  padding-bottom: 8px;
}

.newsletter-subline{
    color: #252525;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 18px;
    width: 351px;
    text-align: left;
    padding-bottom: 8px;
}

#mce-EMAIL-inline-article{
    background-color: #FFFFFF;
    border: 1px solid #C5C5C5;
    width: 417px;
    height: 40px;
}

.signupbtn-inline-article{
    background-color: #008817;
    width: 157px;
    height: 40px;
    color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 19px;
    border: none;
    vertical-align: bottom;
    margin-left: 4px;
    font-weight: 800;
}

.checkmark > div.inline-privacy-text{
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 15px;
    width: 407px;
    margin-left: 20px !important;
    top: -2px;
    color: #a4a4a4;
}

.inline-email-signup{
    margin-bottom: 8px;
}




.newsletter-sidebar-wrapper{
  border-style: solid;
  border-width: 12px;
  border-image: url("images/Background.svg") 2% round;
  /*border: 12px solid transparent;*/
  padding: 15px;
  height: 347px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.sidebar-subscribe-success{
  display: none;
}

.inhabitat-owl.sidebar{
  display: block;
  margin-bottom: 8px;
}
.inhabitat-owl.sidebar > img{
  height: 30px;
  width: 21px;
}

.newsletter-subline.sidebar{
  width: 100%;
  padding-bottom: 20px;
}

#mce-EMAIL-sidebar {
  background-color: #FFFFFF;
  border: 1px solid #C5C5C5;
  height: 40px;
  width: 100%;
}

.checkmark > div.sidebar-privacy-text{
  position: relative;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 15px;
  left: 20px;
  width: 268px;
  color: #a4a4a4;
  top: -2px;
}

@media screen and (max-width: 1144px){
  .checkmark > div.sidebar-privacy-text{
    width: 228px;
  }

}

.newsletter-sidebar-privacy{
  height: 50px;
  margin-top: 12px;
}

.newsletter-sidebar-privacy .check-label{
  /*display: block;*/
  position: relative;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.newsletter-sidebar-privacy .check-label input{
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.newsletter-sidebar-privacy .checkmark{
  position: absolute;
  top: 3px;
  left: 0;
  height: 14px;
  width: 14px;
  background-color: #fff;
  border: 1px solid #C7C7C7;
  /*display: inline-block;*/
  vertical-align: top;
}

.newsletter-sidebar-privacy .check-label:hover input ~ .checkmark{
  background-color: #eee;
}

.newsletter-sidebar-privacy .check-label input:checked ~ .checkmark{
  background-color: #e8e8e8;
}

.newsletter-sidebar-privacy .checkmark:after{
  content: "";
  position: absolute;
  display: none;
}

.newsletter-sidebar-privacy .check-label input:checked ~ .checkmark:after{
  display: block;
}

.newsletter-sidebar-privacy .check-label .checkmark:after{
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #008817;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.newsletter-sidebar-message{
  display: block;
}

.sidebar-privacy-text > a{
  color: #008817;
  font-weight: 600;
}

.sidebar-email-signup > button{
  background-color: #008817;
  margin-top: 12px;
  width: 100%;
  height: 40px;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 19px;
  border: none;
  font-weight: 800;
}

.newsletter-sidebar-message {
  color: #E02020;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  margin: 5px auto;
  width: 100%;
}

.newsletter-check-error-sidebar{
  color: #E02020;
  font-size: 12px;
  line-height: 15px;
  display: inline;
  margin-left: 4px;
}

.sidebar-subscribe-success.firstline{
  color: #252525;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 22px;
  text-align: left;
  font-weight: 800;
  margin-top: 2px;
}

.sidebar-subscribe-success.subline{
  color: #252525;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 18px;
  width: 351px;
  text-align: left;
  margin-top: 8px;
}





.newsletter-inline-privacy{
  width: 582px;
  float: left;
}

.newsletter-inline-privacy .check-label{
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.newsletter-inline-privacy .check-label input{
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.newsletter-inline-privacy .checkmark{
  position: absolute;
  top: 3px;
  left: 0;
  height: 14px;
  width: 14px;
  background-color: #fff;
  border: 1px solid #C7C7C7;
  /*display: inline-block;*/
  vertical-align: top;
}

.newsletter-inline-privacy .check-label:hover input ~ .checkmark{
  background-color: #eee;
}

.newsletter-inline-privacy .check-label input:checked ~ .checkmark{
  background-color: #e8e8e8;
}

.newsletter-inline-privacy .checkmark:after{
  content: "";
  position: absolute;
  display: none;
}

.newsletter-inline-privacy .check-label input:checked ~ .checkmark:after{
  display: block;
}

.newsletter-inline-privacy .check-label .checkmark:after{
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #008817;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

  
  .newsletter-inline-message{
      width: 130px;
      float: right;
      color: #E02020;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    margin-right: 10px;
  }

  .newsletter-check-error-inline{
      color: #E02020;
    font-size: 12px;
    line-height: 15px;
    display: inline;
    margin-left: 4px;
  }

  .inline-subscribe-success{
    display: none;
  }

  .inline-subscribe-success.firstline{
    color: #252525;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 22px;
    text-align: left;
    font-weight: 800;
  }

  .inline-subscribe-success.subline{
    color: #252525;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 18px;
    width: 351px;
    text-align: left;
    margin-top: 4px;
  }


@media screen and (min-width: 1440px){
  .newsletter-inline-article{
    margin: 0 auto;
    width: 585px;
  }
}

@media screen and (min-width: 768px){
  .inhabitat-owl{
    display: none;
  }

  .inline-email-signup-mobile{
    display: none;
  } 
  .inline-email-signup > button{
    display: inline-block;
  }

  .newsletter-inline-message.mobile{
    display: none !important;
  }
}

@media screen and (max-width: 767px){
  .newsletter-inline-article{
    max-width: 320px;
    margin: 2px auto 0;
  }

  .inhabitat-owl{
    display: block;
    height: 30px;
    width: 21px;
    margin-bottom: 8px;
  }

  .newsletter-inline-wrapper{
    height: 361px;
  }

  .newsletter-subline{
    max-width: 279px;
    padding-bottom: 16px;
  }

  .newsletter-inline-privacy{
    width: 100%;
  }

  #mce-EMAIL-inline-article{
    width: 100%;
    height: 40px;
  }

  .inline-email-signup-mobile{
    display: block;
    margin: 80px auto auto 0;
  }

  .inline-email-signup-mobile > .signupbtn-inline-article{
    width: 100%;
    max-width: 320px;
  }

  .inline-email-signup > button{
    display: none;
  }

  .checkmark > div.inline-privacy-text{
    width: 265px;
  }

  .newsletter-check-error-inline::before {
    content: "\A";
    white-space: pre;
  }

  .newsletter-inline-message.desktop{
    display: none !important;
  }

  .newsletter-inline-message.mobile {
    float: none;
    color: #E02020;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    margin: 8px auto;
    width: 100%;
  }

  .inline-subscribe-success.firstline{
    margin-top: 2px;
  }
  .inline-subscribe-success.subline{
    margin-top: 10px;
  }

}


/* POPUP */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999999999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  border-style: solid;
  border-width: 12px;
  border-image: url("images/Background.svg") 2% round;
  background-color: #fefefe;
  margin: 15% auto 0; /* 15% from the top and centered */
  width: 524px;
  height: 543px;
  /*border: 12px solid transparent;*/
  padding: 16px;
}

.modal-inner-content{
  padding: 70px;
}

/* The Close Button */
.popup-close {
  color: #333333;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.popup-close:hover,
.popup-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.inhabitat-owl.popup{
  display: block;
  margin-bottom: 10px;
}
.inhabitat-owl.popup > img{
  height: 30px;
  width: 21px;
}

.newsletter-subline.popup{
  width: 100%;
  padding-bottom: 20px;
}

.popup-subscribe-success{
  display: none;
}

.popup-subscribe-success.firstline{
  color: #252525;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 22px;
  text-align: left;
  font-weight: 800;
  margin-top: 2px;
}

.popup-subscribe-success.subline{
  color: #252525;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 18px;
  width: 351px;
  text-align: left;
  margin-top: 8px;
}

.popup-email-signup > button{
  background-color: #008817;
  margin-top: 12px;
  width: 100%;
  height: 40px;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 19px;
  border: none;
  font-weight: 800;
}

#mce-EMAIL-popup {
  background-color: #FFFFFF;
  border: 1px solid #C5C5C5;
  height: 40px;
  width: 100%;
}

.newsletter-popup-privacy{
  height: 50px;
  margin-top: 12px;
}

.newsletter-popup-privacy .check-label{
  /*display: block;*/
  position: relative;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.newsletter-popup-privacy .check-label input{
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.newsletter-popup-privacy .checkmark{
  position: absolute;
  top: 3px;
  left: 0;
  height: 14px;
  width: 14px;
  background-color: #fff;
  border: 1px solid #C7C7C7;
  /*display: inline-block;*/
  vertical-align: top;
}

.newsletter-popup-privacy .check-label:hover input ~ .checkmark{
  background-color: #eee;
}

.newsletter-popup-privacy .check-label input:checked ~ .checkmark{
  background-color: #e8e8e8;
}

.newsletter-popup-privacy .checkmark:after{
  content: "";
  position: absolute;
  display: none;
}

.newsletter-popup-privacy .check-label input:checked ~ .checkmark:after{
  display: block;
}

.newsletter-popup-privacy .check-label .checkmark:after{
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid #008817;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkmark > div.popup-privacy-text{
  position: relative;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 15px;
  left: 20px;
  width: 280px;
  color: #a4a4a4;
  top: -2px;
}

.popup-privacy-text > a{
  color: #008817;
  font-weight: 600;
}

.newsletter-check-error-popup{
  color: #E02020;
  font-size: 12px;
  line-height: 15px;
  display: inline;
  margin-left: 4px;
}

.popup-email-signup > button{
  background-color: #008817;
  margin-top: 12px;
  width: 100%;
  height: 40px;
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 19px;
  border: none;
  font-weight: 800;
}

.newsletter-popup-message {
  color: #E02020;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  margin: 10px auto;
  width: 100%;
  display: block;
}

.popup-close > i.fa.fa-times{
  font-weight: 400;
  font-size: 20px;
}

@media screen and (max-width: 767px){

  /*.modal-content{
    height:100%;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px !important;
  }*/

  .modal-inner-content{
    padding: 0;
    margin-top: 24px;
  }

  /*.popup-close{
    font-size: 33px;
  }*/

}

@media screen and (min-width: 801px){
  #header .main-container .header-socials-list>#header-subscribe{
    display: none;
  }
}

@media screen and (max-width: 800px){
  #header .main-container .header-socials-list>#header-subscribe{
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
  }

  #header-subscribe > .SubscribeBTN{
    color: #1b3845;
    font-weight: 800;
  }
}

@media screen and (max-width: 369px){
  #header .main-container .header-socials-list>#header-subscribe{
    margin: 5px 0 5px 5px;
  }
}

@media screen and (max-width: 349px){
  #header-subscribe > .SubscribeBTN{
    font-size: 14px;
  }
  #header .main-container .header-socials-list>#header-subscribe{
    margin: 2px 0 5px 5px;
  }
}


