/* vvvvvv Main Container vvvvvv */
.dsh-global {
  --bg-light: #fff;
  --bg-dark: linear-gradient(to bottom, #4a4a4a, #222);
  --font-light: #000;
  --font-dark: #fff;
  --page-bg-light: #f8fbff;
  --page-bg-dark: #1a1a1a;
  --plus-blue: #09f;
  --font-secondary: #aaa;
  --card-heading-size: 18px;
  color: var(--font-primary);
  background: var(--page-bg-primary);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 400px;
  grid-template-areas:
    "notifications wall leaderboard"
    "notifications wall leaderboard"
    "comp wall c2m"
    "comp wall c2m";
  column-gap: 5%;
  grid-gap: 32px;
  padding: 30px 5%;
  font-size: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
}

.dsh-global-no-ats {
  grid-template-areas:
    "notifications create-post todo"
    "notifications wall todo"
    ". wall ."
    ". wall .";
}

.dsh-global * {
  background: transparent;
  color: var(--font-primary);
  font-family: "Futura PT Book";
}

.dsh-dark {
  --font-primary: var(--font-dark);
  --bg-primary: var(--bg-dark);
  --page-bg-primary: var(--page-bg-dark);
}

.dsh-light {
  --font-primary: var(--font-light);
  --bg-primary: var(--bg-light);
  --page-bg-primary: var(--page-bg-light);
}

/* ^^^^^^ Main Container ^^^^^^ */

/* vvvvvv Announcements vvvvvv */
#dsh-notifications {
  grid-area: notifications;
  min-width: 297px;
  overflow-y: scroll;
  min-height: 30rem;
  max-height: 40rem;
}

.dsh-notification {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-top: 16px;
}

.dsh-notification-type {
  box-shadow: 0 1px 2px 2px #0000001e;
  width: 13.6px;
  height: 13.6px;
  margin-right: 16px;
  border-radius: 50%;
  background: linear-gradient(to top right, #1771e6, #22a5f0);
}

.dsh-notification-type-old {
  box-shadow: 0 1px 2px 2px #0000001e;
  width: 13.6px;
  height: 13.6px;
  margin-right: 16px;
  border-radius: 50%;
  background: #f0f2f5;
}

.dsh-announcement-msg {
  flex-basis: 95%;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
}

#dsh-new-announcement-msg {
  border: none;
  position: relative;
  margin: 0 0 0 16px;
}

/* ^^^^^^ Announcements ^^^^^^ */

#dsh-c2m-graph {
  grid-area: c2m;
  /* height: 100%;
  min-height: 30rem;
  max-height: 40rem;
  min-width: 297px;
  overflow-y: scroll;
  overflow-x: hidden; */
}

/* vvvvvv Leaderboard vvvvvv */
#dsh-leaderboard {
  grid-area: leaderboard;
  height: 100%;
  min-height: 30rem;
  max-height: 40rem;
  min-width: 297px;
  overflow-y: scroll;
  overflow-x: hidden;
}

#dsh-leaderboard-heading-wrapper {
  display: inline-block;
}

.dsh-drop-down-wrapper {
  float: right;
  position: relative;
  cursor: pointer;
  margin: 2px 0 0 0;
}

.dsh-drop-down {
  cursor: pointer;
  border-radius: 7px;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  color: var(--font-primary);
  opacity: 0.5;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
}

.dsh-drop-down option {
  color: #999;
}

.dsh-drop-down-wrapper::after {
  font: normal normal normal 14px/1 FontAwesome;
  content: "\f078";
  position: absolute;
  right: 0;
  top: 30%;
  color: var(--font-primary);
  pointer-events: none;
  opacity: 0.5;
}

.dsh-leader-graph {
  height: calc(98% - var(--dsh-card-padding-ver) * 4 - var(--card-heading-size));
}

.dsh-leader-graph #bar-graph {
  min-width: 297px;
  height: 300px;
}

.dsh-leader-graph .stop-right {
  stop-color: rgb(var(--company-color));
}

.dsh-leader-graph .stop-left {
  stop-color: rgb(var(--company-darker));
}

.bar {
  /* fill: linear-gradient(#0091ff, #30a5ff); */
  /* fill: rgb(var(--company-color)); */
  /* fill: linear-gradient(rgb(var(--company-color)), rgb(var(--company-color))); */
  /* height: 10px; */
}

