/*
Theme Name: TreHus Builders
Theme URI: 
Author: Room 34 Creative Services, LLC
Author URI: http://room34.com
Description: 
Version: 1.1.20241120
License: Unauthorized use or redistribution is prohibited
License URI: 
Tags: 
Text Domain: 
*/

/*
COLORS:

New brown (2018)	Pantone 44-14 U		rgb(98,87,83);
New tan (2018)		Pantone 9285 C		rgb(249,242,235);

New brown (2017) 	Pantone 7533 C		rgb(71,55,41);

Brown:			rgb(120,91,75);
Tan:			rgb(192,187,165);
Gray:			rgb(123,118,122);
Black-brown:	rgb(61,62,57);
Manilla 1:		rgb(247,230,202);
Manilla 2:		rgb(255,243,214);
x Beige 1:		rgb(233,231,209);
x Beige 2:		rgb(247,245,223);
x Beige 3:		rgb(255,253,229);
Red:			rgb(189,68,59);

*/

/* IMPORT */

@import url('/wp-content/themes/trehus/reset.css');
@import url('/wp-content/themes/trehus/fonts/zallmancaps/stylesheet.css');

/* STANDARD HTML */

body {
	color: rgb(98,87,83) /*rgb(61,62,57)*/;
	font-family: 'adobe-garamond-pro', 'Times New Roman', serif;
	font-size: 110%;
	line-height: 1.5em;
}

*:focus { outline: none; }

a, a:visited {
	color: rgb(98,87,83) /*rgb(61,62,57)*/;
	text-decoration: underline;
}

a:hover {
	color: rgb(123,118,122);
}

a[href^='tel:'] {
	color: inherit !important;
	cursor: default !important;
	text-decoration: inherit !important;
}

article {
	clear: both;
	margin: 0 0 3em 0;
	position: relative;
}
article:last-of-type { margin-bottom: 0; }

em, i { font-style: italic; }

form {
	margin: 0 auto;
	width: 70%;
}

	button {
		border: none !important;
	}

	input[type=text], select[multiple], textarea {
		background: rgb(255,255,255);
		border: 1px solid rgba(0,0,0,0.5);
		clear: none !important;
		color: rgb(98,87,83) /*rgb(61,62,57)*/;
		display: inline-block !important;
		font-family: 'adobe-garamond-pro', 'Times New Roman', serif;
		font-size: 100%;
		margin: 0 !important;
		opacity: 0.7;
		padding: 2px 5px;
		width: 100% !important;
	}
	
	input[type=text]:focus, select[multiple]:focus, textarea:focus {
		background: rgb(255,255,255);
		border: 1px solid rgba(0,0,0,0.5);
		color: rgb(98,87,83) /*rgb(61,62,57)*/;
		opacity: 1;
		outline: none;
	}
	
	input[type=submit] {
		background: rgb(189,68,59);
		border: 0;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		color: rgb(255,255,255);
		cursor: pointer;
		font-family: 'adobe-garamond-pro', 'Times New Roman', serif;
		font-size: 100%;
		padding: 4px 8px 2px 8px;
		text-transform: uppercase;
	}
	
	input[type=submit]:hover {
		background: rgb(98,87,83);
	}
	
	label {
		display: block !important;
	}
	
	select {
		background: #ffffff url('/wp-content/themes/trehus/images/select_arrows_x2.png') right 5px center no-repeat;
		background-size: 9px 15px;
		cursor: context-menu;
		border: 1px solid rgba(0,0,0,0.5);
		border-radius: 0;
		display: inline-block;
		font-size: 100%;
		height: 2.1em;
		line-height: 1.5em;
		margin: 0 0.5em 0.5em 0;
		min-width: 60%;
		padding: 0 22px 0 0.333em;
		width: 100% !important;
		-moz-appearance: none;
		-webkit-appearance: none;
	}
	select::-ms-expand { display: none; }
	select:focus {
		border: 1px solid rgba(0,0,0,0.5);
		outline: none;
	}

h1, h2, h3 {
	color: rgb(98,87,83);
	font-weight: normal;
	letter-spacing: 5px;
	line-height: 1em;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}

h1:first-child, h2:first-child, h3:first-child {
	margin-top: 0 !important;
}

h1 {
	color: rgb(120,91,75);
	font-size: 150%;
	letter-spacing: 5px;
}

h2 {
	font-size: 120%;
	letter-spacing: 2px;
}

h3 {
	font-size: 110%;
	letter-spacing: 3px;
}

h1 a, h2 a, h3 a {
	text-decoration: none !important;
}

h4 {
	font-size: 110%;
	font-weight: bold;
	line-height: 1.3em;
	margin: 1.5em 0 0.5em 0;
}

h5 {
	font-size: 110%;
	font-style: italic;
	line-height: 1.3em;
	margin: 1.5em 0 0.5em 0;
}

h6 {
	font-size: 100%;
	font-style: italic;
	line-height: 1.5em;
	margin: 1.5em 0 0.5em 0;
}

