.dashboard-header {
  display: flex;
  gap: 2em;
  flex-direction: row;
}

.dashboard-header mat-card {
  border-radius: 20px;
}

.card-container {
  box-sizing: border-box;
}

.default-card {
  display: inline-block;
  margin-bottom: 1em;
  width: 300px;
  height: 160px;
  margin-right: 1em;
  margin-bottom: 1em;
}

.follow-button {
  margin-top: 1em;
  width: 100%;
  font-size: 1.2em;
  height: 72px;
  text-align: center;
}

.follow-card-content {
  text-align: center;
}

.follow-toggle {
  margin-top: 1em;
  margin-bottom: 1em;
}

.dashboard {
  display: flex;
  flex-direction: row;
  gap: 1em;
}

.dashboard-left {
  flex-grow: 4;
  flex-shrink: 1;
  flex-basis: 10%;
}

.dashboard-right {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 10%;
}

/* .lists-card {
  width: 100%;
} */

.list-selection {
  margin-top: 1.4em;
}

.list-selection button {
  margin-top: 0.8em;
}

@media only screen and (max-width: 920px) {
  .dashboard {
    flex-direction: column;
  }
}

@media only screen and (max-width: 820px) {
  .dashboard-header {
    flex-direction: column;
    gap: 1em;
  }
}

@media only screen and (max-width: 599px) {
  .default-card {
    display: block;
    width: 100%;
  }
}

.home {
  display: flex;
  /* flex-wrap: nowrap; */
  justify-content: space-between;
  gap: 1.5em;
  max-width: 1100px;
  align-self: center;
  /* flex-direction: row; */

}

.home-left {
  /* flex: 1 1 0;
  min-width: 240px; */
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  width: 100%;
}

@media only screen and (max-width: 720px) {
  .home-left {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
}

.home-right {
  /* flex: 3 1 0; */
  display: flex;
  justify-content:space-between;
  /* flex-wrap: nowrap; */
}

.home-card {
  margin: 15px;
  flex-grow: 1;
  border-radius: 15px;
  margin-bottom: 1.8em;
  width: 100%;
}

.home-card-thumbnail {
  width: 56px;
  height: 56px;
  margin-left: 0.1em;
  margin-right: 0.1em;
  border-radius: 5px;
}

.home-card-image {
  width: 100%;
}

.page {

  box-sizing: border-box;
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: column;

  /* flex-direction: row; */
  /* flex-direction: row-reverse; */
}

@media only screen and (max-width: 599px) {
  .home {
    flex-direction: column-reverse;
    gap: 1em;
  }
}

.view-more-container {
  text-align: center;
}

.activity-feed {
  font-size: 0.85em;
}

.wipe-button {
  margin-bottom: 1em;
}

.profile-line {
  width: 100%;
  overflow-y: hidden;
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
}

.profile-line::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.profile-line::-webkit-scrollbar-thumb:hover {
  background-color: #a3a5a7c2;
}

.profile-line .event-header {
  flex-flow: nowrap;
}

.profile-line .icon-medium {
  width: 64px !important;
  height: 64px !important;
}

.profile-line-more-button {
  margin-top: 0.4em;
  margin-left: 0.4em;
}

drag-scroll {
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  touch-action: pan-x;
}

drag-scroll::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll-container {
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  cursor: grab;
  height: 80px;
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll-container.active {
  cursor: grabbing;
  will-change: scroll-position;
}

.horizontal-scroll-container app-event-header {
  flex: 0 0 auto;
  margin-right: 6px;
  transform: scale(1);
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
  cursor: pointer;
  pointer-events: all;
}

.horizontal-scroll-container img,
.horizontal-scroll-container app-event-header img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none !important;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.horizontal-scroll-container app-event-header:hover {
  transform: scale(1);
}

.profile-line-more-button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  margin-left: 4px;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
}

@supports (-webkit-overflow-scrolling: touch) {
  .horizontal-scroll-container {
    -webkit-overflow-scrolling: touch;
  }
}

.horizontal-scroll-container > * {
  height: 64px;
}

.profile-line-more-button {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  margin-left: 4px;
}

.profile-line-more-button mat-icon {
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
  width: 64px !important;
  height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.profile-line-more-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  margin-left: 4px;
  pointer-events: auto;
  pointer-events: all;
}

.profile-line-more-button {
  margin: 0;
  padding: 0;
  height: 64px;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  pointer-events: all;
}


.relay-status--1 {
  color: rgb(49, 49, 210);
}

.relay-status-0 {
  color: gray;
}

.relay-status-1 {
  color: rgb(34, 179, 34);
}

.relay-status-2 {
  color: orange;
}

.relay-status-3 {
  color: red;
}

.relay-status-4 {
  color: rgb(49, 49, 210);
}

h3 {
  margin-top: 1em;
  margin-bottom: 0.6em;
}