@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700&text=0123456789);
.counter-group {
  margin: 10px auto 0px;
  display: inline-block;
}
.counter-group:before,
.counter-group:after {
  content: " ";
  display: table;
}
.counter-group:after {
  clear: both;
}
.counter-block {
  float: left;
  margin: 10px;
}
.counter-block .counter {
  position: relative;
  width: 80px;
  height: 80px;
  overflow: hidden;
  font-weight: 300;
  font-family: 'Helvetica';
  border-right:0px solid #fff;
  text-align:center;
}

.counter-block .counter.seconds { border-right:0px !important; }
.counter-block .counter .number {
  padding: 1%;
  width: 26%;
  height: 98%;
  background-color:transparent;
  color: #fff;
  position: absolute;
  font-size: 50px;
  line-height: 80px;
  top: -10000px;
}
.counter-block .counter .number.tens {
  left: 0;
}
.counter-block .counter .number.units {
  left: 40%;
}
.counter-block .counter .number.hundreds {
  display: none;
}
.counter-block .counter .number.show {
  top: 0;
  z-index: 2;
}
.counter-block .counter .number.hidden-down {
  top: 100%;
}
.counter-block .counter .number.hidden-up {
  top: -100%;
  z-index: 100;
}
.counter-block .counter.with-hundreds {
  width: 120px; border-right:1px solid #fff;
}
.counter-block .counter.with-hundreds .number {
  width: 20%;
}
.counter-block .counter.with-hundreds .number.tens {
  left: 60%;
}
.counter-block .counter.with-hundreds .number.units {
  left: 30%;
}
.counter-block .counter.with-hundreds .number.hundreds {
  display: block;
  left: 0;
}
.counter-block .counter-caption {
  font-family: 'Helvetica';
  font-size: 120%;
  color:#fff;
  width:80%;
  text-transform: uppercase;
}

@media only screen and (min-width: 720px) and (max-width: 959px) {
  .counter-block { margin:5px 0px 5px 5px; }
  .counter-block .counter {
    width: 65px;
    height: 52px;
  }
  .counter-block .counter .number {
    font-size: 35px;
    line-height: 50px;
  }
  .counter-block .counter.with-hundreds {
    width: 65px;
  }
  .counter-block .counter-caption {
    font-size: 100%;
  }
  
}

@media only screen and (min-width: 0px) and (max-width: 719px) {
  .counter-block { margin:5px 0px 5px 5px; }
  .counter-block .counter {
    width: 65px;
    height: 52px;
  }
  .counter-block .counter .number {
    font-size: 35px;
    line-height: 50px;
  }
  .counter-block .counter.with-hundreds {
    width: 65px;
  }
  .counter-block .counter-caption {
    font-size: 100%;
  }
  
}
