.search-property {
	position: relative;
	/*border: 1px solid #222;*/
	padding-bottom: 10px;
	margin-top:20px;
	background-color: #222;
}


.jp-radio-tabs{
	padding: 0;/*5px 15px 10px 15px;*/
	font-size: 2rem;
	margin-bottom: 10px;
}

.jp-radio-tabs input[type=radio]{
	display: none;
}

.jp-radio-tabs label{
	width:50%;
	display: inline-block;
	padding:10px 15px 15px 15px;
	opacity: 0.7;

}

.jp-radio-tabs input[type=radio]:checked + label{
	opacity: 1;
	background-color: #222;
	color: white;
}


/* property search boxes */
.jp-property-select{
	position: relative;

}

.jp-property-search input[type=checkbox] + label span.jp-square{
	display: none;
}

.jp-property-search input[type=checkbox]:not(old){
	width: 0em;
	margin: 0;
	padding: 0;
	font-size: 0em;
	opacity: 0;
}


.jp-property-search input[type=checkbox]:not(noclass) + label span.jp-square{
	display:block;
	width:2.4em;
	height:2.4em;
	border:2px solid white;
	padding:4px;
	background-color: #222;
	float:left;
	margin-bottom: 10px;
}
.jp-property-search input[type=checkbox]:not(noclass):checked + label span.jp-square span{
	display:block;
	width:100%;
	height:100%;
	background-color: white;
}
.jp-property-checkboxes span.jp-ch-text {
	line-height: 1em;
	font-size: 2rem;
	vertical-align: middle;
	margin-left: 0.7em;
	color: white;
	float:left;
	/*display: block;*/
	width:70%;
	/*min-height: 2.4em;*/
	display: table-cell;
    vertical-align: middle;
}


/* simple grid */
.jp-property-25,
.jp-property-33,
.jp-property-50,
.jp-property-75,
.jp-property-search-element{
	display: inline-block;
}

.jp-property-search-element{
	margin:0;
	margin-top: 10px;
	border-left: 10px solid #222;
    border-right: 10px solid #222;
    margin-bottom: 10px;
}


.jp-property-25,
.jp-property-search-element{
	width:25%;
}
.jp-property-33{
	width:33.33332%;
}
.jp-property-50{
	width:50%;
}
.jp-property-75{
	width:75%;
}


.jp-property-search-element input{
	display: inline-block;
	font-size: 95%;
	line-height:18px;
	margin:0;
	width: 100%;
	padding: 7px;
	height: 40px;
	vertical-align: middle;
}

button.jp-property-reset{
	background-color: #222;
    letter-spacing: 4px;
    border-radius: 0;
    border: none;
    font-size: 2rem;
    height: 40px;
    line-height: 1;
    padding: 0 10px;
    width: 100%;
    -moz-appearance: none;
    cursor: pointer;
    text-align: left;
    vertical-align: middle;
}
button.jp-property-reset img{
	margin-right: 10px;
	float:left;
}


button.jp-property-search-button{
	/*font-size: 2rem;*/
    height: 50px;
    line-height: 50px;
    letter-spacing: 10px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    border: none;
	padding-top: 0;
	padding-bottom: 0;
}

.search-property .jp-property-branding{
	padding:15px 0 0 15px;
}
.search-property .jp-property-branding span {
    color: lightgrey;
    display: inline-block;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    width: auto;
    line-height: 18px;
    margin-right: 5px;
}

.search-property .jp-property-branding img{
	height:18px;
	width: auto;
	vertical-align:middle;
	opacity: 0.7;
}

#private-cars-listing .widget__title {
	display: none;
}
@media (min-width: 1300px) {
	#private-cars-listing .widget {
		-webkit-column-count: 3;
		-webkit-column-gap: 40px;
		-webkit-column-rule: none;

		-moz-column-count: 3;
		-moz-column-gap: 40px;
		-moz-column-rule: none;

		column-count: 3;
		column-gap: 40px;
		column-rule: none;
	}
	#private-cars-listing .widget article {
		-webkit-column-break-inside: avoid; /* Chrome, Safari */
		page-break-inside: avoid;           /* Theoretically FF 20+ */
		break-inside: avoid-column;         /* IE 11, Opera */
		display:table;                      /* Actually FF 20+ */
	}
}

