@import url('reset.css');
@import "https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,700,600,800";
@import url('tipsy.css');
@import url('styles.css');

#wrapper {
	max-width: 1100px;
	/* Increased from 1000px */
	width: 100%;
	margin: 0 auto;
	position: relative;
}

/* Navigation Column */
nav.alignleft {
	float: left;
	width: 200px;
	/* Space for nav */
	position: relative;
	z-index: 2000;
	min-height: 1px;
}

/* Content Column */
div.alignright {
	float: right !important;
	width: 820px;
	/* Increased from 720px */
	/* Fixed desktop width */
	padding: 0 0 10px 0 !important;
	position: relative;
	z-index: 10;
}

header {
	width: 820px;
	/* Increased from 720px */
	/* Fixed desktop width */
	padding: 0 40px 38px 40px;
	background-color: rgba(255, 255, 255, 0.8) !important;
	box-sizing: border-box;
}

.container {
	background-color: rgba(255, 255, 255, 0.8);
	padding: 20px;
	box-sizing: border-box;
	width: 820px;
	/* Increased from 720px */
}

.container.first {
	margin-bottom: 0;
}

/* MAP FIX */
#map-bg iframe {
	width: 100%;
}

ul#nav {
	margin-top: 226px;
	width: 185px;
	position: fixed;
	z-index: 1000;
}


.sticky {}

/*--STICKY STYLING IS HANDLES VIA JQUERY--*/
.bypostauthor img.avatar {}

img.alignleft,
img.aligncenter,
img.alignright,
img.alignnone {
	margin-bottom: 15px;
}

img.alignleft {
	float: left;
	margin-right: 30px;
}

img.alignright {
	float: right;
	margin-left: 30px;
}

img.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.wp-caption,
.gallery-caption {
	margin: 40px 0;
	max-width: 100%;
	text-align: center;
	color: #999;
}

.wp-caption-text,
.gallery-caption-text {
	margin: 6px 0;
	font-style: italic;
	font-size: 95%;
	line-height: 120%;
}

.commentwrap li {
	list-style: none;
}

h3#reply-title {
	text-align: left;
	font-size: 14px;
	padding-bottom: 12px;
	padding-top: 2px;
}

.responsive>p {
	height: 0;
	margin: 0;
	padding: 0;
}

footer .col1-3:nth-child(4n) {
	clear: left;
}

.post .alignleft {
	display: none;
}


.timeline {
	width: 80px;
	color: #444;
	/* Fix: White text on light background */
}

#map-bg:hover {
	background: none;
}

body.custom-background {
	background-size: 100% !important;
	background-color: #fff;
}


/* Fluid Columns Overrides */
.col1-1 {
	width: 96%;
	float: none;
	margin: 0 auto;
}

.col1-2 {
	width: 46%;
}

.col1-3 {
	width: 30%;
}

.col2-3 {
	width: 63%;
}

/* Ensure images don't overflow columns */
.col1-1 img,
.col1-2 img,
.col1-3 img,
.col2-3 img {
	max-width: 100%;
	height: auto;
}

ul#nav li a {
	color: #666;
	background-color: rgba(255, 255, 255, 0.8) !important;
	/* Match wrapper opacity */
	font-weight: 400;
	/* Normal weight */
	font-size: 14px;
	text-decoration: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	/* Very subtle shadow */
	border-radius: 2px;
	/* Slightly softer corners */
	padding: 8px 15px;
	text-align: right;
	display: block;
	margin-bottom: 6px;
	transition: all 0.2s ease;
	border: none;
}

ul#nav li.current-menu-item a,
ul#nav li a:hover {
	background-color: #fff;
	/* Solid white on hover */
	color: #cc0000;
	/* Red accent on hover */
	text-decoration: none;
	opacity: 1;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {

	/* ... (rest of media query logic) ... */

	/* Mobile Menu Items - Stacked */
	#nav li {
		float: none;
		display: block;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
		margin: 0;
	}

	#nav li:last-child {
		border-bottom: none;
	}

	#nav li a {
		display: block;
		padding: 10px 0;
		background: none !important;
		box-shadow: none !important;
		color: #666;
		/* Dark text for white mobile background */
	}

	/* Active/Hover mobile override */
	#nav li.current-menu-item a,
	#nav li a:hover {
		color: #cc0000;
		text-decoration: none;
	}

	/* ... */

	#wrapper {
		overflow: hidden;
	}

	nav.alignleft,
	div.alignright {
		float: none !important;
		width: 100% !important;
		display: block;
	}

	header,
	.container {
		width: 100% !important;
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Reset Logo Position */
	h1#logo {
		position: relative !important;
		margin-top: 20px !important;
		padding-left: 0 !important;
		display: block !important;
		text-align: center;
		width: 100%;
	}

	h1#logo a img {
		margin: 0 auto;
	}

	ul#nav {
		position: relative !important;
		margin-top: 20px;
		width: 100%;
		text-align: center;
		margin-right: 0;
		z-index: 1;
		/* Reset z-index */
	}

	.col1-1,
	.col1-2,
	.col1-3,
	.col2-3 {
		width: 100% !important;
		float: none !important;
		margin-bottom: 20px;
	}

	img {
		height: auto;
		max-width: 100%;
	}

	#nav li {
		float: none;
		display: inline-block;
		padding: 5px 10px;
	}

	.timeline {
		width: 100%;
		margin-bottom: 10px;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 0 auto 15px auto;
		display: block;
	}
}