/* ALL IN ONE CSS SHEET -- TO BE DIVIDED INTO LAYOUT AND MARKUP CSS */

/*-General-----------------------------------------------*/

html, body {
	margin:0;
	padding:0;
	font-family:"San Francisco", "Segoe UI", "Roboto", Verdana, sans-serif;
	font-size:small;
}

.strong {
        font-weight:bold;
}

.small {
	font-size:x-small;
}

.invisible {
	display:none;
}

.alert {
	color:red;
}

.normal {
	font-style:normal;
}

.underline {
        text-decoration:underline;
}

blockquote {
	font-style:italic;
	border-left:4px solid #CCC;
	padding-left:1em;
}

a {
    text-decoration:none;
}

#main a {
    border-bottom: 1px #999 dotted;
}

#main a.nounderline {
    border-bottom: none;
}

#main a:hover {
    background-color:#F0F0E0;
    color:#441;
}

#main .share a, #main .post h1 a {
    border:none;
}

a:link {
	color:#663;
}

a:visited {
        color:#996;
}

a:hover {
        color:#440;
}

a:active {
	color:#441;
}

a img {
    border:none;
    margin:0px;
    padding:0px;
}

/*
a img:hover {
    transform: rotate(-8deg);
}
*/

/* Anchors/bookmarks shouldn't be highlighted on hover */
a[name], a[id], #main a[name], #main a[id], #main a[name]:hover, #main a[id]:hover {
	color:inherit;
	text-decoration:inherit;
	border:none;
	background-color:#fff;
}

p {
	margin-top:0.5em;
	line-height:1.85em;
}

.more {
	color:black;
	font-weight: bold;
}

.newsnav {
	text-align:center;
	font-size:250%;
}

/*-Banner-------*/

.darklinks a:link {
        color:#FFA500;
}

.darklinks a:visited {
        color:#FFA500;
}

.darklinks a:hover, .darklinks a:active {
	color:yellow;
}

#memberbar {
    position:absolute;
    top:10px;
    right:20px;
    font-size:120%;
}
#memberbar a:link, #memberbar a:visited {
}

#slogan {
    color: #B0B0A0;
    font-weight: bold;
	position:relative;
	top:-3em;
	text-align:center;
	height:0;
}

#memberbar a { display: inline; }

h2 {
        font-size:125%;
	font-weight:bold;
}

/* Leave space after each node */

#slot .node {
	margin:0px 5px 20px 5px;
	padding:0px;
	text-align:center;
	border:none;
}

#slot .minor {
	font-size:x-small;
	font-weight:bold;
	margin-top:0px;
	padding-top:0px;
	padding:0px;
}

#slot .info {
	border:1px dotted #F0F0E0;
	border-radius:1em;
	box-shadow: 2px 2px 12px #CCC;
	background-color:#F0F0E0;
	text-shadow: 1px 1px 1px white;
	overflow:hidden;
}

#slot .info h1 {
	font-weight:bold;
	font-size:medium;
	color:#ffffff;
	background-color:#B0B0A0;
	text-align:center;
	border: 2px outset #F0F0E0;
	border-radius:1em;
	margin:0px;
	text-shadow: 1px 1px 1px #808070;
	padding: 0 0.25em;
}

#slot .info p {
	margin:0.4em;
	padding:0px 5px 0px 5px;
	font-size:75%;
}

#slot .info p.strong {
	font-size:100%;
}

#slot .box {
	border:outset;
	border-width:thin;
}

#slot ul {
	margin: 0;
	padding:0;
	text-align:center;
}

/*-Main area (main)------*/

#intro {
	margin:0px 0px 10px 0px;
	padding:0.5em;
	background-color:#F9F9F0;
	border-radius: 0.2em;
	box-shadow: 1px 1px 3px #CCC;
}
#intro p {
	color:#110;
	line-height:1.4em;
	padding:0px 10px 0px 10px;
}

#intro h1 {
	margin:0px 0px 0px 0px;
	padding:0px 3px 0px 3px;
	font-size:x-large;
	font-variant:small-caps;
	text-align:left;
	text-shadow: 1px 1px 1px #999990;
}

#announcement {
	font-size:x-large;
	border:outset;
	border-width:thick;
	background-color:black;
	color:white;
	text-align:center;
	margin-bottom:0.8em;
}

