/*
	Theme Name: Rutland Glass
	Theme URI: What is the final domain
	Description: Custom created for Rutland Glass
	Version: 1.0
	Author: KWD Marketing Corp
	Author URI: https://kwdmarketing.ca
	Tags: Blank, HTML5, CSS3
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

:root {
  /* Colors */
  --white: #FFFFFF; 
  --light-gray: #F5F7FA;
  --gray-blue: #EDF1F7; 
  --slate: #7587A0;
  --medium-blue: #1F6AB0;
  --brand-blue: #0055A5;
  --dark-navy: #063349;
  --midnight-blue: #0A1C31;
  --black: #000000;
  --teal: #00A88F;
}

.white { color: var(--white); }
.light-gray { color: var(--light-gray); }
.light-gray-bg { background-color: var(--light-gray); }
.gray-blue-bg { background-color: var(--gray-blue); }

.gray-blue { color: var(--gray-blue); }
.slate { color: var(--slate); }
.medium-blue { color: var(--medium-blue); }
.brand-blue { color: var(--brand-blue); }
.dark-navy { color: var(--dark-navy); }
.midnight-blue { color: var(--midnight-blue); }
.midnight-blue-bg { background: var(--midnight-blue); }
.black { color: var(--black)!important; }
.teal { color: var(--teal); }
.gold {color: #FFCE00;}
.white-bg {background: #fff;}
.brand-blue-bg {
    background-color: var(--brand-blue);
}
.new-blue-bg {
    background-color: #0D2240;
}
.playfair {
	 font-family: 'Playfair Display', serif;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 72px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 52px;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 36px;
}

h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 28px;
}

h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 22px;
}
.approach.uk-grid-divider>:not(.uk-first-column)::before
 
 {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    border-left: 2px solid var(--slate);
}

.brow {
	font-size: 16px;
	font-weight: 600;
}
a.phone:hover {
	color: var(--teal);
	
	text-decoration: none;
}

/* This targets the icon inside the hovered link */
a.phone:hover i {
	color: var(--teal) !important; 
}
.lh-0 {
    line-height: 0 !important;
}
.banner-google {
	max-width: 55%;
}
.banner-form {
    background: #0A1C31;
    padding: 40px;
    color: #fff !important;
    margin-top: -130px;
    z-index: 99;
    position: relative;
}
.google-card.uk-position-large {
        margin: 164px!important;
        --uk-position-margin-offset: 50px;
    
	 
	
}
em {
    color: #444!important;
}
form#user-login-form{
	border: 1px solid #ccc;
	margin: 0 auto;
	padding: 20px;
	max-width: 400px;
	width: 100%;
}
select.orderby {
    border-radius: 3px;
    border: 1px solid #ccc;
    color: #6d6d6d;
    background: #fbfbfb;
    font-size: 12px;
    padding: 5px 10px;
}
a.btn {
    display: inline-block;
    background: var(--teal);
	font-size: 16px;
	font-weight: 600;
    padding: 12px 15px;
    margin: 6px 0;
    border-radius: 4px;
    color: #fff;
    transition: ease-in-out all .2s;
}

a.btn:hover {
    text-decoration: none;
    background: var(--brand-blue);
	color: #fff;
}
.brand-blue-bg a.btn:hover {
    text-decoration: none;
    background: var(--medium-blue);
	color: #fff;
}
a.clear-btn {
    display: inline-block;
    background: none;
	font-size: 16px;
	border: 2px solid white;
	font-weight: 600;
    padding: 10px 15px;
    margin: 6px 0;
    border-radius: 4px;
    color: #fff;
    transition: ease-in-out all .2s;
}
a.clear-btn-2 {
    display: inline-block;
    background: none;
    font-size: 16px;
    border: 2px solid var(--brand-blue);
    font-weight: 600;
    padding: 10px 15px;
    margin: 6px 0;
    border-radius: 4px;
    color: var(--brand-blue);
    transition: ease-in-out all .2s;
}
a.clear-btn:hover {
    text-decoration: none;
    background: var(--white);
	color: var(--teal);
}
a.clear-btn-2:hover {
    text-decoration: none;
	border: 2px solid var(--brand-blue);

    background: #063349;
	color: #fff;
}

 a.blue-btn {
    display: inline-block;
    background: var(--brand-blue);
	font-size: 18px;
	font-weight: 600;
	border-radius: 4px;
    padding: 6px!important;
    margin: 6px 0;
    color: #fff;
    transition: ease-in-out all .2s;
}
a.blue-btn:hover {
    text-decoration: none;
    background: #063349;
	color: var(--white);
}
 a.blue-btn-2 {
    display: inline-block;
    background: var(--brand-blue);
	font-size: 18px;
	font-weight: 600;
	padding: 10px 15px;
	border-radius: 4px;
    margin: 6px 0;
    color: #fff;
    transition: ease-in-out all .2s;
}
a.blue-btn-2:hover {
    text-decoration: none;
    background: #063349;
	color: var(--white);
}
a.story-btn {
    display: inline-block;
    background: var(--brand-blue);
	font-size: 18px;
	font-weight: 600;
    padding: 17px 33px ;
    margin: 6px 0;
    color: #fff;
    transition: ease-in-out all .2s;
}
a.story-btn:hover {
    text-decoration: none;
    background: #063349;
	color: var(--white);
}
/* Base style for card header overlays */
.commercial-gradient, .residential-gradient, .auto-gradient {
    padding:   5px !important;
	margin: 30px 0 0 0;
	text-shadow: 0px 3px 6px #0000008F;
	
}

