/* ORIGINAL STYLES */
#content p,
#content ul,
#full-width-content p,
#full-width-content ul {
	text-align: justify;
}

#content .archive {
	clear:both;
}

h1 {
	font-size:26px;
}

#copyright .pad {
	padding-top:10px!important;
}

#copyright a {
	color:#999;
	font-weight: bold;
	text-decoration:none;
}

/* RESET */
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, address, code, img, small, strong, dl, dt, dd, ol, ul, li,
fieldset, form, label {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

ol, ul {
	list-style: none;
}

/* THEME STYLES */
body {
	background-image: url(/web/system/body-bg.png);
	background-color: #05243a;
	background-repeat: repeat;
	background-position: 0 0;
	color: #474747;
}

a {
	color: #0b4873;
}

#content blockquote,
#full-width-content blockquote {
	border-left-color: #c6c6c6;
}

#content img,
#full-width-content img,
#portfolio img {
	border-color: #c6c6c6;
	background-color: #f2f2f2;
}

#menu-wrapper {
	background-image: url(/web/system/menu-bg.png);
}

#main {
	border-color: #01101b;
}

#primary {
	background-image: url(/web/system/primary-bg.png);
	background-color: #ffffff;
}

#copyright {
	background-image: url(/web/system/footer-bg.png);
	color: #ffffff;
}

#copyright a {
	color: #ffffff;
	text-decoration: underline;
}

#logo {
	background-image: url(/web/system/logo.png);
}

#menu-wrapper .menu a {
	color: #f2f2f2;
}

#menu-wrapper .menu a:hover, #menu a.menu-home:hover {
	background-image: url(/web/system/menu-bg.png);
}

#menu-wrapper .menu li {
	background-image: url(/web/system/menu-divider.png);
}

#menu-wrapper .menu li ul {
	background: #073659;
	border-top: 1px solid #073659;
	border-bottom: 1px solid #01101b;
	border-right: 1px solid #01101b;
	border-left: 1px solid #01101b;
	margin-left: -2px;
}

#menu-wrapper .menu li ul ul {
	border: 1px solid #01101b;
}

#menu-wrapper .menu li li a:focus, #menu-wrapper .menu li li a:hover, #menu-wrapper .menu li li a:active {
	background: #03233a;
}

#menu-wrapper .menu li li a, #menu-wrapper .menu li li a:visited {
	color: #f2f2f2;
}

.sf-sub-indicator {
	background-image: url('/system/arrows.png');
}

#searchform div {
	border-color: #01101b;
	background-color: #0b4e7c;
	background-image: url(/web/system/search-input-bg.png);
}

#search-input {
	color: #f2f2f2;
}

#searchsubmit {
	background-image: url(/web/system/search-submit.png);
}

#content .entry h3 a, #content .archive h3 a {
	color: #474747;
}

#content .entry h3 a:hover, #content .archive h3 a:hover {
	color: #000000;
}

a.name {
	color: #474747;
}

a.name:hover {
	color: #000000;
}

#respond input, #respond textarea {
	background-color: #ffffff;
	color: #666;
	border: 1px solid #cccccc;
}

#respond #submit {
	background-color: #ffffff;
	border: 1px solid #cccccc;
}

#respond #submit:hover {
	background-color: #f2f2f2;
}

.news-article h2 a, .featured-news h2 a {
	color: #474747;
}

.news-article h2 a:hover, .featured-news h2 a:hover {
	color: #000000;
}

#portfolio .portfolio-box h3 a {
	color: #474747;
}

#portfolio .portfolio-box h3 a:hover {
	color: #000000;
}

#contact input, #contact textarea {
	background-color: #ffffff;
	color: #666;
	border: 1px solid #cccccc;
}

#contact #submit {
	background-color: #ffffff;
	border: 1px solid #cccccc;
}

#contact #submit:hover {
	background-color: #f2f2f2;
}

#footer-top {
	background-image: url(/web/system/footer-top-bg.png);
	background-color: #ffffff;
}

#footer-widget-area {
	background-image: url(/web/system/footer-widget-area-bg.png);
	background-color: #08395b;
	color: #ffffff;
}

#footer-widget-area a {
	color: #ffffff;
}

#footer-widget-area a:hover {
	text-decoration: underline;
}

#sidebar .widget a {
	color: #0b4873;
}

#sidebar .widget ul {
	border-bottom-color: #cccccc;
}

#sidebar .widget li {
	border-top-color: #cccccc;
	background-image: url('/system/bullet.png');
}

#sidebar .widget li a {
	color: #474747;
}

#sidebar .widget li a:hover {
	color: #0b4873;
}

#slideshow {
	background-color: #f2f2f2;
}

#slideshow-nav {
	background-image: url(/web/system/slideshow-nav.png)
}

#slideshow-nav-inner a img {
	background-image: url(/web/system/slideshow-nav-button.png);
}

#full-width-content .widget ul.jaybich-simple-contact li,
#sidebar .widget ul.jaybich-simple-contact li,
ul.jaybich-simple-contact li {
	background-image: url(/web/system/icons-contact.png);
}

#footer-widget-area .widget ul.jaybich-simple-contact li a, ul.jaybich-simple-contact li a {
	color: #f2f2f2;
}