#announcement a {
	font-weight:bold;
}

.quote p {
    text-align:center;
    font-size:90%;
    font-family:Arial, sans, Garamond,serif;
}

.quote span {
    margin: 0.5em 0;
    display: inline-block;
}

.quote a {
    font-family:Georgia,serif;
    font-weight:bold;
    font-size:1.8vw;
    text-decoration:none;
}

#main .node {
	margin-bottom:1.5em;
	padding-bottom:1.5em;
	border-bottom:dashed;
	border-color:#CCC;
	border-width:1px;
}

h1.blogheader {
    font-weight:bold;
    color:white;
    font-family:serif;
    background-color:#B0B0A0;
	padding: 0.75em;
}

#blogslot {
    float:right;
    width:160px;
}

#blogslot li {
    list-style-type:none;
    margin:0 0 6em 0;
}

#blogslot li img {
    border: 2px outset #B0B0A0;
}

#blogslot a {
    border:none;
}

.post {
    margin-bottom:3em;
}

.post img { max-width: 100%; }

.post p, .snippet, .post li {
    line-height:2em;
    font-size:1.4em;
}

.post li p, .post li li {	/* No doubling up */
    font-size:1em;
}

.post p, .post li {
    font-family: minion-pro-1, minion-pro-2, Palatino, Georgia, 'Times New Roman', serif;
}

#main .post h1 {
	font-size:2.6em;
    font-weight:normal;
    padding:0.35em;
    min-height:26px;
    border:6px solid #F0F0E0;
    border-radius:12px;
    text-shadow: 1px 1px 1px #CCC;
}
#main .post h1 a[name], #main .post h1 a[id], #main .post h1 a[name]:hover, #main .post h1 a[id]:hover {
    background-color:inherit;
}

#main h3 {
	color:#666;
	font-weight:normal;
	font-size:x-small;
	background-color: #EEE;
	margin: 1em 0px 1em 0px;
}

.datetime {
    float:right;
    line-height:1.1em;
	margin:7px 7px 7px 15px;
    text-align:center;
    color:white;
}

.datetime .day {
    background: #B0B0A0;
    border-top-right-radius:6px;
    border-top-left-radius:6px;
    padding: 0 0.6em 0 0.6em;
    font-size:80%;
    line-height:20px;
}
.datetime .month {
    background-color:#F0F0E0;
    font-family: Georgia, serif;
    font-size:120%;
    line-height:1.4em;
    font-variant:small-caps;
    color:#9090A0;
}
.datetime .year {
    background: #B0B0A0;
    border-bottom-right-radius:6px;
    border-bottom-left-radius:6px;
    padding: 0 0.6em 0 0.6em;
    font-size:80%;
    line-height:20px;
}

.post h4 {
	font-size:xx-small;
	font-style:italic;
	font-weight:normal;
}

.fiction {
	margin-bottom:3em;
}

.fiction p, .fiction li {
	line-height:2em;
	font-size:140%;
	font-family:serif;
}

.fiction p {
	margin:0px 1em 0px 1em;
	text-indent:2em;
}

.fiction hr {
	margin:2em 15em 2em 15em;
}

p.tag {
	text-align:right;
	font-size:x-small;
}

.ondisplay {
    text-align:center;
}

.ondisplay img {
	box-shadow: 2px 2px 7px #999;
}

img.intropic {
	float:left;
	margin-right:10px;
}

img.extropic {
	float:right;
	padding:0px 0px 3px 10px;
}

img.extropic2 {
    float:right;
    margin: 4px 0 4px 4px;
}

img.bspic {
    position:absolute;
    top:56px;
    right:14px;
}

.authornote {
	color:#444;
	background-color:#F8F8F8;
	margin:2em 0px 2em 0px;
	padding:0.5em 1em 0.5em 1em;
	border:dashed;
	border-width:1px;
	border-color:black;
}

#searchresults {
	color:#333;
	background-color:#F0F0E0;
	margin: 2em 0px 2em 0px;
        padding:0.5em 1em 0.5em 1em;
        border:dashed 1px #B0B0A0;
}

.searchterm {
	background-color:#D0D0C0;
	font-weight:bold;
}

input {
	background-color:#F0F0E0;
}

.button {
	background-color:#B0B0A0;
	color:white;
	font-weight:bold;
}

.button:hover {
	background-color:#D0D0C0;
	color:#000;
}