/* Define the specific gradients */
.commercial-gradient {
    background: linear-gradient(270deg, #00A88F00 0%, #008673 17%, #008875 82%, #00A88F00 100%);
}

.residential-gradient {
    background: linear-gradient(270deg, #0055A500 0%, #0055A5 17%, #0055A5 82%, #0055A500 100%);
}

.auto-gradient {
    background: linear-gradient(270deg, #06334900 0%, #063349 17%, #063349 82%, #06334900 100%);
}

.light-gray-square {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 60px !important;
    height: 60px !important;
    background-color: var(--light-gray) !important;
    border-radius: 8px !important;
    flex-shrink: 0;
}

/* Section Background */
.why-choose-us-section {
    background-color: #0b1a2d;
}

 
.blue-square {
    background-color: #0056b3;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.page-id-146 .blue-square {
    background-color: #0056b3;
    color: #ffffff;
    width: 50px;
    height:50px;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
	
}
.teal-square {
    background-color: var(--teal);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.cta-section {
	background-image:url(images/building-glass-closeup-blue.webp);
	background-size: cover;
}
/* -----------------------------------------
   Split Content Section (Layout Only)
----------------------------------------- */

.split-specialists-section {
    margin-bottom: 60px; /* Space for the dropping badge */
}

/* Background layout color */
.split-left-panel {
    background-color: var(--dark-navy); 
}

/* Flips the Font Awesome phone icon horizontally */
.phone-icon {
    font-size: 32px;
    transform: scaleX(-1); 
}

/* -----------------------------------------
   Right Panel & Dropping Badge Layout
----------------------------------------- */

.right-panel-wrapper {
    position: relative;
    min-height: 400px;
}

.experience-badge {
    position: absolute;
    bottom: -30px; 
    right: 40px;
    background-color: var(--teal);
    border-radius: 10px;
    z-index: 10;
 
    aspect-ratio: 1 / 1; 
    display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px 15px 20px; 
}
.phone-number-display {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
	transition: all .2s ease-in-out;
	cursor: pointer;
}
.phone-number-display:hover {
	color:var(--teal);
} 
 
 
/* -----------------------------------------
   Project Cards Loop
----------------------------------------- */

.project-card {
    aspect-ratio: 1 / 1; /* Forces a perfect square at all screen sizes */
    text-decoration: none !important;
    border-radius: 2px; /* Keeps edges sharp, matches design */
    overflow: hidden;
}

 
.project-card img {
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}
 
.project-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
}

 
.project-link {
    font-size: 18px;
    font-weight: 700;
}

 
.project-card:hover .white {
    color: var(--white);
    text-decoration: none;
}
/* -----------------------------------------
   Testimonials Slider Section
----------------------------------------- */

/* Background Class using your existing variable */
.midnight-blue-bg {
    background-color: var(--midnight-blue);
}

 
 
.slider-nav-btn {
    background-color: var(--teal);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: background-color 0.2s ease-in-out;
    margin: 15px;
}

.slider-nav-btn:hover {
    background-color: var(--brand-blue);
    color: var(--white);
}

/* Subtly tint the UIkit grid dividers so they show up nicely on dark blue */
.midnight-blue-bg .uk-grid-divider > :not(.uk-first-column)::before {
    border-left-color: rgba(255, 255, 255, 0.1);
}

/* Custom Dot Navigation Colors */
.custom-dotnav > * > * {
    background-color: rgba(255, 255, 255, 0.4); /* Faded white for inactive dots */
    border: none;
}

.custom-dotnav > .uk-active > * {
    background-color: var(--teal); /* Teal for the active dot */
}
/* -----------------------------------------
   Locations Section
----------------------------------------- */

 
.location-wrapper {
    padding-top: 30px;
    border-top: 2px solid transparent;
}
 

.head-office-badge {
    position: absolute;
    top: -2px;
    right: 0;
    background-color: var(--teal);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

 
.head-office-border {
    border-top: 2px solid var(--teal);
    border-right: 2px solid var(--slate);
}
.location-2-border {
 
    border-right: 2px solid var(--slate);
}
 

/* Adds a hover effect for your brand blue links */
a.brand-blue:hover {
    color: var(--teal);
    text-decoration: none;
}


.story-quote-box {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--brand-blue);
    padding: 10px 20px;
    width:86%;
    box-sizing: border-box;
}
 
 

.story-values-grid {
    border-top: 1px solid var(--slate);
	
}

.story-value-item {
    padding-top: 20px;
    padding-right: 20px;
}

.story-vertical-line {
        border-left: 1px solid var(--slate);  
        padding-left: 20px;  
    }


.check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.check-list li {
    padding: 20px 0;
    border-bottom: 1px solid #d1d9e6;
    display: flex;
    align-items: center;
    font-size: 18px;
	margin-bottom: 20px auto;
}

.check-icon {
    color: var(--teal);
    margin-right: 15px;
    font-size: 18px;
}

.info-alert-box {
    background-color: var(--brand-blue);
    padding: 20px;
    display: flex;
    align-items: center;
}

.info-alert-text {
    color: var(--white);
    font-size: 18px;

    margin: 5px 0 0 0;
}

.info-alert-icon {
    color: var(--teal);
    font-size: 28px;
    margin-right: 18px;

}

.image-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #0055a5b9;
    padding: 10px 30px;
    width: 80%;
    box-sizing: border-box;
}
 

.service-cell {
    border-bottom: 1px solid #d1d9e6;
    border-right: 1px solid #d1d9e6;
}

.service-cell:last-child {
    border-bottom: none;
	border-right: none;
}
.service-cell:nth-child(3) {
 
    border-right: none;
}
.service-cell:nth-child(4),
.service-cell:nth-child(5),
.service-cell:nth-child(6) {
    border-bottom: none;
}
.service-content {
    padding: 40px 30px;
    height: 100%;
    box-sizing: border-box;
}

.service-icon {
    background-color: #f0fdfa; 
    color: var(--teal);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 30px;
    margin-bottom: 20px;
}
 
 

.highlight-cell .service-content {
    background-color: #f8fafc;
}
.highlight-cell .service-icon {
    background-color: #ffffff;
}
 

/* -----------------------------------------
   Windshield Section
----------------------------------------- */

.windshield-features-container {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

/* Removes the extra border on the very last row so it doesn't double up with the container border */
.feature-row:last-child {
    border-bottom: none;
}

 

.feature-subtext {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.8;
    margin-top: 4px;
}

 
.windshield-review-box {
    position: absolute;
    bottom: -140px;
 
    background-color: var(--midnight-blue);
    padding: 30px;
    max-width: 90%;
    box-sizing: border-box;
}

 
.repair-graphic-badge {
    background-color: #d8ceb9; 
    color: var(--midnight-blue);
    padding: 10px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    border-radius: 2px;
}

/* -----------------------------------------
   Auto Glass Page Hero Section
----------------------------------------- */

.auto-glass-hero-bg {
 
    background-image: url('images/auto-glass-hero.webp'); 
}

.hero-gradient-overlay {
    background: linear-gradient(to right, rgba(10, 28, 49, 0.95) 0%, rgba(10, 28, 49, 0.75) 45%, rgba(10, 28, 49, 0) 100%);
}

/* Form Tabs */
.form-tab-left {
    border-radius: 4px 0 0 4px !important;
}

.form-tab-right {
    border-radius: 0 4px 4px 0 !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Google Rating Box */
.google-rating-box {
    background-color: var(--white);
    border-radius: 4px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
}

.google-rating-logo {
    width: 65px;
    margin-top: 3px;
}

.google-rating-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
}

/* -----------------------------------------
   Stats Bar
----------------------------------------- */

/* Uses your existing --dark-navy variable */
.dark-navy-bg {
    background-color: var(--dark-navy);
}

/* Tints the UIkit grid dividers to be a subtle, semi-transparent white */
.stats-grid-divider > :not(.uk-first-column)::before {
    border-left-color: rgba(255, 255, 255, 0.15);
}


/* -----------------------------------------
   Makes and Models Grid Section
----------------------------------------- */

.brand-cell {
    padding: 35px ;
    border-right: 2px solid #7587A0;  
    border-bottom: 2px solid #7587A0;
}
 
@media only screen and (min-width: 640px) {
    .brand-cell:nth-child(5n) {
        border-right: none;
    }
 
    .brand-cell:nth-child(n+6) {
        border-bottom: none;
    }
}

 
@media only screen and (max-width: 639px) {
    .brand-cell:nth-child(2n) {
        border-right: none;
    }
    .brand-cell:nth-last-child(-n+2) {
         border-bottom: none;
    }
}

.brand-icon {
    color: var(--brand-blue);
    font-size: 24px;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.2;
}

/* -----------------------------------------
   Repair vs Replace Comparison Section
----------------------------------------- */

.repair-replace-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.repair-replace-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    color: var(--white);
    line-height: 1.5;
}

/* Removes the bottom border on the very last item of the list */
.repair-replace-list li:last-child {
    border-bottom: none;
}

.list-check-icon {
    color: var(--teal);
    margin-right: 15px;
    margin-top: 4px; /* Perfect vertical alignment with the first line of text */
    font-size: 16px;
    flex-shrink: 0;
}

/* Alert Boxes */
.alert-box-transparent {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 2px;
}

.alert-box-blue {
    background-color: var(--brand-blue);
    padding: 20px;
    border-radius: 2px;
}

.alert-icon-custom {
    color: var(--teal);
    font-size: 24px;
    margin-right: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* -----------------------------------------
   ICBC Claims Section
----------------------------------------- */

/* Process List */
.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #d1d9e6; 
}

.process-list li {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #d1d9e6;
}

.process-number {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--slate);
    margin-right: 25px;
    line-height: 1;
    margin-top: 30px;
    flex-shrink: 0;
}

.process-content h5 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
}

