body {
  margin: 0;
  background: #000; 
  font-family: Helvetica Neue, Helvetica, sans-serif;
}

#content { 
  position: fixed;
  font-family: Helvetica Neue, Helvetica, sans-serif;
  /*font-weight:100; */
  color: white;
  width: 100%;
  height: 100%;
  text-align: center; 
  background: url('./factory-interior.jpg') no-repeat;
  background-size: cover;  
  background-position: center center;
}
#content:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  /*margin-right: -0.25em; */ /* Adjusts for spacing */
}
#content #title {
  display: inline-block;
  vertical-align: middle;
  width: 90%;
  background-color: #fff;
  padding: 2rem 0;
  text-align: center;
}
#content #title img {
  width: 80%;
  height: auto;
}

.contact-button {
  padding: 2rem 0 .5rem 0;
  border-bottom: .3rem solid #A3ACAA;
  text-decoration: none;
  display: table;
  min-width: 0;
  min-width: auto;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: .3rem;
  color: #000;
  font-size: 70%;
  font-weight: 500;
}

/*
a {
  color: #fff;
  text-decoration: none;
  background:rgba(0,0,0,0.3);
  padding: .5rem;
  transition: .6s background; 
  font-size: 1rem;
}
a:hover {
  background:rgba(0,0,0,0.9);
}
*/

#contact {
  position: fixed;
  top:0;
  bottom:0;
  right: 0;
  background-color: #fff;
  width: 0;
  z-index: 100;
  overflow: hidden;
  padding: 0;
  -webkit-transition: all 0.5s; 
  -moz-transition: all 0.5s; 
  -ms-transition: all 0.5s; 
  -o-transition: all 0.5s; 
  transition: all 0.5s;   
}

#contact.vis {
  width: 100%; 
  overflow: visible;
}

#contact.invis {
  width: 0;
  padding: 0;
  overflow: hidden;
}

.form-holder {
  overflow: auto;
  position: relative;
  max-height: 100%;
}

form {
  padding: 20px;
  margin: 50px 0;
}

.close-button {
  cursor: pointer;
  position: absolute;
  right: 5%;
  top: 5%;
  z-index: 101;
}

.input-label {
/*  font-size: 1.3rem;*/
  color: #000;
  margin-top: 50px;
  font-weight: 500;  
  color: #6B7270;
}

input[type='text'] {
  color: #000;
  font-size: 1.3rem;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #000;
  width: 100%;
  padding: 20px 0px;
  outline: none;
}

input[type='text'].has-error {
   border-bottom: 1px solid red;
}

input[type='submit'] {
  color: #000;
/*  margin: 40px auto;*/
  cursor: pointer;
/*  width: 100%;*/
  border: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .3rem;
  color: #000;
  font-size: 100%;
  font-weight: 500;  
  padding: 3rem 0 .5rem 0;
  margin: 0 auto;
  margin-bottom: 2rem;
  background-color: #fff;
  border-bottom: .3rem solid #A3ACAA;
}
textarea {
  font-family: inherit;
  color: #000;
  font-size: 1.3rem;
  background-color: #fff;
  border: none;
  border-bottom: 1px solid #000;
  width: 100%;
  padding: 20px 0px; 
  resize: vertical;
  outline: none;
}
textarea.has-error {
  border-bottom: 1px solid red;
}

.has-error {
  color: red;
}

.help-block {
  margin-top: 10px;
}

.contact-success {
  width: 100%;
  background-color: #A3ACAA;
  color: #fff;
  text-align: center;
  padding: 10% 0;
  margin-top: 20px;
  font-size: 1.3rem;
}

.contactSubmit:hover {
  color: grey
}

div.g-recaptcha > div.grecaptcha-badge {
  width: 0 !important;
}

.grecaptcha-badge { opacity:0 !important; margin-bottom: 60 }

.recaptcha-terms {
  color: dimgray;
  background-image: url('grecaptcha-logo.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  padding-left: 34px;
  line-height: 22px;
  margin-top: 20px;
  min-height: 24px;
  width: auto;
  text-align: left;
  font-size: 70%;
}

  .recaptcha-terms > a {
    font-size: 100%;
    color: dimgray;
  }
  .recaptcha-terms > a:hover {
    color: grey;
  }

/*** autofill chrome fix ***/

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input[type='text']:-webkit-autofill, 
input[type='text']:-webkit-autofill:hover, 
input[type='text']:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  font-family: inherit;
  color: #000;
  font-size: 1.3rem;
  background-color: #fff;  
}

/** xs **/
@media screen and (min-width:480px) {
    
}

/** sm **/
@media screen and (min-width:768px) {
  #content {
    text-align: right;
  }
  #content #title {
    width: 34rem;
    padding: 4rem 0;
  }
  .contact-button  {
    font-size: 100%;
    padding: 3rem 0 .5rem 0;
  }
  h1 {
    font-size: 2rem;
  }
  a {
    font-size: 1.5rem;
  }
  #contact {  
    right: 0%;
    margin-left: 0;
  }
  #contact.vis {
    width: 45rem;
/*    margin-left: -230px;*/
    overflow: visible;
  }  
}

/** md **/
@media screen and (min-width:992px) {
  #content #title {
    width: 34rem;
    /*border: 1px solid blue;*/
  }  
  h1 {
    font-size: 2.5rem;
  }  
}

/** lg **/
@media screen and (min-width:1200px) {
  #content #title {
    width: 34rem;
  }      
  h1 {
    font-size: 3rem;
  }  
}

/*
@media screen and (max-width: 500px) { 
  div{width:70%;} 
}
@media screen and (max-device-width: 800px) {
  html { background: url(./soapfactory.jpg) #000 no-repeat center center fixed; }
  #bgvid { display: none; }
}*/