/* Homepage */
[class^="home-"] img {
	max-width: 100%;
	height: auto;
}
.section-header .more-link {
	display: inline-block;
}
.section-header .section-title {
	clear: none;
	display: inline-block;
}
.section-title {
	color: #818F48;
	font-weight: 400;
	margin-top: 0;
}
.section-title a {
	color: #818F48;
	padding-right: 25px;
/*	background: url("images/social-icons.png") no-repeat right -268px;  */
	background: url("images/social-icons-2017.png") no-repeat right -268px;
	text-decoration: none;
}
#home-videos .container {
	padding: 12px 0;
}
.home-cta {
	background-color: #cc0000; 
	color: #fff;
	padding: 5px 8px;
	-webkit-border-radius: 	4px;
	-moz-border-radius: 	4px;
	border-radius: 			4px;
	text-align: center;
	display: block;
	font-size: 14px;
	margin: 3px 0 10px;
}
.home-cta:hover {
	background-color: #818f48;
	color: #fff;
	text-decoration: none;
}
.home-cta:visited {
	color: #fff;
}

.fv-carousel-wrapper {
	max-height: 300px;
	overflow: hidden;
}
.slider-left {
	width: 62%;
	float: left;
}
.slider-right {
	width: 36%;
	float: right;
	color: #4c4d4f;
}
.slider-right h3 {
	font-weight: 400;
	color: #333;
}
.fv-jk-home-carousel {
	list-style: none;	
}
.fv-jk-home-carousel li {
	margin: 0 2% 0 3px;
	padding: 3px 0;
	width: 11.85%;
	float: left;
}
.fv-jk-home-carousel li a {
	display: block;
	background-color: #fff;
	box-shadow: 0 0 2px #ccc;
	padding: 12px;
	border-bottom: 6px solid #f6f5f5;
	font-size: 15px;
	min-height: 130px;
	line-height: 1.325;
}
.fv-jk-home-carousel li a.active {
	border-bottom: 6px solid #818f48;
	box-shadow: 0 0 2px #ccc inset;
}
.fv-jk-home-carousel li a:hover,
.home-single-property a {
	text-decoration: none;
}
.home-video-stripe {
	padding-top: 15px;
}
#home-videos .home-video-stripe .bx-wrapper .bx-viewport {
	width: 87.5% !important;
	margin: 0 auto;
	left: 0;
}
.home-video-stripe .bx-wrapper .bx-controls-direction a {
	background: #808f51 url("images/slider-arrows.png") no-repeat;
	border-radius: 4px;
}
.home-video-stripe .bx-wrapper .bx-controls-direction a.bx-prev {
	background-position: 5px center;
	left: -16px;
}
.home-video-stripe .bx-wrapper .bx-controls-direction a.bx-next {
	background-position: -54px center;
	right: -16px;
}

#home-videos .bx-wrapper .bx-viewport {
    background: transparent;
    border: none;
    box-shadow: none;
    left: -5px;
}