.process-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
}

/* Image & Overlay */
.icbc-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.square-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.icbc-overlay-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 85, 165, 0.95); /* Brand blue with a tiny bit of transparency so the cars peak through */
    padding: 40px;
    box-sizing: border-box;
}


/* -----------------------------------------
   FAQ Accordion Section
----------------------------------------- */

.faq-accordion {
    margin: 0;
    padding: 0;
}

.faq-accordion > li {
    border-top: 1px solid #d1d9e6; /* Matches your established light border color */
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Caps off the bottom of the list with a final border */
.faq-accordion > li:last-child {
    border-bottom: 1px solid #d1d9e6;
}

.faq-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.4;
    transition: color 0.2s ease-in-out;
}

.faq-title:hover {
    color:#0055A5;
    text-decoration: none;
}

/* 1. Hides the default UIkit chevron icon */
.faq-accordion .uk-accordion-title::before {
    display: none !important;
}

/* 2. Injects the Font Awesome Plus icon */
.faq-accordion .uk-accordion-title::after {
    content: "\2b"; /* Unicode for fa-plus */
    font-family: "Font Awesome 7 pro";
    font-weight: 500;
    color: var(--teal);
    font-size: 16px;
    margin-left: 15px;
    flex-shrink: 0;
}

/* 3. Swaps the Plus for an X when the accordion is open */
.faq-accordion .uk-open > .uk-accordion-title::after {
    content: "\f00d"; 
}

