﻿.wc-dashboard figure {
  height: fit-content;
  overflow-x: visible;
  flex-direction: column;
  margin: .5rem;
  padding: 0 1rem;
}

.wc-dashboard {
  flex-direction: row;
  align-items: stretch;
  width: 100vw;
  padding: 1rem var(--x);
  --x: calc((100vw - var(--max-width)) / 2);
  overflow-x: auto;
}
/*===================================================
 Circle Fill Graph
==================================================*/

.wc-dashboard .circle-fill {
  align-items: unset;
}

  .wc-dashboard .circle-fill .flex-wrapper {
    display: flex;
    flex-flow: row nowrap;
  }

  .wc-dashboard .circle-fill .single-chart {
    align-items: center;
    position: relative;
  }

  /* .circle-fill .circular-chart {
    display: block !important;
    margin: 10px auto;
    max-width: 80%;
  } */

  .wc-dashboard .circle-fill .circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
  }

  .wc-dashboard .circle-fill .circle-marker {
    fill: none;
    stroke: var(--contrast);
    stroke-width: 5;
    transform-origin: center center;
    transform: rotate(-77.4deg); /*currently set to the 7% marker*/
  }

  .wc-dashboard .circle-fill .circle {
    fill: none;
    stroke-width: 2.8;
    animation: progress 1s ease-out forwards;
  }


  .wc-dashboard .item:not(.toolkit.item) {
    flex-basis: 100%;
    flex-shrink: 0;
    max-width: calc(var(--max-width) / 4 - 1rem);
  }


@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.wc-dashboard .green .circle {
  stroke: var(--business);
}

.wc-dashboard .orange .circle {
  stroke: var(--resident);
}

.wc-dashboard .blue .circle {
  stroke: var(--government);
}

.wc-dashboard .yellow .circle {
  stroke: var(--visitor);
}



.wc-dashboard .circle-fill .percentage {
  fill: #666;
  font-size: 0.5em;
  text-anchor: middle;
}

.wc-dashboard .circle-fill .text {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -2rem;
}

  .wc-dashboard .circle-fill .text .measure {
    font-size: 2rem;
  }

  .wc-dashboard .circle-fill .text .of-amount {
    font-size: 1rem;
    font-weight: 400;
  }

.wc-dashboard .circle-fill .circle-bg,
.wc-dashboard .circle-fill .circle {
  transform-origin: center center;
  transform: rotate(-90deg);
}

.wc-dashboard .cost {
  width: 100%;
  padding: 1rem;
  background: var(--compare);
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: .5rem 0;
  flex-direction: column;
}

.wc-dashboard .measure {
  font-weight: 700;
  display: inline-block;
}

  .wc-dashboard .measure sup {
    font-weight: 300;
    display: inline-block;
    font-size: 1.5rem;
  }

.wc-dashboard .semi-circle {
  width: 100%;
  padding-top: 50%;
  position: relative;
}

.wc-dashboard .circular-chart {
  position: absolute;
  height: 200%;
  margin-top: -50%;
}

.wc-dashboard .item {
  max-width: calc(var(--max-width) / 4);
  box-shadow: var(--float-close);
  border: 1px solid var(--color);
  border-radius: .5rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: .5rem;
  background: var(--compare-more);
  overflow: hidden;
  width: calc(100% / 4 - 1rem);
  flex-shrink: 0;
 
}

  .wc-dashboard .item:not(.item.toolkit, .item.toolkit + .item) {
    cursor: pointer;
  }

  .wc-dashboard .item.toolkit {
    justify-content: flex-start;
    padding: 1rem;
    border-color: transparent;
  }

    .wc-dashboard .item.toolkit select {
      width: 100%;
      padding: .25rem;
      margin: .25rem 0;
      border: 2px solid transparent;
      border-bottom-color: var(--color);
    }

    .wc-dashboard .item.toolkit .back {
      align-self: flex-start;
      align-items: center;
      cursor: pointer;
    }

      .wc-dashboard .item.toolkit .back img {
        width: 1.5rem;
        transform: translateX(-0.25rem);
        filter: invert(100%) brightness(200%);
      }

      .wc-dashboard .item.toolkit .back .img-container {
        border-radius: var(--circle);
        background-color: var(--contrast);
        margin-right: 1rem;
        padding: 0.25rem;
        transform: rotate(180deg);
      }

      .wc-dashboard .item.toolkit .back:hover .img-container {
        background-color: var(--color);
      }
      .wc-dashboard .item.toolkit .back:hover {
        color: var(--color);
      }


    .wc-dashboard .item.toolkit > label {
      width: 100%;
      margin: 1rem 0 .5rem;
      text-transform: uppercase;
      letter-spacing: .01rem;
      font-weight: 300;
    }

.wc-dashboard .title {
  padding: 0.5rem;
  color: var(--compare);
  font-weight: 500;

  background-color: var(--color);
  align-items: center;
  width: 100%;
}


.wc-dashboard .cost strong {
  margin-right: .5rem;
  text-align: right;
  align-self: flex-start;
  justify-content: flex-end;
  width: 5ch;
}

.wc-dashboard .cost div {
  width: 100%;
  font-weight: 300;
}

.wc-dashboard .WMBSC-loading {
  display: none;
}

.wc-dashboard .slick-slide,
.wc-dashboard .slick-track,
.wc-dashboard .slick-list.draggable {
  display: flex !important;
}

.wc-dashboard .slick-list.draggable {
  overflow: visible !important;
  min-width: 100%;
  max-width: var(--max-width);
}



.wc-dashboard .slick-slide {
  height: unset !important;
}