iframe {
	border: none;
	margin: 1em 0;
	width: 100%;
}

strong, b { font-weight: bold; }

p, ul, ol {
	margin: 0 0 1em 0;	
}

article ul {
	list-style: disc;
	padding-left: 2em;
}

article ol {
	list-style: decimal;
	padding-left: 2em;
}

/* CUSTOM CSS CLASSES */

.after_photo, .before_photo {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	padding: 0;
}

.after_photo {
	clear: none;
	float: left;
	height: auto;
	margin: 0;
	max-width: calc(75% - 1em);
	width: calc(75% - 1em);
}

.before_photo {
	float: right;
	margin: 0;
	max-width: 25% !important;
	width: 25% !important;
}

	.after_photo * {
		margin: 0 auto !important;
		padding: 0 !important;
	}
	
	.before_photo * {
		margin: 0 !important;
		padding: 0 !important;
	}
	
	.after_photo h3, .before_photo h3 {
		background: rgb(98,87,83);
		color: rgb(249,242,235) !important;
		font-size: 90% !important;
		margin-bottom: 4px !important;
		padding: 6px 10px !important;
	}
	
	.after_photo img, .before_photo img {
		display: block;
		height: auto;
		max-width: 100%;
		object-fit: contain;
		/*width: auto; Removed as workaround to Chrome bug 2024.11.14 */
	}

a.blocklink {
	display: block;
	overflow: hidden;
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	text-indent: -9999px;
}

.aligncenter {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.alignjustify {
	display: block;
	margin: 0;
	text-align: justify;
}

.alignleft {
	clear: left;
	float: left;
	margin: 0 1.5em 1em 0;
	text-align: left;
}

.alignright {
	clear: right;
	float: right;
	margin: 0 0 1em 1.5em;
	text-align: right;
}

.clear {
	clear: both;
}

.drawers {
	list-style: none;
	padding: 0;
}

	.drawers>li {
		border-bottom: 1px dotted rgba(0,0,0,0.2);
		clear: both;
		padding: 1em 0;
	}
	
	.drawer_header {
		cursor: pointer;
		overflow: hidden;
	}

		.drawer_header {
			font-size: 120%;
			line-height: 1.3em;
		}
	
		.drawer_header:hover {
			color: rgb(123,118,122);
		}
	
		.drawer_header img {
			border: 2px solid rgb(98,87,83);
			float: right;
			margin: 0 0 0.5em 1.5em;
		}
		
		.page-id-42 .drawer_header strong {
			background: rgb(77,114,146);
			border-radius: 3px;
			color: rgb(255,255,255);
			display: inline-block;
			margin: 2px 0;
			padding: 2px 6px;
		}
	
	.drawer_content {
		background: rgba(255,255,255,0.3);
		clear: both;
		display: none;
		padding: 1.5em;
	}
	
		.drawer_content img {
			border: 2px solid rgb(98,87,83);
		}
	
.entry-content {
	min-height: 100px;
}

/*
.entry-content p:first-of-type:first-letter {
	color: rgb(189,68,59);
	float: left;
	font-family: 'zallman_capsregular';
	font-size: 108px;
	font-style: normal !important;
	font-weight: normal !important;
	line-height: 75px;
	margin: 5px 0 0 0;
	padding: 0 5px 0 0;
	text-align: center;
	text-transform: uppercase;
}
*/

.entry-header {
	margin: 0 0 1.5em 0;
	text-align: center;
}

.entry-meta {
	clear: both;
	font-size: 80%;
	line-height: 1.3em;
	padding: 1em 0 0 0;
}

.features {
	border-top: 3px solid rgb(98,87,83);
	/*border-bottom: 1px dotted rgba(0,0,0,0.2);*/
	display: table;
	margin: 0 -100px;
	padding: 20px 100px 0 100px;
	position: relative;
	width: 100%;
}

	.feature_block {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		display: table-cell;
		margin: 0;
		padding: 0;
		position: relative;
		vertical-align: top;
		width: 33.333%;
	}
	
	.feature_block a {
		color: inherit !important;
		display: block;
		font-weight: inherit !important;
		padding: 1em 1.5em !important;
		text-decoration: none !important;
	}
	
	.feature_block a:hover {
		background: rgba(0,0,0,0.02);
	}

	.feature_block:last-of-type {
		margin-right: 0;
	}

.gallery {
	clear: both;
	list-style: none !important;
	padding: 0;
	text-align: center;
	/* 2018.05.23 STA - Settings below are solely to accommodate limited size images on the new expanded page layout */
	max-width: 980px;
	margin: 0 auto;
}

.gallery.thumbnails {
	margin: 0;
	padding: 1em 0 1.5em 0;
	text-align: left;
}

.sidebar .gallery {
	text-align: left;
}

	.gallery a { text-decoration: none; }

	.gallery img {
		border: none;
		display: block;
		margin: 0 auto;
	}

	.gallery li {
		display: inline-block;
		height: auto;
		margin: 7px;
		padding: 0;
		position: relative;
		text-align: center;
		vertical-align: top;
		width: calc(50% - 14px);
	}
	
	.gallery.thumbnails li {
		margin: 0 4px 4px 0;
		width: 90px;
	}
	
		#content .gallery li .overlay {
			background: rgba(98,87,83,0.5);
			opacity: 0;
			position: absolute; top: 0; right: 0; bottom: 0; left: 0;
			transition: opacity 0.333s ease;
		}
		
		#content .gallery li:hover .overlay {
			opacity: 1;
		}
	
		#content .gallery h3 {
			color: rgb(249,242,235);
			margin: 0.25em 0;
			position: absolute; top: 50%; left: 50%;
			transform: translate(-50%, -50%);
		}

	.sidebar .gallery li {
		margin: 0 5px 5px 0;
		padding: 0;
		width: 45%;
	}
	
	.sidebar .gallery li:nth-of-type(2n) {
		margin-right: 0;
	}

