/**
Theme Name: Mueller Industries Career Development Program
Author: Ad5
Author URI: https://ad5partners.com
Description:  
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mueller-industries-career-development-program
Template: astra
*/

/* MISC. Styles */
.no-margin p:last-of-type {
	margin-bottom: 0;
}
/* Show Utility Menu links on Mobile Navigation 
@media (min-width: 769px) {
	.displayMobileOnly {
		display: none !important;
	}
} */
/* Remove button click effect */
.fl-builder-content .fl-button:active {
	top: 0;
}

/* Header */
.mueller-header-col .fl-col-content {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}
.mueller-header-col .fl-col-content > .fl-module {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}
.mueller-header-col .fl-col-content > .fl-module.fl-module-photo {
    flex: 0 1 400px;
    min-width: 200px;
}
.mueller-header-col .fl-col-content > .fl-module:last-child {
    margin-left: auto;
}

/* Add vertical divider only to top-level menu items except last */
@media (min-width: 993px) {
.mueller-header #menu-main-menu > li {
    position: relative;
}
.mueller-header #menu-main-menu > li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    width: 1px;
    height: 1em;
    background-color: #2e3960;
    transform: translateY(-50%);
}
}

/* Remove divider from last item */
#menu-main-menu > li:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

/* Site Wide Background Elements */
/* Mueller CDP accent rows */
@media (min-width: 993px) {
  .fl-row.row-accent-1,
  .fl-row.row-accent-2,
  .fl-row.row-accent-3 {
    overflow: hidden;
    position: relative;
  }

  .fl-row.row-accent-1 .fl-row-content-wrap,
  .fl-row.row-accent-2 .fl-row-content-wrap,
  .fl-row.row-accent-3 .fl-row-content-wrap {
    position: relative;
  }

  /* Shared triangle shapes (no ::after for row-accent-3 here) */
  .fl-row.row-accent-1 .fl-row-content-wrap::before,
  .fl-row.row-accent-1 .fl-row-content-wrap::after,
  .fl-row.row-accent-2 .fl-row-content-wrap::before,
  .fl-row.row-accent-2 .fl-row-content-wrap::after,
  .fl-row.row-accent-3 .fl-row-content-wrap::before {
    -webkit-clip-path: polygon(50% 20%, 100% 50%, 50% 80%, 0% 50%);
    clip-path: polygon(50% 20%, 100% 50%, 50% 80%, 0% 50%);
    content: "";
    height: 1200px;
    pointer-events: none;
    position: absolute;
    width: 1200px;
    z-index: 0;
  }

  /* Row 1: orange top-right, light gray bottom-left */
  .fl-row.row-accent-1 .fl-row-content-wrap::before {
    background-color: #9c5629;
    right: -350px;
    top: -600px;
  }

  .fl-row.row-accent-1 .fl-row-content-wrap::after {
    background-color: #f1f1f1;
    bottom: -650px;
    left: -350px;
  }

  /* Row 2: light gray top-right, orange bottom-left */
  .fl-row.row-accent-2 .fl-row-content-wrap::before {
    background-color: #f1f1f1;
    right: -350px;
    top: -600px;
  }

  .fl-row.row-accent-2 .fl-row-content-wrap::after {
    background-color: #9c5629;
    bottom: -750px;
    left: -450px;
  }

  /* Row 3: dark blue top-right triangle */
  .fl-row.row-accent-3 .fl-row-content-wrap::before {
    background-color: #1d253e;
    right: -350px;
    top: -600px;
  }

  /* Row 3: extra bottom-left background image (no clip-path) */
  .fl-row.row-accent-3 .fl-row-content-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 641px; 
    height: 500px; 
    background-image: url("/wp-content/uploads/bkg-arrows-blue.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: 0;
    -webkit-clip-path: none;
    clip-path: none;
  }

  /* Ensure row inner content sits above all shapes/images */
  .fl-row.row-accent-1 .fl-row-content-wrap > *,
  .fl-row.row-accent-2 .fl-row-content-wrap > *,
  .fl-row.row-accent-3 .fl-row-content-wrap > * {
    position: relative;
    z-index: 1;
  }
}

/* Beaver Builder edit mode: remove stacking / shapes so hovering works */
.fl-builder-edit .fl-row.row-accent-1,
.fl-builder-edit .fl-row.row-accent-2,
.fl-builder-edit .fl-row.row-accent-3 {
  overflow: visible !important; /* don't clip BB's blue outlines */
}

.fl-builder-edit .fl-row.row-accent-1 .fl-row-content-wrap,
.fl-builder-edit .fl-row.row-accent-2 .fl-row-content-wrap,
.fl-builder-edit .fl-row.row-accent-3 .fl-row-content-wrap {
  z-index: auto !important;
}

.fl-builder-edit .fl-row.row-accent-1 .fl-row-content-wrap::before,
.fl-builder-edit .fl-row.row-accent-1 .fl-row-content-wrap::after,
.fl-builder-edit .fl-row.row-accent-2 .fl-row-content-wrap::before,
.fl-builder-edit .fl-row.row-accent-2 .fl-row-content-wrap::after,
.fl-builder-edit .fl-row.row-accent-3 .fl-row-content-wrap::before,
.fl-builder-edit .fl-row.row-accent-3 .fl-row-content-wrap::after {
  content: none !important;
}



@media (max-width: 993px) {
.mobile-remove-background .fl-col-content {
    background: none !important;
	}
}
	
/* Company Page Table */
.company-tbl table {
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.company-tbl table tr:first-of-type td {
    border-top: none;
}

.company-tbl table td {
    border: none;
    padding: 12px;
    vertical-align: top;
    width: 50%;
}

.company-tbl table td:first-of-type {
    border-right: 3px solid #bfbfc0;
}

.company-tbl table tr:not(:last-of-type) td {
    border-bottom: 3px solid #bfbfc0;
}

.company-tbl table td:first-child {
    border-left: none;
}

@media (max-width: 768px) {
    .company-tbl table td {
        border-bottom: 3px solid #bfbfc0;
        display: block;
        width: 100%;
    }

    .company-tbl table td:last-of-type {
        border-bottom: 3px solid #bfbfc0;
    }

    .company-tbl table td:first-of-type {
        border-right: none;
    }
}

/* Company Tiles */
.mueller-companies .uabb-ib-effect-style2 .uabb-new-ib-title {
	opacity: 0.0;
}
.mueller-companies .uabb-ib-effect-style2.uabb-ib2-hover .uabb-new-ib-title {
	opacity: 1.0;
}

/* Program List */
.chart {
	z-index: 1;
}
.cdp-list .uabb-info-list-icon {
	margin-top: -16px
}
.dotted-edge-col .fl-col-content {
    border-top: 3px dotted #bdbdbd;
    border-left: 3px dotted #bdbdbd;
    border-bottom: 3px dotted #bdbdbd;
    border-right: none;
	position: relative;
	overflow: visible;
}
.dotted-edge-col > .fl-col-content::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    border-top: 3px dotted #a7a7a8;
	z-index: 0;
}