:root {
  --sidebar-height: 300px;
  --color-primary: #4bdcc3;
  --color-primary-lt: #4bdcc38c;
  --color-primary-dk: #00444f;
  --color-white: #f8f8f9;
  --color-black: #2c4251;
  --color-gray: #f7f7f7;
  --color-highlight: #e63a46;

  --font-primary: "Carlito", sans-serif;
}

a,
* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  outline: none !important;
}
a:focus,
a:active {
  background-color: transparent;
  outline: none;
}

html,
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
  height: 100%;
  overflow: hidden;
  color: var(--color-black);
}

#full-page-initial-loader {
  background-color: white;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
}

/* Default: Extra-small devices such as small phones (less than 640px) */
#page-header {
  width: 100%;
  height: 60px;
  box-shadow: rgb(0 0 0/16%) 0 0 6px;
  background-color: var(--color-primary-dk);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 8px;
  box-sizing: border-box;
  justify-content: space-between;
  gap: 10px;
}

#tradeshow-logo {
  height: calc(100% + 16px);
  display: flex;
  align-items: center;
  /* border-right: 1px solid var(--color-primary); */
  padding-right: 10px;
  background-color: var(--color-primary-lt);
  padding-left: 8px;
  margin-left: -8px;
}

#tradeshow-logo svg,
#tradeshow-logo img {
  height: 30px;
  display: block;
}

main {
  width: 100%;
  height: 100dvh;
  position: relative;
}

#sidebar-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: var(--sidebar-height);
  background-color: white;
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--color-gray);
  box-shadow: rgb(0 0 0/16%) 0 0 6px;
  background-color: white;
}

#searchbar-wrapper input {
  font-size: 14px;
}

#sidebar-wrapper .horizontal-resize-handle {
  display: none;
}

#map-wrapper {
  height: 100%;
  width: 100%;
  background-color: white;
  position: relative;
  z-index: 1;
}

#map {
  width: 100%;
  height: 100%;
  background-color: white;
}

#sidebar-header::before {
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-20px);
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background-color: rgba(32, 32, 32, 0.2);
}

#sidebar-mobile-drag-handler {
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: transparent;
  top: 0;
  left: 0;
  cursor: pointer;
}

#sidebar-header {
  display: flex;
  justify-content: center;
  padding: 1rem;
  position: relative;
  border-bottom: 1px solid #ebebeb;
  gap: 10px;
  align-items: center;
  background-color: white;
  border-radius: 20px 20px 0 0;
  height: 63px;
  box-sizing: border-box;
}

#sidebar-title {
  transform: translateY(6px);
  pointer-events: none;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

#sidebar-title > span {
  display: none;
}

#sidebar-content-company-details {
  display: none;
  gap: 1rem !important;
  height: 100%;
}

#sidebar-content,
#sidebar-content-company-details {
  height: calc(100% - 55px);
  overflow: auto;
  padding: 0.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#sidebar-content::-webkit-scrollbar,
#sidebar-content-company-details::-webkit-scrollbar {
  width: 8px;
}

#sidebar-content::-webkit-scrollbar-track,
#sidebar-content-company-details::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#sidebar-content::-webkit-scrollbar-thumb,
#sidebar-content-company-details::-webkit-scrollbar-thumb {
  background: #b9b9b9;
}

#sidebar-content::-webkit-scrollbar-thumb:hover,
#sidebar-content-company-details::-webkit-scrollbar-thumb:hover {
  background: #9e9e9e;
}

#searchbar-and-filters-wrapper {
  position: absolute;
  padding: 4px;
  padding-right: 6px;
  width: calc(100% - 20px);
}

#searchbar-wrapper {
  border-radius: 1000px;
  min-width: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-grow: 1;
  cursor: pointer;
  padding: 0 16px;
  gap: 16px;

  transform: translateY(59px);
  position: absolute;
  height: 46px;
  background-color: white;
  width: calc(100% - 40px);
  flex-shrink: 0;
  flex-grow: 0;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
}

#sidebar-header-back-button {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #222222;
  border: 1px solid #b0b0b0;
  border-radius: 1000px;
  cursor: pointer;
  padding: 6px 12px;
  z-index: 1;
}

#sidebar-header-back-button:hover {
  background-color: var(--color-gray);
}

#filters-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  gap: 8px;
  position: relative;
  background-color: var(--color-gray);
  transform: translateY(59px);
  right: 6px;
  position: absolute;
}

#filters-icon-wrapper.active {
  border: 2px solid #222222;
  background-color: var(--color-white);
  color: var(--color-black);
}

#filters-icon-wrapper .count-badge {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border: 2px solid white;
  background-color: #222222;
  position: absolute;
  color: white;
  right: -6px;
  top: -2px;
  font-size: 11px;
  box-sizing: border-box;
  line-height: 17px;
  text-align: center;
  font-weight: 700;
  display: none;
}

#filters-icon-wrapper.active .count-badge {
  display: block;
}

