
@import url(http://fonts.googleapis.com/css?family=Menu:300,400,700,400italic,700italic);
@import url(http://fonts.googleapis.com/css?family=Body:400,700,400italic,700italic);

body {
    margin: 0;
    background: white;
    padding: 48px;
    font-family: Body, serif;
    font-size: 18px;
}

#content {
    display: block;
    position: absolute;
    left: 352px;
    right: 48px;
    top: 48px;
    height: 100%;
}

#content h1 {
    margin-top: 0;
    font-style: normal;
    font-weight: normal;
}

#content h2 {
    font-style: normal;
    font-weight: normal;
}


#content h3 {
    font-style: normal;
    font-weight: normal;
}

#content h4 {
    font-style: normal;
    font-weight: normal;
}

.gallery .figure-and-caption {
    display: inline-block;
    position: relative;
    padding: 1em;
    width: 25%;
}

.figure {
    position: relative;
    width: 100%;
    height: 12em;    
}

.figure img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.caption {
    text-align: center;
}

.cclogo {
    display: block;
    float: right;
}

#sidebar {
    display: block;
    position: absolute;
    left: 48px;
    width: 248px;
    top: 48px;
    height: 100%;
    font-family: Menu, sans-serif;
}

#sidebar div {
    margin-bottom: 1em;    
}

#sidebar h2 {
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

#sidebar ul {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

#sidebar li {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    margin-bottom: 0.5em;
    font-size: 90%;
}

.availability p {
    margin-top: 0.25em;
    font-size: 80%;
}

#cover img {
    border: 0;
}

.currentPageLink {
    color: #999999;
}

a { 
    color: #003366; 
    text-decoration: underline; 
}
a:link { 
    color: #003366; 
    text-decoration: underline; 
}
a:visited { 
    color: #003366; 
    text-decoration: underline; 
}
a:active { 
    color: red;
}
a:hover	{ 
    color: red;
}

q {
    font-style: normal;
}

cite {
    white-space: nowrap;
    font-style: italic;
}

.toc li {
    list-style: none;
}

.toc {
    padding-left: 0;
}

.tocChapter {
    margin-bottom: 0.5em;
}

.tocPart {
    margin-top: 0.5em;
}

iframe.amazon {
    display: inline;
    border: 0;
    margin: 0;
    width: 120px;
    height: 240px;
}