@media (min-width: 960px) and (max-width: 1300px) {
	#private-cars-listing .widget {
		-webkit-column-count: 2;
		-webkit-column-gap: 40px;
		-webkit-column-rule: none;

		-moz-column-count: 2;
		-moz-column-gap: 40px;
		-moz-column-rule: none;

		column-count: 2;
		column-gap: 40px;
		column-rule: none;
	}
	#private-cars-listing .widget article {
		-webkit-column-break-inside: avoid; /* Chrome, Safari */
		page-break-inside: avoid;           /* Theoretically FF 20+ */
		break-inside: avoid-column;         /* IE 11, Opera */
		display:table;                      /* Actually FF 20+ */
	}
}

@media (min-width: 1300px) {
	.main.private-rentals {
		width:64%;
		margin-left: 30px;
	}
}

@media (min-width: 640px) {
	#private-rental-listing article {
		border: 1px solid #999;
		height: 100px;
		width:100%;
		clear:both;
	}
	#private-rental-listing .teaser-lead__text-container, #private-rental-listing .teaser-lead__image-container {
		height: 100%;
		display: block;
		position: static;
	}
	#private-rental-listing .teaser-lead__image-container {
		width:20%;
		float: left;
	}
	#private-rental-listing .teaser-lead__text-container {
		width:80%;
		float: right;
	}
	#private-rental-listing .teaser-lead__image-container span {
		position: static;
		height: 100%;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		display: block;
		font-size: 2.1rem;
		font-weight: 800;
		padding:35px 0;
	}
	#private-rental-listing .teaser-lead__image-container::before {
	    content: "";
	    display: none;
	}
	#private-rental-listing .teaser-lead__heading, #private-rental-listing .teaser-lead__btn {
		display: block;
		margin:0;
		height: 100%;
		max-height: 100% !important;
		overflow: hidden;
		border-left: 1px solid #999;
	}
	#private-rental-listing .teaser-lead__heading {
		width:80%;
		padding:0 10px;
		font-size: 2.1rem;
		font-weight: 400;
		float:left;
		padding:25px 10px;
		line-height: 25px;
		font-family: "open-sans", sans-serif;
	}
	#private-rental-listing .teaser-lead__btn {
		position: static;
		float:right;
		width:20%;
		text-align: center;
		font-size: 2.1rem;
		font-weight: 600;
		padding:35px 0;
		line-height: 25px;
	}
	#private-rental-listing .widget > article:nth-of-type(2n) {
		margin-left:0;
	}
}

@media (max-width: 1300px) {
	#private-rental-listing .teaser-lead__btn, #private-rental-listing .teaser-lead__heading, #private-rental-listing .teaser-lead__image-container span {
		font-size: 1.5rem;
	}
	#private-rental-listing .teaser-lead__heading {
		font-weight:600;
	}
}

@media (max-width: 960px) {

	.jp-property-search-element{
		display: inline-block;
		width:50%;
	}
	.jp-property-50{
		width:50%;
	}
	.jp-property-75{
		width:100%;
	}

}

@media (max-width: 600px) {
	.jp-property-33 {
		display: block;
		width: 100%;
		clear: both;
	}
}

@media (max-width: 400px) {
	.jp-property-25,
	.jp-property-50,
	.jp-property-search-element{
		display: block;
		width:100%;
	}

}

/* sort dropdown */

.jp-property-sort{
	margin-bottom:10px;
}

.jp-property-sort:after, .jp-clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.jp-property-sort .result-number{
	width: 50%;
	display: inline-block;
	font-size: 2rem;
}
.jp-property-sort .sort-option{
	float:right;
	display: inline-block;
	position: relative;

}



form.jp-property-search select,
.jp-property-sort .sort-option select {
    -webkit-appearance: listbox;
    -moz-appearance: none;
    text-indent: 1px;
    width: 100%;
    text-overflow: '';
    padding: 0 30px 0 10px;
    border-radius: 0;
}

/*.jp-property .butn,*/
form.jp-property-search select,
.jp-property-sort .sort-option select {
	background: #636363 none repeat scroll 0 0;
    border: 0 none;
    color: #ffffff;
    font-size: 2rem;
    line-height: 30px;
    height: 40px;
	vertical-align: middle;
}
/*
.jp-property .butn:hover{
	background-color: #333;
	color: #ffffff;
}
*/

body.category-property form.jp-property-search .jp-property-advanced{
	display: none !important;
}