#filters-icon-wrapper span {
  display: none;
  font-size: 14px;
  font-weight: 500;
}

#filters-icon-wrapper:hover {
  background-color: var(--color-primary-dk);
  color: var(--color-white);
}

.leaflet-top {
  top: 130px !important;
}

.leaflet-bottom {
  bottom: var(--sidebar-height) !important;
}

.leaflet-control-attribution {
  display: none !important;
}

.leaflet-control-zoom {
  display: none;
}

#searchbar-autocomplete-wrapper {
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
}

#searchbar-wrapper.active {
  outline: 2px solid var(--color-primary-dk);
}

.autocomplete-searchbar-widget {
  height: 100%;
}

.autocomplete-searchbar-widget-input {
  border: 0 !important;
  background-color: transparent !important;
  width: 100%;
  height: 100% !important;
  max-width: unset !important;
  padding: 0 !important;
  font-family: var(--font-primary);
  font-size: 16px;
  padding-right: 70px !important;
}

.autocomplete-searchbar-widget-input:focus {
  outline: 0 !important;
}

.autocomplete-searchbar-widget .fa-search {
  display: none !important;
}

#searchbar-wrapper .autocomplete-searchbar-widget-autocomplete-wrapper {
  margin-top: 4px;
  box-sizing: border-box;
  border-radius: 8px;
  position: fixed;
  width: calc(100% - 8px);
  left: 4px;
}

#searchbar-wrapper .autocomplete-searchbar-widget-autocomplete-item-type-tag {
  flex-shrink: 0;
}

#searchbar-wrapper .autocomplete-searchbar-widget .input-icon {
  line-height: 46px !important;
  height: 100%;
  right: 28px !important;
}

#searchbar-wrapper .autocomplete-searchbar-widget-input {
  padding-right: 30px !important;
}

.calendar-wrapper {
  display: inline-flex;
  flex-wrap: nowrap;
  border: 1px solid var(--color-primary-dk);
  border-radius: 4px;
}

.calendar-day-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  height: 24px;
  border-right: 1px solid var(--color-primary-dk);
}

.calendar-day-wrapper:last-of-type {
  border-right: 0;
}

.calendar-day-wrapper.active {
  background-color: var(--color-primary-dk);
  border-color: var(--color-white);
}

.calendar-day-wrapper.active:last-of-type {
  border-color: var(--color-primary-dk);
}

.calendar-day,
.calendar-date {
  color: #70757a;
  font-size: 9px;
  font-weight: 500;
}

.calendar-day-wrapper.active .calendar-day,
.calendar-day-wrapper.active .calendar-date {
  color: var(--color-white);
  font-weight: 600;
}

.company-card {
  position: relative;
  border-radius: 4px;
  background-color: white;
  box-shadow: rgb(0 0 0 / 16%) 0 0 6px;
  border: 1px solid #ececec;
  transition: all 200ms ease;
}

.company-card-click-catcher {
  display: none;
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
}

.company-card-content {
  padding: 0;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease-in-out;
  display: grid;
}

.company-card.expanded .company-card-content {
  grid-template-rows: 1fr;
}

.company-card-content-inner {
  overflow: hidden;
}

.view-details-btn {
  display: flex;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  justify-content: center;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.company-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 3px 3px 4px 4px;
  border-bottom: 1px solid #ececec;
  transition: all 200ms ease;
}

.company-card-mobile-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.company-card-mobile-tools > div {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
}

.company-card-mobile-tools svg {
  height: 16px;
}

.company-card-mobile-tools svg path {
  fill: var(--color-primary-dk);
}

.company-card-expand-btn svg {
  transition: transform 300ms ease;
  transform: rotate(0deg);
}

.company-card.expanded .company-card-expand-btn svg {
  transform: rotate(180deg);
}

.company-card-name {
  flex-grow: 1;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
}

.company-card-header .company-card-booths-mobile {
  display: block;
}

.company-card-booths-desktop {
  display: none !important;
}

.company-card-content-row {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid #ebebeb;
}

.company-card-content-row:last-of-type {
  border-bottom: 0;
}

.company-card-data-name {
  width: 40px;
  font-weight: 600;
  font-size: 12px;
  background-color: var(--color-gray);
  padding: 2px 4px;
  border-radius: 6px;
  margin-right: 8px;
  color: var(--color-black);
  text-align: center;
  border: 1px solid #b0b0b0;
}

.company-card-data-value {
  font-size: 12px;
}

.booth-tooltip-permanent {
  border: 0;
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 10px;
  max-width: 120px;
  text-align: center;
  white-space: normal;
  line-height: 14px;
  width: max-content;
  padding: 6px;
  background-color: var(--color-primary-dk);
  color: var(--color-white);
}

.booth-tooltip {
  border: 0;
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 10px;
  max-width: 120px;
  text-align: center;
  white-space: normal;
  line-height: 14px;
  width: max-content;
  padding: 6px;
  background-color: var(--color-primary-dk);
  color: var(--color-white);
  display: none !important;
}

