/* @override 
	http://dev.dyadcom.com/asa/trunk/css/main.css
*/

@import url("//hello.myfonts.net/count/2a981f");

@font-face {
	font-family: "Berling-Reg";
	src: url("webfonts/2A981F_0_0.eot");
	src: url("webfonts/2A981F_0_0.eot?#iefix") format("embedded-opentype"),
		url("webfonts/2A981F_0_0.woff") format("woff"),
		url("webfonts/2A981F_0_0.ttf") format("truetype");
}

@font-face {
	font-family: "Berling-RegIta";
	src: url("webfonts/2A981F_1_0.eot");
	src: url("webfonts/2A981F_1_0.eot?#iefix") format("embedded-opentype"),
		url("webfonts/2A981F_1_0.woff") format("woff"),
		url("webfonts/2A981F_1_0.ttf") format("truetype");
}

/*
	
 ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */
.flipped .front {
	z-index: 50;
}
.unflipped .front {
	z-index: 1000;
}
.flipped .back {
	z-index: 100;
}
.unflipped .back {
	z-index: 50;
}
a {
	outline: none !important;
}
a:active {
	color: black;
}
html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

body.ipad-height-fix {
	position: fixed;
	bottom: 0 !important;
	width: 100%;
	height: 672px !important;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}
/* amh */
#images .img-holder img {
	opacity: 0;
	float: left;
	position: relative;
	-webkit-transition: opacity 500ms;
	-moz-transition: opacity 500ms;
	transition: opacity 500ms;
	/*outline:10px solid #A6A8A1;*/
	/* outline:20px solid #A6A8A1; */
	/* outline:20px solid #000; */
	/* border: 10px solid #000; */
	/* border-right: 0; */
	outline: 10px solid #000;
	padding: 10px 0;
}
/* #images .img-holder img:not(:last-child) {
	margin-right: 10px;
} */
#images .img-holder img.isLoaded {
	opacity: 1;
}
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

img {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* amh */
body {
	/* background-color: #b5b6b1; */
	background-color: #000;
	font-family: "freight-sans-pro", "Whitney", Arial, sans-serif;
}

#main-area {
	display: none;
	top: 0;
	right: 0;
	left: 0;
	height: 100%;
	overflow-x: hidden;
}
/* amh */
#main-area {
	position: relative;
	bottom: 0;
	top: 65px;
	height: calc(100vh - 65px);
}

#bg,
#page-bgs {
	position: fixed;
}

#bg,
.home-bg,
#page-bgs,
.page-bg {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1 !important;
}
#page-bgs,
.page-bg {
	display: none;
	z-index: 100 !important;
	background-color: white;
}
.home-bg,
.page-bg {
	position: absolute;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center, center;
}

#card-holder {
	position: fixed;
	top: 0px;
	/*height: 300px;*/
	width: 100%;
	z-index: 100000 !important;
}
.card {
	width: 294px;
	height: 65px;
	position: absolute;
	margin: 0px 0;
	z-index: 100000 !important;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow: visible;
}

#logo-card {
	left: 0px;
	height: 65px;
}

#nav-card {
	left: 295px;
}

.portrait #reorient {
	display: block;
}
#reorient {
	display: none;
	left: 295px;
	right: 0;
	width: auto;
	z-index: 100000;
}
#reorient p {
	margin-left: 30px;
	margin-top: 18px;
}

.portrait #nav-card,
.portrait #desc-card,
.portrait #controls-card {
	display: none;
}

#desc-card {
	left: 590px;
}
body#home #desc-card,
body#project #desc-card {
	height: 65px;
	overflow: hidden;
}
body#project #desc-card .controls {
	display: none;
}

#desc-card.empty .controls {
	display: none !important;
}

#controls-card,
#filler-card {
	left: 885px;
	width: auto;
	min-width: 100px;
	right: 0px;
	height: 65px;
}
#filler-card {
	left: 590px;
}

#logo-card #logo h1 {
	background-image: url(../img/logo.svg);
	background-repeat: no-repeat;
	background-size: 170px 39px;
	background-position: center center;
	text-indent: 100%;
	position: absolute;
	bottom: 0;
	width: 290px;
	white-space: nowrap;
	height: 65px;
	overflow: hidden;
	margin: 8px auto 0;
	padding-bottom: 1px;
}

#logo-card #logo a:hover h1 {
	background-image: url(../img/logo-hover.svg);
}
#home #logo-card #logo a:hover h1 {
	background-image: url(../img/logo.svg);
	cursor: default;
}

html.no-svg #logo-card #logo h1 {
	background-image: url(../img/logo.png);
}
html.no-svg #logo-card #logo a:hover h1 {
	background-image: url(../img/logo-hover.png);
}
html.no-svg #home #logo-card #logo a:hover h1 {
	background-image: url(../img/logo.png);
	cursor: default;
}

