#ry-pg-body.container-1600 .ry-container {
	max-width: 1600px;
	width: 90%;
}

.team-inner-page.style2 .each-container[data-image=""] .photo {
	background: #6fa8dc;
}

.team-inner-page.style2 .each-container[data-image=""] .photo:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6vw;
    height: 6vw;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
    background-size: 100%;
    transform: translate(-50%, -50%);
    filter: invert(1);
}

.team-inner-page.style2 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.team-inner-page.style2 .ry-flex .ry-flex {
	text-align: center;
	width: 100%;
	margin-left: -30px;
	margin-right: -30px;
}


.team-inner-page.style2 .ry-flex .ry-each {
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display:inline;
}

.team-inner-page.style2 .ry-flex.object-top {
    display: flex;
    height: auto !important;
    flex-wrap: wrap !important;
    gap: 3em 0;
}

.team-inner-page.style2 .ry-flex .ry-each .each-container {
	padding: 0;
	border: 1px solid #d8d8d8;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.team-inner-page.style2 .ry-flex .ry-each .each-container .photo {
	margin: 0 auto;
	position: relative;
	padding-bottom: 0;
	/* width: 270px; */
	margin-bottom: 0;
}

.team-inner-page.style2 .ry-flex .ry-each .each-container .photo img {
	position: static;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: top;
	object-position: top;
	height: auto;
	max-width: 250px;
	margin: 0 auto 1em;
	border-radius: 20px;
}
.team-inner-page.style2 .ry-flex.object-top .photo img {
	-o-object-position: top;
	object-position: top;
}
.team-inner-page.style2 .ry-flex.object-bottom .photo img {
	-o-object-position: bottom;
	object-position: bottom;
}
.team-inner-page.style2 .ry-flex.object-center .photo img {
	-o-object-position: center;
	object-position: center;
}
.team-inner-page.style2 .ry-flex.object-left .photo img {
	-o-object-position: left;
	object-position: left;
}
.team-inner-page.style2 .ry-flex.object-right .photo img {
	-o-object-position: right;
	object-position: right;
}
.team-inner-page.style2 .ry-flex .ry-each .each-container .details h5 {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	font-size: 25px !important;
	color: var(--color-primary) !important;
	font-weight: 600 !important;
}

.team-inner-page.style2 .ry-flex .ry-each .each-container .title p {
	margin-bottom: 0 !important;
	line-height: 1;
	margin-top: 10px;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 600 !important;
}

.team-inner-page.style2 .ry-flex .ry-each .each-container .team-excerpt {
	margin-top: 30px;
	display: none !important;
}

.team-inner-page.style2 .ry-flex .ry-each .each-container .team-excerpt p {
	font-size: 18px !important;
	line-height: 1.6;
}

.team-inner-page.style2 .ry-flex .ry-each.highlight-block .each-container {
	background: transparent;
	border: unset;
}
@media (max-width: 1680px) {
	.team-inner-page.style2 .ry-flex {
		/* margin-left: -1.25vw; */
		/* margin-right: -1.25vw; */
	}


	.team-inner-page.style2 .ry-flex .ry-each {
		padding: 1.25vw;
	}
	.team-inner-page.style2 .ry-flex .ry-each .each-container .team-excerpt p {
		font-size: calc(16px + 2 * ((100vw - 500px) / 940)) !important;
		line-height: 1.6;
	}
}
@media (max-width: 1380px) {

	.team-inner-page.style2 .ry-flex .ry-flex {
		margin-left: -30px;
		margin-right: -30px;
	}

	.team-inner-page.style2 .ry-flex .ry-each {
		padding: 0;
	}

	.team-inner-page.style2 .ry-flex .ry-each .each-container {
		padding: 0;
	}
	.team-inner-page.style2 .ry-flex .ry-each .each-container .photo {
		padding-bottom: 0;
		/* width: 80%; */
	}
}
@media (max-width: 1200px) {
	.team-inner-page.style2 .ry-flex {
		/* margin-left: -20px; */
		/* margin-right: -20px; */
	}

	.team-inner-page.style2 .ry-flex .ry-each {
		padding: 20px;
	}

	.team-inner-page.style2 .ry-flex .ry-each .each-container {
		padding: 0;
	}
}
@media (max-width: 1080px) {
	.team-inner-page.style2 .ry-flex {
		/* margin-left: 0; */
		/* margin-right: 0; */
		gap: 3em 0 !important;
		flex-wrap: wrap !important;
	}

	.team-inner-page.style2 .ry-flex .ry-each {
		padding: 0;
		width: 47% !important;
	}

	.team-inner-page.style2 .ry-flex .ry-each .each-container {
		padding: 0;
	}
}
@media (min-width: 0) {
	.team-inner-page.style2 .ry-flex .ry-each {
		position: static !important;
	}
}
@media (min-width: 681px) {
	.team-inner-page.style2 .ry-flex .ry-each {
		width: 50%;
	}
}

@media (min-width: 1201px) {
	.team-inner-page.style2 .ry-flex .ry-each {
		width: 25%;
		position: static !important;
	}
}