/*
 Theme Name:   Ellwood Estates
 Theme URI:    https://viacreative.co.uk
 Description:  Ellwood Estates theme
 Author:       VIA Creative
 Author URI:   https://viacreative.co.uk
 Template:     generatepress
 Version:      0.1
 Text Domain:  ellwoodestates_child
*/

// 4 columns for property carousel
.propertyhive ul.properties.propertyhive-shortcode-carousel li { box-sizing:border-box; width:23.5%; margin-left:2%; border-bottom:0; clear:none !important; }
.propertyhive ul.properties.propertyhive-shortcode-carousel li:nth-child(4n+1) { clear:left !important; margin-left:0; }

.propertyhive ul.properties.propertyhive-shortcode-carousel li a {
	color: var(--contrast-3);
	text-decoration: none;
}
.propertyhive ul.properties.propertyhive-shortcode-carousel li a:hover {
	color: var(--contrast);
}
.propertyhive ul.properties.propertyhive-shortcode-carousel li:hover {
	text-decoration: underline;
}
.propertyhive ul.properties.propertyhive-shortcode-carousel li .type-property,
.propertyhive ul.properties.propertyhive-shortcode-carousel li .thumbnail img {
	height: auto !important;
}
.propertyhive ul.properties.propertyhive-shortcode-carousel li .details h3 {
	color: var(--contrast-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.propertyhive ul.properties li {
	padding-top: 0;
}
.propertyhive ul.properties:not(.propertyhive-shortcode-carousel) li {
	border: 1px solid var(--base-2);
	border-top: none;
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 2%;
}
.propertyhive ul.properties:not(.propertyhive-shortcode-carousel) li a {
	color: var(--contrast);
	text-decoration: none;
}
.propertyhive ul.properties:not(.propertyhive-shortcode-carousel) li a:hover {
	color: var(--contrast);
	text-decoration: underline;
}
.propertyhive ul.properties:not(.propertyhive-shortcode-carousel) li .details {
	padding: 1rem;
}
.propertyhive ul.properties:not(.propertyhive-shortcode-carousel) li .details div {
	color: var(--contrast-3);
}
.propertyhive ul.properties:not(.propertyhive-shortcode-carousel) li .details div.price {
	color: var(--contrast);
}