.card > div {
	width: 100%;
	height: 100%;
	top: 0;
	position: absolute;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	/* background-color: rgba(255,255,255,.9); */
	background-color: rgba(255, 255, 255, 1);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#e6ffffff', endColorstr='#e6ffffff');
}

.front,
.back {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow: hidden;
}
.card div.card-slider {
	position: absolute;
	width: 100%;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	background-color: transparent !important;
	height: 10px;
	z-index: 10;
}

.controls {
	position: static;
	top: 0;
	left: 0;
}
.controls a {
	position: absolute;
	bottom: 8px;
	left: 25px;
	border-right: 0px solid #ccc;
	width: 13px;
	height: 16px;
	z-index: 999;
	padding-left: 3px;
	padding-right: 6px;
	text-decoration: none;
	color: #666;
}
.controls a:hover {
	color: black;
}
.controls a:last-child,
.controls a#pause-button,
.controls a#play-button {
	border-right: 0px solid #ccc;
}
a.flip-card {
	font-size: 0.75em;
	left: 26px;
	display: block;
	-webkit-transition: -webkit-transform 200ms;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	padding-left: 0;
}
a.flip-card i {
	display: block;
	margin-left: 4px;
	margin-top: 2px;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

a.flip-card:hover {
	transform: rotate(-90deg);
	-ms-transform: rotate(-90deg); /* IE 9 */
	-webkit-transform: rotate(-90deg); /* Safari and Chrome */
	/*left:28px;*/
	/*bottom: 7px;*/
}
a.flip-card.no-spin:hover {
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}
a.flip-card span {
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
a.close-card {
	font-size: 0.75em;
	width: 20px;
	left: 48px;
	background-position: center center;
}
#nav-card .front a.close-card {
	left: 22px;
}

#desc-card.onstage a.close-card,
#controls-card.onstage a.close-card {
}

#controls-card .controls {
	margin-top: 30px;
}
.touch #controls-card .controls {
	display: none;
}
#controls-card .instruct {
	display: none;
}

#controls-card .instruct p {
	margin-left: 15px;
	margin-top: 18px;
}
.touch #controls-card .instruct {
	display: block;
}
#controls-card .controls a {
	position: relative;
}
a#pause-button {
	/*height: 15px;*/
	display: inline-block;
	overflow: hidden;
	font-size: 0.7em;
	font-weight: bold;
	height: 20px;
	vertical-align: middle;
}

/*#home a.close-card{
	top: 15px;
}*/
.card ul {
	list-style-type: none;
	padding: 10px 15px 0 30px;
}

.card.onstage {
	overflow: visible;
	height: 292px;
}
#sub-nav ul {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	margin-top: 14px;
}
/*#nav ul{
	padding-top: 20px;
}*/
ul#people {
	display: none;
}
/*ul#contact{
	padding: 50px 15px 0 30px;
}*/
body#people ul#people,
body#project ul#townhouses {
	display: block;
}

.card ul li {
	font-family: "ff-scala-sans-web", "Scalasans-Regular", Verdana, sans-serif;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 1.05em;
	margin-bottom: 8px;
}
.card ul li a {
	text-decoration: none;
	color: #989b8d;
}
.card ul li#blank {
	margin-bottom: 0px;
}

.card ul li a:hover {
	color: #000;
}
.card ul li.cur a {
	color: #58636e;
	cursor: default;
}

#desc-card div#desc {
	padding: 14px 25px 0 28px;
	width: 237px;
	height: 230px;
}

.card p.subtitle {
	text-transform: uppercase;
	font-size: 0.8em;
	line-height: 1.3em;
	margin-bottom: 0.7em;
}

.card #desc p {
	margin-top: 0px;
}
.card h2,
.card h3,
.card p {
	font-family: "freight-sans-pro", "Whitney", Arial, sans-serif;
	font-weight: normal;
}
.card h2 {
	font-size: 19px;
	margin: 0;
}
.card h3 {
	font-size: 12px;
	margin: 0;
	text-transform: uppercase;
	color: #666;
}
.card p {
	font-size: 14px;
	line-height: 20px;
	margin-top: 15px;
	color: #666;
}

#supp {
	background-color: #c5bdac;
	padding-top: 10px;
}
#supp img {
	width: auto;
	margin-left: 10px;
	margin-bottom: 10px;
}
#supp .title {
	font-size: 13px;
	margin-left: 40px;
	margin-bottom: 5px;
	color: #666;
}
#text {
	position: absolute;
	margin: 292px 0 0 300px;
}

body#contact #text {
	margin: 262px 0 0 300px;
}
body#people #text {
	margin: 232px 0 0 300px;
}
body#people #text img#portrait {
	display: block;
	margin-bottom: 20px;
	margin-left: -5px;
}