.importantlist li {
	list-style-type:none;
	text-align:center;
	padding:0.4em;
	font-weight:bold;
}

.booktour-list li, .special-list li {
	margin:1em 0;
	font-size:100%;
	line-height:100%;
	margin:2em 0;
}
.booktour-list li p { margin:0.5em 0; line-height:100%;}
.booktour-list li p:first-child, .special-list p:first-child { font-weight: bold; color: #886;}
.booktour-list sup { font-size:50%; }

.caption {
	font-size:xx-small;
	color:#666;
}

#main .basemenu {
	text-align:center;
	color:#BBB;
	font-size:x-large;
	font-weight:bold;
	margin:2.5em 0;
	line-height:3em;
}

.buystrip img {
    padding: 0.8em 2% 0.8em 2%;
    border: 1px transparent solid;
    border-radius:3px;
    vertical-align:bottom;
}

.buystrip img.buy-flag {
    max-height: 1.5em;
    max-width: 3em;
    margin: 0;
    padding: 0;
    position: relative;
    top: -0.7em;
}

.blogheader img {
    vertical-align:middle;
}

.comment {
    margin:0px 0px 20px 0px;
    padding:0px;
}

.commenthead {
    background-color:#E0E0D0;
    padding:0.4em;
    border: 1px solid #999;
}

.commenthead h4 {
    margin:0px;
    padding:0px;
    font-size:large;
}

.commenthead p {
    color:gray;
    font-size:x-small;
}

.commentbody {
    background-color:#F0F0E0;
    padding:1em;
    border: 2px dashed #FFE;
    border-top:none;
}

.maxcomment .commenthead {
    background-color:#BBA;
}

#postbox {
	margin-bottom:1em;
	padding:1em;
        background-color:#F0F0E0;
	border:thin dashed #CCB;
	}
/*-Base------*/

#base {
	text-align:center;
	color: #999;
	clear:both;
	border-top:1px dotted #CCC;
	min-height:33px;
	padding-top:1em;
	margin-top:1em;
}

#blosxompic {
	position:relative;
	float:right;
}

#base a:link {
	color: #666666;
}

#base a:visited {
	color:#999999;
}

#base a:hover {
	color:#030;
}

/*-Category Icons-------------------*/

.post p .catlink {
	float:right;
}

.caticon {
	float:right;
	margin-left:5px;
}

#main .share p {
    font-size: x-small;
    font-family:Verdana,sans;
}
.share {
    overflow:auto;
    width:100%;
    margin-bottom:1em;
}
.share img {
    margin-right: 0.3em;
}

.mmsub {
    vertical-align: middle;
    float:right;
}
.mbid {
    font-size:small;
    font-weight:normal;
    color:#777;
}

#mmfeeds a:link, #mmfeeds a:visited {
    border-bottom: 1px dotted #242;
}

#mmfeeds a:hover {
    background-color:#CFC;
}

#related {
    border: 1px solid #ccc;
    margin-right:40%;
}

#related h3 {
    padding-left: 2em;
    margin-top:0;
}
.tweet {
	position:relative;
	padding:6px 18px 2px 18px;
	margin:20px 0 0.5em;
	color:#333;
	background:#F0F0E0;
	border-radius:10px;
}
.tweet p {
    font-size:18px;
    line-height:1.25em;
    font-family: Arial;
    padding-left:0;
    text-shadow: 1px 1px 1px white;
}
.tweet:before {
	display:block;
	position:absolute;
	top:-60px;
	left:0;
	width:155px;
	height:36px;
}
.tweet:after {
	content:"";
	display:block;
	position:absolute;
	top:-30px;
	left:50px;
	width:0;
	height:0;
	border:15px solid transparent;
	border-bottom-color:#F0F0E0;
}
.datetimetweet { color:#999; font-size:x-small;z-index:10;text-align:right;}
img.tweetlogo { float:left; padding-right: 12px; padding-bottom:6px; }
.tspacer { margin-bottom:30px; }
.right { float: right; }
.shadow {
    box-shadow: 2px 2px 18px #000;
}

.smallcover { box-shadow: 1px 1px 4px #000;}

.post .q {
    border-radius: 4px;
    background-color: #F0F0E0;
    box-shadow: 2px 2px 4px #AAA;
    padding: 0px 2em 1em;
    margin-bottom: 1em;
}

.post .q p {
    font-family:'Gloria Hallelujah',serif;
}

.post p.qname {
    font-weight:bold;
    font-size:1em;
}

.askmaxpost h1 {
    display:none;
}
.askmaxpost a.catlink {
    display:none;
}
.error { color:#FF3333; border: solid 2px #CC6666; border-radius:12px; padding:1em; margin:0.5em; margin-right:25%; }


/*
 *
 *
 *
 * New stuff
 *
 *
 *
 */

.info, .bookmenu, #slogan, .oi-item-desc, #memberbar {
	font-family:Gloria Hallelujah;
}

img, video {
	max-width:100%;
}

#site-container {
	display:grid;
	grid-template-columns: minmax(15vw, 25.5vh) minmax(15vw, 25.5vh) minmax(min-content, 900px) 1fr;
	grid-template-rows: auto 1fr auto auto auto;
    grid-template-areas:
    'hero site-header site-header site-header'
    'notables main main rightbar'
    'slot main main rightbar'
    'footer footer footer footer';
}

#leaning-max {
	grid-area:hero;
	background-image:url("/images/leaning-max-door-medium.jpg");
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 56% 22%;

	filter:saturate(0);
	transition: filter 0.5s ease-out;
	max-height:100vh;
}

