.module-team.style-1 {
  padding: 5em 0;
  background: #eff1f3;
}

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

.module-team.style-1 .ry-text p {
  line-height: 1.5;
  text-align: center;
  max-width: 575px;
  margin: 10px auto 30px;
}

a#team-btn {
  margin: auto;
  clear: both;
}

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

.module-team.style-1 .ry-text {
    position: relative;
}

div.module-team.style-1 .carousel-inner {
    overflow: visible;
}


.module-team.style-1 .ry-flex {
  align-items: center;
}
.module-team.style-1 .ry-flex .ry-each .photo {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  transition: .5s;
  margin-bottom: 1em;
}

.module-team.style-1 .ry-flex .ry-each .photo:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0), #00000085);*/
}

.module-team.style-1 .ry-flex .each-name {
  position: static;
  z-index: 1;
  color: #333;
  width: 100%;
  padding: 0 20px;
  text-align: center;
  text-transform: uppercase;
  font-size: 21px;
}

.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 .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: #136a8f;
}

.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 {
	}
	.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 (min-width:1201px) {
    div.module-team.style-1 .ry-flex .ry-each:last-child {
    /* display: flex; */
    /* justify-content: flex-end; */
    /* width: 40%; */
}

.module-team.style-1 .carousel-inner {
    overflow: visible;
}

.module-team.style-1 .ry-flex .ry-each:first-child {
    /* width: 50%; */
}
}


@media (max-width:1199px) {

div.module-team.style-1:after, div.module-team.style-1:before {
    display: none;
}

div.module-team.style-1 .ry-flex div#bio-text p {
    font-size: 28px !important;
}

	a#hp-team-btn {
    margin: 1em auto !important;
}

div.module-team.style-1 .ry-container .ry-content {
	margin-top:0 !important;
}
	
	div.module-team.style-1 {
		padding: 3em 0 2.5em !important;
		background: #fff;
	}
	
	.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;
	}
	
	.module-team.style-1 .ry-flex.block-count-2 {
	  margin-top: 2em;
	  margin-left: 0;
	}

	.module-team.style-1 .ry-flex .ry-each .photo img {
	  /* max-width: 250px; */
	  margin: 0 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;
	}

	div#team-flex .content-left {
  margin-bottom: 2em !important;

}
	.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: 1.5em;
	}
}




@media (max-width: 500px) {
	div.module-team.style-1 .ry-flex {
       gap: 0 4% !important;
  }

  div.module-team.style-1 .ry-flex div#bio-text p {
		line-height: 1.1 !important;
		font-size: 24px !important;
		max-width: 100px !important;
  }
	
   div.module-team.style-1 .ry-container {
    width: 95% !important;
  }
}