html, body {
  height: 100%;
}

#wrap {
  min-height: 100%;
}

#main {
  overflow:auto;
  padding-bottom:30px; /* this needs to be bigger than footer height*/
}

.footer {
  position: relative;
  margin-top: -30px; /* negative value of footer height */
  height: 30px;
  clear:both;
  /*padding-top:7px;*/
} 

#footer-content {
  vertical-align: middle;
  position:absolute;
  top:50%;
  height:300px;
  margin-top:-15px; /* negative half of the height */
  width:500px;
}

/**
 * Progress bars with centered text
 */
.progress {
    position: relative;
    height: 22px;
}

.progress-bar {
    z-index: 1;
    position: absolute;
}

.progress span {
    position: absolute;
    top: 0;
    z-index: 2;
    text-align: center;
    width: 100%;
    line-height: 22px;
}