form {
  padding-top: 25px;

  .send {
    margin-top: 50px;
    text-align: center;
  }
}

input[type="submit"] {
  height: 50px;
  line-height: 50px;
  margin-bottom: 20px;
  padding: 0px 25px;
  border: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  background: #565d6a;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  font-size: 120%;
}

input[type="submit"]:hover {
  background: #747e90;
}

label~span.required {
  float: initial;
  margin: initial;
  display: initial;
}

legend label,
legend span.label {
  margin-left: 10px !important;
}

legend span.required {
  margin-left: 5px !important;
}

.inquiry-form fieldset,
.inquiry-form fieldset,
.columns fieldset {
  zoom: 1;
  clear: both;
}

.column {
  margin-left: initial;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none !important;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
textarea {
  padding: 10px;
  border: 1px solid #eaeaea;
  line-height: 20px;
  width: 100%;
  margin: 5px 0;
  background-color: #f9f9f9;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

input[type="text"]::placeholder {
  color: #c8c8c8;
}

input[type="number"]::placeholder {
  color: #c8c8c8;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance: textfield;
}

input.old {
  width: 3.5em;
}

input.post-code {
  width: 6.5em;
}

.inquiry-form fieldset:before,
.inquiry-form fieldset:after,
.columns fieldset:before,
.columns fieldset:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.inquiry-form fieldset legend,
.columns .inquiry-form legend {
  clear: both;
  float: left;
  width: 30%;
  margin-top: 5px;
  font-weight: bold;
}

.columns fieldset .fields {
  display: flex;
  flex-flow: column;
  padding: 5px;
  border-left: solid 1px;

  input {
    order: 1;
  }

  p {
    order: 2;
    margin-bottom: 0;
  }

  label {
    display: block;
  }

  p span {
    font-size: 90%;
  }

}

.columns {
  margin: 0 0 1.625em;

  .column {
    border: solid 1px #000;
    border-bottom: 0.5px;
  }

  .column:last-child {
    border-bottom: solid 1px #000;
  }
}

@media screen and (min-width:1024px) {
  .confirm {
    .column {
      border: 0px;
      border-bottom: 0.5px;
      display: table;
    }

    dt {
      min-width: 300px;
      padding: 5px 10px 5px 10px;
      display: table-cell;
      border-top: solid 1px #000;
      border-right: solid 1px #000;
      border-left: solid 1px #000;
      background: #ddd;
      font-weight: bold;
    }

    dd {
      min-width: 630px;
      padding: 5px 10px 5px 10px;
      margin-bottom: 0px;
      border-top: solid 1px #000;
      border-right: solid 1px #000;
    }
  }
}

@media screen and (max-width:1024px) and (min-width:480px) {
  .inquiry-form fieldset legend {
    clear: both;
    float: left;
    margin-top: 5px;
    font-weight: bold;
    width: 100%;
    display: block;
    border-bottom: dotted 1px;
  }

  .columns fieldset .fields {
    border-left: 0px;
  }

  .confirm {
    .column {
      border: 0px;
      border-bottom: 0.5px;
    }

    dt {
      min-width: 300px;
      padding: 5px 10px 5px 10px;
      border-top: solid 1px #000;
      border-right: solid 1px #000;
      border-left: solid 1px #000;
      background: #ddd;
      font-weight: bold;
    }

    dd {
      min-width: 398px;
      padding: 5px 10px 5px 10px;
      margin-bottom: 0px;
      border-top: dotted 1px #000;
      border-left: solid 1px #000;
      border-right: solid 1px #000;
    }
  }
}

@media screen and (max-width:480px) {
  .inquiry-form fieldset legend {
    clear: both;
    float: left;
    margin-top: 5px;
    font-weight: bold;
    width: 100%;
    display: block;
    border-bottom: dotted 1px;
  }

  .columns fieldset .fields {
    border-left: 0px;
  }

  .confirm {
    .column {
      border: 0px;
      border-bottom: 0.5px;
    }

    dt {
      min-width: 258px;
      padding: 5px 10px 5px 10px;
      border-top: solid 1px #000;
      border-right: solid 1px #000;
      border-left: solid 1px #000;
      background: #ddd;
      font-weight: bold;
    }

    dd {
      min-width: 258px;
      padding: 5px 10px 5px 10px;
      margin-bottom: 0px;
      border-top: dotted 1px #000;
      border-left: solid 1px #000;
      border-right: solid 1px #000;
    }
  }
}