
html, body {
	margin: 0;
	padding: 0;
}

img {
	display: block;
}

body {
	background-color: #000000;
	color: #ffffff;
	font-family: "DG Didot", "New Century Schoolbook",
		"Century Schoolbook", "Bookman Old Style", Bookman, Serif;
	-webkit-font-smoothing: subpixel-antialiased;

        hyphens: auto;
        -webkit-hyphens: auto;
        -ibooks-hyphens: auto;
        -moz-hyphens: auto;
        -epub-hyphens: auto;
        -adobe-hyphens: auto;
        adobe-hyphenate: auto;
}

h1,h2,h3,h4,h5,h6,#switcher {
        hyphens: manual;
        -webkit-hyphens: manual;
        -ibooks-hyphens: manual;
        -moz-hyphens: manual;
        -epub-hyphens: manual;
        -adobe-hyphens: manual;
        adobe-hyphenate: none;
}

h2 a {
	color: inherit;
}
h2 a:active {
	text-decoration: inherit;
	color: inherit;
}
h2 a:link {
	text-decoration: inherit;
	color: inherit;
}
h2 a:visited {
	text-decoration: inherit;
	color: inherit;
}
h2 a:hover {
	text-decoration: underline;
	color: inherit;
}

p {
	line-height: 1.3 !important;
}

.pane {
	padding-left: 40px;
	padding-right: 60px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-width: 0;
	margin: 0;
	min-width: 830px;
	background-color: rgb(30, 30, 30);
	background-color: rgba(100, 100, 100, 0.3);
}

.pane p {
	text-shadow: 3px 3px 1px #000, 2px 2px 1px #000;
}

.pane ul {
	padding-left: 1em;
}
.pane a {
	text-shadow: 3px 3px 1px #000, 2px 2px 1px #000;
	color: #c0c0ff;
}
.pane li {
	text-shadow: 3px 3px 1px #000, 2px 2px 1px #000;
	list-style: none;
	padding-bottom: 10px;
}

.pane li.normallist {
	list-style: square;
	margin-left: 1em;
}

.pane li li {
	padding-bottom: 0 !important;
}
.pane li a {
	text-shadow: 3px 3px 1px #000, 2px 2px 1px #000;
	color: white;
}


#series_pane, #author_pane, #books_pane, #drm_pane {
	min-width: 850px;
}

/* #series_pane { */
	/* display: block; */
/* } */

#author_pane {
	overflow: auto;
	/* display: none; */
}

#books_pane {
	/* display: none; */
	padding-left: 0;
	padding-right: 0;
	padding-top: 10px;
	padding-bottom: 10px;
}

/* #drm_pane { */
	/* display: none; */
/* } */


p {
	text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ibooks-hyphens: auto;
        -moz-hyphens: auto;
        -epub-hyphens: auto;
        -adobe-hyphens: auto;
        adobe-hyphenate: auto;
}

.toprule {
	margin-bottom: 36px;
}


.authorpic {
	margin-right: 10px;
}

.seriespic {
	float: left;
	margin-top: 25px;
	margin-left: 10px;
	margin-right: 20px;
	margin-bottom: 10px;
	border: 1px solid #c0c0c0;
}

h1 {
	font-size: 48pt;
	font-family: "Final Frontier", Didot, "DG Didot",
		"New Century Schoolbook", "Century Schoolbook",
		"Bookman Old Style", Bookman, Serif;
	margin-bottom: 0;
	margin-left: -4px;
	padding-bottom: 0;
}

h2 {
	font-size: 18pt;
	font-family: "Muesli", "Century Gothic",
		Sans-serif;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 5px;
}

#switcher {
	width: 840px;
	min-width: 840px;
	-webkit-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.tabbuttontext {
	font-family: "Muesli", "Century Gothic",
		Sans-serif;
	font-size: 1.15em;
	padding-top: 4px;
	margin-bottom: -2px;
	display: block;
}