#home-listings ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#home-listings ul li {
	float: left;
	width: 12.5%;
	position: relative;
}
#home-listings h2 {
	font-weight: 400;
	color: #999;
	font-size: 12px;
	text-transform: uppercase;
	margin: 14px 0 6px;
}
.home-single-property {
	padding: 5px;
	font-size: 12px;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
}
.home-single-property a {
	color: #000;
}
.home-single-property .home-prop-thumb {
	position: relative;
}
.home-single-property:hover {
	background: #e3e3e3; /* Old browsers */
	background: -moz-linear-gradient(top,  #e3e3e3 0%, #ffffff 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e3e3), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e3e3e3 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e3e3e3 0%,#ffffff 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e3e3e3 0%,#ffffff 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e3e3e3 0%,#ffffff 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	border-left: 1px solid #f2f2f2;
	border-right: 1px solid #f2f2f2;
}
.home-single-property:hover:before {
	content: "";
    display: block;
    height: 5px;
    margin: 0 5px;
    position: absolute;
    top: 0;
    right: 1px;
    left: 1px;
}
.home-single-property .home-soldoverask {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	display: block;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	padding: 3px 0;
	background-color: rgb(181, 1, 2);
	background-color: rgba(181, 1, 2, 0.7);
	font-size: 11px;
}
.home-single-property.new-prop:before {
	background-color: #818f48;
}
.home-single-property.sold-prop:before {
	background-color: #b50102;
}
.home-single-property p {
	margin-bottom: 12px;
}
.home-single-property p .green {
	text-transform: uppercase;
}
.openhouse-badge {
	text-transform: uppercase;
	color: #999;
}
.openhouse-badge span {
	text-transform: none;
	display: block;
}
.gray-bg {
	background-color: #f7f6f6;
}
.gray-bg:before, 
.gray-bg:after {
	display: block;
	content: "";
	height: 5px;	
}
.gray-bg:before {
	box-shadow: 0 4px 4px -4px #b8b8b8 inset;
}
.gray-bg:after {
	box-shadow: 0 -4px 4px -4px #b8b8b8 inset;
}
.neighbourhoods-list {
	width: 100%;
}
.neighbourhoods-lineup {
	float: left;
	width: 72%;	
}
.neighbourhoods-list div h3 {
	clear: none;
	float: left;
	width: 10%;
	margin: 0;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	line-height: 14px;
	color: #849c24;
}
.neighbourhoods-list ul {
	float: left;
	max-width: 85%;
	margin: 0 0 10px;
	padding: 0;	
	list-style: none;
	font-size: 14px;
}
.neighbourhoods-list ul li {
	border-right: 1px solid #666;
	margin: 0 0 6px 6px;
	padding: 0 6px 0 0;
	float: left;
	line-height: 12px;
	height: 14px;
}
.neighbourhoods-list ul li:last-child {
	border-right: none;
}
.neighbourhoods-list ul a {
	display: block;
	color: #666;
}
.neighbourhoods-list small {
	margin: 8px 10px 0 0;
	display: block;
	font-size: 12px;
}
#home-news .home-single-news,
#home-movies .home-single-news {
	max-width: 20%;
	float: left;
	padding: 0 5px 20px;
	font-size: 14px;
}
#home-news .home-single-news:nth-child(6n+7),
#home-movies .home-single-news:nth-child(6n+7) {
	clear: both
}
.home-single-news h5 {
	margin: 0 0 6px;
	height: 160px;
	overflow: hidden;
}
.home-single-news .post-info {
	font-size: 12px;
	color: #959595;
}
.home-single-news .entry p {
	font-size: 12px;
	margin-bottom: 0;
}
.home-single-news h3 {
	margin: -3px 0 6px;
	font-size: 17px;
}
.home-single-news h3 a {
	color: #333;
}

#recommendation-details table {
	margin: 0;
	border-bottom: none;
}
#recommendation-details table td {
	border-top: none;
}
.entry-content #recommendation-details input[type="text"],
.entry-content #recommendation-details textarea {
	background: none;
	border: 1px solid #ddd;
}

/* UI reset */

.jkt-video .ui-widget-content,
.jkt-video .ui-widget-header {
	border: none;
	background: transparent;
}
.jkt-video .wordpress-post-tabs-skin-default .ui-tabs .ui-tabs-panel {
	padding: 18px 0;
}

/* FV Player Text playlist with video on the right and names on left */
.home .fp-playlist-text-wrapper {
	display: flex;
  flex-direction: row-reverse;
}
.home .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 {
	font-size: 1.1em;
	margin: 0;
	max-width: 100%;
	padding: 2px 0;
  text-align: right !important;
}
.home .fp-playlist-text-wrapper .flowplayer {
	margin: 0;
	border: 1px solid gainsboro;
	width: 75%;
}
.home .fp-playlist-external.fp-playlist-vertical {
	background: transparent;
	height: unset !important;
	width: 100%;	
}
.home .fp-playlist-external-wrap {
	padding-right: 8px;
	position: relative;
}
.home .fp-playlist-external-wrap h3 {
	text-align: right;
	margin-top: 40px;
	margin-bottom: 26px;
}
.home .fp-playlist-external-wrap .button {
	background: #818f48;
	bottom: 0;
	position: absolute;
	right: 8px;
	text-align: right;
	text-transform: none;
}
.home .fp-playlist-external-wrap .button:hover {
	background-color: #717f38;
}
.home .fp-playlist-external-wrap {
	width: 25%;
}

@media (max-width: 989px) {
	.home .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 {
		font-size: 1em;
	}
	.home .fp-playlist-text-wrapper .flowplayer {
		width: 67%;
	}
	.home .fp-playlist-external-wrap {
		width: 33%;	
	}	
}

@media (max-width: 920px) {
	.home .fp-playlist-external-wrap h3 {
		margin-top: 0;
	}
}

@media (max-width: 870px) {
	.home .fp-playlist-external.fp-playlist-vertical.fp-playlist-only-captions a h4 {
		font-size: .9em;
	}

	.home .fp-playlist-external-wrap h3 {
		font-size: 16px;
		margin-bottom: 0;
	}
}