/*
Theme Name: Life Environmental
Theme URI: https://www.loop-digital.co.uk
Author: Loop Digital Marketing Ltd
Author URI: https://www.loop-digital.co.uk
Version: 1.0
*/

html {
    overflow-x: hidden;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    font-size: 62.5%;
}

h1, h2, h3, h4, h5, h6, p, a, div, ul, li, ol, span, input, textarea {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6, a {
    font-weight:700;
}

h2 {
    font-size:3.6rem;
}

h3 {
    font-size:2.6rem;
}

p, a, li, ol, ul, div, span, input, textarea {
    font-size: 1.8rem;
    line-height:3.2rem;
}

p, li, ol, ul, div, span, input, textarea {
    color: #0D1A2D;
}

p {
    margin:1.5rem 0;
}

a {
    color:#4F458A;
    text-decoration: none;
}

i {
    color: #B7BB42;
    font-size:2rem;
}

.button-primary, .button-secondary, input[type="submit"] {
    color: #fff;
    border-radius: 100px;
    font-size: 1.6rem;
    padding: 0.5rem 2.75rem;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    margin: 1rem 0;
    border: none;
    font-weight: 500;
    outline: none;
}

input[type="submit"] {
    text-transform: uppercase;
    font-size: 1.8rem;
    float: right;
}

.button-primary, input[type="submit"] {
    background-color: #4F458A;
}

.button-secondary {
    background-color: #B7BB42;
}

.button-primary:hover, .button-secondary:hover, input[type="submit"]:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.splash {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: splashFade 1.5s ease-out forwards;
}
    
@keyframes splashFade {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    padding: 0 1rem;
    font-weight: 600;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#mega-menu-wrap-primary h3.menu-industry-support {
    font-size: 2.2rem;
    color: #4F458A;
    display: inline-block;
}

#mega-menu-wrap-primary #mega-menu-primary img {
    display:none;
}

#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open+#mega-menu-primary {
    padding: 5rem 2rem;
}

#header {
    position: relative;
    z-index:1000;
}

#header .cta-header {
    display: none;
}

#header-strip {
    background-color: #4F458A;
    -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100;
}

#header-strip a, #header-strip p {
    color:#fff;
    line-height:1.8rem;
    margin:0;
}

#header-strip .tagline {
    display: none;
}

#header-strip .phone-section {
    text-align:center;
}

footer {
  background-color:#EFEFF2;
}

footer .copyright {
    font-weight:700;
    color:#050540;
}

footer a {
    color:#7D96CE;
}

footer .social-link {
    width: 50px;
    height: 50px;
    background-color: #4F458A;
    font-size: 2.1rem;
    text-align: center;
    border-radius: 50%;
    line-height: 50px;
    display: inline-block;
    margin-top:1rem;
    margin-right:1rem;
    transition: all 0.3s ease-in-out;
    font-weight:500;
}

footer .social-link:hover {
    transform: translateY(-3px);
}

footer .social-link i {
    color:#fff;
    transition: all 0.3s ease-in-out;
}

footer .social-link:hover i {
    color:#b6b83d;
}

footer .sitemap-mini a {
    display: inline-block;
    padding: 0 1rem;
    color:#050540;
}

nav#main-navbar {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
}

#hero-banner {
    overflow-y: clip;
}

#hero-banner h1 {
    color:#4F458A;
    font-size:2.4rem;
}

#hero-banner .banner-content p {
    color:#050540;
    font-weight:500;
}

#hero-banner #life-icon {
    display:none;
}

#hero-banner .banner-image {
    display: none;
}

#hero-banner #background-pattern, #internal-banner #background-pattern {
    position: absolute;
    max-width:100%;
    height:auto;
    left:-7rem;
    bottom: -28rem;
    display:block;
    z-index:10;
}

#hero-banner .container {
    position: relative;
    z-index:200;
}

#hero-banner .button-repeater a {
    display: block;
    text-align: center;
}

#internal-banner .container {
    position:relative;
    z-index:300;
}

#internal-banner h1 {
    color: #b6b83d;
    font-size: 4.8rem;
    font-weight: 700;
 }