.tabcontrol div {
	padding-left: 15px;
	-webkit-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.selected {
	/* border-left: 1px solid #202020; */
	border-left: 0;
	border-right: 1px solid #b0b0b0;
	border-top: 1px solid #b0b0b0;
	border-bottom: 3px solid rgb(30,30,30);
	border-bottom: 3px solid rgba(100, 100, 100, 0.0);
	background-color: rgb(30,30,30);
	background-color: rgba(100, 100, 100, 0.3);
	color: #ffffff;
}

.unselected {
	border-left: 1px solid #b0b0b0;
	border-right: 1px solid #b0b0b0;
	border-top: 1px solid #b0b0b0;
	border-bottom: 3px solid #d0d0d0;
	background-color: #d0d0d0;
	color: #000000;
}

.tabcontrol {
	padding-top: 3px;
	padding-bottom: 3px;
	display: inline-block;
	width: 24%;
	border-top-right-radius: 10px;
}

.booktable {
	margin-left: 0;
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	border-collapse: collapse;
	border-spacing: 0;
	min-width: 850px;
}

.nowrap {
	white-space: nowrap;
}

.quotebox {
	display: inline-block;
	white-space: initial;
	vertical-align: top;
	text-indent: 0;
	max-width: 220px;
}

.quoteattribution {
	padding-left: 2.5em;
	margin-top: .75em !important;
}

.copyrightfooter p {
	text-align: center;
	margin-bottom: 0;
	margin-top: 0;
}

.copyrightfooter a {
	color: white;
}

.BuyMyBook {
	color: #d0d030;
}

.booktable div {
	vertical-align: top;
}

.booktable tr {
	padding: 0;
	margin: 0;
	min-width: 850px;
	/* border-bottom: 1px solid #606060; */
}

.booktable tr + tr {
	/* border-top: 1px solid #282828; */
	border-top: 1px solid #606060;
}

.bookcover_td {
	text-align: center;
	background-color: rgb(30,30,30);
	background-color: rgba(100, 100, 100, 0.3);
	margin: 0;
	padding: 10px;
	margin-left: 0;
	margin-right: 0;
	min-height: 204px;
	min-width: 156px;
	width: 17%;
	/* border-bottom: 1px solid blue; */
	/* border: 1px solid blue; */
}

.coverimage {
	vertical-align: middle;
	border: 2px solid white;
}


.bookdesc_td {
	/* background-color: rgba(100, 100, 100, 0.3); */
	min-width: 400px;
	width: 51%;
	padding: 10px;
	margin-left: 0;
	margin-right: 0;
	min-height: 204px;
	border-left: 1px solid #606060;
	border-right: 1px solid #606060;
	/* border: 1px solid green; */
	/* border-bottom: 1px solid green; */
}
.bookdesc_inner {
	font-size: 14px;
}

.bookdesc_inner blockquote {
	color: #d0d0ff;
}

.bookdesc_inner p {
	padding-bottom: 0;
	margin-bottom: 0;
	padding-top: 0;
	margin-top: 0;
	text-indent: 2em;
}

.booklinks_td {
	vertical-align: middle;
	/* background-color: rgba(100, 100, 100, 0.3); */
	font-size: 16px;
	padding-top: 0;
	padding-bottom: 10px;
	padding-left: 3px;
	padding-right: 3px;
	margin-left: 0;
	margin-right: 0;
	min-height: 204px;
	min-width: 240px;
	/* border: 1px solid red; */
	/* border-bottom: 1px solid red; */
}

.bookformat + .bookformat {
	margin-top: .25em;
}

#loupeBaselinePos {
	z-index:200;
	visibility: hidden;
	opacity: 0.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

	/* IE 5-7 */
	filter: alpha(opacity=0);

	/* Netscape */
	-moz-opacity: 0;

	/* Safari 1.x */
	-khtml-opacity: 0;
}

#loupeBaselinePos, #loupe, #loupeWrapper {
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;

	left: 16px;
	right: 16px;
	top: 16px;
	bottom: 16px;
	position: fixed;
        margin-left: auto;
        margin-right: auto;
	z-index: 100;
}

#loupe {
	display: none;
	overflow: visible;
}

/* #loupe svg {
	border: 1px solid white;
} */

#loupeWrapper {
	z-index:300;
}

#loupe.zoomStyle
{
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;

        margin: 0;
}