.faq-accordion .uk-accordion-content {
    margin-top: 15px;
    padding-right: 40px; /* Prevents text from running underneath the icon on smaller screens */
    color: var(--black);
    font-size: 18px;
    line-height: 1.6;
}


/* -----------------------------------------
   Need Something Else Section
----------------------------------------- */

.service-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #d1d9e6;
}

.service-checklist li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #d1d9e6;
    font-size: 18px;
    color: var(--black);
}

.checklist-icon {
    color: var(--teal);
    margin-right: 15px;
    font-size: 14px;
    flex-shrink: 0;
}

.solid-caption-box {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--brand-blue);
    padding: 20px 30px;
    width: 85%;  
    box-sizing: border-box;
}

 /* -----------------------------------------
   Bottom CTA Section
----------------------------------------- */

.cta-right-wrap {
    /* Ensures consistent spacing between the button and phone whether they are side-by-side or stacked on mobile */
    gap: 30px; 
}

.cta-phone-subtext {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.5px;
    margin-bottom: 2px !important;
}

.cta-phone-number {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    transition: color 0.2s ease-in-out;
}

 
.cta-phone-number:hover {
    color: var(--teal)!important;
    text-decoration: none;
}
.commercial-hero-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: transparent; 
}

.hero-project-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.hero-project-list li {
    display: flex;
    align-items: center;
    padding: 16px 30px;
    margin: 0;
    background-color: var(--midnight-blue);
}