#bodytext {
	-webkit-font-smoothing: antialiased;
	margin-left: 300px;
	margin-top: 300px;
	width: 580px;
	color: white;
	font-size: 0.96em;
	line-height: 1.5em;
	margin-bottom: 2em;
}

#bodytext h3 {
	margin-bottom: 0;
	font-weight: normal;
	font-size: 1.3em;
}
#bodytext h4 {
	margin-top: 0;
	margin-bottom: 0;
	font-weight: normal;
	font-size: 1em;
}
#bodytext p {
	margin-top: 1em;
	margin-bottom: 0;
}
#bodytext p a {
	color: #ccc;
	text-decoration: none;
}
#bodytext p a:hover {
	color: white;
}
#images.fullscreen {
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: 0;
	padding-left: 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -2;
}
#images.fullscreen img {
	min-height: 100%;
	min-width: 100%;
}
#images .img-holder {
	overflow: hidden;
	/* amh */
	padding: 0 10px;
}
.office #images.fullscreen .img-holder {
	/* amh 03-2020 */
	padding: 0;
}
.office #images.fullscreen img {
	/* amh 03-2020 */
	height: 100vh !important;
	width: 100% !important;
	object-fit: cover;
	float: none;
	margin: 0 !important;
}
#screen {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	opacity: 0.9;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
}
.people #desc-card #imgs-holder {
	height: 292px !important;
}
.people #bodytext {
	position: relative;
}
.people #bodytext > div {
	position: absolute;
}
body#about #bodytext .cycle-slide.cycle-sentinel {
	min-height: 450px;
	min-height: calc(100vh - 335px);
}
#desc-card img {
	width: 100%;
	height: 300px;
}
.office #images,
#portfolio #images {
	cursor: pointer;
}
/*#images{
	width: 100%;
	height:  100%;
	overflow: hidden;
	margin: 0;
	padding-left: 0;
}
#images li{
	display: block;
	margin-left: 0;
}*/

@media only screen and (min-width: 35em) {
}

@media print,
	(-o-min-device-pixel-ratio: 5/4),
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
     * Don't show links for images, or javascript/internal links
     */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

.rs-wrap:after,
.rs-slider:after,
.rs-thumb-wrap:after,
.rs-arrows:after,
.rs-caption:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	line-height: 0;
	visibility: hidden;
}

/* ===[ Slider ]=== */

.rs-wrap {
	position: relative;
	max-width: 100%;
}

.rs-slide-bg {
	*zoom: 1;
}

.rs-slider > li > a {
	display: block;
}

.rs-slider > li {
	list-style: none;
	filter: alpha(opacity=0);
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0 -100% 0 0;
	padding: 0;
	float: left;
	position: relative;
}

.rs-slider > li > a {
	padding: 0;
	background: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.rs-slider > li img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	-ms-interpolation-mode: bicubic;
}

/* ===[ Thumbnails ]=== */

.rs-thumb-wrap {
	*zoom: 1;
}

.rs-thumb-wrap > a {
	display: block;
	float: left;
	position: relative;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-backface-visibility: hidden; /* Hardware accelerate to prevent jumps on transition */
}

.rs-thumb-wrap > a > img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	-ms-interpolation-mode: bicubic;
}

.rs-thumb-wrap > a:first-child {
	margin-left: 0 !important;
}

/* ===[ Arrows ]=== */

.rs-arrows .rs-next,
.rs-arrows .rs-prev {
	z-index: 1;
}

.rs-arrows:hover .rs-next,
.rs-arrows:hover .rs-prev {
	z-index: 2;
}

/* ===[ Captions ]=== */

.rs-caption {
	position: absolute;
	max-height: 100%;
	overflow: auto;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	bottom: 0;
	left: 0;
}

.rs-caption.rs-top-left {
	top: 0;
	bottom: auto;
}

.rs-caption.rs-top-right {
	top: 0;
	right: 0;
	left: auto;
	bottom: auto;
}

.rs-caption.rs-bottom-left {
	bottom: 0;
	left: 0;
}

.rs-caption.rs-bottom-right {
	right: 0;
	left: auto;
	border-bottom: none;
	border-right: none;
}

.rs-caption.rs-top {
	top: 0;
	bottom: auto;
	width: 100% !important;
}

.rs-caption.rs-bottom {
	width: 100% !important;
}

.rs-caption.rs-left {
	top: 0;
	height: 100%;
}

.rs-caption.rs-right {
	top: 0;
	left: auto;
	right: 0;
	height: 100%;
}

/* ===[ Grid ]=== */

.rs-grid {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
	display: none;
}

.rs-gridlet {
	position: absolute;
	opacity: 1;
}

/* Optional - remove captions at smaller screen widths
@media screen and (max-width: 480px) {
	.rs-caption { opacity: 0!important; }
}
*/