body.category-property form.jp-property-search .jp-property-branding {
	position: absolute;
	bottom: 15px;
	right: 10px;
	text-align: right;
	padding: 0;
	max-width: 50%;
	padding-left: 20px;
}

@media (max-width: 400px) {
	body.category-property form.jp-property-search .jp-property-branding {
		position: relative;
		padding: 10px;
		bottom: auto;
		right: auto;
		max-width: 100%;
	}
}

.jp-property .butn {
	background: none;
	color: #222;
	background-color: inherit;
	text-decoration: underline;
	border: 0 none;
	outline: none;
}

.jp-property .butn:hover {
	text-decoration: none;
}

.jp-property select::-ms-expand,
.jp-property-sort .sort-option select::-ms-expand {
	display: none;
}

.jp-property .select__arrow,
.jp-property-sort .sort-option .select__arrow {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #fff;
    top: 14px;
    content: " ";
    display: block;
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 8px;
    width: 0;
}

/** private rentals **/
.jp-local-advert .article__specifications{
	display: block;
	width: 100%;
}

.jp-local-advert table.jp-privates-spec{
	width:100%;

}
.jp-local-advert table.jp-privates-spec td{
	padding: 10px 20px;
}

.jp-local-advert table.jp-privates-spec tbody tr:nth-child(odd) {
   background-color: #333;
}
.jp-local-advert table.jp-privates-spec .jp-private-value{
	text-align: right;
}
/**
.slab--five-lite .teaser-lead__image-container::before, .slab--fullwidth-leadteaser-quad .teaser-lead__image-container::before, .slab--fullwidth-leadteaser-trio-mpu .teaser-lead__image-container::before, .slab--lifestyle .teaser-lead__image-container::before, .teaser-cars__image-container::before, .teaser-hero__image-container::before, .teaser-lead--blended .teaser-lead__image-container::before, .teaser-lead--lifestyle .teaser-lead__image-container::before, .teaser-lead__image-container::before, .teaser-splash__image-container::before, .teaser-topic-lead__image-container::before,

.teaser-topic__image-container::before, .teaser-vertical-image__image-container::before, .teaser__image-container::before
**/
.widget_api_property_ads .no-image img{
	display:none;
}
.widget_api_property_ads .no-image .teaser-lead__image-container::before{
	padding-top:25px;
}
/*
.widget.widget_pistonheads .teaser-lead .teaser-lead__heading,
.widget.widget_api_cars_ads .teaser-lead .teaser-lead__heading,
.widget_recent_api_entries .teaser-lead .teaser-lead__heading
*/
.widget.widget_api_property_ads .no-image h3.teaser-lead__heading{
	max-height: none !important;
	height: auto;
}

.slab__block .widget_api_cars_ads .teaser-lead.no-image .teaser-lead__text-container{
	height: auto !important;
	padding-bottom: 40px;
}



/** listing **/
.teaser-motors__flag em.price_post{
	font-size: 75%;
	font-weight: normal;
	font-style: normal;
}

.teaser-motors__flag .listing-agent{
	display:block;
	height:1em;
	float:right;
	margin-left:-90%;
}

.teaser-motors__flag .listing-agent img{
	width:auto;
	height:auto;
	max-width: 120px;
	max-height: 1em;

}





/* contact form */
.jp-property-contact-form select{
	color: black;
}

.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}
.jp-motor-detail .jp-slick-thumbnails{
	margin-top: 10px;
}
.jp-motor-detail .jp-slick-thumbnails .jp-motor-gallery__item{
	text-align: center;
	overflow: hidden;
	width: 100px;
	height: 100px;
	margin-right: 10px;
	margin-bottom:6px;
	padding-bottom: 0px;
}
.jp-motor-gallery__item a{
	position: relative;
	display: block;
	width:100%;
	height:100%;
	overflow: hidden;
}


.jp-motor-detail .jp-slick-thumbnails .jp-motor-gallery__item img{
	min-width: 100px !important; /* setup for 2x3 aspects */
	min-height: 100px !important;
	max-width: 150px !important;
	max-height: 150px !important;
	width: auto !important;
	height: auto !important;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.jp-slick .jp-slick-item{
	height: 475px;
	overflow: hidden;
}

.jp-slick .jp-slick-item img{
	height:100%;
	margin: 0 auto;
}



main#main article.article .article__gallery .jp-slick img{
	max-height: 475px;
	height:100%;
	margin: 0 auto;
}

