
/* Fonts 
----------------------------------------- */
/* Not needed for this file */


/* Root Variables 
----------------------------------------- */
:root {
	--theme-primary: #1c478c;
	--theme-accent: #5fb53b;
	--theme-lightprimary: #e1e4f9;
	--theme-darkprimary: #0e2345;
	--theme-lightaccent: #d7efcd;
	--theme-darkaccent: #305b1e;
	--theme-lightgray: #f5f5f5;
	--theme-mediumgray: #999;
	--theme-darkergray: #434343;
	--theme-darkgray: #2a2a2a;
	--theme-white: #fff;
	--theme-black: #000;
	--theme-headinggray: #000;
	--theme-textgray: #000;

	--theme-body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

	--theme-heading-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

	--wp--preset--font-size--x-small: 13px;
	--wp--preset--font-size--small: 15px;
	--wp--preset--font-size--med-small: 18px;
    --wp--preset--font-size--medium: 20px;
    --wp--preset--font-size--large: 24px;
	--wp--preset--font-size--x-large: 32px;
	--wp--preset--font-size--xx-large: 36px;
    --wp--preset--font-size--huge: 42px;
	--wp--preset--font-size--gigantic: 60px;
}


/* Drop Caps
---------------------------------------------------------------------------- */

.site-container p.has-drop-cap:not(:focus)::first-letter {
	margin: 0.02em 0.08em 0 -0.08em;
}

.site-container p.has-larger-font-size.has-drop-cap:not(:focus)::first-letter,
.site-container p.has-small-font-size.has-drop-cap:not(:focus)::first-letter {
	margin-right: 0.01em;
}

/* Paragraphs
---------------------------------------------------------------------------- */

/*.alignfull:not(.has-background) .wp-block-group__inner-container > p:not(.has-background-color) {
	padding-left: 30px;
	padding-right: 30px;
}*/

/* Background Color
---------------------------------------------------------------------------- */

.site-container p.has-background {
	padding: 30px;
}

