/* baselines */
html {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: hidden !important;
}

body {
	background-color: #fff;
	color: #413d39;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 110%;
	line-height: 1.4em;
	padding: 0;
	margin: 0;
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: hidden !important;
}

/* headers */
h1, h2, h3, h4, h5, h6 {
	/*font-family: 'Montserrat', sans-serif;
	font-weight: 400;*/
	margin-top: 0.2em;
	line-height: 1em;
}

h2 { font-size: 1.4em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1.0em; line-height: 1em; }
h6 { font-size: 0.7em; }

/* bottom margins for block elements */
p, h1, h2, h3, h4, h5, h6, ul, ol {
	margin-bottom: 0.8em;
}

h1 {
	margin-bottom: 1.2em;
}

ul, ol {
	margin-left: 16px;
}

img {
	border: 0;
	max-width: 100%;
}

iframe {
	max-width: 100%;
}

a {
	color: #413d39;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 0.92em;
}

a:hover {
	opacity: 0.8;
	text-decoration: none;
}

a.unstyled {
	text-decoration: none;
}

a.unstyled:hover {
	text-decoration: none;
}

h3 a {
	font-family: inherit;
	font-size: inherit;
	text-decoration: none;
}

table {
	width: 100%;
	padding-top: 1em;
	margin-bottom: 1.2em;
	table-layout: fixed;
}

th, td {
	vertical-align: top;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 0.85em;
	padding-bottom: 1em;
	line-height: 1.3em;
}

b, strong {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-weight: normal;
}

i, em, i a, em a {
	font-family: Georgia, sans-serif !important;
	font-size: 1em !important;
}

hr {
	border: 0;
	border-top: 1px solid #ccc;
	margin-top: 0;
}

blockquote {
	margin-left: 0;
	padding-left: 15px;
	border-left: 5px solid #ddd;
	color: #666;
	font-size: 0.9em;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

img {
	max-width: 100%;
}

/* sections */
.section {
	padding: 25px 0px 25px 0px;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0px !important;
	overflow-x: hidden !important;
}

	.section-white {
		background-color: #fff;
		color: #413d39;
	}
	
	.section-light {
		background-color: #f8f8f8;
		color: #413d39;
		border-top: 1px solid #f5f5f5;
		border-bottom: 1px solid #f2f2f2;
	}
	
	.section-gray {
		background-color: #ebecec;
		color: #403c35;
	}
	
	.section-warm {
		background-color: #ebebe8;
		color: #403c35;
	}
	
	.section-dark {
		background-color: #323433;
		color: #fff;
	}
	
		.section-dark a {
			color: #fff;
		}
	
	.section-bg {
		background-position: 50% 50%;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		min-height: 500px;
	}
	
	.section-pinned {
		padding: 0px 10px 0px 0px !important;
		margin: 0 !important;
		height: 55px;
		overflow: hidden;
	}
	
		a#logo-small {
			display: inline-block;
			float: left;
			margin-right: 22px;
			margin-top: -2px;
		}
	
		a#logo-small:hover {
			opacity: 1;
		}
	
		a#logo-small img {
			height: 36px;
		}
	
	.section-link:hover {
		cursor: pointer;
	}

/* blocks */
.section-block {
	padding-right: 20px;
	padding-bottom: 1em;
}

	.section-block h3 {
		font-size: 1.4em;
		margin-top: 0;
	}
	
	.section-block p:last-child {
		margin-bottom: 0;
	}
	
	.section-block>a:hover {
		opacity: 1;
	}

	.section-block>img,
	.section-block>iframe,
	.section-block>figure {
		width: 100%;
		margin: 0 !important;
		padding: 0 !important;
		display: block;
	}
	
	.section-block>figure {
		overflow: hidden;
		position: relative;
	}
	
		.section-block>figure>a:hover {
			opacity: 1;
		}
	
		.section-block>figure>figcaption {
			background-color: rgba(255,255,255,0.92);
			/*-webkit-box-shadow: 0px -1px 2px 0px rgba(0,0,0,0.2);
			-moz-box-shadow: 0px -1px 2px 0px rgba(0,0,0,0.2);
			box-shadow: 0px -1px 2px 0px rgba(0,0,0,0.2);*/
			font-size: 0.9em;
			color: #111;
			width: 100%;
			height: 100px;
			position: absolute;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			border-collapse: collapse;
			bottom: -105px;
			left: 0;
			padding: 10px 15px;
			-webkit-transition: all 0.5s ease;
			transition: all 0.5s ease;
			text-shadow:
				-1px -1px 0 rgba(240,240,240,0.1),
				1px -1px 0 rgba(240,240,240,0.1),
				-1px 1px 0 rgba(240,240,240,0.1),
				1px 1px 0 rgba(240,240,240,0.1); 
		}
	
		.section-block>figure:hover>figcaption {
			bottom: 0;
		}