.gform_confirmation_wrapper { text-align: center; }

.job_title {
	font-style: italic;
	text-transform: none;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  transform: translateZ(0);
  animation: load8 1.1s infinite linear;
  position: absolute; top: 0; left: calc(50% - 5em);
}
@-webkit-keyframes load8 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.no-drop-cap { position: relative; }

	/*
	.no-drop-cap p:first-letter {
		color: inherit !important;
		float: inherit !important;
		font-family: inherit !important;
		font-size: inherit !important;
		line-height: inherit !important;
		margin: inherit !important;
		padding: inherit !important;
		text-align: inherit !important;
		text-transform: inherit !important;
	}
	*/

.nowrap {
	white-space: nowrap;
}

.post {
	border-top: 1px dotted #000000;
	margin-bottom: 1.5em;
	padding-top: 1.5em;
}

.preview {
	height: 133px;
	width: 200px;
}

.sidebar {
	display: inline-block;
	margin: 0 0 0 5%;
	vertical-align: top;
	width: 25%;
}

.single .post {
	border-top: none;
	padding-top: 0;
}

	.post .entry-time {
		color: rgb(189,68,59);
		font-size: 85%;
		margin: 1em 0;
	}

.slideshow {
	height: 340px;
	list-style: none;
	margin-top: -15px;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
	z-index: 1;
}

	.slideshow li {
		bottom: 0;
		left: 0;
		position: absolute;
		right: 0;
		top: 0;
	}
	
	.slideshow img {
		height: auto !important;
		width: 100% !important;
	}
	
	.slideshow-gallery img {
		display: block;
		height: auto !important;
		margin: auto !important;
		max-height: 100% !important;
		max-width: 100% !important;
		object-fit: contain;
		position: absolute; top: 50%; left: 50%;
		transform: translate(-50%, -50%);
		/*width: auto !important; Removed as workaround to Chrome bug 2024.11.14 */
	}

	.slideshow-gallery li.before-and-after .after,
	.slideshow-gallery li.before-and-after .before {
		background-position: center center;
		background-size: cover;
		overflow: hidden;
		position: absolute; top: 0; bottom: 0;
	}

	.slideshow-gallery li.before-and-after .after {
		right: calc(33.333% + 1em); left: 0;
	}

	.slideshow-gallery li.before-and-after .before {
		right: 0; left: 66.666%;
	}

	.slideshow-gallery li.before-and-after img {
		z-index: 1;
	}

	.slideshow-gallery li.before-and-after h3 {
		background: rgba(255,255,255,0.8);
		padding: 0.333em 0.75em 0.0667em 0.75em;
		position: relative; top: 1.5em;
		z-index: 2;
	}

