.button-submit,
#terms-continue {
  margin-right: 10px;
  padding: 5px 30px;
  background-color: #3975ad;
  color: white;
}

#terms-continue:disabled {
  opacity: 0.6;
  cursor: default;
}

main {

  input,
  textarea {
    color: #000;
    padding: .3em 1em;
    margin: 0 0 .5em;
    max-width: 100%;
    line-height: 1.5;
    font-weight: normal;
    border: solid 1px #3975ad !important;
    border-radius: 0;
    width: 100%;
  }
}

.helptext {
  font-style: italic;
  color: #b9b9b9;
}

.address_box {
  display: flex;
}

.address_header {
  max-width: 180px;
}

.telephone_box {
  display: flex;
}

.telephone_header {
  max-width: 180px;
}

.subheading_info {
  font-weight: bold;
}

.button_container {
  text-align: center;
}

.button {
  background-color: #3975ad;
  border: none;
  color: white;
  padding: 15px 25px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
}

.item_container {
  display: flex;
  margin: 10px 0px;
  word-break: break-word;
}

.field_name {
  width: 360px;
}

.field_value {}

#form_error {
  color: #ff9191;
}

.template-download {
  margin: 10px 0px;
}

.filename {
  margin-right: 5px;
}

.filesize {
  margin-right: 5px;
}

.cancelUpload {
  background: url("../../images/cross_lightgrey_radeonred.svg") 0 0 no-repeat;
  border: 0;
  height: 16px;
  margin-left: 12px;
  margin-top: 0;
  text-indent: -9999px;
  width: 16px;
}

#choose-files {
  width: 300px;
  display: block;
  border: 1px solid black;
  text-align: center;
  color: #5e5e5e;
  padding: 10px;
  cursor: pointer;
}

#choose-files:hover {
  text-decoration: underline;
}

#fileupload {
  display: none;
}

.parsley-error-list {
  color: red;
}

.bold {
  font-weight: bold;
}

.underline {
  text-decoration: underline;
}



h1,
h2 {
  margin-bottom: 1rem;
}

table.form-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* keeps consistent columns */
}

table.form-table td {
  padding: .6rem;
}

table.form-table td:first-child {
  width: 300px;
  text-align: right;
  vertical-align: top;
}

table.form-table td > label {
  display: block;
  font-weight: bold;
  white-space: normal; /* allow wrapping */
  overflow-wrap: break-word;
}

table.form-table td:last-child {
  width: auto; /* field side expands */
}

table.form-table input,
table.form-table textarea,
table.form-table select {
  width: 100%; /* fields stretch */
  max-width: 100%;
  padding: 0.6rem 1rem; /* larger padding for bigger fields */
  font-size: 1rem;      /* bigger font */
  border: 1px solid #3975ad;
  border-radius: 4px;
  box-sizing: border-box;
}


table.form-table td {
  padding: .6rem;
  vertical-align: middle;
}

table.form-table label {
  font-weight: bold;
  white-space: nowrap;
  margin-right: 1rem;
}

.required {
  color: red;
}

.terms {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  align-items: center;
}

.terms-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.terms-label a {
  text-decoration: underline;
}

.form-actions {
  text-align: center;
  margin-top: 1rem;
}

.button-submit {
  max-width: 300px;
  background: #3975ad;
  color: #fff;
  padding: 10px 20px;
  border: 0;
  border-radius: 4px;
  font-size: 1rem;
}

.button-submit:disabled {
  background: #446db3a8;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 4px;
  width: 80%;
  max-width: 800px;
}

.modal-header {
  font-weight: bold;
  margin-bottom: 1rem;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.input-error {
  border: 1px solid red;
}

.custom-error {
  color: red;
  font-size: 0.9em;
  margin-top: 2px;
}

.delete button {
  vertical-align: middle;
  margin-bottom: 5px;
}


#post_submission_view {
  display: flex;
  flex-direction: column;
  padding: 40px 120px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

#post_submission_view h1 {
  font-size: 4em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

#post_submission_view p {
  margin: 12px 0;
}

#post_submission_view .ref-code {
  font-weight: bold;
}

#post_submission_view a {
  color: #0066cc;
  text-decoration: none;
}

#post_submission_view a:hover {
  text-decoration: underline;
}

#post_submission_view .button-submit {
  display: inline-block;
  margin: auto;
  padding: 8px 18px;
  font-size: 14px;
  background-color: #3975ad;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#post_submission_view .button-submit:hover {
  background-color: #3975ad;
}

.copyright {
  font-weight: 100;
}


.uploader {
  display: block;
  overflow: hidden;
  position: relative;
}
.uploader input {
  cursor: pointer;
  filter: alpha(opacity=0);
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.uploading {
  margin: 5px 0;
  min-height: 16px;
}


.filename {
  background: url("../../images/files/_blank.svg") no-repeat left;
  background-size: 12px 16px;
  color: #6d6d6d;
  display: block;
  font-size: 10pt;
  line-height: 14pt;
  padding: 0 20px;
}
.filename a {
  color: #4c4c4c;
}

.filesize {
  color: #6d6d6d;
  display: block;
  float: left;
  font-size: 10pt;
  line-height: 14pt;
  margin: 2px 20px 0;
}

.progress {
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  background: url("../../images/progressContainerBG.png") repeat-x;
  border-radius: 6px;
  display: block;
  float: left;
  height: 8px;
  margin-left: 8px;
  margin-top: 8px;
  padding: 0 1px 1px;
  width: 100px;
}
.progress .bar {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background: url("../../images/progressBG.png") repeat-x;
  border-radius: 5px;
  display: block;
  height: 8px;
}
.progress .error {
  color: red;
  font-size: 12px;
  padding-top: 5px;
  position: absolute;
}

.files {
  margin: 20px 0;
}

.cancelUpload {
  background: url("../../images/cross_lightgrey_radeonred.svg") 0 0 no-repeat;
  border: 0;
  height: 16px;
  margin-left: 12px;
  margin-top: 0;
  text-indent: -9999px;
  width: 16px;
}
.cancelUpload:hover {
  opacity: 0.7;
}