/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/ 

html {
  scroll-behavior: smooth;
}

.ctm-pretty {
  text-wrap: pretty;
}

.ctm-link a {
	color: inherit;
	text-decoration: underline;
}

.ctm-link a:hover{
	color:inherit;
	text-decoration: none;
}

.ctm-link,
.ctm-link.list-style,
.ctm-link p,
.list-style p,
.list-style li {
	text-wrap: pretty;
}

.ctm-underline{
	color:inherit;
}

.ctm-underline:hover,
a.ctm-underline:hover{
	text-decoration:none;
}

/* Start List style css */
.list-style ul,
ul.list-style {
  	list-style: none;
    margin: 0;
    padding: 0;
}

.list-style ul li,
ul.list-style li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.list-style ul li::before,
ul.list-style li::before {
  	content: "";
	position: absolute;
	top: 7px;
    left: 0;
    height: 18px;
    width: 18px;
    background: url(/wp-content/uploads/2026/10/list-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.list-style ul li:last-child,
ul.list-style li:last-child {
	margin-bottom:0;
}

.list-style ul,
.list-style ol,
ul.list-style,
ol.list-style {
    margin-bottom: 15px;
}

@media (max-width: 1024px) {
  	.list-style ul li::before,
	ul.list-style li::before {
		top: 6px;
        height: 16px;
        width: 16px;
	 }
  
  	.list-style ul li,
	ul.list-style li {
		padding-left: 25px;
		margin-bottom: 6px;
	}
}
.white-list-style li::before{
	filter: brightness(0%) invert(100%);
}
ul.insurance-list li{
	padding-left: 31px;
	margin-bottom:10px;
}
.insurance-list li::before{
	height: 20px;
    width: 20px;
}
/* End List style css */

.ctm-link:not(:has(~ .ctm-link)) {
    margin-bottom: 0;
}

.line-link {
	position: relative;
}

.line-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #1B3659;
  transition: all 0.4s;
  left: 0;
  bottom: 0px;
}

.line-link.white::after {
  content: "";
  background: #fff;
}

.hover-box:hover .line-link::after,
.line-link:hover::after{
  width: 50%;
  transition: all 0.4s;
}

.rank-math-html-sitemap {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    direction: rtl;
	gap: 25px;
}

.rank-math-html-sitemap h2 {
    margin: 0 0 15px 0;
    font-size: 30px;
    color: #000;
}

.rank-math-html-sitemap > * {
    direction: ltr;
}

.rank-math-html-sitemap ul{
	margin-left: 20px;
}

.rank-math-html-sitemap a {
	text-decoration: none;
}

@media (max-width: 767px) {
    .rank-math-html-sitemap {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}



/* Doctor CSS*/
.ctm-doc-content .ctm-doc-bio {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  margin-top: 0;
  margin-bottom: 0;
  transition: 
    max-height 0.9s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.8s ease-in-out,
    transform 0.9s ease-out,
    margin 0.7s ease;
}

.ctm-doc-wrapper:hover .ctm-doc-bio {
  max-height: 130px; /* Set closer to real height so time isn't wasted on unused pixels */
  opacity: 1;
  transform: translateY(0);
  margin-top: 15px;
  margin-bottom: 10px;
}

@media(max-width: 1025px){
	.ctm-doc-wrapper:hover .ctm-doc-bio {
  		max-height: 105px !important;
	}
}

@media(max-width: 766px){
	.ctm-doc-content .ctm-doc-bio {
		max-height: 105px;
  		opacity: 1;
  		transform: translateY(0);
  		margin-top: 15px;
  		margin-bottom: 10px;
	}
}

.ctm-slider-dots .gb-carousel-dot.is-active {
    transform: unset;
}



/* Start Blog Loop css */
.theme_blog_posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 64px 24px;
}
.blog_title {
  margin: 0;
  width: 100%;
  padding-top: 20px;
}
.blog_title h4 {
  margin: 0;
  font-weight: normal;
  line-height: 1.1;
}
.blog_title h4 a {
  color: var(--heading-color);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
	text-decoration: none;
}

.blog_title h4 a:hover,
.blog_single:hover .blog_title h4 a {
  color: var(--secondary-color);
}

.blog_single .blog_date {
  margin: 10px 0 0 0;
  font-size: 16px;
}

.blog_author {
  letter-spacing: 0.08em;
  padding-top: 15px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  color: var(--heading-color);
}

.blog_thumb a {
  display: block;
  position: relative;
  padding-bottom: 102%;
  border-radius: 0;
  overflow: hidden;
}

.blog_thumb a img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 978px) {
  .blog_title {
    max-width: 100%;
  }

  .blog_thumb a {
    padding-bottom: 65%;
  }
}