@media (max-width: 600px) {
	.article__gallery .jp-slick img{
		max-height: 300px;
	}

	.jp-slick .jp-slick-item{
		height: 300px;
	}
}


/* map */
#jp-property-map-wrpr{
	display:none;
	width: 100%;
	height:600px;
	border: 1px solid #ccc;
	margin-bottom: 1em;

}


/* prev next*/
.jp-nav-wrpr{
	text-align: right;
}
.jp-property-inner-nav{
	margin-top: 5px;
}

.jp-property a.butn,
.jp-property button.button{
	text-decoration: none;
	color: #FFF;
	background-color: #636363;
}
.jp-property-inner-nav a,
.jp-property button.button{
	display: inline-block;
	padding:5px 10px;
	margin-left: 1em;
}

.jp-property-viewas{
	font-size: 2rem;
	text-align: right;
	margin-top: 5px;
}

body.jp-local-advert .jp-property-detail .jp-motor-banner a{
	font-size: 80%;
}
body.jp-local-advert .jp-property-detail .jp-motor-banner a:hover{
	color:inherit;
}
body.jp-local-advert .jp-motor-contact a{
	color: inherit;
}

/* ======== CARS ======== */
/* .jp-motor-banner .phone-safe, */
.jp-motor-contact .phone-safe{
	float:left;
}
.jp-motor-banner .phone-safe a,
.jp-motor-contact .phone-safe a{
	color: inherit;
	font-size: 75%;
	padding-left: 93px;
	line-height: 28px;
	display: block;
	background: url(//static.pistonheads.com/5149/Assets/img/phonesafe.png) top left no-repeat;
}
.jp-motor-banner .phone-safe a{
	padding-right: 103px;
	padding-left: 0px;
	background-position: top right;
	font-size: 55%;
	text-align: right !important;
}


/* ======== HOT FIXES ======== */
.jp-motors .widget_pistonheads .slab--fullwidth-leadteaser-trio-mpu .slab__block:nth-of-type(n) {
	min-width: 20% !important;
}


h3.is-truncated{
	overflow: hidden;
}

.widget_pistonheads .teaser-lead__text-container{
	max-height: 300px;
}

/* pagination padding for fat fingers*/
@media (max-width: 960px) {
	body.jp-property ul.jp-motor-pagination{
		margin-top: 10px;
		margin-bottom: 10px;
		float:left;
	}
	body.jp-property ul.jp-motor-pagination li{
		padding:0;
	}
	body.jp-property ul.jp-motor-pagination li a,
	body.jp-property ul.jp-motor-pagination li span.no-a-wrap{
		padding:0.75em;
	}

	body.jp-property .search__pagination .prev span,
	body.jp-property .search__pagination .next span	{
		float:none;
	}
	body.jp-property .search__pagination .prev span::before,
	body.jp-property .search__pagination .next span::after{
		display:inline-block;
		float:none;
		text-decoration: none;
	}

}
@media (max-width: 600px) {
	body.jp-property .search__pagination{
		margin-top: 20px;
		margin-bottom: 20px;
	}

	body.jp-property ul.jp-motor-pagination li a,
	body.jp-property ul.jp-motor-pagination li span.no-a-wrap{
		font-size: 1.8rem;
	}


}
@media (max-width: 480px) {
	.jp-property-sort .result-number{
		width:100%;
		display:block;
		margin-bottom: 0.7em;
		font-size: 1em;
	}
	body.jp-property ul.jp-motor-pagination li {
		display:none;
	}

	body.jp-property ul.jp-motor-pagination li.prev,
	body.jp-property ul.jp-motor-pagination li.next,
	body.jp-property ul.jp-motor-pagination li.selected{
		display: block;
		font-size: 2rem;
	}



}



body.jp-property article .article-content blockquote strong{
	border: none !important;
}

.widget_pistonheads h2.slab__title .slab__title-link {
	max-width: calc(100% - 30px);
}

.prop_localLinks  h4 {
	font-size: 2.4rem;
	line-height: 24px;
	line-height: 2.4rem;
	color: #222;
	display: block;
	height: auto;
	margin: 20px 0 10px;
	padding: 0;
}

.prop_localLinks ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.prop_localLinks li a {
	padding: 10px 6px;
	text-decoration: none;
	display: block;
	color: #222;
}

.prop_localLinks li a:hover {
	background-color: #f4f4f4;
}

.prop_localLinks li:before {
	margin: 10px 10px;
	content: ' ';
	float: left;
	border-radius: 6px;
	display: block;
	width: 12px;
	height: 12px;
	position: relative;
	top: 3px;
}

.button__finance-link {
	background-color: #ffde01;
	border-bottom: 2px solid #e6c800;
	padding: 5px 15px 5px 15px;
	position: absolute;
	top: 110px;
	left: 3%;
	z-index: 9999;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.button__finance-link a {
	color: #000000;
	text-decoration: none;
}

@media (min-width: 640px) {
	.button__finance-link {
		top: 70px;
	}
}

.jp-motor-contact__to {
	margin-bottom: 20px;
	font-size: 1.7rem;
}

.jp-motor-contact__to-label {
	color: #999;
}

.seller-info {
	position: relative;
	width: 100%;
}

.seller-info__logo img {
	max-width: 100%;
}

.seller-info__title {
	font-size: 24px;
	font-weight: 600;
	padding-bottom: 5px;
}

.seller-info__location {
	color: #666;
}

.teaser-motors__summary--location {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 10px;
	float: right !important;
}


@media (min-width: 640px) {
	.teaser-motors__summary--location {
		padding-top: 0;
	}
}

.heading-town {
	display: block;
}

.heading-separator {
	display: none;
}

@media (min-width: 640px) {
	.heading-town {
		display: inline;
	}
	.heading-separator {
		display: inline;
	}
}


/* DNA2 Hacks */
h2 {
	margin: 20px 0;
}

.slab__inner .slab__nav {
	padding: 0 1rem;
}
.slab__nav-listitem {
	height: 100%;
	display: block;
	float: left;
	margin: 0;
}

.slab__title {
	margin: 0;
	padding: 0;
}

.slab--title {
    margin-top: 10px;
    margin-bottom: 10px;
}

.slab--hot-topics {
	margin-top: 0px;
}

.hot-topics {
	margin: 0;
}

.widget__title-link {
	font-size: inherit;
}
/*
.article-content ul {
	padding-left: 0;
}
*/
.article-content ul.specifications-list {
	padding-left: 10px;
	margin: 0;
}
.article-content ul.hot-topics__list {
	padding-left: 0;
}

.slab--quad-eq {
	min-height: 0;
}

#affiliates-hot-topics ul.hot-topics__list {
	margin-top: 0;
}

ul.property-details {
	padding-left: 40px;
}

@media (min-width: 960px) {
	.main {
		float: left;
	}
}


.article__specifications-title {
	margin-top: 18px;
}

.main-content a {
	text-decoration: underline;
}

.article-content a {
	text-decoration: none;
	font-size: inherit;
}

.jp-motor-contact h3 {
	margin-top: 18px;
	margin-bottom: 18px;
}

h2 a {
	color: inherit;
	text-decoration: none !important;
}

.hot-topics a,
.teaser-lead a {
	text-decoration: none;
}

.slab__nav-list:after, .slab__nav-list:before {
	content: " ";
	display: table;
}
.slab__nav-list:after {
	clear: both;
}

.article_footer {
	padding: 0 10px;
}

.article #adSlotTopBanner {
	display: none;
}

