/* Commons */
.io-waiting {
  text-align: center;
  padding: 5em;
  color: #888;
}



/* Dashboard */
.io-dashboard {
  position: relative;
}

.io-dashboard #period-selector {
  position: absolute;
  top: 0.5em;
  right: 0;
}



/* Overview figures blocks */
.io-overview {
  width: 100%;
  border: none;
  border-spacing: 0;
  border-collapse: collapse;
}

.io-overview tr {
  border-spacing: 0;
}

.io-overview td {
  width: 25%;
  border: none;
  border-right: 1.5em solid transparent;
  padding: 0;
  margin: 0;
}

.io-overview td:last-child {
  border: none;
}

.io-overview .figure .main {
  color: #aaa;
  font-size: 1em;
}

.io-overview .figure b {
  font-size: 4em;
  color: #444;
  vertical-align: middle;
  display: inline-block;
  margin: 0 .25em 0 0;
}



/* Chart */
.io-chart {
  width: 100%;
  border-collapse: collapse;
}

.io-chart td {
  vertical-align: bottom;
  border-right: 1em solid transparent;
  text-align: center;
  height: 130px;
  position: relative;
}

.io-chart th {
  padding: 0;
}

.io-chart th em {
  font-style: normal;
  font-size: .6em;
  padding: .25em;
  line-height: 100%;
  background: #fafafa;
  border: 1px solid #ddd;
  margin-top: 1em;
  border-radius: 3px;
  display: inline-block;
  font-weight: normal;
  color: #888;
}

.io-chart .future em {
  opacity: .5;
}

.io-chart .now {
  border-right: 1px dashed #ccc;
}

.io-chart td:last-child {
  border-right: 0;
}

.io-chart td:hover {
  background: #fafafa;
}

.io-chart td:hover .total {
  opacity: .75;
}

.io-chart .total {
  border-radius: 3px;
  overflow: hidden;
  background: #ddd;
  width: 100%;
  height: 80%;
  position: relative;
  opacity: .5;
}

.io-chart .total .started {
  background: #0074D9;
  width: 100%;
  height: 50%;
  position: absolute;
  bottom: 0;
  border-top: 5px solid #f1f1f1;
}

.io-chart .total .started .finished {
  background: #2ECC40;
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  border-top: 5px solid #f1f1f1;
}



/* Top articles list */
.io-scoreboard {
  width: 100%;
  border: none;
  border-collapse: collapse;
}

.io-scoreboard tr:hover td {
  background: #fafafa;
}

.io-scoreboard th {
  text-align: left;
  border: none;
  text-align: right;
  padding: .25em .5em 1em .5em;
}

.io-scoreboard td {
  padding: .25em .5em;
  width: 10%;
  border: none;
  position: relative;
  text-align: right;
  vertical-align: top;
}

.io-scoreboard td:first-child {
  width: 30%;
}

.io-scoreboard td i {
  position: absolute;
  top: 10px;
  border-top: 2px dotted #eee;
  left: 5px;
  right: 50px;
}

.io-scoreboard .title {
  text-align: left;
}

.io-scoreboard td em {
  height: 6px;
  width: 6px;
  border: 2px solid #eee;
  border-left: 0;
  border-top: 0;
  position: absolute;
  top: 7px;
  right: 50px;
  transform: rotate(-45deg);
  
}

.io-scoreboard b {
  background: rgba(46, 204, 64, 0.75);
  color: #fff;
  width: 34px;
  font-size: 10px;
  display: inline-block;
  line-height: 18px;
  text-align: center;
  border-radius: 4px;
}

.io-scoreboard b.norm {
  background: rgba(0, 116, 217, 0.75);
}
.io-scoreboard b.avg {
  background: rgba(255, 133, 27, 0.75);
}
.io-scoreboard b.bad {
  background: rgba(255, 65, 54, 0.75);
}



/* Article funnel */
.io-funnel table {
  width: 100%;
}

.io-funnel td {
  width: 50%;
}

.io-funnel td.io-content {
  vertical-align: top;
}

.io-funnel td.io-content .out {
  max-height: 500px;
  height: 500px;
  overflow: hidden;;
  position: relative;
}

.io-funnel td.io-content .in {
  position: absolute;
  top: 0;
}

.io-funnel td.io-content div {
  opacity: 0.5;
}

.io-funnel td.io-content p {
  font-size: 8px;
}

.io-funnel td {
  position: relative;
  padding-left: 1em;
}

.io-read-funnel > div {
  top: 0;
  right: 0;
  height: 18%;
  background: #01FF70;
  opacity: .5;
  width: 100%;
  position: absolute;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  border-right: .5em solid #000;
}

.io-read-funnel .io-funnel-quarter {
  top: 20%;
  width: 80%;
}

.io-read-funnel .io-funnel-half {
  top: 40%;
  width: 60%;
}

.io-read-funnel .io-funnel-tquarter {
  top: 60%;
  width: 50%;
}

.io-read-funnel .io-funnel-end {
  top: 80%;
  width: 20%;
}

.io-read-funnel > div.norm {
  background: #0074D9;
}

.io-read-funnel > div.avg {
  background: #FF851B;
}

.io-read-funnel > div.bad {
  background: #FF4136;
}

.io-read-funnel > label {
  top: 0;
  left: 0;
  height: 20%;
  width: 20%;
  position: absolute;
  cursor: default;
  line-height: 125%;
  text-align: left;
  padding-left: 60px;
  padding-top: 0.5em;
  font-size: 0.75em;
}

.io-read-funnel > label .engagement {
  font-weight: bold;
  color: #2ECC40;
}

.io-read-funnel > label .engagement.norm {
  color: #0074D9;
}

.io-read-funnel > label .engagement.avg {
  color: #FF851B;
}

.io-read-funnel > label .engagement.bad {
  color: #FF4136;
}

.io-read-funnel > label em {
  height: 33px;
  position: absolute;
  left: 24px;
  border-right: 2px dotted #eee;
  top: 57px;
}

.io-read-funnel > label i {
  height: 6px;
  width: 6px;
  border: 2px solid #eee;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  
  position: absolute;
  left: 21px;
  top: 85px;
}

.io-read-funnel > label b {
  font-size: 1.5em;
  margin: 0 .25em 0 0;
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid #eee;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  background: #fafafa;
}

.io-read-funnel > label.io-funnel-quarter-label {
  top: 20%;
}

.io-read-funnel > label.io-funnel-half-label {
  top: 40%;
}

.io-read-funnel > label.io-funnel-tquarter-label {
  top: 60%;
}

.io-read-funnel > label.io-funnel-end-label {
  top: 80%;
}



/* GA */
.io-ga-id {
  width: 400px;
  height: 100px;
  display: block;
  margin: 1em 0 2em 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 0 10px #ccc;
}