/* Core styles can be used any where you need a generic HTML block */

body, h1, h2, h3, h4, h5, h6, p, button, input, select {
	/* TODO - change to site paragraph font */
	font-family: var(--font-body);
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
}

hr {
	height: 2px;
	background-color: var(--gray-300);
}

button {
	/* TODO - change to site color */
	background-color: var(--sw-button-secondary-bg);
	color: var(--sw-button-secondary-color);
}

a {
	color: var(--sw-link-color);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) > p:not([style="text-align: right;"]) > img,
:is(.core-styles, .contentRender_name_plugins_core_textbox) img[style*="float: left;"] {
	margin-left: 0;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) > p:not([style="text-align: right;"]) > img[style*="float: right"],
:is(.core-styles, .contentRender_name_plugins_core_textbox) img[style*="float: right;"],
:is(.core-styles, .contentRender_name_plugins_core_textbox) > p[style="text-align: right;"] > img {
	margin-right: 0;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) img{
	margin:18px !important;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
	margin-bottom: var(--space-5);
	font-size: var(--text-4xl);
    color: var(--mid-blue);
    line-height: var(--leading-tighter);
    text-transform: lowercase;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
	margin-bottom: var(--space-2-10);
	font-size: var(--text-2xl);
	font-weight: 600;
	color: var(--dark-blue);
	font-family: var(--font-body);
	line-height: var(--leading-tighter);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
	margin-bottom: var(--space-2-10);
	font-size: var(--text-2xl);
	font-weight: 400;
	line-height: var(--leading-tighter);
	text-transform: lowercase;
	color: var(--dark-blue);
	font-display: swap;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
	margin-bottom: var(--space-2-10);
	font-size: var(--text-3xl);
	font-weight: 400;
	line-height: var(--leading-tighter);
	font-family: var(--font-cursive);
	color: var(--orange);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
	margin-bottom: var(--space-2-10);
	font-size: var(--text-base);
	font-weight: 600;
	line-height: var(--leading-tighter);
	color: var(--teal);
	font-family: var(--font-body);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
	margin-bottom: var(--space-2-10);
	font-size: var(--text-xl);
	font-weight: 400;
	line-height: var(--leading-tighter);
	color: var(--dark-blue);
	text-transform: lowercase;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
	margin-bottom: var(--space-5);
	font-family: var(--font-body);
	font-size: var(--text-base-1);
	color: var(--black);
	line-height: var(--leading-snug);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) .sv-wrapped-iframe {
	margin-bottom: var(--space-4)
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) a {
	transition: text-decoration ease .4s;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) blockquote {
	margin: var(--space-12) 0;
	padding: var(--space-6) var(--space-8);
	border-left: 4px solid var(--primary-color-500);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) blockquote > p {
	margin: 0;
	font-size: var(--text-2xl);
	font-style: italic;
	line-height: var(--leading-snug);
	color: var(--gray-600);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table) {
	background: var(--white);
	margin-bottom: var(--space-5);
	table-layout: auto;
	padding: 0;
	border-collapse: unset;
	border: 1px solid var(--black);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tbody tr td, table tr td) {
	display: table-cell;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(td, tr) {
	font-family: var(--font-body);
	font-size: var(--text-base-1);
	line-height: var(--leading-normal);
	padding: 5px var(--space-2);
	border: 1px solid var(--black);
	color: var(--black);
	font-weight: 400;
	margin-bottom: var(--space-5);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tr):nth-of-type(even){
	background: #f2f2f2;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol) {
	margin-bottom: var(--space-4);
	margin-left: var(--space-5);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol):not([class*="block-grid-"]) li {
	font-family: var(--font-body);
	font-size: var(--text-base-1);
	line-height: var(--leading-snug);
	margin-bottom: var(--space-5);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul) {
	list-style-type: disc;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ol) {
	list-style-type: decimal;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul li ul) {
	list-style-type: circle;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul ul ul) {
	list-style-type: square;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul li ul, ul li ol, ol li ol) {
	margin-left: var(--space-5);
}

:is(h1, h2, h3, h4, h5, h6) > a,
:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) > a {
	font: inherit;
	color: inherit; 
	text-decoration: none;  
}

.contentRender_name_plugins_core_textbox img {
	margin-bottom: var(--space-4);
	display: inline-block;
	margin:18px !important;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) img{
	margin:0 18px 18px 18px !important;
	border: none !important;
	padding-top:12px !important;
}


/*Fix t608450: when font-weight is higher, some letters (like letter u) displays differently*/
:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 strong {
	font-weight: 400;
}

@media (hover: hover) {
	button:hover {
		/* TODO - change to site color */
		background-color: var(--sw-button-secondary-bg-hover);
		color: var(--sw-button-secondary-color-hover);
	}

	a:hover {
		/* TODO - change to site color */
		color: var(--sw-link-hover-color);
		text-decoration: underline;
	}

	:is(h1, h2, h3, h4, h5, h6) > a:hover,
	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) > a:hover {
		font: inherit;
		color: inherit; 
		text-decoration: none;  
	}
}

@media (min-width: 40em) {
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
		font-size: var(--text-7xl);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
		font-size: var(--text-base);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
		font-size: var(--text-3xl-1);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
		font-size: var(--text-3xl-2);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
		font-size: var(--text-4xl-1);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
		font-size: var(--text-xl);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
		font-size: var(--text-2xl);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol):not([class*="block-grid-"]) li {
		font-size: var(--text-base);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(td, tr) {
		font-size: var(--text-base);
		line-height: var(--leading-snug);
	}
}