@media (max-width: 1199px) {
    .module-28 {
      padding: 60px 0;
	}

	 .ry-services.style2 {
			padding: 3em 0 0 !important;
		}

			 div.module-28 .ry-btn-wrapper {
			justify-content: center;
		}

		div.hp-team-wrap-bg::before {
			height: 100% !important;
			background-position: center;
			top:0 !important;
			opacity:0;
		}

		div.hp-team-wrap-bg .custom-headline h2 .span-1, div.hp-team-wrap-bg .custom-headline h2 {
			text-align: center !important;
		}


		.module-28 .ry-right .ry-text {
			top: 0 !important;
			left: 0 !important;
			margin: 1em auto 0;
			float: none;
		}

		.module-28 .ry-generic-copy p {
			text-align: center !important;
			line-height: 1.5 !important;
		}
  }
  @media (max-width: 991px) {
	  .module-28 .ry-generic-copy p {
    text-align: center;
}
     }
  .module-28 .ry-content {
    position: relative;
    }
    @media (max-width: 1300px) {
      .module-28 .ry-content {
        height: 760px; } }
    @media (max-width: 1199px) {
      .module-28 .ry-content {
        height: initial; } }
  .module-28 .ry-flex {
    flex-direction: row-reverse;
    align-items: center;
    }
    @media (max-width: 1199px) {
      .module-28 .ry-flex {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap; } }
  .module-28 .ry-section-title-wrapper {
    text-align: center; }
  .module-28 .ry-section-title {
    font-size: calc(30px + 30 * ((100vw - 320px) / 1600));
    font-weight: 600;
    line-height: 49px; }
    @media (max-width: 991px) {
      .module-28 .ry-section-title {
        line-height: 38px; } }
  .module-28 .ry-section-sub-title {
    font-size: calc(30px + 20 * ((100vw - 320px) / 1600));
    font-family: "Playfair Display", serif;
    display: block;
    font-weight: 400;
    font-style: italic;
	padding-top: 40px;
  }
  .module-28 .ry-generic-copy {
    margin-top: 80px;
    margin-bottom: 70px; }
    @media (max-width: 1199px) {
      .module-28 .ry-generic-copy {
        margin: 25px 0; } }
  .module-28 .ry-left {
    }
    @media (max-width: 1300px) {
      .module-28 .ry-left {
        -ms-flex-preferred-size: 30%;
            flex-basis: 30%; } }
    @media (max-width: 1199px) {
      .module-28 .ry-left {
        -ms-flex-preferred-size: 100%;
            flex-basis: 100%; 
	  } 

	div.hp-team-wrap-bg {
        padding: 2em 0 0 !important;
        background: #2a6192;
        border-radius: 30px;
    }
	}
    .module-28 .ry-left img {
      max-width: 500px;
      }
     
      @media (max-width: 1199px) {
        .module-28 .ry-left img {
          position: static;
          max-width: 320px;
          margin-left: auto;
          margin-right: auto; } }
  .module-28 .ry-right {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%; }
    @media (max-width: 1300px) {
      .module-28 .ry-right {
        -ms-flex-preferred-size: 60%;
            flex-basis: 60%; } }
    @media (max-width: 1199px) {
      .module-28 .ry-right {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        margin-top: 0;
		  padding: 0 1em !important;
        }
}


 .module-28 .ry-btn-wrapper {
		text-align: center;
		display: flex;
		justify-content: center;
	}

	.module-28 .ry-generic-copy p{
		text-align: center;
	}

	div.hp-team-wrap-bg {
		position: relative;
	}

	.module-28 .ry-right .ry-text {
		padding-left: 0;
		max-width: 600px;
		position: relative;
		top: 3.5em;
		left: 8em;
	}

	div.hp-team-wrap-bg .custom-headline h2 {
		color: #fff !important;
	}

	div.hp-team-wrap-bg .custom-headline h2 .span-1 {
		color: #74c5f5;
	}



@media (max-width:1600px) and (min-width:1200px) {
	div.module-28 .ry-right .ry-text {
		left: 15% !important;;
	}
	

}


@media (max-width:1080px) {
	div.hp-team-wrap-bg:before {
    width: 100%;
    height: 73%;
    position: absolute;
    bottom: 0;
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-357a93d5-5873-4454-a99a-cbf48689d575/HomepageAssets/doctor_bg.png);
    content: '';
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 40px;
}
}