.booth-tooltip-permanent.leaflet-tooltip-top:before,
.booth-tooltip.leaflet-tooltip-top:before {
  border-top-color: var(--color-primary-dk);
}

.company-name-popup .leaflet-popup-tip-container {
  width: 20px !important;
  height: 10px !important;
  margin-left: -10px !important;
}

.company-name-popup .leaflet-popup-tip-container .leaflet-popup-tip {
  background-color: var(--color-primary-dk);
  width: 10px;
  height: 7px;
  margin: -5px auto 0 !important;
}

.multi-company-popup,
.company-name-popup {
  font-family: var(--font-primary);
}

.multi-company-popup .leaflet-popup-content-wrapper,
.company-name-popup .leaflet-popup-content-wrapper {
  border-radius: 4px;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.multi-company-popup .leaflet-popup-content,
.company-name-popup .leaflet-popup-content {
  margin: 0;
  line-height: 1.2;
}

.company-name-popup .popup-header,
.multi-company-popup .popup-header {
  padding: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--color-primary-dk);
  color: var(--color-white);
}

.multi-company-popup .popup-content {
  padding: 0.5rem;
}

.multi-company-popup .leaflet-popup-close-button {
  top: 4px !important;
  color: var(--color-white) !important;
}

.multi-company-popup-company-name {
  font-weight: bold;
  transition: all 200ms ease;
  font-size: 14px;
}

.multi-company-popup-company-wrapper {
  margin: 5px 0;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 200ms ease;
  border: 1px solid transparent;
  border-radius: 4px;
}

.multi-company-popup-company-wrapper:hover {
  background-color: var(--color-gray);
  border-color: var(--color-primary-dk);
}

.multi-company-popup-company-wrapper:hover .multi-company-popup-company-name {
  color: var(--color-primary-dk);
}

#sidebar-content-tools {
  position: relative;
  background-color: white;
  padding: 6px 0.5rem;
  width: calc(100% + 0.5rem);
  margin-left: -0.5rem;
  box-sizing: border-box;
  border-bottom: 1px solid var(--color-gray);
}

#sorting-wrapper {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  cursor: pointer;
  user-select: none;
  justify-content: center;
  align-items: center;
}

.sort-option {
  position: relative;
  border-radius: 1000px;
  padding: 4px 8px;
  border: 1px solid #b0b0b0;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-black);
  padding-right: 22px;
}

.sort-option.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: inset 0px 0px 0px 1px var(--color-primary-dk);
  color: var(--color-primary-dk);
}

.sort-option::before {
  content: "↑";
  position: absolute;
  right: 11px;
  text-shadow: 0 0 black;
  font-size: 12px;
  line-height: 12px;
  opacity: 0.3;
}

.sort-option::after {
  content: "↓";
  position: absolute;
  right: 6px;
  text-shadow: 0 0 black;
  font-size: 11px;
  line-height: 12px;
  opacity: 0.3;
}

.sort-option.active.asc::before {
  opacity: 1;
}
.sort-option.active.desc::after {
  opacity: 1;
}

.general-info-booth {
  font-weight: 700;
}

.general-info-label {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
  text-decoration: underline;
}

.general-info-dates .calendar-day-wrapper {
  width: 40px;
  height: 40px;
  justify-content: center;
}

.general-info-company-type {
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 6px;
  background-color: var(--color-primary-dk);
  padding: 6px 10px;
  border-radius: 1000px;
  color: var(--color-white);
  letter-spacing: 0.5px;
  display: inline-flex;
}

.ame-details {
  font-size: 14px;
}

.ame-details p:first-of-type {
  margin-top: 0;
}

.company-card-dates-mobile {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  flex-wrap: nowrap;
  transform: translateY(2px);
}

#sidebar-content-company-details-wrapper {
  position: relative;
  height: calc(100% - 63px);
  flex-direction: column;
}

#sidebar-content-company-details-tools {
  position: absolute;
  bottom: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  border-top: 1px solid #ebebeb !important;
  overflow: hidden;
  height: 57px;
  transition: all 300ms ease-in-out;
}

.company-details-tool {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  min-width: 46px;
  padding: 0 0.25rem;
  cursor: pointer;
  border-radius: 4px;
  padding: 2px;
  box-sizing: border-box;
  opacity: 0.7;
}

.company-details-tool.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.company-details-tool:hover {
  background-color: var(--color-gray);
  opacity: 1;
}

.company-details-tool > span {
  font-size: 10px;
  color: var(--color-black);
}

.company-details-tool > svg {
  width: 24px;
}

.company-details-tool > svg path {
  fill: var(--color-black);
}

#main-header-account {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-self: center;
  transition: background-color 300ms ease-in-out;
  border-radius: 8px;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
  top: 10px;
  height: 40px;
  width: unset;
  overflow: unset;
}

#main-header-account:hover {
  background-color: var(--color-white);
  height: auto;
  z-index: 2;
  position: absolute;
  right: 8px;
}

