/*
 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 Css */
.blog.separate-containers .site-main,
.single-post.separate-containers .site-main {
	margin:0;
}
.blog .grid-container{
	max-width: 100%;
}
.blog .site-main > *{
	margin-bottom:0;
}

.blog .grid-container, .wp-singular .grid-container, .archive .grid-container{
	width:100%;
    max-width: none;
}

.single-post .dynamic-content-template .dynamic-entry-content{
  font-family: inherit !important;
    color: var(--text-color);
  	font-size: 19px;
    line-height: 1.9;
}

.single-post .dynamic-content-template p{
    margin: 0 0 20px 0;
}

.single-post .dynamic-content-template p > strong:first-of-type {
	text-transform: uppercase;
	font-weight: 400;
	font-size: 23px;
	line-height: 1.3;
	margin-top: 25px;
	margin-bottom: 10px;
	font-family: var(--gp-font--bebas-neue);
}

.single-post .dynamic-content-template .dynamic-entry-content :is(h1, h2, h3, h4, h5, h6){
 	color: var(--black);
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.2;
}

.single-post .dynamic-content-template .dynamic-entry-content :is(h1, h2, h3, h4, h5, h6) strong{
  font-weight: 600;
}

.single-post .dynamic-content-template .dynamic-entry-content h2{
  font-size: 31px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.single-post .dynamic-content-template .dynamic-entry-content h3,
.single-post .dynamic-content-template .dynamic-entry-content h4,
.single-post .dynamic-content-template .dynamic-entry-content h5 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.single-post .dynamic-content-template .dynamic-entry-content h3{
  font-size: 26px;
}

.single-post .dynamic-content-template .dynamic-entry-content h4{
  font-size: 22px;
}

.single-post .dynamic-content-template .dynamic-entry-content h5{
  font-size: 20px;
}

.single-post .dynamic-content-template a{
  color: var(--primary-color);
  text-decoration: underline;
}

.single-post .dynamic-content-template a:hover{
  color: var(--grey-text-color);
  text-decoration: none;
}

.single-post .dynamic-content-template a.btn-primary {
    text-decoration: none;
}

/* Start Blog Css */

/* **** Start page loader */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: var(--dark-bg);
    overflow: hidden;
    transition: transform 1s cubic-bezier(.77, 0, .18, 1);
}

.page-loader .loader-content {
    position: relative;
    width: 95%;
	height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    padding: 20px;
    text-align: center;
}

