/* Core styles can be used any where you need a generic HTML block */

body {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    background-color: var(--off-white);
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    text-rendering: optimizeLegibility;
}

ul, ol, dl {
    margin-bottom: 0;
    text-rendering: optimizeLegibility;
}

body, h1, h2, h3, h4, h5, h6, p, button, input, select {
	/* TODO - change to site paragraph font */
	font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
}

hr {
	height: 2px;
	background-color: var(--gray-300);
}

button {
	color: var(--sw-button-primary-color);
	background-color: var(--sw-button-primary-bg);
	border-radius: 0;
}

a {
	font-weight: var(--font-weight-bold);
	text-decoration: underline;
	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 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-weight: var(--font-weight-normal);
	font-size: 2.125rem;
	line-height: 1; 
	color: var(--black); 
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
	margin-bottom: 10px;
	font-family: var(--font-body);
	font-size: 1.3125rem;
	font-weight: var(--font-weight-semibold);
	line-height: 1.1; 
	color: var(--green-dark); 
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-weight: var(--font-weight-normal);
	font-size: 1.4375rem;
	line-height: 1; 
	color: var(--brown-dark); 
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
	margin-bottom: 10px;
	font-family: var(--font-body);
	font-size: 1.1875rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.1; 
	color: var(--green-dark); 
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-weight: var(--font-weight-normal);
	font-size:  var(--space-5);
	line-height: 1; 
	color: var(--brown-dark); 
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
	margin-bottom: 10px;
	font-family: var(--font-body);
	font-size:  var(--text-base);
	font-weight: var(--font-weight-bold);
	color: var(--brown-dark); 
	line-height: 1.1; 
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
	margin-bottom: var(--space-5);
	font-family: var(--font-crimson);
	font-size:  var(--text-base);
	font-weight: var(--font-weight-semibold);
	color: var(--brown-dark);
	line-height: 1.3; 
}

: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]) {
	text-decoration: underline;
}

: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) {
	table-layout: auto;
	margin-bottom: var(--space-5);
	background: var(--white);
	border: 1px solid var(--brown-dark);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tbody tr td, table tr td) {
	display: table-cell;
    padding: 5px var(--space-2);
	border: 1px solid var(--brown-dark);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(td, tr) {
	font-family: var(--font-crimson);
	font-size:  var(--text-base);
	font-weight: var(--font-weight-semibold);
	line-height: 1.3; 
	color: var(--brown-dark);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tr):nth-of-type(even){
	background-color: var(--gray-lighter);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol) {
	padding-inline-start: var(--space-10);
	margin-block: 0 var(--space-4);
	margin-inline: 0;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol):not([class*="block-grid-"]) li {
	margin-bottom: var(--space-5);
	font-family: var(--font-crimson);
	font-size:  var(--text-base);
	font-weight: var(--font-weight-semibold);
	line-height: 1.3;
	color: var(--brown-dark); 
}

: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));
}


.contentRender_name_plugins_core_textbox table caption {
    padding: var(--space-3) 0;
    text-align: center;
    font-size: var(--text-sm);
    font-style: italic;
    font-weight: var(--font-weight-normal, 400);
    line-height: var(--leading-tight);
    color: var(--gray-600);
}

@media (hover: hover) {
	button:hover {
		background-color: var(--sw-button-primary-bg-hover);
		color: var(--sw-button-primary-color-hover);
	}

	a:hover {
		text-decoration: none;
		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: 40em) {
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
		font-size: 3.75rem;
	}
	
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
		font-size: var(--text-3xl);
	}
	
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
		font-size: 2rem;
	}
	
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
		font-size: var(--text-2xl);
	}
	
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
		font-size: 1.625rem; 
	}
	
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h6,
	:is(.core-styles, .contentRender_name_plugins_core_textbox) p,
	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol):not([class*="block-grid-"]) li,
	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(td, tr) {
		font-size: var(--text-lg);
	}
}

@media (min-width: 64em) {
    .contentRender_name_plugins_core_textbox table caption {
        padding: var(--space-4) 0;
        font-size: var(--text-lg);
        line-height: var(--leading-normal);
    }
}