/* 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 (max-width: 1115px) {
  #header .social .pg_title {
    margin-bottom: 10px;
    font-size: 14px;
  }
}

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

@media (max-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 (max-width: 960px) {
  #header #slogan {
    /* width: 40%; for ADC logo */
  }

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

@media (max-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 (max-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 (max-width: 796px) {
  #header #slogan #text {
    font-size: 16px;
  }
}

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

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

.fb_iframe_widget {
  vertical-align: top;
}

.fb_iframe_widget iframe {
  width: 97px !important;
}

.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: baseline;
  margin-left: 14px;
}

@media (max-width: 1115px) {
  .fb_iframe_widget {
    margin-bottom: 5px;
  }

  .twitter-follow-button {
    margin-bottom: 3px;
  }
}

/* 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 (max-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 (max-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 (max-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 (max-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 (max-width: 280px) {
  #mobile_btns a {
    width: 25px;
    height: 25px;
  }
}

@media (max-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 (max-width: 720px) {
  #search_drop .gsc-search-box {
    width: 100%;
  }
}
