/* ============================================
   Engine Parts Unlimited — Modern CSS
   Rebuilt from legacy stylesheet, SEO-optimized
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5;
  color: #000;
  text-align: center;
  background: #000;
}

@media (min-width: 720px) {
  body {
    background-image: url(/images/engine-parts-unlimited-gradient-background.jpg);
    background-repeat: repeat-x;
    background-attachment: fixed;
  }
}

@media print {
  body {
    background: #fff;
    background-image: none;
  }
}

/* ---- Typography ---- */
h1 {
  font-size: 20px;
  font-weight: bold;
  color: #383838;
}

h2 {
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  color: #383838;
}

h3 {
  font-size: 16px;
  font-weight: bold;
  font-style: italic;
  color: #383838;
}

h4 {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  color: #383838;
}

h5 {
  font-size: 12px;
  font-weight: bold;
  font-style: italic;
  color: #383838;
}

p {
  text-indent: 40px;
}

a {
  outline: 0;
  color: blue;
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

/* ---- Utility Classes ---- */
.font-red { color: red; }
.font-blue { color: blue; }
.font-grey { color: grey; }
.font-green { color: green; }
.font-underline { text-decoration: underline; }
.font-style-normal { font-style: normal; }
.font-size-8 { font-size: 8px; }
.font-size-10 { font-size: 10px; }
.font-size-11 { font-size: 11px; }
.font-size-12 { font-size: 12px; }
.font-size-14 { font-size: 14px; }
.font-size-16 { font-size: 16px; }
.font-size-18 { font-size: 18px; }
.font-size-20 { font-size: 20px; }

.text-justify {
  text-align: justify;
  text-justify: distribute;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-red { color: red; font-weight: bold; }
.text-grey { color: grey; font-weight: bold; }
.text-green { color: green; font-weight: bold; }

.spacer-2 { height: 2px; }
.spacer-5 { height: 5px; }
.spacer-8 { height: 8px; }
.spacer-10 { height: 10px; }
.spacer-15 { height: 15px; }
.spacer-20 { height: 20px; }
.spacer-30 { height: 30px; }

.image_shadow {
  border-radius: 3px;
  box-shadow: 0 0 5px #888;
}

.image_shadow_2 {
  border-radius: 3px;
  box-shadow: 6px 6px 3px #888;
}

/* ---- Layout ---- */
.container-outer {
  overflow: hidden;
  min-width: 320px;
  max-width: 1000px;
  margin: 0 auto;
}

.container {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
}

/* ---- Header ---- */
.site-header {
  height: 200px;
  background-image: url(/images/engine-parts-unlimited-header.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.header-logo {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 280px;
  height: 130px;
  background-image: url(/images/engine-parts-unlimited-logo-address-1x.png);
  background-repeat: no-repeat;
  background-size: contain;
}

@media (min--moz-device-pixel-ratio: 2),
       (-o-min-device-pixel-ratio: 2/1),
       (-webkit-min-device-pixel-ratio: 2),
       (min-device-pixel-ratio: 2) {
  .header-logo {
    background-image: url(/images/engine-parts-unlimited-logo-address-2x.png);
  }
}

/* ---- Navigation ---- */
.main-nav {
  position: relative;
  top: 149px;
  z-index: 1000;
}

.nav-bar {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background: linear-gradient(to bottom, #e0e0de, #7b8188);
}

.nav-bar-centered {
  position: relative;
  margin: 0 auto;
  width: 720px;
}

.menu-toggle {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  position: relative;
  left: 10px;
}

.nav-list li {
  text-align: center;
  cursor: default;
}

.nav-list li a {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #000;
  outline: 0;
  text-decoration: none;
  border-radius: 15px;
  padding: 0 10px;
}

.nav-list li a:hover,
.nav-list li a:focus {
  color: #161616;
  background: #f7f7ef;
}

/* Nav item widths */
.nav-home, .nav-contact { min-width: 75px; }
.nav-service, .nav-engines, .nav-parts { min-width: 125px; }
.nav-tools { min-width: 165px; }

/* Active tab indicator */
.nav-tab {
  position: absolute;
  top: 0;
  background-image: url(/images/engine-parts-unlimited-header-menu-tab.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 65px;
  pointer-events: none;
}

/* Page-specific tab positioning */
.home-page .nav-tab { left: 0; width: 97px; }
.contact-page .nav-tab { left: 615px; width: 97px; }
.service-page .nav-tab { left: 71px; width: 155px; }
.engines-page .nav-tab { left: 196px; width: 155px; }
.parts-page .nav-tab { left: 321px; width: 155px; }
.tools-page .nav-tab { left: 443px; width: 203px; }
.policies-page .nav-tab { display: none; }
.copyright-page .nav-tab { display: none; }

/* ---- Mobile Navigation ---- */
@media (max-width: 719px) {
  .site-header {
    height: 150px;
  }

  .header-logo {
    top: 50px;
    height: 80px;
    background-image: url(/images/engine-parts-unlimited-logo-1x.png);
  }

  @media (min--moz-device-pixel-ratio: 2),
         (-o-min-device-pixel-ratio: 2/1),
         (-webkit-min-device-pixel-ratio: 2),
         (min-device-pixel-ratio: 2) {
    .header-logo {
      background-image: url(/images/engine-parts-unlimited-logo-2x.png);
    }
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .nav-bar-centered {
    width: 100%;
  }

  .menu-toggle {
    display: inline-block;
    float: left;
    width: 60px;
    height: 29px;
    padding-top: 5px;
    cursor: pointer;
    background: none;
    border: none;
  }

  .menu-toggle img {
    position: relative;
    top: 5px;
  }

  .nav-tab {
    display: none;
  }

  .nav-list {
    position: absolute;
    top: 29px;
    left: -999em;
    width: 175px;
    background: linear-gradient(to bottom, #e0e0de, #bcc2c4);
    box-shadow: 2px 1px 5px 2px rgba(0,0,0,0.75);
    border-radius: 5px;
    flex-direction: column;
    left: 10px;
  }

  .nav-list.is-open,
  .menu-toggle:hover + .nav-list,
  .menu-toggle:focus + .nav-list {
    left: 10px;
  }

  .nav-list li {
    width: 175px;
  }

  .nav-list li:hover {
    background: #fff;
    border-radius: 5px;
  }

  .nav-list li a {
    color: #3f2a19;
    line-height: 40px;
  }
}

/* ---- Main Content ---- */
main {
  padding: 0;
}

.page-content {
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

/* Two-column layout */
.content-left {
  position: relative;
}

.content-right {
  position: relative;
}

@media (min-width: 720px) {
  .content-left {
    float: left;
    width: 70%;
  }

  .content-right {
    float: right;
    width: 175px;
  }
}

@media (max-width: 719px) {
  .content-right {
    max-width: 175px;
  }
}

.content-right li {
  list-style: none;
  padding: 10px 0 0 0;
}

/* ---- Separator ---- */
.separator {
  display: table;
  width: 100%;
}

.separator-text {
  display: table-cell;
  vertical-align: middle;
  padding-left: 4.5%;
  line-height: 25px;
  text-align: left;
  font-weight: bold;
  font-style: italic;
  font-size: 14px;
  background-color: #f5f5f5;
  border: 1px solid #CCC;
  border-radius: 15px;
}

.separator-text h2 {
  font-size: 13px;
  color: #000;
  text-shadow: 1px 1px 2px #CCC;
}

/* ---- Link Styles ---- */
.text-link {
  font-family: Arial;
  font-weight: bold;
  color: blue;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
}

.text-link-13 {
  font-family: Arial;
  font-weight: bold;
  font-size: 13px;
  color: blue;
  text-decoration: none;
}

.text-link-13:hover,
.text-link-13:focus {
  text-decoration: underline;
}

.text-link-deutz {
  font-family: Arial;
  font-weight: normal;
  font-size: 13px;
  color: #000;
  text-decoration: none;
}

.text-link-deutz:hover,
.text-link-deutz:focus {
  text-decoration: underline;
}

/* ---- Deutz Menu Sidebar ---- */
.deutz-menu {
  padding: 0;
  margin: 0 auto;
  width: 175px;
  background: #e5e5e5;
  border-top: 6px solid #f00;
  border-left: 1px solid #f00;
  border-right: 1px solid #f00;
  border-bottom: 6px solid #f00;
}

.deutz-menu-buttons {
  position: relative;
  padding: 0;
  margin: 0 auto;
  width: 157px;
}

.deutz-menu-buttons a {
  position: relative;
  display: block;
  width: 157px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: 5px 0;
}

.deutz-menu-buttons a:hover,
.deutz-menu-buttons a:focus {
  background-position: -167px 1px;
}

.deutz-menu-parts a {
  background-image: url(/images/engine-parts-unlimited-deutz-parts-1x.png);
}

.deutz-menu-engines a {
  background-image: url(/images/engine-parts-unlimited-deutz-engines-1x.png);
  background-position: 0 0;
}

.deutz-menu-engines a:hover,
.deutz-menu-engines a:focus {
  background-position: -153px 1px;
}

.deutz-menu-service a {
  background-image: url(/images/engine-parts-unlimited-deutz-service-1x.png);
  background-position: 0 0;
}

.deutz-menu-service a:hover,
.deutz-menu-service a:focus {
  background-position: -156px 1px;
}

/* ---- Deutz Engines Table ---- */
.deutz-engines-table {
  padding: 0;
  margin: 0 auto;
  max-width: 550px;
  background: #e5e5e5;
  border-top: 6px solid #f00;
  border-left: 1px solid #f00;
  border-right: 1px solid #f00;
  border-bottom: 6px solid #f00;
}

.deutz-engines-table td {
  padding: 5px;
  text-align: center;
  vertical-align: top;
  font-size: 14px;
}

.deutz-engines-table .app-col {
  width: 110px;
}

.deutz-engines-table .app-col + .app-col {
  border-left: 1px solid #808080;
}

.deutz-engines-table tr + tr {
  border-bottom: 1px solid #d3d3d3;
}

/* ---- Deutz Tools Table ---- */
.deutz-tools-table {
  padding: 0;
  margin: 0 auto;
  max-width: 550px;
  background: #e5e5e5;
  border-top: 6px solid #0000A0;
  border-left: 1px solid #0000A0;
  border-right: 1px solid #0000A0;
  border-bottom: 6px solid #0000A0;
}

.deutz-tools-table td {
  padding: 5px;
  text-align: center;
  vertical-align: top;
  font-size: 10px;
}

.deutz-tools-table td + td {
  border-left: 1px solid #808080;
}

.deutz-tools-table tr + tr {
  border-bottom: 1px solid #d3d3d3;
}

/* ---- Calling Instructions Box ---- */
.calling-instructions {
  padding: 10px 15px;
  margin: 10px;
  max-width: 525px;
  background-image: url(/images/engine-parts-unlimited-generic-blue.jpg);
  background-repeat: repeat;
  color: #fff;
}

/* ---- Contact Page ---- */
.contact-box {
  display: inline-block;
  width: 220px;
  padding: 10px;
  margin: 10px;
  border: 2px solid #ccc;
  border-radius: 15px;
  background-color: #F0F0F0;
  color: grey;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.contact-box table {
  text-align: left;
}

/* ---- Footer ---- */
.site-footer {
  height: 75px;
  background-image: url(/images/engine-parts-unlimited-footer.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  font-size: 12px;
  color: #fff;
  padding-top: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: inline-block;
}

.footer-links a {
  font-size: 10px;
  color: #fff;
  text-decoration: none;
  padding: 0 5px;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
}

@media (max-width: 399px) {
  .site-footer {
    font-size: 11px;
  }
}

@media print {
  .site-footer {
    background-image: none;
    color: #000;
  }

  .footer-links a {
    color: #000;
  }
}

/* ---- Print ---- */
@media print {
  .page-break {
    display: block;
    page-break-before: always;
  }

  * {
    overflow: visible !important;
  }
}

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 10000;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Focus visible for keyboard nav */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* EPU.com Sidebar Fix - 2026-05-09 */

/* Ensure sidebar stays on the right and doesn't take full width */
.content-right {
  float: right;
  width: 175px;
  max-width: 175px;
  margin-left: 20px;
  clear: right;
  box-sizing: border-box;
}

/* Ensure content area takes remaining space */
.content-left {
  float: left;
  width: calc(100% - 200px);
  max-width: calc(100% - 200px);
  box-sizing: border-box;
}

/* Contain floats properly */
#container-home::after,
.page-content::after,
.clear-floats::after {
  content: "";
  display: table;
  clear: both;
}

/* Ensure the container clears floats */
#container-home,
.page-content {
  overflow: auto;
}

/* Deutz menu styling fix */
.deutz-menu {
  width: 175px;
  max-width: 175px;
  margin: 0 auto;
}
