.text-content {
	font-size: 1rem;
}
.text-content > * {
	margin-bottom: 1.6em;
}
.text-content *.no-margin {
	margin-bottom: 0 !important;
}
.text-content *.smaller-font {
	font-size: 0.85em;
}
.text-content.smaller-font {
	font-size: 0.85rem;
}
.text-content *.larger-font {
	font-size: 1.2em;
}
.text-content.larger-font {
	font-size: 1.2rem;
}

.text-content h1 {
	font-size: 1.6em;
	margin-bottom: 1em;
}
.text-content h2 {
	font-size: 1.4em;
	margin-bottom: 1em;
}
.text-content h3 {
	font-size: 1.3em;
	margin-bottom: 1em;
}
.text-content h4 {
	font-size: 1.2em;
	margin-bottom: 1em;
}
.text-content h5 {
	font-size: 1.1em;
	margin-bottom: 1em;
}
.text-content h6 {
	font-size: 1.1em;
	margin-bottom: 1em;
	border-bottom: 1px solid #333;
}

.text-content p {
	font-size: inherit;
}
.text-content * p {
	font-size: inherit;
}
.text-content hr {
	margin: 1.6em auto;
}
.text-content a {
	color: inherit;
}

.text-content .lead-block {
	font-family: inherit;
	font-size: 1.4em;
	color: #666;
}
.text-content .left-block {
	display: block;
	width: 50%;
}
.text-content .two-column-block {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;

	-webkit-column-gap: 40px;
	-moz-column-gap: 40px;
	column-gap: 40px;
}
.text-content .three-column-block {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;

	-webkit-column-gap: 40px;
	-moz-column-gap: 40px;
	column-gap: 40px;
}
.text-content .two-column-block > *:last-child,
.text-content .three-column-block > *:nth-child(2) {
	display: inline-block; /* fix firefox/safari breaking columns randomly */
}
.text-content .two-column-block > *,
.text-content .three-column-block > * {
	margin-bottom: 1em;
}

.text-content ul:not(.no-style, .menu, .sub-menu, .woocommerce-error, .iti__country-list),
.text-content ol:not(.no-style, .menu, .sub-menu) {
	padding-left: 1.1em;
}
.text-content ul:not(.no-style, .menu, .sub-menu, .woocommerce-error, .iti__country-list) > li {
	margin-bottom: 0.2em;
	list-style: disc;
}
.text-content ol:not(.no-style, .menu, .sub-menu) > li {
	margin-bottom: 0.2em;
	list-style: decimal;
}
.text-content ul:not(.no-style, .menu, .sub-menu, .woocommerce-error, .iti__country-list) > li:last-child,
.text-content ol:not(.no-style, .menu, .sub-menu) > li:last-child {
	margin-bottom: 0;
}

.text-content blockquote,
.text-content q {
	margin: 1.6em 1em;
	font-style: italic;
	font-size: 1.2em;
	text-align: center;
	color: #999;
	quotes: none;
}
.text-content blockquote p:last-child,
.text-content q p:last-child {
	margin-bottom: 0;
}
.text-content blockquote,
.text-content q {
	quotes: none;
}
.text-content blockquote::before,
.text-content blockquote::after,
.text-content q::before,
.text-content q::after {
	content: '';
}
.text-content blockquote hr {
	width: 40%;
	background-color: #999;
}

.text-content img,
.text-content .wp-caption:not(.slick-item) {
	width: auto;
	max-width: 100%;
	height: auto;
	margin-top: 2.8em;
	margin-bottom: 2.8em;
}
.text-content .wp-caption img {
	display: block;
	/* width: 100%; */
	margin-top: 0;
	margin-bottom: 0;
}
.text-content img.alignleft,
.text-content img.alignright,
.text-content .wp-caption.alignleft,
.text-content .wp-caption.alignright {
	display: block;
	margin-top: 0.2em;
	margin-bottom: 0.4em;
}
.text-content img.alignnone {
	display: block;
}
.text-content img.alignleft,
.text-content .wp-caption.alignleft {
	float: left;
	/*width: 47%;*/
	max-width: 47%;
	margin-right: 3%;
}
.text-content img.alignright,
.text-content .wp-caption.alignright {
	float: right;
	/*width: 47%;*/
	max-width: 47%;
	margin-left: 3%;
}
.text-content img.aligncenter,
.text-content .wp-caption.aligncenter {
	display: block;
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.text-content .wp-caption.alignleft img,
.text-content .wp-caption.alignright img,
.text-content .wp-caption.aligncenter img {
	float: none;
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.text-content .wp-caption {
	/* width: auto !important; */ /* fix wp inline width */
}
.text-content .wp-caption a {
	display: block;
}
.text-content .wp-caption-text {
	margin-top: 1.2em;
	text-align: center;
	font-style: italic;
	color: #666;
}

.text-content > .gallery,
.text-content > .wp-gallery {
	margin-top: 2.8em !important;
	margin-bottom: 2.8em !important;
}
.text-content .gallery img,
.text-content .gallery .wp-caption,
.text-content .wp-gallery img,
.text-content .wp-gallery .wp-caption {
	margin-top: 0;
	margin-bottom: 0;
}
.text-content .gallery .gallery-icon { /* default wp gallery images */
	font-size: 0;
}
.text-content .gallery .gallery-icon img {
	border: none !important;
}
.text-content .grid-gallery .gallery-item > a img {
	-o-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
}
.text-content .grid-gallery .gallery-item > a:hover > img {
	opacity: 0.8;
}

.text-content iframe {
	display: block;
	max-width: 100%;
	margin-top: 2.8em;
	margin-bottom: 2.8em;
}

.text-content > *:first-child,
.text-content > *:first-child > *:not(.wp-caption-text) {
	margin-top: 0;
}
.text-content > *:last-child,
.text-content > *:last-child:not(ul):not(ol) > *:last-child {
	margin-bottom: 0 !important;
}

.text-content > .post-password-form > *:not(:last-child) {
	margin-bottom: 1em !important;
}
.text-content > .post-password-form input {
	margin-top: 0.6em;
}

@media all and (max-width: 800px) {
	.text-content img.alignleft,
	.text-content img.alignright,
	.text-content .wp-caption.alignleft,
	.text-content .wp-caption.alignright {
		/* width: 100%; */
		max-width: 100%;
		float: none;
		display: block;
		margin-left: 0%;
		margin-right: 0%;
		margin-top: 2.8em;
		margin-bottom: 2.8em;
	}

	.text-content .left-block {
		width: auto;
	}
	.text-content .two-column-block,
	.text-content .three-column-block {
		-webkit-column-count: auto;
		-moz-column-count: auto;
		column-count: auto;
	}
	.text-content .two-column-block > *:not(:last-child),
	.text-content .three-column-block > *:not(:last-child) {
		margin-bottom: 1em !important;
	}
}