.slide_controls {
	list-style: none;
	margin: -80px 0 20px 0;
	padding: 20px;
	position: relative;
	text-align: center;
	z-index: 2;
}

	.slide_controls li {
		background: transparent url('/wp-content/themes/trehus/images/slide_controls_white_x2.png') left center no-repeat;
		background-size: 100px 22px;
		display: inline-block;
		height: 25px;
		margin: 0 1em;
		opacity: 0.5;
		overflow: hidden;
		text-indent: -9999px;
		transition: opacity 0.333s ease;
		width: 25px;
	}
	
	.slideshow:hover + .slide_controls li,
	.slide_controls:hover li {
		opacity: 0.75;
	}
	
	.slide_controls:hover li:hover {
		cursor: pointer;
		opacity: 1;
	}
	
	.slide_controls .prev {
		background-position: -50px center;
	}
	
	.slide_controls .pause {
		background-position: -25px center;
	}
	
	.slide_controls .pause.paused {
		background-position: 3px center;
	}
	
	.slide_controls .next {
		background-position: -75px center;
	}

	.slide_navigation {
		clear: both;
		margin: 1em 0 0 0;
		overflow: auto;
		position: relative;
		text-align: center;
		white-space: nowrap;
	}

		.slide_navigation .prev, .slide_navigation .next {
			border-top: 9px solid transparent;
			border-bottom: 9px solid transparent;
			cursor: pointer;
			display: inline-block;
			height: 0;
			line-height: 18px;
			margin: 0 2px;
			overflow: hidden;
			position: relative;
			text-indent: -999px;
			vertical-align: middle;
			width: 0;
		}

		.slide_navigation .prev { border-right: 9px solid rgb(255,174,1);  }
		.slide_navigation .prev:hover { border-right-color: rgb(64,64,64);  }
		.slide_navigation .next { border-left: 9px solid rgb(255,174,1); }
		.slide_navigation .next:hover { border-left-color: rgb(64,64,64);  }

		.slide_select { display: inline-block; }

		.slide_select li {
			margin: 0 2px;
		}

		.slide_select li {
			cursor: pointer;
			display: inline-block;
			overflow: hidden;
			vertical-align: middle;
		}
		.slide_select:not(.thumbnails) li {
			background: rgb(163,170,131);
			height: 16px;
			line-height: 18px;
			text-indent: -999px;
			width: 16px;
		}

		.slide_select:not(.thumbnails) li:hover, .slide_select:not(.thumbnails) li.current {
			background: rgb(64,64,64);
		}

	.slide_navigation .thumbnails {
		list-style: none;
		margin: 0;
		padding: 0 !important;
		overflow: visible;
		position: relative;
		width: 100%;
		z-index: 2;
	}

		.slide_navigation .thumbnails li {
			cursor: pointer;
			display: inline-block;
			height: auto;
			line-height: 1px;
			opacity: 0.333;
			overflow: hidden;
			margin: 0 10px 10px 0;
			min-width: 150px;
			transition: opacity 0.5s;
			width: 12.5%;
		}
		.slide_navigation .thumbnails li:last-of-type { margin-right: 0; }
		.slide_navigation .thumbnails li:hover { opacity: 1; }
		.slide_navigation .thumbnails li.current {
			cursor: default;
			opacity: 1 !important;
		}

		/* Chrome / Safari */
		.slide_navigation::-webkit-scrollbar {
			background: rgba(0,0,0,0);
			height: 12px;
			width: 12px;
		}
		.slide_navigation::-webkit-scrollbar:horizontal {
			border-bottom: 1px solid #625753;
		}
		.slide_navigation::-webkit-scrollbar:vertical {
			border-right: 1px solid #625753;
		}
		.slide_navigation::-webkit-scrollbar-track {
			background: transparent;
			border-radius: 0;
		}
		.slide_navigation::-webkit-scrollbar-thumb {
			background: #625753;
			border-radius: 0;
		}
		.slide_navigation::-webkit-scrollbar-thumb:hover {
			background: #625753;
		}

.specs {
	clear: right;
	float: right;
	font-size: 80%;
	line-height: 1.3em;
	padding: 1em 0 0 0;
	width: 25%;
}

.staff_grid {
	list-style: none;
	padding: 0;
	text-align: center;
}
	.staff_grid li {
		display: inline-block;
		font-size: 85%;
		line-height: 1.333em;
		margin: 1em;
		vertical-align: top;
		width: 150px;
	}
	.staff_grid li a {
		text-decoration: none;
	}
	.staff_grid li .job_title {
		display: block;
	}

.thumbnail {
	height: 200px;
	width: 200px;
}

.widget_nav_menu { text-transform: uppercase; }

	.widget_nav_menu ul { font-size: 90%; }
	.widget_nav_menu ul ul { padding-left: 1em; }

	.widget_nav_menu a {
		display: block;
		line-height: 1.2em;
		margin: 0 0 0.8em 0;
		text-decoration: none;
	}

	.widget_nav_menu .current-menu-item>a {
		text-decoration: underline;
	}

.with_sidebar {
	display: inline-block;
	margin: 0;
	position: relative;
	vertical-align: top;
	width: 69%;
}


/* DOM ELEMENTS */