#main-header-account:hover #account-btn-notification-count {
  display: none !important;
}

#main-header-account:hover #account-btn {
  color: var(--color-black);
  border-color: #ebebeb;
  justify-content: center;
}

#main-header-account:hover #account-btn svg {
  fill: var(--color-black);
}
#main-header-account:hover #account-btn span {
  display: inline;
}

#account-btn {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  color: var(--color-white);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 300ms ease-in-out;
  border-bottom: 1px solid;
  border-color: var(--color-primary-dk);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  border-radius: 8px;
  overflow: unset;
}

#account-btn svg {
  height: 16px;
  fill: var(--color-white);
  transition: all 300ms ease-in-out;
}

#account-btn span {
  display: none;
}

#account-content {
  visibility: hidden;
  position: absolute;
  transition: opacity 300ms ease-in-out;
  opacity: 0;
}

#main-header-account:hover #account-content {
  visibility: visible;
  opacity: 1;
  position: relative;
}

.account-item {
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--color-black);
  position: relative;
  white-space: nowrap;
}

#account-item-export-notes.disabled {
  pointer-events: none;
  opacity: 0.7;
}

.account-item a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--color-black);
}

.account-item svg {
  width: 14px;
  fill: var(--color-black);
}

.account-item:hover {
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.2);
}
.account-item:hover a {
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.2);
}

.account-item:hover svg {
  fill: var(--color-primary);
}

.sponsor-icon-wrapper > img {
  display: block;
  height: 20px;
}

#teck-logo {
  margin-top: 9px;
  margin-left: -14px;
}

.ame-details a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-primary-dk);
  cursor: pointer;
}

.ame-details a:hover {
  text-decoration: underline;
}

#sidebar-content-note-wrapper {
  flex-direction: column;
  display: none;
  position: relative;
  height: calc(100% - 64px);
  overflow-y: auto;
}

#sidebar-content-note-wrapper-content {
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  height: 100%;
  overflow-y: auto;
  display: flex;
  padding: 0.5rem;
}

#note-text {
  min-height: 200px;
  padding: 0.5rem;
  border: 1px solid var(--color-primary-dk);
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

#note-add-contact-btn,
#add-new-note-icon {
  padding: 6px;
  border-radius: 8px;
  border: 0;
  outline: 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1rem;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
  transition: all 200ms ease-in-out;
  user-select: none;
  background-color: transparent;
  font-weight: 400;
}

#note-add-contact-btn:hover {
  background-color: #f7f7f7;
}

#add-note-footer {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  left: 0;
  bottom: 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #ebebeb;
}

#add-note-footer button {
  font-weight: 700;
  padding: 8px;
  border-radius: 4px;
  border: 0;
  outline: 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1rem;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
  transition: all 200ms ease-in-out;
  user-select: none;
}

#add-note-footer button.cancel,
#add-note-footer button.download {
  background-color: transparent;
}

#add-note-footer button.cancel:hover {
  background-color: #f7f7f7;
}

#add-note-footer button.save {
  background-color: var(--color-primary);
  color: var(--color-black);
}

#add-note-footer button.save:hover {
  background-color: var(--color-primary-lt);
}

#add-note-footer button.delete {
  background-color: var(--color-primary);
  color: var(--color-black);
}

#add-note-footer button.delete:hover {
  background-color: #fc6f79;
}

.general-info-label i,
button i {
  margin-right: 4px;
}

#note-contacts {
  padding: 0.5rem 0;
}

#add-contact-modal label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

#add-contact-modal label i {
  margin-right: 4px;
}

#add-contact-modal input,
#add-contact-modal textarea,
#add-contact-modal select {
  width: 100%;
  padding: 0.5rem;
  box-sizing: border-box;
  border: 1px solid var(--color-primary-dk);
  border-radius: 4px;
}

#note-export-type {
  width: 100%;
  padding: 0.5rem;
  box-sizing: border-box;
  border: 1px solid var(--color-primary-dk);
  border-radius: 4px;
  margin-top: 6px;
}

#add-contact-modal textarea {
  min-height: 200px;
}

#add-contact-modal .modal-button.cancel {
  background-color: transparent;
}
#add-contact-modal .modal-button.cancel:hover {
  background-color: #f7f7f7;
}

#add-contact-modal .modal-button.save,
#export-notes-modal .modal-button.save {
  background-color: var(--color-primary);
  color: var(--color-black);
}

#export-notes-modal .modal-button.save.disabled {
  pointer-events: none;
  opacity: 0.7;
}

#add-contact-modal .modal-button.save:hover {
  background-color: var(--color-primary-lt);
}

#add-contact-modal .modal-button.delete {
  background-color: var(--color-primary);
  color: var(--color-black);
  display: none;
}

#add-contact-modal .modal-button.delete:hover {
  background-color: #fc6f79;
}

#add-contact-input-warnings,
#add-note-input-warnings {
  display: none;
  flex-direction: column;
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

#add-contact-input-warnings .warning-title,
#add-note-input-warnings .warning-title {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

