/*
 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
*/
.video-height video {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center center;
}
/* Common CSS */
.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;
}

.ctm-link-line {
    position: relative;
}

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

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

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

.list-style ul, ul.list-style{
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.ctm-icon-link:hover svg {
    fill: var(--secondary) !important;
	color: var(--secondary) !important;
}

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

.hover-box .line-link {
	position: relative;
}

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

.hover-box:hover .line-link::after {
  width: 30%;
  transition: all 0.3s;
}

.hover-box .hov-scale-img {
  transform: unset;
  transition: all 0.3s;
}

.hover-box:hover .hov-scale-img {
  transform: scale(1.1);
  transition: all 0.3s;
}

@media (max-width: 1024px) {
	ul.list-style,
	ol.list-style{
		margin-bottom: 15px;
	}
}

.list-column-2{
	columns: 200px 2;
    column-gap: 30px;
    column-rule: 2px none rgba(0,0,0,0.1);
}

.list-column-3{
	columns: 200px 3;
    column-gap: 30px;
    column-rule: 2px none rgba(0,0,0,0.1);
}

.icon-link svg{
	transition:.35s;
}

.icon-link:hover svg{
	transform:translatex(5px);
	transition:.35s;
}

.hover-box:hover .icon-link svg{
	transform:translatex(5px);
	transition:.35s;
}

.error404 .grid-container{
	max-width: 100%;
}

.location-name{
	white-space:nowrap;
}
.service-list ul, ul.service-list{
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-list ul li, ul.service-list li {
    padding-block:15px;
	border-bottom:1px solid #222222;
    position: relative;
}
.service-list a{
	color: inherit;
	text-decoration: none;
}

.service-list a:hover{
	color:var(--button-primary);
}
/* 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: #000000;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 400;
	text-decoration: none;
}

.blog_title h4 a:hover,
.blog_single:hover .blog_title h4 a {
  color: #48870E;;
}

.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: #272727;
}

.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: 24px;
  }
  .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: 22px;
  }
  .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;
	font-weight:500;
}
.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: 40px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.blog-content .dynamic-entry-content h3{
  font-size: 36px;
  margin-top: 0em;
  margin-bottom: 0em;
}
.blog-content .dynamic-entry-content h4{
  font-size: 32px;
  margin-top: 5px;
  margin-bottom: 5px;
}

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

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

@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;
  }
}


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

@media (max-width: 767px){
  .rankSitemap .rank-math-html-sitemap__title{
  font-size: 30px
}
}

@media(min-width:1025px){
	.sc-steps:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 50px;
    right: 0px;
    height: 2px;
    background: #a4bfcde0;
    width: 100%;
}
}

.right-nav .gb-submenu-toggle, .left-nav .gb-submenu-toggle {
	display: none;
}
.right-nav .sub-menu .gb-submenu-toggle, .left-nav .sub-menu .gb-submenu-toggle {
	display: flex;
}

@media (max-width: 1024px) {
	.gb-submenu-toggle-icon {
		width: 1.5em;
		height: 1.5em;
	}
}



/*important*/

.marquee-slider {
    width: auto;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
}
.marquee-group {
	display: flex;
	gap: 0 35px;
}
.marquee-group-2 {
	display: none;
}
.marquee-item {
    white-space: nowrap;
		font-size: 19px;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		font-weight: 400;
		position: relative;
	padding-left: 41px;
	display: flex;
    align-items: center;
}
.marquee-item:before {
	position: absolute;
	background-color: #000000;
	background-repeat: no-repeat;
	background-position: 0 center;
	content: "";
	height: 6px;
	width: 6px;
	border-radius: 100%;
	left: 0;
}
@media (max-width: 1359px) {
	.marquee-item {
		font-size: 1em;
		letter-spacing: 0.03em;
		padding-left: 41px;
}
	.marquee-group {
		gap: 0 25px;
	}
}
@media (max-width: 1199px) {
	.marquee-item {
		font-size: 15.8px;
		letter-spacing: 0.02em;
		padding-left: 21px;
}
	.marquee-group {
		gap: 0 15px;
	}
}
@media (min-width: 1024px) {
.marquee-item:first-child {
	padding-left: 0;
	}
	.marquee-item:first-child:before {
		display: none;
	}
}
/* Marquee only at 1023px and below */
@media (max-width: 1023px) {
    .marquee-track {
        animation: marquee 20s linear infinite;
    }
	.marquee-group-2 {
	display: flex;
	margin-left: 20px;
}
}

@media (min-width: 1024px) {
    .marquee-track {
        animation: none;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
.desk-header {
	transition: all 0.3s;
}
.gb-is-sticky .desk-header {
	background-color: #172B35;
}
.img-srink img {
		transition: all 0.3s;
}
.gb-is-sticky .desk-header .img-srink img {
	max-width: 120px
}

.service-box:hover .learn-more:after {
	width: 50%;
}