#leaning-max:hover {
	filter:saturate(1);
}

#site-container.index-page {
    grid-template-areas:
    'hero hero site-header site-header'
    'notables notables site-header site-header'
    'interlude interlude interlude interlude'
    'slot main main rightbar'
    'footer footer footer footer';
}

#site-container.index-page #leaning-max {
    height:60vh;
	filter:none;
}

main {
	grid-area: main;
	/*margin-right:2%;*/
	max-width:1000px;
	padding:1em;
}

.title, .oi-item-title, .homebar, .latest-blogs-header, .latest-blogs-footer, .newsnav, #main .post h1 {
	font-family: 'Fredericka the Great';
}

a.title {
	color:#000;
}

.title {
	display:block;
	font-size:800%;
	margin: 0.7em 0 0.2em 0.2em;
	text-shadow: 1px 1px 1px #CCC;
}

.title span {
	display:block;
}

.synopsis {
	font-size: 120%;
    padding: 1em 4vw;
    color: #444;
    font-family: Garamond, serif;
}

#site-header .featurequote { margin:4em 0; }

#site-header .social-media-links {
	text-align:center;
	margin:3em 0;
}

.social-media-links a {
    font-size: 300%;
    color: white;
    border-radius: 1em;
    display: inline-flex;
    padding: .5em;
    background-color: #CCC;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 1px #999 inset;
    margin: 0.2em;
	transition:background-color 0.25s ease-out, box-shadow 1.5s ease-out;
}

.social-media-links svg {
    filter: drop-shadow(1px 1px 0px #999);
}

.social-media-links a#social-media-twitter:hover {
    background-color: #1da1f2;
	box-shadow: 1px 1px 4px #1da1f2;
}

.social-media-links a#social-media-facebook:hover {
	background-color:#3b5998;
	box-shadow: 1px 1px 4px #3b5998;
}

.social-media-links a:hover svg {
	filter:none;
}

.latest-blogs {
	text-align:center;
}

.latest-blogs-header, .latest-blogs-footer {
    margin: 1em;
    display: inline-block;
    font-size: 200%;
    margin: 0;
}

a.snippet {
	display:block;
	border-radius: 3px;
    background-color: #F6F6EB;
    box-shadow: 1px 1px 2px #CCC;
    padding: 0.7em;
    margin: 2% 14%;
    line-height: 1.6em;
    color: #444;
	text-align:left;
	transition:box-shadow 0.15s ease-out;
	border:1px solid #CCC;
}
a.snippet-blog {
	font-family:130%;
	font-family: 'Fredericka the Great', serif;
	text-shadow:0 0 1px #666;
	color:#222;
}

a.snippet-ask-max {
	font-family:'Gloria Hallelujah', sans;
	font-size:120%;
}

.snippet .q {
	display:inline-block;
}

a.snippet:hover {
	color:#000;
	box-shadow:2px 2px 4px #999;
}


#slot {
	grid-area: slot;
}

#rightbar {
	grid-area: rightbar;
}

