@media (max-width: 991px) {}
@media only screen and (max-width: 768px){
	.swiper-slide {width: 100% !important;}
	.testimonials-wrapper .testimonials-block .carousel-control {display: none;}
	.carousel-control.left, .carousel-control.right {background-image: unset; background-image: unset;background-repeat: unset;}
	.carousel-control, .carousel-control:hover, .carousel-control:focus {color: #293235;}}
#services-box a{ margin:0 auto;}
#articles .ry-btn-primary, 
#articles .ry-btn-primary:after {color: #ffffff;}
#articles .ry-btn-primary:hover, 
#articles .ry-btn-primary:hover:after {color: #293235;}
body {font-family: Poppins !important;}
.ry-btn:after {display:none;}
.btn, .ry-btn, .ry-btn-primary, .ry-btn-secondary {font-family: 'Poppins';z-index:99;}
.ry-btn {height: 60px;display: flex;align-items: center;justify-content: center;padding-left: 25px;padding-right: 25px;max-width: max-content;color: #293235 !important;background: #1777ff !important;font-size: 20px !important;}
.ry-btn-primary:hover {background: #ffd43a !important;color: #ffffff !important;}
.ry-btn-secondary:hover {background: #1777ff !important;color: #293235 !important;}
.ry-btn.ry-btn-secondary{color: #ffffff !important;background: #ffd43a !important;}

body.default #ry-pg-body[data-interior-layout="Full Width"] > .ry-container > .ry-content > .ry-left {
    width: 100%;
    max-width: 100%;
    float: unset;
}

body.default #ry-pg-body[data-interior-layout="Full Width"] > .ry-container > .ry-content > .ry-right {
    display: none;
}


.title-open {
  border-radius: 10px 10px 0 0 !important;
}

.title-closed {
  border-radius: 10px !important;
}
.modal.full.filePickerDialog {
  display: none;
}

/* HP Edits */



/* Buttons */
	/**/
.module-21.style2 .btn, .module-21.style2 .slider-btn {
    color: white;
    background: #1777ff !important;
}

.ry-btn {
    color: white !important;
    background: #1777ff!important;
	font-weight: 700px;
}

.ry-btn:hover {
    color: black !important;
	font-weight: 700px;
}

/* Header */
	/**/
.module-43 .ry-right .ry-menu .nav-menu li a{
    color: black;
}

.module-43 .ry-right .ry-menu .nav-menu li a:hover{
    color: var(--secondary-background);
}

.module-43 .ry-right .ry-leads .ry-contact li:nth-child(1):hover a {
    color: white !important;
}

.black-c, .module-43 .ry-right .ry-menu .nav-menu li .dropdown-menu li a {
    color: white;
}

.module-43 .ry-right .ry-leads .ry-contact li span.call_us, 
.module-43 .ry-right .ry-leads .ry-contact li a {
    color: var(--primary-background) !important;
}

.module-43 .ry-right .ry-leads .ry-contact li.social-wrapper .options-icons .options-icons-inner-wrap li svg {
    fill: white;
}

.ry-sticky-menu.fixed {
    position: fixed;
    z-index: 99999;
    background: white;
    padding: 20px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.default #ry-section-header.module-43 {
    background: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body[data-page-name="index"] h2{
	font-weight: 500 !important;
}

.module-43 .ry-right .ry-leads .ry-contact li:nth-child(2) .contact__overlay {
    transform: scale(0);
}

.module-43 .ry-right .ry-leads .ry-contact li:nth-child(2):hover .contact__overlay {
    transform: scale(15);
}

.module-43 .ry-right .ry-leads .ry-contact li:hover a{
    color: white !important;
}

.module-43 .ry-right .ry-leads .ry-contact li .contact__icon .icon__wrap i{
    color: white !important;
}

.bi::before, [class*=" bi-"]::before, [class^=bi-]::before {
    font-size: 16px;
}

.module-43 .ry-right .ry-leads .ry-contact li span.phone_number a {
    display: block !important;
    line-height: 1 !important; /* Adjust between 0.8 and 1.1 to control line spacing */
    text-transform: capitalize;
    font-size: calc(15px + 0 * ((100vw - 500px) / 1100));
}

/* Hero Section */
	/**/
body[data-page-name="index"] img.sliderImage.center-block.img-responsive {
    height: 100vh !important;
    object-fit: cover;
	object-position:top
}

@media (max-width: 1023px) {
    body[data-page-name="index"] img.sliderImage.center-block.img-responsive {
        height: 100% !important;
    }
    body[data-page-name="index"] #navigation {
    position: relative;
    }
}

.module-66 .bnr-textbox .ry-section-title {
	color: white !important;
    text-align: center;
    text-shadow: 3px 3px 3px rgb(0 0 0 / 40%);
	letter-spacing: 4px;
	font-size: clamp(1.625rem, 0.95rem + 3.375vw, 5rem);
	line-height: 120%;
	font-weight: 600;
}

.module-66 .carousel {
    background-image: none;
}

.module-66 .carousel .carousel-inner {
    opacity: 1;
}

.module-66 .ry-arrow__down {
	display: none;
}

/* Appointment Section */
	/**/
.module-21.style2 {
    background: transparent !important;
}

#request-appointment p{
	color: var(--secondary-text);
}

.module-21 input[type="text"], .module-21 textarea {
    color: var(--secondary-text);
    background: white;

}

.input-wrap input::-webkit-input-placeholder {
  -webkit-text-fill-color: var(--secondary-text);
}

.input-wrap .form-control {
  color: var(--secondary-text);
}

.module-21 .input-wrap::before {
    color: var(--secondary-text);
}

/* Welcome Section */
	/**/
#welcome-wrap .text-wrapper h2 {
    text-align: left !important;
}

#welcome-wrap .ry-text p {
    text-align: left !important;
}

#welcome-wrap .ry-btn {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.module-welcome.style-5 .ry-each.image-wrapper{
    border: none;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    object-fit: contain;
}

