/* cmsms stylesheet: Elements modified: 01/19/21 17:37:42 */
/* NEWEST BOOK */

.newestbook {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    margin: 2% 0 0 0;
    padding: 15px 10px;
    text-align: right;
    height: 35%;
    z-index: 100;
	transition: all 0.25s;
}
.newestbook a {
    position: relative;
    display: block;
    height: 100%;
}
.newestbook img {    
max-width: 100%;
    max-height: 100%;
}
.newestbook:hover { bottom: 20px; }


/* Preloader */

#preloader {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:#fff; /* change if the mask should have another color then white */
	z-index: 10000; /* makes sure it stays on top */
}

#status {
	width:200px;
	height:200px;
	position:absolute;
	left:50%; 
	top:50%; 
	/* background-image:url(https://ezpz.thephbalance.com/uploads/layout/loading_spin.gif); 
	background-repeat:no-repeat;
	background-position:center;
	background-size: 100% auto; */
	margin:-100px 0 0 -100px; /* is width and height divided by two */
}
#status img { max-width: 100%; }

iframe.contactform { width: 100%; height: 700px; border: 0; padding: 0; margin: 0; }

/* LOGO AND CHARACTER SIZE */

.logo {
	height: 20%;
	display: block;
	width: 30%;
	text-align: left;
	position: fixed;
	z-index: 1000;
}
.logo img {
	max-width: 100%;	
	max-height: 100%;
	bottom: 0;
	top: 0;
}
.logo a img { border: none; }

.characters {
	height: 80%;
	display: block;
	width: 40%;
	position: fixed;
	bottom: 0;
}

@media only screen and (max-device-width: 768px){
	.characters { position: absolute; overflow-y: hidden !important; left: 0;}
}

@media only screen and (max-device-width: 480px){
	.characters { position: absolute; overflow-y: hidden !important; left: 0;}
}


/* CHARACTER POSITION */

.characters img {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	bottom: 3%;
	left: 25%;
	z-index: 50;
}
.characters img:first-child {
	z-index: 0;
	left: 0;
	bottom: 7%;
}

#Books .characters img {
	left: -20%;
}
#Books .characters img:first-child {
	left: 0;
}
#Reviews .characters img {
	left: -16%;
	bottom: 8%;
}
#Reviews .characters img:first-child {
	left: 8%;
	bottom: 15%;
}
#Visits .characters img {
	left: -20%;
	bottom: 8%;
}
#Visits .characters img:first-child {
	left: 10%;
	bottom: 15%;
}
#About .characters img {
	left: 15%;
	bottom: 1%;
}
#About .characters img:first-child {
	left: -10%;
	bottom: 5%;
}
#Media .characters img {
	bottom: 15%;
}
#Contact .characters img {
	left: 10%;
	bottom: 5%;
}
#Contact .characters img:first-child {
	left: -10%;
	bottom: 15%;
}



/* HOME CHARACTERS */


.all-characters {
	height: 90%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
	pointer-events: none;
}


