/**********************************************
Color Palette Notes
Blues
#e6f0fa - light blue / panels
#cce0f5 - medium-light blue / panel headings
#85bcda - medium blue
#74a4bb - medium-dark blue / gradient top
#4d79ae - link blue / gradient bottom
#314d5b - dark blue

Greys
#eeeeee - light grey
#cccccc - medium-light grey
#827972 - medium-dark grey
#66717a - dark grey-blue

Reds
#ff0000 - bright red
#920f0f - dark red
***********************************************/

/**********************************************
Base Styles - Mobile First
***********************************************/


/* Buttons */
.button-ask-damon {
	background-color: #74a4bd;
	background-image: url('../themes/damonrapozo/assets/images/button-ask-damon.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	display: block;
	overflow: hidden;
	text-indent: -900%;
	margin: 1em auto;
	border-radius: 6px;
	height: 19vw;
}

/* Home Page Layout */
body {
	margin: 0;
	padding: 0 0 100px;
}
.site-header {
	min-height: 95px;
	background-position: right -15px;
	background-size: auto 152px;
}
.branding {
	margin: 0 20px;
	font-size: 13.1vw;
}
.branding .brand-name {
}
.branding .tagline {
	/*font-size: 3.6vw;*/
	/*margin-top: -1.4em;*/
}
.home-featured,
.content-panel,
.button-ask-damon {
	margin: 30px 18px;
}
.home-intro {
	padding: 100px 18px 0;
	background-image: url('../themes/damonrapozo/assets/images/damon-photo-home-sm.jpg');
	background-repeat: no-repeat;
	background-position: right 65px;
	background-size: 40vw auto;
}
.home-intro h2 {
	font-family: 'Lato', sans-serif;
	font-size: 5.17vw;
	max-width: 12em;
	margin: 0 0 .45em;
}
.home-featured {
	border: 2px solid #000;
	border-radius: 8px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+0,cccccc+100 */
	background: #eeeeee; /* Old browsers */
	background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}
.home-featured header {
	padding: 6px 18px 1px;
	margin: 0 0 10px;
	background-image: url('../themes/damonrapozo/assets/images/panel-heading-black.svg');
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 100% 100%;
	color: #fff;
	border-radius: 0 6px 0 0;
}
.home-featured h2 {
	margin: 0;
	font-size: 4.9vw;
	font-weight: 400;
	letter-spacing: -.05em;
	line-height: .8em
}
.home-featured p {
	font-size: 10px;
	font-weight: 400;
	text-transform: uppercase;
	margin: 0 0 2em;
}
.home-featured .callout-button {
	display: block;
	color: #fff;
	text-shadow: 0px 1px 1px #000;
	border-radius: 6px;
	text-align: center;
	padding: 5px;
	margin: 10px 18px;
	font-family: 'Spectral SC', serif;
	font-size: 1.1em;
	font-weight: 600;
	line-height: .9em;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.3);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ff0000+0,920f0f+100 */
	background: #ff0000; /* Old browsers */
	background: -moz-linear-gradient(top, #ff0000 0%, #920f0f 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #ff0000 0%,#920f0f 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #ff0000 0%,#920f0f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#920f0f',GradientType=0 ); /* IE6-9 */
}
.features-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.feature-item {
	display: flex;
	flex-flow: row nowrap;
	position: relative;
	border: 2px solid #000;
	min-height: 180px;
	width: auto;
	margin: 0 18px 20px;
	z-index: 11;
}
.feature-item a {
	display: block;
}
.feature-item figure {
	display: inline-block;
	height: 100%;
	margin: 0;
	overflow: hidden;
	z-index: 11;
}
.feature-item .feature-main-img {
	flex-basis: 100%;
}
.feature-item figure > a {
	line-height: 0em;
	width: 100%;
	height: 100%;
}
.feature-item .feature-extra-img {
	border-left: 2px solid #000;
	display: none;
}
.feature-item img {
	object-fit: cover;
	object-position: center;
	height: 100%;
	width: 100%;
}
.feature-item figcaption {
	font-size: .8em;
	background-color: #000;
	position: absolute;
	bottom: 10px;
	left: 0;
	z-index: 11;
}
.feature-item figcaption a {
	padding: .25em .5em;
	color: #fff;
}
.news-heading,
.resources-heading,
.model-history-heading {
	margin: 2em auto .2em;
	font-size: 1.3em;
	border-bottom: 6px double #ccc;
}

/* Hidden items */
.click-to-call {
	display: none;
}

/**********************************************
Responsive Layout Styles
***********************************************/
/* Mobile-only */
@media screen and (max-width: 600px) {

}

/* Mobile only, landscape orientation */
@media screen and (max-width: 720px) and (orientation: landscape) {
	.site-header {
		background-size: auto 172px;
		background-position: right top;
	}
	.branding {
		margin: 30px 20px 0;
	}
	.branding .brand-name {
		/*font-size: 10.5vw;*/
	}
	.branding .tagline {
		/*margin: -.7em auto 1em;*/
		/*font-size: 2.45vw;*/
	}
	.navigation-main {
		position: absolute;
		top: 0;
		left: 18px;
		right: 18px;
	}
	.navigation-main a {
		display: block;
		font-weight: 700;
		font-size: 11px;
		line-height: .95em;
		text-transform: uppercase;
		text-align: center;
		padding: .5em .25em;
		margin: 0 3px;
		background-color: #e6f0fa;
		border-radius: 0 0 4px 4px;
		color: #314d5b;
		box-sizing: border-box;
	}

	.home-intro {
		padding: 140px 18px 0;
		background-position: right 65px;
		background-size: auto calc( 100% - 70px );
	}
	.home-intro h2 {
		font-size: 3.17vw;
		max-width: 60vw;
	}
	.home-intro p:first-of-type {
		max-width: 65vw;
	}
	.home-intro p {
		max-width: 70vw;
	}

	.nav-home {
		display: none;
	}
	.button-ask-damon {
		height: 11vw;
		width: 50vw;
		margin: 30px auto;
	}
}

/* Tablets */
@media screen and (min-width: 720px) {
	body {
		margin: 0;
		padding: 0;
	}
	.site-header {
		background-size: cover;
		background-position: right top;
		min-height: 260px;
	}
	.branding {
		margin: 40px 30px 0;
	}
	.branding .brand-name {
		/*font-size: 12.5vw;*/
	}
	.branding .tagline {
		/*margin: -.7em auto 1em;*/
		/*font-size: 2.6vw;*/
	}
	.nav-home {
		display: none;
	}
	.home-intro {
		padding: 180px 30px 0;
		background-image: url('../themes/damonrapozo/assets/images/damon-photo-home-lg.jpg');
		background-position: right 105px;
		min-height: calc( 40vw + 110px);
		font-size: 2.4vw;
		flex-basis: 100%;
	}
	.home-intro h2 {
		font-size: 1.14em;
	}
	.home-intro h2,
	.home-intro p {
		max-width: 58vw;
	}
	.click-to-call {
		display: block;
		text-align: center;
		font-weight: 800;
		font-size: 1.4em;
		margin: 1em auto;
		color: #000;
		cursor: default;
		flex-basis: 100%;
	}

	.home-featured {
		border-radius: 0 12px 12px 0;
		margin: 10px 0;
		width: 50%;
		border-width: 2px 2px 2px 0;
		float: left;
		transition: all .4s ease-in-out;
	}
	.home-featured header {
		padding-left: 30px;
	}
	.home-featured h2 {
		font-size: 2.65vw;
	}
	.home-featured .callout-button {
		margin-left: 30px;
	}
	.features-list {
		padding-left: 10px;
	}
	.features-list a {
		color: #fff;
	}
	.button-ask-damon,
	.content-panel {
		width: calc( 50% - 60px );
		margin: 10px 30px;
		float: left;
	}
	.button-ask-damon {
		height: 9vw;
	}
	footer {
		clear: both;
		padding: 30px 0;
	}

}

/* Tablet Landscape and Small Laptop/Desktop */
@media screen and ( min-width: 960px ) {
	.site-header {
		height: 220px;
		min-height: 220px;
	}
	.branding {
		margin: 40px 0 0 calc( 50vw + 30px );
		font-size: 6.5vw;
	}
	.branding .brand-name {
	}
	.branding .tagline {
		/*margin: -.7em 0 1em .2em;*/
		/*font-size: 1.55vw;*/
	}
	.navigation-main {
		left: calc( 50vw + 30px );
		right: 30px;
		top: 0;
	}
	body {
		background-image: url('../themes/damonrapozo/assets/images/damon-photo-home-lg.jpg');
		background-repeat: no-repeat;
		background-size: 23vw auto;
		background-position: right 93px;		
	}
	.home::before {
		content:"";
		display:block;
		margin-top: 110px;
		width:20.5vw;
		height:20.5vw;
		float: right;
	}
	.home-intro,
	.content-panel {
		font-size: .925em;
	}
	.home-intro {
		margin-left: 50vw;
		padding: 150px 0 0 30px;
		float: left;
		width: 27.5vw;
		min-height: initial;
		background-image: none;
	}
	.home-intro h2 {
		font-size: 1.25em;
	}
	.nav-inventory {
		display: none;
	}
	.home-featured {
		position: fixed;
		margin: 0;
		top: 10px;
		left: 0;
		bottom: 10px;
		height: calc(100% - 20px);
		right: 50vw;
		border-radius: 0 12px 12px 0;
		box-shadow: 0px 2px 3px rgba(0,0,0,0.3);
		width: 50%;
		float: none;
		z-index: 900;
	}
	.home-featured header {
		height: 60px;
	}
	.feature-item figcaption {
		font-size: 1.3em;
		font-weight: 600;
	}
	.home-featured .callout-button {
		font-size: 1em;
		height: 30px;
		line-height: 30px;
		letter-spacing: -.03em;
	}
	.features-list {
		height: calc( 100% - 120px );
	}
	.feature-item {
		min-height: initial;
		margin: 0 18px 10px;
		height: calc( 33.33% - 15px );
	}
	.click-to-call,
	.button-ask-damon {
		margin: .7em 30px 0 0;
		flex-basis: initial;
		width: 17vw;
		float: right;
	}
	.click-to-call {
		font-size: 1.1em;
		line-height: 1em;
		padding: 0 1em;
		box-sizing: border-box;
	}
	.button-ask-damon {
		top: 34vw;
		height: 4.2vw;
	}
	.content-panel {
		margin-left: calc( 50vw + 30px );
		width: auto;
	}
	footer {
		clear: both;
		padding: 30px 0;
		margin-left: 50vw;
	}
}

/* Medium Desktop */
@media screen and ( min-width: 1280px ) {
	.home::before {
		margin-top: 120px;
	}	
	body {
		background-position: right 105px;		
	}
	.site-header {
		height: 180px;
		min-height: initial;
	}
	.feature-item .feature-main-img {
		display: inline-block;
		height: 100%;
		flex-basis: 70%;
	}
	.feature-item .feature-extra-img {
		display: inline-block;
		height: 100%;
		flex-basis: 30%;
		z-index: 1;
	}
	.home-intro {
		padding: 170px 0 0 30px;
		font-size: 1.14em;
		margin-bottom: 1em;
	}
	.content-panel {
		font-size: 1em;
		width: calc( 50% - 60px );
	}
	.model-history div {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
	}
	.model-history .overview,
	.model-history .search-form {
		display: inline-block;
		width: 48%;
	}
	.model-history .search-form {
		display: flex;
		flex-flow: row wrap;
		align-self: self-start;
	}
	.model-history .search-form p {
		flex-basis: 100%;
		flex-shrink: 0;
	}


}

@media screen and ( min-width: 1366px ) {
	.home::before {
		margin-top: 130px;
	}	
	body {
		background-position: right 115px;		
	}
	.site-header {
		background-position: right -30px;
	}
	.branding {
		font-size: 5.6vw;
		margin: 30px 0 0 calc( 50vw + 30px );
	}
	.navigation-main a {
		font-size: .70em;
	}
	.home-intro {
		/*padding: 180px 0 0 30px;*/
	}
	.home-intro {
		font-size: 1.24em;
	}
}

@media screen and ( min-width: 1600px ) {
	.site-header {
		height: 265px;
		background-position: right -40px;
	}
	.navigation-main {
		left: 45vw;
		right: 3vw;
	}
	.branding {
		margin: 30px 0 0 45vw;
	}
	.home-intro {
		float: none;
		margin-left: 45vw;
		padding: 12vw 0 0;
		width: 29.5vw;
	}
	.click-to-call {
		float: none;
		margin: 1em 30px 1em 45vw;
		padding: 0;
		display: block;
		width: auto;
		font-size: 1.6em;
	}
	.home-featured {
		width: 40%;
	}	
	.home-featured header {
		padding: 0.6em 3vw 0;
	}
	.home-featured h2 {
		font-size: 24px;
	}
	.home-featured h2, .home-featured p {
		display: inline;
	}
	.home-featured .callout-button {
		margin: 0 3vw 10px;
		font-size: 1.2em;
	}
	.features-list {
		padding: 0 3vw;
	}
	.feature-item {
		margin: 0 auto 25px;
		height: calc( 33.33% - 30px );
	}
	.feature-item figcaption a {
		font-size: 1.2em;
		font-weight: 600;
	}
	.model-history {
		float: left;
		width: 30vw;
		margin: 10px 0 10px 45vw;
	}
	.news {
		float: right;
		width: 21vw;
		margin: 30px 30px 0 0;
	}
	.button-ask-damon {
		width: 21vw;
		height: calc( 21vw * .212);
	}
}

.news-list {
	list-style-type: none;
	margin: 0 !important;
	padding: 0 !important;
}
.news-list .news-item {
	margin: 0 0 1em;
}
.news-list .news-headline {
	margin: 0;
	font-size: 1em;
	font-weight: 600;
	line-height: 1;
}
.news-list .news-dateline {
	font-weight: 400;
}