/* WRAPPER */
.keen-dataviz {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'Gotham Rounded SSm A', 'Gotham Rounded SSm B', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-family: 'Gotham Rounded SSm A', 'Gotham Rounded SSm B', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  height: 100%;
}
.keen-dataviz .partial-interval-indicator{
    fill: #bdbdbd;
  }
.keen-dataviz .axis {
    shape-rendering: crispEdges
  }
.keen-dataviz-title {
    color: #4D4D4D;
    color: #4D4D4D;
    padding-bottom: 0.8em;
  }
.keen-dataviz-stage {
    display: block;
  }
.keen-dataviz-notes {
    color: #808080;
    color: #808080;
    display: block;
    font-size: 0.8em;
  }
.keen-dataviz-box {
    border-radius: 4px;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
        align-items: center;
    -ms-flex-flow: row;
        flex-flow: row;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-direction: column;
        flex-direction: column;
    padding: 1em 0;
    min-height: 4em;
    height: inherit;
  }
.keen-dataviz-button {
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    background-color: #f9f9f9;
    border-color: #d6d6d6;
    cursor: pointer;
    -webkit-transition: background-color 300ms ease;
    -o-transition: background-color 300ms ease;
    transition: background-color 300ms ease
  }
.keen-dataviz-button:hover {
  background-color: #E7E7E7;
  background-color: #E7E7E7;
}
.keen-dataviz .metric-comparison {
    -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    color: #1A1A1A;
    color: #1A1A1A;
    background: #f9f9f9;
  }
/* METRIC */
.keen-dataviz-metric {
    height: inherit;
    color: #FFFFFF;
    color: #FFFFFF;
    background: rgb(0, 187, 222);
  }
.keen-dataviz-metric-value {
      font-size: 4.3em;
      font-weight: 700;
      width: 100%;
    }
.keen-dataviz-metric-value-smaller {
        font-size: 3em;
      }
.keen-dataviz-metric-title {
      font-size: 2em;
      font-weight: 200;
      width: 100%;
    }
.keen-dataviz-metric-green {
      color: #73D483;
      color: #73D483;
      font-size: 2em;
    }
.keen-dataviz-metric-red {
      color: #FE6672;
      color: #FE6672;
      font-size: 2em;
    }
.keen-dataviz .arrow-green {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #73D483;
    border-bottom: 8px solid #73D483;
    position: relative;
    top: 0.7em;
    left: -0.6em;
  }
.keen-dataviz .arrow-red {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #FE6672;
    border-top: 8px solid #FE6672;
    position: relative;
    top: 0.8em;
    left: -0.6em;
  }
/* MESSAGE */
.keen-dataviz-message {
    color: #808080;
    color: #808080;
    font-size: 1.5em;
    width:100%;
  }
/* FUNNEL */
.keen-dataviz .text-label {
      fill: #1A1A1A;
      fill: #1A1A1A;
    }
.keen-dataviz .text-main {
      fill: #FFFFFF;
      fill: #FFFFFF;
      font-size: 1.5em;
    }
.keen-dataviz .text-second {
      fill: #FFFFFF;
      fill: #FFFFFF;
    }
.keen-dataviz .chart-lines {
      stroke: #E7E7E7;
      stroke: #E7E7E7;
    }
/* METRIC COMBO */
.keen-dataviz-metric-combo {
    width: 270px;
    height: 120px;
    position: relative;
  }
.keen-dataviz-metric-combo .metric-combo-data {
      width: 100%;
      height: 100%;
      padding: 0.5rem;
      position: absolute;
      z-index: -1;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      -webkit-box-sizing: border-box;
              box-sizing: border-box;
    }
.keen-dataviz-metric-combo .c3-chart {
      height: 120px;
    }
.keen-dataviz-metric-combo .c3-lines {
      display: none;
    }
.keen-dataviz-metric-combo .keen-dataviz-title,
    .keen-dataviz-metric-combo .current-count {
      width: 100%;
    }
.keen-dataviz-metric-combo .current-count {
      margin-top: auto;
      margin-bottom: auto;
      font-size: 2rem;
      text-align: center;
    }
.keen-dataviz-metric-combo .percent-difference {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-align: center;
          align-items: center;
      font-size: 80%;
    }
.keen-dataviz-metric-combo .arrow-green,
    .keen-dataviz-metric-combo .arrow-red {
      margin-right: 0.25rem;
      position: static;
      border-width: 5px;
    }
