/*
Theme Name: Mindboost - Stack Child
* Description: This is a child theme of Stack, generated by Ahoyhoy.
* Author: Ahoyhoy
* Template: stack
* Version: 10.5.16
*/


@import url('../stack/style.css');

/* setting variables */
:root {
    --brand-pink: #E91E63;
    --brand-pink-dark: #BA0A46;
    --section-padding: 4em;
    --section-padding-large: 6em;
  }

/* set global padding */
section, footer {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
} 

section:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.unpad--bottom):not(.border--bottom):not(.space--xxs)+section:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.border--bottom):not(.space--xxs) {
    padding-top: var(--section-padding);
}

.larger-padding{
    padding-top: var(--section-padding-large) !important;
    padding-bottom: var(--section-padding-large);
}

/* change h1 size to match h2 */
h1, .h1{
    font-size: 3em;
    line-height: 1.2em;
}

/* set lasalle font for h1 headings */
h1 em{
    font-family: 'filmotype-lasalle';
    font-size: 60px;
    color: var(--brand-pink);
    font-style: normal;
    font-weight: 400;
}

/* change h1 back to larger size for page hero*/
.hero h1{
    font-size: 5.625em;
    line-height: 1.2em;
}

@media (max-width: 767px) {
    .hero h1{
        font-size: 3.625em;
        line-height: 1em;
    }
}

/* set lasalle font for h2 headings */
h2 em{
    font-family: 'filmotype-lasalle';
    font-size: 60px;
    color: var(--brand-pink);
    font-style: normal;
    font-weight: 400;
}

/* set lasalle font for h3 headings */
h3 em{
    font-family: 'filmotype-lasalle';
    font-size: 30px;
    color: var(--brand-pink);
    font-style: normal;
    font-weight: 400;
}

/* set h6 to uppercase */
h6, .h6 {
    font-size: 1.15em;
    line-height: 1.2em;
    text-transform: uppercase;
}

/* set button color to mindboost pink */
.vc_btn3.vc_btn3-color-pink, .vc_btn3.vc_btn3-color-pink.vc_btn3-style-flat {
    background-color: var(--brand-pink);
}

/* set button hover color to match mindboost pink */
.vc_btn3.vc_btn3-color-pink.vc_btn3-style-flat:focus, .vc_btn3.vc_btn3-color-pink.vc_btn3-style-flat:hover, .vc_btn3.vc_btn3-color-pink:focus, .vc_btn3.vc_btn3-color-pink:hover {
    color: #ffffff;
    background-color: var(--brand-pink-dark);
}

/* increase button left and right padding */
.vc_btn3.vc_btn3-size-md {
    font-size: 1em;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 30px;
    padding-right: 30px;
}

/* add bottom margin to elements */
.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li {
    margin-bottom: 32px;
}

/* make nav bar full width */
.nav-container .container{
    width: 100%;
}

/* customize nav bar font */
.bar-1 .menu-horizontal>li>.dropdown__trigger, .bar-1 .menu-horizontal>li>a {
    font-size: 1em;
    line-height: 2.166666666666667em;
    text-transform: none;
    font-weight: 600;
    letter-spacing: .5px;
}

/* customize nav hover */
.menu-horizontal > li:hover > span, .menu-horizontal > li:hover > a{
    opacity: 1;
    color: var(--brand-pink);
}

.menu-horizontal>li a:hover {
    opacity: 1;
    color: var(--brand-pink) !important;
}

/* fix top padding on sections */
section:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.unpad--bottom):not(.border--bottom):not(.space--xxs)+section:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.border--bottom):not(.space--xxs) {
    padding-top: var(--section-padding);
}


/* position main content behind nav for home page */
.home.main-container{
    position: absolute;
    top: 0;
    z-index: -100;
}

/* position hero section for home page */
.home-hero{
    padding-top: 0 !important;
}

/*remove top padding from hero*/
.home-hero-image-column{
    padding: 0;
}

/* position hero image behind lottie animation for home page */
.home-hero-image {
    position: absolute;
    top: 0;
    z-index: -100;
}

/* position hero dots animation */
.home-lottie-dots{
    position: absolute;
    top: 230px;
    left: 20px;
    z-index: -110;
}


/* change white button text color to black*/
.vc_btn3.vc_btn3-color-white, .vc_btn3.vc_btn3-color-white.vc_btn3-style-flat {
    color: #000;
}

/* change white button hover text color to black*/
.vc_btn3.vc_btn3-color-white.vc_btn3-style-flat:focus, .vc_btn3.vc_btn3-color-white.vc_btn3-style-flat:hover, .vc_btn3.vc_btn3-color-white:focus, .vc_btn3.vc_btn3-color-white:hover {
    color: #000;
}