#loupeCloseButton {
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;

	position: fixed;
	text-align: center;
	z-index: 200;
	width: 32px;
	height: 32px;

	opacity: 0.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

	/* IE 5-7 */
	filter: alpha(opacity=0);

	/* Netscape */
	-moz-opacity: 0;

	/* Safari 1.x */
	-khtml-opacity: 0;


	visibility: none;
}

#loupeCloseButton.bigStyle
{
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;

	opacity: 1.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";

	/* IE 5-7 */
	filter: alpha(opacity=100);

	/* Netscape */
	-moz-opacity: 1.0;

	/* Safari 1.x */
	-khtml-opacity: 1.0;
}

#loupeCloseButton.zoomStyle
{
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;

	opacity: 0.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

	/* IE 5-7 */
	filter: alpha(opacity=0);

	/* Netscape */
	-moz-opacity: 0;

	/* Safari 1.x */
	-khtml-opacity: 0;
}


#loupeImage {
	width: 100%;
	height: 100%;
	overflow: visible;
}

#background {
	background-color: #ffffff;
	position: absolute;
	left: 0;
	top: 0;
	min-height: 100%;
	min-width: 850px;
	height: 100%;
	width: 100%;
	z-index: -100;
}

#background img {
	position: fixed;
	min-height: 100%;
	min-width: 850px;
	height: 100%;
	width: 100%;
}

#shading {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #000000;
	opacity: 0.85;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";

	/* IE 5-7 */
	filter: alpha(opacity=85);

	/* Netscape */
	-moz-opacity: .85;

	/* Safari 1.x */
	-khtml-opacity: .85;



	z-index: -50;
}




@font-face {
  font-family: 'Final Frontier';
  font-style: normal;
  font-weight: normal;
  src: local('Final Frontier Regular'), url('fonts/FinalFrontier/Finalnew.ttf') format('truetype');
}