#internal-banner {
    overflow-y: clip;
}

#internal-banner .banner-content {
    padding-right:0;
}

#internal-banner .banner-images #internal-banner-image-additional {
    display:none;
}

#internal-banner img {
    border-radius:15px;
}

#internal-banner ul {
    padding-inline-start: 0;
}

#internal-banner h2 {
    color:#4F458A;
    padding:2rem 0;
}

#internal-banner h3 {
    padding: 1rem 0 0.5rem 0;
    color:#040440;
}

#internal-banner li {
    padding-bottom: 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}
    
#internal-banner li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    min-width: 30px;
    min-height: 30px;
    line-height: 30px;
    display: inline-block;
    background-color: #b6b83d;
    color: #182857;
    text-align: center;
    border-radius: 50%;
    margin-right: 1.5rem;
    font-size: 2.2rem;
}

#internal-banner #life-icon {
    display: block;
    -webkit-filter: opacity(0.1);
    filter: opacity(0.1);
    max-width: 600px;
    position: absolute;
    top: -10rem;
    right: -18rem;
}

#faqs h2 {
    color:#B7BB42;
}

#faqs .accordion {
    background-color: #4F458A;
    cursor: pointer;
    padding: 1.8rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.8rem;
    transition: all 0.4s ease-in-out;
    color: #fff;
    font-weight: 600;
    border-radius:20px;
}

#faqs .active,
#faqs .accordion:hover {
    background-color: #7D96CE;
}

#faqs .panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #fff;
}

#cards h2, #card h3 {
    color:#4F458A;
}

#cards .container {
    padding: 5rem 2rem;
}
#cards .card-wrapper {
    margin:2rem 0;
}
#cards .single-card {
    margin:0 1rem;
    padding:3rem;
    border-radius:20px;
    background: rgba(196, 194, 217, 1);
    height:100%;
}

#error-404 {
    background-image:url("/wp-content/themes/Life%20Environmental/assets/images/hero-background.png");
    background-size: contain;
    background-repeat: no-repeat;
}

#error-404 h1 {
    font-size: 16rem;
    background: -webkit-linear-gradient(65deg, #7d96ce 10%, #4f458a 50%, #002c8c 100%);
    background-clip:text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#services {
    background: #050540;
    background: -webkit-gradient(linear, left bottom, left top, from(#4F458A), to(#050540));
    background: -o-linear-gradient(bottom, #4F458A, #050540);
    background: linear-gradient(360deg, #4F458A, #050540);
}

#services .services-intro h2, #services .services-intro h3, #services .services-intro span, #services .services-intro li, #services .services-intro p  {
    color:#fff;
}

#services .single-service {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#services .single-service:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

#services .service-label {
    font-size:1.3rem;
    background-color:#7D96CE;
    display:inline-block;
    padding: 0.5rem 1.5rem;
    border-radius:10rem;
    font-weight:600;
    margin:1rem 0 2rem 0;
    color:#fff;
}

#services .service-image {
    max-height:400px;
    border-radius:10px;
    margin:1rem 0;
}

#services #life-icon {
    display:none;
}

#services .services-intro {
    border-bottom:dotted 4px #7d96ce;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

#services .read-more {
    font-weight:500;
    font-size:1.6rem;
}

#cta-box-repeater #contact-rotating-img, #cta-box-repeater #contact-rotating-img-reverse {
    display: none;
}

#footer {
    background-color:#050540;
}

#footer .loc-container {
    display: none;
}


footer .accr-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0;
}

footer .logo-slider {
    width: 100%;
    overflow: hidden;
}

footer .logo-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

@media (min-width: 1500px) {
    footer .logo-slider {
        overflow: visible;
    }

    footer .logo-track {
        transform: none !important;
    }

    footer .logo-slide {
        flex: 1 1 auto !important;
    }
}



footer .logo-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    -o-object-fit: contain;
    object-fit: contain;
    margin:auto;
}

#footer p, #footer a, #footer span, #footer h3 {
    color:#fff;
}

#footer h4 {
    font-size:1.8rem;
}

