 .slide-in {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: rgb(54,62,81);
}

.slide-in h2 {
    font-size: 24px;
    color: white;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

.slide-in p {
    color: white;
    letter-spacing: 0.01em;
}

.slide-in input[type="text"] {
    float: left;
    width: 70%;
    height: 40px;
    padding: 10px;
    border: none;
}

.slide-in input[type="submit"]{
    float: left;
    width: 30%;
    height: 40px;
    background: #1087af;
    border-radius: 0;
    border: none;
    font-size: 16px;

    color: white;
    text-shadow: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px
}

.float-bar {
    position: fixed;
    background: #273E66;
    bottom: 0;
    padding: 10px 0;
    width: 100%;
    text-align: center;
}

.float-bar h2 {
    font-size: 20px;
    color: white;
    letter-spacing: 0.05em;
    margin: 15px 0;
}

.float-bar input[type="text"] {

    max-width: 300px;
    height: 40px;
    padding: 10px;
    border: none;
}

.float-bar input[type="submit"]{

    max-width: 100px;
    height: 40px;
    background: #1087af;
    border-radius: 0;
    border: none;
    font-size: 14px;

    color: white;
    text-shadow: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: -3px;
}

.opt-in-modal input[type="text"] {
    display: block;
    height: 40px;
    padding: 10px;
    border: none;
}

.opt-in-email {
  width: 100% !important;
  float: left;
  margin-top: 2% !important;
  margin-bottom: 2% !important;
}

.opt-in-modal #submit-newsletter-modal {
  float: left;
  margin-top: 20px;
  display: block;
  color: #fff;
  font-size: 18px;
  border: none;
  padding: 17px 44px;
  background: #1087af !important;
  -khtml-border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-weight: 900;
  position: relative;
  width: 100% !important;
  text-shadow: none;
  letter-spacing:  0.05em;
  font-size: 24px !important;
  text-align: center !important;
}

.opt-in-modal input[type="submit"]:hover {
  color: white !important;
}

.opt-in-modal .modal-body {
    overflow: hidden;
}

.modal-text {
    text-align: center;
}

.opt-in-modal .modal-header {
    border: none !important;
}

.opt-in-modal h4 {
    font-size: 40px !important;
    font-family: "open_sans_condensedbold", "Arial Narrow", "Helvetica", "Arial", "_sans" !important;
    text-align: center;   
}

.opt-in-modal .modal {
  background-color: rgba(0,0,0, 0.6);
}

.modal-content {
    background: #eee !important;
}

.modal-content input {
    height: 70px !important;
}

.modal-text {
    font-size: 16px;
    line-height: 1.5;
}

.modal-content {
    padding: 10px 10px;
}

h4#newsletter_modal_label {

    /*text-shadow: 1px 1px rgba(255,255,255,0.8);*/
    text-transform: uppercase;
    letter-spacing: 1px
}

.modal input {
    font-size: 18px !important;
}

h4#newsletter_modal_label {
    font-weight: bold;
}

.modal-body {
    padding-top: 0 !important;
}

.modal-header {
    padding-bottom: 0 !important;
}

.modal-text {
    margin: 20px 0;
}

.float-bar {
  display: none;
}

.slide-in button.close, .float-bar button.close {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 0;
  background: none !important;
  border:  0;
  text-shadow: none !important;
  color: white;
  padding: 0 !important;
  font-size: 24px;
  margin: 0 !important;
}

.float-bar h2 {
    float: left;
}

.float-bar-wrapper {
    width: 930px;
    margin: 0 auto;
}

.float-bar .opt-in-form {
    float: right;
    margin-left: 10px;
    margin-top: 10px;
}

.float-bar input {
    width: 160px
}

.float-bar input[type="submit"] {
    margin-left: 10px;
    width: 160px !important;
    max-width: none !important;
}

input.opt-in-first-name.placeholder,
input.opt-in-last-name.placeholder,
input.opt-in-first-name,
input.opt-in-last-name {
  width: 48% !important;
  float: left;
}

input.opt-in-first-name.placeholder,
input.opt-in-first-name {
  margin-right: 1% !important;
}

