/* Basic styling */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
h2, h3, h4, h5 {
  color: royalblue;
}
h1, h2, h3, h4, h5 {
  font-family: 'Arial Black', Gadget, sans-serif;
}
h1, h2, h3, h4, h5 {
  margin-top: .5em;
  margin-bottom: .5em;
}
p {
  margin-top: .5em;
  margin-bottom: 1em;
}
h2 + p, h2 + ul{
  margin-top: 0;
}
nav {
  background: #111;
  padding: 0 15px;
}
a {
  color: white;
  text-decoration: none;
}
main {
  padding: 2em 1em 2.5em 1em;
}
main p, main li { max-width: 960px; }
main a { color: royalblue; }
main ul, main ol {
  margin-left:2.5em;
  margin-top:1em;
  margin-bottom:1em;
}
footer {
  padding: 1em 1em 1em 1em;
  background-color: #111;
  color: #fff;
  text-align: center;
}
.frontPgImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: .5em;
  margin-bottom: .5em;
}
.mainImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: 0 5px 3px lightgrey;
}
/* aerator echange table styles */
.aerator_exchange {
  border-collapse: collapse;
  background-color: lightblue;
  border: thin solid black;
  margin-bottom: 2em;
}
.aerator_exchange caption {
  text-align: start;
  padding: .375em 0;
  font-size: 1.25em;
  font-weight: bold;
  color: royalblue;
}
.aerator_exchange tr:nth-child(even) {
  background-color: #eee;
}
.aerator_exchange th {
  text-align: start;
  padding: .375em;
}
.aerator_exchange td {
  text-align: end;
  padding: .375em .375em .375em 3em;
}
.aerator_exchange thead th.rightSide {
  text-align: end ;
}
.aerator_exchange thead th {
  border-bottom: thin solid black;
}
.aerator_exchange tfoot th {
  text-align: end;
  border-top: thin solid black;
}
/* nav menu basic styling */
.menu,
.submenu {
  list-style-type: none;
}
.logo {
  padding: 1px 1px 1px 0;
  margin:0;
}
.item {
  padding: 10px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #ccc;
}
/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
.menu li.subitem a {
  padding: 15px;
}
.toggle {
  order: 1;
  font-size: 20px;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
}
.active .item {
  display: block;
}
.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #444 solid;
}
/* Submenu up from mobile screens */
.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}
.has-submenu i {
  font-size: 12px;
}
.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  content: "\f078";
  color: white;
  padding-left: 5px;
}
.subitem a {
  padding: 10px 15px;
}
.submenu-active {
  background-color: #111;
  border-radius: 3px;
}
/* flex items */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: column;
}
.flex-container div {
  flex: 1;
}
.flex-container div:nth-of-type(2) {
  padding-left: 0;
}
.gridControlPanels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}
.picsItem {
  padding: .25em;
}
/* Tablet menu */
@media all and (min-width: 700px) {
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    background: #0080ff;
    border: 1px royalblue solid;
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    border: 1px #0080ff solid;
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    background: royalblue;
    border-color: darkblue;
  }
}
/* Desktop menu */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 68px;
    background: #111;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
  }
  /* flex items */
  .flex-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    flex-direction: row;
  }
  .flex-container div:nth-of-type(2) {
    padding-left: 3em;
  }
  .gridControlPanels {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
  }
}
/* special styles for highlighted content */
.slogan {
  font-size: 1.25em;
  font-weight: bold;
  padding-left: 2em;
}
.callus{
  font-size: 1.25em;
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 1.5em;
}
.phone-number::before {
    content: "\f095"; /* Unicode for phone icon in Font Awesome */
    font-family: "Font Awesome 5 Free";
    margin-right: .5em;
}
#contact_us {
  background-color: #eee;
  padding: 1em;
}
#contact_us fieldset {
  padding: 1em;
}
#contact_us input, #contact_us textarea, #contact_us button {
  font-size: 1em;
  padding: .25em;
}
#contact_us button {
  background-color: lightblue;
}
.red_note {
  color: crimson;
}
.faq_menu {
  background-color: #eee;
  padding: 1.5em;
  margin-bottom: 5em;
}
.faq_menu li {
  margin-bottom: 1em;
}
.faq_article {
  margin-bottom: 3em;
}
.faq_uparrow {
  font-size: 2em;
}