.module-welcome.style-5 .ry-flex{
    align-items: center;
} 

#welcome-wrap .background-section {
  display: none !important;
}

.module-welcome.style-5 .image-wrapper,
.module-welcome.style-5 .photo {
  height: 100%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 8px; 
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.video-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.play-btn {
  position: absolute;
  width: 68px;
  height: 48px;
  background: rgba(33, 33, 33, 0.85);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.play-btn::after {
  content: "";
  display: block;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 3px;
}

.video-cover:hover .play-btn {
  background: #ff0000;
  transform: scale(1.08);
}

.video-toggle:checked ~ .video-cover {
  opacity: 0;
  pointer-events: none;
}

/* Service Section */
	/**/
.ry-services.style2 .block-count-6 .ry-each .each-block {
    position: relative;
    background-color: #123b73;
    border-radius: 50%;
    border: 4px solid #ffd43a;
    overflow: hidden;
}

.ry-services.style2 .ry-each .photo img {
	filter: brightness(0) invert(1);
}

.ry-services.style2 .ry-each .title div {
    color: white;
}

.ry-services.style2 .ry-each .link {
    border-radius: 50%;
    /* remove external border if applied here, or adjust size so it fits inside */
}

.ry-services.style2 .ry-each .photo img {
    width: 55% !important;
    height: 45% !important;
    top: 38% !important; 
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    object-fit: contain !important;
	border-radius: 0%;
}

.ry-services.style2 .each-block:hover .title div {
    color: white;
}
	
/* Team Section */
	/**/
.module-69.style2:before {
    background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-0560eaa4-5980-4009-b53b-0287cf824e8c/Background_images/HealGreat_Team_Background_v2.jpg');
	background-repeat: no-repeat;
  	background-position: center;
  	background-size: cover;
	background-color: var(--primary-background) !important;
	box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5);
    border-top: 14px solid var(--secondary-background) !important;
    border-bottom: 14px solid var(--secondary-background) !important;
}

.outer-container:before {
    background: none;
}

#team-wrap .section-body {
    color: #ffffffb3;
	text-align: center;
}

/* Insurance Section */
	/**/
/* Appointment Section */
	/**/
.module-70 .ry-each.ry-each-1 a.ry-btn {
  margin-top: 2rem;
}

@media screen and (max-width: 1199px) {
  .module-70 .ry-each.ry-each-1 a.ry-btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.module-70 .ry-each.ry-each-4 .cmsForm .ry-btn-primary {
    width: 360px;
	margin-top: 20px;
}

/* Footer */
	/**/
#ry-footer .module-16 {
  background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-0560eaa4-5980-4009-b53b-0287cf824e8c/Background_images/HealGreat_Footer_Background_Image_v2.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.module-16 #footer-row2 .ry-text * {
    color: white !important;
}

.module-16 #footer-row1 .card .card-body .ry-footer-detail::before {
    color: white;
}

.gray-bg, .module-16 #footer-row1 .card .card-body .ry-footer-detail::before {
    background: var(--secondary-background);
}

.module-16 #footer-row1 .social-inner-wrap li a {
    color: white !important;
    background: var(--secondary-background) !important;
}

.powered.ry-text {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	
}

.module-16 #footer-row2 .ry-right img {
    width: 100%;
    padding-top: 10px;
    max-width: 100px;
}

