/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*Header and Navigation*/
.awb-menu__main-li:first-child a {
	padding-left: 0px !important;
}
.awb-menu__main-li:last-child a {
	padding-right: 0;
}

.awb-menu__main-li:first-child a::before {
	display: none !important;
}

.awb-menu__main-li:last-child a::after {
	display: none !important;
}

/* Padding for menu with testimonials tab */
/*  .awb-menu__main-li {
	padding: 0 3% 0 0%;
} */

/* Padding for menu without Testimonials tab */
.awb-menu__main-li {
	padding: 0 5% 0 0%;
}
/* @media only screen and (max-width: 1080px) {
	.rev-btn {
		font-size: 1.5rem !important;
		line-height: 2.5rem !important;
	}
}
@media only screen and (max-width: 800px) {
	.rs-parallax-wrap:first-of-type {
		top: 35px !important;
	}
	.rs-parallax-wrap:last-of-type {
		top: 95px !important;
	}
	.rs-parallax-wrap:nth-last-child(2) {
		top: 20px !important;
	}
}
@media only screen and (max-width: 620px) {
	.rs-parallax-wrap:first-of-type > .rs-layer {
		height: 160px !important;
	}
}
@media only screen and (max-width: 499px) {
	.rs-parallax-wrap:first-of-type > .rs-layer {
		height: 150px !important;
	}
	.rs-parallax-wrap:last-of-type {
		top: 130px !important;
	}
	.rs-parallax-wrap:nth-last-child(2) {
		top: 70px !important;
	}
} */
/* Navigation Pipe Solution */
nav li {
	border-right: 1px solid #000;
	padding: 1rem;
	line-height: 1 !important;
}

/* nav li:first-of-type {
	padding-left: 0;
} */

nav li:last-of-type {
	border-right: none;
	padding-right: 0;
}
/** MENU **/
.awb-menu__main-li_regular.current-menu-item
	.awb-menu__main-a_regular
	.menu-text,
.awb-menu__main-li_regular > span,
.awb-menu__main-li_regular:focus-within,
.awb-menu__main-li_regular:active .awb-menu__main-a_regular .menu-text,
.awb-menu__main-li_regular:focus .awb-menu__main-a_regular .menu-text,
.awb-menu__main-li_regular:hover .awb-menu__main-a_regular .menu-text {
	color: #879c9a !important;
}
.awb-menu__main-li_regular.current-menu-item .awb-menu__main-a_regular,
.awb-menu__main-li_regular.current-menu-item
	.awb-menu__main-a_regular
	.menu-text {
	font-weight: bold !important;
}

.branch-find-submit-btn {
	text-transform: uppercase;
	width: 200px !important;
}
.branch-find-submit-btn:hover {
	cursor: pointer;
}
/*Ninja Forms*/
.nf-form-fields-required {
	display: none;
}

/*Blog Listing Page*/
#twg-blog .fusion-post-grid:nth-child(3n + 1) .fusion-post-wrapper,
#twg-blog
	.fusion-post-grid:nth-child(3n + 1)
	.fusion-post-wrapper
	.fusion-flexslider {
	background-color: #edf1f1 !important;
}
#twg-blog .fusion-post-grid:nth-child(3n + 2) .fusion-post-wrapper,
#twg-blog
	.fusion-post-grid:nth-child(3n + 1)
	.fusion-post-wrapper
	.fusion-flexslider {
	background-color: #2c2c2c !important;
}
#twg-blog
	.fusion-post-grid:nth-child(3n + 2)
	.fusion-post-wrapper
	.fusion-post-content,
#twg-blog
	.fusion-post-grid:nth-child(3n + 2)
	.fusion-post-wrapper
	.fusion-post-content
	.blog-shortcode-post-title
	a,
#twg-blog
	.fusion-post-grid:nth-child(3n + 3)
	.fusion-post-wrapper
	.fusion-post-content,
#twg-blog
	.fusion-post-grid:nth-child(3n + 3)
	.fusion-post-wrapper
	.fusion-post-content
	.blog-shortcode-post-title
	a {
	color: #fff;
}
#twg-blog
	.fusion-post-grid:nth-child(3n + 2)
	.fusion-post-wrapper
	.fusion-post-content
	.blog-shortcode-post-title
	a:hover {
	color: var(--link_hover_color);
}
#twg-blog
	.fusion-post-grid:nth-child(3n + 3)
	.fusion-post-wrapper
	.fusion-post-content
	.blog-shortcode-post-title
	a:hover {
	color: #2c2c2c;
}
#twg-blog .fusion-post-grid:nth-child(3n + 3) .fusion-post-wrapper,
#twg-blog
	.fusion-post-grid:nth-child(3n + 1)
	.fusion-post-wrapper
	.fusion-flexslider {
	background-color: #879c9a !important;
}
#twg-blog .fusion-post-grid .fusion-post-wrapper,
#twg-blog .fusion-blog-layout-grid .fusion-post-slideshow {
	border: none !important;
}
#twg-blog .fusion-post-grid .fusion-post-wrapper .fusion-post-content {
	display: flex;
	flex-direction: column;
}
#twg-blog
	.fusion-post-grid
	.fusion-post-wrapper
	.fusion-post-content
	.blog-shortcode-post-title {
	order: 1;
}
#twg-blog
	.fusion-post-grid
	.fusion-post-wrapper
	.fusion-post-content
	.fusion-single-line-meta {
	order: 3;
	font-family: 'Utopia Std';
	font-size: 1.25rem;
	line-height: 1.5rem;
	font-weight: 600;
	font-style: italic;
	margin-top: 1rem;
}
#twg-blog
	.fusion-post-grid
	.fusion-post-wrapper
	.fusion-post-content
	.fusion-post-content-container {
	order: 2;
}
#twg-blog
	.fusion-post-grid
	.fusion-post-wrapper
	.fusion-post-content
	.fusion-content-sep {
	display: none !important;
}

