/* events fields */
div.form-field-container-overlay_speaker,
div.form-field-container-overlay_title,
div.form-field-container-overlay_subtitle,
div.form-field-container-overlay_note,
div.form-field-container-tab_plan,
div.form-field-container-tab_docs,
div.form-field-container-tab_people,
div.form-field-container-tab_clips,
div.form-field-container-action,
div.form-field-container-speaker
  { display: inline-block; width: 25%; }
@media (max-width: 768px) {
  div.form-field-container-overlay_speaker,
  div.form-field-container-overlay_title,
  div.form-field-container-overlay_subtitle,
  div.form-field-container-overlay_note,
  div.form-field-container-tab_plan,
  div.form-field-container-tab_docs,
  div.form-field-container-tab_people,
  div.form-field-container-tab_clips,
  div.form-field-container-action,
  div.form-field-container-speaker
    { display: inline-block; width: 50%; }
}
@media (max-width: 520px) {
  div.form-field-container-overlay_speaker,
  div.form-field-container-overlay_title,
  div.form-field-container-overlay_subtitle,
  div.form-field-container-overlay_note,
  div.form-field-container-tab_plan,
  div.form-field-container-tab_docs,
  div.form-field-container-tab_people,
  div.form-field-container-tab_clips,
  div.form-field-container-action,
  div.form-field-container-speaker
    { display: block; width: 100%; }
}

/* speakers tab */
div.event-speakers-header
  { margin-bottom: 1em; }

/* files tab — widget item content */
div.sub-form-widget-item-content span
  { font-size: .9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* timelines */
div.form-field-container-type
  { display: inline-block; width: calc(100% - 300px - .5em); padding-right: .5em; }
div.form-field-container-time_start
  { display: inline-block; width: calc(150px + .5em); padding-right: .5em; }
div.form-field-container-time_stop
  { display: inline-block; width: 150px; }
div.form-field-container-text,
div.form-field-container-code
  { display: block; width: 100%; }
div.sub-form-widget-new-form[data-item-type=section] div.form-field-container-text,
div.sub-form-widget-item[data-item-type=section] div.form-field-container-text
  { display: inline-block; width: calc(50% - 0.25em); margin-right: .5em; }
div.sub-form-widget-new-form[data-item-type=section] div.form-field-container-code,
div.sub-form-widget-item[data-item-type=section] div.form-field-container-code
  { display: inline-block; width: calc(50% - 0.25em); }
div.form-field-container-type select,
div.form-field-container-time_start input[type=time],
div.form-field-container-time_stop input[type=time],
div.form-field-container-text input[type=text],
div.form-field-container-code input[type=text],
div.form-field-container-code select,
div.form-field-container-speaker_id select
  { width: 100%; }


div.sub-form-widget-new-form[data-item-type=section],
div.sub-form-widget-item[data-item-type=section]
  { background-color: var(--color-text-5) !important; }
div.sub-form-widget-new-form[data-item-type=speech],
div.sub-form-widget-item[data-item-type=speech]
  { background-color: var(--color-accent-5) !important; }
div.sub-form-widget-new-form[data-item-type=action],
div.sub-form-widget-item[data-item-type=action]
  { background-color: var(--color-accent-10) !important; }
div.sub-form-widget-new-form[data-item-type=note],
div.sub-form-widget-item[data-item-type=note]
  { background-color: var(--color-text-10) !important; }