footer {
	grid-area: footer;
	text-align:center;
	border-top:1px solid #EEE;
}

#notables {
	grid-area: notables;
	padding:1em;
	text-align:center;
}

#site-header {
	grid-area: site-header;

	position:relative;

	padding:0 0.5em;

	/*
	background: linear-gradient(90.15deg, #E8EAF0, #FFFFFF00 0.5vh), linear-gradient(90.5deg, #93949766, transparent 2%), linear-gradient(98deg, #C8CAD0, transparent 22%), linear-gradient(263deg, #c8cacf44, transparent 8%);
	background: linear-gradient(98deg, #C8CAD0, transparent 16%), linear-gradient(263deg, #c8cacf44, transparent 8%);
	*/

	background: linear-gradient(90.15deg, #222429, #FFFFFF00 0.5vh), linear-gradient(90.5deg, #00000066, transparent 1%), linear-gradient(98deg, #C8CAD0, transparent 27%), linear-gradient(263deg, #c8cacf44, transparent 18%);

	text-align:center;
}

.booklike {
	display:inline-block;
	position:relative;
	line-height:0;
	border-radius: 5px 2px 2px 5px;
	overflow: hidden;
	box-shadow: 2px 6px 12px rgba(0,0,0,0.6);
}

.booklike:after {
	content: '';
	background-image: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.0666667) 4%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 90%, rgba(0,0,0,0.0666667) 96%, rgba(0,0,0,0.12) 100%);
	border-radius: 3px;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: 20;
}

.audiolike { border-radius: 1em; }

.bookbanner {
	position: absolute;
	z-index: 21;
    line-height: initial;
	top: 1em;
    left: -2em;
    text-align: center;
	background: #01abd9;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(-45deg);
    padding: 0 0.5em;
}

.title-image {
	display:flex;
	align-items:center;
	justify-content:center;
}

.splash-leader {
	margin-top:3em;
	display:inline-flex;
	flex-direction: column;
	align-items: center;
}

.splash-leader-image, .splash-book img {
    max-width: 100%;
    box-shadow: 2px 2px 12px #999;
	cursor:pointer;
}

.splash-leader-static {
	display:inline-block;
}

.splash-leader-video {
	display:block;
	margin:0 5% 2% 5%;
	box-shadow: 2px 6px 12px rgba(0,0,0,0.8);
}

.splash-leader-video video {
	max-width:100%;
}

.splash-book img, .oi-item, .buystrip a img {
	transition: filter 0.4s ease-out, box-shadow 0.15s ease-out;
}

.splash-book:hover img, .oi-item:hover, .buystrip a:hover img {
    filter: saturate(1.1);
	box-shadow: 1px 1px 11px #999;
}

.onsale-banner {
	background: #eb0622;
    margin-top:1em;
	padding: 1.8em 2em 0em 2em;
    border-radius: 5px;
	opacity:0.9;
}

.onsale-banner-text {
    background: #eb0623;
    margin-top: 1em;
    padding: 0.5em;
    border-radius: 5px;
    opacity: 0.9;
    color: white;
    font-weight: 400;
    font-family: Impact;
    font-size: 250%;
    text-shadow: 0 0 0em white;
    font-family: 'Fredericka the Great';
}

.splash-book {
	position: relative;
	margin: 1em;
}

.splash-book:hover img {
	filter: saturate(2);
}

.splash-bookshelf, .splash-bookshelf-1, .splash-bookshelf-2 {
	display:inline-flex;
	flex-wrap:wrap;
	align-items:flex-start;
	flex-grow:1;
}

#notables .splash-bookshelf, #notables .splash-bookshelf-1, #notables .splash-bookshelf-2 {
	justify-content: space-around;
}

.splash-book img {
    max-width: 13vw;
    box-shadow: 2px 2px 7px #999;
}

#notables .splash-book img {
	max-width:9vw;
}

.mini-bookshelf {
    min-height: 120px;
}

.mini-bookshelf .splash-book img {
	max-width:10vw;
}

.mini-bookshelf .splash-book .bookmenu {
	display:none;
}

.buystrip {
	display:flex;
	width:100%;
	justify-content:space-around;
	align-items:center;
}

.buystrip a {
	max-width:90px;
}

.splash-book {
	display: flex;
    align-items: center;
}

.splash-bookshelf-1:not(.mini-bookshelf) .splash-book {
	flex: 1;
	grid-gap: 1em 0;
}

