/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/

/*Trix Editor*/

.trix-editor{
	overflow-y: auto !important;
}

/*Trix Content*/

.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 and Content shared elements */
/* With TailwindCSS, we need to add back some of the element properties */
/* because Tailwind remove the base element */


.trix-editor h1{
	font-size: 2.1em;
	font-weight: 500;
	font-style: italic;
	
} 

.trix-content h1 {
	font-size: 2.1em;
	font-weight: 500;
	font-style: italic;
}

.trix-editor a, .trix-content a {
	text-decoration-line: underline;
	text-underline-position: under;
}

.trix-editor a:hover, .trix-content a:hover {
	text-decoration-line: underline;
	text-underline-position: under;
	text-decoration-color: blue;
	color: blue;
}

.trix-editor ul, .trix-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}
	
.trix-editor ol, .trix-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.trix-editor strong{
	font-weight: 700;
	font-size: 1.1em;	
}

.trix-content strong{
	font-weight: 700;
	font-size: 1.1em;
}

.trix-editor blockquote, .trix-content blockquote{
	font-weight: 700;
	font-size: 1.35em;
}
