.module-team.style-1 {
    padding: 8em 0;
    background: url(https://www.royacdn.com/unsafe/smart/Site-5bbabf65-38a5-4de3-a4e3-8e954bb65919/homepage_assets/doctors_bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.module-team.style-1 div#heading-flex .ry-heading h4 {
    margin-bottom: 15px;
}

.module-team.style-1 .section-headline h2 {
    font-size: 58px;
	font-family: Public Sans;
    text-transform: uppercase;
}

.module-team.style-1 .ry-text p {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.7;
}

.module-team.style-1 .ry-text .ry-btn {
    position: absolute;
    right: 0;
    top: -85px;
}

.module-team.style-1 .ry-text {
    position: relative;
   width: 50% !important;
}


.module-team.style-1 .ry-flex {
	gap: 0 3%;
}

.module-team.style-1 .ry-flex .ry-each .photo {
    position: relative;
    transition: .5s;
    margin-bottom: 2em;
}

.module-team.style-1 .ry-container {
    max-width: 1400px;
    width: 90%;
}

.module-team.style-1 div#heading-flex {
    display: flex;
    align-items: center;
    margin-bottom: 3em;
}

.module-team.style-1 div#heading-flex .ry-heading h2 {
    color: #fff !important;
}

.module-team.style-1 div#heading-flex .ry-heading h4 {
    text-align: left;
}

.module-team.style-1 div#heading-flex .ry-heading {
    width: 50% !important;
}

.module-team.style-1 .ry-text p {
    color: #fff;
    font-weight: 300 !important;
    opacity: 0.6;
    font-size: 16px;
}

.module-team.style-1 .ry-flex .each-name h3 {
    color: #fff;
    text-align: left;
    font-size: 28px;
}

.module-team.style-1 .ry-flex .each-name p {
    color: #fff;
    opacity: 0.3;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 200 !important;
    margin-top: 10px;
}



.module-team.style-1 .ry-flex .ry-each .photo:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.module-team.style-1 .ry-flex .each-name {
    position: static;
    z-index: 1;
    color: #fff;
    width: 100%;
    padding: 0;
    text-align: center;
}

.module-team.style-1 .ry-flex .link, 
.module-team.style-1 .ry-flex .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    opacity: 9;
    opacity: 0;
}

.module-team.style-1 .ry-flex .ry-each:hover .photo {
}

.module-team.style-1 .slick-dots {
	position: absolute;
	bottom: -60px;
	padding-left: 0;
	list-style: none;
	display: flex !important;
	justify-content: center;
	align-items: center;
	left: 50%;
	transform: translate(-50%, 0);
}



.module-team.style-1 .slick-dots li button {
	text-indent: -9999999px;
	padding: 0;
	width: 50px;
	height: 2px;
	box-shadow: unset;
	border: unset;
	background: #fff;
}

.module-team.style-1 .slick-dots li {
	margin: 0 5px;
	opacity: .5;
}

.module-team.style-1 .slick-dots li.slick-active {
	opacity: 1;
}
.module-team.style-1 .content .ry-btn {
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
@media (max-width: 1680px) {
	.module-team.style-1 .ry-flex {
		margin-left: -10px;
		width: calc(100% + 10px);
		display: flex;
	}
	.module-team.style-1 .ry-flex.block-count-6 .ry-each {
		width: calc(16.66666666666667% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-5 .ry-each {
		width: calc(20% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-4 .ry-each {
		width: calc(25% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-3 .ry-each {
		width: calc(33.33% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .ry-flex.block-count-2 .ry-each {
		width: calc(50% - 10px);
		margin-left: 10px;
	}
	.module-team.style-1 .section-headline h2 {
		font-size: 50px;
	}
}

@media (max-width:1199px) {
	div.module-team.style-1 {
    padding: 4em 0 5em;
}

.module-team.style-1 .ry-flex.block-count-4 .ry-each {
		width: calc(25% - 30px);
		margin-left: 30px;
}
.module-team.style-1 .ry-flex .each-name h3, .module-team.style-1 .ry-flex .each-name p {
    text-align: center !important;
}

.module-team.style-1 div#heading-flex {
    flex-direction: column !important;
}

.module-team.style-1 div#heading-flex .ry-heading, .module-team.style-1 .ry-text {
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

.module-team.style-1 div#heading-flex .ry-heading h4,
.module-team.style-1 div#heading-flex .ry-heading h2,
.module-team.style-1 div#heading-flex p {
    text-align: center !important;
}


}

@media (max-width: 1080px) {
	.module-team.style-1 {
		padding: 60px 0;
	}
	
	.module-team.style-1 .ry-text p,
	.module-team.style-1 .section-headline h2 {
		text-align: center;
	}
	.module-team.style-1 .section-headline h2 {
		font-size: 46px;
	}
	.module-team.style-1 .ry-text .ry-btn {
		position: relative;
		right: unset;
		top: unset;
		margin-top: 30px;
		margin-left: auto;
		margin-right: auto;
	}

}
@media (max-width: 991px) {
	.module-team.style-1 .ry-flex.block-count-3,
	.module-team.style-1 .ry-flex.block-count-2 {
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}
	.module-team.style-1 .ry-flex.block-count-3 .ry-each,
	.module-team.style-1 .ry-flex.block-count-2 .ry-each {
		width: calc(80% - 10px);
		margin-bottom: 10px;
	}
}

@media (max-width:600px) {
	
	div.module-team.style-1 .ry-flex.block-count-4 .ry-each {
		margin-left: 0 !important;
	}

	 div.module-team.style-1 .ry-flex {
			margin-left: 0 !important;  
	}

	 div.module-team.style-1 .content {
		max-width: 250px;
		margin: auto;
		float: none;
	}
}

@media (max-width: 480px) {
	
	
	.module-team.style-1 .ry-flex.block-count-3 .ry-each,
	.module-team.style-1 .ry-flex.block-count-2 .ry-each {
		width: calc(100% - 10px);
	}
}
@media (max-width: 420px) {
	.module-team.style-1 .section-headline h2 {
		font-size: 36px;
	}
	.module-team.style-1 .ry-text p,
	.module-team.style-1 .ry-btn {
		font-size: 16px !important;
	}
}










