/* STANDARD HTML */

body {
	background: #ffffff;
	background-size: cover;
	color:#231f20;
	font-size: 110%;
	font-weight: 300;
	line-height: 1.5em;
	overflow-x: hidden;
	overflow-y: scroll;
}

body.page-template-empty, body.page-template-empty-node-modular {
	overflow-y: auto; /* Prevents unnecessary scrollbars in lightboxes */
}

body * {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

a, a:visited {
	color: #3498db;
	text-decoration: none;
}

a:hover { color: #e74c3c; }

.animated_transitions #page a, .animated_transitions #page a:hover { transition: all 0.25s ease 0s !important; }
.animated_transitions #page .breadcrumb a, .animated_transitions #page .breadcrumb a:hover { transition: none !important; }

a[href^='tel:'], a[href^='tel:']:hover {
	cursor: url('../images/cursors/phone.svg'), auto;
	text-decoration: none !important;
	white-space: nowrap;
}

b, strong { font-weight: 600; }

blockquote, .callout_box {
	background: rgba(0,0,0,0.05);
	color: inherit;
	display: inline-block;
	font-weight: 600;
	font-size: 100%;
	line-height: 1.5em;
	margin: 1.5rem 0;
	padding: 1.5rem 2.5rem;
	position: relative;
}

	blockquote *:last-child, .callout_box *:last-child { margin-bottom: 0; }
	
h1, h2, h3, h4, h5, h6 {
	break-after: avoid;
	break-inside: avoid;
	page-break-after: avoid;
	page-break-inside: avoid;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child,
.alignleft + h1, .alignleft + h2, .alignleft + h3, .alignleft + h4, .alignleft + h5, .alignleft + h6,
.alignright + h1, .alignright + h2, .alignright + h3, .alignright + h4, .alignright + h5, .alignright + h6
{ margin-top: 0 /* !important */; }

h1 {
	color: #2c3e50;
	font-size: 266.667%;
	font-weight: 600;
	line-height: 1em;
	margin: 0.667em 0 0.5em 0;
}

h2 {
	color: #2c3e50;
	font-size: 216.667%;
	font-weight: 300;
	line-height: 1.125em;
	margin: 0.667em 0 0.5em 0;
}

h3 {
	color: #2c3e50;
	font-size: 166.667%;
	font-weight: 300;
	line-height: 1.25em;
	margin: 0.667em 0 0.5em 0;
}

h4 {
	color: #2c3e50;
	font-size: 133.333%;
	font-weight: 300;
	line-height: 1.333em;
	margin: 0.667em 0 0.5em 0;
}

h5, h6 {
	color: #2c3e50;
	font-size: 100%;
	font-weight: 600;
	line-height: 1.5em;
	margin: 1.5em 0;
}
h5 { font-weight: 600; }
h6 { font-weight: 300; }

	h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
		font-family: inherit !important;
	}

	/* We need to let the WYSIWYG color picker override the color, but not the font */
	h1 *:not([style]), h2 *:not([style]), h3 *:not([style]), h4 *:not([style]), h5 *:not([style]), h6 *:not([style]) {
		color: inherit !important;
	}


/* Workaround for an annoying TinyMCE quirk */
h1 + br, h2 + br, h3 + br, h4 + br, h5 + br, h6 + br { display: none !important; }

hr {
	background: transparent;
	border: none;
	border-top: 2px solid rgba(64,64,64,0.25);
	height: 1px;
	margin: 1.5em 0;
	width: 100%;
}

i, em { font-style: italic; }

iframe {
	width: 100%;
}

img {
	max-width: 100%;
	object-fit: contain;
}
body:not(#tinymce) img {
	height: auto;
	width: auto;
}

ins {
	font-weight: 600;
	text-decoration: none;
}

nav .menu, nav .menu * {
	/*-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;*/
}

p, ul, ol, dl {
	font-size: 100%;
	font-weight: 300;
	line-height: 1.5em;
	margin: 0 0 1.5em 0;
}

p, li, dt, dd {
	-webkit-column-break-inside: avoid;
	break-inside: avoid;
	page-break-inside: avoid;
}

	li { }

		li ul, li ol {
			margin: 0.5em 0;
		}

	dt, dd { }

	dt {
		clear: both;
		font-weight: 600;
		margin: 0;
		padding: 0;
	}

	dd {
		clear: both;
		margin: 0 0 1.5em 0;
		padding: 0;
	}

code, pre, tt {
	color: #117700;
	font-family: 'Inconsolata', 'Consolas', 'Deja Vu Sans Mono', 'Droid Sans Mono', 'Andale Mono', 'Monaco', monospace !important;
	font-size: 0.9rem;
	line-height: 1.5em;
	overflow-x: auto;
}

small {
	font-size: 90%;
	line-height: 1.5em;
}

sup, sub {
	display: inline-block;
	font-size: 80%;
	line-height: 1em;
	margin: 0 1px;
}

sup { vertical-align: top; }
sub { vertical-align: bottom; }

svg {
	display: block;
	height: 100%;
	position: relative;
	width: 100%;
}

table {
	border-collapse: collapse;
	margin: 1.5em 0;
	width: 100% !important; /* Override inline dimensions inserted by TinyMCE */
}
table:first-child { margin-top: 0; }

tr > * {
	padding: 0.25em 0.5em 0.25em 0;
}

	th *:last-child, td *:last-child {
		margin-bottom: 0 /* !important */;
	}

	th {
		font-weight: 600;
		text-align: left;
		width: auto !important; /* Override inline dimensions inserted by TinyMCE */
	}
	
	td {
		font-weight: 300;
		text-align: left;
		width: auto !important; /* Override inline dimensions inserted by TinyMCE */
	}


/* CSS3 MEDIA QUERIES */

/* LARGE SCREENS (content area over 1600 pixels) */
@media screen and (min-width: 1600px) {

	body { font-size: 125%; }

}


/* SMALLER COMPUTERS (content area under 1200 pixels) */
/*
@media screen and (max-width: 1200px) {

}
*/


/* TABLETS (content area under 1024 pixels) */
@media screen and (max-width: 1024px) {

	body { font-size: 90%; }

}


/* PHONES (content area under 782 pixels) */
@media screen and (max-width: 782px) {

	body {
		font-size: 90%;
		/* For background handling on iOS */
		background-attachment: scroll; background-repeat: repeat;
	}

	blockquote { padding: 1.5em; }

	h1 { font-size: 244.444%; line-height: 1.091em; }
	h2 { font-size: 200%; line-height: 1.167em; }
	h3 { font-size: 133.333%; line-height: 1.25em; }
	h4 { font-size: 105.555%; line-height: 1.579em; }
	h5 { font-size: 100%; line-height: 1.5em; }

	table { font-size: 80%; line-height: 1.5em; overflow: auto; }
	thead, tbody, tfoot { width: 100%; }

}


/* MEDIUM PHONES (content area under 640 pixels) */
/*
@media screen and (max-width: 640px) {

}
*/


/* SMALL PHONES (content area under 480 pixels) */
/*
@media screen and (max-width: 480px) {

}
*/
