/* Common Styles */ 

#progress-wrapper {
	background: #fafafa;
	padding: 1.5rem;
}

#progress-wrapper h2 {
	margin: 0;
	padding-bottom: .75rem;
	font-size: 1.5em;
    font-family: 'proxima-nova', sans-serif;
}

#progress-wrapper > div {
    border-style: solid;
    border-color: #ddd;
    color: #444;
}

.class-progress {
	overflow: visible !important;
	position: relative;
	background-image: url('../images/progress-bg.png');
	background-color: #E7E7E7;
} 

.class-progress .goal {
    position: absolute;
    background: #111;
    color: #fff;
}

.class-progress .bar{
    position: relative;
    background: #ccc;
    position: absolute;
    left: 0;
    overflow: hidden;
}

.class-progress.donations .bar {
    background: #ffc70a;
    color: #303030;
}

.class-progress.donors .bar {
    background: #303030;
    color: #fff;
}




/* Desktop Styles */ 

#progress {
	border-width: 1px 0 1px 1px;
    padding: 10px 0;
    margin: 2rem 0 2rem 8rem;
}

#progress .class-progress{
    height: 2.5rem;
    background-position: top left;
}

#progress .donations{
    margin-bottom: 1rem;
}

#progress .title{
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 8rem;
    padding-right: 1em;
    font-size: .75rem;
    line-height: 1.3;
    text-align: right;
}

#progress .goal{
    line-height: 1;
    font-size: .55rem;
    padding: .33em;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

#progress .bar{
    height: 100%;
    top: 0;
}

#progress .axis{
    position: absolute;
    left: 0;
    width: 100%;
}

#progress .axis .tick{
    position: absolute;
    text-align: right;
    right: 100%;
    font-size: 10px;
    padding-right: 2px;
    border-right: 1px solid #ccc;
}

#progress .class-progress.donations .axis {
    top: -25px;
}

#progress .class-progress.donors .axis {
    bottom: -11px;
}




/* Mobile Styles */ 

#progress-mobile{
    border-width: 0 1px 1px 1px;
    width: 145px;
    margin: 30px auto 50px;
}

#progress-mobile .class-progress{
    height: 330px;
    width: 60px;
    float: left;
    background-position: bottom center;
}

#progress-mobile .donations{
    margin: 0 15px 0 5px;
}

#progress-mobile .title{
    position: absolute;
    bottom: -25px;
    left: -50%;
    width: 200%;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

#progress-mobile .goal{
    left: 0;
    height: 3px;
    width: 100%;
}

#progress-mobile .class-progress .goal-title{
	position: absolute;
	top: -20px;
	left: -50%;
	width: 200%;
	text-align: center;
	font-size: 12px;
	font-style: italic;
	font-weight: bold;
}

#progress-mobile .bar{
    width: 100%;
    bottom: 0;
}

#progress-mobile .bar-text{
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    padding-top: 5px;
    color: inherit;
    z-index: 10;
    display: none;
}