@font-face{
  font-family:muli-regular;
  src:local("Segoe UI"), local("Arial")
}
@font-face{
  font-family:muli-semibold;
  src:local("Segoe UI Semibold"), local("Arial Bold"), local("Arial")
}
@font-face{
  font-family:muli-bold;
  src:local("Segoe UI Bold"), local("Arial Bold"), local("Arial")
}
@font-face{
  font-family:material-design-iconic;
  src:url(../fonts/Material-Design-Iconic-Font.ttf)
}

html{
  --color-text: #666;
  --color-accent: #ae3c33;
  --color-background: #ffffff;
  --color-accent-hover: #f11a09;
  --color-accent-background: #f11a09;
}

body{
  margin: 0;
  font-family:muli-semibold;
  padding-top: 50px;
}
  
/* .topnav{
  overflow: hidden;
  background-color: #ae3c33;
} */

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #333;
  border-bottom: 1px solid #444;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.topnav-left {
  display: flex;
  align-items: center;
}

.topnav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.main {
  position: relative;
  z-index: 1;
}

.topnav a{
  float: left;
  display: block;
  color: #fff;
  background-color: #ae3c33;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size:12px;
  text-transform:uppercase;
  font-family:muli-semibold;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  letter-spacing: 0.25px;
}
.topnav a.nextactive{
  color: #fff;
  background-color: #ae3c33;
  /* opacity: 0.7; */
}
.topnav a:hover{
  background: #f11a09;
  color: white;
  font-family:muli-bold;
}

.topnav a.active{
  background-color: #f11a09;
  color: white;
  font-family:muli-bold;
  box-shadow: inset 0 -3px 0 #fff;
}

.topnav .icon {
  display: none;
}

.right-lnk {
  float: right;
}

.nav-dropdown {
  float: left;
  overflow: hidden;
}

.nav-dropdown .nav-dropbtn {
  font-size: inherit;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1200;
}