#footer h4, #footer i {
    color:#7D96CE;
}

#footer .address {
    font-size:1.5rem;
    font-weight:200;
    padding-bottom:2rem;
}

#footer .location-phone a {
    font-size: 1.5rem;
    font-weight: 200;
}

#footer .location-phone a {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#footer a:hover {
    color:#b6b83d;
}

#counter p {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2.5rem;
}

#counter .counter-icon {
    top: -33px;
    left: 45%;
    width: 66px;
    height: 66px;
    text-align: center;
    background-color: #B7BB42;
    color: #fff;
    padding: 1rem;
    border-radius: 50%;
    position: absolute;
    -o-object-fit: contain;
    object-fit: contain;
    border: solid 5px #fff;
    line-height: 3.9rem;
    font-size: 2.7rem;
    z-index: 30;
}

#counter .number {
    font-size: 5rem;
    padding-top: 3.5rem;
    font-weight: 900;
    z-index: 20;
    position: relative;
    background: -webkit-gradient(linear, left top, right top, from(#4F458A), color-stop(#0e2b6f), to(#7D96CE));
    background: -o-linear-gradient(left, #4F458A, #0e2b6f, #7D96CE);
    background: linear-gradient(90deg, #4F458A, #0e2b6f, #7D96CE);
    background-size: 400% 100%;
    -webkit-animation: gradient-slide 50s ease-in-out infinite;
    animation: gradient-slide 50s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#counter .life-icon {
    max-width: 110px;
    top: -30px;
    left: 18%;
    opacity: 0.2;
    z-index: 10;
    position: absolute;
}


@keyframes gradient-slide {
    
    0% {
        background-position: 0% 50%;
    }
    
    50% {
        background-position: 100% 50%;
    }
    
    100% {
        background-position: 0% 50%;
    }

}

#counter h4 {
    color:#B7BB42;
    font-size:2.6rem;
    font-weight:800;
}

#locations .social-link {
    width: 50px;
    height: 50px;
    background-color: #fff;
    font-size: 2.1rem;
    text-align: center;
    border-radius: 50%;
    line-height: 50px;
    display: inline-block;
    margin-top: 1rem;
    margin-right: 1rem;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

#locations .social-link:hover {
    transform: translateY(-3px);
}

#locations .social-link i {
    color: #040440;
    transition: all 0.3s ease-in-out;
}

#locations .social-link:hover i {
    color: #b6b83d;
}

#locations i {
    width:40px;
}

#locations .container {
    position: relative;
    z-index: 400;
}

#locations .map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

#locations p {
    color:#fff;
}

#locations a {
    color: #b6b83d;
}

#locations .map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius:20px;
}

#locations #radial-gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -o-radial-gradient(right bottom, circle, rgb(79, 69, 138) 0%, rgb(5, 5, 64) 50%, rgb(5, 5, 64) 100%);
    background: radial-gradient(circle at right bottom, rgb(79, 69, 138) 0%, rgb(5, 5, 64) 50%, rgb(5, 5, 64) 100%);
    z-index: 200;
}

/* Social icons styling */
.social-link {
    display: inline-block;
    color: #fff;
    margin-right: 12px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #5fb2ff;
}

.map-wrapper iframe {
    pointer-events: none;
}

.map-wrapper.active iframe {
    pointer-events: auto;
}

#accreditations {
    background: -o-radial-gradient(right bottom, circle, #e8e8e8 0%, #f4f4f4 50%, #ddd 100%);
    background: radial-gradient(circle at right bottom, #e8e8e8 0%, #f4f4f4 50%, #ddd 100%);
}

#accreditations-intro h2 {
    font-size: 3.4rem;
    color: #4F458A;
    padding: 7rem 0 4rem 0;
}

#internal-banner-short {
    background: #4F458A;
    background: -o-radial-gradient(bottom right, circle, rgb(79, 69, 138) 0%, rgb(5, 5, 64) 50%, rgb(5, 5, 64) 100%);
    background: radial-gradient(circle at bottom right, rgb(79, 69, 138) 0%, rgb(5, 5, 64) 50%, rgb(5, 5, 64) 100%);
    overflow: clip;
    position: relative;
}