.module-16 #footer-row2 .ry-right img {
    filter: brightness(0) invert(1);
}

/* End - HP Edits*/

#ry-pg-banner .ry-bnr-wrp .ry-pg-title h1 {
    color: #e5efda !important;
}

.mobile-container {
    background:#ffff;
}


.mobile-container .mobile-nav button .hamburger-inner, .mobile-container .mobile-nav button .hamburger-inner:before, .mobile-container .mobile-nav button .hamburger-inner:after {
    background: var(--primary-background) !important;
}

	@media(max-width:780px) {
		.module-66 .bnr-textbox {
			position:relative;
			inset:unset;
			background: var(--primary-background);
			padding:30px 20px !important;
			margin-bottom:30px!important;
		}
		
		#welcome-wrap .text-wrapper h2, #welcome-wrap .ry-text p{
			text-align:center !important;
			align-items:center;
			justify-content:center;
		}



		#welcome-wrap a.ry-btn.ry-btn-primary {
			margin:0 auto !important;;
		}

	}

	@media(max-width:480px) {
		.module-66 .bnr-textbox {
			padding:20px 20px !important;
		}

	}
	
	body[data-page-name="payment-options"] #payment-insurance .module-32-heading-2 h4 {
    color: #397487;
    letter-spacing: 1px;
    text-transform: capitalize;
}
	
	body[data-page-name="contact-us"] div#ry-section-map {
    display: none;
	}
	
	body[data-page-name="contact-us"] .module-16 {
    padding-top: 220px;
}


:root {
	--primary-background: #397487;
	--secondary-background: #285767;
	--secondary-text: #293235;
}
	
	#team-wrap a.ry-btn.ry-btn-primary {
    margin: 0 auto;
    background-color: #fff !important;
    color: #293235 !important;
}
	
	
	
	/* added codes */
	
.module-14 .ry-slide.ry-el-bg {
  background-position: center top !important;
  background-size: cover !important;
}
	
	.module-14 .item .card .slide-text-wrap .big-title h1 {
  margin-top: -10px;
  font-size: clamp(32px, 4vw, 60px) !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}
	.module-14 .item .card .slide-text-wrap .sub-title {
	line-height: 170%;
	margin-bottom: 1.0vw;
	font-weight: 400;
	font-size: 20px; }
	

	
	
	.module-18 {
  position: relative;
  z-index: 5;
  background: #333;
  overflow: visible !important;
}

.module-18 .ry-content {
  padding: 0 24px !important;
  overflow: visible !important;
}

.module-18 .ry-content .card-holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 30px;
  width: 100%;
  max-width: 1260px;
  height: 225px;
  margin: 0 auto;
  padding: 0;
  overflow: visible !important;
}

.module-18 .ry-content .card-holder .card {
  flex: 0 1 300px !important;
  width: 300px !important;
  max-width: 30% !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  overflow: visible !important;
}

.module-18 .ry-content .card-holder .card:nth-child(2) {
	flex-basis: 380px !important;
    width: 380px !important;
    max-width: 40% !important;
}