@font-face {
  font-family: 'DG Didot';
  font-style: normal;
  font-weight: normal;

  src: local('DG Didot Regular'), local('DGDidot-Regular'), url('fonts/DGDidot/DGDidot-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'DG Didot';
  font-style: normal;
  font-weight: bold;

  src: local('DG Didot Bold'), local('DGDidot-Bold'), url('fonts/DGDidot/DGDidot-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'DG Didot';
  font-style: italic;
  font-weight: normal;

  src: local('DG Didot Italic'), local('DGDidot-BoldItalic'), url('fonts/DGDidot/DGDidot-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'DG Didot';
  font-style: italic;
  font-weight: bold;

  src: local('DG Didot Bold Italic'), local('DGDidot-BoldItalic'), url('fonts/DGDidot/DGDidot-BoldItalic.ttf') format('truetype');
}



@font-face {
  font-family: 'Muesli';
  font-style: normal;
  font-weight: normal;

  src: local('Muesli'), url('fonts/Muesli/Muesli-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Muesli';
  font-style: normal;
  font-weight: bold;

  src: local('Muesli'), url('fonts/Muesli/Muesli-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'Muesli';
  font-style: italic;
  font-weight: normal;

  src: local('Muesli'), url('fonts/Muesli/Muesli-Italic.otf') format('opentype');
}

@font-face {
  font-family: 'Muesli';
  font-style: italic;
  font-weight: bold;

  src: local('Muesli'), url('fonts/Muesli/Muesli-BoldItalic.otf') format('opentype');
}



/* Mail form bits */
.fieldbox {
	margin-bottom: 20px;
}

.captchabox {
	margin-bottom: 20px;
}

.emailheading {
	font-weight: bold;
}

.emailtable {
	padding: 0;
	margin: 0;
}

.emailtable tr {
	padding: 0;
	margin: 0;
}

.emailtable tr td {
	padding: 0;
	margin: 0;
}

.returnlink {
	color: #ccccff;
}

.mastheadlink {
	color: #ffffff;
	text-decoration: none;
}

.HelpIcon {
	/* float: right;
	float: clear; */
	margin-left: 110px;
	display: inline-block;
	min-width: 18px;
	max-width: 18px;
	width: 18px;
	min-height: 18px;
	max-height: 18px;
	height: 18px;
	position: relative;
	top: 4px;

	background-image: url("help.png");
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center;
	background-size: 18px 18px;

}

#mainpage {
	margin: .5em;
	padding-left: 30px;
	padding-right: 30px;
	-webkit-filter: blur(0px) brightness(100%);
	-webkit-transition: all .5s;
	-moz-filter: blur(0px) brightness(100%);
	-moz-transition: all .5s;
	-o-filter: blur(0px) brightness(100%);
	-o-transition: all .5s;
	-ms-filter: blur(0px) brightness(100%);
	-ms-transition: all .5s;
	filter: blur(0px) brightness(100%);
	transition: all .5s;
}

#mainpage.blurred {
	-webkit-filter: blur(5px) brightness(42%);
	-webkit-transition: all .5s;
	-moz-filter: blur(5px) brightness(42%);
	-moz-transition: all .5s;
	-o-filter: blur(5px) brightness(42%);
	-o-transition: all .5s;
	-ms-filter: blur(5px) brightness(42%);
	-ms-transition: all .5s;
	filter: blur(5px) brightness(42%);
	transition: all .5s;
}

#buyDiv {
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-o-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;

	display: none;
	opacity: 0.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

	/* IE 5-7 */
	filter: alpha(opacity=0);

	/* Netscape */
	-moz-opacity: 0;

	/* Safari 1.x */
	-khtml-opacity: 0;



        text-align: center;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #000000;
        background-color: rgba(0, 0, 0, .6);
}

#buyDiv.visible {
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-o-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;

	opacity: 1.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";

	/* IE 5-7 */
	filter: alpha(opacity=100);

	/* Netscape */
	-moz-opacity: 1.0;

	/* Safari 1.x */
	-khtml-opacity: 1.0;
}

#buyBoxDiv
{
        vertical-align: middle;
        max-width: 640px; /* 640 pixels should be enough for anybody. */
        position: relative;
        height: 80%;
        height: 80vh;
        margin-left: auto;
        margin-right: auto;
        /* padding: 1em; */
        margin-top: 10%;
        margin-top: 10vh;
        margin-bottom: 10%;
        margin-bottom: 10vh;
        background-color: #000000;
        border: 1px solid white;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
        border-radius: 5px;
}

#buyInnerDiv
{
        position: absolute;
        top: 0;
        bottom: 2em;
        left: 0;
        right: 0;
        margin: 1em;
        overflow: auto;
}

#helpDiv {
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-o-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;

	display: none;
	opacity: 0.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

	/* IE 5-7 */
	filter: alpha(opacity=0);

	/* Netscape */
	-moz-opacity: 0;

	/* Safari 1.x */
	-khtml-opacity: 0;



        text-align: center;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #000000;
        background-color: rgba(0, 0, 0, .6);
}

#helpDiv.visible {
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-o-transition: opacity .5s;
	-ms-transition: opacity .5s;
	transition: opacity .5s;

	opacity: 1.0;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";

	/* IE 5-7 */
	filter: alpha(opacity=100);

	/* Netscape */
	-moz-opacity: 1.0;

	/* Safari 1.x */
	-khtml-opacity: 1.0;
}

#helpBoxDiv
{
        vertical-align: middle;
        max-width: 640px; /* 640 pixels should be enough for anybody. */
        position: relative;
        height: 80%;
        height: 80vh;
        margin-left: auto;
        margin-right: auto;
        /* padding: 1em; */
        margin-top: 10%;
        margin-top: 10vh;
        margin-bottom: 10%;
        margin-bottom: 10vh;
        background-color: #000000;
        border: 1px solid white;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
        border-radius: 5px;
}

#helpInnerDiv
{
        position: absolute;
        top: 0;
        bottom: 2em;
        left: 0;
        right: 0;
        margin: 1em;
        overflow: auto;
}

.authortable
{
	border: none;
	padding: 0;
	margin: 0;
	vertical-align: middle;
}

.buybooksclear {
	display: none;
}

.onlymobile {
	display: none;
}

