.qf-pdf {
  width: 195px;
  position: absolute;
  bottom: 10px;
}

.quote-link{
  color: #FFF;
}

#quote-fade{
  display: none;
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  opacity: .80;
  z-index: 9999;
}

.quote-popup {
  display: none;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  padding: 30px 50px 30px 50px;
  /*border-right: 60px solid;*/
  position: relative;
  overflow: visible !important;
  background: #eeeeee;
}
.quote-popup .common-form {
  padding: 0;
}
.quote-popup h3{
  letter-spacing: 2px;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: 'Oswald', sans-serif;
}
.quote-popup h4{
  font-size: 24px;
  margin: 10px 0;
  text-align: left;
  font-family: 'Open Sans', sans-serif;

}
.quote-popup .ffl-wrapper .flex-wrapper  {
  justify-content: space-between;
}
.quote-popup .ffl-wrapper .flex-wrapper p {
  width: 47%;
  margin: 1%;
}
.quote-popup .ffl-wrapper .flex-wrapper p label {
  float: left;
  text-align: left;
}
.quote-popup p {
  font-weight: 400;
}
.quote-popup .ffl-wrapper.file-wrapper {
   width: 48%;
  height: 55px;
  line-height: 55px;
  /*padding: 0 20px;*/
  box-sizing: border-box;
  border: none;
  font-size: 16px;
  outline: 0;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 10px #0000000D;
  border-radius: 0px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  background: url(/images/icons/file-upload.svg) 93% 50% no-repeat;
  background-color: white;
}
.quote-popup .file-name {
 border: none;
}
.quote-popup span.ffl-txt-vert {
  position: absolute;
  top: 28px;
  right: -40px;
  line-height: 1;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  writing-mode: vertical-lr;
  transform: rotate(0deg);
  z-index: 8;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 3.2px;
}
.quote-popup .common-link {
  margin: 20px 0 10px;
  float: right;
}

.quote-popup-wp{
  width: auto;
  max-width: 600px;
  _width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: 2px solid #4C4C4C;
  background-color: #FFF;
  padding: 20px;
  font-size: 8pt;
}

.quote-close{
  width: 29px;
  height: 29px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.quote-lbl{
  font-size: 14pt;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #BEBEBE;
}

#quoteForm{
  font-family: Verdana;
  position: relative;
  font-size: 8pt;
}

.qf-item{
  float: left;
  width: 45%;
  padding: 10px 5% 0 0;
}

.qf-item label{
  display: block;
  padding-bottom: 5px;
}

.qf-item div input{
  width: 260px;
}

.qf-item div select{
  width: 240px;
}

.qf-subtitle{
  clear: left;
  padding: 10px 0 5px;
}

.qf-area{
  width: 560px;
  height: 100px;
  resize: none;
}

.qf-captcha{
  width: 95%;
  padding: 10px 5% 0 0;
  text-align: right;
  font-size: 8pt;
}

.qf-captcha div{
  display: inline-block;
  zoom: 1;
  *display: inline;
  vertical-align: top;
}

.qf-captcha label{
  display: inline-block;
  zoom: 1;
  *display: inline;
  vertical-align: top;
  padding-top: 13px;
}

.qfc-input{
  padding: 5px 5px 0;
}

.qf-captcha div input{
  width: 62px;
}

.qf-button A:link, .qf-button A:visited{
  display: block;
  width: 75px;
  height: 24px;
  padding-top: 8px;
  text-align: center;
  border: 5px solid #5281a9;
  border-radius: 5px;
  color: #000;
  font-size: 9pt;
  text-decoration: none;
}

.qf-button A:hover{
  background-color: #FFF;
}

#quote-loading{
  display: none;
  float: right;
  width: 100px;
  height: 43px;
  color: #002157;
  margin: 10px 5% 0 0;
  padding: 13px 30px 0 0;
  background: url(/images/loading.gif) right 12px no-repeat;
  font-size: 8pt;
}

#quote-message{
  display: none;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 225px;
  padding: 10px;
  margin-left: -120px;
  background-color: #FFF;
  font-size: 8pt;
}

.qm-wrong{
  border: 3px solid #FF0000;
}

.qm-wrong A:link, .qm-wrong A:visited{
  font-size: 8pt;
}

.qm-right{
  border: 3px solid #0F4771;
}

.qf_error span{
  display: block;
  padding-bottom: 10px;
  font-weight: bold;
}

.qf_error div{
  color: #FF0000;
  padding-top: 3px;
}

.qf-close{
  text-align: center;
  padding: 10px 0;
}

.qf-close A:link, .qf-close A:visited{
  font-family: Verdana;
  font-size: 8pt;
}

.qf_done{
  text-align: center;
  color: #0F4771;
  line-height: 150%;
  font-size: 8pt;
}

.qf-file {
  margin-top: 2px;
  cursor: pointer;
  float: left;
  display: inline-block;
  width: 155px;
  height: 53px;
  background: url('/images/upload-icon.png') no-repeat;
}

.quote-more {
  display: block;
    background-color: rgba(0,0,0,0.8);
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #FFF;
    font-weight: 700;
    font-size: 30px;
}

.qf-file.fr {
  width: 202px;
  background: url('/images/upload-icon-fr.png') no-repeat;
}

.quote-popup a {
  color: black;
  text-decoration: underline;
}
@media screen and (max-width: 850px) {
  .quote-popup .ffl-wrapper .flex-wrapper p {
    width: 100%;
    margin: auto;
    margin-bottom: 2%;
  }
}

@media screen and (max-width: 650px) {
  .quote-popup {
    padding: 30px 30px 50px;
    border: none;
  }
  .quote-popup-wp{
    width: 230px;
  }

  .qf-item {
    width: 100%;
    padding-right: 0;
  }

  .qf-item .jqTransformInputWrapper {
    max-width: 230px;
  }

  .qf-area{
    width: 220px;
  }
  .qf-button{
    display: block;
    padding-top: 15px;
  }

  .qf-pdf {
    bottom: 114px;
  }

  .qf-captcha {
    padding-top: 60px;
  }
}
