/* START Ixion Theme Customizations */
h1, h2, h3, h4, h5, h6 {
	color: #142A42;
}

img, .widget, .header-overlay:before, .contact-form {
	border-radius: 4px;
}

a {
	text-decoration: underline;
	color: #bd9700;
}

.widget a {
	color: #947600;
}

ul > li, ol > li {
	margin-bottom: 1em;
}

.utility-container {
	display: none;
}

@media screen and (max-width: 37.5em) {
	.branding-container {
		padding-top: 1.7em !important;
	}
	
	.branding-container .site-branding {
		display: block;
		color: transparent;
		background: url('https://justinboardman.com/wp-content/uploads/2017/09/boardman-tc-serif-small.png') no-repeat 0 0;
		background-size: contain;
		min-height: calc((100vw - 10em) * 0.322580645);
		min-width: calc(100vw - 10em);
	}
	
	.branding-container .site-branding a {
		display: block;
		min-height: calc((100vw - 10em) * 0.322580645);
	}
	
	.branding-container .site-branding img {
		display: none;
	}
	
	.wf-active .main-navigation .nav-menu > li > a {
		font-family: "Archivo Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 2em;
		line-height: 1.8;
	}
	
	#top-menu > li {
		padding: 0 !important;
		margin: 0 !important;
	}
	
	.main-navigation {
		display: block;
		width: 100vw;
		margin: 0 -1.4em;
	}
	
	.main-navigation ul {
		padding: 1em 1.5em;
		margin-top: 1.1em;
	}
}

.branding-container {
	padding-top: 2em;
	padding-bottom: 1em;
}

.branding-container .site-title {
	display: none;
}

.branding-container .site-branding img {
	height: 48px;
	margin-bottom: 1em;
}

#top-menu {
	justify-content: flex-start;
}

@media screen and (min-width: 37.5em) {
	#top-menu {
		max-width: 80vw;
	}
}

#top-menu > li {
	margin-left: 0;
	margin-right: 2em;
	padding: .3em 0;
}

#masthead {
	margin-bottom: 2em;
}

@media screen and (max-width: 37.5em) {
	#masthead {
		margin-bottom: 0;
		padding-bottom: .4em;
	}
	
	.header-overlay {
		margin-bottom: 0;
	}
	
	.entry-header .entry-title, .entry-content > h1 {
		font-size: 2.5em !important;
		padding: .6em 0 .5em;
		margin-bottom: .6em;
	}
}

.front-page-wrapper .site-description {
	font-size: 2.1em;
}

@media screen and (min-width: 50em) {
	.front-page-wrapper .site-description {
		font-size: 5em;
		max-width: 8em;
		text-shadow: 0 0 60px #334863;
	}
}

@media screen and (min-width: 37.5em) and (max-width: 50em) {
	.front-page-wrapper .site-description {
		font-size: 4em;
		line-height: 1.1;
		max-width: 8em;
		text-shadow: 0 0 30px #334863;
		bottom: .6em;
		padding: 0;
		margin: 0;
		position: absolute;
		color: white;
	}
	
	body:not(.header-text-hidden).has-description .site-description-wrapper, .has-cta-button .site-description-wrapper {
		padding: 0 1.6em;
	}
}

@media screen and (min-width: 50em) {
	.site-main {
		margin: 0 37% 0 0;
	}
}

.entry-header .entry-title, .entry-content > h1 {
	font-size: 2.8em;
}

.entry-content h1 {
	margin-bottom: .6em;
}

.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.entry-content h1:first-child, .entry-content h2:first-child, .entry-content h3:first-child, .entry-content h4:first-child, .entry-content h5:first-child, .entry-content h6:first-child {
	margin-top: 0;
}

.entry-content p, .entry-content ul, .entry-content ol {
	margin-bottom: 1em;
}

.widget {
	background: #f8f6f1;
}

.wp-caption {
	margin-bottom: 1em;
}

.wp-caption-text {
	font-size: .8em;
	font-style: italic;
	color: #666;
}

.wp-caption .wp-caption-text {
	margin-bottom: 0;
}

.wp-caption.alignleft {
	margin-right: 1.5em;
}

.wp-caption.alignright {
	margin-left: 1.5em;
}

#featured-content > article {
	overflow: hidden;
}

@media screen and (max-width: 37.5em) {
	#featured-content {
		margin-bottom: 0;
	}
	
	#featured-content > article {
		max-height: 9em;
	}
}

@media screen and (min-width: 37.5em) {
	.featured-content .hentry .entry-title {
		font-size: 1.2em;
		text-shadow: 0 0 10px #334863;
	}
	
	#featured-content > article {
		max-height: 6em;
	}
}

@media screen and (min-width: 50em) {
	#featured-content > article {
		max-height: 10em;
	}
}

.page-id-382 #content > .post-thumbnail {
	display: none !important;
}

.page-id-443 .widget-area #text-1 {
	display: none !important;
}

@media screen and (max-width: 37.5em) {
	#content > .post-thumbnail {
		display: none !important;
	}
}

.contact-form {
	padding: .8em 1em;
	background: #f8f6f1;
	margin: 2em 0;
}

.contact-form textarea {
	width: 100% !important;
}

@media screen and (min-width: 37.5em) {
	.contact-form {
		padding: 1.3em 1.8em;
	}
}

.contact-form div {
	margin-bottom: .5em;
}

.contact-form label {
	margin-bottom: 1em !important;
}

.contact-form input {
	line-height: 40px;
	padding-left: 16px;
	border-radius: 3px;
}

.contact-form input[type="submit"] {
	padding: 8px 32px;
	border-radius: 3px;
	background-color: #cca300;
}

.main-navigation .menu-toggle {
	background-color: #cca300;
}

.embed-pdf-viewer {
    width:100%!important;
}


/* END Ixion Theme Customizations */