/* TABLE */
.keen-dataviz-table {
    border-bottom: 1px solid #E7E7E7;
    border-bottom: 1px solid #E7E7E7;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    overflow: scroll;
    position: relative;
    width: 100%;
  }
.keen-dataviz-table table {
      background: #FFFFFF;
      background: #FFFFFF;
      border-collapse: collapse;
      margin: 0;
      position: relative;
      width: 100%;
    }
.keen-dataviz-table table .table-pagination td {
          background-color: #FFFFFF;
          background-color: #FFFFFF;
        }
.keen-dataviz-table table .table-pagination:hover td {
          background-color: #FFFFFF;
          background-color: #FFFFFF;
        }
.keen-dataviz-table table .table-pagination a {
          border: 1px solid #E7E7E7;
          border: 1px solid #E7E7E7;
          padding: 0.5em;
          margin-right: 0.2em;
          cursor: pointer;
        }
.keen-dataviz-table table .table-pagination .active{
          background: #4D4D4D;
          background: #4D4D4D;
          color: #FFFFFF;
          color: #FFFFFF;
        }
.keen-dataviz-table table .table-pagination .arrow{
          font-weight:bold;
        }
.keen-dataviz-table th{
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
    cursor: pointer;
  }
.keen-dataviz-table th,
  .keen-dataviz-table td {
    border-collapse: collapse;
    font-size: 1em;
    padding: 0.7em;
    text-align: left;
    white-space: nowrap;
  }
.keen-dataviz-table th {
    border-bottom: 1px solid #E7E7E7;
    border-bottom: 1px solid #E7E7E7;
    color: #4D4D4D;
    color: #4D4D4D;
  }
.keen-dataviz-table td {
    background-color: #FFFFFF;
    background-color: #FFFFFF;
    color: #4D4D4D;
    color: #4D4D4D;
    -webkit-transition: background-color 0.1s, color 0.05s;
    -o-transition: background-color 0.1s, color 0.05s;
    transition: background-color 0.1s, color 0.05s;
  }
.keen-dataviz-table .table-data-row:nth-child(even) td{
    background-color: #F3F5F6;
  }
.keen-dataviz-table .table-data-row:hover td{
    background-color: #E7E7E7;
    background-color: #E7E7E7;
    color: #4D4D4D;
    color: #4D4D4D;
  }
.keen-dataviz-table .keen-dataviz-table-fixed-header {
    background: #FFFFFF;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,.15);
    position: absolute;
    top: 0;
    -webkit-transition: top .1s;
    -o-transition: top .1s;
    transition: top .1s;
  }
.keen-dataviz .keen-spinner-indicator {
    border-radius: 100%;
    border: 3px solid rgba(0, 0, 0, .1);
    border-top-color: rgba(0, 0, 0, .45);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    height: 3em;
    width: 3em;
    -webkit-animation:spin .7s linear infinite;
    animation:spin .7s linear infinite;
    -ms-animation: spin .7s linear infinite;
    -o-animation: spin .7s linear infinite;
  }
.keen-dataviz-execution-meta {
    position: absolute;
    z-index: 999;
    padding: 0.5rem 1rem;
    margin: 0.75rem 0;
    display: inline-grid;
    grid-template-columns: repeat(2, -webkit-max-content);
    grid-template-columns: repeat(2, max-content);
    grid-gap: 0.5em 1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    border: 1px solid #eee;
    background: #fff;
  }
.keen-dataviz-execution-meta dt {
      font-weight: bold
    }
.keen-dataviz-execution-meta dt:hover + dd {
  font-weight: bold;
}
.keen-dataviz-execution-meta dt, .keen-dataviz-execution-meta dd {
      margin: 0;
      cursor: pointer;
    }
.keen-dataviz-execution-meta .copied:after {
  content: 'copied!';
  vertical-align: middle;
  display: inline-block;
  font-size: 10px;
  margin-left: 0.5em;
  position: absolute;
  text-transform: none;
  font-weight: normal;
  -webkit-animation: 1s ease 0s 1 both fadeOut;
          animation: 1s ease 0s 1 both fadeOut;
}
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

@-webkit-keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

/* C3 CUSTOMIZATIONS */
.keen-dataviz .c3-axis-y path {
       display: none;
    }
.keen-dataviz .c3-axis-y .tick line{
      display: none;
    }
