body {
  padding: 20px;
}
:root {
  --link-color: #0c74e2;
  --remove-btn-color: #757575;
  --link-red: #c01b02;
}
#qx-widget {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

#qx-widget .logo {
  width: 40%;
  display: block;
  margin: 15px auto;
}
#qx-widget a {
  color: var(--link-color);
}
#input-errors-alerts h3 {
  font-size: 18px;
  text-align: left;
  color: black;
}
#input-errors-list {
  list-style: none;
  padding-left: 0;
}
#input-errors-list a {
  text-align: left;
  text-decoration: underline;
  color: var(--link-red);
}
#input-errors-list li {
  text-align: left;
}
#qx-widget .form-title {
  font-size: 24px;
  text-align: center;
}
#qx-widget .btn-primary {
  background-color: var(--link-color);
}
#qx-widget #qx-widget-recaptcha,
#qx-widget-upload-another-file {
  margin-top: 15px;
}
#qx-widget button[disabled] {
  cursor: not-allowed;
}
#qx-widget .col-form-label {
  font-size: 16px;
}
#qx-widget .col-form-label::after {
  content: '';
}
#qx-widget .qx-widget-info-tip {
  position: absolute;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #7f7f7f;
  color: #7f7f7f;
  border-radius: 15px;
  width: 20px;
  height: 20px;
  text-align: center;
  right: -25px;
  top: 48px;
}
#qx-widget .qx-widget-info-tip:hover {
  border-color: var(--link-color);
  color: var(--link-color);
  cursor: pointer;
}
#qx-widget .alert {
  text-align: center;
}
#qx-widget .btn {
  width: 100%;
}
#qx-widget .form-group {
  position: relative;
}
#qx-widget .upload-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
  max-width: 450px;
}
#qx-widget .remove-file-button {
  margin-top: 0;
  background-color: transparent;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid var(--remove-btn-color);
  color: var(--remove-btn-color);
  border-radius: 15px;
  width: 24px;
  height: 24px;
  margin-left: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#qx-widget .upload-file-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#qx-widget .delete-all-button {
  text-decoration: underline;
  color: var(--link-color);
  cursor: pointer;
}
#qx-widget .choose-file-btn {
  cursor: pointer;
  color: black;
  background-color: #eee;
  border: none;
}
#qx-widget .choose-file-btn::after {
  display: none;
}

#qx-widget #file-upload-button {
  opacity: 0;
}

#qx-widget .file-input-custom {
  opacity: 0;
}

#qx-widget .custom-file {
  width: 30%;
  min-width: 110px;
}
#qx-widget .file-input-border {
  display: block;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  left: 0;
  border: 1px solid #ced4da;
  border-radius: 4px;
  z-index: 1;
}
#qx-widget .file-input-custom.is-valid + .file-input-border {
  border-color: var(--link-color);
}
#qx-widget .file-input-custom:focus + .file-input-border {
  border: 4px solid rgba(12, 116, 226, 0.25);
}
#qx-widget .file-input-custom.is-invalid + .file-input-border {
  border-color: #dc3545;
}
#qx-widget .file-input-custom.is-invalid:focus + .file-input-border {
  border: 4px solid rgba(220, 53, 69, 0.25);
}
#qx-widget .custom-file-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.form-control.is-valid {
  background-position: center right calc(0.6em + 0.1875rem) !important;
}
.form-control.radio {
  display: inline-block;
  height: 24px;
  width: 24px;
}
.radio_label {
  margin-right: 10px;
}

#qx-widget-recaptcha div iframe {
  border: none;
  overflow: hidden;
}
