/**
Theme Name: Heyday Child Theme
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heyday-child-theme
Template: astra
*/

/**************************/
/***** GLOBAL RULES *******/
/**************************/
p:last-child,
.entry-content p:last-child {
   margin-bottom: 0; 
}
.entry-content p {
    margin-bottom: 1em;
}
.no-margins {
	margin: 0!important;
}
.font-bold {
	font-weight: bold!important;
}
.content-front .fl-module-content {
	position: relative;
	z-index: 10;
}
/* Overwrite PP menu module */
.pp-advanced-menu.off-canvas .menu li a,
.custom-menu .pp-advanced-menu .menu > li > a, 
.custom-menu .pp-advanced-menu .menu > li > .pp-has-submenu-container > a{
    color: #fff;
}
.pp-advanced-menu.off-canvas .menu li a:hover,
.custom-menu .pp-advanced-menu .menu > li > a:hover, 
.custom-menu .pp-advanced-menu .menu > li > .pp-has-submenu-container > a:hover {
    color: #4b91be;
}
/* Body font Bigger */
.body-large p {
	font-size: 20px;
}
.ul-check-bullets {
	list-style: none;
	margin: 0;
}
.ul-check-bullets li {
	padding-left: 35px;
	padding-bottom: 10px;
	position: relative;
}
.ul-check-bullets li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    background-image: url('/wp-content/uploads/2021/11/check-circle.png');
    background-size: 24px;
}
/* Smart Heading Module PP - add "inline-smart-pp" class and overwrite css  */
.inline-smart-pp .pp-heading-content .pp-heading .heading-title span.title-text {
	display: inline!important;
}
/* Center Info Box Module */
.center-modules .uabb-infobox-left-right-wrap {
	display: flex;
    flex-direction: row;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
}
.center-modules .uabb-module-content.uabb-imgicon-wrap {
	flex-basis: 25%;
}
.center-modules .uabb-infobox-content {
	width: auto!important;
	text-align: left;
}
.center-modules  .uabb-infobox-title {
	text-align: left;
}
/* Flex on Columns */
.flex-col .fl-col-content {
	display: flex;
}
/* Flex for Vertical Alignment */
.flex-vertical-row .fl-row-content > .fl-col-group,
.flex-vertical-col-parent .fl-col-content > .fl-col-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
/* Slanted Edge */
.main-bg {
    width: 90%;
    height: 100%;
    background-color: #132644;
    clip-path: polygon(0 0, 100% 0%, 0 100%, 0% 100%);
}
.overflow-visible .fl-bg-embed-code {
	overflow: visible;
}
/* PP Testimonial Slider */
.custom-pp-testimonials .pp-content-post.pp-content-carousel-post {
	background-image: url('/wp-content/uploads/2021/11/Green-Pattern.png');
    background-position: left bottom;
    background-size: 35%;
    background-repeat: no-repeat;
}
.custom-pp-testimonials .pp-content-post-carousel .owl-nav button.owl-prev {
	    left: -25px;
}
.custom-pp-testimonials .pp-content-post-carousel .owl-nav button.owl-next {
	    right: -25px;
}

/* HOVER CARDS */
.hover-columns .fl-col-content .fl-module,
.hover-columns .fl-col-content .fl-module .fl-module-content {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}
/* Smooth transition for the linear-gradient */
.hover-card {
    position: relative;
    overflow: hidden;
    
    transition: all .2s ease;
    opacity: 0;
}
.hover-card:hover {
    opacity: 1;
}
.hover-card:hover:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%);
}
/* Slide animation for the content */
.hover-card .fl-module-content {
    z-index: -1;
    position: relative;
    overflow: hidden;
    bottom: -300px;
    
    transition: all .3s ease;
}
.hover-card:hover .fl-module-content {
    z-index: 10;
    bottom: 0;
}
.hover-cards-content,
.hover-cards-title {
    color: #fff!important;
    margin-bottom: 0!important;
}
.hover-cards-content p {
    text-transform: uppercase;
}
/* Portfolio & Cards */
.icon-btn .pp-custom-icon {
    margin-right: 5px;
    top: 1px;
    position: relative;
}

.portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-box-col .fl-col-content {
    justify-content: flex-end!important;
}
.portfolio-box.featured .blurred-text  {
	border-bottom-left-radius: 22px;
}

.blurred-text {
    color: #fff;
    font-size: 20px;
    padding: 15px 20px;
    border: 1px solid #fff;
    display: inline-block;
    backdrop-filter: blur(6px);
}

.faded-bg {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: visible;
}
.faded-bg img {
	position: absolute;
	right: 0;
	top: -40%;
	bottom: 0;
	width: 50%;
	object-fit: contain;
	height: 160%;
	object-position: bottom right;
}
.services.faded-bg img {
	top: -40%;
	height: 140%;
}

/*  Markets */
.custom-size-circles-bg > .fl-col-content {
	background-size: 40%;
}
.hc-img  .fl-row-content-wrap .fl-row-content,
.hc-img .fl-row-content-wrap {
	position: relative;
}

.hc-img .fl-row-content-wrap:before {
	content: "";
	position: absolute;
	width: 50%;
	height: 100%;
	max-height: 950px;
	min-height: 900px;
	top: -10%;
	
	background-repeat: no-repeat;
	background-position: top right;
    background-size: contain;
}
.hc-img.hc-right .fl-row-content-wrap:before {
	background-image: url("/wp-content/uploads/2021/12/half-circle-right.png");
	right: 0;
	background-position: top right;
} 
.hc-img.hc-left .fl-row-content-wrap:before {
	background-image: url("/wp-content/uploads/2021/12/half-circle-left.png");
	left: 0;
	background-position: top left;
}
/* Custom Queries for double button header */
@media screen and (max-width: 1280px) {
	.custom-double-btn .fl-button-group .fl-button-group-buttons .fl-button-group-button {
		padding: 5px!important;
	}
}
@media screen and (max-width: 1170px) {
	.custom-double-btn .fl-button-group .fl-button-group-buttons .fl-button-group-button a.fl-button {
		padding: 14px!important;
	}
	.custom-menu .pp-advanced-menu .menu > li {
		margin-left: 10px;
		margin-right: 10px;
	}
}
@media screen and (max-width: 992px) {
	/* Slanted Edge for tablet */
	.main-bg,
	.contact-page .main-bg {
		width: 100%;
		clip-path: polygon(100% 0, 100% 64%, 0 88%, 0 88%, 0 0);
	}
	.about.main-bg {
		clip-path: polygon(100% 0, 100% 50%, 0 67%, 0 45%, 0 0);
	}
	.custom-pp-testimonials .pp-content-post-carousel .owl-nav button svg {
		width: 32px;
		height: 32px;
	}
	.hover-columns .fl-col-content {
		max-width: calc(100% - 20px);
		margin: 10px auto!important;
	}
	.faded-bg img {
		width: 45%;
		height: 115%;
	}
	
	.hc-img .fl-row-content-wrap:before  {
		top: 0;
   		width: 40%;
	}
}

@media screen and (max-width: 768px) {
	.footer-icons .pp-responsive-left {
		text-align: center;
	}
	.custom-pp-testimonials .pp-content-post.pp-content-carousel-post {
		background-size: 55%;
	}
	.hover-columns .fl-col-content {
		max-width: 360px;
	}
	.faded-bg img {
		display: none;
	}
	.custom-size-circles-bg > .fl-col-content {
		background-size: 60%;
	}
}
@media screen and (max-width: 360px) {
	.hover-columns.visible .fl-col-content {
		margin: 5px 20px!important;
	}
}