
/* CiviCRM variable definitions */
:root {
  --crm-text-color: #2f4c57;
  --crm-page-bg-color: #fff;
  --crm-f-fieldset-margin: 0 0 2em 0;
  --crm-f-fieldset-padding: 1.5em
}

@media (max-width: 479px) {
  :root {
    --crm-f-fieldset-padding: 1.25em 1em
  }
}

h3 {
  margin: 1em 0 !important;
}

.crm-container ul.crm-checkbox-list {
  width: auto;
  max-height: none;
  height: auto;
}

/* Hide border for lists with one item */
.crm-container ul.crm-checkbox-list:not(:has(li:nth-child(2))) {
  border: none;
}

.crm-container ul.crm-checkbox-list li {
  word-break: normal;
}

/* Confirm or Cancel registration buttons */
.crm-submit-buttons {
  flex-wrap: wrap;
}

/* Access Reports */

crm-search-display-list[display-name="Get_Organisation_by_Id_List_1"] {
  .crm-search-col-type-image.crm-inline-block {
    margin: 0 1em 1em 0;
    float: left;
    max-width: 300px;
    height: 200px
  }
}

ul.crm-search-display-list-container li {
  margin-bottom: 1em;
}

.crm-search-col-type-field {
    margin-bottom: 1em;
}

/* Crew Schedule */

afsearch-crew-schedule {
  --crm-input-width: auto !important;
}

afsearch-crew-schedule table td span, afsearch-crew-schedule table th span{
  font-size: 12px;
}

.crm-search-display.crm-search-display-table {
  overflow-x: scroll;
}
.crm-search-display-table > table.table > thead > tr > th i.crm-search-table-column-sort-icon {
  position: static;
}

.h-section-boxed-container:has(afsearch-crew-schedule) {
  max-width: 2000px !important;
}

/* Feedback Forms */
afform-participant-feedback {

  @media (max-width: 479px) {
    label.radio-inline {
      display: flex !important;
      flex: 1;
      flex-direction: column;
      text-align: center;
      font-size: 13px;
      margin-right: 0.5em;
      margin-top: 0.5em !important;
      padding-right: 0.5em;
      input {
        display: flex;
        flex: 1;
        max-height: 13px;
      }
    }
  }


}

