/* Originally from https://s3.amazonaws.com/helpscout.net/docs/assets/5751c9c1c69791786cd426a5/attachments/5b21a8650428632c466add57/Honey-Stylesheet.css */

* {
  font-family: SuisseIntl, Open Sans, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: white !important;
}

.brand {
  width: 75px;
  height: 22px;
  background: white url('https://cdn.joinhoney.com/images/logo-pphoneyblack.svg?20220628') center center no-repeat;
}
.brand span,
.nav-collapse {
  display: none;
}
.navbar .btn-navbar {
  display: none;
}
.navbar {
  height: 90px;
  background-color: #f9fbfd;
}
.brand::after {
  content: 'Help';
  color: #292a2a;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid #f58621;
  position: absolute;
  right: 0;
  top: -12px;
  padding: 21px;
  pointer-events: none;
}
.navbar .navbar-inner {
  background-color: white !important;
  padding: 20px;
}

/* search area */
#docsSearch {
  background-color: #f9fbfd;
  border-bottom: none;
  padding-bottom: 280px;
}
#docsSearch button {
  display: none;
}
#docsSearch form::before {
  content: 'Looking for help?';
  display: block;
  font-weight: bold;
  font-size: 24px;
  color: #292a2a;
  margin-top: 5%;
  margin-bottom: 20px;
  margin-left: 20px;
  text-align: left;
}
#docsSearch form::after {
  content: '';
  background-image: url('https://storage.googleapis.com/honey-cdn/images/honey-peeps.svg');
  background-size: 536px 270px;
  background-repeat: no-repeat;
  width: 536px;
  height: 270px;
  position: absolute;
  right: 0px;
  top: 0px;
  display: inline-block;
}

/* search bar */
#searchBar {
  width: 100%;
  max-width: 1080px;
}
#searchBar .search-query {
  z-index: 1;
  float: left;
  margin-left: 20px;
  width: 45%;
  height: 52px;
  padding: 0px 20px 0px 66px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.02);
  border: solid 1px rgba(0, 0, 0, 0.06);
  background: white url('https://storage.googleapis.com/honey-cdn/images/search-default.svg') no-repeat 22px 16px;
  background-size: 18px 18px;
}
#searchBar .search-query::placeholder {
  color: #c0c0c0;
  font-size: 18px;
  font-weight: 100;
}
#searchBar .search-query::-webkit-input-placeholder {
  color: #c0c0c0;
  font-size: 18px;
  font-weight: 100;
}
#searchBar .search-query::-moz-placeholder {
  color: #c0c0c0;
  font-size: 18px;
  font-weight: 100;
}
#searchBar .search-query:-ms-input-placeholder {
  color: #c0c0c0;
  font-size: 18px;
  font-weight: 100;
}

/* some things to hide */
.icon-article-doc,
.sep {
  display: none;
}

/* arrange articles at the bottom, but above footer */
#contentArea {
  display: flex;
  flex-direction: column;
}
.most-pop-articles {
  order: 1;
  margin: none;
  max-width: 1080px;
  margin-bottom: 80px;
  width: 100%;
}
footer {
  order: 2;
}

/* style article links */
.most-pop-articles.two-col .popArticles a {
  padding: 0 20px 0 0;
}
.most-pop-articles.two-col .popArticles li {
  margin-bottom: 2em;
}
.most-pop-articles h2 {
  display: none;
}
.most-pop-articles::before {
  content: 'Frequently asked questions:';
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 2.5em;
}

/* category cards */
.category-list {
  margin: -180px initial 80px initial;
}
.category-list::before {
  content: 'Choose a category:';
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #292a2a;
  margin-bottom: 20px;
}
.category-list .category {
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.02);
  margin-left: 0;
  margin-right: 1.6%;
}
.category:hover {
  box-shadow: 0px 30px 20px -20px rgba(0, 0, 0, 0.2);
}
.category h3 {
  padding-top: 190px;
}

