/* 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);
}

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);
}

@media (hover : hover) {
	a { 
		text-decoration: underline 1px transparent;
		transition: text-decoration-color 300ms , color ease 300ms;
		text-underline-offset: 2px;
	}

	a:hover {
		text-decoration: underline;
		text-decoration-thickness: 1px;
	}
}

: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) :is(h1,h2,h3,h4,h5,h6) {
	font-family: var(--font-body);
	color: var(--dark-gray);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
    font-style: italic;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1em;
    margin-bottom: 25px;
    text-transform: uppercase;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
	color: var(--red);
    font-style: italic;
    font-weight: 800;
    font-size: 1.5625rem;
    line-height: 1em;
    margin-bottom: 10px;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
    font-style: italic;
    font-weight: 800;
    font-size: 1.3125rem;
    line-height: 1em;
    margin-bottom: 10px;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
    font-style: italic;
    font-weight: 800;
    font-size: var(--text-lg);
    line-height: 1em;
    margin-bottom: 10px;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
    font-style: italic;
    font-weight: 800;
    font-size: var(--text-base);
    line-height: 1em;
    margin-bottom: 5px;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
    font-style: italic;
    font-weight: 800;
    font-size: var(--text-sm);
    line-height: 1em;
    margin-bottom: 5px;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
	color: var(--dark-gray);
    font-weight: 400;
    font-style: normal;
    font-size: var(--text-lg);
    line-height: 1.2em;
    margin-bottom: 25px;
}

: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 {
	text-decoration: underline;
	font-weight: bold;
}

: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(--sw-key-color);
}

: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: var(--space-2);
}

: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);
	line-height: var(--leading-normal);
	padding: 10px 20px;
	border: 1px solid var(--gray-500);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tr):nth-of-type(even){
	background: var(--gray-200);
}

: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);
	line-height: var(--leading-normal);
}

: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-sides: var(--space-6);

	margin-bottom: var(--space-4);
	margin-left: var(--margin-sides);
	margin-right: var(--margin-sides);
	display: inline-block;
	max-width: calc(100% - (var(--margin-sides) * 2));
}

@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);
	}

	: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: 64em) {
	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) {
		line-height: 1em;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
		font-size: 4.0625rem;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
		font-size: 2.8125rem;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
		font-size: 30px;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
		font-size: 1.5625rem;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
		font-size: 1.375rem;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
		font-size: var(--text-lg);
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
		font-size: var(--text-xl);
		line-height: 1.3em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol):not([class*="block-grid-"]) li {
		font-size: var(--text-xl);
	}
}