/* Footer: light gray background + centered columns (works even if footer markup is mis-nested) */

/* Overall footer area */
footer{
  background-color: #e6e6e6 !important;
  background-image: none !important;
}

/* The darker strip with "All Rights Reserved..." */
.footer-bottom{
  background-color: #dcdcdc !important;
  background-image: none !important;
}

/* Remove any accidental white panels */
footer .container,
footer .row,
footer .widget,
footer [class*="col-"]{
  background: transparent !important;
  box-shadow: none !important;
}

/* Center the 3 footer columns as a group */
footer{
  text-align: center; /* centers inline-block children */
}

/* Target the 3 columns that contain CONTACT/SERVICES/ABOUT */
footer > div[class*="col-"]{
  display: inline-block !important;
  float: none !important;
  vertical-align: top;
  text-align: left;          /* keep text readable inside each column */
  max-width: 340px;
  width: 100%;
  padding: 0 20px 25px 20px;
  box-sizing: border-box;
}

/* Make headings a bit tighter */
footer h3, footer h4{
  margin-top: 0;
}

/* Ensure footer-bottom content is centered */
.footer-bottom .container{
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.footer-bottom__left,
.footer-bottom__right{
  text-align: center;
}

/* Align SERVICES heading with its list items */
.footer__headings{
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.menu-services-container,
.menu-services-container ul,
.menu-services-container ul.menu{
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.menu-services-container ul.menu li{
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* --- Patch: ensure Sales Team footer matches site + remove top blue line on Sales Team --- */

/* Footer layout: center columns even if they are not inside the .container/.row */
footer{
  background-color: #e6e6e6 !important;
  background-image: none !important;
  text-align: center !important;
}

footer .footer,
footer .container,
footer .row,
footer .widget,
footer [class*="col-"]{
  background: transparent !important;
  box-shadow: none !important;
}

/* Center any footer columns (works for both mis-nested and normal markup) */
footer > div[class*="col-"],
footer .footer > div[class*="col-"],
footer .row > div[class*="col-"]{
  display: inline-block !important;
  float: none !important;
  vertical-align: top !important;
  text-align: left !important;      /* keep text readable inside each block */
  max-width: 340px !important;
  width: 100% !important;
  padding: 0 20px 25px 20px !important;
  box-sizing: border-box !important;
}

/* Align SERVICES heading with its list items (safe across pages) */
footer .footer__headings,
footer .menu-services-container,
footer .menu-services-container ul,
footer .menu-services-container ul.menu{
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Sales Team only: remove the dark blue strip at the very top */
body.page-id-10 .top{
  background: transparent !important;
  border-bottom: none !important;
}

/* Footer text color fix */
footer,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer span, footer li, footer a{
  color: #000000 !important;
}

footer a:hover{
  color: #000000 !important;
}

/* Global top background image for all pages */
.main-title,
.page-title,
.page-header,
.header-title,
.hero{
  background-image: url("../../wp-content/uploads/2015/03/header-bg.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* ---- Force header background at VERY TOP (not middle sections) ---- */

/* Remove background from mid-page title blocks */
.main-title,
.page-title,
.hero{
  background-image: none !important;
}

/* Apply background ONLY to top header/title wrappers */
header,
.header,
.header-wrap,
.page-header,
.top-header,
.site-header{
  background-image: url("../../wp-content/uploads/2015/03/header-bg.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Ensure header has visible height */
header, .site-header, .page-header{
  min-height: 220px;
}

/* Keep nav readable */
header *, .site-header *{
  position: relative;
  z-index: 2;
}

/* ---- Fix: remove white bar between top logos so header background shows through ---- */

/* Many templates give the logo/header inner wrappers a white background */
header,
.header,
.site-header,
.header-wrap{
  background-color: transparent !important;
}

/* Common inner wrappers around logos/nav */
header .container,
header .row,
header .header-inner,
header .header__inner,
header .header-top,
header .header-middle,
header .header-main,
header .navbar,
header .navbar-inner,
header .logo,
header .logo-wrap,
header .site-branding,
header .brand,
header .branding,
header .header__logo,
header .header__logo-wrap,
.header .container,
.header .row,
.site-header .container,
.site-header .row{
  background: transparent !important;
  box-shadow: none !important;
}

/* Some themes use a separate top bar wrapper with white bg around logos */
.top,
.top-bar,
.top-header,
.header-top{
  background: transparent !important;
}