#wrapper {
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

	#masthead, #page, #colophon {
		clear: both;
		margin: 0;
		position: relative;
	}
	
	#masthead {
		height: 120px;
		z-index: 3;
	}
	
		#logo {
			background: transparent url('/wp-content/themes/trehus/images/logo.svg') center center no-repeat;
			background-size: contain;
			height: 64px;
			left: 50%;
			margin-left: -124px;
			overflow: hidden;
			position: absolute;
			text-indent: -9999px;
			top: 65px;
			width: 248px;
		}
		
			#logo a {
				bottom: 0;
				display: block;
				left: 0;
				position: absolute;
				right: 0;
				top: 0;
			}
		
		#primary_navigation {
			background: rgb(98,87,83);
			font-size: 90%;
			position: absolute;
			height: 40px;
			left: 0;
			letter-spacing: 1px;
			line-height: 40px;
			position: absolute;
			right: 0;
			text-align: center;
			text-transform: uppercase;
			top: 0;
		}
		
			#primary_navigation>.menu_handle { display: none; }
			
			#primary_navigation>.menu>ul {
				list-style: none;
				padding: 0;
			}
			
				#primary_navigation>.menu>ul>li {
					display: inline-block;
					margin: 0 1em;
					position: relative;
				}
				
					#primary_navigation>.menu>ul>li>a,
					#primary_navigation>.menu>ul>li>a:visited
					{
						color: rgb(249,242,235);
						font-size: 90%;
						text-decoration: none;
					}
					
					#primary_navigation>.menu>ul>li.current_page_item>a,
					#primary_navigation>.menu>ul>li.current_page_ancestor>a,
					#primary_navigation>.menu>ul>li>a:hover
					{
						color: rgb(255,255,255);
					}
					
					#primary_navigation>.menu>ul>li>ul {
						display: none;
					}
					
					#primary_navigation>.menu>ul>li:hover>ul {
						background: rgb(249,242,235);
						box-shadow: 1px 1px 5px rgba(61,62,57,0.2);
						display: block;
						font-size: 90%;
						left: -1em;
						line-height: 1em;
						position: absolute;
						text-align: left;
						top: 100%;
					}
					
						#primary_navigation>.menu>ul>li>ul a {
							display: block;
							min-width: 12em;
							padding: 0.5em 1em;
							text-decoration: none;
							white-space: nowrap;
						}
						
						#primary_navigation>.menu>ul>li>ul a:hover {
							background: rgb(249,242,235);
						}

			#social_links {
				display: block;
				list-style: none;
				padding: 0;
				position: absolute;
				right: 1.5em;
				top: 5px;
			}
			
				#social_links li {
					display: inline-block;
					height: 30px;
					margin: 0;
					overflow: hidden;
					position: relative;
					text-indent: -9999px;
					width: 30px;
				}
				
				#social_links a {
					background-color: transparent;
					background-position: center center;
					background-repeat: no-repeat;
					background-size: 20px;
					bottom: 0;
					display: block;
					left: 0;
					position: absolute;
					right: 0;
					top: 0;
				}
				
				#social_links a[href*='houzz'] { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMjc1LjkgMzMwLjdIMTcxLjNWNDgwSDE3VjMyaDEwOS41djEwNC41bDMwNS4xIDg1LjZWNDgwSDI3NS45eiIgZmlsbD0icmdiKDI0OSwyNDIsMjM1KSIvPjwvc3ZnPg=='); }
				#social_links a[href*='houzz']:hover { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMjc1LjkgMzMwLjdIMTcxLjNWNDgwSDE3VjMyaDEwOS41djEwNC41bDMwNS4xIDg1LjZWNDgwSDI3NS45eiIgZmlsbD0id2hpdGUiLz48L3N2Zz4='); }

				#social_links a[href*='facebook'] { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNTA0IDI1NkM1MDQgMTE5IDM5MyA4IDI1NiA4UzggMTE5IDggMjU2YzAgMTIzLjc4IDkwLjY5IDIyNi4zOCAyMDkuMjUgMjQ1VjMyNy42OWgtNjNWMjU2aDYzdi01NC42NGMwLTYyLjE1IDM3LTk2LjQ4IDkzLjY3LTk2LjQ4IDI3LjE0IDAgNTUuNTIgNC44NCA1NS41MiA0Ljg0djYxaC0zMS4yOGMtMzAuOCAwLTQwLjQxIDE5LjEyLTQwLjQxIDM4LjczVjI1Nmg2OC43OGwtMTEgNzEuNjloLTU3Ljc4VjUwMUM0MTMuMzEgNDgyLjM4IDUwNCAzNzkuNzggNTA0IDI1NnoiIGZpbGw9InJnYigyNDksMjQyLDIzNSkiLz48L3N2Zz4='); }
				#social_links a[href*='facebook']:hover { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNTA0IDI1NkM1MDQgMTE5IDM5MyA4IDI1NiA4UzggMTE5IDggMjU2YzAgMTIzLjc4IDkwLjY5IDIyNi4zOCAyMDkuMjUgMjQ1VjMyNy42OWgtNjNWMjU2aDYzdi01NC42NGMwLTYyLjE1IDM3LTk2LjQ4IDkzLjY3LTk2LjQ4IDI3LjE0IDAgNTUuNTIgNC44NCA1NS41MiA0Ljg0djYxaC0zMS4yOGMtMzAuOCAwLTQwLjQxIDE5LjEyLTQwLjQxIDM4LjczVjI1Nmg2OC43OGwtMTEgNzEuNjloLTU3Ljc4VjUwMUM0MTMuMzEgNDgyLjM4IDUwNCAzNzkuNzggNTA0IDI1NnoiIGZpbGw9IndoaXRlIi8+PC9zdmc+'); }

				#social_links a[href*='instagram'] { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMjI0LjEgMTQxYy02My42IDAtMTE0LjkgNTEuMy0xMTQuOSAxMTQuOXM1MS4zIDExNC45IDExNC45IDExNC45UzMzOSAzMTkuNSAzMzkgMjU1LjkgMjg3LjcgMTQxIDIyNC4xIDE0MXptMCAxODkuNmMtNDEuMSAwLTc0LjctMzMuNS03NC43LTc0LjdzMzMuNS03NC43IDc0LjctNzQuNyA3NC43IDMzLjUgNzQuNyA3NC43LTMzLjYgNzQuNy03NC43IDc0Ljd6bTE0Ni40LTE5NC4zYzAgMTQuOS0xMiAyNi44LTI2LjggMjYuOC0xNC45IDAtMjYuOC0xMi0yNi44LTI2LjhzMTItMjYuOCAyNi44LTI2LjggMjYuOCAxMiAyNi44IDI2Ljh6bTc2LjEgMjcuMmMtMS43LTM1LjktOS45LTY3LjctMzYuMi05My45LTI2LjItMjYuMi01OC0zNC40LTkzLjktMzYuMi0zNy0yLjEtMTQ3LjktMi4xLTE4NC45IDAtMzUuOCAxLjctNjcuNiA5LjktOTMuOSAzNi4xcy0zNC40IDU4LTM2LjIgOTMuOWMtMi4xIDM3LTIuMSAxNDcuOSAwIDE4NC45IDEuNyAzNS45IDkuOSA2Ny43IDM2LjIgOTMuOXM1OCAzNC40IDkzLjkgMzYuMmMzNyAyLjEgMTQ3LjkgMi4xIDE4NC45IDAgMzUuOS0xLjcgNjcuNy05LjkgOTMuOS0zNi4yIDI2LjItMjYuMiAzNC40LTU4IDM2LjItOTMuOSAyLjEtMzcgMi4xLTE0Ny44IDAtMTg0Ljh6TTM5OC44IDM4OGMtNy44IDE5LjYtMjIuOSAzNC43LTQyLjYgNDIuNi0yOS41IDExLjctOTkuNSA5LTEzMi4xIDlzLTEwMi43IDIuNi0xMzIuMS05Yy0xOS42LTcuOC0zNC43LTIyLjktNDIuNi00Mi42LTExLjctMjkuNS05LTk5LjUtOS0xMzIuMXMtMi42LTEwMi43IDktMTMyLjFjNy44LTE5LjYgMjIuOS0zNC43IDQyLjYtNDIuNiAyOS41LTExLjcgOTkuNS05IDEzMi4xLTlzMTAyLjctMi42IDEzMi4xIDljMTkuNiA3LjggMzQuNyAyMi45IDQyLjYgNDIuNiAxMS43IDI5LjUgOSA5OS41IDkgMTMyLjFzMi43IDEwMi43LTkgMTMyLjF6IiBmaWxsPSJyZ2IoMjQ5LDI0MiwyMzUpIi8+PC9zdmc+'); }
				#social_links a[href*='instagram']:hover { background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMjI0LjEgMTQxYy02My42IDAtMTE0LjkgNTEuMy0xMTQuOSAxMTQuOXM1MS4zIDExNC45IDExNC45IDExNC45UzMzOSAzMTkuNSAzMzkgMjU1LjkgMjg3LjcgMTQxIDIyNC4xIDE0MXptMCAxODkuNmMtNDEuMSAwLTc0LjctMzMuNS03NC43LTc0LjdzMzMuNS03NC43IDc0LjctNzQuNyA3NC43IDMzLjUgNzQuNyA3NC43LTMzLjYgNzQuNy03NC43IDc0Ljd6bTE0Ni40LTE5NC4zYzAgMTQuOS0xMiAyNi44LTI2LjggMjYuOC0xNC45IDAtMjYuOC0xMi0yNi44LTI2LjhzMTItMjYuOCAyNi44LTI2LjggMjYuOCAxMiAyNi44IDI2Ljh6bTc2LjEgMjcuMmMtMS43LTM1LjktOS45LTY3LjctMzYuMi05My45LTI2LjItMjYuMi01OC0zNC40LTkzLjktMzYuMi0zNy0yLjEtMTQ3LjktMi4xLTE4NC45IDAtMzUuOCAxLjctNjcuNiA5LjktOTMuOSAzNi4xcy0zNC40IDU4LTM2LjIgOTMuOWMtMi4xIDM3LTIuMSAxNDcuOSAwIDE4NC45IDEuNyAzNS45IDkuOSA2Ny43IDM2LjIgOTMuOXM1OCAzNC40IDkzLjkgMzYuMmMzNyAyLjEgMTQ3LjkgMi4xIDE4NC45IDAgMzUuOS0xLjcgNjcuNy05LjkgOTMuOS0zNi4yIDI2LjItMjYuMiAzNC40LTU4IDM2LjItOTMuOSAyLjEtMzcgMi4xLTE0Ny44IDAtMTg0Ljh6TTM5OC44IDM4OGMtNy44IDE5LjYtMjIuOSAzNC43LTQyLjYgNDIuNi0yOS41IDExLjctOTkuNSA5LTEzMi4xIDlzLTEwMi43IDIuNi0xMzIuMS05Yy0xOS42LTcuOC0zNC43LTIyLjktNDIuNi00Mi42LTExLjctMjkuNS05LTk5LjUtOS0xMzIuMXMtMi42LTEwMi43IDktMTMyLjFjNy44LTE5LjYgMjIuOS0zNC43IDQyLjYtNDIuNiAyOS41LTExLjcgOTkuNS05IDEzMi4xLTlzMTAyLjctMi42IDEzMi4xIDljMTkuNiA3LjggMzQuNyAyMi45IDQyLjYgNDIuNiAxMS43IDI5LjUgOSA5OS41IDkgMTMyLjFzMi43IDEwMi43LTkgMTMyLjF6IiBmaWxsPSJ3aGl0ZSIvPjwvc3ZnPg=='); }
	
	#page {
		z-index: 2;
	}
	
		#page_content {
			background: rgb(249,242,235);
			border-top: 60px solid rgb(249,242,235);
			border-right: 30px solid rgb(249,242,235);
			border-bottom: 60px solid rgb(249,242,235);
			border-left: 30px solid rgb(249,242,235);
			-moz-box-sizing: border-box; 
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			margin: 2em auto;
			max-width: 1440px;
			min-height: 600px;
			padding: 0 60px;
			position: relative;
			width: 90%;
		}
		
			#page_content>* {
				position: relative;
				z-index: 2;
			}
		
			#page_frame {
				bottom: -70px;
				left: -40px;
				position: absolute;
				right: -40px;
				top: -70px;
				z-index: 1;
			}
			
				#page_frame .edge {
					position: absolute;
				}
				
				#page_frame .edge.horizontal {
					background: rgb(98,87,83);
					left: 0;
					height: 3px;
					right: 0;
				}
				
				#page_frame .edge.vertical {
					border-left: 1px solid rgb(98,87,83);
					background: transparent;
					bottom: 0;
					top: 0;
					width: 1px;
				}
				
				#page_frame_top { top: 30px; }
				#page_frame_right { right: 30px; }
				#page_frame_bottom { bottom: 40px; }
				#page_frame_left { left: 30px; }
				
				#anniversary {
					color: rgb(189,68,59);
					font-size: 80%;
					letter-spacing: 5px;
					position: absolute; right: 0; bottom: 12px; left: 0;
					text-align: center;
					text-transform: uppercase;
				}
				
			#page_content_inner {
				/*overflow: hidden;*/
				position: relative;
			}
			#page_content_inner:after {
				clear: both; content: ''; display: table;
			}
		
			#page_content_inner img {
				height: auto;
				max-width: 100% !important;
				object-fit: contain;
				/*width: auto; Removed as workaround to Chrome bug 2024.11.14 */
			}
			
	#colophon {
		z-index: 1;
	}
	
		#colophon aside {
			color: rgb(98,87,83);
			font-style: italic;
			margin: 1em auto;
			text-align: center;
		}
	
		#mark {
			background: transparent url('/wp-content/themes/trehus/images/mark.svg') center center no-repeat;
			background-size: contain;
			height: 100px;
			margin: 1.5em auto;
			position: relative;
			width: 65px;
		}
		
		#address {
			background: rgb(192,187,165);
			color: rgb(102,102,102);
			font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
			font-size: 50%;
			letter-spacing: 1px;
			line-height: 2.5em;
			text-transform: uppercase;
		}

			#address ul {
				list-style: none;
				margin: 0 auto;
				text-align: center;
			}
			
			#address li {
				display: inline-block;
				margin: 0 1em;
			}


