/*
 * Action Text/Trix overrides.
 * Base Trix styles are loaded from layouts via stylesheet_link_tag "trix".
 */
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content
  .attachment-gallery.attachment-gallery--2
  > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment,
.trix-content
  .attachment-gallery.attachment-gallery--4
  > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}

trix-editor ul {
  list-style-type: disc !important;
  margin-left: 1rem !important;
}

trix-editor ol {
  list-style-type: decimal !important;
  margin-left: 1rem !important;
}

trix-editor a {
  text-decoration: underline !important;
  color: blue;
}

trix-toolbar .trix-button--icon {
  width: 2.2em !important;
}

trix-editor {
  min-height: 10rem;
  height: auto;
}

.trix-content ul {
  list-style-type: disc !important;
  margin-left: 1rem !important;
}

.trix-content ol {
  list-style-type: decimal !important;
  margin-left: 1rem !important;
}

.trix-content a {
  text-decoration: underline !important;
  color: blue;
}

.trix-content div:first-letter {
  text-transform: capitalize;
}
