/*
 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;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.blog_title h4 a {
  color: var(--heading-color);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 400;
	text-decoration: none;
}

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

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

.blogSingle a{
	text-decoration: underline
}
.blogSingle a:hover{
	text-decoration: none
}

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

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

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

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

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

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

@media (max-width: 1024px) {
  	.list-style ul li,
	ul.list-style li,
	.blogSingle ul li{
		padding-left: 25px;
		margin-bottom: 6px;
	}
}

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

.two-column-list {
	display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 30px;
}

@media (max-width: 1024px) {
    .two-column-list.md {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .two-column-list {
        grid-template-columns: 1fr;
    }
}
/* 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: #008F45;
  transition: all 0.4s;
  left: 0;
  bottom: 0px;
}

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

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

.rank-math-html-sitemap {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    direction: rtl;
	gap: 25px;
}

.rank-math-html-sitemap h2 {
    margin: 0 0 15px 0;
    font-size: 30px;
    color: #000;
}

.rank-math-html-sitemap > * {
    direction: ltr;
}

.rank-math-html-sitemap ul{
	margin-left: 20px;
}

.rank-math-html-sitemap a {
	text-decoration: none;
}
.video-height video {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center center;
}
/*Marquee CSS*/
.marquee-slider {
    width: auto;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
}
.marquee-group {
	display: flex;
	gap: 0 40px;
}
.marquee-group-2 {
	display: none;
}
.marquee-item {
    white-space: nowrap;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 5%;
	font-weight: 600;
	position: relative;
	padding-left: 40px;
	display: flex;
    align-items: center;
}
.marquee-item:before {
	position: absolute;
	background-color: #08283B;
	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%);
    }
}

@media (max-width: 767px) {
    .rank-math-html-sitemap {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.error404 .grid-container,
.blog .grid-container, .single-post .grid-container,
.archive.category .container.grid-container,
.archive.tag .container.grid-container {
	width: 100%;
	max-width: 100%;
}


:is(.page-id-7611, .page-id-7751, .page-id-32, .page-id-7774, .page-id-7787, .page-id-7404, .page-id-7494, .page-id-7802) .banner-subheading {
    max-width: 1200px;
}

:is(.page-id-7329, .page-id-7380, .page-id-7933, .page-id-8309, .page-id-8187) .banner-subheading {
    max-width: 900px;
}