.bar-back {
  fill: #eee;
  /* height: 10px; */
}

.dsh-y-axis {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  fill: var(--font-primary);
  opacity: 0.5;
  text-anchor: start;
}

.dsh-x-axis {
  font-family: Arial, Helvetica, sans-serif;
  fill: var(--font-primary);
  opacity: 0.5;
}

/* .dsh-leader-graph .stop-left {
  stop-color: #1771e6;
}

.dsh-leader-graph .stop-right {
  stop-color: #0091ff;
} */

/* ^^^^^^ Leaderboard ^^^^^^ */

/* vvvvvv Highlights vvvvvv */
.dsh-highlight-item {
  align-items: center;
  height: 50px;
  margin-top: 16px;
  position: relative;
}

.dsh-highlight-content-wrapper {
  width: 100%;
  align-items: center;
  display: flex;
}

.dsh-highlight-icon {
  margin: 0 16px 0 0;
  height: 22px;
  width: 22px;
}

.dsh-highlight-text {
  font-family: 'WorkSans-Regular';
  font-size: 17px;
}

.dsh-highlight-gauge-wrapper {
  position: relative;
  left: calc(100% - 50px);
  bottom: 40px;
}

.dsh-highlight-gauge-wrapper:hover .dsh-gauge-blur {
  backdrop-filter: none;
  transition-duration: 1s;
}

.dsh-highlight-gauge {
  margin-left: auto;
  height: 60px;
  width: 60px;
}

.dsh-gauge-blur {
  transition-duration: 1s;
  backdrop-filter: blur(3px);
  width: 42px;
  height: 20px;
}

/* ^^^^^^ Highlights ^^^^^^ */

/* vvvvvv Compensation Tracker vvvvvv */
#dsh-comp-tracker {
  grid-area: comp;
  min-width: 297px;
}

.dsh-gauges {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 16px;
  height: 30%;
}

.dsh-gauges .progressGauge {
  width: 150px;
  height: 150px;
  text-align: center;
}

.dsh-fake-table {
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0px auto;
  font-size: 14px;
}

.dsh-fake-table th {
  font-weight: normal;
  padding: 1em;
  width: 50%;
  letter-spacing: 0.08em;
}

.dsh-fake-table td {
  border: 1px solid var(--font-secondary);
  color: var(--font-secondary);
  padding: 1em;
  width: 50%;
  font-family: Arial, Helvetica, sans-serif;
}

.dsh-fake-table td:nth-child(1) {
  border-left: none;
}

.dsh-fake-table td:nth-child(2) {
  border-right: none;
}

/* ^^^^^^ Compensation Tracker ^^^^^^ */

/* vvvvvv Action List vvvvvv */
#dsh-action-list {
  grid-area: action-log;
  min-width: 297px;
}

.dsh-list {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dsh-average-wrapper {
  grid-area: hbr;
}

.dsh-health-label {
  text-align: center;
}

.dsh-health-bar {
  width: 80%;
  height: 18px;
  margin: 0px auto;
}

.dsh-health-background {
  fill: #eee;
}

.dsh-health-foreground {
  fill: var(--plus-blue);
}

.dsh-wrapper-wrapper {
  position: relative;
  height: 100%;
  grid-area: alw;
  margin: 0px calc(-1 * var(--dsh-card-padding-hor));
}

.dsh-table-wrapper {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  overflow: auto;
}

.dsh-table {
  width: 100%;
  min-width: 500px;
  /* margin: 0px calc(-1 * var(--dsh-card-padding-hor)); */
  font-size: 0.7em;
}

.dsh-table th {
  text-align: center;
}

.dsh-table td {
  position: relative;
  border: 1px solid #000;
  border-left: none;
  padding: 1em;
  height: 64px;
  font-family: Arial, Helvetica, sans-serif;
}

.dsh-table td:first-child {
  border-left: none;
}

.dsh-table td:last-child {
  border-right: none;
}

.dsh-table .progressGauge {
  display: inline-block;
  height: 64px;
  width: 64px;
}

.dsh-table tr:last-child td {
  border-bottom: none;
}

/* ^^^^^^ Action List ^^^^^^ */

/* vvvvvv To Do vvvvvv */
#dsh-to-do {
  grid-area: todo;
  min-width: 297px;
  min-height: 250px;
  overflow-y: auto;
}