#internal-banner-short #half-circle {
    display:none;
}

#internal-banner-short .container {
    z-index: 100;
    position: relative;
}

#internal-banner-short h1 {
    font-size: 3.8rem;
}

#single-post .featured-image {
    border-radius: 15px;
}

#single-post .publish-date {
    color: #b6b83d;
}

#single-post {
    background: url('/wp-content/themes/Life%20Environmental/assets/images/border-horizontal.png') center center repeat-x;
    background-position: bottom center;   
    padding-bottom:6rem;    
}

#single-post h2 {
    color:#4f458a;
    padding: 2rem 0 0.5rem 0;
    font-size:3.5rem;
}

#single-post h3 {
    padding: 1.5rem 0 0.5rem 0;
}

.single-post #recent-news {
    background: #EFEFF2;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(239, 239, 242, 1)), to(rgba(255, 255, 255, 0)));
    background: -o-linear-gradient(bottom, rgba(239, 239, 242, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(0deg, rgba(239, 239, 242, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

#news-archive img {
    border-radius: 15px;
    width: 100%;
    height: auto;
}
#news-archive h3 {
   color:#0e2b6f;
}

#news-archive .post-date-container span {
    color:#b6b83d;
}
#news-archive .post-title-container, #news-archive .post-date-container {
    position: relative;
    z-index: 100;
}

#news-archive .archive {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 1.5rem;
    -moz-column-gap: 1.5rem;
    column-gap: 1.5rem;
}

#news-archive .archive h3 {
    font-size:2rem;
}

#news-archive .recent-post {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
    -webkit-transition: all, 0.3s ease-in-out;
    -o-transition: all, 0.3s ease-in-out;
    transition: all, 0.3s ease-in-out;
}

#news-archive .recent-post:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

#job-listings h2 {
    border-bottom: dotted 4px #7d96ce;
    padding-bottom: 3rem;
    color:#7d96ce;
}

#job-listings .accordion {
    background-color: #7d96ce;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.6rem;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    color: #fff;
    border-radius: 15px;
    padding: 1.4rem 3rem;
}

 #job-listings .active,
 #job-listings .accordion:hover {
     background-color: #b6b83d;
}

#job-listings .panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.2s ease-out;
    -o-transition: max-height 0.2s ease-out;
    transition: max-height 0.2s ease-out;
}

 #job-listings .single-job-offer {
    position: relative;
    z-index:200;
 }

#fifty-repeater-container {
    position: relative;
    z-index:200;
}

#fifty-repeater-container ul {
    list-style-type: none;
    -webkit-padding-start: 0;
    padding-inline-start: 0;
}

#fifty-repeater-container li {
    padding-bottom: 0.5rem;
    padding-top: 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#fifty-repeater-container p {
    color:#050540;
}

#fifty-repeater-container li:before {
    content: url('/wp-content/themes/Life%20Environmental/assets/images/Li.png');
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 0.5rem;
    margin-top:0.3rem;
}

#fifty-repeater-container h2 {
    color:#4F458A;
    padding-bottom: 1.5rem;
}

#fifty-repeater-container img {
    border-radius: 20px;
    max-width: 100%;
    height:auto;
}

#industry-repeater .container {
    padding-top:3rem;
    padding-bottom:3rem;
}

#industry-repeater .industry-item {
    border-top: dotted 4px #7D96CE;
    padding-top: 3rem;
}

#industry-repeater label {
    display:none;
}

#industry-repeater .form-select {
    background-color: #7d96ce;
    padding: 2rem 0;
    text-align: center;
    margin-bottom:3rem;
    color:#fff;
    font-size:1.6rem;
    border:none;
}

#industry-repeater #half-circle {
    display:none;
}

#industry-repeater {
    background: #4F458A;
    background: -o-radial-gradient(bottom right, circle, rgb(79, 69, 138) 0%, rgb(5, 5, 64) 50%, rgb(5, 5, 64) 100%);
    background: radial-gradient(circle at bottom right, rgb(79, 69, 138) 0%, rgb(5, 5, 64) 50%, rgb(5, 5, 64) 100%);
}

