.cf:before, .cf:after {
	clear:both;
	display:table;
	content:'';
}

.mt-simple-properties {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 15px;
	row-gap: 15px;
	margin:25px 0;
}
.mtsp-property {
    border: 1px solid #e6e6e6;
    padding-bottom: 8px;
	text-align: center;
}

.mtsp-prop-image {
    display: block;
    line-height: 0;
}
.mtsp-prop-image img {
    aspect-ratio: 1 /1;
    object-fit: cover;
    margin-bottom: 0;
}

.mtsp-prop-data {
    padding: 0 8px;
    width: 50%;
    float: left;
    margin: 8px 0;
}
.mtsp-prop-data strong {
    display: block;
    font-size: 0.9em;
    line-height: 1;
}
.mtsp-prop-data.address {
    width: 100%;
}
.mtsp-property-inner .property-info h2 {
    font-size: 1.5em;
    margin: 0;
    padding: 0 8px;
}
.mtsp-property-inner .property-info a {
    text-decoration: none;
    margin: 5px 0;
    display:block;
	color: #005019;
}
.mtsp-property-inner .property-info .address a {
    margin: 10px 0;
}
@media(min-width:481px){
    .mt-simple-properties {
        grid-template-columns: 1fr 1fr;
    }
}
@media(min-width:1030px){
    .mt-simple-properties {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
/* Archive List Layout */
.mt-simple-properties.layout-list {
    grid-template-columns: 1fr;
}

.layout-list .mtsp-property-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 15px;
    row-gap: 15px;
}

.layout-list .mtsp-prop-image img {
    aspect-ratio: 3 / 2;
}

.layout-list .mtsp-property {
    text-align: left;
    border-left: none;
    border-right: none;
    border-top: none;
}

.layout-list .mtsp-prop-data {
    width: 100%;
}
.layout-list .mtsp-property:last-child {
    border-bottom: none;
}
.layout-list .mtsp-property-inner .property-info .address a {
    margin: 0;
}
.layout-list .mtsp-prop-data {
    width: 100%;
    margin: 0;
}
.layout-list .mtsp-prop-data strong {
    display: inline-block;
}

/*Properties Slider*/

.mt-simple-properties.layout-slider {
    display: block;
}

.layout-slider .mtsp-prop-image img {
    aspect-ratio: 3/2;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.layout-slider .mtsp-property-inner {
    position: relative;
}
.layout-slider .mtsp-property-inner .property-info a {
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
}
.layout-slider .property-info {
    position: absolute;
    z-index: 100;
    bottom: 0;
    right: 0;
    background: rgb(255 255 255 / 70%);
    color: #000;
    text-align: left;
    width: 90%;
    border-left: 5px solid #51a700;
}

.layout-slider .mtsp-prop-data {
    width: auto;
	display:none;
}
.layout-slider .mtsp-prop-data.address {
	display:none;
}
@media(min-width:481px){
	.layout-slider .mtsp-prop-data {
		display:block;
	}
	.layout-slider .property-info {
		width: auto;
		min-width: 200px;
	}
}
/*Map*/

.mt-simple-properties.mtsp-map {
    grid-template-columns: 1fr;
}

.location-data {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 15px;
}

.data-col button {
    background: none;
    border: none;
    display: block;
    padding: 0;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: underline;
}

.data-col a {
    display: block;
}

div#property_map,
div.property_map {
    height: 100%;
	min-height:450px;
}

.data-side {
    overflow-y: auto;
    height: 100%;
}


.map-col {
    width: 50%;
    float: left;
}

.map-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.map-col span {
    width: 50%;
    float: left;
    display: block;
}
.map-col span:first-child {
	font-weight:bold;
}
.map-col > div {
    margin-bottom: 5px;
}
.map-col > div:before,
.map-col > div:after {
    clear:both;
    content:'';
    display:table;
}

.map-links {
    width: 100%;
    float: left;
}

.map-links a {
    display: block;
    text-align: center;
    margin: 8px 0;
}

.map-col img {
    margin-bottom: 0;
}
@media(min-width:481px){
	.mt-simple-properties.mtsp-map {
		grid-template-columns: 300px 1fr;
	}
	.mt-simple-properties.mtsp-map {
		height: 450px;
		overflow: hidden;
	}
}
/*Map - Bottom Layout*/
.mt-simple-properties.mtsp-map.layout-bottom {
    height: auto;
    grid-template-columns: 1fr;
}
/*Map - Top Layout*/
.mt-simple-properties.mtsp-map.layout-top {
    height: auto;
    grid-template-columns: 1fr;
}
.layout-top .data-side {
    order: 2;
}
.layout-top .map-side {
    order: 1;
}

/*Single Property*/
.single-property-inner {
    margin: 0 auto;
    max-width: 1400px;
    width: 95%;
}




/*Single Property - Default Template*/

.mtsp-theme-default .property-images {
	text-align:center;
}
.mtsp-theme-default .property-images img {
    max-width: 100%;
	height:auto;
}
.mtsp-theme-default .property-data,
.mtsp-theme-default .property-images,
.mtsp-theme-default .property-content,
.mtsp-theme-default .property-map-agent {
    width: 100%;
    float: left;
}

.mtsp-theme-default .property-content,
.mtsp-theme-default .property-agent {
    border: 1px solid #e6e6e6;
    padding: 15px;
    border-radius: 5px;
    margin: 40px 0;
}
.mtsp-theme-default .property-content h2,
.mtsp-theme-default .property-agent h2 {
    margin-top: 0;
    text-align: center;
}

.mtsp-theme-default .price {
    width: 100%;
    float: left;
    font-size: 1.25em;
    margin-bottom: 1em;
}

.mtsp-theme-default span.data-label {
    display: block;
    padding: 5px 8px;
    background: #005019;
    color: #fff;
	width:100%;
}
.mtsp-theme-default span.data-value {
	display:block;
    padding: 5px 8px;
	width:100%;
}
.mtsp-theme-default .data {
    background: #eee;
    margin-bottom: 5px;
	display: flex;
    flex-wrap: wrap;
}

.mtsp-theme-default .single-property h1 {
    margin-bottom: 0px;
}

.mtsp-theme-default .agent-image {
    float: left;
    margin-right: 25px;
}

.mtsp-theme-default .agent-data {
    float: left;
}


.mtsp-theme-default .agent-name {
    font-size: 1.1em;
    font-weight: bold;
}
.mtsp-theme-default .property-links-container {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

ul.property-gallery .slick-prev,
ul.property-gallery .slick-next {
	height:50px;
}
ul.property-gallery .slick-prev:before {
    color: #000;
	content: '\276C';
    font-size: 50px;
	font-family: inherit;
}

ul.property-gallery .slick-next:before {
    color: #000;
	content: '\276D';
    font-size: 50px;
	font-family: inherit;
}

.property-images .additional-images {
    padding: 0px 30px;
}
ul.property-gallery {
    padding: 0 5px;
}
li.property-gallery-image a {
    display: inline-block;
}
li.property-gallery-image img {
    padding: 5px;
}
@media(min-width:481px) {
	.mtsp-theme-default .property-data {
		width: 42%;
		margin-right: 3%;
		float: left;
	}

	.mtsp-theme-default .property-images {
		width: 55%;
		float: right;
	}
	.mtsp-theme-default span.data-label {
		    width: 50%;
		max-width: 200px;
		text-align: right;
		
	}
	.mtsp-theme-default span.data-value {
		width: 50%;
		
	}
}

/*Single Property - Alternate Template*/

.mtsp-alternate-theme h1 {
    margin: 0;
	width:100%;
}

.mtsp-alternate-theme .price {
	width:100%;
	font-size:28px;
}
.mtsp-alternate-theme .address {
	font-size:18px;
}
.mtsp-alternate-theme .property-price-address  {
	width:100%;
	margin-bottom:1.25em;
}

.mtsp-alternate-theme .property-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
.mtsp-alternate-theme .property-images {
	text-align:center;
}
.mtsp-alternate-theme .property-images img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.mtsp-alternate-theme .property-data {
    display: flex;
    flex-wrap: wrap;
	align-items: center;
}


.mtsp-alternate-theme .data {
    width: 100%;
    border-bottom: 1px dotted #ccc;
    padding: 5px 0;
}

.mtsp-alternate-theme span.data-label {
    font-weight: bold;
}
.property-data-agent {
    display: flex;
    flex-wrap: wrap;
    margin: 2em 0;
}

.mtsp-alternate-theme .property-agent {
    padding: 15px;
	border-radius: 8px;
    background: #ffffff;
    box-shadow: 13px 13px 27px #cccccc, -13px -13px 27px #ffffff;
    width: 100%;
}

.mtsp-alternate-theme .property-agent h2 {
    margin-top: 0;
    text-align: center;
}
.mtsp-alternate-theme .agent-image {
    width: 30%;
    float: left;
    margin-right: 5%;
}

.mtsp-alternate-theme .agent-image img {
    max-width: 100%;
    height: auto;
}

.mtsp-alternate-theme .agent-data {
    width: 65%;
    float: left;
}
.property-links-container {
    display:flex;
    flex-wrap:wrap;
    justify-content: center;
}

.property-links-container a {
    display: inline-block;
    text-decoration: none;
    padding: 8px 25px;
    background: #005019;
    color: #fff;
    margin: 5px 15px;
	text-align:center;
}
.property-links-container a:hover,
.property-links-container a:active,
.property-links-container a:focus {
    background:#000;
	color:#fff;
}
@media(min-width:481px){
	.mtsp-alternate-theme .data {
		width: 33%;
	}
	
}
@media(min-width:768px){
	.mtsp-alternate-theme h1 {
		width: 50%;
	}
	.mtsp-alternate-theme .property-price-address {
		width: 50%;
		text-align: right;
	}
	.mtsp-alternate-theme .property-data {
		width: 67%;
		float: left;
		margin-right: 3%;
	}
	.mtsp-alternate-theme .property-agent {
		width: 30%;
		float: left;
	}
}
