.fs-contact-form-container,
.fs-map-container {
  padding: 20px;
  border-radius: 20px;
  border: #2468d3 solid 1px;
  background-color: #92c6eb;
}

.fs-contact-form-container .required-label {
  margin: 0;
  margin-bottom: 1em;
}

.fs-contact-form-container em::before {
  content: '*';
  color: red;
  margin-right: 4px;
}

.fs-contact-form-container em {
  color: #000;
}

.fs-contact-form .sow-form-field-required {
  color: red;
}

/* contact field row groups */
.fs-row-group {
  margin: 1.0rem 0;
  box-sizing: border-box;
  width: 100%;
}

.fs-row-group-col {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* contact field column groups - on screen: column field groups that may or may not wrap */
.fs-col-group {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

.fs-col-group-nowrap {
  display: flex;
  flex-direction: column;
}

@media (min-width: 780px) {
  .fs-col-group {
    flex: 1 1 48%;
    /* Slightly less than 50% to account for gap */
  }
}

.fs-contact-form label {
  display: block;
  margin-bottom: 5px;
  text-align: left;
  text-transform: uppercase;
  color: #000000;
}

.fs-contact-form .fs-text-field {
  display: block;
  width: 100%;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0px;
  border: 1px #c0c0c0 solid;
  color: #000000;
}

.fs-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.fs-field-row.fs-full-width .fs-field {
  width: 100%;
}

.fs-field-row.fs-two-column .fs-field {
  flex: 1;
}

.fs-field-row.fs-two-column input,
.fs-field-row.fs-street input {
  width: 100%;
}

.fs-field-row.fs-address-column {
  flex-wrap: nowrap;
}

.fs-field-row.fs-address-column input:nth-child(1) {
  width: 50%;
}

.fs-field-row.fs-address-column input:nth-child(2) {
  width: 20%;
}

.fs-field-row.fs-address-column input:nth-child(3) {
  width: 30%;
}

.fs-row-group.fs-child-info-column {
  flex-wrap: nowrap;
}

.fs-row-group.fs-child-info-column .fs-col-group-nowrap:first-child {
  width: 50%;
}

.fs-row-group.fs-child-info-column .fs-col-group-nowrap:last-child {
  width: 50%;
}

@media (min-width: 780px) {
  .fs-row-group.fs-child-info-column .fs-col-group-nowrap:first-child {
    width: 70%;
  }

  .fs-row-group.fs-child-info-column .fs-col-group-nowrap:last-child {
    width: 30%;
  }
}

.fs-field-row.fs-full-width textarea {
  width: 100%;
  height: 100px;
}

#programs {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
  width: 100% !important;
}

.fs-contact-form-container .select2-search__field {
  padding: 0;
  margin: 0;
}

.fs-contact-form-container .select2-container {
  width: 100% !important;
  border-radius: 0px;
  border: 1px #c0c0c0 solid;
  color: #000000;
}

.fs-contact-form-container .select2-selection {
  min-height: 2.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.fs-contact-form-container .select2-selection--multiple {
  align-items: center;
  border: none;
  display: flex;
  padding: 0;
}

.fs-contact-form-container .select2-selection__rendered,
.fs-contact-form-container .select2-search__field {
  padding: 0;
  margin: 0;
}

.fs-contact-form-container .select2-selection__choice {
  margin-left: 2px;
  margin-top: 0;
}

.fs-contact-form-container .select2-selection__choice__remove {
  height: 100%;
}

.fs-contact-form button {
  padding: 10px 20px;
  font-size: 1em;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.fs-contact-form button:hover {
  background: #005177;
}

.contact-us-map {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contact-us-map iframe {
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 400px;
  width: 100vw;
  /* 100% of the viewport width */
  display: block;
  /* iframes are inline by default */
  border: none;
  margin: 0;
}

.fs-contact-form-container .field-error {
  background: #fce4e5;
  border: 1px solid #ec666a;
  color: #ec666a;
  border-radius: 2px;
  padding: 5px;
  font-size: 0.8em;
  list-style: none;
  margin: 0 0 10px 0;
}

.fs-buttons {
  margin-top: 10px;
}

/* Admin submission form viewer fields */
#so-contact-submissions.dataTable tbody tr:hover {
  background-color: #ede1b0 !important;
}

#wpfooter {
  display: none;
}

.dataTables_wrapper .dataTables_filter input {
  padding: 0;
  background-color: #fff;
}

input::-webkit-date-and-time-value {
  height: 1.5em;
}