@media all and (max-width: 1000px) and (min-width: 0px) {

.all-characters {
	height: 60%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media all and (max-height: 1024px) and (min-height: 801px) {

.all-characters {
	height: 70%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media all and (max-height: 800px) and (min-height: 769px) {

.all-characters {
	height: 90%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media all and (max-height: 768px) and (min-height: 602px) {

.all-characters {
	height: 70%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media all and (max-height: 601px) and (min-height: 0px) {

.all-characters {
	height: 90%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media all and (max-height: 768px) and (min-width: 1300px) {

.all-characters {
	height: 90%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media all and (max-height: 800px) and (min-width: 1200px) {

.all-characters {
	height: 90%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media all and (max-height: 1100px) and (min-width: 1800px) {

.all-characters {
	height: 90%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}

}

@media (orientation:portrait) {
	
.all-characters {
	height: 35%;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;	
	text-align: center;
}	
	
}


.all-characters img {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	bottom: 20px;
	z-index: 50;
}
.all-characters img#littlebighorn {
	/* right: 0;*/
	right: -580px;
	z-index: 0;
}
.all-characters img#blizzard {
	/* left: 0;*/
	left: -580px;
	z-index: 0;
	bottom: 50px;
}
.all-characters img#tank {
/*	right: 40%; */
	right: -580px;
}
.all-characters img#darby {
	/* left: 40%;*/
	left: -580px;
	bottom: 50px;
}
.all-characters img#sam {
	/* right: 20%;*/
	z-index: 70;
	right: -580px;
}
.all-characters img#evie {
	/* right: 7%;*/
	right: -580px;
	bottom: 75px;
}
.all-characters img#zak {
	/* left: 20%;*/
	left: -580px;
	z-index: 70;
	bottom: 50px;
}
.all-characters img#megan {
	/* left: 0%;*/
	left: -580px;
	z-index: 100;
}
.all-characters img#noah {
	/*left: 7%;*/
	left: -580px;
	z-index: 100;
}
.all-characters img#richie {
	/*left: 18%;*/
	left: -580px;
	z-index: 120;
}
.all-characters img#ella {
	/* right: 37;*/
	right: -580px;
	z-index: 100;
}

/* FOR INDIVIDUAL PAGE ANIMATION


.characters img {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	bottom: 20px;
	left: -580px;
	z-index: 50;
}
.characters img:first-child {
	z-index: 0;
	left: -1000px;
}

*/
/* cmsms stylesheet: Layout modified: 01/19/21 17:37:42 */
/* CSS Document */

html, body {
	margin: 0;
	padding: 0;
	text-align: center;
	height: 100%;
	overflow-x: hidden;
	overflow-y: visible !important;
}
#dd {
	position: fixed;
	z-index: 1000; 
	top: 0;
	right: 0;
	width: 30%;
	margin: 2% 2% 0 0;
}
.mainwrap { height: 100%; overflow-y: visible !important; }

.pagewrap {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	overflow-y: visible !important;
	display: none;
}
div.pagewrap#Home { display: block; }

.col-left {
	width: 33%;
	float: left;
	height: 100%;
	display: block;
}
.content-wrap {
	width: 60%;
	text-align: left;
	padding: 8% 5% 10% 5%;
	position: absolute;
	right: 0;
	overflow-y: visible !important;
}
.title {
	font-family: 'Ultra', 'Roboto Slab', Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 250%;
	line-height: 100%;
	background: url(https://ezpz.thephbalance.com/uploads/layout/title-flourish.png) left center no-repeat;
	padding: 20px 0 20px 100px;
	color: #FFF;
	text-transform: uppercase;
	text-shadow: 1px 1px 8px rgba(0, 0, 0, 1);
	margin: 0 0 0 -100px;
}
.content {
	background: url(https://ezpz.thephbalance.com/uploads/layout/bg-content.png) repeat;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	padding: 7% 7%;
}


.booksummary { position: relative; margin: -7% 0 -10% 0; }
a.show { position: relative; display: block; }

.booksummary img {
	max-width: 100%;
	margin: 0;
	position: relative;
	z-index: 50;
/*	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px; */
	box-sizing: border-box;  
	-moz-box-sizing: border-box; /* Firefox */
}
.booksummary img.NewestBook {
	float: right;
	width: 25%;
	height: auto;
	margin: 5% 0 0 5%;
}
.booksummary img.BooksForSale {
	float: left;
	width: 16.5%;
	margin: 5% -3.25% 0 0;
	transition: margin-top 0.5s;
	-webkit-transition: margin-top 0.5s; /* Safari */
}
.booksummary img.BooksForSale:hover {
	margin-top: 2%;
}
.booksummary a img.new {
	position: absolute;
	width: 15%;
	height: auto;
	top: 0;
	right: -7%;
	z-index: 200;
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow:    none;
	box-shadow:         none;
}
#bookdetailswrap {
	margin: -1% 0 0 0;
}
.bookwrap {
	padding: 0;
}
.bookimage img {
	max-width: 100%;
	width: 40%;
	height: auto;
	margin: 0 7% 5% 0;
}
.bookdetails { position: relative; }

.bookawards { position: absolute; top: 3%; left: 30%; z-index: 100; text-align: left; width: 40%; }
.bookawards img { 
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow:    none;
	box-shadow:         none;
	float: none;
	margin: 0;
}

.bookbuy img {
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* Firefox */
	float: left;
	width: 18%;
	margin: 1%;
}
.bookpreview img {
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow:    none;
	box-shadow:         none;
	float: none;
	margin: 0;
	padding: 0;
}

/* CLEARFIX */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}
