#infoblock {
  width: min(700px, 100%);
  box-sizing: border-box;
}

#infoblock2 {
  width: 100%;
  min-width: 0;
}

#recordsubmissionimg {
  float: left;
  width: clamp(150px, 16vw, 300px);
  height: auto;
  margin: 0 clamp(12px, 3vw, 24px) 12px 0;
  display: block;
}

.wrf-public-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: flex-start;
  max-width: 1600px;
}

.wrf-public-form {
  flex: 0 0 720px;
  max-width: 100%;
}

.wrf-public-side {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 100%;
  margin-left: 40px;
}

#recordsubmissionimg {
  float: left;
  width: clamp(150px, 16vw, 300px);
  height: auto;
  margin: 0 clamp(12px, 3vw, 24px) 12px 0;
  display: block;
}

@media only screen and (max-width: 800px) {

  #infoblock {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  #infoblock2 {
    width: 100%;
    margin-bottom: 20px;
  }

  #recordsubmissionimg {
    float: left;
    width: clamp(120px, 32vw, 220px);
    margin: 0 14px 10px 0;
  }

  .wrf-public-layout {
    flex-direction: column;
  }

  .wrf-public-form,
  .wrf-public-side {
    flex: none;
    width: 100%;
  }

  .wrf-public-side,
  .wrf-public-side p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .wrf-public-side {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    margin-left: 0;
    max-width: 100%;
  }

  .wrf-public-side p {
    margin-left: 0;
    margin-right: 0;
  }

}

.wrf-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
}

.wrf-form-col {
  flex: 1 1 860px;
  min-width: 720px;
  max-width: 940px;
}

.wrf-side-col {
  flex: 0 1 420px;
  min-width: 340px;
  max-width: 420px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  justify-content: start;
}

.wrf-side-col > .ff-card {
  width: 100%;
  min-width: 0;
}

.wrf-form-col .webform {
  margin-top: 0;
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wrf-form-col .forminfoblock,
.wrf-form-col .forminfotext {
  width: calc(100% - 40px);
  margin-left: 40px;
}

.wrf-form-col .formfieldblock {
  width: calc(100% - 180px);
}

.wrf-form-col .formfield,
.wrf-form-col .formfieldnote,
.wrf-form-col select.formfield,
.wrf-form-col textarea.formfield,
.wrf-form-col textarea.formfieldnote {
  width: 100%;
}

.wrf-form-col .forminfoblock,
.wrf-form-col .forminfotext,
.wrf-form-col .formfieldblock,
.wrf-form-col .formfield,
.wrf-form-col .formfieldnote {
  max-width: 100%;
  box-sizing: border-box;
}

.wrf-form-col .wrf-html-toolbar,
.wrf-form-col .wrf-html-editor-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wrf-form-col .wrf-html-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
}

.wrf-form-col .wrf-html-toolbar-btn {
  flex: 0 0 auto;
  max-width: 100%;
  white-space: normal;
}

.wrf-form-col .wrf-html-editor-textarea {
  display: block;
  min-width: 0;
  resize: vertical;
}

.ff-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 14px;
  padding: 20px;
  box-sizing: border-box;
}

.wrf-profile-card {
  margin-top: 0;
}

.wrf-card-title {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 28px;
}

.wrf-card-imagewrap {
  width: 100%;
}

.wrf-profile-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.wrf-card-note {
  margin-top: 14px;
}

.wrf-image-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.wrf-image-form {
  margin: 0;
  align-self: flex-start;
}

.wrf-image-actions .ff-action-button {
  width: auto;
}

.wrf-image-upload {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
}

.wrf-card-note {
  margin-top: 14px;
  margin-bottom: 0;
}

.wrf-profile-card .ff-action-button {
  margin-top: 0;
}