#add-contact-input-warnings .warning-title-close,
#add-note-input-warnings .warning-title-close {
  cursor: pointer;
}

#note-existing-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact-wrapper {
  font-size: 12px;
  padding: 0.25rem;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.contact-wrapper table {
  table-layout: fixed;
}

.contact-wrapper table tr td:first-of-type {
  font-weight: 600;
  width: 60px;
}

.contact-wrapper table tr td {
  padding: 0.15rem 0.25rem;
}

.notes-wrapper {
  padding-top: 0.5rem;
  border-top: 1px solid;
}

.note-contacts-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.note-contacts-cards-wrapper .contact-wrapper {
  color: var(--color-black);
}

.notes-wrappe r-inner {
  margin-top: 0.5rem;
  cursor: pointer;
  border: 1px solid;
}

.note-contacts-header {
  font-size: 12px;
  margin-top: 0.5rem;
  margin-bottom: 2px;
}

.note-header {
  background-color: var(--color-primary-dk);
  color: white;
  font-size: 12px;
  padding: 0.25rem;
}

.note-inner-wrapper {
  padding: 0.5rem;
}

.contact-wrapper a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-primary-dk);
  cursor: pointer;
}

.edit-note-button {
  padding: 6px;
  border-radius: 8px;
  border: 0;
  outline: 0;
  cursor: pointer;
  font-size: 12px;
  line-height: 1rem;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
  transition: all 200ms ease-in-out;
  user-select: none;
  background-color: transparent;
  margin-left: 0.5rem;
}

.edit-note-button:hover {
  background-color: #f7f7f7;
}

.note-card .contact-wrapper {
  cursor: auto;
}

.company-card-view-note {
  position: relative;
  z-index: 20;
  color: var(--color-primary-dk);
  font-weight: 600;
  cursor: pointer;
}

.company-card-view-note:hover {
  text-decoration: underline;
}

.note-map-icon {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
  background-color: var(--color-highlight);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid;
}

.note-map-icon i {
  font-size: 10px;
}

.note-map-icon.pencil {
  background-color: var(--color-highlight);
}
.note-map-icon.flag {
  background-color: #0d6efd;
}
.note-map-icon.exclamation {
  background-color: #ffc106;
}
.note-map-icon.check {
  background-color: #198754;
}
.note-map-icon.question {
  background-color: #9d03fc;
}

.note-tooltip {
  font-family: var(--font-primary);
  border-radius: 4px;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  background-color: var(--color-primary-dk);
  color: var(--color-white);
  opacity: 1 !important;
  border: 0;
}

.note-tooltip.leaflet-tooltip-top:before {
  border-top-color: var(--color-primary-dk);
}

.note-tooltip > div {
  padding: 0.25rem;
  margin: 0;
  line-height: 1.2;
}

#notifications-dot {
  display: none;
  width: 10px;
  height: 10px;
  border: 1px solid white;
  background-color: var(--color-highlight);
  position: absolute;
  left: 5px;
  top: 5px;
  border-radius: 50%;
}

#account-btn-notification-count {
  width: 16px;
  height: 16px;
  border: 1px solid white;
  background-color: var(--color-highlight);
  position: absolute;
  left: -16px;
  top: -8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-white);
}

#notifications-modal-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notification-sections-divider {
  width: 100%;
  height: 1px;
  background-color: lightgray;
}

.notification-card {
  border-radius: 4px;
  background-color: white;
  box-shadow: rgb(0 0 0 / 16%) 0 0 6px;
  border: 1px solid #ececec;
  padding: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.notification-card.unread {
  border-left: 8px solid var(--color-primary);
}

.notification-section-content-no-content {
  font-size: 0.9rem;
  color: #333;
  opacity: 0.8;
}

.notifications-section-header {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.notifications-section-header i {
  margin-right: 0.25rem;
}

.notification-card-title {
  font-size: 0.9rem;
}

.notification-card-date {
  color: #333;
  opacity: 0.8;
  font-size: 0.8rem;
}

#notifications-modal-notifications-details {
  display: none;
}

#notifications-modal-back-btn {
  display: none;
}

#notifications-modal-details-back-btn {
  position: absolute;
  left: 24px;
  top: 12px;
  opacity: 0.8;
  cursor: pointer;
  display: none;
}

.notification-button {
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  border: 0;
  outline: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1rem;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
  transition: all 200ms ease-in-out;
  user-select: none;
  background-color: var(--color-primary);
  color: var(--color-black);
}

#notification-details-header-tools {
  display: flex;
  gap: 0.25rem;
  font-size: 14px;
  margin-bottom: 10px;
  padding-bottom: 0.5rem;
  opacity: 0.8;
}

.notification-details-header-tool-btn {
  border-radius: 4px;
  padding: 2px 8px;
  border: 1px solid lightgray;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
}

#note-existing-icons-wrapper {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  padding-bottom: 0.5rem;
}

.note-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
  position: relative;
}

.note-icon-wrapper.selected {
  background-color: #e1e1e1;
}