/* update video modal button to match others */
.modal-trigger {
    color: #ffffff;
    background-color: var(--brand-pink);
    border: 0;
    text-transform: none;
    font-size: 1em;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: 700;
}

/* add shadow to elements */
.add-shadow{
    box-shadow: 0px 10px 20px #00000030;
}

/* add shadow to portfolio items*/
.vc_grid-item-mini {
    box-shadow: 0px 10px 20px #00000030;
}

/* change shadow on rollover for portfolio items*/
.vc_grid-item-mini:hover{
    box-shadow: 0px 2px 4px #00000030;
}


/* add padding to text elements */
@media (min-width: 992px) {
    .text-section{
        padding: 0 10%;
    }
}

/* fix testimonial section alignment */
.testimonial-quote{
    padding-left: 10%;
    padding-right: 10%;
}

/* change testimonial quote font */
.testimonial .h3{
    font-family: 'Merriweather';
    font-style: italic;
    font-size: 1.5em;
    line-height: 1.5em;
}

/* change testimonial name font size */
.testimonial h5{
    font-size: 1em;
}

/* customize blog post feed - shadow and round corners*/
.blog-page-grid .feature, .blog-page-grid-detailed .feature{
    box-shadow: 0px 10px 20px #00000030;
    border-radius: 6px;
    background: #ffffff;
}

/* customize blog post feed - make row of 4*/
.blog-page-grid .masonry__item, .blog-page-grid-detailed .masonry__item{
    width: 25%;
}

/* customize blog post feed - change heading font */
.blog-page-grid .feature .h5{
    font-size: 1em;
    line-height: 1.2em;
    height: 80px;
}

/* customize blog post feed - change heading font */
.blog-page-grid-detailed .feature .h5{
    font-size: 1em;
    line-height: 1.5em;
    margin-bottom: 10px;
}

/* customize blog post feed - change heading font */
.blog-page-grid-detailed .feature p{
    font-size: 0.8em;
    line-height: 1.2em;
    margin-top: 0px;
}

/* customize blog post feed - change read more text */
.blog-page-grid-detailed .btn__text{
    font-size: 1em !important;
    color: var(--brand-pink) !important;
}

/* customize blog post feed - change read more text hover */
.blog-page-grid-detailed .btn__text:hover {
    color: var(--brand-pink-dark) !important;
}

/* customize blog post feed - change content padding*/
.blog-page-grid .boxed, .blog-page-grid-detailed .boxed{
    padding: 1em;
}

/* customize blog post feed - change content padding and set height of image*/
.blog-page-grid .block, .blog-page-grid-detailed .block{
    padding: 1em 1em 0 1em;
    height: 150px;
    overflow: hidden;
}

/* customize blog post feed - change content padding*/
.blog-page-grid-detailed .block{
    padding: 1em 1em 0 1em;
}

/* customize blog post feed - change image rounded corners*/
.blog-page-grid .feature-1>a.block img, .blog-page-grid-detailed .feature-1>a.block img {
    border-radius: 0px;
}

/* customize blog post feed - remove border*/
.blog-page-grid .boxed.boxed--border, .blog-page-grid-detailed .boxed.boxed--border {
    border: 0;
}

/* customize blog post feed - change date font*/
.blog-page-grid .feature__body span, .blog-page-grid-detailed .feature__body span {
    font-size: 0.8em;
    color:#B9C7CE;
}

/* customize blog post feed - remove category dropdown */
.blog-page-grid .masonry-filter-container {
    display: none;
}

/* customize blog post feed - remove padding from row */
.blog-page-grid .masonry hr+.row {
    margin-top: 0;
}

/* customize blog post feed - remove line seperator */
.blog-page-grid hr {
    display: none;
}

/* show category filter in blog archive page */
.sidebar #searchform .col-sm-4, .main-container > .vc_row[data-vc-full-width] .masonry-filter-container + hr, .search .masonry-filter-container, .search .masonry-filter-container + hr, .archive.category .masonry-filter-container, .archive.category .masonry-filter-container + hr, .archive.author .masonry-filter-container, .archive.author .masonry-filter-container + hr {
    display: block;
}

/* fix padding bug in blog archive page*/
.small-padding-bottom{
    padding-bottom: 0em !important;
}

/* change image icon size for client slider on homepage */
.slider .image--xxs {
    max-height: 11.5em;
}

/* remove uppercase styling from footer titles */
.type--uppercase {
    text-transform: none;
}