.wrf-image-upload-native {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.wrf-image-upload-button {
  display: inline-block;
}

.wrf-image-upload-name {
  margin-top: 8px;
  margin-bottom: 8px;
}

.wrf-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.wrf-inline-actions .wrf-image-form {
  margin: 0;
}

.wrf-inline-actions .ff-action-button-small {
  max-width: none;
}

@media only screen and (max-width: 1180px) {
  .wrf-form-col {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    order: 1;
  }

  .wrf-side-col {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
    order: 2;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .wrf-profile-image {
    max-width: 300px;
  }
}

@media only screen and (max-width: 980px) {
  .wrf-form-col .forminfoblock,
  .wrf-form-col .forminfotext {
    width: auto;
    margin-left: 0;
  }

  .wrf-form-col .forminfoblockrow {
    margin-bottom: 10px;
    height: auto;
  }

  .wrf-form-col .colforminfo {
    display: block;
    float: none;
    margin: 0;
  }

  .wrf-form-col .formlabelblock {
    width: auto;
    margin-bottom: 0;
  }

  .wrf-form-col .formlabelblock-noflag {
    width: auto;
    margin-bottom: 0;
    padding-left: 0;
    text-indent: 0;
  }

  .wrf-form-col .formlabelblock-noflag::before {
    display: none;
  }

  .wrf-form-col .formfieldblock {
    width: auto;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .wrf-form-col .formlabelblock + .formfieldblock,
  .wrf-form-col .formlabelblock-noflag + .formfieldblock {
    margin-top: 8px;
  }

  .wrf-form-col .formfield,
  .wrf-form-col .formfieldnote,
  .wrf-form-col .wrf-html-toolbar,
  .wrf-form-col .wrf-html-editor-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .wrf-form-col .formsubblock {
    margin-left: 0;
    margin-top: 30px;
  }
}

@media only screen and (max-width: 740px) {
  .wrf-form-col .webform {
    margin-left: 0;
    margin-right: 0;
  }

  .wrf-form-col .forminfoblock,
  .wrf-form-col .forminfotext,
  .wrf-form-col .formsubblock {
    margin-left: 0;
  }
}

@media only screen and (max-width: 620px) {
  .wrf-side-col {
    grid-template-columns: 1fr;
  }
}

.wrf-report-table-wrap {
  overflow-x: auto;
}

.wrf-report-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.wrf-report-head-row {
  background: #123d78;
}

.wrf-report-head-cell {
  padding: 8px;
  border: 1px solid #9fb3d1;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
}

.wrf-report-cell {
  padding: 8px;
  border: 1px solid #d7deea;
}

.wrf-report-cell-edit {
  text-align: center;
  white-space: nowrap;
}

.wrf-report-row-a {
  background: #e9f7e9;
}

.wrf-report-row-b {
  background: #e8f2ff;
}

.wrf-report-row-red {
  background: #ffe6e6;
}

.wrf-html-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px 0;
  padding: 8px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
  box-sizing: border-box;
}

.wrf-html-toolbar-btn {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  background: #e6f4ff;
  color: #10263f;
  font-family: PrimaryMediumFont, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.wrf-html-toolbar-btn:hover,
.wrf-html-toolbar-btn:focus {
  background: #fff1df;
  border-color: #ffc27a;
  color: #33210a;
}

.wrf-html-editor-textarea {
  width: 100%;
  box-sizing: border-box;
}

.wrf-record-profile-source-card .ff-action-button {
  width: fit-content;
  max-width: 100%;
}

.wrf-record-profile-source-card .formhelp {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.wrf-profile-cropper {
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

.wrf-profile-crop-stage {
  position: relative;
  width: 260px;
  height: 260px;
  max-width: 100%;
  overflow: hidden;
  border: 3px solid #1b6e9a;
  border-radius: 16px;
  background: #111;
  box-sizing: border-box;
  cursor: move;
  touch-action: none;
  user-select: none;
}

.wrf-profile-crop-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(255,255,255,0.9);
  border-radius: 12px;
  pointer-events: none;
  box-sizing: border-box;
}

.wrf-profile-crop-img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
  user-select: none;
  pointer-events: none;
}

.wrf-profile-crop-controls {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 320px;
}

.wrf-profile-crop-zoom {
  width: 180px;
  max-width: 100%;
}

.wrf-video-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.wrf-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wrf-instagram-embed-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.wrf-instagram-embed-wrap iframe {
  max-width: 100% !important;
}

.wrf-community-pitch-card {
  margin-top: 22px;
  background: #e6f4ff;
  border-color: #9bd4ff;
  color: #10263f;
}

.wrf-community-pitch-card h2 {
  margin-top: 0;
  color: #1b6e9a;
}

.wrf-community-pitch-card p,
.wrf-community-pitch-card li {
  color: inherit;
}

.wrf-community-pitch-card a {
  color: #084f8f;
}

.wrf-community-pitch-card a:visited {
  color: #5a3b85;
}

.wrf-community-pitch-card a:hover,
.wrf-community-pitch-card a:active {
  color: #c45100;
}

.wrf-email-webform .forminfoblock {
  font-family: PrimaryMediumFont;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: .050em;
  color: #000000;
}

.wrf-email-webform .formlabelblock,
.wrf-email-webform .formlabelblock-noflag {
  font-family: PrimaryMediumFont;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: .050em;
  color: #000000;
  font-weight: normal;
}

.wrf-email-webform .formfieldblock {
  font-family: PrimaryFont;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: .050em;
  color: #132e3c;
}

.wrf-email-webform label {
  font-family: PrimaryFont;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: .050em;
  color: #132e3c;
  font-weight: normal;
}

.wrf-email-webform .formhelp {
  font-family: PrimaryFont;
  font-size: 14px;
  line-height: 18px;
}

.wrf-email-webform h2 {
  font-family: PrimaryExtraBoldFont;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: .050em;
  color: #1b6e9a;
  margin-top: 0;
  margin-bottom: 18px;
}