.note-icon-wrapper.selected::before {
  content: "SELECTED";
  position: absolute;
  top: -12px;
  left: -2px;
  font-size: 9px;
  color: #333;
  opacity: 0.7;
  text-transform: uppercase;
  font-weight: bold;
}

.note-icon {
  width: 28px;
  height: 28px;
  background-color: var(--color-highlight);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
}

.note-icon.circle {
  border-radius: 50%;
}
.note-icon.square {
  border-radius: 4px;
}

#note-pin-style-modal input[type="color"] {
  width: 100%;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
}

#note-pin-style-modal select {
  width: 100%;
  padding: 0.5rem;
  box-sizing: border-box;
  border: 1px solid var(--color-primary-dk);
  border-radius: 4px;
}

#note-icon-selector-wrapper {
  background-color: #f0f1f3;
  padding: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

#note-icon-selector-wrapper .icon-wrapper {
  flex-shrink: 0;
  flex-grow: 1;
  height: 50px;
  width: 50px;
  max-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
  color: #333;
  border: 2px solid transparent;
  opacity: 0.8;
  cursor: pointer;
  transition: border-color 300ms ease-in-out;
}

#note-icon-selector-wrapper .icon-wrapper.selected {
  border-color: #333;
  opacity: 1;
}

#note-icon-selector-wrapper .icon-wrapper > i {
  font-size: 20px;
}

.note-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  color: white;
  border-radius: 100%;
}

.note-icon.pencil {
  background-color: var(--color-highlight);
}
.note-icon.flag {
  background-color: #0d6efd;
}
.note-icon.warning {
  background-color: #ffc106;
}
.note-icon.check {
  background-color: #198754;
}
.note-icon.question {
  background-color: #9d03fc;
}

#note-add-icon-preview-wrapper {
  background-color: #f0f1f3;
  padding: 10px;
  min-height: 60px;
}

#no-content-reset-map {
  font-weight: 600;
  color: var(--color-highlight);
  cursor: pointer;
}

/* loader */
.loader-wrapper {
  position: fixed;
  height: 100vh;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  color: black;
  opacity: 1;
  transition: opacity 500ms ease-out;
}

.loader-wrapper.hide {
  opacity: 0;
}

.loader-wrapper.no-background {
  background: 0;
  backdrop-filter: none;
}

.loader-wrapper.absolute {
  height: 100%;
  position: absolute;
}

.adv-loader {
  width: 50px;
  --b: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: black;
  -webkit-mask: repeating-conic-gradient(
      #0000 0deg,
      #000 1deg 70deg,
      #0000 71deg 90deg
    ),
    radial-gradient(
      farthest-side,
      #0000 calc(100% - var(--b) - 1px),
      #000 calc(100% - var(--b))
    );
  mask: repeating-conic-gradient(#0000 0deg, #000 1deg 70deg, #0000 71deg 90deg),
    radial-gradient(
      farthest-side,
      #0000 calc(100% - var(--b) - 1px),
      #000 calc(100% - var(--b))
    );
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  animation: l5 1s infinite;
}
@keyframes l5 {
  to {
    transform: rotate(0.5turn);
  }
}

.pro-badge {
  justify-content: center;
  align-items: center;
  background-color: #da373d;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  padding: 0 6px;
  text-transform: uppercase;
  position: relative;
  margin-left: -10px;
  left: -3px;
  bottom: -3px;
  border-radius: 12px;
}
@media (max-width: 767px) {
  .pro-badge {
    font-size: 8px;
    line-height: 12px;
    margin: 0;
    left: 2px;
    bottom: 0;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.h-full{
  height: 100%;
}
#nav-new a {
  font-size: 12.8px;
  border-bottom: 3px solid transparent;
}
#nav-new .menu .dropdown .nav-item,
#nav-new .menu .dropdown a {
  cursor: pointer;
}
#nav-new .menu .dropdown .nav-item svg {
  position: relative;
  top: -2px;
  left: 5px;
}
#nav-new .menu .dropdown .dropdown-menu {
  display: none;
  background: white;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
#nav-new .menu .dropdown .dropdown-menu {
  min-width: 130px;
  display: none;
  flex-direction: column;
}

#nav-new .menu .dropdown .dropdown-menu li {
  padding: 0;
  text-align: left;
}

#nav-new .menu .dropdown .dropdown-menu li:hover {
  background-color: #e9ecef;
}

#nav-new .menu .dropdown .dropdown-menu li a,
#nav-new .menu .dropdown .dropdown-menu li a.on-hover:hover,
#nav-new .menu .dropdown .dropdown-menu li a.active-link {
  border-bottom: none;
}
#mobile-menu .submenu .active-link-mobile,
#mobile-menu .submenu .dropdown-menu .active-link-mobile,
.profile .submenu .dropdown-menu .active-link-mobile {
  text-decoration: underline !important;
}
#mobile-menu .submenu .dropdown-toggle.active-link-mobile,
.profile .submenu .dropdown-toggle.active-link-mobile{
  text-decoration: none !important;
}
#mobile-menu .submenu a,
#mobile-menu .submenu .dropdown-menu a,
.profile .submenu .dropdown-menu a {
  transition: background-color text-decoration 0.2s !important;
}