.project-icon-square {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0;
    width: 50px !important;
    height: 50px !important;
    background-color: var(--brand-blue);
    color: var(--teal);
    border-radius: 6px;
    font-size: 20px;
}

.hero-projects-btn {
    background-color: var(--teal);
    color: var(--white);
    padding: 20px 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.hero-projects-btn:hover {
    background-color: var(--brand-blue);
    color: var(--white);
    text-decoration: none;
}


.light-blue-square {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    background-color: var(--gray-blue);
    color: var(--brand-blue);
    border-radius: 4px;
    font-size: 16px;
}

.page-id-146 .light-blue-square {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0;
    width: 60px !important;
    height: 60px !important;
    background-color: var(--gray-blue);
    color: var(--brand-blue);
    border-radius: 4px;
    font-size: 30px;
}
.page-id-146 .uk-subnav-pill > .uk-active .light-blue-square {
    background-color: var(--teal) !important;
    color: var(--white) !important;
}

/* Active State: Teal text for the <h5> */
.page-id-146 .uk-subnav-pill > .uk-active h5 {
    color: var(--teal) !important;
}

/* Ensure the subnav-pill active state doesn't conflict with your custom colors */
.page-id-146 .uk-subnav-pill > .uk-active > a {
    background: none !important;
}
.capabilities-grid > div {
    padding: 30px ;
    border-bottom: 1px solid var(--slate);
}

@media (min-width: 960px) {
    .capabilities-grid > div {
        border-right: 1px solid var(--slate);
    }
    
    .capabilities-grid > div:nth-child(3n) {
        border-right: none;
    }
    
    .capabilities-grid > div:nth-last-child(-n+3) {
        border-bottom: none;
    }
}

 

.white-square {
    width: 60px !important;
    height: 60px !important;
    background-color: var(--white);
    color: var(--teal);
    border-radius: 6px;
    font-size: 24px;
	display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0;
}

.project-details-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
    border-top: 2px solid var(--slate);
}

.project-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 2px solid var(--slate);
    font-size: 16px;
    color: var(--white);
}

/* Colors the left side (keys) slate to match the proof */
.project-details-list span:first-child {
    color: var(--slate);
    margin-right: 20px;
    flex-shrink: 0;
}

/* Ensures long text on the right side wraps cleanly */
.project-details-list span:last-child {
    text-align: right;
}

.division-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid var(--slate);
}

.division-list li {
    padding: 20px 0;
    border-bottom: 2px solid var(--slate);
}
 
    .sectors-grid > div {
        border-bottom: none;
        border-right: 2px solid var(--slate);
    }
    .sectors-grid > div:last-child {
        border-right: none;
    }
 
.giant-bg-quote {
    position: absolute;
    top: -50px;
    left: -50px;
    font-size: 290px;
    color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    line-height: 1;
}

.staff-img {
	border-bottom: 5px solid var(--teal);
}

.history-timeline {
    position: relative;
    padding-left: 45px;
}

.history-timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 0;
    left: 8px;
    width: 2px;
    background-color: var(--slate);
}

.timeline-block {
    position: relative;
    margin-bottom: 50px;
}

.timeline-block:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 4px;
    left: -45px;
    width: 20px;
    height: 20px;
    background-color: var(--brand-blue);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--brand-blue);
    z-index: 1;
}

