/*----------  Homepage  (cover) ----------*/
.video-cover,
.tome-cover-video,
.tome-cover-external-media,
.tome-cover-external-media iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	object-fit: cover;
}
.tome-cover-wrap {
	position: relative;
	overflow: hidden;
}
.tome-cover-wrap.full {
	top: 0;
	height: 100vh;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}
.tome-cover-wrap.covercenter {
	justify-content: center;
}
.empty-cover {
	font-size: 2.3125em;
	font-style: italic;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
}
.embed-cover iframe {
	position: fixed;
	width: 100%;
	height: 100%;
	bottom: 0;
}
/* Cover Styles */

#tome-cover {
	position: relative;
	width: 400px;
	max-width: 100%;
	padding: 25px;
	padding-bottom: 90px;
}
.home.logged-in {
	overflow: hidden;
}
.home.logged-in #tome-cover.covertop {
	top: 41px;
}
#tome-cover h1 {
	font-size: 1.5em;
	margin-bottom: 8px;
	margin-top: 0;
}
#tome-cover p {
	font-size: 1em;
	font-style: italic;
	margin-bottom: 10px;
}
#tome-cover hr {
	width: 200px;
	margin: 20px auto;
}
#tome-cover .book-author {
	font-size: 1em;
	color: #adadad;
	font-style: italic;
	margin: 0;
}
#tome-cover.covertop,
#tome-cover.coverbottom {
	display: table;
	padding-bottom: 22px;
}
#tome-cover.covertop .left-part,
#tome-cover.coverbottom .left-part {
	max-width: 50%;
	padding-right: 30px;
	float: left;
	height: 100%;
	overflow: auto;
	position: relative;
}
#tome-cover.covertop h1,
#tome-cover.coverbottom h1 {
	color: #ffffff;
	text-align: left;
}
#tome-cover.covertop hr,
#tome-cover.coverbottom hr {
	float: left;
	width: 0;
}
#tome-cover.covertop .book-description,
#tome-cover.coverbottom .book-description {
	font-size: 1em;
	color: #adadad;
	font-style: italic;
	margin-bottom: 10px;
	padding-left: 30px;
	padding-right: 100px;
	float: left;
	width: 50%;
	text-align: left;
}
#tome-cover.covertop h2,
#tome-cover.coverbottom h2 {
	float: left;
	clear: both;
}
#tome-cover.covertop,
#tome-cover.coverbottom,
#tome-cover.coverleft,
#tome-cover.coverright {
	position: absolute;
}
#tome-cover.coverright,
#tome-cover.coverleft {
	top: 0;
	bottom: 0;
}
#tome-cover.coverright,
#tome-cover.coverleft,
#tome-cover.covertop {
	padding-top: 22px;
}
#tome-cover.coverright {
	text-align: right;
	right: 0;
}
#tome-cover.coverleft {
	text-align: left;
	left: 0;
}
#tome-cover.covercenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
#tome-cover.covertop {
	top: 45px;
}
#tome-cover.coverbottom {
	bottom: 32px;
}
#tome-cover.covertop,
#tome-cover.coverbottom {
	margin: 0;
	width: 100%;
	max-width: 100%;
}
#tome-cover.covercenter,
#tome-cover.covertop,
#tome-cover.coverbottom {
	text-align: center;
}
@media screen and (max-width: 600px) {
	#tome-cover,
	#tome-cover.coverleft,
	#tome-cover.coverright,
	#tome-cover.covercenter,
	#tome-cover.covertop,
	#tome-cover.coverbottom {
		width: 90%;
		margin-top: 25%;
		margin-left: 5%;
	}
}
#tome-cover h1.book-title {
	line-height: 42px;
	margin-bottom: 0.324em;
}
#tome-cover h2.book-description {
	font-size: 2em;
	line-height: 40px;
}
#tome-cover .cta {
	margin-top: 10px;
}
#tome-cover .cta a.button {
	background-color: #cf2037;
	color: white;
	font-weight: 300;
	font-size: 24px;
	padding: 0.75em 1.5em;
	-webkit-transition: background-color, 250ms;
	-moz-transition: background-color, 250ms;
	-o-transition: background-color, 250ms;
	transition: background-color, 250ms;
}
#tome-cover .cta a.button:hover {
	background-color: #ef001f;
}
#tome-cover .cta a.button:active {
	background-color: #ef001f;
}
body.highcontrast #tome-cover h1,
body.highcontrast #tome-cover h2 {
	color: #232323;
	text-shadow: 0px 0px 1px #aaa;
}