.bookmenu {
    font-size: 95%;
	color:#AAA;
	cursor: pointer;
	text-align:left;
	margin:0 1em;
}

.bookmenu a {
	color:#999;
	display:block;
	padding: 0.5em 0 0.5em 4px;
	border-left:1px solid transparent;
	transition: color ease-out 0.3s, border-color 0.3s ease-out;
}

a.bookmenu-selected {
	font-weight:bold;
	color:#222;
}

.splash-book:hover .bookmenu a {
	color:#666;
}

.splash-book .bookmenu a:hover {
	color:#000;
	border-color: #999;
}

#notables .bookmenu {
	display:none;
}

.bookcovers {
	margin: 0px;
    padding: 0px;
    text-align: center;
	grid-area: slot;
}
.bookcovers li {
	list-style-type: none;
}
.bookcovers img {
	box-shadow: 1px 1px 0.2em #666, 0 1px 0.8em #DDD;
    margin-bottom:3em;
	transition: box-shadow 0.2s ease-out;
}
.bookcovers img:hover {
    box-shadow: 1px 1px 0.2em #222, 0 1px 0.8em #999;
	filter: saturate(1.5);
}

.node {
    padding: 0.2em;
    text-align: center;
    border: none;
	position:relative;
	min-height:3em;
}

.info {
	font-size: 130%;
    line-height: 1.7em;
}

.oi-items {
	display:grid;
	margin:0 auto;
	grid-gap:1em;
	margin:1em 0;
}

.oi-item {
	text-align:center;
	border-radius: 2px;
    padding: 1em;
    box-shadow: 1px 1px 3px #CCC;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.oi-item-title {
	font-size:200%;
}

.oi-item-selected .oi-item-title {
	color:black;
	text-shadow: 1px 1px 1px #CCC;
}

.oi-item-icon img {
	width:40%;
}

.oi-item-desc {
	color:#666;
}

.featurebook {
	max-width:400px;
	margin:auto;
}

.featurebook img {
	box-shadow: 1px 1px 1em #CCC, 1px 1px 0.25em #444;
}

.splash-leader-video, .onsale-banner {
}

a.homebar {
    text-align: center;
    font-size: 250%;
    display: block;
	color:#000;
}
a.homebar:hover {
    text-decoration: underline;
}

.submenu.oi-items {
	margin: 0 2%;
}

.oi-items, .submenu.oi-items {
	grid-template-columns: 1fr;
}

#site-container.index-page .oi-items, #site-header .oi-items {
	grid-template-columns: 1fr 1fr;
}

#site-container.index-page .submenu-oi-items, #site-header .submenu-oi-items {
	grid-template-columns:repeat(4, 1fr);
}

.submenu .oi-item-title {
	font-size:350%;
}

.submenu .oi-item-desc {
	font-size:1.2em;
	line-height:1em;
	margin:1em 0;
}

.quote, .praiselist {
    font-variant:small-caps;
    font-family: Arial Narrow,Arial,sans;
}

.quote a {
	font-weight: normal;
    font-size: 180%;
    border-bottom:none;
    text-shadow: 0 0 2px #CCC;
}
.praiselist {
	font-family:Garamond,serif;
	color:#331;
    margin: 8px 6%;
    text-shadow: 0 0 2px #CCC;
    letter-spacing:2.2px;
	font-size:120%;
	line-height:150%;
}

#slot .bookcovers {
	margin-top:2em;
}

/* Buy pages */
.section-buy .node p img, .section-buy .node h2 img, .section-buy .shortcuts img {
    margin:0px 0.5em 0px 0.5em;
    box-shadow: 0 0 2px #444;
}

.section-buy .node h2 {
    display:flex;
    align-items:center;
    justify-content:center;
}

.shortcuts {
	text-align:center;
	margin:2em 0;
}

.reviews p a:hover {
	text-decoration:underline;
}

.reviews .review, .reviews h2 {
	font-size:160%;
	font-family:Garamond, "Times New Roman", serif;
}

.reviews h2 { font-size:250%; font-weight:normal;}
.reviews h2 img {
    vertical-align: middle;
}

.reviews p {
	margin:0px;
	text-align:center;
}

.reviews p.ref  {
	margin-bottom:1em;
	font-style:italic;
}

