#quote-popup {
  display: none;
  position: relative;
}

.fancybox-stage .fancybox-slide:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  /*height: 100%;*/
  height: auto;
  width: 0;
}

.quote-header {
  padding: 20px 27px 20px;
  background: #2c3062;
  background-position: 50% 50%;
  border-radius: 5px 5px 0 0;
}

.quote-header h2 {
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.quote-code {
  padding: 15px 22px;
  margin-top: 1em;
  font-size: 17px;
  border-radius: 3px;
  border: 1px solid #dfe3e9;
  width: 122px;
}

.quote-header label span {
  font-size: 22px;
  color: #fff;
  margin-right: 25px;
}

.quote-body {
  max-width: 610px;
  padding: 60px 80px 30px;
  background: #f5f5f5;
  /*border-radius: 0 0 5px 5px;*/
  position: relative;
}
.quote-body h2 {
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;
  color: #586164;
}
.gb-item {
  display: inline-block;
  vertical-align: top;
  width: 288px;
  margin-bottom: 15px;
}

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

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

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

.qf_error,
.gm-right {
  font-size: 14px;
}

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

.gb-item:nth-child(odd) {
  margin-right: 14px;
}

.gb-item.full-width {
  width: 590px;
  margin-right: 0;
  border-top: 1px solid #c5c8cf;
  padding-top: 32px;
}

.gb-item div {
  font-size: 13px;
  color: #7f8fa4;
  margin-bottom: 5px;
  margin-left: 64px;
}

.gb-item input[type="text"] {
  width: 253px;
  padding: 16px;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  color: #354052;
  border: 1px solid #dfe3e9;
  border-radius: 3px;
  background: #f8fafc;
}

.gb-item input[type="text"]:disabled {
  background: #d6d6d6;
}

.gb-item select {
  width: 287px;
  padding: 16px;
  font-weight: 700;
  font-size: 13px;
  color: #354052;
  border: 1px solid #dfe3e9;
  border-radius: 3px;
  background: #f8fafc;
}

.q-radios label {
  margin-right: 5px;
}

.gb-item textarea {
  padding: 16px;
  width: 559px;
  height: 88px;
  resize: none;
  border: 1px solid #dfe3e9;
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  color: #354052;
}

.gbf-wrapper {
  float: right;
}

.gbf-wrapper label {
  font-size: 13px;
  color: #fff;
  margin-bottom: 5px;
}

.gb-footer {
  /*margin-right: 16px;*/
  background: #585f65;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 72px;
}

.g-captcha {
  margin-left: 10px;
  margin-right: 66px;
  width: 120px;
  padding: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #354052;
  border: 1px solid #dfe3e9;
  border-radius: 3px;
  background: #f8fafc;
}

.g-submit {
  font-size: 19px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  display: inline-block;
  line-height: 72px;
  padding: 0 96px;
  color: #fff;
  border: none;
  background: #de7266;
  cursor: pointer;
}

/*.g-submit:hover {*/
  /*box-shadow: 0 0 6px rgba(0, 0, 0, .3);*/
/*}*/

.g-submit:active {
  background: #bd564c;
}

.quote-descr {
  position: absolute;
}

.fancybox-inner {
  overflow: visible !important;
}

.quote-descr {
  position: absolute;
  left: -407px;
  width: 390px;
  text-align: right;
}

.quote-descr h2 {
  font-family: 'Vladimir Script';
  color: #fff;
  font-size: 47px;
}

.quote-amount {
  font-size: 100px;
  color: #7cc4e7;
  font-weight: 900;
}

.quote-descr p {
  margin-top: 10px;
  font-weight: 700;
  font-size: 26px;
  color: #fff;
}

.quote-descr ul {
  margin: 30px 0;
  list-style: none;
}

.quote-descr li {
  margin-bottom: 25px;
  padding-right: 45px;
  font-weight: 700;
  font-size: 36px;
  color: #7cc4e7;
  line-height: 100%;
  text-transform: uppercase;
  background: url('/images/check-title-icon.png') 100% 0 no-repeat;
}

.quote-loading {
  display: none;
  width: 50px;
  float: right;
  position: relative;
}

.quote-message,
.form-message {
  display: none;
  position: absolute;
  left: 66%;
  /*bottom: 50%;*/
  width: 225px;
  padding: 10px;
  margin-left: -120px;
  background-color: #FFF;
  font-size: 8pt;
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

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

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

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

.fancybox-slide>div {
  background: transparent !important;
}

.js-product-block {
  display: none;
}

.gb-pdf {
  float: left;
}

.upload-file {
  width: 155px;
  height: 53px;
  background: url('/images/upload-icon.png') no-repeat;
  cursor: pointer;
}
.upload-file:before {
  content: '';
  display: inline-block;
  position: relative;
  background: url('/images/icons/pdf-icon.png');
  width: 51px;
  height: 51px;
  left: -70px;
}

input[type="file"] {
  display: none;
}

.input-file-name {
  margin-top: 38px;
}

.fancybox-slide>div {
  margin: 0 !important;
}

@media (max-width: 1495px) {
  .quote-descr {
    left: -307px;
    width: 290px;
    font-size: 25px;
  }
  .quote-descr li {
    padding-right: 30px;
    font-size: 25px;
    background-size: 25px;
  }
}

@media (max-width: 1275px) {
  .quote-descr {
    left: -217px;
    width: 190px;
  }
  .quote-amount {
    font-size: 60px;
  }
  .quote-descr h2 {
    font-size: 32px;
  }
  .quote-descr li {
    background: none;
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  .quote-body {
    width: auto;
  }
  .quote-body h2 {
    margin-bottom: 4px;
  }
  .gb-item.full-width {
    width: 100%;
    padding-top: 8px;
    display: block;
  }
  .g-submit {
    padding: 0 8vw;
  }
  .gb-item {
    margin-bottom: 4px;
  }
  .gb-item textarea {
    width: 190px;
  }
  .gb-item input {
    width: 190px;
  }
  .quote-header h2 {
    font-size: 22px;
  }
  .quote-header label span {
    display: block;
    margin-top: 7px;
    margin-right: 0;
  }
  .gb-item:nth-child(odd) {
    margin-right: 0;
  }
  .gb-footer {
    bottom: 0;
  }
  .g-captcha {
    margin-right: 20px;
  }
  .quote-code {
    margin-top: 0;
  }
}
@media (max-width: 500px) {
  .quote-body {
    padding: 10px 4vw 30px;
  }
  .gbf-wrapper {
    float: none;
    text-align: center;
  }
  .gbf-wrapper label {
    display: block;
  }
  .gb-item input[type="text"] {
    width: 90%;
  }
  .gb-footer {
    height: 88px;
  }
  .g-captcha {
    margin-right: 0;
  }
  .g-submit {
    line-height: 46px;
  }
}
@media (max-width: 400px) {
  .upload-file:before {
    display: none;
  }
  .gb-item {
    width: 240px;
  }
  .gb-item div {
    margin-left: 0;
  }
  .gb-footer {
    height: 103px;
    bottom: -12px;
  }
  .gb-item textarea {
    height: 36px;
  }
}