/*
Theme Name: Fast Grow
Description: Fast Grow Theme
Author: Jamo
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fast-grow
*/

.kadence-svg-iconset svg{
    color:#000 !important;
}

#primary-menu .menu-item{
    margin:0 4px !important;
    border-radius:3px;
}

.home-slider-block{
    color:#FFF !important;
}
.home-slider-block .sp-testimonial-content p,
.home-slider-block .sp-testimonial-content div,
.testimonials-inner-inner .sp-testimonial-content p,
.testimonials-inner-inner .sp-testimonial-content div
{
    color:#FFF !important;
    font-size:19px;
    font-style:italic;
    max-width:700px;
    margin:auto;
    padding:10px 20px;
}
.sp-testimonial-post-title, .sp-testimonial-client-name{
    color:#E47B02 !important;
}
.sp-testimonial-client-name{
    font-size:26px !important;
    display:inline-block !important;
    padding: 8px 16px !important;
    background:#FFF;
    border-radius:3px;
}
.sp-testimonial-client-designation{
    color:#FE6528 !important;
    font-style:italic !important;
}

.testimonial-pagination{
    display:none !important;
}

.testimonials-block-inner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.testimonials-inner-inner{
    max-width:800px !important;
    margin:30px auto 0 auto !important;
}

@media (max-width:782px){
.sp-testimonial-free-section,
.sp-testimonial-free-wrapper{
    margin:0 !important;
    min-width:450px !important;
    padding:0 !important;
}
}

@media (max-width: 768px) {

    .home-slider-block .sp-testimonial-free-section,
    .home-slider-block .sp-testimonial-free,
    .home-slider-block .sp-testimonial-item,
    .home-slider-block .swiper-wrapper,
    .home-slider-block .swiper-slide,
    .home-slider-block .slick-track,
    .home-slider-block .slick-slide {
        height: auto !important;
        min-height: 0 !important;
    }


    .home-slider-block [style*="height"] {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-slider-block .sp-testimonial-content p,
    .home-slider-block .sp-testimonial-content div {
        margin-bottom: 0.75em;
}

    .home-slider-block .sp-testimonial-content {
        height: auto !important;
        min-height: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .home-slider-block .sp-testimonial-client-testimonial {
        height: auto !important;
        min-height: 0 !important;
    }

    .home-slider-block .sp-testimonial-free-wrapper {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}







body.page:not(.home):not(.blog) #primary.content-area {
    padding-top: 0;
    margin-top: 0;
}

body.page .content-wrap {
    padding-top: 0;
    margin-top: 0;
}

body.page .site-main {
    padding-top: 0;
    margin-top: 0;
}

body.page .content-container {
    padding-top: 0;
}



body.page:not(.home):not(.blog) #primary.content-area {
    margin-top: 0;
}

body.page:not(.home):not(.blog) #masthead {
    top: 0;
}

body.admin-bar.page:not(.home):not(.blog) #masthead {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar.page:not(.home):not(.blog) #masthead {
        top: 46px;
    }
}






/* Inner pages only: not homepage, not blog archive */
body.page:not(.home):not(.blog) #masthead {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 50;
    background: transparent;
}

/* Make header rows transparent */
body.page:not(.home):not(.blog) #masthead,
body.page:not(.home):not(.blog) #main-header,
body.page:not(.home):not(.blog) .site-header-wrap,
body.page:not(.home):not(.blog) .site-header-row-container-inner {
    background: transparent !important;
}

/* Full-width featured image banner */
body.page:not(.home):not(.blog) .article-post-thumbnail {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Featured image sizing */
body.page:not(.home):not(.blog) .article-post-thumbnail img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Optional dark overlay for nav readability */
body.page:not(.home):not(.blog) .article-post-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
    pointer-events: none;
}

/* Keep page content below image */
body.page:not(.home):not(.blog) article.single-entry {
    position: relative;
    z-index: 2;
}

/* Nav text over image */
body.page:not(.home):not(.blog) #masthead a,
body.page:not(.home):not(.blog) #masthead .menu-toggle-icon {
    color: #fff !important;
}


/*
.article-post-thumbnail img {
    width: 100%;
    height: 300px !important;
    object-fit: cover !important;
    object-position: 80% 50%;
}
*/

@media (max-width: 768px) {
    body.page:not(.home):not(.blog) .article-post-thumbnail img {
        height: 160px;
        object-fit: cover;
        object-position: 85% 50% !important;
    }
}



/* Blog archive hero */
.blog .entry-hero,
.archive .entry-hero {

    position: relative;
    min-height: 350px;

    background: url('/wpcms/wp-content/uploads/2017/08/top_img.jpg') center center no-repeat;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay */
.blog .hero-section-overlay,
.archive .hero-section-overlay {

    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}

/* Keep title above overlay */
.blog .hero-container,
.archive .hero-container {

    position: relative;
    z-index: 2;
}

/* Title styling */
.blog .archive-title,
.archive .archive-title {

    color: #fff;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.blog #masthead {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

body.admin-bar.blog #masthead {
    top: 32px;
}

@media (max-width:782px){
    body.admin-bar.blog #masthead {
        top:46px;
    }
}
body.blog .site-main-header-wrap .site-header-row-container-inner,
body.blog .entry-hero-container-inner{
    background: none !important;
}













