/*
Theme Name: Capital Realty Group - Redesign - Keystone Child
Template: keystone-parent
Version: 1.0.0
*/
:root {
	--heading-font: 'Libre Bodoni', serif;
	--body-font: 'Lato', sans-serif;
}
.photo-feature-1-right {
	display: flex;
	flex-direction: column;
}
.photo-feature-1-right>.flex-col {
	flex: 1 1 auto;
}
.photo-feature-1-right>.flex-col img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.feature-section {
	padding: 20px 0;
	background-color: #fff;
}
.feature-section .features {
	display: flex;
	flex-wrap: wrap;
	column-gap: 10px;
	row-gap: 10px;
}
.feature-section .features .item {
	flex: 1 1 calc(33.33% - 6.66px);
	min-width: min(100%, 300px);
	background-color: #eee;
}
.feature-section .features .item .content {
	padding: 15px;
	text-align: center;
}
.property-section {
	background-color: #fff;
}
.property-section .item {
	position: relative;
	z-index: 1;
	color: #fff;
	padding: 50px 0;
	background-size: cover;
	background-position: 50%;
}
.property-section .item:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, .8), rgba(0, 0, 0, .8), rgba(0, 0, 0, .7), rgba(0, 0, 0, .6), rgba(0, 0, 0, .3), transparent);
	z-index: -1;
}
.property-section .item ul {
	margin-top: 20px;
}
.property-section .item:nth-child(even) {
	color: #000;
}
.property-section .item:nth-child(even):after {
	background-image: linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, .9), rgba(255, 255, 255, .9), rgba(255, 255, 255, .8), rgba(255, 255, 255, .7), rgba(255, 255, 255, .4), transparent);
}
.team-section {
	background-color: #fff;
}
.team-member {
	display: flex;
}
.team-member .position {
	font-size: 14px;
}
.team-section-inner {
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}
/* .team-member:nth-child(4),
.team-member:nth-child(5),
.team-member:nth-child(6),
.team-member:nth-child(10),
.team-member:nth-child(11),
.team-member:nth-child(12),
.team-member:nth-child(16),
.team-member:nth-child(17),
.team-member:nth-child(18) {
	flex-direction: row-reverse;
	text-align: right;
} */
.team-member:nth-child(6n - 5),
.team-member:nth-child(6n - 4),
.team-member:nth-child(6n - 3) {
	flex-direction: row;
	text-align: left;
}
.team-member:nth-child(6n - 2),
.team-member:nth-child(6n - 1),
.team-member:nth-child(6n) {
	flex-direction: row-reverse;
	text-align: right;
}
.social-item span {
	font-size: 1.25em;
}
.modal-content {
	text-align: left !important;
}
.team-member {
	flex: 0 1 33.33%;
	column-gap: 7px;
}
.team-section h2 {
	font: 600 1.2rem/1 "Open Sans", sans-serif;
	color: var(--color-2);
	text-transform: uppercase;
	margin-bottom: 3px;
}
.team-member .content-col {
	margin: auto 2px;
}
.team-member .content-col, .team-member .image-col {
	flex: 1 0 50%;
}
.team-member .content-col .btn {
	font-size: 12px;
	text-transform: capitalize;
	overflow-wrap: break-word;
	margin: 0;
	padding: 10px;
}
.team-member .content-col .link {
	color: var(--color-2);
	margin: 30px 0 0 0;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
}
.team-member .content-col .link:hover {
	color: #000;
}
.contact-section {
	background-color: #fff;
}
.contact-section .contact-row {
	display: flex;
	flex-wrap: wrap;
	column-gap: 50px;
	row-gap: 30px;
}
.contact-section .contact-row > .col {
	flex: 1 1 calc(50% - 25px);
}
.contact-section .map-col {
	display: flex;
	flex-direction: column;
}
.contact-section .map-col .image {
	margin-bottom: 20px;
	margin-top: 30px;
}
.contact-section .map  {
	flex: 1 1 auto;
}
.contact-section .map iframe {
	width: 100%;
	height: calc(100% - 105px);
}
.contact-section .gform_wrapper.gravity-theme .gfield_label {
	border: none;
}
@media screen and (max-width: 991px) {
	.team-section h2 {
		letter-spacing: 0;
		font-size: 17px;
	}
	.team-section .position {
		font-size: 13px;
	}
	.team-member .content-col, .team-member .image-col {
		flex-shrink: 1;
	}
}
@media screen and (max-width: 767px) {
	.team-member:nth-child(n) {
		flex-basis: 100%;
		flex-direction: row;
		text-align: left;
		margin: 10px 0;
	}
}