.module-18 .ry-content .card-holder .card img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .module-18 .ry-content {
    padding: 30px 20px !important;
  }

  .module-18 .ry-content .card-holder {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .module-18 .ry-content .card-holder .card,
  .module-18 .ry-content .card-holder .card:nth-child(2) {
    flex: 0 1 260px !important;
    width: 260px !important;
    max-width: 100% !important;
    margin-top: 0;
  }
}
	
	.module-18 .ry-content .card-holder .card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.module-18 .ry-content .card-holder .card img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
	.module-18 .ry-content .card-holder {
  float: none !important;
  width: 100% !important;
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
	/* hero */
	.module-14 .item .card .slide-text-wrap .big-title h1 {
  margin-top: -10px;
  font-size: clamp(32px, 4vw, 60px) !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 2px 12px rgba(255, 255, 255, 0.7);
}
	
@media (max-width: 1024px) {
  .module-14 .item .card {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    padding: 24px 20px !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center;
  }

  .module-14 .item .card .slide-text-wrap {
    float: none !important;
    width: 100% !important;
    max-width: 640px;
    margin: 0 auto !important;
  }
		body .module-14 .item .card .slide-text-wrap .sub-title {
		text-align: center;
		font-size: 18px;
		line-height: 1.5;
		color: #000000 !important;
		margin-bottom: 20px;
	}
}
	@media (max-width: 1024px) {
  .module-14 .item .ry-slide {
    position: relative !important;
    min-height: 650px !important;
  }

  .module-14 .item .ry-slide > img.ry-bg {
    display: block !important;
    width: 100% !important;
    height: 650px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .module-14 .item .card {
    position: absolute !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 24px 20px 40px !important;
    transform: none !important;
    background: transparent !important;
    z-index: 2;
  }

  .module-14 .item .card .slide-text-wrap {
    float: none !important;
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .module-14 .item .card .btn-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .module-14 .item .card .btn-wrap p {
    width: 100%;
    margin: 0 !important;
  }

  .module-14 .item .card .ry-btn {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
  }
		 .module-14 .item .card .ry-btn {
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 20px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .module-14 .item .card .btn-wrap {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
	
	@media (max-width: 768px) {
  .module-14 .item .ry-slide {
    height: auto !important;
    min-height: 0 !important;
  }

  .module-14 .item .ry-slide > img.ry-bg {
    position: relative !important;
    width: 100% !important;
    height: clamp(300px, 65vw, 500px) !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .module-14 .item .card {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    height: auto !important;
    padding: 30px 20px 50px !important;
    transform: none !important;
    background: #fff !important;
    display: flex !important;
    justify-content: center !important;
  }

  .module-14 .item .card .slide-text-wrap {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .module-14 .item .card .slide-text-wrap .big-title h1 {
    margin-top: 0 !important;
    font-size: clamp(28px, 5.5vw, 42px) !important;
    line-height: 1.1 !important;
  }

  .module-14 .item .card .btn-wrap {
    position: static !important;
    margin-top: 20px !important;
  }

  .module-14 .item .card .ry-btn {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    padding: 14px 12px !important;
    font-size: clamp(14px, 2.4vw, 18px) !important;
    line-height: 1.3 !important;
  }
}
	
	
	@media (max-width: 1024px) {
  .module-14 .item .ry-slide > img.ry-bg {
    content: url("https://s3.amazonaws.com/static.organiclead.com/Site-0560eaa4-5980-4009-b53b-0287cf824e8c/HP_Slider/HealGreat_Hero_Image_6.jpg");
    display: block !important;
    width: 100% !important;
    height: 650px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}
	
	
/*special sectiom*/
	.outer-container:before {
	content: '';
    background-color: #123b73 !important;
    position: absolute;
    opacity: 0.3;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
	
	.module-70 .ry-each.ry-each-1 {
    background-color: #ffd43a;
	}
	.module-70 .ry-each.ry-each-1 .ry-section-title, .module-70 .ry-each.ry-each-1 p {
    color: #00040b;
}
	
	/* doctor section*/
		.module-28{
    background-color: rgb(18, 59, 115) !important;
}
	
	.module-28 .ry-content.ry-flex {
  align-items: center !important;
}

.module-28 .ry-left {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.module-28 .ry-left img {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block;
  width: 100% !important;
  max-width: 622px !important;
  height: auto !important;
  margin: 0 auto !important;
}
	
.module-28 .ry-section-title {
  font-size: calc(30px + 30 * ((100vw - 320px) / 1600));
  font-weight: 600;
  line-height: 49px;
  text-align: left !important;
	color: white;
}

@media (max-width: 1024px) {
  .module-28 .ry-section-title {
    text-align: center !important;
  }
	  .module-28 .ry-btn-wrapper {
    text-align: center;
    justify-content: center;
  }
}
	
	 .module-28 .ry-generic-copy {
    margin-top: 40px;
    margin-bottom:40px;
	  color: white;
    }
	
	.module-28 .ry-btn-wrapper {
  text-align: left;
  display: flex;
  justify-content: flex-start;
}
	
	.ry-btn:hover {
  background-color: #ffd43a !important;
  color: rgb(0, 4, 11) !important;
}

.ry-btn:hover span,
.ry-btn:hover i {
  color: rgb(0, 4, 11) !important;
}

	
	.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    left: 100px;
    position: relative;
    opacity: 0;
    box-shadow: rgba(32, 32, 32, 0.1) 1px 1px 20px;
    text-align: left;
    width: 100%;
    padding: 15px 30px;
    border-bottom: 0px solid rgb(215, 215, 215);
    background:#1778fd;
}
	
		.ry-menu .ry-nav li.dropdown .dropdown-menu li:hover {
    background: #123b73;
}
	
	.sidebar-seal {
		display: flex;
    	align-items: center;
    	justify-content: center;
    	padding: 2rem;
		
		img {
			max-width: 280px;
			transition: transform 0.3s ease-in-out;
		}
	}
	.sidebar-seal img:hover {
		transform: scale(1.025);
	}
	

	body[data-page-name="conditions-auto-injuries"] .sidebar-seal,
	body:not([data-page-name="conditions-auto-injuries"]) .sidebar-auto {
		display: none !important;
	}