.slab--2-cols .slab__block .link-tree--list-hub a {
	padding: 5px 10px;
}

.slab--fullwidth-leadteaser-quad-dmpu .slab__block {
	margin-bottom: 20px;
}

@media (min-width: 960px) {
	.slab--fullwidth-leadteaser-quad-dmpu .slab__block {
		margin-bottom: 0;
	}
}

.slab--2-cols .slab__block:nth-of-type(2) {
	text-align: center;
}

.search__pagination li a {
	font-size: 2rem;
}

.container.main-container .article-meta__byline-name {
	text-transform: none;
}

.article-aside hr {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.aside-other p {
	margin: 1em 0;
}

.article-content .wp-caption {
	max-width: 100%;
}

.aside .mini-search .jp-property-search-element{
	display: inline-block;
	width:50%;
}
.aside .mini-search .jp-property-50,
.aside .mini-search div:nth-of-type(3){
	width:100%;
}
.aside .mini-search .jp-property-25{
	display: block;
	width:100%;
}
.aside .mini-search .jp-property-search-element input{
	font-size: 1.2rem;
}
.aside .mini-search .jp-property-advanced,
.aside .mini-search .jp-property-checkboxes{
	display: none !important;
}
.aside .mini-search form.jp-property-search select {
	font-size: 1.3rem;
}