@media (min-width: 767px) and (max-width: 991px) {
  .blog_title h4 a {
    font-size: 28px;
  }
  .theme_blog_posts {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 34px 24px;
  }
}

@media (max-width: 766px) {
  .blog_title {
    padding-top: 12px;
  }
  .blog_title h4 a {
    padding-top: 12px;
    font-size: 28px;
  }
  .theme_blog_posts {
    grid-template-columns: 1fr;
    grid-gap: 34px 24px;
  }
}

.blog_single .blog_thumb {
  overflow: hidden;
}
.blog_single .blog_thumb img {
  transform: scale(1);
  transition: 0.2s;
}
.blog_single:hover .blog_thumb img {
  transform: scale(1.1);
  transition: 0.2s;
}

/* End Blog Loop css */


.ctm-hov a.ctm-link-underline:after{
	content:"";
	width: 100%;
	height: 1px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: var(--ctm-link); 
	transition: all 0.3s;
}

.ctm-hov:hover a.ctm-link-underline:after{
	width: 50%;
	height: 1px;
	transition: all 0.3s;
}
.map-container iframe{
	height:450px;
}

.accordian-img-wrap {
    position: relative;
}

.accordian-img-wrap .accordian-change-image {
    display: none;
    opacity: 0;
}

.accordian-img-wrap .accordian-change-image.active {
    display: block;
    animation: accordianImageFade 0.3s ease forwards;
}

@keyframes accordianImageFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.request-box h2{
	font-size:45px;
}
@media (max-width:1024px) {
	.request-box h2{
    	font-size: 35px;
	}
}

@media (max-width:767px) {
	.request-box h2{
    	font-size: 28px;
	}
}
.reviews-badge-block .ti-widget{
    width: auto!important;
}
.footer-review-block .ti-col-4 .ti-review-item, .footer-review-block .ti-col-3 .ti-review-item{
	flex: 0 0 50%!important;
    max-width: 50%!important;
}

.error404 .grid-container,
.blog .grid-container, .single-post .grid-container,
.archive.category .container.grid-container,
.archive.tag .container.grid-container {
	width: 100%;
	max-width: 100%;
}


/* Start marquee CSS */

.marquee-wrap {
	width: 100%;
	overflow: hidden;
}

.marquee-track {
	display: flex;
	width: max-content;
	gap: 0 !important;
	will-change: transform;
}

.marquee-track > * {
	flex: 0 0 auto;
}

/* End marquee CSS */
.request-box iframe{
	width:100%;
	height:550px;
}
@media (max-width:1024px){
	.request-box iframe{
		height:400px;
	}
}
.page-id-2613 .bg-color-light, .page-id-1855 .bg-color-light{
	background-color: var(--light-bg);
}
.line-link-w:after{
	content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    transition: all 0.4s;
    left: 0;
    bottom: 0px;
	background-color:var(--btn-secondary-dark);
	transition: all 0.3s ease-in-out;
}
.line-link-w:hover:after{
	width:45%;
	transition: all 0.3s ease-in-out;
}
}