#order #order-form .order-layout,
#order #order-form .order-fields,
#order #order-form .order-notice,
#order #order-form .order-actions {
  min-width: 0;
}

#order #order-form .order-layout {
  display: flex;
  flex-direction: column;
}

#order #order-form .order-notice {
  order: -1;
  margin-bottom: 30px;
}

.datepicker,
.datepicker-dropdown,
.datepicker-picker {
  z-index: 10050;
}

@media screen and (min-width: 1024px) {
  #order {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #order .container {
    max-width: 1200px;
  }

  #order .consultation-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  #order #order-form .order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    grid-template-areas:
      "fields notice"
      "actions notice";
    column-gap: 32px;
    align-items: start;
  }

  #order #order-form .order-fields {
    grid-area: fields;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 12px;
  }

  #order #order-form .order-fields > .row {
    margin: 0;
    overflow: visible;
  }

  #order #order-form .order-fields > .row:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  #order #order-form .order-fields .col,
  #order #order-form .order-fields .col-2 {
    padding: 0;
  }

  #order #order-form .order-fields > .row:nth-child(3),
  #order #order-form .order-fields > .row:nth-child(4),
  #order #order-form .order-fields > .row:nth-child(5),
  #order #order-form .order-fields > .row:nth-child(6) {
    margin-right: -10px;
    margin-left: -10px;
  }

  #order #order-form .order-fields > .row:nth-child(3) .col-2,
  #order #order-form .order-fields > .row:nth-child(4) .col-2,
  #order #order-form .order-fields > .row:nth-child(5) .col-2,
  #order #order-form .order-fields > .row:nth-child(6) .col-2 {
    padding-right: 10px;
    padding-left: 10px;
  }

  #order #order-form .form-group {
    margin-bottom: 0;
  }

  #order #order-form .form-group > label {
    margin-bottom: 4px;
    color: #18355f;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
  }

  #order #order-form .form-group input,
  #order #order-form .form-group select,
  #order #order-form .form-group textarea {
    display: block;
    width: 100%;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid #dce8ee;
    border-radius: 6px;
    background: #f7fafb;
    font-size: 15px;
    line-height: 20px;
  }

  #order #order-form .form-group input:focus,
  #order #order-form .form-group select:focus,
  #order #order-form .form-group textarea:focus {
    border-color: #2FADCF;
    box-shadow: 0 0 0 3px rgba(47, 173, 207, 0.14);
  }

  #order #order-form .form-group textarea {
    height: 72px;
  }

  #order #order-form .select2-container .select2-selection--single {
    height: 36px;
    border: 1px solid #dce8ee;
    border-radius: 6px;
    background: #f7fafb;
  }

  #order #order-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
  }

  #order #order-form .select2-container--default.select2-container--focus .select2-selection--single,
  #order #order-form .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #2FADCF;
    box-shadow: 0 0 0 3px rgba(47, 173, 207, 0.14);
  }

  #order #order-form .select2-container .select2-selection--single .select2-selection__arrow {
    top: 4px;
  }

  #order #order-form .order-notice {
    grid-area: notice;
    border: 1px solid #d7edf3;
    border-radius: 8px;
    background: #f6fcfe;
    padding: 16px 18px;
    margin-bottom: 0;
  }

  #order #order-form .order-actions {
    grid-area: actions;
    margin-top: 12px;
  }

  #order #order-form .order-notice .notice {
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
  }

  #order #order-form .order-notice .notice center {
    text-align: left;
  }

  #order #order-form .order-notice .notice-title {
    padding: 5px 24px;
    margin-bottom: 12px;
    font-size: 16px;
    background: #fff;
  }

  #order #order-form .order-notice .content {
    line-height: 1.65;
  }

  #order #order-form .agree {
    margin-top: 0;
    font-size: 13px;
    text-align: left;
  }

  #order #order-form .agree .pretty label {
    line-height: 1.55;
  }

  #order #order-form button.submit {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 6px 42px;
    font-size: 16px;
  }
}