#industry-repeater h2, #industry-repeater h3, #industry-repeater h4, #industry-repeater h5, #industry-repeater h6, #industry-repeater p, #industry-repeater span, #industry-repeater li, #industry-repeater .industry-item a {
    color:#fff;
}

#industry-repeater p, #industry-repeater span, #industry-repeater li {
    font-weight:200;
}

#industry-repeater .industry-item h2 a, #industry-repeater .industry-item h3 a {
    font-size:2.6rem;
    line-height:3.2rem;
    padding-bottom:2rem;
    display:block;
}

#industry-repeater .industry-item ul {
    list-style-type:none;
    padding-inline-start: 0;
}

#industry-repeater .industry-item li {
    margin-left:1rem;
    line-height:3.5rem;
    padding-bottom: 1rem;
    display: block;
}

#industry-repeater .industry-item li:before {
    content:'\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    width:30px;
    height:30px;
    line-height:30px;
    display:inline-block;
    background-color:#b6b83d;
    color:#182857;
    text-align:center;
    border-radius: 50%;
    margin-right:1.5rem;
    font-size:2.2rem;
}

.home.wp-singular #recent-news {
    background: #fff;
}

#recent-news .post-snippet {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#recent-news .post-snippet:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

#recent-news .post-snippet .date-container, #news-archive .date-container {
    color:#7D96CE;
}

#recent-news .post-snippet .date-container .fa-calendar-alt, #news-archive .date-container .fa-calendar-alt {
    color: #7D96CE;
    font-size:2.8rem;
    padding-right:0.75rem;
}

#recent-news .post-snippet .read-more, #recent-news .post-snippet .read-more i, #news-archive .read-more, #news-archive .read-more i {
    color: #050540;
}

#recent-news .post-snippet .read-more, #news-archive .read-more {
    font-size:1.6rem;
}

#recent-news h2 {
   color:#4F458A;
}

#recent-news h3 {
    min-height: auto;
    padding-bottom: 2rem;
    padding-top: 3rem;
}

#recent-news .intro p {
    font-weight:600;
}

#recent-news .button-container {
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#recent-news button.button-primary {
    background-color:#EFEFF2;
    color:#050540;
    font-weight:600;
    width:48%;
}

#recent-news button.button-primary.active {
    background-color: #b6b83d;
    color: #fff;
}

#other-services.all-services h2 {
    font-size: 4rem;
    color: #524c8f;
}

#other-services.all-services .container {
    z-index: 200;
    position: relative;
}

#other-services.all-services .service-wrapper {
    background-position: center;
    min-height:25rem;
}

#other-services .service-wrapper {
    min-height: 10rem;
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 15px;
    position: relative;
    z-index: 200;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#other-services .service-wrapper:hover {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

#clients-slider {
    background-color: #EFEFF2;
}

#clients-slider h2 {
    color:#4F458A;
}

#recent-news #posts-container h3 a {
    font-size:2.6rem;
    display:block;
    min-height:115px;
}

#recent-news #posts-container img {
    height: 180px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 15px;
    -webkit-box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.16);
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.16);
}

#recent-news .intro {
    border-bottom:dotted 3px #7D96CE;
    padding-bottom: 3rem;
}

.clients-viewport {
    --gap: 20px;
    --visible: 7;
}

@media (max-width: 1024px) {
    .clients-viewport {
        --visible: 4;
    }
}

@media (max-width: 768px) {
    .clients-viewport {
        --visible: 2;
    }
}

#clients-slider {
    overflow: hidden;
}

#clients-slider .clients-viewport {
    overflow: hidden;
    position: relative;
}

#clients-slider .clients-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: var(--gap);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: -webkit-transform 700ms cubic-bezier(.22, .9, .34, 1);
    transition: -webkit-transform 700ms cubic-bezier(.22, .9, .34, 1);
    -o-transition: transform 700ms cubic-bezier(.22, .9, .34, 1);
    transition: transform 700ms cubic-bezier(.22, .9, .34, 1);
    transition: transform 700ms cubic-bezier(.22, .9, .34, 1), -webkit-transform 700ms cubic-bezier(.22, .9, .34, 1);
    will-change: transform;
}