#portfolio .wp-pagenavi a, #content .wp-pagenavi a {
	border: 1px solid #cccccc;
	color: #474747;	
}

#portfolio .wp-pagenavi a:hover, #content .wp-pagenavi a:hover {	
	border: 1px solid #cccccc;
	background-color: #f2f2f2;
}

#portfolio .wp-pagenavi span.current, #content .wp-pagenavi span.current {
	border: 1px solid #cccccc;
	color: #474747;
	background-color: #f2f2f2;
}

/* MOBILE HAMBURGER MENU */
.mobile-menu-toggle {
	display: none;
	background: #073659;
	color: #f2f2f2;
	padding: 15px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	border: none;
	width: 100%;
	text-align: left;
}

.mobile-menu-toggle .hamburger-icon {
	display: inline-block;
	font-size: 24px;
	margin-right: 10px;
	font-weight: normal;
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 1024px) {
	/* Mobile hamburger menu */
	.mobile-menu-toggle {
		display: block;
	}
	
	#menu-wrapper {
		position: relative;
	}
	
	#menu-wrapper .menu {
		display: none;
		width: 100%;
		background: #073659;
		position: relative;
		z-index: 100;
	}
	
	#menu-wrapper .menu.active {
		display: block;
	}
	
	#menu-wrapper .menu li {
		float: none;
		width: 100%;
		background-image: none;
		background-color: #073659;
		border-bottom: 1px solid #01101b;
	}
	
	#menu-wrapper .menu li a {
		display: block;
		padding: 12px 15px;
		background-color: #073659;
	}
	
	#menu-wrapper .menu li ul {
		position: static;
		width: 100%;
		margin-left: 0;
	}
	
	#menu-wrapper .menu li ul li a {
		padding-left: 30px;
	}
	
	/* Wrapper and layout */
	#wrapper {
		width: 100% !important;
		margin: 0;
		overflow-x: hidden;
	}
	
	#main {
		overflow-x: hidden;
	}
	
	#header {
		text-align: center;
		padding: 10px;
	}
	
	#header h1 {
		float: none;
		margin: 0 auto;
	}
	
	#header #logo {
		width: 100%;
		max-width: 350px;
		height: 60px;
		margin: 5px auto;
		background-size: contain;
		background-position: center;
	}
	
	#header br {
		display: none;
	}
	
	#header img {
		max-width: 30px;
		height: auto;
		margin: 5px 3px;
	}
	
	/* Search form */
	#searchform {
		position: static;
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
	}
	
	#searchform div {
		width: 100%;
	}
	
	#searchform #search-input {
		width: calc(100% - 30px);
	}
	
	/* Slideshow - full width edge to edge */
	#slideshow-wrapper {
		width: 100%;
		margin: 0;
		padding: 0;
		overflow: visible;
	}
	
	#slideshow {
		width: 100% !important;
		height: auto !important;
		min-height: 200px !important;
		max-height: none !important;
		position: static;
		left: auto;
		right: auto;
		margin: 0;
		overflow: visible;
	}
	
	#slideshow div {
		width: 100% !important;
		height: auto !important;
		min-height: 200px !important;
		max-height: none !important;
		overflow: visible;
	}
	
	#slideshow img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 200px !important;
		display: block !important;
		border: none !important;
		padding: 0 !important;
		margin: 0 !important;
		object-fit: cover;
	}
	
	#slideshow-nav {
		width: 100%;
	}
	
	/* Primary content area */
	#primary {
		background-image: none;
		overflow-x: hidden;
	}
	
	#full-width-content {
		padding: 10px !important;
	}
	
	/* Content comes first (order 1) */
	#content {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
		order: 1;
	}
	
	#content .pad {
		padding: 10px !important;
	}
	
	#content .archive img {
		width: 100% !important;
		height: auto !important;
		float: none !important;
		margin: 10px 0 !important;
		display: block;
	}
	
	/* Sidebar comes second (order 2) */
	#sidebar {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
		padding: 15px 20px 15px 10px !important;
		order: 2;
		box-sizing: border-box;
	}
	
	/* Make content and sidebar flex container */
	#full-width-content {
		display: flex;
		flex-direction: column;
	}
	
	/* Sidebar widgets */
	#sidebar .widget {
		width: 100% !important;
		margin-bottom: 20px;
	}
	
	#sidebar .widget img {
		max-width: 100%;
		height: auto;
	}
	
	#sidebar .widget iframe {
		width: 100% !important;
		max-width: 100%;
	}
	
	#sidebar .widget table {
		width: 100%;
	}
	
	/* Footer */
	#footer-widget-area .widget {
		width: 100% !important;
		float: none !important;
		margin: 10px 0 !important;
	}
	
	#copyright .pad {
		padding: 15px 10px !important;
		font-size: 12px;
	}
	
	.clear {
		padding: 10px;
		font-size: 12px;
	}
}

@media screen and (max-width: 480px) {
	body {
		font-size: 14px;
	}
	
	h1 {
		font-size: 22px !important;
	}
	
	h2 {
		font-size: 20px !important;
	}
	
	h3 {
		font-size: 18px !important;
	}
}