#dsh-to-do>.dsh-to-do-item {
  margin-top: 16px;
}

#to-do-time-period:focus {
  background-color: var(--plus-blue);
  color: white;
}

.dsh-to-do-item {
  display: flex;
  align-items: center;
  font-size: 19px;
}

.dsh-to-do-icon-container {
  transition-duration: 0.5s;
  display: flex;
}

.dsh-to-do-icon {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  transition-duration: 0.5s;
}

.dsh-to-do-delete {
  position: relative;
  bottom: 3px;
  font-size: 19px;
  opacity: 0.4;
  height: 13px;
  width: 13px;
}

.dsh-to-do-delete:hover {
  cursor: pointer;
}

.dsh-to-do-add-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin: 0 8px 0 16px;
  font-size: 16px;
  font-family: 'Futura PT Medium';
}

.dsh-to-do-text-container {
  position: relative;
  overflow: hidden;
  margin: 0 8px 0 16px;
  width: 100%;
  height: 15px;
}

.dsh-to-do-text {  
  --marquee-scroll-width: 0;
  position: absolute;
  white-space: nowrap;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif
}

.dsh-to-do-text-container:hover .marquee-scroll {  
  animation-name: marquee-scroll;
  animation-duration: 10s;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

.dsh-to-do-date {
  white-space: nowrap;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
}

#new-to-do-message {
  border: none;
  margin: 0 8px 0 16px;
}

#new-to-do-time {
  font-family: Arial, Helvetica, sans-serif;
  border: none;
  width: 140px;
  font-size: 13px;
  margin-left: auto;
  text-align: end;
}

/* ^^^^^^ To Do ^^^^^^ */

/* vvvvvv Create Wall Post vvvvvv */
#dsh-create-wall-post {
  grid-area: create-post;
  background-color: white;
  border-radius: 15px;
  max-height: 130px;
  box-shadow: #e6f1ff 0 0 10px;
}

/* ^^^^^^ Create Wall Post ^^^^^^ */

/* vvvvvv Wall vvvvvv */
#dsh-wall {
  grid-area: wall;
  overflow-y: auto;
  /* justify-content: center;
  display: flex;
  flex-direction: row;
  min-height: 400px;
  margin-top: -16px; */
}

.dsh-wall-top-wrapper {
  margin: 2.5px 2.5px 0 2.5px;
}

.dsh-wall-bottom-wrapper {
  margin: 0 2.5px 2.5px 2.5px;
}

.dsh-wall-post-icon {
  width: 16px;
  height: 16px;
  margin: 0px 8px 0px 8px;
}

.dsh-wall-likes-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 16px 9px 8px;
}

.dsh-wall-likes-text {
  color: #aaa;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.dsh-wall-likes-text:hover {
  text-decoration: underline;
}

.dsh-comments {
  margin: 9px 0 0 0;
}

