/*
Theme Name: iTrain
Template: herrington
Author: GoBig Digital
Author URI: https://gobig-digital.co.uk
Version: 1.0.0
Text Domain: herrington
*/

/* Featured news and events */
.pxl-post--meta.pxl-flex-middle {
    display: none;
}
.pxl-post-carousel2 .pxl-swiper-slide .pxl-post--inner .btn--readmore span.btn--text{
    color: #BF0C6F;
}
.pxl-post-carousel2 .pxl-swiper-slide .pxl-post--inner .post-date {
    display: none;
}

/* Homepage - hide stars */
body.home .pxl-testimonial-carousel1 .pxl-item--star {
    display: none;
}
/* Case studies - hide stars */
.pxl-testimonial-grid2 .pxl-grid-item .right-ct .pxl-item--star {
    display: none;
}
/* Case studies header image */
.elementor-140 .elementor-element.elementor-element-21ebf75:not(.elementor-motion-effects-element-type-background) {
    background-size: auto 90%;
    background-position: right 250%;
}
@media (max-width: 1200px) {
    .elementor-140 .elementor-element.elementor-element-21ebf75:not(.elementor-motion-effects-element-type-background) {
    background-size: auto 100%;
}
}

/* Service pages banner */
.single-service #pxl-content-main > article:first-child > div:first-child > section:first-child.elementor-top-section {
    background-size: cover;
    padding-top: 25%;
    margin-top: 15%;
}
@media (max-width: 1200px) {
    .single-service #pxl-content-main > article:first-child > div:first-child > section:first-child.elementor-top-section {
    padding-top: 20%;
    margin-top: 0%;
    }
}

/* Systems page banner */
.single-industries #pxl-content-main > article.industries-category-expertise:first-child > div:first-child > section:first-child.elementor-top-section {
    background-size: cover;
    padding-top: 25%;
    margin-top: 15%;
}
@media (max-width: 1200px) {
    .single-industries #pxl-content-main > article.industries-category-expertise:first-child > div:first-child > section:first-child.elementor-top-section {
    padding-top: 20%;
    margin-top: 0%;
    }
}
/* Sectors page banner */
.single-industries #pxl-content-main > article.industries-category-sectors:first-child > div:first-child > section:first-child.elementor-top-section {
    background-size: cover;
    padding-top: 39%;
    margin-top: 15%;
}
@media (max-width: 1200px) {
    .single-industries #pxl-content-main > article.industries-category-sectors:first-child > div:first-child > section:first-child.elementor-top-section {
    padding-top: 13%;
    margin-top: 0%;
    }
}


/* Homepage title bottom line */
body.home .pxl-slider-carousel1 .pxl-swiper-slide .swiper-slide-inner .pxl-item--inner .content--wrapper .pxl-item--title:before {
    height: 0;
}

/* No banner on the homepage so don't adjust the top section as much */
body.home #pxl-content-main > article:first-child > div:first-child > div:first-child > section:first-child.elementor-top-section {
    padding-top: 5%;
    margin-top: 0%;
}

/* About pages banner */
#pxl-content-main > article:first-child > div:first-child > div:first-child > section:first-child.elementor-top-section {
    background-size: cover;
    padding-top: 25%;
    margin-top: 10%;
}

/* Remove banner overlay */
#pxl-content-main > article:first-child > div:first-child .elementor-element > .elementor-background-overlay {
    display: none; 
}
/* Remove social icon from team */
.pxl-team-grid1 .pxl-grid-item .pxl-item--inner .pxl-social--wrap {
    display: none;
}
/* Service boxes */
.pxl-post-layout-service-1 {
    padding-bottom: 40px;
}
.pxl-post-layout-service-1 .pxl-grid-item .pxl-holder-content .pxl-post--title {
    min-height: 110px;
}
.pxl-post-layout-service-1 .pxl-grid-item .pxl-holder-content .pxl-post--content {
    min-height: 210px;
}

/* Case studies boxes */
.pxl-portfolio-carousel3 .pxl-post--holder {
    height: 550px;
}