.site-container p.has-background.box-shadow {
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.site-container p.has-text-color a,
.site-container p.has-background a {
	color: inherit;
}

.site-container p.has-background a:focus,
.site-container p.has-background a:hover,
.site-container p.has-text-color a:focus,
.site-container p.has-text-color a:hover {
	color: inherit;
	text-decoration: none;
}

.site-container p.has-background.light-text a {
	border-bottom: 1px solid currentColor;
	color: #fff;
	text-decoration: underline;
}

.site-container p.has-background.light-text a:focus,
.site-container p.has-background.light-text a:hover {
	border-bottom: none;
	text-decoration: none;
}

/* Alignment
---------------------------------------------------------------------------- */

.has-text-align-center {
	text-align: center;
}

.has-text-align-left {
	text-align: left;
}

.has-text-align-right {
	text-align: right;
}

.wp-block-button.alignleft,
.wp-block-buttons.alignleft,
.wp-block-cover.alignleft,
.wp-block-image .alignleft {
	margin-right: 20px;
}

.wp-block-button.alignright,
.wp-block-buttons.alignright,
.wp-block-cover.alignright,
.wp-block-image .alignright {
	margin-left: 20px;
}

.wp-block-image,
.wp-block-embed {
	margin-bottom: 15px;
}

.wp-block-image.alignwide,
.wp-block-image.alignfull,
.wp-block-embed.alignwide,
.wp-block-embed.alignfull {
	margin-bottom: 30px;
}

.wp-block-image + .wp-block-heading,
.wp-block-embed + .wp-block-heading,
.wp-block-embed + .wp-block-group {
	margin-top: 15px;
}


.full-width-content .entry-content > .alignfull {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: 100vw;
}

.content-sidebar .site-container .alignfull,
.sidebar-content .site-container .alignfull {
	margin: 0 0 30px;
	width: 100%;
}

@media only screen and (min-width: 960px) {


	/*.full-width-content .entry-content > .alignwide {
		margin-left: calc( (( -100vw + 100% ) / 2) + 40px );
		margin-right: calc( (( -100vw + 100% ) / 2) + 40px );
		width: auto;
		max-width: 100vw;
	}

	.alignfull .alignwide,
	.alignwide .alignwide {
		max-width: 1200px;
		margin: 0 auto;
	}*/

	.full-width-content .entry-content > .alignwide {
		margin-left: -200px;
		margin-right: -200px;
		max-width: calc(100% + 400px); /* 400 equals sum of left and right margin for 1200px width when content is 800px */
		width: auto;
	}

	.full-width-content.no-sidebar-wide .entry-content > .alignwide,
	.alignfull .alignwide,
	.alignwide .alignwide {
		max-width: 1200px;
		margin: 0 auto;
	}
}


/* Columns
---------------------------------------------------------------------------- */

.site-container .wp-block-columns.alignfull {
	padding: 0 30px;
}

/* Cover Image
---------------------------------------------------------------------------- */

.full-width-content .entry-content > .wp-block-cover.alignfull {
	width: 100vw;
}


/* Category Block
---------------------------------------------------------------------------- */

.site-container .wp-block-categories {
	margin-left: 0;
	padding-left: 0;
}

.site-container .wp-block-categories li {
	list-style-type: none;
}

.site-container .wp-block-categories.aligncenter {
	text-align: center;
}

.site-container .wp-block-categories.alignfull {
	padding: 0 30px;
}

.site-container .wp-block-categories .children {
	padding-left: 30px;
}

/* Latest Posts Block
---------------------------------------------------------------------------- */

.site-container .wp-block-latest-posts {
	margin-left: 0;
	padding-left: 0;
}

.site-container .wp-block-latest-posts li {
	list-style-type: none;
}

.site-container .wp-block-latest-posts.aligncenter {
	text-align: center;
}

.site-container .wp-block-latest-posts.alignfull {
	padding: 0 30px;
}

.wp-block-latest-posts li {
	display: table;
	margin-bottom: 30px;
}

/* Other Blocks
---------------------------------------------------------------------------- */

.wp-block-preformatted,
.wp-block-verse,
.wp-block-code,
.wp-block-html {
	font-family:  SFMono-Regular, Menlo, Monaco,
	Consolas, 'Liberation Mono', 'Courier New', monospace;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.75;
}

.wp-block-code {
	background-color: var(--theme-lightgray);
	padding: 10px;
}

.blocks-gallery-caption {
	width: 100%;
}

.blocks-gallery-item figcaption {
	margin-bottom: 0;
}

.wp-block-preformatted,
.wp-block-verse {
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-preformatted {
	white-space: pre-wrap;
}

hr.wp-block-separator {
	border: none;
	border-bottom: 1px solid currentColor;
	clear: both;
	color: #ddd;
	margin: 40px auto;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100px;
}

@media only screen and (min-width: 960px) {
	
	hr.wp-block-separator {
		margin: 40px auto;
	}
}

.wp-block-separator.is-style-dots {
	color: var(--theme-black);
}

.wp-block-audio audio {
	display: inline-block;
	width: 100%;
}

.site-container .blocks-gallery-grid,
.site-container .wp-block-gallery,
.site-container .wp-block-social-links {
	padding-left: 0;
}

.wp-block-file a.wp-block-file__button,
.wp-block-file a.wp-block-file__button:visited {
	background-color: var(--theme-darkgray);
	border: 1px solid var(--theme-darkgray);
	border-radius: 0;
	color: var(--theme-white);
	font-size: var(--wp--preset--font-size--x-small);
	opacity: 1;
}

.wp-block-file a.wp-block-file__button:focus,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:active {
	background-color: var(--theme-white);
	border: 1px solid var(--theme-darkgray);
	color: var(--theme-darkgray);
	opacity: 1;
} 

.wp-block-table.is-style-stripes {
	border-bottom-width: 0;
}

.full-width-content .site-container .wp-block-table.alignfull {
	margin: 0;
	width: 100%;
}

@media only screen and (min-width: 960px) {

	.full-width-content .site-container > .wp-block-table.alignwide {
		width: calc(100% + 400px);
	}

	.full-width-content .site-container > .wp-block-table.alignfull {
		margin-left: calc(-100vw / 2 + 100% / 2);
		margin-right: calc(-100vw / 2 + 100% / 2);
		width: 100vw;
	}

}

@media only screen and (max-width: 600px) {

	.wp-block-media-text.is-stacked-on-mobile figure {
		margin-bottom: 20px;
	}

}

/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (max-width: 781px) {

	.site-container .wp-block-column {
		flex-basis: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column,
	.wp-block-latest-posts.columns-2 li,
	.wp-block-latest-posts.columns-3 li,
	.wp-block-post-template.is-flex-container.is-flex-container.columns-2>li,
	.wp-block-post-template.is-flex-container.is-flex-container.columns-3>li,
	.wp-block-post-template.is-flex-container li,
	.wp-block-query-loop.is-flex-container li {
		margin: 0;
		flex-basis: 100%;
	}
}
