/*
 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
*/
.ctm-link {
	text-wrap: pretty;
}
.ctm-link a{
   text-decoration: underline;
}
.ctm-link a:hover{
  text-decoration: none;
}
.ctm-link.list-style, .ctm-link p, .list-style p, .list-style li {
   text-wrap: pretty;
}

/*list sytle*/
.list-style {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top:15px;
}
.list-style li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    text-wrap: pretty;
}
.list-style li::before {
    content: "";
    background-color: #204DA9;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 0;
    height: 9px;
    width: 9px;
}
.list-style-tow-col {
	display: flex;
	flex-wrap: wrap;
}
.list-style-tow-col li {
    width: 49%;
}
@media (max-width: 1199.5px) {
    .list-style li {
        padding-left: 30px;
        margin-bottom: 15px;
    }
	.list-style-tow-col li {
   		 width: 100%;
	}
}
.list-style li:last-child {
    margin-bottom: 0;
}


/**/

.ctm-link-underline {
    margin-bottom: 0px;
}

.ctm-hov .ctm-link-underline a,   a.ctm-link-underline {
    position: relative;
    text-decoration: none; 
    max-width: fit-content;
}

.ctm-hov .ctm-link-underline a::after, a.ctm-link-underline::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: #ffffff;
    transition: all 0.3s;
}
a.ctm-link-underline.not-white::after {
	background: #ff8f4d;
}
.ctm-hov:hover .ctm-link-underline a::after, a.ctm-link-underline:hover::after, .ctm-hov:hover a.ctm-link-underline::after {
    width: 50%;
    height: 1px;
    transition: all 0.3s;
}
a.no-underline {
    text-decoration: none;
}

.no-underline span.gb-shape svg {
    width: 1.3em;
    height: 1.3em;
    margin-top: 3px; 
}
.ctm-link-ser{
	  display: block;
    letter-spacing: 0.05px;
    text-decoration: underline;
    color: #f46a1e !important;
}
.ctm-link-ser:hover{
    text-decoration: none;
}
.img-hov img {
	transition: all 0.3s;
}
.img-hov:hover img {
	transform: scale(1.05);
}
/* Sitemap css */
.rank-math-html-sitemap {
	max-width: 1300px;
	margin: 0 auto;
	width: 100%;
	padding: 20px 20px 40px;
}
.rank-math-html-sitemap__title {
	margin: 20px 15px;
}
.rank-math-html-sitemap .rank-math-html-sitemap__list{
  list-style: none;
 	margin: 0 0 0 4px;
  position: relative;
  border-left: 1px solid #3d3d3d;
  padding: 0 ;
}

.rank-math-html-sitemap .rank-math-html-sitemap__item {
  margin: 0;
  padding: 2px 10px 2px 30px;
  position: relative;
  font-size: 18px;
}

.rank-math-html-sitemap__list li:before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #3d3d3d;
  position: absolute;
  left: 0;
  top: 1em;
  transform: translateY(-50%);
}
.rank-math-html-sitemap__list li:after {
  content: '';
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #3d3d3d;
  top: 1em;
  left: 0px;
  transform: translate(-50%, -50%);
  background: #fff;
}
.rankSitemap .rank-math-html-sitemap__title{
  font-size: 40px
}

.list-style-number {
	display: grid;
	margin: 0 0 -25px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 30px;
}
.list-style-number li {
	margin-bottom: 25px;
	list-style: none;
	display: flex;
    gap: 0 15px;
}
.list-style-number li span {
	height: 32px;
	width: 32px;
	min-width: 32px;
	background-color: #8DB1FB;
	border-radius: 100%;
	font-size: 22px;
	font-weight: 500;
	color: #000000;
	display: inline-block;
	text-align: center;
	margin-top: -1px;
}
.cust-acco .gb-block-is-current {
	padding-bottom: 0;
}
@media (max-width: 767px){
  .rankSitemap .rank-math-html-sitemap__title{
  font-size: 30px
}
.list-style-number {
	grid-template-columns: 1fr;
	margin: 0 0 0;
}
	.list-style-number li:last-child {
		margin-bottom: 0;
	}
}

.comparison-table-mn {
    width: 80%;
    border-collapse: collapse;
    border: 1px solid #204DA9;
}

.comparison-table-mn th,
.comparison-table-mn td {
    border: 1px solid #204DA9;
    padding: 15px 20px;
    text-align: left;
	width: 50%;
}

.comparison-table th {
    font-weight: 700;
}
@media (max-width: 1199px) {
	.comparison-table {
    width: 90%;
	}
}
@media (max-width: 767px) {
    .comparison-table-mn th,
    .comparison-table-mn td {
        padding: 12px 10px;
        font-size: 14px;
    }
	
.comparison-table-mn {
    width: 100%;
}
}

.ctm-footer a {
	color: #ffffff;
}











/* 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(--color-204da9);
}

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

.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:8px;
  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: 45px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.blog-content .dynamic-entry-content h3{
  font-size: 38px;
  margin-top: 0em;
  margin-bottom: 0em;
}
.blog-content .dynamic-entry-content h4{
  font-size: 32px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.blog-content a{
  color:var(--secondery-color);
  text-decoration: underline;
}
.blog-content ul{
	    margin-left: 25px;
}

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

.post-excerpt{
	overflow: hidden; 
  display: -webkit-box; 
  -webkit-box-orient: vertical; 
  -webkit-line-clamp: 3;
}

@media (max-width:1200px){
  .blog-content .dynamic-entry-content h2{
    font-size: 45px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 35px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 30px;
  }
}
@media (max-width:978px){
  .blog-content .dynamic-entry-content h2{
    font-size: 40px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 32px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 26px;
  }
  .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;
  }
}
.page-template-template-single-invisalign .grid-container {
	padding: 0;
}
.page-template-template-single-invisalign .site-content {
	display: block;
}

.carousel-control svg {
    width: 60px !important;
    height: 100px !important;
    fill: none !important;
}

/* Comparison table icons */
.comparison-table td {
	vertical-align: middle;
}

.comparison-table .check,
.comparison-table .cross,
.comparison-table .check-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	font-size: 25px;
	line-height: 1;
	vertical-align: middle;
}

.comparison-table td span.cross,
.comparison-table td span.check-inline {
	margin-left: 8px;
}

/* Cell with ONLY an icon, no text — center it in the cell (no flex on td) */
.comparison-table td.cell-icon-only {
	text-align: center;
	vertical-align: middle;
}

/* First column — keep checkmark in a straight vertical line regardless of text length */
.comparison-table td.comparison-highlight {
	position: relative;
	padding-right: 55px;
}
.comparison-table td.comparison-highlight .check {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	margin-left: 0;
}

@media (max-width: 767px) {
	.comparison-table .check,
	.comparison-table .cross,
	.comparison-table .check-inline {
		width: 21px;
		height: 21px;
		font-size: 21px;
	}
	.comparison-table td.comparison-highlight {
		padding-right: 45px;
	}
	.comparison-table td.comparison-highlight .check {
		right: 12px;
	}
}