/* TEMPLATE-SPECIFIC FORMATTING */

/* .page-template-page-with-nav-sidebar-php */

body.page-template-page-with-nav-sidebar-php #content {
	float: right;
	width: 70%;
}

body.page-template-page-with-nav-sidebar-php #sidebar {
	float: left;
	width: 25%;
}


/* CUSTOM SCROLLBARS */

.specs::-webkit-scrollbar {
	border-right: 2px solid rgb(98,87,83);
	height: 100%;
	width: 10px;
}

.specs::-webkit-scrollbar-track {
	background: transparent;
	border: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}

.specs::-webkit-scrollbar-thumb {
	background: rgb(98,87,83);
	border: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	height: 50px;
}

.sidebar .gallery::-webkit-scrollbar {
	border: none;
	height: 10px;
	width: 100%;
}

.sidebar .gallery::-webkit-scrollbar-track {
	background: transparent;
	border-bottom: 1px solid rgb(98,87,83);
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}

.sidebar .gallery::-webkit-scrollbar-thumb {
	background: rgb(98,87,83);
	border: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	width: 50px;
}

/* CSS3 MEDIA QUERIES */

/* PRINT */
@media print {

	/* Basic settings */	
	* {
		background: white !important;
		border: none !important;
		-moz-box-shadow: none !important;
		-webkit-box-shadow: none !important;
		box-shadow: none !important;
		color: black !important;
		text-shadow: none !important; 
		filter: none !important; 
		-ms-filter: none !important;
	}
	@page { margin: 10% 5%; }
	h1, h2, h3, p { orphans: 3; widows: 3; }
	h1, h2, h3 { page-break-after: avoid; }

}


