/**
 * Tipografia contenuti HTML (TinyMCE ↔ sito).
 * L’editor carica questo file come content_css; sul sito avvolgi l’HTML in .rich-text
 */

.mce-content-body,
.rich-text {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.mce-content-body {
	color: #222;
	background: #fff;
	margin: 8px;
}

.rich-text {
	color: #eee;
	text-align: left;
	hyphens: manual;
	-webkit-hyphens: manual;
}

.mce-content-body p,
.rich-text p {
	margin: 0 0 1em 0;
}

.mce-content-body p:last-child,
.rich-text p:last-child {
	margin-bottom: 0;
}

.mce-content-body h2,
.mce-content-body h3,
.mce-content-body h4,
.rich-text h2,
.rich-text h3,
.rich-text h4 {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 700;
	line-height: 1.3;
	margin: 1.25em 0 0.5em 0;
}

.mce-content-body h2:first-child,
.mce-content-body h3:first-child,
.mce-content-body h4:first-child,
.rich-text h2:first-child,
.rich-text h3:first-child,
.rich-text h4:first-child {
	margin-top: 0;
}

.mce-content-body h2,
.rich-text h2 {
	font-size: 21px;
}

.mce-content-body h3,
.rich-text h3 {
	font-size: 17.5px;
}

.mce-content-body h4,
.rich-text h4 {
	font-size: 15.4px;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
	color: #fff;
	font-weight: 700;
}

.mce-content-body strong,
.mce-content-body b,
.rich-text strong,
.rich-text b {
	font-weight: 700;
}

.rich-text strong,
.rich-text b {
	color: inherit;
}

.mce-content-body em,
.mce-content-body i,
.rich-text em,
.rich-text i {
	font-style: italic;
}

.mce-content-body u,
.rich-text u {
	text-decoration: underline;
}

.mce-content-body s,
.mce-content-body strike,
.rich-text s,
.rich-text strike {
	text-decoration: line-through;
}

.mce-content-body a,
.rich-text a {
	font-weight: 600;
	text-decoration: underline;
}

.mce-content-body a {
	color: #0563c1;
}

.rich-text a {
	color: #7dff7d;
}

.rich-text a:hover {
	color: #fff;
}

.mce-content-body ul,
.mce-content-body ol,
.rich-text ul,
.rich-text ol {
	margin: 0 0 1em 0;
	padding-left: 1.6em;
	list-style-position: outside;
}

.mce-content-body ul,
.rich-text ul {
	list-style-type: disc;
}

.mce-content-body ol,
.rich-text ol {
	list-style-type: decimal;
}

.mce-content-body li,
.rich-text li {
	display: list-item;
	list-style: inherit;
	margin: 0 0 0.35em 0;
	padding-left: 0;
	position: static;
}

.rich-text li::before {
	content: none !important;
	margin: 0 !important;
}

.mce-content-body table,
.rich-text table {
	border-collapse: collapse;
	margin: 0 0 1em 0;
	width: 100%;
	max-width: 100%;
}

.mce-content-body th,
.mce-content-body td,
.rich-text th,
.rich-text td {
	border: 1px solid #999;
	padding: 8px 10px;
	vertical-align: top;
	text-align: left;
}

.rich-text th,
.rich-text td {
	border-color: #555;
}

.mce-content-body img,
.rich-text img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 1em 0;
}

.mce-content-body blockquote,
.rich-text blockquote {
	margin: 0 0 1em 0;
	padding: 0 0 0 1em;
	border-left: 3px solid #ccc;
}

.rich-text blockquote {
	border-left-color: #666;
	color: #ddd;
}

/* Priorità su justify globale del #main */
#main .rich-text,
#main .rich-text p,
#main .scheda .rich-text {
	text-align: left;
	hyphens: manual;
	-webkit-hyphens: manual;
}

.scheda .rich-text li {
	padding-left: 0;
	margin-bottom: 0.35em;
}
