/* Colors */
:root {
  --gray50: #fafafa;
  --gray900: #212121;
  --red50: #ffebee;
  --red900: #b71c1c;
  --primaryLight: #e0e0e0; /* Assuming $gray300 is #e0e0e0 */
  --primary: #bdbdbd; /* Assuming $gray400 is #bdbdbd */
  --primaryDark: #9e9e9e; /* Assuming $gray500 is #9e9e9e */
  --twitter: #1da1f2;
  --linkedin: #0e76a8;

  /* Spacing */
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-52: 52px;

  /* Font Sizes */
  --font-size-12: 12px;
  --font-size-16: 16px;
  --font-size-24: 24px;
  --font-size-32: 32px;
  --font-size-48: 48px;
  --font-size-72: 72px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  padding: 0;
  margin: 0;
  height: fit-content;
}

body {
  font-family: sofia-pro, sans-serif;
  background-image: url("https://hlth-technology.github.io/hlth-help-scout/assets/main_bg_vive.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: var(--gray50);
  font-size: var(--font-size-16);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

input,
button,
select,
textarea {
  font-family: sofia-pro, sans-serif;
}

body section h1 {
  color: var(--primary);
  font-family: catalpa, sans-serif;
  font-weight: bold !important;
  font-size: var(--font-size-32);
}

#mainNav.navbar {
  max-width: 1080px;
  width: 100%;
  display: flex;
}

.navbar .navbar-inner {
  display: flex;
  width: 100%;
}

.category-list {
  margin: 0;
}

.most-pop-articles h2 {
  color: white;
}

.most-pop-articles ul li a span {
  color: white;
}

.collection-category .category-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 1em;
}

@media only screen and (max-width: 800px) {
  .collection-category .category-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 640px) {
  .collection-category .category-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.collection-category .category-list .category {
  width: 100%;
  background-color: var(--gray50);
  color: var(--primaryDark);
}

.collection-category h2 a {
  font-family: catalpa, sans-serif;
  color: white !important;
  display: none;
}

#categoryHead {
  display: flex;
  flex-direction: column;
}

#categoryHead h1 {
  color: black;
}

#categoryHead .sort {
  position: static;
  align-self: flex-end;
  top: 0;
}

#categoryHead .sort select {
  height: 30px;
}

.category-list .category {
  font-family: catalpa, sans-serif;
  border-radius: 1em;
  background-color: white;
  border-color: transparent;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin: 0;
}

.category-list .category .article-count {
  text-transform: uppercase;
  font-weight: 600;
  font-family: montserrat, sans-serif;
  color: var(--twitter) !important;
  font-size: var(--font-size-16);
}

section a h3 {
  font-weight: bold !important;
}

#docsSearch {
  border-bottom: none;
  margin: 0;
  padding: 0;
}

#docsSearch h1 {
  margin-bottom: 3em;
}

#contentArea {
  margin-top: clamp(100px, 6vw, 200px);
  margin-top: var(--spacing-32);
}

@media only screen and (max-width: 800px) {
  #docsSearch h1 {
    margin-bottom: 2em;
  }
}

#searchBar {
  display: flex;
  flex-direction: row;
  gap: 1em;
  justify-content: center;
  gap: var(--spacing-16);
}

#searchBar .search-query {
  display: flex !important;
  width: 80% !important;
  border-radius: 2em !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 1.2em !important;
  height: 50px !important;
  padding: 0.5em 2em !important;
  margin-right: 0 !important;
}

#searchBar button {
  border-radius: 2em !important;
  position: static !important;
  border: none !important;
  text-decoration: none !important;
  background-color: lightskyblue !important;
  text-shadow: none !important;
  text-transform: uppercase !important;
  font-size: 1.2em !important;
  height: 50px !important;
  padding: 0.5em 2em !important;
}

@media (max-width: 768px) and (max-width: 480px) {
  #searchBar button span {
    display: none;
  }
}

#docsSearch {
  background: transparent;
}

div.navbar-inner {
  background-color: transparent !important;
  box-shadow: none;
}

b.caret {
  visibility: hidden;
}

li a span {
  color: black;
}

ul li a {
  color: black;
}

.navbar ul li a {
  color: white !important;
}

#main-content {
  flex: 1;
  background: none;
  width: 100%;
  margin: 0;
}