.reviews p.ref a:link {
	color:black;
}

.reviews p.special {
	margin-bottom:1em;
	font-weight:bold;
	font-size:large;
}

#goodreads {
    font-size: 18px;
    font-family: Verdana,sans;
    font-weight: bold;
}
#goodreads img { box-shadow: -1px 1px 6px #000;}

.bio {
	font-family:Garamond, "Times New Roman", serif;
	font-size: 150%;
    text-shadow: -1px -1px 0 #F0F0F0;
	color:#222;
	margin:5%;
}

.bio p {
	line-height:1.5em;
}

.bio .title {
	display:inline;
	font-size:400%;
	line-height:100%;
}

.splash-promotion {
	position: absolute;
	top: 3em;
	left: 14vw;
	z-index:1000;
}

.splash-promotion img {
	max-width:20vw;
	transform: rotate(13deg);
	box-shadow: 0 0 1em rgba(0,0,0,0.5);
}

.index-page .splash-promotion {
	left: 24vw;
}

.index-page .splash-promotion img {
	max-width:30vw;
}

.twocolumn {
	display: grid;
	grid-template-columns: 2fr 1fr;
}

/*
 * Tall but not especially small screens, e.g. iPad in portrait mode
 */
@media only screen and (max-aspect-ratio: 6/5) {
	#site-container {
		grid-template-areas:
		'hero site-header site-header site-header'
		'slot main main rightbar'
		'notables notables notables notables'
		'footer footer footer footer';
		grid-template-columns: 13vh 20vh 1fr;
	}

	.title {
		font-size:12vw;
	}
	#leaning-max {
		/* background-position: right -90px top;*/
		/* border: 2px solid blue; */
	}

	.oi-items, .submenu.oi-items {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

/*
 * Small + tall screens, e.g. phone
 */
@media only screen and (max-aspect-ratio: 6/5) and (max-width: 700px) {

	#site-container {
		grid-template-areas:
		'hero site-header site-header site-header'
		'main main main rightbar'
		'notables notables notables notables'
		'slot slot slot slot'
		'footer footer footer footer';
	}

	#site-container.index-page {
		grid-template-areas:
		'hero site-header'
		'notables site-header'
		'interlude interlude'
		'main main'
		'slot rightbar'
		'footer footer';
		grid-template-columns:180px 1fr;
	}

	#leaning-max {
		/* border:2px solid green; */	/* TODO */
	}

	#site-container.index-page #leaning-max {
		height:40vh;
	}

	.title {
		margin:1.5em 0 0.5em 0;
	}

	#notables .splash-book img, .splash-book img {
		max-width: 11em;
	}

	#notables .splash-book, .splash-book {
		margin:1em auto;
	}

	.buystrip {
		flex-wrap:wrap;
	}

	.buystrip img {
		max-width:18vw;
	}

	.oi-item-title {
		font-size:130%;
	}
	.submenu .oi-item-title {
		font-size:200%;
	}

	a.homebar {
		font-size:180%;
	}

	#slot { display:none;}
	.latest-blogs { display:none; }
	#blosxompic	 { display:none; }

	#site-container.index-page .oi-items, #site-container.index-page .submenu-oi-items {
		grid-template-columns: 1fr;
	}
}

/* As above but definitely screens, not other weird devices */
@media only screen and (max-width:500px) {

	.jut img {
		transform: scale(1.1);
		position: relative;
		right:6%;
		margin:6% 0;
	}

	.remark, .splash-leader-static {
		transform: scale(1.8);
		position: relative;
		right: 40%;
		margin:2em 0;
	}

	.splash-leader-static {
		transform: scale(1.25);
		right:20%;
	}
}

/*
 * Small + short + wide screens, e.g. phone in portrait mode
 */
@media only screen and (min-aspect-ratio: 6/5) and (max-width: 1000px) {
	#site-container {
		grid-template-columns: minmax(22vw, 33.5vh) minmax(15vw, 25.5vh) minmax(min-content, 900px) 1fr;
	}
	.title { font-size:500%;}
	.title span { display:inline-block; margin-right:0.5em;}
	#leaning-max {
		/* border:2px solid yellow;*/
	}
	#site-container.index-page .oi-items, #site-header .oi-items, .submenu.oi-items {
		grid-template-columns: 1fr;
	}
}

#sidebar-old { display:none; }
