.realtors .item {
	display:inline-block;
	vertical-align:top;
	width:30%;
	margin-right:4%;
	margin-bottom:15px;
}
.realtors .item:nth-child(3n) {
	margin-right:0;
}
.realtors .buttonContainer {
	position:absolute;
	z-index:2;
	top:0;
}
.realtors .hiddensort {
	display:none;
}
.realtors .buttonContainer .button {
	font-size:11px;
	line-height:1.3;
	margin-right:10px;
}
.realtors .buttonContainer .button a {
	color:#fff;
	text-decoration:none;
}
.realtors .photo {
	position:relative;
	text-align:center;
	margin:0px auto;
}
.realtors .photo.included:before {
	content:"";
	display:block;
	position:absolute;
	bottom:-20px;
	right:5px;
	background-image:url('/apps/realtors/included.png');
	width:40px;
	height:43px;
	background-repeat:no-repeat;
	background-size:cover;
	z-index:2;
}
.realtors .sort {
	margin-bottom:25px;
	text-transform:uppercase;
}
.realtors .sort a {
	display:inline-block;
	font-weight:600;
	-webkit-font-smoothing:antialiased;
	padding:0px 5px;
}

.realtors-sort {
	text-align:center;
}
.realtors-sort .header .button {
	padding:5px 20px;
	display:inline-block;
}
.realtors-sort .header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: inline-flex;
    justify-content: space-around;
    font-size: 20px;
    line-height: 30px;
	margin:0px auto;
}

.realtors-sort .header p {
    cursor: pointer;
	padding:0 10px;
	font-family: 'museo-slab', sans-serif;
	font-size: 18px;
	font-weight: 300;
	color: #000000;
	text-transform: uppercase;

}
.realtors-sort .header p a {
	text-decoration:none;
	color:inherit;
	font-weight:normal;
}
.realtors-sort .header .sort-by {
    text-transform: uppercase
}

.realtors-sort .header .active {
    text-decoration: underline;
}

.realtors-sort .realtors-sort-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.realtors-sort .realtors-sort-container .realtor-box {
    width: 31%;
    text-align: center;
    margin-bottom: 35px;
	position:relative;
}

.realtors-sort .realtors-sort-container .realtor-box .event-image {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
    margin-bottom: 10px
}

.realtors-sort .realtors-sort-container .realtor-box a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
	cursor:pointer;
}

.realtors-sort .realtors-sort-container .realtor-box a img {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.realtors-sort .realtors-sort-container .realtor-box .event-category {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0
}

.realtors-sort .realtors-sort-container .realtor-box .event-title {
    text-decoration: none;
    font-size: 20px
}
.section-thumbnails {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	justify-content:flex-start;
}
.section-thumbnails > h3 {
	display: block;
    width: 100%;
    margin-top: 40px;
}
.section-thumbnails .realtor-item {
    width: 23%;
	margin-left:1%;
	margin-right:1%;
	margin-bottom:30px;
    position: relative;
	cursor:pointer;
	display:flex;
	flex-direction:column;
	overflow:hidden;
}
.section-thumbnails .realtor-thumbnail {
    background-position: 50% 41%;
    background-repeat: no-repeat;
    background-size: cover;
	width:100%;
	position:relative;
	border-top-right-radius:50%;
	border-top-left-radius:50%;
	overflow:hidden;
}
.section-thumbnails .realtor-thumbnail::before {
	content:"";
	display:block;
	width:100%;
    padding-top: 99%;
    margin: 0
}
.section-thumbnails .overlay {
	position:absolute;
	bottom:0;
	width:100%;
	left:0;
	right:0;
	display:flex;
	flex-direction:column;
	justify-content:center;
	color:#631C24;
	background-color:#F5EAC1;
	transition:transform .5s linear;
	transform: translateY(100%);
	font-size:1vw;
	min-height:100%;
}
.section-thumbnails .overlay .email,
.section-thumbnails .overlay .socialmedia_handle {
	white-space:nowrap;
	text-overflow:ellipsis;
	overflow:hidden;
}
.section-thumbnails .realtor-item.active .overlay,
.section-thumbnails .realtor-item.hover .overlay {
	visibility:visible;
	transform: translateY(0);
}
.section-thumbnails .overlay > div {
	margin-top:10px;
	margin-bottom:10px;
}
.section-thumbnails .overlay > div.phone {
	margin-bottom:20px;
	font-size: 20px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.5px;	
	text-align: center;
}
.section-thumbnails .overlay a {
	text-decoration: none;
	color:inherit;
}
.section-thumbnails .overlay a:hover {
	text-decoration:underline;
}
.section-thumbnails .realtor-thumbnail.hover .overlay {
	visibility:visible;
}
.section-thumbnails .realtor-item .bottom {
	color:#fff;
	flex-grow:1;
	position:relative;
    display: flex;
    flex-direction: column;
}
.section-thumbnails .realtor-item .bottom > .wrapper {
	padding:15px 20px;
	border:5px solid #FDF9E7;
	margin:0px 10px 10px 10px;
	border-top:0;
	flex-grow:1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.section-thumbnails .realtor-item .name {
	font-family: 'Sunborn-SansOne';
	font-size: 20px;
	font-size:1.67vw;
	font-weight: 500;
	color: #F5EAC1;	
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.2;
    margin-bottom: 5px;
}
.section-thumbnails .realtor-item .bottom {
	background-color: #C78A42;
}
.post.innerContent {
	width:100%;
	max-width:100%;
}
@media (max-width : 1023px) {
	.section-thumbnails .realtor-item {
        width: 31%;
    }
}
@media (max-width : 767px) {
	.section-thumbnails {
		flex-wrap:wrap;
	}
	.section-thumbnails .realtor-item {
        width: 48%
    }
    .section-thumbnails .realtor-thumbnail a {
        font-size: 15px;
        line-height: 18px
    }
    .realtors-sort .realtors-sort-container .realtor-box {
        width: 100%
    }
	.section-thumbnails .realtor-item .name {
		font-size:3vw;
	}
	.section-thumbnails .overlay {
		font-size:2vw;
	}
}
@media (max-width : 500px) {
	.section-thumbnails .realtor-item {
        width: 100%
    }
	.section-thumbnails .realtor-item .name {
		font-size:5vw;
	}
	.section-thumbnails .overlay {
		font-size:3vw;
	}
}