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

/*Header CSS END*/
h1, h2, h3, h4, h5, h6, p{
	text-wrap: pretty;
}
.ctm-pretty {
  text-wrap: pretty;
}
.ctm-balance {
  text-wrap: balance;
}
.ctm-link a{
	color: inherit;
	text-decoration: underline;
	text-wrap: pretty;
}

.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:8px; 
  height:8px; 
  border-radius:50%; 
  position:absolute; 
  left:0; 
  background: #464D3B; 
  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: 20px;
    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;
}

ol.list-style {
	margin-left: 0;
	padding-left: 20px;
}
ol.list-style li {
	margin-bottom: 8px;
}
ol.list-style li:last-child {
	margin-bottom: 0px;
}
.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(--btn-primary);
  transition: all 0.3s;
  left: 0;
  bottom: 1px;
}
.hover-box .line-link-green::after {
	background-color: #ffffff;
}
.hover-box:hover .line-link::after {
  width: 30%;
  transition: all 0.3s;
}
.hover-box  .line-link-deep:after {
	  background: #0c4e92;
}
/*---###---*/
.hover-box .line-link-white {
	position: relative;
}

.hover-box .line-link-white::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: all 0.3s;
  left: 0;
  bottom: 1px;
}

.hover-box:hover .line-link-white::after {
  width: 30%;
  transition: all 0.3s;
}
/*##*/
.hover-box .line-link-green {
	position: relative;
}

.hover-box .line-link-green::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #464D3B;
  transition: all 0.3s;
  left: 0;
  bottom: 1px;
}
.hover-box:hover .line-link-green::after {
  width: 30%;
  transition: all 0.3s;
}

.hover-box:hover .line-link-light-green::after {
  width: 30%;
  transition: all 0.3s;
}
/*##*/
.hover-box .line-link-light-green {
	position: relative;
}

.hover-box .line-link-light-green::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #A7A07B;
  transition: all 0.3s;
  left: 0;
  bottom: 1px;
}

.hover-box:hover .line-link-light-green::after {
  width: 30%;
  transition: all 0.3s;
}
.hover-box .line-link-wt::after {
 	background: #ffffff;
}
.pay-online .gb-menu-link::after {
  content: "";
  position: absolute;
  width: 100%;
  max-width:100px;
  height: 1px;
  background: #fff;
  transition: all 0.3s;
  left: 0;
  right:0;
  margin:auto;
  bottom: 1px;
  transform: scaleX(1);
  transform-origin: left;
}
.pay-online:hover .gb-menu-link::after {
  transform: scaleX(0.3);
  background: #A7A07B;
  transition: all 0.3s;
}
@media (max-width: 1024px) {
	ul.list-style,
	ol.list-style{
		margin-bottom: 15px;
	}
	    .border-list {
        columns: 190px 2;
    }
}

/*Marquee CSS*/
.marquee-slider {
    width: auto;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
}
.marquee-group {
	display: flex;
	gap: 0 15px;
}
.marquee-group-2 {
	display: none;
}
.marquee-item {
    white-space: nowrap;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 11%;
	font-weight: 600;
	position: relative;
	padding-left: 21px;
	display: flex;
    align-items: center;
}
.marquee-item:before {
	position: absolute;
	background-color: #1E448D;
	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: 21px;
}
	.marquee-group {
		gap: 0 15px;
	}
}
@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: 1391px) {
.marquee-item:first-child {
	padding-left: 0;
	}
	.marquee-item:first-child:before {
		display: none;
	}
}
/* Marquee only at 1023px and below */
@media (max-width: 1390px) {
    .marquee-track {
        animation: marquee 20s linear infinite;
    }
	.marquee-group-2 {
	display: flex;
	margin-left: 20px;
}
}

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

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

    to {
        transform: translateX(-50%);
    }
}
/* 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: 0.8;
}
.blog_title h4 a {
  color: var(--heading);
  font-size: 30px;
  line-height: 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.08em;
  padding-top: 15px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  color: #636363;
}

.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:inherit;
  text-decoration: underline;
}

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

@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;
  }
}
.img-float {
	float: left;
	margin-right: 40px;
	margin-bottom: 20px;
}
@media (max-width: 767px) {
	.img-float {
		float: none;
        display: flex;
        justify-content: center;
        margin: 0 auto 30px;
    }
}


.list-style-wrap {
	display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
}
.list-style-wrap li {
	width: calc((100% - 40px) / 2);
}
@media(max-width: 1023px) {
	.list-style-wrap li {
		width: 100%;
	}
}
.list-style-flex {
	display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
}
@media(max-width: 1023px) {
	.list-style-wrap li {
		width: 100%;
	}
}
.border-list {
    text-align: left;
    columns: 120px 3;
    column-gap: 80px;
    column-rule: 0px solid transparent;
    margin: 0;
    padding: 0;
    margin-top: 15px;
    width: 100%;
    list-style: none;
}
ul.border-list a {
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #4b4b4b;
    width: 100%;
    display: block;
    transition: 0.3s;
	color: var(--body);
	transition: 0.2s all;
}
ul.border-list a:hover {
    color: #764836;
    border-color: #764836;
	padding: 7px 0 13px 0;
}
/*Header CSS*/
.clearHeader {
    transition: all 0.2s;
	 background:transparent !important;	
}
.ctm-logo{
	max-width:230px;
	transition: all 0.2s;
}

.clearHeader.darkHeader{
	background: #464D3B !important;
	/*position:sticky;*/
    transition: all 0.2s;
	box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.1);
}
.clearHeader.darkHeader .ctm-logo{
	max-width:160px;
}

.clearHeader.darkHeader .ctm-menu .sub-menu{
	/*padding-top: 20px;*/
	transition: all 0.2s;
}

@media(max-width: 1023px) {
.border-list {
	columns: 80px 2;
	}
}
@media(max-width: 599px) {
.border-list {
	columns: 80px 1;
	}
}

.o-hours{
	font-size:16px;
}