#clients-slider .client-logo {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc((100% - ((var(--visible) - 1) * var(--gap))) / var(--visible));
    flex: 0 0 calc((100% - ((var(--visible) - 1) * var(--gap))) / var(--visible));
    height: 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
}

#clients-slider .client-logo img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}

#clients-slider .clients-track, #clients-slider .client-logo, #clients-slider .client-logo img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#clients-slider.clients-track {
    will-change: transform;
}

#main h2 {
    font-size: 3.6rem;
    padding: 1rem 0 0.5rem 0;
    color:#040440;
}

#contact-form input[type="text"], #contact-form input[type="email"], #contact-form input[type="tel"], #contact-form textarea {
    width:100%;
    background-color: transparent;
    color: #050540;
    border:none;
    outline: none;
    border-bottom:solid 4px #050540;
}

#contact-form label {
    width:100%;
    color:#050540;
}

#contact-form.form-white input, #contact-form.form-white label, #cta-box-repeater .white-form input, #cta-box-repeater .white-form label, #cta-box-repeater .white-form textarea {
    color:#fff;
}

#contact-form.form-white input[type="text"], #cta-box-repeater .white-form input[type="text"],
#contact-form.form-white input[type="email"], #cta-box-repeater .white-form input[type="email"],
#contact-form.form-white input[type="tel"], #cta-box-repeater .white-form input[type="tel"],
#contact-form.form-white textarea, #cta-box-repeater .white-form textarea {
    border-bottom: solid 4px #7d96ce;
}

#contact-form.form-white input[type="submit"], #cta-box-repeater .white-form input[type="submit"] {
    background-color:#7d96ce;
}


.wpcf7-acceptance .wpcf7-list-item-label {
    margin-left: 4.5rem;
}

span.wpcf7-list-item-label {
    position: relative;
}

span.wpcf7-list-item {
    margin: 0;
}

#contact-form input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    width: 30px;
    height: 30px;
    z-index: 50;
    cursor: pointer;
    margin-right: 1.5rem;
}

#contact-form input[type="checkbox"]+span:before {
    display: block;
    position: absolute;
    content: "";
    border-radius: 0;
    height: 30px;
    width: 30px;
    top: -6px;
    left: -44px;
    border: 3px solid #7d96ce;
}

#contact-form.form-white input[type="checkbox"]+span:before, #cta-box-repeater .white-form input[type="checkbox"]+span:before {
    border: 3px solid #7d96ce;
}

#contact-form input[type="checkbox"]+span:after {
    display: block;
    position: absolute;
    content: "\2713";
    height: 30px;
    width: 30px;
    top: -6px;
    left: -43px;
    visibility: hidden;
    font-size: 20px;
    text-align: center;
    line-height: 30px;
    color: #050540;
    font-weight: 700;
}

#contact-form.form-white input[type="checkbox"]+span:after, #cta-box-repeater .white-form input[type="checkbox"]+span:after {
    color: #7d96ce;
}

#contact-form input[type="checkbox"]:checked+span:after {
    visibility: visible;
}

#cta-box-repeater {
    padding:0;
}

#cta-box-repeater .container {
    padding: 3rem;
    border-radius: 0;
    max-width:100%;
}

#cta-box-repeater img {
    border-radius:20px;
}

#cta-box-repeater h1 {
    font-size:4.8rem;
}

#cta-box-repeater .container h2 {
    font-size:4rem;
} 

#cta-box-repeater .container p, #cta-box-repeater .container a, #cta-box-repeater .container li, #cta-box-repeater .container span {
    color: #fff;
}

#cta-box .container {
    background-color:#7D96CE;
    background-image:url('/wp-content/themes/Life%20Environmental/assets/images/background2.png');
    background-size:cover;
    background-repeat:no-repeat;
    padding:5rem 2rem;
    border-radius: 10px;
}

