/* START HEADER */
#header {
  width: 100%;
}

#header .logo {
  width: 24%; /* was 25% for ADC logo */
  float: left;
  padding: 8px 5px 12px 0; /* was 10px 5px 10px 0px for ADC logo */
  box-sizing: border-box;
  margin-top: 27px; /* was 25px for ADC logo */
}

#header .logo img {
  width: 100%;
  max-width: 238px;
  display: block;
  margin: 0 auto;
}

#header #slogan {
  text-align: center;
  color: #004a83;
  width: 36%; /* was 30% for ADC logo */
  float: left;
  padding: 19px 10px 10px; /* was 10px for ADC logo */
  box-sizing: border-box;
}

#header .social img {
  width: 100%;
  max-width: 205px;
}

#mobile_btns a.phone img {
  width: 25px;
  padding-top: 2px;
}

#header #slogan img {
  width: 100%;
  max-width: 350px;
}

#header #slogan .phone {
  font-size: 35px;
  font-weight: bold;
  margin: 5px 0;
  transition: all 0.1s ease;
  line-height: 42px;
}

#header #slogan #text {
  font-size: 20px;
  font-style: italic;
  transition: all 0.1s ease;
}

#header #low_price {
  width: 18%; /* was 20% for ADC logo */
  float: left;
  text-align: center;
}

#header #low_price img {
  width: 100%;
  max-width: 200px;
}

#header .social {
  width: 22%; /* was 25% for ADC logo */
  float: left;
  padding: 10px;
  box-sizing: border-box;
  text-align: right;
  font-size: 16px;
}

#header .social .pg_title h1 {
  font-weight: 700;
}

#header .social .pg_title {
  margin-bottom: 9px; /* was 50px before adding BBB widget */
  color: #004a83;
}

#header .social .pg_title #sub {
  font-weight: normal;
  font-style: italic;
}

div.social_container a#bbb_dynamic_header {
  /* Added for BBB header logo */
  display: inline-block;
  margin-bottom: 7px;
  max-width: 210px;
}

@media (width <= 1115px) {
  #header .social .pg_title {
    margin-bottom: 10px;
    font-size: 14px;
  }
}

@media (width <= 1025px) {
  #header .social .pg_title {
    font-size: 12px;
  }
}

@media (width <= 1011px) {
  div.social_container a#bbb_dynamic_header {
    width: 171px;
  }

  #header #slogan {
    width: 33%;
  }

  #header .social {
    width: 25%;
  }

  #header #slogan #text {
    font-size: 18px;
  }
}

@media (width <= 960px) {
  #header #slogan {
    /* width: 40%; for ADC logo */
  }

  #header .social {
    /* width: 15%; for ADC logo */
  }
}

@media (width <= 900px) {
  #header #slogan .phone {
    font-size: 30px;
  }

  #header #slogan #text {
    /* font-size: 18px; for ADC logo */
  }

  #header .social .pg_title {
    margin-bottom: 8px;
    font-size: 10px;
  }
}

@media (width <= 891px) {
  div.social_container a#bbb_dynamic_header {
    display: none;
  }

  #header .logo {
    width: 30%;
    padding: 8px 5px 12px 0;
    margin-top: 8px;
  }

  #header #slogan {
    width: 34%;
    padding-top: 12px;
  }

  #header #low_price {
    width: 20%;
  }

  #header .social {
    width: 16%;
  }

  #header #slogan #text {
    font-size: 17px;
  }

  #header .social .pg_title {
    margin-bottom: 8px;
    font-size: 12px;
  }
}

@media (width <= 796px) {
  #header #slogan #text {
    font-size: 16px;
  }
}

@media (width <= 756px) {
  #header .social .pg_title {
    font-size: 11px;
  }
}

@media (width <= 754px) {
  #header #slogan #text {
    font-size: 15px;
  }
}

/* Facebook follow link: Meta retired the Like button plugin for other websites on 2026-02-10.
   Meta's logo rules: the official logo unaltered and at least 16px, clear space around it of a
   quarter of its width, no words attached to the logo itself, and nothing imitating Facebook's
   own buttons. A 16px logo in a 24px pill keeps 4px of clear space on every side. The :link and
   :visited forms outrank page-wide "a:link, a:visited" color rules (the Insiders Club pages). */