/* positional styles */
.center {
	text-align: center;
}

.right {
	text-align: right;
}

.closer {
	margin-bottom: 10px;
}

.small {
	font-size: 0.7em;
}

/* custom */
#newsletter {
	padding-top: 0px;
	padding-bottom: 2px;
	font-size: 0.9em;
}

	#newsletter form {
		display: inline;
	}
	
	#newsletter form label {
		display: none;
	}
	
	#newsletter form input[type=email] {
		padding: 2px;
		border: 2px solid #fff;
		font-size: 0.8em;
		outline: none;
		margin-left: 4px;
		margin-right: 8px;
		width: 170px;
	}

	#newsletter form input[type=submit] {
		width: auto;
		background-color: #aaa;
		border: 2px solid #aaa;
		color: #fff;
		text-transform: uppercase;
		font-family: 'Montserrat', Helvetica, Arial, sans-serif;
		font-size: 0.7em;
		padding: 3px 12px 3px 12px;
		cursor: pointer;
		margin-top: 2px;
	}
	
	#newsletter input[type=submit]:hover {
		background-color: #bbb;
		border: 2px solid #bbb;
	}
	
	#newsletter-index-form input[type=text],
	#newsletter-index-form input[type=email] {
		padding: 2px;
		border: 2px solid #ebecec;
		background-color: #ebecec;
		font-size: 0.8em;
		outline: none;
		margin-left: 0px;
		margin-right: 8px;
		width: 190px;
	}
	
	#newsletter-index-form input[type=text]:focus,
	#newsletter-index-form input[type=email]:focus {
		border: 2px solid #bbb;
	}
	
	#newsletter-index-form input[type=submit] {
		padding: 2px;
		border: 2px solid #bbb;
		background-color: #bbb;
		color: #fff;
		font-size: 0.7em;
		outline: none;
		margin-left: 0px;
		margin-right: 8px;
		padding: 3px 12px 3px 12px;
		width: auto;
		font-family: 'Montserrat', Helvetica, Arial, sans-serif;
		text-transform: uppercase;
	}
	
	#newsletter-index-form input[type=submit]:hover {
		background-color: #aaa;
		border: 2px solid #aaa;
		cursor: pointer;
	}

/*
#masthead {}

	#masthead h1,
	#masthead h2 {
		text-transform: uppercase;
		margin-top: 0;
	}
	
	#masthead a:hover {
		opacity: 1;
	}
	
	#masthead h1 img {
		max-width: 600px;
	}
*/

/* pano styles */

#masthead-outer {
	position: relative;
}

#header-pano {
	height: 450px;
	min-height: 450px;
	max-height: 450px;
	position: relative;
}

	#cfu-panoviewer,
	canvas.a-canvas {
		width: 100%;
		height: 450px;
		max-height: 450px;
		background-color: #000;
		border: 0;
	}
	
	.a-enter-vr {
		position: absolute !important;
	}

#masthead {
	position: absolute;
	width: 100%;
	height: 237px;
	top: 40px;
	text-align: center;
	pointer-events: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

	#masthead img {
		width: 642px;
		height: 237px;
		margin: auto;
	}

/* styles continued */

