/*
 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;
}

/* 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: 400;
  text-decoration: none;
}

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

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

.blog_author {
    letter-spacing: 0.1px;
    padding-top: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--body-color);
}

.blog_thumb a {
  display: block;
  position: relative;
  padding-bottom: 102%;
    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: 18px;
  }
  .blog_title h4 a {
    padding-top: 12px;
    font-size: 26px;
  }
  .theme_blog_posts {
    grid-template-columns: 1fr;
    grid-gap: 34px 34px;
  }
}

.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 */

.blog .grid-container, .wp-singular .grid-container, .archive .grid-container{
	width:100%;
    max-width: none;
}

.blog-content .dynamic-entry-content{
  font-family: inherit !important;
  font-size: 1em;
}

.blog-content p{
  font-size: 1em;
  color:var(--body-color);
  margin:1em 0;
}

.blog-content .dynamic-entry-content>p:first-of-type:first-letter{
  float:left;
  font-family: inherit !important;
  font-size:75px;
  color: var(--body-color);
  line-height:0.8;
  padding-top:1px;
  padding-right:8px;
}
.blog-content .dynamic-entry-content :is(h1, h2, h3, h4, h5, h6){
  color: var(--heading-color);
  font-weight: 400;
}
.blog-content .dynamic-entry-content :is(h1, h2, h3, h4, h5, h6) strong{
  font-weight: 500;
}
.blog-content .dynamic-entry-content h2{
  font-size: 42px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.blog-content .dynamic-entry-content h3{
  font-size: 36px;
  margin-top: 0em;
  margin-bottom: 0em;
}
.blog-content .dynamic-entry-content h4{
  font-size: 30px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.blog-content a{
  color:inherit;
  text-decoration: underline;
}

.blog-content a:hover{
  color: var(--ctm-link);
  text-decoration: none;
}

@media (max-width:992px){
  .blog-content .dynamic-entry-content h2{
    font-size: 36px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 29px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 25px;
  }
  .blog-content .dynamic-entry-content {
    font-size: 1em;
	}
}
@media (max-width:767px){
  .blog-content .dynamic-entry-content h2{
    font-size: 32px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 24px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 22px;
  }
}

/* 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 */

/*=== Services ===*/
.ctm-text-effect {
  opacity: 0;
  max-height: 0;
  height: auto;
  overflow: hidden;
  transition: all 0.8s;
}
.ctm-service-box:hover .ctm-text-effect {
  opacity: 1;
  font-size: 16px;
  max-height: 150px;
  transition: all 0.8s;
}

.ctm-doc-box img {
  filter: saturate(1);
  transition: all 0.4s;
}

.ctm-doc-box:hover img {
  filter: saturate(0.2);
}
.ctm-ovly{
 transform: translate3d(0px, 100%, 0px);
	transition: all 0.6s;

}
.ctm-doc-box:hover .ctm-ovly{
 transform: translate3d(0px, 0%, 0px);
	transition: all 0.6s;

}

/*Header CSS*/
.clearHeader{
	background:#fff !important;
}
body.home .clearHeader {
    transition: all 0.2s;
	 background:transparent !important;
}

body.home .clearHeader.darkHeader, .clearHeader.darkHeader{
	  background: #fff !important;
    transition: all 0.2s;
	box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.1);
}

.clearHeader.darkHeader .ctm-menu .sub-menu{
	padding-top: 20px;
}
@media(max-width: 767px){
	.meet-dentists-section .ctm-text-effect,
	.meet-dentists-section .ctm-service-box:hover .ctm-text-effect {
		opacity: 1;
		max-height: none;
		height: auto;
		overflow: visible;
		transition: unset;
		font-size: 16px;
		padding: 0;
	}
}
.rotate-element {
  animation: rotateAnimation 12s linear infinite;
  transform-origin: center;
}

@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.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: 25px;
  margin-bottom: 8px;
}

.list-style ul li::before,
ul.list-style li::before {
  	content: "";
	position: absolute;
	top: 8px;
    left: 0;
    height: 10px;
    width: 10px;
    background: #052850;
	border-radius: 50%;
}

.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 (min-width: 2000px) {
.ctm-service-slider-box{
	padding-left:0px !important;
	max-width:1300px !important;
	width:90% !important;
}
}
@media (min-width: 1800px) and (max-width: 1999px) {
.ctm-service-slider-box{
	padding-left:15% !important;
}
}
@media (max-width: 1024px) {
  	.list-style ul li,
	ul.list-style li {
		padding-left: 25px;
		margin-bottom: 6px;
	}
}

@media (max-width: 767px) {
  	.list-style ul li::before,
	ul.list-style li::before {
		height: 8px;
		width: 8px;
		margin-top:3px;
	}
	.list-style ul li,
ul.list-style li {
  padding-left: 22px;
}
}

.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: #062140;
  transition: all 0.4s;
  left: 0;
  bottom: 0px;
}

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

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

.timeline::before{
	position: absolute;
    content: "";
    width: 90%;
    max-width: 400px;
    right: 0;
    top: 50%;
    background: #7FCCF7;
    opacity: 0.5;
    filter: blur(200px);
    height: 40%;
    transform: translate(0, -50%);
}
@media (max-width:1280px){
	.timeline::before{
    width: 60%;
    filter: blur(160px);
    height: 50%;
}
}
@media (max-width:992px){
	.timeline::before{
     width: 90%;
	max-width:500px
    filter: blur(190px);
}
}
@media (max-width:767px){
	.timeline::before{
     display:none;
}
}
.error404 .grid-container {
    max-width: none;
}

.rank-math-html-sitemap {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 50px 0;
  	display: grid;
	grid-template-columns: 1fr 1fr;
	direction: ltr;
}

.rank-math-html-sitemap h2 {
    margin: 0 0 15px 0;
    font-size: 30px;
    color: var(--heading-color);
}

.rank-math-html-sitemap ul {
	margin-left: 0;
    list-style: none;
}

.rank-math-html-sitemap li {
	margin-bottom: 5px;
}

.rank-math-html-sitemap a {
    color: var(--body-color);
	text-decoration: none;
}

.rank-math-html-sitemap a:hover {
    color: var(--primary-color);
	text-decoration: none;
}

@media (max-width: 1024px) {
	.rank-math-html-sitemap {
		padding: 40px 0;
	}
}

@media (max-width: 767px) {

	.rank-math-html-sitemap {
		padding: 30px 0;
	}
	
    .rank-math-html-sitemap {
        grid-template-columns: 1fr;
    }
}

:is(.page-id-3086, .page-id-3475, .page-id-4019, .page-id-3915) .banner-subheading {
    max-width: 960px;
}

@media (max-width: 460px) {
	.page-id-3616 h1 {
		max-width: 230px;
	}
}

.ctm-faq .gb-accordion__item .gb-accordion__toggle {
    text-wrap: pretty;
}

@media (max-width: 1024px) {
	.ctm-faq .gb-accordion__item {
		padding-right: 0;
	}
}