/* TABLETS/SMALL COMPUTERS (content area under 1100 pixels) */
@media screen and (max-width: 1099px) {

	.after_photo {
		height: auto;
		/*height: 360px;*/
	}

	.before_photo, .specs {
		height: auto;
		/*height: 200px;*/
	}

	.specs {
		font-size: 75%;
		line-height: 1.2em;
	}

	#primary_navigation {
		padding-left: 1em;
		text-align: left;
	}
	
}


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

	.after_photo {
		height: auto;
		/*height: 200px;*/
	}

	.before_photo, .specs {
		height: auto;
		/*height: 120px;*/
	}

	.feature_block {
		clear: both !important;
		display: block !important;
		margin: 1em 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	#primary_navigation>.menu>ul>li {
		margin: 0 0.7em;
	}
	
		#primary_navigation>.menu>ul>li>a,
		#primary_navigation>.menu>ul>li>a:visited
		{
			font-size: 85%;
		}

}


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

	.after_photo {
		height: auto;
		max-width: 100% !important;
		object-fit: contain;
		width: 100% !important;
	}
	.after_photo .photo_label { display: none; }
	
	.before_photo {
		display: none;
	}

	.before_photo, .specs {
		height: auto;
	}
	
	.entry-content {
		font-size: 90%;
		line-height: 1.5em;
	}

	/*
	.entry-content p:first-of-type:first-letter {
		font-size: 72px;
		line-height: 50px;
	}
	*/

	.feature_block {
		clear: both !important;
		display: block !important;
		margin: 1em 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.gallery.thumbnails li {
		margin: 0 4px 4px 0;
		width: calc(33.333% - 4px);
	}
	
	.gallery.thumbnails li:nth-of-type(3n) { margin-right: 0; }

	.page-template-page-with-nav-sidebar-php #content {
		width: 68%;
	}

	.page-template-page-with-nav-sidebar-php #sidebar {
		font-size: 90%;
		line-height: 1.5em;
		width: 27%;
	}		

	.sidebar, .with_sidebar {
		display: block;
		margin: 0;
		width: 100%;
	}

		.sidebar h3 {
			margin-bottom: 0.5em;
			text-align: center;
		}
		
		.sidebar .gallery {
			border: 1px solid rgb(98,87,83);
			overflow: auto;
			padding: 5px;
			text-align: center;
			white-space: nowrap;
		}
	
			.sidebar .gallery li {
				margin: 5px !important;
				padding: 0;
				width: 25% !important;
			}
				
	.specs {
		clear: both;
		font-size: 70%;
		line-height: 1.2em;
		width: 100%;
	}

	#masthead {
		height: 100px;
	}

		#logo {
			height: 48px;
			margin-left: -93px;
			top: 55px;
			width: 186px;
		}

	#primary_navigation>.menu_handle {
		color: rgb(249,242,235);
		cursor: pointer;
		display: block;
	}
	
	#primary_navigation>.menu {
		background: rgb(98,87,83);
		-moz-box-sizing: border-box; 
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		display: block;
		height: auto;
		left: -280px;
		position: absolute;
		top: 4px;
		-webkit-transition: left 400ms;
		transition: left 400ms;
		width: 280px;
		z-index: 99;
	}
	
	#primary_navigation.open>.menu {
		left: 0;
	}

		#primary_navigation>.menu a,
		#primary_navigation>.menu a:visited
		{
			background: transparent !important;
			color: rgb(249,242,235);
			display: block;
			padding: 0.5em 1em;
			text-decoration: none;
		}
		
		#primary_navigation>.menu a:hover { color: rgb(255,255,255) !important; }

		#primary_navigation>.menu ul,
		#primary_navigation>.menu>ul>li:hover>ul,
		#primary_navigation>.menu li {
			background: rgb(98,87,83);
			box-shadow: none;
			display: block !important;
			font-size: 95%;
			height: auto;
			left: auto;
			line-height: 1em;
			position: relative;
			top: auto;
		}
		
		#primary_navigation>.menu ul ul a {
			padding-left: 2em !important;
		}
	
	#social_links {
		right: 0.5em;
	}

	#page_content {
		border-top-width: 10px;
		border-right-width: 10px;
		border-bottom-width: 10px;
		border-left-width: 10px;
		margin: 1em 0;
		padding: 15px;
		width: 100%;
	}
	
		#page_frame {
			bottom: -20px;
			left: -10px;
			right: -10px;
			top: -20px;
		}
					
			#page_frame_top { top: 10px; }
			#page_frame_right { right: 10px; }
			#page_frame_bottom { bottom: 10px; }
			#page_frame_left { left: 10px; }
			#anniversary { bottom: 18px; font-size: 70%; letter-spacing: 3px; }
	
	#colophon aside {
		font-size: 75%;
		line-height: 1.5em;
	}

	#mark {
		height: 60px;
		margin: 1em auto;
		width: 39px;
	}
	
	#address {
		line-height: 2em;
		padding: 0.5em 0;
	}
	
}