#nav {
	padding-top: 2px;
	margin-bottom: 0px;
	-webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.25);
}

	#nav ul,
	#nav ul li {
		list-style-type: none;
		margin: 0;
		padding: 0;
		display: inline;
	}
	
	#nav ul li a {
		text-transform: uppercase;
		text-decoration: none;
		font-family: 'Montserrat', Helvetica, Arial, sans-serif;
		font-size: 1em;
		display: inline-block;
		margin-right: 1em;
		margin-top: 0.2em;
	}
	
	#nav ul li.active a,
	#nav ul li.current a {
		opacity: 0.7;
	}
	
	#nav.section-narrow ul li a {
		margin-top: 8px;
	}
	
	.pinned {
		margin-top: 55px;
	}
	
	.pin-offset {
		display: block;
		width: 100%;
		height: 55px;
	}
	
		.pinned #nav,
		#nav.section-pinned {
			top: 0;
			z-index: 100;
			position: fixed;
			width: 100%;
			margin-top: 0;
			height: 55px;
			overflow: hidden;
			background-color: rgba(50,52,51,0.95);
		}
		
		#nav #feature-nav #logo-small {
			display: block;
		}
		
		#nav #logo-small {
			display: inline;
			float: left;
		}
		
		#nav.nav-homepage #logo-small {
			display: none;
		}
		
		.pinned #nav.nav-homepage #logo-small {
			display: inline;
		}

	#nav-spacer {
		width: 100%;
		height: 5px;
		margin: 0;
		padding: 0;
	}
	
	#nav-buffer {
		width: 100%;
		height: 55px;
		margin: 0;
		padding: 0;
	}

#social-links {}

	#social-links img {
		height: 26px;
		margin-left: 3px;
		margin-top: 1px;
	}
	
	.section-narrow #social-links img {
		margin-top: 8px;
	}

#tagline {
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
	font-size: 1.1em;
	line-height: 1.5em;
}

	#tagline p {
		margin: 0;
	}

#content {
	margin-top: 5px;
}

#contact {}

	#contact form {
		width: 60%;
		margin: auto;
	}

	#contact .e-col-100>p {
		display: none;
	}
	
	#contact .e-col-100>p.center {
		display: block;
	}

	#contact label {
		text-transform: lowercase;
		font-size: 0.9em;
	}
	
	#contact .form-notice {
		text-transform: lowercase;
		font-size: 0.9em;
	}

	#contact input, #contact textarea {
		width: 98%;
		padding: 5px;
		border: 2px solid #fff;
		font-size: 0.8em;
		outline: none;
	}
	
	#contact input:focus, #contact textarea:focus {
		border: 2px solid #aaa;
	}
	
	#contact textarea {
		height: 180px;
	}
	
	#contact input[type=submit] {
		width: auto;
		float: right;
		background-color: #bbb;
		border: 2px solid #bbb;
		color: #fff;
		text-transform: uppercase;
		font-family: 'Montserrat', Helvetica, Arial, sans-serif;
		font-size: 0.6em;
		padding: 7px 12px 7px 12px;
		cursor: pointer;
	}
	
	#contact input[type=submit]:hover {
		background-color: #aaa;
		border: 2px solid #aaa;
	}

.blog-content {
	padding-right: 20px;
}

	.blog-post {
		margin-bottom: 3em;
	}
	
	.blog-post h3:first-child {
		font-size: 1.4em;
	}

	.blog-post .blog-info {
		float: right;
		font-size: 0.8em;
		color: #777;
	}

	.blog-by {
		display: none;
	}
	
	.blog-post img {
		max-width: 100%;
		height: auto !important;
	}
	
	.blog-post figcaption {
		font-size: 0.8em;
		color: #777;
	}
	
	.blog-footer {
		background-color: #f5f5f5;
		padding: 1px 15px 5px 15px;
		text-align: center;
		font-size: 0.9em;
	}
	
	.blog-tags {
		display: none;
		font-size: 0.8em;
	}
	
	.blog-tags a {
		display: inline-block;
		padding-left: 5px;
		text-decoration: none;
	}
	
	.blog-comments {
		max-height: 26px;
		margin-top: 4px;
		padding-top: 4px;
		/*border-top: 1px solid #ccc;*/
	}
	
	#fb-root {
		display: none;
	}

	iframe.twitter-share-button {
		margin-bottom: -6px;
		margin-left: 3px;
	}

.blog-sidebar {}

	.blog-sidebar .item {
		background-color: #ebecec;
		font-size: 0.8em;
	}
	
	.blog-sidebar h4 {
		font-weight: normal;
	}
	
	.blog-sidebar h4 a {
		text-decoration: none;
	}

	.blog-sidebar .item-info {
		border: 0 !important;
		padding-top: 3px;
	}
	
	.blog-sidebar .item-info time {
		font-size: 0.9em;
	}
	
	.blog-sidebar ul {
		list-style-type: none;
		margin-left: 0;
		padding-left: 0;
	}
	
	.blog-sidebar li {
		list-style-type: none;
		margin-left: 0;
		padding-left: 0;
		font-size: 0.8em;
		line-height: 1.4em;
		padding-bottom: 18px;
		margin-bottom: 1em;
		position: relative;
		width: 95%;
	}
	
	.blog-sidebar li a {
		text-decoration: none;
	}
	
	.blog-sidebar li time {
		position: absolute;
		font-size: 0.9em;
		bottom: 0;
		color: #777;
	}