#cta-box .container p, #cta-box .container a, #cta-box .container li, #cta-box .container span {
    color:#fff;
}

#cta-box .container h2 {
    font-size:4.8rem;
}

@media (max-width: 768px) {
    #clients-slider .client-logo {
        height: 70px;
    }
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes slowRotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@media screen and (min-width:576px) {
    #cta-box-repeater .container {
        padding: 5rem;
    }
    #cta-box .container {
        background-size:contain;
    }

    #cta-box-repeater #contact-rotating-img {
        animation: slowRotate 60s linear infinite;
        display:inline-block;
    }

    #cta-box-repeater #contact-rotating-img-reverse {
        animation: slowRotateReverse 60s linear infinite;
        display:inline-block;
    }
    
    #cards .container {
        border-left: dotted 4px #7D96CE;
        border-right: dotted 4px #7D96CE;
        padding: 5rem 4rem;
    }
}

@media screen and (min-width: 768px) {
    #hero-banner .button-repeater a {
        display:inline-block;
    }
    
    #counter .life-icon {
        max-width: 128px;
        top: -30px;
        left: 29%;
    }
        
    #counter .counter-icon {
        top: -44px;
        left: 41%;
    }
        
    #counter .number {
        font-size: 8.8rem;
    }

    #counter p {
        font-size:1.8rem;
        line-height:3.4rem;
    }
}

@media screen and (min-width: 992px) {
    h2 {
        font-size: 4.8rem;
    }

    #news-archive .archive h3 {
        font-size: 2.6rem;
    }
    
    #header-strip .tagline {
        display: block;
        font-weight: 600;
    }

    #header-strip .phone-section {
        text-align: end;
    }

    #industry-repeater {
        overflow:clip;
    }

    #industry-repeater .industry-item {
        border:none;
        padding-top:0;
    }
    
    #industry-repeater .ind-label {
        display:none;
    }
    
    #industry-repeater .container {
        z-index:100;
        position: relative;
    }

    #industry-repeater #half-circle {
        display:block;
        position: absolute;
        right:-45rem;
        bottom:-42rem;
        z-index:10;
    }

    #industry-repeater  .industry-list-item {
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: solid 3px #7D96CE;
        margin-bottom: 2rem;
       
    }

    #industry-repeater .industry-list-item:has(.active) {
        border-bottom: solid 3px #B7BB42;
    }

    #industry-repeater .industry-nav-wrapper {
        padding-right:4rem;
    }
    
    #industry-repeater button.industry-link {
        font-size: 2rem;
        padding-bottom: 1.5rem;
        text-decoration: none;
        display: inline-block;
        color: #82829f;
    }
    
    #industry-repeater .industry-list-item button.industry-link.active {
        color:#fff;
    }

    #cta-box-repeater .container {
        max-width:960px;
        border-radius:20px;
    }

    #cta-box-repeater .container h2 {
        font-size:4.8rem;
    }

    #recent-news h3 {
        min-height: 15rem;
    }

    #recent-news button.button-primary {
        width:100%;
        margin-right:1rem;
    }

    #recent-news .button-container {
        flex-wrap: nowrap;
    }
   
}