/* position dot animation on the contact us section */
.light-dots-lottie-contact-us{
    position: absolute;
    right: -120%;
    top: 67%;
}
.light-dots-lottie-contact-us-long{
    position: absolute;
    right: -50%;
    top: 67%;
}

/* position dot animation on the client carousel */
.light-dots-lottie-client-carousel{
    position: absolute;
    left: -54%;
    top: 40%;
}

/* position dot animation on the image background section */
.light-dots-lottie-image-bg{
    position: absolute;
    right: -180%;
    top: 40%;
}

/* fix menu dropdown background */
.dropdown__content{
    width: auto;
    border-radius: 0;
}

/* increase bottom padding to dropdown menu items */
.menu-vertical li:not(:last-child) {
    margin-bottom: 1em;
}

/* remove border radius on dropdown menu */
.dropdown .dropdown__content {
    border-radius: 0px;
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 4%);
    -webkit-box-shadow: 0 10px 10px 0 rgb(0 0 0 / 4%);
    padding: 1.23809524em 1.85714286em;
}

/* remove gap between dropdown and main nav */
.dropdown .dropdown__container:before {
    height: 16px;
}

/* add black overlay to image background */
.black-overlay .vc_parallax-inner:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, #000, #000);
    opacity: .5;
}

/* add black overlay to blog post hero image background */
.black-overlay:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, #000, #000);
    opacity: .5;
}

/* change image caption font - case study type icons */
.wpb_single_image .vc_figure-caption {
    margin-top: 0.2em;
    font-size: 1em;
    font-style: normal;
    font-weight: 700;
}


/* remove bottom padding */
@media (min-width: 992px) {
    .remove-bottom-padding{
        padding-bottom: 0;
    }
}

/* remove vertical transfrom from contact form 7 button */
.btn:hover {
    transform: none;
    -webkit-transform: none;
}

/* change hover on contact form 7 button to match theme */
.btn--primary:hover {
    background: var(--brand-pink-dark);
}

/* change contact form 7 button to match theme */
.btn {
    border-width: 0px;
    line-height: normal;
}

/* remove top border from footer */
section:not([class*='bg--'])+footer.bg--secondary {
    border-top: none;
}

/* change font on blog post body*/
article .article__body p, article .article__body ul {
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 400;
    color: #000;
}

/* change sub-footer colour */
footer.footer-6.bg--secondary .footer__lower {
    background: #455A64;
    color: #fff;
    margin-top: var(--section-padding);
}

/* change sub-footer heading text */
h6.type--uppercase, .h6.type--uppercase {
    letter-spacing: 0px;
    margin-right: 0px;
}

/* change sub-footer colour */
footer.footer-6.bg--secondary .footer__lower a {
    color: #fff;
}

/* set up responsive container widths*/
@media (min-width: 768px) {
    .container {
      width: 100%;
    }
  }
  @media (min-width: 992px) {
    .container {
      width: 100%;
    }
  }
  @media (min-width: 1200px) {
    .container {
      width: 1170px;
    }
  }

  /*add top and bottom padding*/