.dsh-wall-comment-count {
  margin: 0 16px 0 auto;
  color: #aaa;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

/* ^^^^^^ Wall ^^^^^^ */

/* vvvvvv Post Comments vvvvvv */
.dsh-post-comment-container {
  display: flex;
  min-width: 200px;
}

.dsh-comments-wrapper {
  margin: 16px;
}

.dsh-post-comment {
  background-color: #eff3f7;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  min-width: 150px;
}

.dsh-post-comment-top {
  display: flex;
  flex-direction: row;
}

.dsh-comment-message {
  font-family: Arial, Helvetica, sans-serif;
  color: #999999;
}

.dsh-poster-profile {
  height: 31px;
  width: 31px;
  border-radius: 250px;
  margin: 0 7.5px 0 0;
}

.dsh-poster-name {
  letter-spacing: 1px;
  margin-right: auto;
}

.dsh-delete-comment {
  font-family: "FontAwesome";
  color: #aaa;
}

/* ^^^^^^ Post Comments ^^^^^^ */

.dsh-card hr {
  opacity: 0.2;
  margin: 7px 0;
  border: 1px solid #cccccc;
}

.dsh-card-heading {
  font-size: 18.4px;
  padding: 0 0 7px 0;
  letter-spacing: 0.08em;
  position: sticky;
  background: var(--page-bg-light);
  border-bottom: 1px solid rgba(204, 204, 204, 0.2);
  top: 0;
}

.dsh-bubble-card-heading {
  font-size: 18.4px;
  margin: 16px 16px 0 16px;
  letter-spacing: 0.08em;
}

.dsh-card {
  display: flex;
  flex-direction: column;
}

.dsh-create-wall-post-input-container {
  display: flex;
  align-items: center;
  margin: 11.5px 16px 16px 16px;
}

.dsh-wall-post-input {
  font-family: Arial, Helvetica, sans-serif;
  border: none;
  background-color: #eff3f7;
  border-radius: 250px;
  width: 100%;
  height: 38px;
  margin: 0 8px;
  padding: 16px;
}

.dsh-wall-post-input::placeholder {
  color: #999999;
}

#dsh-wall::-webkit-scrollbar, #dsh-notifications::-webkit-scrollbar,
#dsh-leaderboard::-webkit-scrollbar, #dsh-highlights::-webkit-scrollbar,
#dsh-to-do::-webkit-scrollbar, .dsh-global::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.dsh-wall-post {
  margin-bottom: 16px;
  background-color: white;
  border-radius: 15px;
  box-shadow: #e6f1ff 0 0 11px;
}

.dsh-post {
  display: flex;
  flex-direction: column;
}

.dsh-post-heading {
  margin: 16px 0 0 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.dsh-post-heading-top {
  display: flex;
  flex-direction: row;
}

.dsh-post-heading-top-text {
  margin: 0;
  letter-spacing: 2px;
  margin-right: auto;
}

.dsh-post-heading-top>.dsh-delete-comment {
  font-size: 19px;
  margin-right: 12px;
  height: 13px;
  width: 13px;
  opacity: 0.4;
  margin-right: 12px;
}

.dsh-post-heading-img {
  width: 40px;
  height: 40px;
  border-radius: 250px;
}

.dsh-post-timestamp {
  color: #b3b3b3;
  margin: 4px 0 0 0;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.dsh-post-message {
  font-family: Arial, Helvetica, sans-serif;
  margin: 16px 16px;
}

#dsh-right {
  flex-basis: 25%;
  min-height: inherit;
  flex-grow: 1;
  padding: 0 32px;
}

.dsh-right-content {
  min-width: 300px;
}

.rotate-45 {
  transform: rotate(45deg);
  transition-duration: 0.5s;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%)
  }
  50% {
    transform: translateX(var(--marquee-scroll-width))
  }
  100% {
    transform: translateX(0%)
  }
}

@media screen and (max-width:1540px) {
  .dsh-global {
    overflow-y: auto;
    overflow-x: hidden;
    grid-template-columns: 0.5fr 1fr;
    grid-template-areas:
      "notifications create-post"
      "notifications wall"
      "comp wall"
      "comp wall"
      "leaderboard wall"
      "c2m wall";
  }

  .dsh-global-no-ats {
    overflow-y: auto;
    overflow-x: hidden;
    grid-template-columns: 0.5fr 1fr;
    grid-template-areas:
      "notifications create-post"
      "notifications wall"
      "todo wall"
      "todo wall"
      ". wall"
      ". wall";
  }

  .dsh-gauges {
    margin-top: 0;
  }
}

@media screen and (max-width:1200px) {
  #dsh-to-do {
    margin-bottom: 5%;
  }

  .dsh-global {
    overflow-x: hidden;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "create-post create-post"
      "wall wall"
      "wall wall"
      "notifications notifications"
      "leaderboard c2m"
      "comp comp";
  }

  .dsh-global-no-ats {
    overflow-x: hidden;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "create-post create-post"
      "wall wall"
      "wall wall"
      "notifications notifications"
      "todo todo";
  }
}

@media screen and (max-width: 835px) {
  .dsh-global {
    grid-template-columns: 1fr;
    grid-template-areas:
      "create-post"
      "wall"
      "wall"
      "notifications"
      "comp"
      "leaderboard"
      "c2m";
  }

  .dsh-global-no-ats {
    grid-template-columns: 1fr;
    grid-template-areas:
      "create-post"
      "wall"
      "wall"
      "notifications"
      "todo";
  }
}