.profBox {
    width: 465px;
    border-right:1px solid #DEDEDE;
    border-bottom: 1px solid #DEDEDE;
}

.profBox.rigid {
    height: 275px;
}

.profBox h2.header {
    width: 453px;
}

#professor_overview img {
    padding: 3px;
    border: 1px solid #CECECE;
    float: left;
    background: #fff;
    margin: 10px;
}

#professor_details h2.lead {
    margin: 0;
    line-height: 1em;
}

#professor_details ul {
    list-style: none;
}

.professor_evaluation, .gradeHistory {
    background: #FFFFFF url(../img/box_bg2.gif) repeat-x bottom;
    border-left: 1px solid #DEDEDE;
    border-bottom: 1px solid #CECECE;
    padding: 10px;
}

.pagination_nav {
    background: #FFFFFF url(../img/box_bg2.gif) repeat-x scroll center bottom;
    border-left: 1px solid #DEDEDE;
    text-align: center;
}

/* Ratings Styling */
#professor_details, #ratings_wrapper {
    height: 216px;
    padding: 10px;
    border-left: 1px solid #DEDEDE;
}

#professor_rating .header span {
    float: right;
    padding: 10px 10px 0 0;
    font-weight: lighter;
    font-size: 13px;
}

#professor_rating .header span a {
    text-decoration: none;
}

#professor_rating .header span a:hover {
    text-decoration: underline;
}

#ratings_average {
    padding-left: 32px;
}

#ratings_average div.row {
    padding: 5px;
    height: 30px;
}

#ratings_average span.pre, span.post {
    width: 85px;
    padding: 0 4px 0 4px;
    line-height: 10px;
    font-size: 10px;
    padding-top: 7px;
    float: left;
}
#ratings_average span.pre {
    text-align: right;
    clear: left;
}
#ratings span {
    height: 35px;
}

#ratings_average .graph div {
    position: relative; /* IE is dumb */
    background: #FFB300;
    width: 200px; 
    border: 1px solid #293C5F;
    padding: 2px;
    float: left;
}
#ratings_average .graph div .bar { 
    display: block;
    position: relative;
    background: #536895; 
    text-align: center; 
    color: #eee; 
    height: 1.8em; 
    line-height: 1.8em;
}
#ratings_average .graph div .bar span { position: absolute; left: 1em; }

/* Ratings Histogram Styling */
#ratings_histogram_choices {
    margin-left: 43px;
}

#ratings_histogram_choices a {
    border: 1px solid #CECECE;
    padding: 3px 5px 3px 5px;
    margin-right: 10px;
    text-decoration: none;
    font-weight: lighter;
    font-size: 13px;
}

/* Grade History Styling */
.gradeHistory {
    height: 200px;
}

.gradeHistory h3 {
    margin-bottom: 0;
}

.gradeHistory .courseName {
    margin-bottom: 5px;
}

.gradeHistory .graph {
    float: left;
    text-align: center;
}

.gradeHistory .graph div {
    position: relative; /* IE is dumb */
    background: #536895;
    border: 1px solid #293C5F;
    height: 100px;
    width: 26px; 
    padding: 1px;
    margin-left: 4px;
}

.gradeHistory .graph div .bar {
    display: block;
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 24px;
    background: #FFB300; 
    text-align: center; 
    color: #eee; 
    height: 1.8em; 
    line-height: 1.8em;
}

.gradeHistory .graph .grade {
    font-size: 10px;
    line-height: 10px;
}

.gradeHistory hr {
    margin-bottom: 0px;
}

.gradeHistory .non_letter_grades {
    clear: both;
    text-align: center;
}