.page-loader .loader-heading {
    position: relative;
    z-index: 2;
    font-size: 120px;
    font-family: bebas-neue-pro;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.page-loader .loader-line {
    display: block;
    overflow: hidden;
}

.page-loader .loader-word {
    display: inline-block;
    transform: translateY(150%);
    will-change: transform;
	margin: 0 5px;
    visibility: hidden;
}

.page-loader .loader-heading.ready .loader-word {
    visibility: visible;
}

.page-loader .loader-line.animate-in .loader-word {
/*     animation: text-in 1.6s cubic-bezier(.22, 1, .36, 1) .25s forwards; */
	animation: text-in 1.45s ease .25s forwards;
}

.page-loader .loader-line.animate-out .loader-word {
/*     animation: text-out 1.6s cubic-bezier(.65, 0, .35, 1) forwards; */
	animation: text-out 1.45s ease forwards;
}

@keyframes text-in {
    from {
        transform: translateY(150%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes text-out {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-150%);
    }
}

.page-loader .loader-image {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.2);
    animation: image-in 1.3s cubic-bezier(.16, 1, .3, 1) .15s forwards;
    z-index: 1;
}

.page-loader .loader-image img {
    width: 100%;
    height: 100%;
}

@keyframes image-in {
    from {
        opacity: 0;
        transform: scale(1.2);
    }

    to {
        opacity: 1;
        transform: scale(0.8);
    }
}

.page-loader.hide {
    transform: translateY(-100%);
}

@media (max-width: 1199px) {
   .page-loader .loader-heading {
		font-size: 100px;
	}
}

@media (max-width: 1024px) {
   .page-loader .loader-heading {
		font-size: 90px;
    	line-height: 1.1;
	}
}

@media (max-width: 767px) {
    .page-loader .loader-content {
        padding: 20px;
    }

    .page-loader .loader-heading {
		font-size: 70px;
    }
}

@media (max-width: 575px) {
   .page-loader .loader-heading {
		font-size: 52px;
	}
}

/* **** End page loader */


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

.ctm-link a{
	color: inherit;
	text-decoration: none;
}

.ctm-link a:hover{
	color:inherit;
	text-decoration: underline;
}

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

.service-container .ctm-link a,
.service-container .wp-block-paragraph a {
  color: var(--primary-color);
  text-decoration: underline;
}

.service-container .ctm-link a:hover,
.service-container .wp-block-paragraph a:hover {
  color: var(--grey-text-color);
}

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

ul.list-style,
ol.list-style {
    margin-left: 40px;
}

ol.list-style {
    margin-top: 15px;
}

.list-style li{
	color: var(--text-color);
    font-size: 1.2em;
    font-weight: 400;
    text-align: left;
	margin-bottom: 5px;
}

ol.list-style li {
	margin-bottom: 10px;
}

/* animation css start here  */

.flower-element {
    transform: scale(0);
    transition: transform 0.7s ease-in-out;
}

.flower-element.is-active {
    transform: scale(1);
    animation: flower-pulse 0.7s ease-in-out 0.5s 1;
}

@keyframes flower-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.animation-wrap .line-animation {
    clip-path: inset(100% 100% 0 0);
    transition: clip-path 1.2s ease-in-out 0.7s;
}

.animation-wrap .line-animation.bottom-right {
    clip-path: inset(100% 0 0 100%);
}

.animation-wrap .line-animation.top-left {
    clip-path: inset(0 100% 100% 0);
}

.animation-wrap.is-active .line-animation {
    clip-path: inset(0 0 0 0);
}

.scroll-image {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-image {
    transform: none !important;
    will-change: auto !important;
  }
}

/* animation css start here  */


.bg-video-section {
    transform: unset !important;
}

.horizontal-line-ani.is-active {
	animation: width-draw 1.5s ease-in-out forwards;
}

@keyframes width-draw {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.service-container p strong {
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--gp-font--bebas-neue);
}

.service-container p.wp-block-paragraph,
.service-container div.wp-block-paragraph,
.service-container .wp-block-paragraph {
    color: var(--text-color);
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.9;
    text-align: left;
    margin-bottom: 10px;
    text-wrap: pretty;
}

.service-container .wp-block-paragraph:last-child {
    margin-bottom: 0;
}

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

.flower-element {
	pointer-events: none;
}

.page-id-2045 h1,
.page-id-2043 h1 {
    font-size: 98px;
}

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

.rank-math-html-sitemap h2 {
    margin: 0 0 15px 0;
    font-size: 30px;
    color: var(--primary-color);
}

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

.rank-math-html-sitemap a {
	text-decoration: none;
}

.page-id-2477 main#main {
	margin-top: 20px;
	margin-bottom: 20px;
}

@media (max-width: 1024px) {
   	.page-id-2045 h1,
	.page-id-2043 h1  {
		font-size: 85px;
	}
}

@media (max-width: 767px) {
    .rank-math-html-sitemap {
        grid-template-columns: 1fr;
        direction: ltr;
    }
	
	.page-id-2477 main#main {
		margin-top: 0;
		margin-bottom: 0;
	}
	
    .page-id-2045 h1,
	.page-id-2043 h1  {
		font-size: 70px;
	}
}

.error404 {
	background-color: #dadada;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	height:100vh;
}

#google-map iframe {
    filter: grayscale(100%);
}

.search-results .inside-article h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.search-results header.page-header {
    color: var(--heading-color);
    padding: 0 0;
}

.search-results .inside-article {
    padding: 10px 0;
}

.search-results .inside-article .entry-meta {
    display: none;
}

.search-results .inside-article  a.read-more {
    color: var(--primary-color);
}