/* Order pages: prevent long filenames, tariff titles and values from breaking the layout. */
.create-order-page,
.create-order-page * {
  box-sizing: border-box;
}

.create-order-page .block-item-r,
.create-order-page .block-2-r,
.create-order-page .block-downl-txts,
.create-order-page .processed-r,
.create-order-page .processed-r-show-1199,
.create-order-page .processed-r-w-100,
.create-order-page .sist-check-cont,
.create-order-page .sist-item,
.create-order-page .rec-item-r,
.create-order-page .rec-item-txts {
  min-width: 0;
}

.create-order-page .file-name,
.create-order-page .block-2-txt-2,
.create-order-page .order-current-filename,
.create-order-page .processed-txt-2,
.create-order-page .sist-txt,
.create-order-page .rec-item-txt-1,
.create-order-page .rec-item-txt-2 {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
}

.whait-payment-order-page .file-block,
.whait-payment-order-page .file-block .block-2-top,
.whait-payment-order-page .file-block .block-2-r,
.whait-payment-order-page .order-current-filename {
  height: auto;
  max-height: none;
  overflow: visible;
}

.whait-payment-order-page .file-block,
.whait-payment-order-page .file-block .block-2-top,
.whait-payment-order-page .file-block .block-2-r {
  min-width: 0;
  max-width: 100%;
}

.whait-payment-order-page .file-block .block-2-r {
  flex: 1 1 auto;
}

.whait-payment-order-page .order-current-filename {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.create-order-page .proc-td {
  height: auto;
  min-height: 18px;
}

.create-order-page .proc-td:nth-child(2) {
  overflow: visible;
  min-width: 0;
}

.create-order-page .proc-tr {
  align-items: flex-start;
}

.create-order-page-beforepayment .processed-r {
  overflow: visible;
}

.create-order-page-beforepayment .processed-r-show-1199,
.create-order-page-beforepayment .proc-table {
  max-width: 100%;
}

.order-replace-file {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 9px 14px;
  border: 1px solid #4e84c1;
  border-radius: 5px;
  color: #4e84c1;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.order-replace-file:hover {
  color: #fff;
  background: #4e84c1;
}

.uniqrf-payment-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  margin: 14px 0 12px;
  color: #526779;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.uniqrf-payment-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #4094de;
}

.uniqrf-payment-consent span {
  min-width: 0;
}

.uniqrf-payment-consent a {
  color: #278bd8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.uniqrf-payment-consent a:hover {
  text-decoration: none;
}

/* Contact-form response must remain inside the modal at every width. */
.faq-form-w .wpcf7-response-output {
  clear: both;
  width: 100%;
  margin: 14px 0 0 !important;
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  .create-order-page-beforepayment .processed-r-show-1199 {
    width: calc(100% - 270px);
    margin-left: 35px;
  }

  .create-order-page-beforepayment .processed-r-show-1199 .proc-table {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .create-order-page h1 {
    overflow-wrap: anywhere;
  }

  .create-order-page .contain,
  .create-order-page .ent-l,
  .create-order-page .ent-r,
  .create-order-page .block-item-r,
  .create-order-page .r-block,
  .create-order-page .processed-w,
  .create-order-page .processed-r,
  .create-order-page .processed-r-show-1199,
  .create-order-page .proc-table {
    min-width: 0;
    max-width: 100%;
  }

  .create-order-page .block-2-top,
  .create-order-page .block-downl,
  .create-order-page .proc-tr {
    gap: 10px;
  }

  .create-order-page .block-2-r,
  .create-order-page .block-downl-txts {
    flex: 1 1 auto;
    width: calc(100% - 52px);
  }

  .create-order-page .proc-tr {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .create-order-page .proc-td,
  .create-order-page .proc-td:nth-child(2) {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .create-order-page .proc-tr:after {
    top: auto;
    bottom: 0;
  }

  .create-order-page-beforepayment .processed-r-show-1199 {
    width: 100%;
    margin-left: 0;
  }

  .create-order-page-beforepayment .proc-slider {
    max-width: 100%;
    overflow: hidden;
  }

  .create-order-page .ent-labels {
    margin-left: 0;
  }

  .create-order-page .sist-label-ent {
    width: 100%;
    margin-right: 0 !important;
  }

  .whait-payment-order-page .ent-r {
    display: flex;
    flex-direction: column;
  }

  .whait-payment-order-page .r-block-2 {
    order: -1;
  }

  .order-replace-file {
    width: 100%;
    justify-content: center;
  }

  .faq-form-w,
  .faq-form-w input,
  .faq-form-w textarea,
  .faq-form-w .faq-butt {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .create-order-page .block-item {
    padding-left: 14px;
    padding-right: 14px;
  }

  .create-order-page .block-item-num {
    position: static;
    margin: 0 0 10px;
  }

  .create-order-page .block-item-r {
    width: 100%;
  }

  .create-order-page .ent-check-item,
  .create-order-page .rec-item {
    min-width: 0;
  }
}