.adc-fb-follow,
.adc-fb-follow:link,
.adc-fb-follow:visited {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  box-sizing: border-box;
  height: 24px;
  padding: 0 11px 0 4px;
  border: 1px solid #ccd0d5;
  border-radius: 12px;
  background-color: #fff;
  color: #1c1e21;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.adc-fb-follow:hover,
.adc-fb-follow:focus-visible {
  border-color: #1877f2;
  background-color: #e7f3ff;
  color: #1877f2;
  text-decoration: none;
}

.adc-fb-follow .adc-fb-follow__logo,
#header .social .adc-fb-follow .adc-fb-follow__logo {
  display: block;
  width: 16px;
  max-width: none;
  height: 16px;
  margin: 0;
}

.twitter-follow-button {
  border-radius: 4px; /* to mimic the curved edges of the count box */
  height: 20px; /* this height works for the medium button */
  overflow: hidden; /* actually hides the word "followers" */
  vertical-align: middle; /* centered on the Facebook follow link beside it */
  margin-left: 8px;
}

/* The Facebook and X follow buttons side by side, or X under Facebook once the header's
   social column is too narrow for both; 720px and below hides the whole column. Only above
   720px, so the rule that hides it is left in charge there. */
@media (width > 720px) {
  .adc-social-follow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
    justify-content: flex-end;
  }

  .adc-social-follow .twitter-follow-button {
    margin: 0; /* the gap spaces them */
  }
}

/* END HEADER */

#mobile_btns {
  float: right;
  display: none;
  margin-top: 35px;
}

#mobile_btns a {
  display: block;
  border-radius: 5px;
  width: 45px;
  height: 45px;
  float: right;
  background-color: #004a83;
  padding: 3px;
  margin: 3px;
  text-align: center;
  cursor: pointer;
  transition: all 0.1s ease;
}

#mobile_btns a:hover {
  background-color: dodgerblue;
}

#mobile_btns a#search img {
  padding-top: 6px;
  width: 38px;
}

#mobile_btns a#nav_btn {
  margin-right: 10px;
}

#mobile_btns a#nav_btn img {
  width: 31px;
  padding-top: 7px;
}

@media (width <= 720px) {
  #header .logo {
    width: 50%;
  }

  #header #slogan,
  #header #low_price,
  #header .social {
    display: none;
  }

  #mobile_btns {
    width: 50%;
    display: block;
  }

  #header #top {
    background-color: #dedede;
    box-shadow: 0 5px 10px #ccc;
  }
}

@media (width <= 450px) {
  #mobile_btns {
    margin-top: 6%;
  }

  #mobile_btns a {
    width: 40px;
    height: 40px;
  }

  #mobile_btns a.phone img {
    width: 22px;
  }

  #mobile_btns a#search img {
    width: 35px;
  }

  #mobile_btns a#nav_btn img {
    width: 28px;
  }
}

@media (width <= 350px) {
  #mobile_btns {
    margin-top: 6%;
  }

  #mobile_btns a {
    width: 35px;
    height: 35px;
  }

  #mobile_btns a.phone img {
    padding-top: 1px;
    width: 20px;
  }

  #mobile_btns a#search img {
    padding-top: 4px;
    width: 33px;
  }

  #mobile_btns a#nav_btn img {
    width: 26px;
    padding-top: 6px;
  }
}

@media (width <= 300px) {
  #mobile_btns a {
    width: 30px;
    height: 30px;
  }

  #mobile_btns a.phone img {
    padding-top: 3px;
    width: 15px;
  }

  #mobile_btns a#search img {
    padding-top: 4px;
    width: 25px;
  }

  #mobile_btns a#nav_btn img {
    width: 22px;
    padding-top: 4px;
  }
}

@media (width <= 280px) {
  #mobile_btns a {
    width: 25px;
    height: 25px;
  }
}

@media (width <= 250px) {
  #mobile_btns a {
    width: 20px;
    height: 20px;
  }
}

#search_drop {
  display: none;
  text-align: center;
  border-bottom: 5px solid #d0e8ff;
  background-color: white;
}

#search_drop .input-wrapper {
  padding: 10px;
}

#search_drop .gsc-search-box {
  width: 400px;
  margin: 0 auto;
  height: 40px !important;
}

#search_drop td.gsc-input {
  height: 100% !important;
  padding-right: 0;
}

#search_drop input.gsc-input {
  font-size: 16px !important;
  box-sizing: border-box;
  height: 100% !important;
}

#search_drop .gsc-search-button {
  font-size: 12px !important;
  height: auto !important;
  padding: 0;
}

#search_drop .gsc-search-button input[type="button"] {
  color: white;
  border: 0;
  outline: 0;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 12px;
}

#search_drop td.gsc-clear-button {
  display: none !important;
}

table.gsc-completion-container table span {
  font-size: 20px !important;
  line-height: normal !important;
}

@media (width <= 720px) {
  #search_drop .gsc-search-box {
    width: 100%;
  }
}
