/* Core styles can be used any where you need a generic HTML block */
:root{
	/*Font size*/
	--h1-size-mobile: 2rem;
	--h1-size-desk: 3.75rem;
	--h2-size-mobile: 1.625rem;
	--h2-size-desk: 2.5rem;
	--h3-size-mobile: 1.438rem;
	--h3-size-desk: 1.875rem;
	--h4-size-mobile: 1.375rem;
	--h4-size-desk: 1.813rem;
	--h5-size-mobile: 1.25rem;
	--h5-size-desk: 1.625rem;
	--h6-size-mobile: 1.125rem;
	--h6-size-desk: 1.313rem;
	--p-size-mobile: 1rem;
	--p-size-desk: 1.125rem;
	--li-size-mobile: 1rem;
	--li-size-desk: 1.125rem;
	--td-tr-size-mobile: 1rem;
	--td-tr-size-desk: 1.125rem;
	
	/*Line height*/
	--h1-lh-mobile-desk: 1em;
	--h2-lh-desk: 1.225em;
	--h2-lh-mobile: 1.2em;
	--h3-lh-mobile: 1.071em;
	--h3-lh-desk: 1.111em;
	--h4-lh-mobile: 1.154em;
	--h4-lh-desk: 1.212em;
	--h5-lh-mobile:  1.250em;
	--h5-lh-desk: 1.333em;
	--h6-lh-mobile: 1.364em;
	--h6-lh-desk: 1.481em;
	--p-lh-mobile: 1.222em;
	--p-lh-desk: 1.545em;
	--li-lh-mobile: 1.222em;
	--li-lh-desk: 1.545em;
	--td-tr-lh-mobile: 1.122em;
	--td-tr-lh-desk: 1.545em;
}


/* 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);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
}

button {
	/* TODO - change to site color */
	background-color: var(--primary-color-100);
	color: var(--primary-color-900);
}

@media (hover: hover) {
	button:hover {
		/* TODO - change to site color */
		background-color: var(--primary-color-200);
	}
}

a {
	color: var(--blue);
}

@media (hover: hover) {
	a:hover {
		color: var(--taupe);
		text-decoration: none; /*reboot.css override*/
	}
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
	margin-bottom: 25px;
	font-family: var(--font-display);
	font-size: var(--h1-size-mobile);
	line-height: 1.25em;
	color: var(--taupe);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
	margin-bottom: 15px;
	font-family: var(--font-semibold);
	font-size: var(--h2-size-mobile);
	line-height: 1.2em;
	color: var(--taupe);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
	margin-bottom: 15px;
	font-family: var(--font-semibold);
	font-size: var(--h3-size-mobile);
	line-height: 1.2;
	color: var(--taupe);
	text-transform: uppercase;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: var(--h4-size-mobile);
	line-height: 1.1em;
	color: var(--taupe);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: var(--h5-size-mobile);
	line-height: 1em;
	color: var(--taupe);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: var(--h6-size-mobile);
	line-height: 1em;
	color: var(--taupe);
	text-transform: uppercase;
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
	margin-bottom: 15px;
	font-family: var(--font-body);
	font-size: var(--p-size-mobile);
	line-height: 1.4em;
	color: var(--taupe);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) a {
	font-family: var(--font-display);
	color: var(--blue);
	text-decoration: underline;
    transition: all ease 0.4s; 
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) a:hover {
	color: var(--taupe);
}

: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(--blue);
}

: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(--taupe);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table) {
	background: #fff;
	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(--td-tr-size-mobile);
	color: var(--taupe);
	line-height: 1.8em;
	padding: 5px 8px;
	border: 1px solid var(--black);
}

:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(table tr):nth-of-type(even){
	background: var(--cream);
}

: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(--li-size-mobile);
	line-height: 1.8em;
}

: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);
	margin-left: var(--space-6);
	margin-right: var(--space-6);
	display: inline-block;
}

@media screen and (min-width: 64em) {
	:is(.core-styles, .contentRender_name_plugins_core_textbox) h1 {
		margin-bottom: 35px;
		font-size: var(--h1-size-desk);
		line-height: 1.1em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h2 {
		margin-bottom: var(--space-5);
		font-size: var(--h2-size-desk);
		line-height: 1.1em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h3 {
		margin-bottom: var(--space-3);
		font-size: var(--h3-size-desk);
		line-height: 1.2em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h4 {
		margin-bottom: 10px;
		font-size: var(--h4-size-desk);
		line-height: 1em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h5 {
		margin-bottom: 10px;
		font-size: var(--h5-size-desk);
		line-height: 1em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) h6 {
		margin-bottom: 10px;
		font-size: var(--h6-size-desk);
		line-height: 1em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) p {
		margin-bottom: var(--space-5);
		font-size: var(--p-size-desk);
		line-height: 1.7em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(ul, ol):not([class*="block-grid-"]) li {
		font-size: var(--li-size-desk);
		line-height: 1.5em;
	}

	:is(.core-styles, .contentRender_name_plugins_core_textbox) :is(td, tr) {
		font-size: var(--td-tr-size-desk);
	}
}
