.progress {
    position: relative;
    z-index: 5;
    background: #EEEEEE;
    border: 10px solid #fff;
    border-radius: 20px;
    display: inline-block;
}

.progress-text {
    position: absolute;
    font: bold 14px/20px Arial;
    text-align: center;
    top: 0;
    left: 0; 
}

.progress,
.progress-bar,
.progress-text {
    width: 100%;
    height: 40rpx;
}

.progress .progress-text:first-child {
    z-index: 5;
    color: white;
}

.progress .progress-text:last-child {
    z-index: 10;
    color: #fff;
}

.progress-bar {
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    width: 0;
    -moz-transition: width .2s linear;
    -webkit-transition: width .2s linear;
    -o-transition: width .2s linear;
    transition: width .2s linear;
}

/* Test Style */
.progress.test .progress-bar {
    background-color: #00baba;
    background-image: -moz-linear-gradient(left, #7AB8F6 0%, #0581FD 100%);
    background-image: -webkit-linear-gradient(left, #7AB8F6 0%, #0581FD 100%);
    background-image: -o-linear-gradient(left, #7AB8F6 0%, #0581FD 100%);
    background-image: -ms-linear-gradient(left, #7AB8F6 0%, #0581FD 100%);
    background-image: linear-gradient(to right, #7AB8F6 0%, #0581FD 100%);
    background-size: 200px 20px;
    overflow: visible;
}

.progress.test .progress-text:first-child {
    display: none;
}

.progress.test .progress-text:last-child {
    left: auto;
    top: auto;
    bottom: -26px;
    right: -12px;
    display: block;
    background-color: #0581FD;
    width: 40px;
    height: 20px;
    border-radius: 3px;
}

.test[data-width='0%'] .progress-text:last-child {
    display: none; 
}

.progress.test .progress-text:last-child:before {
    position: absolute;
    left: 12px;
    top: -6px;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #0581FD transparent;
}

/* Aqua Style */
.progress.aqua .progress-bar {
    background-color: #00baba;
    background-image: -moz-linear-gradient(left, #cef6ea 0%, #0581FD 100%);
    background-image: -webkit-linear-gradient(left, #cef6ea 0%, #0581FD 100%);
    background-image: -o-linear-gradient(left, #cef6ea 0%, #0581FD 100%);
    background-image: -ms-linear-gradient(left, #cef6ea 0%, #0581FD 100%);
    background-image: linear-gradient(to right, #cef6ea 0%, #0581FD 100%);
}

.progress.sparkle .progress-bar {
    background-color: #F7A806;
    background-image: url("data:image/png;base64,[encoded data, 7400 characters]");
    box-shadow: inset 0 -2px 2px rgba(0, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.8);
    -webkit-animation: sparkle 1500ms linear infinite;
    -moz-animation: sparkle 1500ms linear infinite;
    -o-animation: sparkle 1500ms linear infinite;
    animation: sparkle 1500ms linear infinite;
}

@-webkit-keyframes sparkle {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 -64px;
    }
}

@-moz-keyframes sparkle {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 -64px;
    }
}

@-o-keyframes sparkle {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 -64px;
    }
}

@keyframes sparkle {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 -64px;
    }
}


h2 {
    text-align: center;
    font-size: 18px;
    font-family: Arial;
}

a {
    color: #89310F;
}