/* Core styles can be used any where you need a generic HTML block */

body, p, button, input, select {
	/* TODO - change to site paragraph font */
	font-family: var(--font-body);
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
}
h5, h6 {
	font-family: var(--font-display-alt);
}
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,
a:not([href]):not([class]) {
	color: var(--sw-link-color);
	cursor: pointer;
}

: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) h1 {
	font-family: var(--font-display);
	margin-bottom: var(--space-3);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: var(--leading-none);
	letter-spacing: -0.018em;
	color: var(--deep-blue, #04384A);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
	font-family: var(--font-display);
	color: var(--deep-blue, #04384A);
	font-size: var(--text-4xl);
	font-style: normal;
	font-weight: 700;
	line-height: var(--leading-none);
	letter-spacing: -0.045rem;
	margin-bottom: var(--space-3);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
	color: var(--deep-blue, #04384A);
	font-family: var(--font-display);
	font-size: 2rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.04rem;
	margin-bottom: var(--space-3);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
	color: var(--deep-blue, #04384A);
	font-family: var(--font-display);
	font-size: 1.75rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.035rem;
	margin-bottom: var(--space-3);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
	color: var(--deep-blue, #04384A);
	font-family: var(--font-display-alt);
	font-size: 1.625rem;
	font-style: italic;
	font-weight: 700;
	line-height: 100%;
	text-transform: capitalize;
	margin-bottom: var(--space-3);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
	color: var(--deep-blue, #04384A);
	font-family: var(--font-display-alt);
	font-size: var(--text-xl);
	font-style: italic;
	font-weight: 700;
	line-height: var(--leading-snug);
	text-transform: capitalize;
	margin-bottom: var(--space-3);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
	color: var(--black-22, #222);
	font-family: var(--avenir);
	font-size: var(--text-base);
	font-style: normal;
	font-weight: 400;
	line-height: var(--leading-normal);
	letter-spacing: 0.015rem;
	margin-bottom: 30px;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) div {
	font-size: var(--text-xs);
	margin-bottom: 34px;
}

: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,
:is(.core-styles, .contentRender_name_plugins_core_textbox) a:not([href]):not([class]) {
	color: var(--red);
	font-weight: 700;
	transition: color ease 0.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(--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: var(--space-2);
	border: 1px solid var(--gray-500);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tr):nth-of-type(even){
	background: #E7F5F6;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol) {
	margin-bottom: var(--space-4);
	margin-left: var(--space-10);
}

: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-10);
}

:is(h1, h2, h3, h4, h5, h6) > a,
:is(h1, h2, h3, h4, h5, h6) > strong > a,
:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) > a,
:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) strong > a {
	font: inherit;
	color: var(--sw-link-color); 
	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,
	a:not([href]):not([class]):hover {
		/* TODO - change to site color */
		color: var(--sw-link-hover-color);
		text-decoration: none; /*reboot.css override*/
	}

	:is(h1, h2, h3, h4, h5, h6) > a:hover,
	:is(h1, h2, h3, h4, h5, h6) > strong > a:hover,
	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) > a:hover,
	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) > strong > a:hover {
		font: inherit;
		color: var(--red); 
		text-decoration: none;  
	}
}

@media (min-width: 64em) {
	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(h1, h2, h3, h4, h5, h6) {
		margin-bottom: var(--space-4);
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 { 
		font-size: 2.875rem;
		line-height: 1.1;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 { 
		font-size: 2.625rem; 
		line-height: 1.1; 
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 { font-size: 2.375rem; }
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 { font-size: 2rem; }
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 { font-size: 1.625rem; }
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 { 
		font-size: 1.375rem;
		line-height: 1.1;
	}
	:is(.core-styles, .contentRender_name_plugins_core_textbox) p { 
		font-size: 1.0625rem; 
		line-height: 1.8;
	}
}