/* TSP FONTS */
h1,h2,h3,h4 {font-family: "Crimson Text", "Georgia", serif; font-weight: normal;}
#cxt-bar .contexts-org {font-family: "Crimson Text", "Georgia", serif;}
h2 em, h3 em {font-family: "Crimson Text", "Georgia", serif;}
h2 {font-size: 1.5em; margin: 0 0 0.2em 0; color: #777;}
#posts h2 {font-size: 1.8em; font-weight: normal; margin-bottom: 2px;}
h3, #posts h3 {font-size: 1.5em; font-weight: normal;}
#posts .page-meta h2 { text-transform: none;}
#comments-wrapper h3 {font-size: 1.5em;}
#sidebar h2, #sidebar h3 {font-size: 1.5em; text-transform: none; font-weight: normal;}

#header { margin-top: 0; }


/*
 * COLORS
 * 'primary' => '#335e82', 
 * 'secondary' => '#BEDDC1'
 */
#container a { color: #335e82;}
#container a:hover { background-color: #335e82; }
#cxtbar .contexts-org { color: #335e82; }
#cxtbar-login a:hover { color: #335e82; }
#header h1 { color: #335e82; }
div.subscription-manager h2, div.subscription-manager a { color: #335e82; }

/* secondary colors */
.meta-box { background-color: #BEDDC1; }

#header h1 {
    font-size: 3.3em;
}
div.teaching-aside {
    overflow: hidden;
    margin: 1em 0 0em 0;
    padding: 17px 10px 23px 60px;
    width: 505px;
    background: url(../images/teaching/quote.png) 5px 5px no-repeat;
    border-bottom: solid 1px #ddd;
}
div.aside-loop-1 {
    margin-top: 17px; 
    border-bottom: none;
    margin-bottom: 0;
}
div.teaching-aside-meta {float: right; margin: -5px 10px 5px 0;}


/* Links for Teaching Blog Categories */
#sidebar ul li ul li.readings {
    background: url(../images/teaching/book.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.syllabi {
    background: url(../images/teaching/page.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.video {
    background: url(../images/teaching/television.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.grading {
    background: url(../images/teaching/tick.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.lectures {
    background: url(../images/teaching/user_comment.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.web {
    background: url(../images/teaching/world.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.asides {
    background: url(../images/teaching/comment-15x15-white.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.exercises {
    background: url(../images/teaching/group.png) 2px 2px no-repeat;
}
#sidebar ul li ul li.writing {
    background: url(../images/teaching/page_white_edit.png) 2px 2px no-repeat;
}


/* For file download link box (mostly teaching blog) */
.post .downloadLinkBox {
    float: left;
    padding: 8px 10px 15px 10px;
    background-color: #BEDDC1;
    margin: 0em 1em 0.5em 0;
    /* rounded corners don't work in IE or Opera... Oh well. */
    border-radius: 9px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
}
.post .downloadLinkBox h4 {
    text-transform: lowercase;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    letter-spacing: 0.1em;
}
.post .downloadLinkBox ul {
    margin: 0 10px 0 0;
    list-style: none;
}
.post .downloadLinkBox ul li {
    background: url(../images/teaching/arrow_down.png) 2px 0.7em no-repeat;
    padding: 0.5em 0 0.2em 20px;
}
.post .downloadLinkBox ul li.pdf-file {
    background: url(../images/teaching/page_pdf_14.png) 2px 0.7em no-repeat;
    padding: 0.5em 0 0.2em 20px;
}
.post .downloadLinkBox ul li.doc-file {
    background: url(../images/teaching/page_white_word.png) 2px 0.7em no-repeat;
    padding: 0.5em 0 0.2em 20px;
}
.post .downloadLinkBox ul li.audio-file {
    background: url(../images/teaching/music.png) 2px 0.7em no-repeat;
    padding: 0.5em 0 0.2em 20px;
}
.post .downloadLinkBox ul li.zip-file {
    background: url(../images/teaching/page_white_zip.png) 2px 0.7em no-repeat;
    padding: 0.5em 0 0.2em 20px;
}
.post .downloadLinkBox a {
    text-transform: lowercase;
    font-weight: normal;
    color: #444;
    background-color: none;
}