@media screen and (min-width: 1200px) {
    #header {
        background: #FFF;
        background:linear-gradient(120deg, rgba(255, 255, 255, 1) 68%, rgba(82, 76, 143, 0.35) 80%, rgba(82, 76, 143, 0.45) 85%, rgba(82, 76, 143, 0.2) 97%, rgba(255, 255, 255, 1) 100%);
    }

    #header .cta-header {
        display: block;
    }

    #mega-menu-wrap-primary #mega-menu-primary img {
        display: inline;
    }

    #cta-box-repeater .container {
        max-width: 1140px;
    }
    #news-archive img {
        height:250px;
        object-fit:cover;
    }

    #footer .loc-container {
        display: block;
    }

    #footer .contact-info {
        border-bottom: dotted 3px #7D96CE;
    }

    #footer .address {
        min-height:215px;
    }
    
    #hero-banner {
        min-height: 80vh;
        overflow: hidden;
    }
    
    #internal-banner {
        min-height: 40vh;
    }
    
    #internal-banner .banner-images #internal-banner-image-additional {
        display: inline-block;
    }
    
    #hero-banner .banner-image {
        display: block;
    }
    
    #hero-banner .banner-content, #internal-banner .banner-content {
        z-index: 100;
        position: relative;
    }

    #internal-banner .banner-content {
        padding-right:8rem;
    }
    
    #hero-banner h1 {
        font-size: 5.4rem;
        color: #4F458A;
        font-weight: 700;
    }
    
    #internal-banner h1 {
        color: #B7BB42;
        font-size: 5.4rem;
        font-weight: 700;
    }
    
    #hero-banner img, #internal-banner img {
        border-radius: 10px;
        z-index: 100;
        position: relative; 
    }
    
    #hero-banner #life-icon, #internal-banner #life-icon {
        display: block;
        position: absolute;
        top: -25rem;
        right: -50rem;
        z-index: 10;
         max-width: 1100px;
        filter: none;
    }

    #internal-banner #internal-banner-image-additional {
        margin-top: 6rem;
        margin-right: 0;
        max-width: 80%;
        -webkit-transition: margin-right 0.3s ease-out;
         -o-transition: margin-right 0.3s ease-out;
        transition: margin-right 0.3s ease-out;
    }

    #fifty-repeater-container p {
        color: #0D1A2D;
    }

    #fifty-repeater-container .row-odd {
        padding: 2rem 0 2rem 5rem;
    }
        
    #fifty-repeater-container .row-even {
        padding: 2rem 5rem 2rem 0;
    }
    
    #counter .counter-icon {
        left: 50%;
    }
    
    #services {
        background: url('/wp-content/themes/Life%20Environmental/assets/images/border.png'), linear-gradient(360deg, #4F458A, #050540);
        background-repeat: repeat-y;
        background-position: center;
     }

    #services .services-intro {
        border-bottom: none;
    }

    #services #life-icon {
        position: absolute;
        left: -5rem;
        -webkit-transform: rotate(245deg);
        -ms-transform: rotate(245deg);
        transform: rotate(245deg);
        bottom: 1rem;
        max-width: 51vw;
        -webkit-animation: slowRotate 180s linear infinite;
        animation: slowRotate 180s linear infinite;
    }

    #news-archive .archive {
        column-count: 3;
    }
}

@media screen and (min-width:1400px) {
    #cta-box-repeater .container {
        max-width: 1320px;
    }             
}

@media screen and (min-width: 1500px) {
    #internal-banner-short h1 {
        font-size: 4.8rem;
    }

    #internal-banner-short #half-circle {
        display: block;
        position: absolute;
        right: -25rem;
        bottom: -15rem;
        z-index: 10;
    }

    #counter .life-icon {
        max-width: 135px;
    }

    #news-archive .archive h3 {
        min-height:12rem;
    }

    footer .address {
        min-height: auto;
    }

    footer .logo-slider {
        overflow: visible;
        width:100%;
    }
    
    footer .logo-track {
        transform: none !important;
        transition: none !important;
        width:100%;
    }

    footer .logo-slide {
        padding: 10px;
    }
    
    footer .logo-slide img {
        max-height: 80px;
        width: auto;
    }

    #services .services-intro {
        padding-right:6rem;
    }

    #industry-repeater .container {
        border-left:dotted 4px #7D96CE;
        border-right:dotted 4px #7D96CE;
        padding:5rem 4rem;
    }

    #industry-repeater .industry-item {
        padding:0 4rem;
    }
    
    #counter .number {
        padding-top:2.5rem;
    }
    #services #life-icon {
        display:block;
    }
}

@media screen and (min-width: 1799px) {
    #internal-banner #internal-banner-image-additional {
        margin-right: -20rem;
        -webkit-transition: margin-right 0.3s ease-out;
        -o-transition: margin-right 0.3s ease-out;
        transition: margin-right 0.3s ease-out;
    }

    #industry-repeater #half-circle {
        right: -25rem;
        bottom: -15rem;
    }
}