/*
 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
*/
.text-Cosby {
	font-family: "Cosbycorwin", sans-serif !important;
}
.text-jost {
	    font-family: Jost, sans-serif !important;
}
.ctm-hov a.ctm-link-underline{
	position: relative;	
	color: #C79792 !important;
	font-weight: 600 !important;
}
.ctm-hov a.ctm-link-underline:after{
	content:"";
	width: 100%;
	height: 1px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: #C79792;
	transition: all 0.3s;
}

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

.ctm-hov a.ctm-link-underline-blue{
	position: relative;	
	color: #24334A !important;
	font-weight: 600 !important;
}
.ctm-hov a.ctm-link-underline-blue:after{
	content:"";
	width: 100%;
	height: 1px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: #24334A;
	transition: all 0.3s;
}

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

.ctm-hov a.ctm-link-underline-green{
	position: relative !important;	
	color: #6C816B !important;
	font-weight: 600 !important;
}
.ctm-hov a.ctm-link-underline-green:after{
	content:"";
	width: 100%;
	height: 1px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: #6C816B;
	transition: all 0.3s;
}

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

.ctm-post-head a{
	text-decoration: none !important;
}

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

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

.list-style li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
	text-wrap: pretty;
}

.list-style li::before {
  content: "";
background: #FFA807;
  background: linear-gradient(180deg,rgba(255, 168, 7, 1) 0%, rgba(121, 80, 6, 1) 100%);
  border-radius: 50%;
  position: absolute;
  top: 9px;
  left: 0;
  height: 12px;
  width: 12px;
}

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

.list-style-black li {
	color: #152029;
	padding-left: 24px;
	margin-bottom: 15px;
}
.list-style-black li::before {
  content: "";
background: #152029;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 0;
  height: 7px;
  width: 7px;
}
.list-style ol li:not(:last-child) {
    margin-bottom: 8px;
}


@media (max-width: 1199.5px) {
  .list-style li {
    padding-left: 30px;
    margin-bottom: 15px;
  }
}

@media (max-width: 766.5px) {
  .list-style li::before {
    top: 9px;
    height:11px;
    width:11px;
  }
  
  .list-style li{
    padding-left:20px;
  }
  
}

/* End List style css */


/* Sitemap css */
.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
}
}

/* 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(--contrast-3);
}

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

.blog-content a:hover{
  color: var(--contrast-3);
  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;
  }
}
