/* Global Page Structure                                                     */
/* ------------------------------------------------------------------------- */
body#homepage { min-width: 1010px; font-size: 16px; }

.pageWrapper { text-align: center; }
.pageWrapper:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

a:link, a:active, a:visited {
    color: #555555;
    text-decoration: none;
}

a:hover, a:active:hover, a:visited:hover {
    color: #555555;
    text-decoration: none;
}



/* Misc                                                                      */
/* ------------------------------------------------------------------------- */
img { border: none; outline: none; }
span.chevron {
    display: inline;
    margin-left: 3px;
    color: #f3815a;
    font-style: normal;
}



/* Utility - do NOT modify these, combine them to create the effect you need */
/* ------------------------------------------------------------------------- */
.clearAll { clear: both; }

.fLeft { float: left; }
.fRight { float: right; }

.aLeft { text-align: left; }
.aRight { text-align: right; }
.aCenter { text-align: center; }

.tBold { font-weight: bold; }
.tItalic { font-style: italic; }
.tNormal { font-weight: normal; }



/* Top                                                                       */
/* ------------------------------------------------------------------------- */
div.pageTop {
    width: 100%;
    padding: 2.5rem 0 1.5rem;
    background: #262626; /* Old browsers */
    background: linear-gradient(to bottom, #262626 0%,#383838 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#262626', endColorstr='#383838',GradientType=0 );
}


/*cover/toc*/
.home-toc { 
    width: 824px;
    margin: 0 auto;
}
.home-toc > div { 
    display: table-cell;
    vertical-align: middle;
}
.book-cover { width: 403px; }
.book-cover img { height: auto; max-width: 100%; }
.home-toc .space { width: 18px; }
.table-of-contents { 
    background: #fff; 
    font-family: 'PT Serif', Georgia, serif;
    font-size: 0.94rem;
    line-height: 1.195;
    text-align: left;
    width: 403px; 
}
.table-of-contents > div { display: table; margin: auto; }
.table-of-contents > div > * { display: table-row; }
.table-of-contents > div > * > * { display: table-cell; }

.table-of-contents a { color: #b00f00; }
.table-of-contents a:active, .table-of-contents a:hover { color: #ff002f; }

.table-of-contents a > span:nth-of-type(1) {
    color: #656565;
    padding: .4rem 0;
    text-align: right;
    white-space: nowrap;
    width: 1.75rem; 
}
.table-of-contents a:not(:first-child):not(:last-child):not(:nth-child(14)) > span:nth-of-type(1):after {
    color: #b9b9b9;
    content: '|';
    display: inline-block;
    margin: 0 .25rem;
}
.table-of-contents a > span:nth-of-type(2) { padding: .4rem 0; }
.arrow-after:after { content: '›'; margin-left: 0.25rem; }


/*open access*/
.start-reading {
    color: #cacaca;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3125rem;
    font-style: italic;
    font-weight: 300;
    margin: 1.25rem 0 0.75rem 0;
}
.start-reading > div { align-items: center; display: inline-flex; }
.start-reading .button {
    border: 1px solid #989898;
    border-radius: 5px;
    color: #fff;
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 300;
    margin-left: 1rem;
    padding: 0.375rem 1rem 0.3125rem;
    vertical-align: top;
}
.pageTop .button:hover { border: 1px solid #ffc57a; color: #ffc57a; }


/*links*/
.pageTop .links { 
    align-items: center; 
    display: inline-flex; 
    margin-bottom: 0.25rem;
}
.pageTop .links .hardcover { margin-right: 1rem; }
.pageTop .links .paperback { margin-right: 3rem; }
.pageTop .links .ebook {}
.pageTop .links a {
    align-items: center;
    color: #fff;
    display: flex;
    font-family: 'PT Serif', Georgia, serif;
    font-size: 0.9rem;
}
.pageTop .links a img { margin-right: 0.625rem; opacity: 0.65; }
.pageTop .links a:hover { color: #f3a045; }











/* Middle                                                                    */
/* ------------------------------------------------------------------------- */
div.pageMid {
    display: table;
    width: 100%;
    padding: 25px 0 10px;
}

table.gridMid {
    width: 980px;
    margin: 0 auto;
    text-align: left;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 18px;
}

table.gridMid td {
    vertical-align: top;
    font-family: 'Source Sans Pro', sans-serif;
    box-shadow: 0 0 5px #ddd;
    border: 1px solid #ddd;
    width: 20%;
    padding: 0 0 20px;
}

table.gridMid td a span.margin {
    display: block;
    margin: 17px 16px 0 16px;
}

table.gridMid td a span.h3 {
    display: block;
    font-size: 16px;
    color: #f57401;
}

table.gridMid td:hover a span.h3 {
    color: #c74400;
}

table.gridMid td a span.p {
    display: block;
    margin-top: 6px;
    color: #555555;
    font-size: 12px;
    line-height: 19px;
}
.linkGrid {
	font-family: 'Source Sans Pro', sans-serif;
	border-spacing: 27px;
}

.linkGrid h1 {
	font-family: 'Source Sans Pro', sans-serif;
	margin-bottom: 0;
	color: #555;
	font-size: 40px;
	font-weight: 300;
	margin-left: 27px;
	text-transform: uppercase;
}

.linkGrid h3 {
	font-family: 'Source Sans Pro', sans-serif;
	margin-bottom: 0;
	color: #555;
	font-size: 24px;
	font-weight: 300;
	margin-left: 27px;
}

.linkGrid a, .linkGrid a:active, .linkGrid a:visited {
	color: #bb4908;
	font-weight: 600;
	text-decoration: none;
}

.linkGrid a:hover {
	color: #960b1c;
}

.linkGrid div {
	padding-right:27px;
	display: table-row;
}

.linkGrid p {
	color: #555;
	min-width: 290px;
	max-width: 290px;
	font-size: 16px;
	font-weight: 400;
	display: table-cell;
	font-family: inherit;
}

.linkGrid.oneCol p {
	min-width: inherit;
	max-width: inherit;
	padding-bottom: 16px;
	display: block;
	font-family: inherit;
}



/* Bottom                                                                    */
/* ------------------------------------------------------------------------- */
div.pageBot {
    display: table;
    width: 100%;
}

table.gridBot {
    width: 1010px;
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

table.gridBot td {
    padding: 0 10px;
    vertical-align: top;
    font-size: 15px;
    color: #c0c0c0;
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 2;
}
table.gridBot td a {
    color: #f57401;
    font-weight: normal;
    margin: 0 5px;
}
table.gridBot td a:hover {
    color: #c74400;
}
div#footerWrap {
    background: none;
}
body#homepage div#footerWrap td {
    padding: 25px 2px 30px;
    text-align: center;
}