.nav-dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.nav-dropdown-content a:hover {
  background-color: var(--color-accent-hover);
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-search {
  display: flex;
  align-items: center;
  margin-left: 20px;
  margin-right: 20px;
  width: auto;
  gap: 0;
  position: relative;
}

.nav-search input {
  box-sizing: border-box;
  height: 40px;
  margin: 0;
  padding: 8px;
  border-radius: 4px 0 0 4px;
  border: 1px solid #ccc;
  border-right: none;
  width: 253.333px;
  transition: width 0.3s;
}

.nav-search.has-clear-button input {
  padding-right: 24px;
}

.nav-search.has-voice-button input {
  padding-right: 54px;
}

.nav-search.has-clear-button.has-voice-button input {
  padding-right: 72px;
}

.nav-search.has-voice-language input {
  padding-right: 152px;
}

.nav-search.has-clear-button.has-voice-language input {
  padding-right: 172px;
}

.nav-search.has-voice-button.has-voice-language input,
.nav-search.has-clear-button.has-voice-button.has-voice-language input {
  padding-right: 196px;
}

.nav-search input:focus {
  width: 420px;
  outline: none;
  border-color: #007bff;
}

.nav-search-button {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex: 0 0 40px;
  margin: 0;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 4px 4px 0;
  background-color: #f1f1f1;
  color: #333;
  cursor: pointer;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-search-button::before {
  content: none;
}

.nav-search-button:hover {
  background-color: #e6e6e6;
}

.nav-search-button:focus {
  outline: none;
  border-color: #007bff;
}

.nav-search.has-submitted-query input,
.nav-search input.is-submitted {
  background-color: #fbe6e6;
  border-color: #8b1f1f;
  color: #5f1010;
  font-family: muli-bold;
}

.nav-search.has-submitted-query input::placeholder,
.nav-search input.is-submitted::placeholder {
  color: #9a5a5a;
}

.nav-search.has-submitted-query input:focus,
.nav-search input.is-submitted:focus {
  border-color: #731717;
  box-shadow: 0 0 0 2px rgba(139, 31, 31, 0.22);
}

.nav-search.has-submitted-query .nav-search-button {
  background-color: #8b1f1f;
  border-color: #8b1f1f;
  color: #fff;
}

.nav-search.has-submitted-query .nav-search-button:hover {
  background-color: #731717;
}

.nav-search-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-search-voice-button {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.nav-search-voice-button:hover,
.nav-search-voice-button:focus {
  color: #8b1f1f;
  background: rgba(139, 31, 31, 0.12);
  outline: none;
}

.nav-search-voice-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nav-search-voice-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav-search-voice-wave {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  width: 16px;
  height: 14px;
  pointer-events: none;
}

.nav-search.is-voice-recording .nav-search-voice-wave {
  display: inline-flex;
}

.nav-search.is-voice-recording .nav-search-voice-button {
  color: #8b1f1f;
}

.nav-search-voice-wave-line {
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: #8b1f1f;
  transform-origin: center bottom;
  animation: nav-search-voice-wave 1s ease-in-out infinite;
}

.nav-search-voice-wave-line:nth-child(2) {
  animation-delay: 0.14s;
}

.nav-search-voice-wave-line:nth-child(3) {
  animation-delay: 0.28s;
}

.nav-search-voice-language {
  position: absolute;
  right: 86px;
  top: 50%;
  transform: translateY(-50%);
  width: 74px;
  max-width: 74px;
  height: 24px;
  border: 1px solid #d6d6d6;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-size: 11px;
  line-height: 1;
  padding: 0 3px;
  z-index: 2;
}

.nav-search-voice-language:focus {
  outline: none;
  border-color: #8b1f1f;
}


.nav-menu-voice-language-item {
  float: left;
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-left: 10px;
  z-index: 1201;
}

.nav-menu-voice-language-label {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu-voice-language-item .nav-search-voice-language,
.nav-menu-voice-language-item .nav-search-voice-language-select {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  width: auto;
  min-width: 90px;
  max-width: 140px;
  height: 120px;
  border-radius: 4px;
  font-size: 12px;
  line-height: normal;
  padding: 0 8px;
  z-index: 1202;
}

@keyframes nav-search-voice-wave {
  0%,
  100% {
    transform: scaleY(0.28);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* @media screen and (max-width: 768px) and (min-width: 577px) {
  .nav-search input {
    width: 120px;
  }
  
  .nav-search input:focus {
    width: 160px;
  }
}

@media screen and (max-width: 576px) {
  .nav-search {
    width: 100%;
    order: -1;
    margin: 10px 0;
  }
  
  .nav-search input {
    width: 100%;
  }
} */

@media screen and (max-width: 600px) {
  body {
    padding-top: 56px;
  }

  .topnav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: #2f2f2f;
  }

  .topnav > a,
  .topnav > .nav-dropdown,
  .topnav > .right-lnk {
    display: none;
  }

  .topnav .icon {
    display: block;
    order: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 14px 16px;
    background-color: #ae3c33;
    min-width: 48px;
  }

  .topnav .nav-search {
    order: 1;
    flex: 1 1 auto;
    margin: 0;
    padding: 6px 8px;
    background-color: #2f2f2f;
  }

  .topnav .nav-search input,
  .topnav .nav-search input:focus {
    width: 100%;
  }

  .topnav .nav-search-button {
    min-width: 44px;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .topnav.responsive {
    max-height: 100vh;
    overflow-y: auto;
  }

  .topnav.responsive > a,
  .topnav.responsive > .nav-dropdown,
  .topnav.responsive > .right-lnk {
    display: block;
    flex: 1 0 100%;
    order: 2;
  }

  .topnav.responsive a,
  .topnav.responsive .nav-dropbtn {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .right-lnk {
    float: none;
  }

  .topnav.responsive .nav-dropdown-content {
    position: relative;
  }
  .topnav .nav-menu-voice-language-item {
    float: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 16px;
  }

  .topnav .nav-menu-voice-language-label {
    min-width: 72px;
  }

  .topnav .nav-menu-voice-language-item .nav-search-voice-language,
  .topnav .nav-menu-voice-language-item .nav-search-voice-language-select {
    min-width: 120px;
    max-width: 220px;
    height: 80px;
  }

}

.breadcrumb-container {
  /* padding: 10px 15px;
  background-color: #f8f9fa;
  margin-bottom: 20px;
  border-radius: 4px; */
  position: fixed;
  top: 50px; /* Should match your menu height */
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #f8f9fa; /* Add background color so content is visible */
  padding: 8px 15px; /* Add padding for better appearance */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: block !important; /* Force display */
}

.breadcrumbs {
  display: flex !important;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb-item {
  display: inline-block !important;
}

.breadcrumb-item a {
  color: #0275d8;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
  color: #014c8c;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #6c757d;
}

.breadcrumb-item.hidden {
  display: none;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 10px;
  background-color: #6c757d;
  color: #fff;
  margin-left: 5px;
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: fixed;
    overflow-y: auto;
    max-height: 100vh;
  }

  .breadcrumb-container {
    top: 56px;
    padding: 6px 10px;
  }
}

/* @media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
} */


.search-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050; /* Increased from 1000 to be above breadcrumbs */
  display: none;
  justify-content: center;
  padding-top: 60px;
  overflow-y: auto;
  transition: background-color 0.3s ease;
}

.search-dialog-overlay[data-transparent="true"] {
  background-color: transparent;
}

.search-dialog-wrapper {
  width: 100%;
  max-width: 800px;
  margin-bottom: 60px;
}

.search-dialog {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.search-dialog-overlay[data-transparent="true"] .search-dialog {
  opacity: 1;
}

.search-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.search-dialog-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #212529;
}

.search-dialog-body {
  padding: 20px;
}

.natural-language-search {
  position: relative;
  margin-bottom: 20px;
}

.natural-language-search input {
  width: 100%;
  padding: 12px 80px 12px 15px;
  font-size: 16px;
  border: 2px solid #6c757d;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.natural-language-search input:focus {
  border-color: #007bff;
  outline: none;
}

.natural-language-search button {
  position: absolute;
  top: 0;
  bottom: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.filter-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background-color: #343a40;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  max-width: 80%;
}

.filter-notification.visible {
  transform: translateX(-50%) translateY(0);
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#filterNotificationText {
  margin-right: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.close-notification {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.breadcrumb-item {
  position: relative;
  margin-right: 30px;
}

.breadcrumb-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  display: none;
}

.breadcrumb-item:hover .breadcrumb-dropdown {
  display: block;
}

.count-badge {
  background-color: #6c757d;
  color: white;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 0.75rem;
  margin-left: 5px;
}

.nav-search-clear {
  position: absolute;
  right: 46px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  margin-top: 0;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: none;
  border-radius: 50%;
  background: rgba(60, 60, 60, 0.16);
  color: #4b4b4b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  text-transform: none;
  box-shadow: none;
  overflow: visible;
  transition: none;
  opacity: 0;
  pointer-events: none;
}

.nav-search-clear::before,
.nav-search-clear:hover::before,
.nav-search-clear:focus::before {
  content: none;
  transform: none;
}

.nav-search-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-search-clear:focus {
  outline: 1px solid #8b1f1f;
}

.nav-search.has-submitted-query .nav-search-clear {
  background: rgba(139, 31, 31, 0.2);
  color: #6f1212;
}

.nav-search.has-voice-button .nav-search-clear {
  right: 68px;
}

.nav-search.has-voice-language .nav-search-clear,
.nav-search.has-clear-button.has-voice-language .nav-search-clear,
.nav-search.has-clear-button.has-voice-button.has-voice-language .nav-search-clear {
  right: 164px;
}