.timeline-marker.teal-marker {
    background-color: var(--teal);
    box-shadow: 0 0 0 2px var(--teal);
}


.page-id-146 .uk-subnav-pill>.uk-active>a
 
 {
    background: none!important;
    color: var(--teal);
}


.sidebar-contact-box {
    background-image:  url('images/blue-contact-background.webp');  
	padding:  25px;
    background-size: cover;
    background-position: center;
}

.sidebar-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
 


.gform_button i {
    font-family: "Font Awesome 6 Pro", "Font Awesome 7 Pro" !important;
    font-style: normal !important;
}

 
button#gform_submit_button_2,
button#gform_submit_button_3,
button#gform_submit_button_4 {
    background-color: var(--brand-blue);
    transition: background-color 0.2s ease-in-out;
}

 
button#gform_submit_button_2:hover,
button#gform_submit_button_3:hover,
button#gform_submit_button_4:hover {
    background-color: var(--midnight-blue) !important;
}

.post-type-archive-projects .uk-subnav-pill > * > a {
    background-color: transparent !important; 
    color: var(--black) !important;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 0;
    margin: 0 20px;
    border-bottom: 2px solid transparent;
    border-radius: 0 !important; 
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.post-type-archive-projects .uk-subnav-pill > .uk-active > a {
    border-bottom: 2px solid var(--teal);
}

.post-type-archive-projects .uk-subnav-pill > * > a:hover {
    color: var(--teal) !important;
}

.post-type-archive-projects .filter-count {
    background-color: var(--gray-blue);
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 2px;
    margin-left: 12px;
    line-height: 1;
}






/* -----------------------------------------
   Footer Section
----------------------------------------- */

.footer-logo {
    width: 200px;
}

.footer-badge {
    width: 160px;
}

.footer-heading {
    color: #8c9ba5; 
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 20px;
}
.top-footer-row {
        justify-content: left; 
        text-align: left;
    }
.footer-text {
    font-size: 15px;
    line-height: 1.6;
    color: #d1d9e6;
}

.footer-italic-text {
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
}

/* Link Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
    color: var(--teal);
}

/* Contact Block Layout */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--teal);
    font-size: 14px;
    margin-right: 12px;
    margin-top: 4px; /* Perfectly aligns the icon with the first line of text */
}

