﻿
.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.94);
  z-index: 999999;
  overflow: hidden;
}
.lead-overlay .lead-popup .form input[type='text'].required {
    background: #f8dbdb !important;
}
.loading i {
  position: absolute;
  top: -99999px;
  left: -99999px;
  right: -99999px;
  bottom: -99999px;
  margin: auto;
  width: 100px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  color: #c7c7c7;
  font-size: 40px;
}
.lead-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  overflow: hidden;
}
.lead-overlay .lead-popup {
  position: absolute;
  top: -9999px;
  left: -9999px;
  right: -9999px;
  bottom: -9999px;
  margin: auto;
  width: 480px;
  height: 530px;
  box-sizing: border-box;
  padding: 120px 30px 30px 30px;
  background: #FFF;
}
    .lead-overlay .lead-popup .header-image {
        width: 100%;
        height: 100px;
        position: absolute;
        top: 0px;
        left: 0;
        background: url("/blog/js/lead-form/lead.png") no-repeat center;
    }
.lead-overlay .lead-popup .close-button {
  bottom: -40px;
  width: 80px;
  left: 50%;
  margin-left: -40px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  cursor: pointer;
}
.lead-overlay .lead-popup .close-button:before {
  content: "x";
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 7px;
  background: #cb1517;
  text-align: center;
  line-height: 20px;
}
    .lead-overlay .lead-popup .close-button:hover:before {
        background: #5d5f68;
    }
.lead-overlay .lead-popup span.title {
  font: 28px 'Lato', sans-serif;
  font-weight: 900;
  color: #cb1517;
  padding: 0;
  margin: 0 0 10px 0;
  display: block;
  text-align: center;
}
.lead-overlay .lead-popup p {
  font: 14px 'Lato', sans-serif;
  color: #666;
  padding: 0;
  margin: 0;
  text-align: center;
}
.lead-overlay .lead-popup .form {
  display: block;
  width: 100%;
  margin: 40px auto 0 auto;
}
.lead-overlay .lead-popup .form:after {
  content: "";
  clear: both;
}
.lead-overlay .lead-popup .form input[type='text'] {
  display: block;
  width: 100%;
  height: 60px;
  border: none;
  border-bottom: 1px solid #ebebeb;
  padding: 0 20px;
  font: 16px 'Lato', sans-serif;
  color: #666;
  background: #FFF;
  box-sizing: border-box;
  margin-bottom: 10px;
  outline: none;
    border-radius: 10px
}
.lead-overlay .lead-popup .form input[type='submit'] {
  display: block;
  width: 108px;
  height: 30px;
  border: none;
  font: 17px 'Lato', sans-serif;
  color: #ffffff;
  background: #cb1517;
  outline: none;
  border-radius: 5px;
  float: right;
  margin: 17px 0 0 0;
}

.lead-overlay .lead-popup .form input[type='checkbox'] {
  margin: 20px 5px;
        
}

.lead-overlay .lead-popup .form label {
  color:#5a604a;
  font-size: 11px;
  line-height: 18px;
        
}

.lead-overlay .lead-popup .form label  a{
  color:#5a604a;
  
  text-decoration: none;
        
}

.lead-overlay .lead-popup .form label  a:hover{
  color:#cb1517;
        
}

.lead-overlay .lead-popup .form input[type='submit'] {
  display: block;
  width: 108px;
  height: 30px;
  border: none;
  font: 17px 'Lato', sans-serif;
  color: #ffffff;
  background: #cb1517;
  outline: none;
  border-radius: 0px;
  float: right;
  margin: 33px 115px 0 0px;
}
    .lead-overlay .lead-popup .form input[type='submit']:hover {
        background: #5d5f68;
    }
@media only screen and (max-width: 768px) {
  .lead-overlay .lead-popup {
    top: -9999px;
    left: 20px;
    right: 20px;
    bottom: -9999px;
    width: auto;
    height: 420px;
    box-sizing: border-box;
    padding: 60px 15px 15px 15px;
    background: #ffffff;
  }
 .lead-overlay .lead-popup .header-image {
    display: none;
    }
.lead-overlay .lead-popup span.title {
    font-size: 20px;
  }
  .lead-overlay .lead-popup .form {
    width: 100%;
    margin-top: 15px;
  }
  .lead-overlay .lead-popup .form input[type='text'] {
    height: 40px;
    font-size: 14px;
  }
  .lead-overlay .lead-popup .form input[type='submit'] {
    height: 40px;
    font-size: 14px;
    margin: 26px 50px 0 0;
  }
}.lead-overlay .lead-popup .skip, .lead-overlay-2 .lead-popup .skip {
    float: right;
    margin-right: 15px;
    margin-top: 20px;
    font: 16px 'Lato', sans-serif;
    text-decoration: none;
    color: #666;
    margin: 37px 15px 0px 0;
}
.lead-overlay .lead-popup .form input[type='text'].required {
 background: #f8dbdb !important;
}
.lead-overlay .lead-popup .form small {
  font-size: 11px;
  color: #6B6B6B;
  text-align: center;
  display: block; margin-top: 20px;
}

.lead-overlay .lead-popup .form small a {
  color: #6B6B6B;
  text-decoration: underline;}.lead-overlay .lead-popup .form small a:hover {
  color: #cb1517;
}