.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;
}
.quote-popup .common-form {
  padding: 0;
}
.quote-popup h3,
.quote-popup__title{
    font-weight: 500;
  letter-spacing: 2px;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.quote-popup p {
  font-weight: 400;
}
.quote-popup .ffl-wrapper.file-wrapper{
  height: 51px;
  line-height: 51px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #d2d2d2;
  background: url(/images/icons/icon-attach.png) 93% 50% no-repeat;
}
.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;
}
.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;
  color: #002157;
}

.qf-close A:hover {
  text-decoration: underline;
}

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

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

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

@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;
  }
}