.flipside-screenshot {
	float: right;
	margin-left: 30px;
}

.flipside-content {
	padding-top: 30px;
}

td ul,
td ol {
	margin-left: 0;
	padding-left: 24px;
}

td ul li,
td ol li {
	margin-bottom: 0.8em;
}

#footer {
	font-size: 0.8em;
	padding-bottom: 100px;
}

	#footer a {
		text-decoration: none;
	}

	#footer img {
		height: 21px;
		margin-left: 3px;
		margin-top: 2px;
	}

/* base responsiveness */
@media (max-width: 991px) {
	#content {
		padding-left: 10px;
	}
}

/* tablets */
@media (max-width: 768px) {
	#header-pano,
	#cfu-panoviewer,
	canvas.a-canvas {
		height: 40vh;
		min-height: 40vh;
		max-height: 40vh;
	}

	#masthead {
		margin-top: 0px !important;
		top: 0px;
	}
	
	#masthead img {
		max-height: 30vh;
		width: auto;
		height: auto !important;
	}

	#nav .e-col-75 {
		max-width: 100% !important;
		width: 100% !important;
		font-size: 0.85em;
		padding-right: 0;
	}
	
	.pinned #nav .e-col-75 {
		padding-top: 12px;
	}

	#feature-nav {
		max-width: 100% !important;
		width: 100% !important;
		font-size: 0.95em;
	}
	
	#nav ul li a {
		margin-right: 0.6em;
		margin-top: 0.3em;
	}

	#social-links {
		display: none;
	}
	
	.section-block img {
		max-width: 100%;
		height: auto !important;
	}
	
	#content {
		width: 97% !important;
	}
	
	img {
		max-width: 100% !important;
	}
	
	.section-block>img,
	.section-block>figure>img {
		max-width: 100% !important;
		width: 100%;
		height: auto;
	}
	
	.section-block>figure {
		overflow: visible;
		position: relative;
		max-width: 100% !important;
		height: auto !important;
	}
	
	.section-block>figure>figcaption {
		position: relative;
		display: inline-block;
		bottom: 0px;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		max-width: 90vw;
		padding: 2px;
	}
}

/* mobile */
@media (max-width: 480px) {
	#nav {
		position: relative;
	}
	
	.pinned #nav ul,
	#nav.section-pinned ul {
		display: none;
	}

	#nav ul li a {
		display: block;
	}

	#feature-nav {
		max-width: 55% !important;
		width: 55% !important;
	}

	#feature-nav ul {
		display: block;
		padding-top: 3px;
		clear: both;
	}

	#social-links {
		display: inline-block;
		width: auto;
		position: absolute;
		top: 2px;
		right: 10px;
	}
	
	.section-narrow #social-links {
		right: 10px;
		top: -3px;
	}
	
	.pinned #social-links {
		top: 5px;
	}
	
	#feature-nav ul li a {
		display: block;
	}

	#masthead h1 {
		margin-bottom: 0;
	}

	#masthead h2 {
		font-size: 0.9em;
	}
	
	#content {
		width: 97% !important;
	}
	
	.section-bg {
		min-height: 300px;
	}
	
	th, td {
		display: block;
	}
	
	img {
		max-width: 90vw !important;
	}
	
	.section {
		overflow-x: auto;
		height: auto;
	}
	
	.section-block>figure {
		overflow: visible;
		position: relative;
	}
	
	.section-block>figure>figcaption {
		position: relative;
		display: inline-block;
		bottom: 0px;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		max-width: 90vw;
		padding: 2px;
	}
}

/**
 * Force the canvas to 100vh while in fullscreen aka VR mode.
 * Note: These don't work in all browsers if joined with commas.
 */
canvas.a-canvas:-webkit-full-screen {
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
}

canvas.a-canvas:-moz-full-screen {
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
}

canvas.a-canvas:-ms-fullscreen {
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
}

canvas.a-canvas:fullscreen {
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
}