#mobile-menu .submenu a:active,
#mobile-menu .submenu .dropdown-menu a:active,
.profile .submenu .dropdown-menu a:active {
  background-color: rgba(51, 181, 229, 0.4) !important; /* Light blue */
  text-decoration: underline !important;
}

#nav-new .menu .dropdown .dropdown-menu li a {
  display: flex;
  color: #000;
  white-space: nowrap;
  text-transform: capitalize;
  padding: 8px 16px;
  margin: 0;
}
#nav-new .menu .dropdown .dropdown-menu li a:hover {
  color: #000;
}

#nav-new .menu .dropdown:hover .dropdown-menu {
  display: block;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 3px 3px;
}

#nav-new .profile .submenu .relative {
  position: relative;
}
#mobile-menu .submenu a,
.profile .submenu a,
#nav-new .profile .submenu a {
  padding: 0 !important;
  margin: 0 !important;
  color: #000 !important;
}
.profile .submenu .dropdown-menu,
#nav-new .profile .submenu .dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  position: absolute;
  top: 0;
  left: 100%;
}

#mobile-menu .submenu a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  border-bottom: none !important;
}
#mobile-menu .submenu a svg {
  transform: rotate(-90deg) scale(0.9);
}
#mobile-menu .submenu .dropdown-menu {
  width: 150px;
  display: none;
}

#mobile-menu .submenu li.relative:hover .dropdown-menu {
  display: block;
}
@media (max-width: 767px) {
  .profile .submenu .dropdown-menu,
  #nav-new .profile .submenu .dropdown-menu {
    position: static;
    border: none;
  }
  #mobile-menu .submenu {
    width: 100% !important;
  }
  #mobile-menu .submenu .dropdown-menu {
    width: 100%;
  }
  .profile .submenu li,
  .profile .submenu a {
    font-size: 14px !important;
  }
  .profile .submenu li {
    padding-inline: 5px !important;
    border-top: 1px solid #dcdcdc;
  }
  .profile .submenu li:first-child{
    border-top-color: transparent;
  }
  .profile .submenu a {
    padding-inline: 0 !important;
  }
  ul.submenu li:hover, ul.submenu a:hover{
    background-color: transparent;
  }
  .profile .submenu li.relative:last-child{
    padding-bottom: 0 !important;
  }
  .profile .submenu li.relative >a{
    padding-inline: 5px !important;
  }
  .profile .submenu .dropdown-parent .dropdown-menu {
    display: none !important;
  }
  .profile .submenu .dropdown-parent.open .dropdown-menu.show {
    display: block !important;
  }
  .profile .submenu .dropdown-menu{
    border-top: 1px solid #dcdcdc;
    padding: 5px 0 0;
    margin: 10px 0 0;
  }
  .profile .submenu .dropdown-menu li{
    border-top: none;
    padding-inline: 5px !important;
    padding-block: 5px !important;
  }
  .profile .submenu .dropdown-menu li a{
    font-weight: 400;
  }
  .profile .submenu .dropdown-parent .dropdown-toggle svg,
  #mobile-menu .submenu .dropdown-parent .dropdown-toggle svg {
    transform: rotate(0deg) scale(0.9);
  }
  .profile .submenu .dropdown-parent.open .dropdown-toggle svg,
  #mobile-menu .submenu .dropdown-parent.open .dropdown-toggle svg{
    transform: rotate(180deg) scale(0.9);
  }
  #main-nav-user-name {
    display: none;
  }
}
/* Small devices such as large phones (640px and up) */
@media only screen and (min-width: 640px) {
  #page-header {
    gap: 20px;
    height: 80px;
  }

  #main-header-account {
    width: 135px;
    overflow: hidden;
  }

  #main-header-account:hover {
    margin-top: 2px;
    right: 0;
    align-self: flex-start;
    position: relative;
  }

  #main-header-account {
    overflow: unset;
  }

  #account-btn {
    background-color: unset;
    overflow: hidden;
  }

  #account-btn span {
    display: inline;
  }

  #tradeshow-logo svg {
    width: 124px;
    height: 40px;
  }

  #teck-logo {
    margin-top: 14px;
  }

  .company-card-click-catcher {
    display: block;
  }

  .company-card:hover {
    box-shadow: rgb(0 0 0 / 26%) 0 0 8px;
    border: 1px solid var(--color-primary-dk);
  }

  .company-card:hover .company-card-header {
    background-color: var(--color-primary-dk);
    color: var(--color-white);
    border-radius: 0;
  }

  .company-card-name {
    font-size: 14px;
    text-align: center;
  }

  .company-card-header {
    display: flex;
  }

  .company-card-header .company-card-booths-mobile {
    display: none;
  }

  .company-card-booths-desktop {
    display: flex !important;
  }

  .company-card-data-name {
    font-size: 14px;
    width: 50px;
    padding: 4px 6px;
  }

  .company-card-data-value {
    font-size: 14px;
  }

  .calendar-day-wrapper {
    width: 30px;
    height: 30px;
  }

  .calendar-day,
  .calendar-date {
    font-size: 11px;
  }

  .company-card-content {
    padding: 0.5rem 0;
    display: block;
  }

  .company-card-mobile-tools {
    display: none;
  }

  .view-details-btn {
    display: none;
  }

  .booth-tooltip {
    display: block !important;
  }

  .company-card-dates-mobile {
    display: none;
  }

  #sidebar-content-company-details-wrapper {
    height: calc(100% - 69px);
  }

  .leaflet-control-zoom {
    display: block;
  }

  .sponsor-icon-wrapper > img {
    height: 30px;
  }

  #searchbar-wrapper,
  #filters-icon-wrapper {
    transform: translateY(68px);
  }

  #add-note-footer button {
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
  }
}