.add-top-bottom-padding{
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

/* hide pagination from news section*/
.pagination {
    display: none;
}


  /* MOBILE TWEAKS*/

/* add background to dropdown */
.mobile-menu {
    background: #fff;
}

@media (max-width: 991px) {
    .mobile-menu-dropdown {
        background: #fff;
        margin-top: 0px !important;
        padding: 15px;
    }
}

/* align mobile menu to the right */
@media (max-width: 991px) {
    .bar .menu-horizontal {
    text-align: right;
    }
}

/* remove random margin at bottom of mobile dropdown */
@media (max-width: 767px){
.bar__module+.bar__module {
    margin-top: 0;
}
}

/* add padding to menu items in dropdown */
@media (max-width: 991px) {
    .bar.bar--sm .menu-item{
        padding-top:6px;
        padding-bottom:6px;
    }
}

/* center text in mobile */
@media (max-width: 991px) {
    .text-section{
        text-align: center;
        width: 100%;
    }
}

/* center text in mobile */
@media (max-width: 991px) {
    .text-center-mobile{
        text-align: center;
    }
}

/* hide element with this class on mobile */

@media (max-width: 991px) {
    .hide-on-mobile{
        display: none !important;
    }
    .show-on-mobile{
        display: revert;
        width: 100%;
        text-align: center;
    }  
}
  @media (min-width: 992px) {
    .hide-on-mobile{
        display: revert;
    }
    .show-on-mobile{
        display: none;
    } 
  }
  @media (min-width: 1200px) {
    .hide-on-mobile{
        display: revert;
    }
    .show-on-mobile{
        display: none;
    } 
  }

/* fixing a random bug whihc adds a margin to the header */
  @media (min-width: 768px) and (max-width: 1023px){
  .bar-2 .bar__module, .bar-1 .bar__module {
      margin-bottom: 0em;
  }
}


/* set layout of blog posts in tablet view to 2 columns*/
@media (max-width: 768px){
    .masonry .masonry__container .masonry__item {
        width: 50%;
    }
}

/* set layout of blog posts in tablet view to 1 columns*/
@media (max-width: 425px){
    .masonry .masonry__container .masonry__item {
        width: 100%;
    }
}

/* fix yet another random bug to position items in the center - contact us section */
.vc_section-flex > .container {
    justify-content: center;
}

/* fix bug of the drop down bar positin in mobile */
@media (max-width: 767px){
    .bar.bar--mobile-sticky[data-scroll-class*='fixed']+.bar.pos-fixed {
        top: 4.714286em;
    }
    /* remove bottom margin from dropdown menu*/
    .bar__module {
        margin-bottom: 0em;
    }
}

/* round button corners when on 2 lines */
.vc_btn3.vc_btn3-shape-round {
    border-radius: 20em;
}

/* remove bottom padding on mobile */
@media (max-width: 991px) {
    .remove-bottom-padding-mobile{
        padding-bottom: 0 !important;
    }
}

/* left align text on mobile */
@media (max-width: 991px) {
    .left-align-text-mobile{
    text-align: left !important;
    }
}

/* tweak footer layout in mobile*/
@media (max-width: 767px){
/* add padding under widgets and center text*/
    .footer-6 .widget{
      padding-bottom: 2.16666666666667em;
      text-align:center;
    }

/* center align social icons */
    .footer-6 .is-layout-flex {
        justify-content: center;
    }
}


/* reposition dots lottie on hero homepage */
@media (max-width: 767px){
    .home-lottie-dots {
        position: absolute;
        top: 120px;
        left: 20px;
        z-index: -110;
    }
}

/* keep heading sizes the same on mobile*/
@media (max-width: 767px){

    h2, .h2 {
        font-size: 3em;
        line-height: 1.2em;
    }
}

/* make wp from half width field full width in mobile*/
@media (max-width: 767px){
    div.wpforms-container-full .wpforms-form .wpforms-one-half{
        width: 100%;
        margin-left: 0;
    }
}

/*fix home hero size by removing padding*/
@media (max-width: 767px){
    .home-hero.show-on-mobile .col-sm-12{
        padding:0;
    }
    .home-hero.show-on-mobile .wpb_text_column{
        padding:0 15px;
    }
}

/*remove margin from bottom of button*/
.vc_general.vc_btn3 {
    margin-bottom: 0;
}
.vc_btn3-container {
    margin-bottom: 0;
}

/* add extra padding to contact us section*/
.extra-padding{
    padding-top:4em;
    padding-bottom:4em;
}

/* center text in this button */
.vc_btn3.vc_btn3-icon-left {
    text-align: center;
}

/* edit wp-form submit button to match styling*/
.wp-form-button{
    color: #ffffff !important;
    background-color: var(--brand-pink) !important;
    border: 0 !important;
    text-transform: none;
    font-size: 1em;
    padding-left: 30px !important;
    padding-right: 30px !important;
    font-weight: 700;
    border-radius: 60px !important;
}

.wp-form-button:hover{
    background-color: var(--brand-pink-dark) !important;
}

/* improving cookie notice*/
.cookiefirst-root [data-cookiefirst-widget] {
    background: rgb(0 0 0) !important;
    border-radius: 60px !important;
}

.cookiefirst-root [data-cookiefirst-button="primary"] {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(233, 30, 99, 1) !important;
    border-color: rgba(13, 86, 201, 0) !important;
    font-size: 1em;
    padding-left: 30px !important;
    padding-right: 30px !important;
    font-weight: 700;
    border-radius: 60px !important;
}

.cookiefirst-root [data-cookiefirst-button="secondary"] {
    color: rgba(255, 255, 255, 1) !important;
    background: rgba(0, 146, 133, 1) !important;
    border-color: rgba(0, 0, 0, 0) !important;
    font-size: 1em;
    padding-left: 30px !important;
    padding-right: 30px !important;
    font-weight: 700;
    border-radius: 60px !important;
}

.cf1Rhi {
    font-size: 1.15em;
}


/*update twitter icon to X*/
.socicon-twitter{
    font-family:"Font Awesome 6 Brands" !important;
}

.socicon-twitter:before {
    content: "\e61b";
}

/*add rollover to footer icons*/
.social-circle{
    opacity: 0.8;
}

.social-circle:hover{
    opacity:1;
}