@media only screen and (max-device-width : 1024px) and (orientation: portrait) {
	.seriespic {
		float: initial;
		margin-top: 1em;
		margin-left: 10px;
		margin-right: 20px;
		margin-bottom: 10px;
		border: 1px solid #c0c0c0;
	}

	#switcherwrapper {
		position: relative;
		text-align: center;
		background-color: rgb(30, 30, 30);
		background-color: rgba(100, 100, 100, 0.3);
		padding-top: 1em;
	}

	.toprule {
		margin-bottom: .5em;
	}

	#switcher {
		display: inline;
	}

	#series_pane, #author_pane, #books_pane, #drm_pane, .pane {
		min-width: initial;
	}

	.booktable tbody, .booktable thead {
		display: block;
	}
	.booktable, .booktable tr, .authortable, .authortable tr {
		min-width: initial;
		display: block;
		text-align: initial;
		background-color: initial;
		margin: initial;
		padding: 1em 0 1em 0;
		margin-left: initial;
		margin-right: initial;
		min-height: initial;
		min-width: initial;
		width: initial;
	}
	.bookcover_td, .authortable td {
		display: inline;
		text-align: initial;
		background-color: initial;
		margin: initial;
		padding: initial;
		margin-left: initial;
		margin-right: initial;
		min-height: initial;
		min-width: initial;
		width: initial;
	}
	.bookdesc_td {
		display: inline;
		background-color: initial;
		margin: initial;
		padding: initial;
		margin-left: initial;
		margin-right: initial;
		min-height: initial;
		min-width: initial;
		width: initial;
		border-left: initial;
		border-right: initial;
	}
	.booklinks_td {
		display: inline;
		background-color: initial;
		margin: initial;
		padding: initial;
		margin-left: initial;
		margin-right: initial;
		min-height: initial;
		min-width: initial;
		width: initial;
	}

	#background {
		min-width: initial;
		width: initial;
	}
	#background img {
		min-width: initial;
		width: initial;
	}
	.coverimage {
		float: left;
		margin: 16px;
	}
	.authorpic {
		float: left;
		margin: 16px;
	}

	.buybooksgroup {
		display: block;
		font-size: 200%;
		margin: 0;
		width: 15em;
		height: 6em;
		/* border: 0.5px solid #606060; */
		box-shadow: 
			1px 0 0 0 #606060, 
			0 1px 0 0 #606060, 
			1px 1px 0 0 #606060,
			1px 0 0 0 #606060 inset, 
			0 1px 0 0 #606060 inset;
		padding: 1em;

		transform-origin: left top;
		-webkit-transform-origin: left top;
		-moz-transform-origin: left top;
		-o-transform-origin: left top;
		-ms-transform-origin: left top;
		transform: scale(0.5);
		-webkit-transform: scale(0.5);
		-moz-transform: scale(0.5);
		-o-transform: scale(0.5);
		-ms-transform: scale(0.5);
	}
	.buybooksgroupwrapper {
		float: left;
		width: 17em;
		height: 8em; /* Must be changed with buybooksgroup */
		overflow:visible;
	}

	.buybooksclear {
		display: block;
		clear: both;
	}
	.HelpIcon {
		display: none;
	}
	.nomobile {
		display: none;
	}
	.onlymobile {
		display: inline;
	}
	#mainpage {
		padding-left: 1vw;
		padding-right: 1vw;
	}
	.pane {
		padding-left: 1vw;
		padding-right: 1vw;
		padding-top: .5vw;
		padding-bottom: 1vw;
	}

	.tabcontrol {
		padding-top: 11px;
		padding-bottom: 11px;
		padding-left: 15px !important;
		padding-right: 15px !important;
		display: inline-block;
		width: 105px;
		border-top-right-radius: initial;
		border: .5px solid #606060;
		margin-top: 8px;
		margin-bottom: 8px;
	}
	.tabcontrol div {
		padding: 0 !important;
		border: 0px;
	}

}

@media only screen and (max-device-width : 520px) and (orientation: portrait) {
	.coverimage {
		float: initial;
		margin-left: auto;
		margin-right: auto;
	}
	.authorpic {
		float: initial;
		margin-left: auto;
		margin-right: auto;
	}

	.seriespic {
		width: 90% !important;
		height: 38.8% !important;
	}
	.quoteattribution {
		padding-left: .5em;
	}
	.nosmallmobile {
		display: none;
	}

	h1 {
		font-size: 28pt;
	}

	h2 {
		font-size: 12pt;
	}
}