.contentWrapper {
  border: none;
  border-left: 2px solid #eee;
}

@media only screen and (max-width: 800px) {
  .contentWrapper {
    border: none;
    border-left: none;
    padding: 0;
  }
}

#sidebar form .search-query {
  width: 100% !important;
  border: 2px solid #eee !important;
}

#sidebar .nav-list li {
  font-family: catalpa, sans-serif;
}

#sidebar form button {
  position: absolute !important;
  right: 0.4em !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.articleList li {
  border-radius: 0.25em;
  margin: 0;
  padding: 0.5em;
}

.articleList li:nth-child(odd) {
  background-color: #ffffff;
}

.articleList li:nth-child(odd) {
  background-color: #eeeeee;
}

.articleList a {
  margin-left: 0.5em;
  font-weight: 500;
}

i.icon-article-doc {
  display: none;
}

i.icon-search {
  color: white;
}

section.related {
  margin-top: 1em;
  border-radius: 2em;
  border-color: transparent;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* Remove Icons */

/* #category-4::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/registration_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-5::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/faq_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-7::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/hall_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-9::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/travel_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-10::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/sponsor_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-26::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/speaker_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-57::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/hosted_buyers_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-58::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/funding_founders_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-65::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/attendee_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-94::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/media_icon.svg");
  display: inline-block;
  width: 120px;
}

#category-80::before {
  content: url("https://hlth-technology.github.io/hlth-help-scout/assets/special_program_icon.svg");
  display: inline-block;
  width: 120px;
} */

.petunias-pick {
  background-color: white;
  border-radius: 1em;
  padding: 2em;
  margin: 8em 4em 4em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  width: fit-content;
  max-width: 80%;
}

.petunias-pick after {
  content: "Read More";
}

.petunias-pick img {
  width: 10em;
  margin-right: 2em;
}

.petunias-pick h3 {
  font-family: catalpa, sans-serif;
  color: lightskyblue;
  line-height: 1;
  font-size: 1.5em;
  margin: 0;
  font-size: var(--font-size-24);
}

.petunias-pick h2 {
  font-family: catalpa, sans-serif;
  margin: 0;
  font-size: var(--font-size-32);
}

.petunias-pick .read-more-btn {
  text-decoration: none;
  color: lightskyblue;
  background-color: black;
  padding: 0.5em 1em;
  margin-left: 2em;
  border-radius: 2em;
  height: 2em;
  white-space: nowrap;
  font-weight: bold;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 800px) {
  .petunias-pick {
    flex-direction: column;
    text-align: center;
    margin: 2em 1em 2em;
    max-width: 100%;
  }
  .petunias-pick img {
    margin-right: 0;
  }
  .petunias-pick .read-more-btn {
    margin-left: 0;
  }
}

.email-footer {
  display: flex;
  margin: 4em 0;
  gap: 4em;
}

.email-footer div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.email-footer div.email-button {
  display: flex;
  flex: 1;
  flex-direction: row;
  background: white;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 1em;
  padding: 1em 2em;
  gap: 1em;
  align-items: center;
  cursor: pointer;
}

.email-footer div.email-button h3 {
  color: lightskyblue;
  font-family: catalpa, sans-serif;
  margin: 0;
}

.email-footer div.email-button img {
  width: 100px;
}

.email-footer h2 {
  font-weight: bold;
  font-family: catalpa, sans-serif;
  margin: 0;
  font-size: var(--font-size-24);
}

.email-footer p {
  font-size: 14px;
}

.email-footer p a {
  text-decoration: none;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

#mainNav div.container-fluid {
  margin-bottom: 4em;
}

footer {
  margin-top: 3rem;
}

@media only screen and (max-width: 800px) {
  .email-footer {
    margin: 6em 0;
    flex-direction: column;
    text-align: center;
  }

  .email-footer div.email-button {
    flex-direction: column;
  }

  #mainNav div.container-fluid {
    margin-bottom: 2em;
  }
}

.row-fluid {
  background-color: white;
  border-radius: 2em;
  padding: 2em;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  display: flex;
  flex: 1;
  flex-direction: row-reverse;
}

.container-fluid {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 0 2em;
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .row-fluid {
    flex-direction: column;
    padding: 2em;
  }

  .container-fluid {
    padding: 1em;
  }
}