input.opt-in-last-name.placeholder,
input.opt-in-last-name {
  margin-left: 1% !important;
}


 @media only screen and (min-width: 768px) and (max-width: 959px) {
  .float-bar .opt-in-form {
      float: none;
      clear: both;
      margin: 0 auto;
  }

  .float-bar h2 {
      float: none;
  }
 }

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

input.opt-in-first-name.placeholder,
input.opt-in-last-name.placeholder,
input.opt-in-first-name,
input.opt-in-last-name {
  width: 100% !important;
  float: left;
}

input.opt-in-first-name.placeholder,
input.opt-in-first-name {
  margin-right: 0 !important;
  margin-bottom: 2% !important;
}

input.opt-in-last-name.placeholder,
input.opt-in-last-name {
  margin-left: 0 !important;
  
}

  .newsletter-modal input[type="submit"] {
      display: inline-block;
      margin-top: 0;
      width: 200px !important;
      margin-left: 10px;
  }

  .newsletter-modal input[type="submit"] {
    margin-top: 18px;
  }

  .newsletter-modal {
    display: none;
    padding: 20px 0;
    height: auto;
    overflow: hidden;
  }

  .newsletter-modal-wrapper {
    position: static !important;
    height: auto !important;
  }  

  .news-letter-modal-subheading {
    line-height: 1.5;
    font-size: 18px;
  }

  .newsletter-modal-header h2 {
    font-size: 30px;
  }

  .newsletter-modal-header {
    margin-bottom: 20px !Important;
  }

  .newsletter-modal input[type="submit"] {
    width: 100% !important;
    /* margin: 20px 0px !important; */
    margin: 0;
    margin-top: 10px;
  }

  .newsletter-modal {
    padding: 20px !Important;
  }

  .newsletter-modal input[name="tfa_3"] {
    width: 100%;
  }

  .mobile-only {
  display: block;
  }

  .opt-in-modal input[type="submit"]{
    font-size: 18px !important;
  }

 .float-bar .opt-in-form {
      float: none;
      clear: both;
      margin: 0 auto;
  }

  .float-bar h2 {
      float: none;
  }

  .float-bar-wrapper {
    width: auto;
  }

}

.opt-in-modal .modal-body.submitted {
    margin-top: 20px;
}

.newsletter-thank-you {
  display: none;
}

.modal-loader-image {
  width: 16px;
  height: 16px;
}

.modal-thank-you-iframe {
  display: none;
}

.modal-thank-you-area {

}

#submit-newsletter-modal a {
  color: white;
}

.modal-loader-image-container {
    width: 100%;
    text-align: center;
    display: block;  
}

.modal-thank-you-area {
  width: 100%;
  min-height: 183px;
  text-align: center;
}

.modal-thank-you-area {
  width: 500px;
  margin: 0;
}

span.sidebar-loader-image-container {
    margin-left: 5px;
    top: 3px;
    position: relative;
}

.sidebar-newsletter-iframe {
  width: 224px;
  height: 85px;
}

.sidebar-newsletter-thank-you-area {
  display: none;
}

.modal-thank-you-area {
  margin: 0 auto;
}

.modal-thank-you-iframe {
  height: 50px;
}

#submit-newsletter-modal {
  cursor: pointer;
}

#newsletter-normal-form .fv-icon-no-label, {
    top: -1px;
    right: -13px;
}

#newsletter-normal-form i.form-control-feedback.glyphicon {
    top: -1px;
    right: -13px;    
}

#newsletter-normal-form input.form-control {
    padding-right: 0 !important;
}

#newsletter-modal-form .fv-icon-no-label, {
    top: 17px;
    right: -13px;
}

#newsletter-modal-form i.form-control-feedback.glyphicon {
    top: 17px;
    right: -13px;    
}

#newsletter-modal-form input.form-control {
    padding-right: 0 !important;
}

#newsletter-normal-form .form-group input {margin-bottom: 10px;}

#newsletter-normal-form button#submit-newsletter-normal,
#newsletter-modal-form button#submit-newsletter-modal {
  width: 100%;
  text-shadow: none !important;
  font-size: 18px;
  letter-spacing: 1px;
  border: none;
  margin-bottom: 10px;
}

#newsletter-normal-form button#submit-newsletter-normal:hover, 
#newsletter-modal-form button#submit-newsletter-modal:hover {
  background: #5B93C3;
}

.tpd-form-row {
  margin-bottom: 0 !important;
}