/* individual category background images */
#category-5 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help-rocket.svg') center 25% no-repeat;
}
#category-5:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help-rocket-active.svg');
}
#category-12 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help-bonus.svg') center 25% no-repeat;
}
#category-12:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help-bonus-active.svg');
}
#category-4 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help-trouble.svg') center 25% no-repeat;
}
#category-4:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help-trouble-active.svg');
}
#category-40 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help-store.svg') center 25% no-repeat;
}
#category-40:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help-store-active.svg');
}
#category-27 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help-work.svg') center 25% no-repeat;
}
#category-27:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help-work-active.svg');
}
#category-41 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help-question.svg') center 25% no-repeat;
}
#category-41:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help-question-active.svg');
}
#category-211 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-mobile.svg') center 25% no-repeat;
}
#category-211:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-mobile-active.svg');
}
#category-266 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-honeypay.svg') center 25% no-repeat;
}
#category-266:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-honeypay-active.svg');
}
#category-284 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-honeytips.svg') center 25% no-repeat;
}
#category-284:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-honeytips-active.svg');
}
#category-293 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-privacy.svg') center 25% no-repeat;
}
#category-293:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-privacy-active.svg');
}
#category-305 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-giftcard.svg') center 25% no-repeat;
}
#category-305:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-giftcard-active.svg');
}
#category-311 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-paypal.svg') center 25% no-repeat;
}
#category-311:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-paypal-active.svg');
}
#category-323 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-holidaygiveaway.svg') center 25%
    no-repeat;
}
#category-323:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-holidaygiveaway-active.svg');
}
#category-341 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-honey-checkout.svg') center 25%
    no-repeat;
}
#category-341:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-honey-checkout_hover.svg');
}
#category-352 {
  background: white url('https://storage.googleapis.com/honey-cdn/images/help/help-safari-mobile.svg') center 25%
    no-repeat;
}
#category-352:hover {
  background-image: url('https://storage.googleapis.com/honey-cdn/images/help/help-safari-mobile_hover.svg');
}

/* sidebar */
#sidebar form .search-query {
  height: 40px;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.03);
  border: solid 1px rgba(0, 0, 0, 0.06);
  background-size: 14px 14px;
  background-position: 14px 12px;
  padding: 0 0 0 40px;
}
#sidebar form .search-query::placeholder {
  font-size: 12px;
}
#sidebar form .search-query::-webkit-input-placeholder {
  font-size: 12px;
}
#sidebar form .search-query:-moz-placeholder {
  font-size: 12px;
}
#sidebar form .search-query:-ms-input-placeholder {
  font-size: 12px;
}

#sidebar button,
#sidebar h3 {
  display: none;
}
#sidebar .sm {
  margin-bottom: 100px;
}
#sidebar .nav-list li {
  line-height: 58px;
}
#sidebar .nav-list a {
  font-size: 14px;
  font-weight: 600;
}
#sidebar .nav-list .active a {
  padding-left: 0px;
  padding-right: 0px;
  border-bottom: 4px solid #f58621;
  border-radius: 1px;
}
#sidebar .nav-list .active a .icon-arrow,
#sidebar .nav-list .active a:hover .icon-arrow {
  display: none;
}

/* article content & results */
#main-content {
  background: none;
}
#main-content .contentWrapper {
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.03);
  border: solid 1px rgba(0, 0, 0, 0.06);
}
#main-content .sort {
  display: none;
}
#categoryHead {
  margin-bottom: 40px;
}
#fullArticle .title {
  margin-bottom: 1.5em;
}

/* search results */
#serp-dd {
  background-color: #ffffff;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.02);
  border: solid 1px rgba(32, 32, 32, 0.1);
  width: 44.8%;
  top: 180px;
  margin-left: 20px;
}
#sidebar #serp-dd {
  top: 60px;
  width: 600px;
}
#serp-dd:after,
#serp-dd:before {
  bottom: 100%;
  left: 12%;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  background: transparent;
}
#serp-dd:after {
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #ffffff;
  border-width: 10px;
  margin-left: -10px;
}
#serp-dd:before {
  border-color: rgba(32, 32, 32, 0);
  border-bottom-color: rgba(32, 32, 32, 0.1);
  border-width: 11px;
  margin-left: -11px;
}
#serp-dd .result a {
  color: #292929;
  font-size: 14px;
}
#serp-dd .result .active a {
  color: white;
  background-color: #f58621;
}

/* related articles */
.related a span {
  color: #f58621;
}

@media only screen and (max-device-width: 987px) {
  #searchBar .search-query {
    width: 90%;
  }
  #serp-dd {
    width: 90%;
    z-index: 10000000000;
  }
  #docsSearch form::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .navbar .brand {
    padding-right: 20px;
  }
}
@media (max-width: 560px) {
  #serp-dd {
    margin-top: -30px;
  }
}
@media (max-width: 460px) {
  #serp-dd .result {
    max-height: 310px;
  }
}

#olark-container textarea {
  resize: none !important;
}