#twg-blog
	.fusion-post-grid
	.fusion-post-wrapper
	.fusion-post-content-wrapper
	.fusion-read-more {
	display: inline-block;
	max-width: 235px;
	width: 100%;
	text-align: center;
	line-height: 2em;
	padding: 18px;
}
#twg-blog
	.fusion-post-grid
	.fusion-post-wrapper
	.fusion-post-content-wrapper
	.fusion-read-more::after {
	display: none !important;
}

#twg-blog
	.fusion-post-grid:nth-child(3n + 1)
	.fusion-post-wrapper
	.fusion-post-content-wrapper
	.fusion-read-more {
	background-color: #2c2c2c;
	color: #fff;
}
#twg-blog
	.fusion-post-grid:nth-child(3n + 2)
	.fusion-post-wrapper
	.fusion-post-content-wrapper
	.fusion-read-more,
#twg-blog
	.fusion-post-grid:nth-child(3n + 3)
	.fusion-post-wrapper
	.fusion-post-content-wrapper
	.fusion-read-more {
	background-color: #edf1f1;
	color: #2c2c2c;
}
#twg-blog
	.fusion-post-grid
	.fusion-post-wrapper
	.fusion-post-content-wrapper
	.fusion-read-more {
	font-size: 1.25rem;
	line-height: 1.25rem;
	text-transform: uppercase;
	font-family: 'Utopia Std';
	letter-spacing: -1px;
	font-weight: 600;
}
#twg-blog .pagination {
	justify-content: center;
}

/* Blog Load More Button */
.fusion-blog-shortcode .fusion-load-more-button.fusion-blog-button{
	border: 2px solid #ffffff !important;
}
.fusion-blog-shortcode .fusion-load-more-button.fusion-blog-button:hover{
	border: 2px solid #d3a284 !important;
}

/* Testimonials */
#twg-testimonials .review .testimonial-thumbnail {
	min-width: 100%;
	margin-bottom: 0px;
}
#twg-testimonials .review .testimonials-shortcode-blockquote .awb-quote {
	padding: 5%;
}
#twg-testimonials .review .testimonials-shortcode-blockquote .awb-quote h2,
#twg-testimonials .review .testimonials-shortcode-blockquote .awb-quote p {
	color: #fff;
}
#twg-testimonials .review .testimonials-shortcode-blockquote .awb-quote p {
	font-family: 'Utopia Std';
	font-weight: 600;
	font-style: italic;
	font-size: 1.75rem;
	line-height: 2.1rem;
}
#twg-testimonials
	.review:nth-child(odd)
	.testimonials-shortcode-blockquote
	.awb-quote {
	background-color: #869794;
}
#twg-testimonials
	.review:nth-child(even)
	.testimonials-shortcode-blockquote
	.awb-quote {
	background-color: #2c2c2c;
}

#twg-counterbox .fusion-counter-box .counter-box-container {
	display: flex;
	flex-direction: column-reverse;
	padding-left: 0px;
	padding-right: 0px;
	background: transparent
		url(/wp-content/themes/Avada-Child-Theme/images/guarantee-bckg-1.jpg)
		no-repeat center -12px;
	min-width: 140px;
}
@media only screen and (max-width: 1080px) {
	#twg-counterbox .fusion-counter-box {
		width: 33.33%;
		float: left;
	}
}
@media only screen and (max-width: 560px) {
	#twg-counterbox .fusion-counter-box {
		width: 50%;
	}
}
@media only screen and (max-width: 460px) {
	#twg-counterbox .fusion-counter-box {
		width: 100%;
	}
}

#twg-counterbox .fusion-counter-box:last-of-type .counter-box-container {
	background: transparent
		url(/wp-content/themes/Avada-Child-Theme/images/guarantee-bckg-2.jpg)
		no-repeat center -12px;
}
#twg-counterbox
	.fusion-counter-box
	.counter-box-container
	.counter-box-content {
	font-family: 'futura-pt';
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	line-height: 18px;
}

/* Homepage Link */

.home-link{
    display: inline-block;
    position: relative;
}
.home-link:after{
	content: '';
    background: #000;
    width: 100%;
    height: 1.5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: .1s;
    pointer-events: none;
}

.home-link:hover:after{
   display: none
}
/* Homepage Image frame */
/* .home-img-bdr:hover{
	outline: 1px solid #ffffff;
	outline-offset: 15px
} */
/* Drop-down hide border-right */
.bdr-hide{
	border-right: none;
}
.awb-menu_expand-right .awb-menu__sub-ul_main {
	left: -43px !important;
	top: 20px !important;
}

/* Load More Button width */
.fusion-load-more-button{
	width: 20% !important;
}
/* Remove Category on Portfolio grid images */
.fusion-rollover-categories{
	display: none;
}
/* Portfolio Pagination Style */
.single-navigation{
	border: 0 !important;
	margin-top: 20px;
	margin-bottom: 40px;
	font-family: 'futura-pt', Arial, sans-serif;
}
/* Hide Featured Image  */
.page .post-slideshow {
	display: none;
}

/* Menu Footer */
.fusion-footer nav li{
	border-right: none !important;
}

.fusion-footer .awb-menu__main-li {
	padding: 0 1% 0 0%;
}

.menu-img span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Header Media Query */
@media only screen and (max-width:786px) {
	.header-branches{
		font-size: 0.8rem !important;
	}
}