.keen-dataviz .tick line, .keen-dataviz path.domain{
    stroke-opacity: 0.2;
  }
.keen-dataviz .c3-ygrid{
    stroke-dasharray: none;
    stroke-opacity: 0.1;
  }
.keen-dataviz .c3-ygrids :nth-child(even) {
    display: none;
  }
.keen-dataviz .c3-tooltip {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding:  0.2em;
    border-radius: 0.2em;
    -webkit-box-shadow: none;
            box-shadow: none;
    border-collapse: separate;
  }
.keen-dataviz .c3-tooltip th {
      text-align: center;
    }
.keen-dataviz .c3-tooltip table, .keen-dataviz .c3-tooltip th, .keen-dataviz .c3-tooltip tr, .keen-dataviz .c3-tooltip td {
      border: none;
      background: none;
      font-size: 0.9em;
    }
.keen-dataviz .c3-tooltip-container th {
      max-width: 50%;
      word-wrap: break-word;
      color: #1A1A1A;
      color: #1A1A1A;
      background: none;
      font-weight: normal;
    }
.keen-dataviz .c3-tooltip-container td {
      max-width: 50%;
      word-wrap: break-word;
    }
.keen-dataviz-rendering{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
        justify-content: center;
    -ms-flex-flow: row;
        flex-flow: row;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
.keen-dataviz-rendering .c3-chart{
      display: -ms-flexbox;
      display: flex;
      -ms-flex-item-align: center;
          align-self: center;
      -ms-flex-order: 1;
          order: 1;
      -ms-flex: 100%;
          flex: 100%;
    }
.keen-dataviz-rendering .c3-chart-100-percent{
      width: 100%;
      -ms-flex-item-align: center;
          align-self: center;
    }
.keen-dataviz-rendering-horizontal{
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
    }

/* CUSTOM LEGEND */
.keen-c3-legend {
  display: -ms-flexbox;
  display: flex;
  position: relative;
  top: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.keen-c3-legend-horizontal{
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-item-align: end;
        align-self: flex-end;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    -ms-flex-pack: center;
        justify-content: center;
    width: 100%;
    padding: 0.5em 0;
  }
.keen-c3-legend-horizontal-pagination-left{
      -ms-flex-order: 0;
          order: 0;
      display: -ms-flexbox;
      display: flex;
      margin-right: 1.5em;
    }
.keen-c3-legend-horizontal-items{
      -ms-flex-order: 1;
          order: 1;
      display: -ms-flexbox;
      display: flex;
    }
.keen-c3-legend-horizontal-pagination-right{
      -ms-flex-order: 2;
          order: 2;
      display: -ms-flexbox;
      display: flex;
      margin-left: 1.5em;
    }
.keen-c3-legend-top{
    -ms-flex-order: 0;
        order: 0;
  }
.keen-c3-legend-bottom {
    -ms-flex-order: 2;
        order: 2;
  }
.keen-c3-legend-bottom .keen-c3-legend-label-overlay{
    top: 0;
    margin-top: -2.7em;
  }
.keen-c3-legend-bottom .keen-c3-legend-label-overlay .overlay-pointer {
      top: 2.4em;
      -webkit-transform: rotate(180deg);
          -ms-transform: rotate(180deg);
              transform: rotate(180deg);
      border-color: transparent transparent #f0f0f0 transparent;
    }
.keen-c3-legend-vertical{
    -ms-flex-direction: column;
        flex-direction: column;
  }
.keen-c3-legend-vertical .keen-c3-legend-pagination-icons
    {
      margin: 0.5em 0.1em;
      -ms-flex-order: 2;
          order: 2;
    }
.keen-c3-legend-left{
    -ms-flex-order: 0;
        order: 0;
  }
.keen-c3-legend-right{
    -ms-flex-order: 2;
        order: 2;
  }
.keen-c3-legend-items{
    -ms-flex-order: 1;
        order: 1;
  }
.keen-c3-legend-vertical-items{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
  }
.keen-c3-legend-vertical-items .legend-item{
      width: 8em;
    }
.keen-c3-legend-horizontal-items{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
.keen-c3-legend-horizontal-items .legend-item{
      width: 6em;
      margin: 0 0.25em;
    }
.keen-c3-legend .legend-item{
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    padding: 0.2em;
    font-size: 0.8em;
  }
.keen-c3-legend .legend-item > * {
      vertical-align: middle;
    }
.keen-c3-legend .legend-item-color-sample{
      display: inline-block;
      width: 1em;
      height: 1em;
      margin-right: 0.5em;
      pointer-events: none;
      -ms-flex: none;
          flex: none;
    }
.keen-c3-legend .legend-item-text{
      pointer-events: none;
      overflow: hidden;
      white-space: nowrap;
      -o-text-overflow: ellipsis;
         text-overflow: ellipsis;
      text-align: left;
    }
.keen-c3-legend-label-overlay .overlay-pointer {
    border-color: transparent transparent #FFFFFF transparent;
    border-color: transparent transparent #FFFFFF transparent;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    height: 0;
    width: 0px;
    position: absolute;
    top: -10px;
  }
.keen-c3-legend-position-left .overlay-pointer {
        left: 0px;
      }
.keen-c3-legend-position-right .overlay-pointer {
        left: 0px;
      }
.keen-c3-legend-pagination-vertical {
    margin-top: 0.5em;
  }
.keen-c3-legend-pagination-icons {
    padding: 0.2em;
  }
.keen-c3-legend-pagination-icons i {
      border-left: 1em solid transparent;
      border-right: 1em solid transparent;
      border-top: 1.5em solid #4D4D4D;
      border-top: 1.5em solid #4D4D4D;
      display: inline-block;
      padding: 0em;
      float: left;
      cursor: pointer;
      font-size: 0.5em;
    }
.keen-c3-legend-pagination-icons .right {
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
      -webkit-transform: rotate(-90deg);
    }
.keen-c3-legend-pagination-icons .left {
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
      -webkit-transform: rotate(90deg);
    }
.keen-c3-legend-pagination-icons .up {
      -ms-transform: rotate(-180deg);
          transform: rotate(-180deg);
      -webkit-transform: rotate(-180deg);
      margin-top: 0.1em;
    }
.keen-c3-legend-pagination-icons .down {
      margin-right: 1em;
    }
.keen-c3-legend-label-overlay {
    font-size: 1em;
    background: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 1px 1px rgba(26, 26, 26, 0.09999999999999998);
            box-shadow: 0 1px 1px rgba(26, 26, 26, 0.09999999999999998);
    box-shadow: 0 1px 1px rgba(26, 26, 26, 0.09999999999999998);
    padding: 0.6em;
    margin-top: 1.5em;
    position: absolute;
    word-wrap: break-word;
    pointer-events: none;
    z-index: 222;
  }
.keen-c3-legend-align-left {
      -ms-flex-pack: start;
          justify-content: flex-start;
    }
.keen-c3-legend-align-left .keen-c3-legend-horizontal-items {
        -ms-flex-pack: start;
            justify-content: flex-start;
        margin-right: auto;
      }
.keen-c3-legend-align-center {
      -ms-flex-pack: center;
          justify-content: center;
    }
.keen-c3-legend-align-center .keen-c3-legend-horizontal-items {
        -ms-flex-pack: center;
            justify-content: center;
        margin-left: auto;
        margin-right: auto;
      }
.keen-c3-legend-align-right {
      -ms-flex-pack: end;
          justify-content: flex-end;
    }
.keen-c3-legend-align-right .keen-c3-legend-horizontal-items {
        -ms-flex-pack: end;
            justify-content: flex-end;
        margin-left: auto;
      }
.keen-c3-legend-align-top {
      -ms-flex-pack: start;
          justify-content: flex-start;
    }
.keen-c3-legend-align-middle {
      -ms-flex-pack: center;
          justify-content: center;
    }
.keen-c3-legend-align-bottom {
      -ms-flex-pack: end;
          justify-content: flex-end;
    }

.keen-dataviz-range .c3-area-Max {
  display: none;
}

.keen-dataviz-range .c3-bars-Max {
  display: none;
}

.keen-dataviz ~ .rangeable-container {
  margin: 2rem auto;
  width: 75%;
}
.keen-dataviz ~ .rangeable-container .rangeable-track,
.keen-dataviz ~ .rangeable-container .rangeable-progress {
  height: 4px;
}

.keen-dataviz ~ .rangeable-container .rangeable-handle {
  width: 16px;
  height: 16px;
  border-width: 4px;
}

.keen-dataviz ~ .rangeable-container .rangeable-tooltip {
  border-radius: 0;
  font-weight: normal;
  padding: 3px 9px;
}