.footer-contact-text,
.footer-contact-link {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-contact-link:hover {
    color: var(--teal);
}
 


.banner{
    width: 100%;
}

a.uk-float-right.uk-hidden-large.menu_pointer {
    color: var(--brand-blue)!important;
}
.uk-offcanvas-bar .logo {
    padding: 10px 20px 0px 20px;
}
.uk-offcanvas-bar ul li.current-menu-item > a {
    background-color: var(--brand-blue);
}
.uk-offcanvas-bar ul li a
 
 {
    padding: 9px 20px;
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
    background: var(--slate);
    color: #ffffff;
}
.uk-offcanvas-bar ul li a:active, .uk-offcanvas-bar ul li a:hover {
    background: #222;
	color: #fff;
    text-decoration: none;
}
.uk-offcanvas-bar ul {
    list-style: none;
    padding: 0;
	margin: 0;
}
.uk-offcanvas-bar ul li {
    margin: 0;
    padding: 0;
}

.uk-offcanvas-bar .sub-menu li a {
	background-color: var(--slate);
    font-size: 14px;
    padding: 6px 30px;
	 border-left: 10px solid var(--teal);


}
.uk-offcanvas-bar .sub-menu {
    width: 100%;
    display: block;
    position: relative;
	background-color: #000;
}

.uk-offcanvas-bar .sub-menu li {
    float: none!important;
    text-align: left;
}

a.page-numbers:hover {
    background-color: #D6D6D6;
    color: #666;
    outline: 0;
    background-image: none;
}
a.page-numbers {
    background: #f7f7f7;
    color: #666;
    border: 1px solid rgba(0,0,0,.2);
    border-bottom-color: rgba(0,0,0,.3);
    background-origin: border-box;
    background-image: -webkit-linear-gradient(top,#fff,#eee);
    background-image: linear-gradient(to bottom,#fff,#eee);
    text-shadow: 0 1px 0 #fff;
    display: inline-block;
    min-width: 16px;
    padding: 3px 5px;
    line-height: 20px;
    text-decoration: none;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    text-align: center;
    border-radius: 4px;
}
span.page-numbers.current {
    background: #009dd8;
    color: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-bottom-color: rgba(0,0,0,.4);
    background-origin: border-box;
    background-image: -webkit-linear-gradient(top,#00b4f5,#008dc5);
    background-image: linear-gradient(to bottom,#00b4f5,#008dc5);
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);
    display: inline-block;
    min-width: 16px;
    padding: 3px 5px;
    line-height: 20px;
    text-decoration: none;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    text-align: center;
    border-radius: 4px;
}
.pagination {
    text-align: center;
    padding: 40px;
    font-size: 16px;
}
.gform_wrapper form {
    overflow: hidden;
}

/* -----------------------------------------
   Gravity Forms Base Inputs &amp; Textareas
----------------------------------------- */
.gform_wrapper input,
.gform_wrapper textarea {
    border-radius: 3px;
    border: 1px solid #ccc;
}

.gform_wrapper input {
    padding: 10px !important;
}

.gform_wrapper textarea {
    padding: 14px 10px !important;
}
 
.gform_footer.top_label {
    float: ;
    margin: 0;
}

.gform_footer.top_label input,
.gform_footer.top_label button.gform_button {
    color: var(--white);
    background: #55a94f;
    border: none;
    padding: 20px 40px !important;
    font-size: 22px !important;
    margin: 0 !important;
    transition: all .2s ease-in-out;
    display: inline-block;
}

 

/* Specific Form ID Button Override */
button#gform_submit_button_1 {
    background: var(--teal);
}

 /* Update the hover state */
.gform_footer.top_label input:hover,
.gform_footer.top_label button.gform_button:hover {
    background-color: var(--brand-blue) !important;
 
    cursor: pointer;
}


.menu_pointer {
    cursor: pointer;
}
 
input#gform_submit_button_1 {
    background: var(--teal);
}

 
.banner-form .gform_wrapper .gfield_radio label {
    color: var(--white);
}

.banner-form .gform_wrapper input[type="text"], .banner-form .gform_wrapper input[type="email"] {
    padding: 25px 25px 25px 6px !important; /* Consolidated padding */
    border-radius: 8px; 
    font-weight: 600;
    /* Removed invalid row-gap */
}

/* Legend Color - Updated to variable */
legend.gfield_label.gform-field-label {
    color: var(--white); 
}
    .gform-theme--foundation .gform_fields {
        -moz-column-gap: var(--gf-form-gap-x);
        row-gap: 5px!important;
    }
/*TOP LEVEL NAV START*/
.nav {
    float:  ;
}
nav ul {
    margin: 0;
    padding: 0;
}
.nav li {
    float: left;
    list-style: none;
}
.nav > ul > li > a {
    color: #000;
    font-size: 16px;
    text-transform: capitalize;
    padding: 11px 30px;
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border-radius: 2px;
    margin: 10px 2px;
}
li.menu-item-has-children > a {
    cursor: default;
}
.nav .current_page_item > a, .nav .current-menu-item > a{
	color:var(--teal);
}
.nav li:hover > a{
  background-color: none;
  color: var(--teal);
}

/*TOP LEVEL NAV END*/

/*Style General Submenus*/
.sub-menu {
    position: absolute;
    background: white;
    width: 235px;
    margin: 0 ;
    padding: 0;
	    z-index: 99;
		
}
.sub-menu li {
    float: none;
	
}
.sub-menu li a {
    color: #000;
    text-decoration: none;
    padding: 10px;
    display: block;
 
}
.sub-menu li a:hover {
    background: var(--slate);
    color: #fff;
}
/*this one styles the sub highlighted page nav*/
.sub-menu li:hover > a {
    color: #fff;
    background: var(--slate);
}
/*Style General Submenus*/

/*First Dropdown*/
.nav > ul > li > .sub-menu {
    display: none;
}
.nav > ul > li:hover > .sub-menu {
    display: block;
}

/*2nd Tear Dropdwn*/
.nav > ul > li > .sub-menu > li > .sub-menu {
    display: none;
	margin-left: 216px;
    width: 215px;
    margin-top: -40px;
}
.nav > ul > li > .sub-menu li:hover > .sub-menu {
    display: block;
}

/*3rd level Dropdown*/
.nav > ul > li > .sub-menu > li > .sub-menu > li > .sub-menu {
    display: none;
	margin-left: 216px;
    width: 215px;
    margin-top: -40px;
}
.nav > ul > li > .sub-menu > li >.sub-menu li:hover > .sub-menu {
    display: block;
}

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'DM Sans', sans-serif;
	color:#000;
    font-size: 18px;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#000;
	text-decoration:none;
	display: inline-block;
	font-weight: 600;
}
section a {
    color:#000;
	text-decoration:none;
	display: inline-block;
	font-weight: 600;
}
a:hover {
	color:#444;
	text-decoration:none;
}
a.brand-blue:hover {
	color:var(--teal);
	text-decoration:none;
}
a.teal:hover {
	color:var(--brand-blue);
	text-decoration:none;
}
a.dark-navy:hover {
	color:var(--brand-blue);
	text-decoration:none;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1, h2, h3{
	margin: 20px 0!important;
}
h4, h5, h6{
	margin: 15px 0!important;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {

}
.header {
    z-index: 99;
    position: relative;
}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    SMALL
\*------------------------------------*/
@media only screen and (min-width:320px) and (max-width: 767px){
	
.service-cell:nth-child(4),
.service-cell:nth-child(5) {
    border-bottom: 1px solid #d1d9e6;
}
.service-cell 
  {
    border-right: none;
}	
	.sectors-grid > div {
    border-right: none; 
}
.sectors-grid > div > div {
    border-bottom: 2px solid var(--slate);
}
/* Removes the bottom border on the very last item so it doesn't leave a hanging line */
.sectors-grid > div:last-child > div {
    border-bottom: none;
}
	
 .capabilities-grid > div:last-child {
        border-bottom: none;
    }
 .solid-caption-box {
        width: 100%;
        padding: 20px;
    }
 
 .brand-cell:nth-child(5n) {
        border-right: 2px solid #7587A0;
    }
	 .brand-cell:nth-child(1n) {
        border-left: 2px solid #7587A0;
        border-top: 2px solid #7587A0;
    }
    /* Remove bottom borders for the last row */
    .brand-cell:nth-child(n+6) {
        border-bottom: 2px solid #7587A0;
    }
 

 
    .brand-cell:nth-child(2n) {
        border-right: 2px solid #7587A0;
    }
    .brand-cell:nth-last-child(-n+2) {
         border-bottom: 2px solid #7587A0;
    }
 

.windshield-review-box {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin-top: -20px;  
    }
.head-office-border {
    border-top: 2px solid var(--teal);
	border-right: 0px solid var(--slate);
}
.location-2-border {
	border-top: 2px solid var(--slate);
    border-right: 0px solid var(--slate);
}
.location-3-border {
	border-top: 2px solid var(--slate);

 
 
}


  .banner-form {
    background: #0A1C31;
    padding:  30px;
    color: #fff !important;
    margin-top:  0px;
    z-index: 99;
    position: relative;
	margin: auto;
 
}
  
	.ginput_container_text input {
		-webkit-appearance: none!important;
		-moz-appearance:    none!important;
		appearance:         none!important;
	}
  .banner h1{
    font-size: 36px;
  }

  h1{
    font-size: 46px;

  }
  h2{
    font-size: 36px;
  }

  h3{
    font-size: 32px;

  }
  h4{
    font-size: 18px;

  }

}
@media only screen and (min-width:768px) and (max-width: 959px){
 

 .capabilities-grid > div:last-child {
        border-bottom: none;
    }
 .solid-caption-box {
        width: 100%;
        padding: 20px;
    }
 .brand-cell:nth-child(5n) {
        border-right: 2px solid #7587A0;
    }
	 .brand-cell:nth-child(1n) {
        border-left: 2px solid #7587A0;
        border-top: 2px solid #7587A0;
    }
    /* Remove bottom borders for the last row */
    .brand-cell:nth-child(n+6) {
        border-bottom: 2px solid #7587A0;
    }
 

 
    .brand-cell:nth-child(2n) {
        border-right: 2px solid #7587A0;
    }
    .brand-cell:nth-last-child(-n+2) {
         border-bottom: 2px solid #7587A0;
    }




 .banner-form {
    background: #0A1C31;
    padding:  30px;
    color: #fff !important;
    margin-top:  0px;
    z-index: 99;
    position: relative;
	margin: auto;
 
}
}
@media only screen and (min-width:960px){

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}