/* Medium devices such as tablets (768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices such as laptops (1024px and up) */
@media only screen and (min-width: 1024px) {
  main {
    display: flex;
  }

  #page-header {
    box-shadow: none;
    border-bottom: 1px solid #ebebeb;
  }

  #sidebar-wrapper {
    position: relative;
    width: 400px;
    border-radius: 0;
    height: 100%;
    padding-top: 80px;
    box-sizing: border-box;
    border-right: 1px solid var(--color-primary-dk);
    border-top: 0;
    box-shadow: none;
  }

  #map-wrapper {
    position: relative;
    width: calc(100% - 400px);
  }

  #sidebar-header::before {
    content: none;
  }

  #sidebar-mobile-drag-handler {
    display: none;
  }

  #sidebar-title {
    transform: translateY(0);
    user-select: none;
    font-size: 18px;
    line-height: 18px;
  }

  #searchbar-wrapper {
    max-width: 450px;
  }

  .leaflet-bottom {
    bottom: 0 !important;
  }

  #sidebar-content-tools {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  #sidebar-content {
    padding-top: 0;
  }

  #searchbar-and-filters-wrapper {
    position: relative;
    /* padding: 4px;
    padding-right: 6px;
    width: calc(100% - 20px); */
  }

  #searchbar-wrapper {
    position: relative;
    max-width: 300px !important;
    transform: none !important;
    background-color: rgba(255, 255, 255, 0.2);
    height: 56px;
    max-width: 300px;
    outline: none;
    color: var(--color-white);
    transition: all 300ms ease-in-out;
    box-shadow: none;
  }

  #searchbar-wrapper:hover {
    background-color: var(--color-gray);
    color: var(--color-black);
  }

  #searchbar-wrapper input {
    color: var(--color-white);
  }
  #searchbar-wrapper:hover input {
    color: var(--color-black) !important;
  }

  #searchbar-wrapper .clear-btn {
    color: var(--color-white);
  }

  #searchbar-wrapper:hover .clear-btn {
    color: var(--color-black);
  }

  #searchbar-wrapper input {
    font-size: 16px;
  }

  #searchbar-wrapper:hover input::placeholder {
    color: var(--color-black) !important;
  }

  #searchbar-wrapper .autocomplete-searchbar-widget-autocomplete-wrapper {
    position: absolute;
    width: 100%;
    left: 0;
    color: var(--color-black);
  }

  #searchbar-wrapper .autocomplete-searchbar-widget .input-icon {
    line-height: 56px !important;
    height: 100%;
    right: 0 !important;
  }

  #searchbar-wrapper .autocomplete-searchbar-widget {
    position: static !important;
  }

  #searchbar-wrapper .autocomplete-searchbar-widget-input {
    padding-right: 30px !important;
  }

  #searchbar-wrapper .autocomplete-searchbar-widget-input::placeholder {
    color: var(--color-white);
  }

  #sidebar-title > span {
    display: inline-block;
  }

  #filters-icon-wrapper {
    position: relative;
    transform: unset;
    right: unset;
    height: 40px;
    width: unset;
    padding: 0 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transition: all 300ms ease-in-out;
  }

  #filters-icon-wrapper:hover {
    background-color: var(--color-gray);
    color: var(--color-black);
  }

  #filters-icon-wrapper span {
    display: inline-block;
  }

  .leaflet-top {
    top: 80px !important;
  }

  #add-contact-modal {
    height: fit-content;
  }
}

@media only screen and (min-width: 1100px) {
  #searchbar-wrapper {
    max-width: 350px !important;
  }
}
@media only screen and (min-width: 1150px) {
  #searchbar-wrapper {
    max-width: 400px !important;
  }
}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (min-width: 1280px) {
  /* #sidebar-wrapper {
    width: 550px;
  }

  #map-wrapper {
    width: calc(100% - 550px);
  } */

  #searchbar-wrapper {
    max-width: 450px !important;
  }
}
