@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@1,100;1,300;1,400;1,700;1,900&display=swap');



/* FORCE 1px SCROLLBAR ON SHORT PAGES */

html
	{
	height: 100%;
	margin-bottom: 1px;
	text-rendering: optimizeLegibility;
	}


/* SMOOTH CLIENT-SIDE IMAGE RESIZING FOR IE */

img
	{
	-ms-interpolation-mode:bicubic;
	}


/* LAYOUT AND POSITIONING */

#maincontent
	{
	margin-top: 80px;  /* Add a top margin to avoid content overlay */
	max-width: 800px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	}
	
#sidebar
	{
	max-width: 700px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	background: #E7E7E6;
	padding: 30px;
	}
	
#blurbcontainer
	{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-content: center;
	align-items: center;
	width: 770px;
	column-gap: 30px;
	margin-top: 20px;
	margin-bottom: 40px;
	background-image: url('images/tow-blurbbg.jpg');
	background-repeat: no-repeat;
	background-size: 750px 230px;
	}

#blurbauthorpic
	{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-content: center;
	width: 210px;
	}

#blurbtext
	{
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-content: center;
	width: 500px;
	}


/* LINK STYLES */

a:link, a:visited
	{
	font-weight: 700;
	color: #E54922;
	text-decoration: underline;
	}

a:hover
	{
	background-color: #E54922;
	color: #ffffff;
	}




/* FIXED NAVBAR */

.navbar 
	{
	overflow: hidden;
	background-color: #eee;
	position: fixed; /* Set the navbar to fixed position */
	top: 0; /* Position the navbar at the top of the page */
	width: 100%; /* Full width */
	font-family:'Alata',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #000;
	display: block;
	text-align: center;
	}

/* Links inside the navbar */
.navbar a 
	{
	display: inline-block;
	color: #E54922;
	text-align: center;
	text-decoration: none;
	padding: 14px 14px;
	}

/* Change background on mouse-over */
.navbar a:hover 
	{
	background: #E54922;
	color: #fff;
	}



 
/* BODY TEXT STYLES */


.mainbody, .sidebar
	{
	font-family:'Lato',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #393331;
	text-align:left;
	line-height: 180%;
	text-decoration: none;
	}

h1
	{
	font-family:'Alata',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-size: 40px;
	font-weight: 400;
	color: #E54922;
	margin-top: 50px;
	text-align: left;
	}

h2
	{
	font-family:'Alata',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-size: 34px;
	font-weight: 400;
	color: #E54922;
	margin-top: 70px;
	text-align: left;
	text-transform: uppercase;
	}

h3
	{
	font-family:'Alata',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-size: 25px;
	font-weight: 400;
	color: #777777;
	margin-top: 30px;
	text-align: left;
	text-transform: uppercase;
	}

.blurb
	{
	font-family:'Lato',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-style: italic;
	font-size: 25px;
	font-weight: 400;
	line-height: 125%;
	text-align: right;
	color: #2259ad;
	text-decoration: none;
	}

.blurber
	{
	font-family:'Lato',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-style: normal;
	font-size: 20px;
	font-weight: 700;
	line-height: 150%;
	text-align: right;
	color: #666666;
	text-decoration: none;
	}

.sidebartext
	{
	font-family:'Lato',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-style: italic;
	font-size: 20px;
	font-weight: 400;
	line-height: 180%;
	text-align: left;
	color: #666666;
	text-decoration: none;
	}
	
.indent
	{
	font-family:'Lato',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-size: 20px;
	font-weight: 400;
	text-align:left;
	line-height: 180%;
	text-decoration: none;
	margin-left: 20px;
	}

.indent2
	{
	font-family:'Lato',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-size: 20px;
	font-weight: 400;
	text-align:left;
	line-height: 180%;
	text-decoration: none;
	color: #666666;
	margin-left: 20px;
	margin-right: 30px;
	}

.footer
	{
	font-family:'Lato',"Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,sans-serif;
	font-style: italic;
	font-size: 14px;
	font-weight: 400;
	text-align: left;
	color: #666666;
	margin-top: 50px;
	}
	
/* IMG STYLE */

img
	{
	border:none;
	}

img.headerbanner
	{
	width: 800px;
	height: 500px;
	margin-top: -40px;
	}

img.sidebarbook
	{
	float: right;
	width: 350px;
	margin-left: 20px;
	}

img.authorpic
	{
	float: left;
	width: 800px;
	}

img.blurbpic
	{
	float: right;
	width: 210px;
	height: 230px;
	}

img.downloadimg
	{
	float: left;
	height: 250px;
	margin-right: 20px;
	}

hr
	{
	background-color: #888888;
	width: 250px;
	margin-top: 3em;
	}
	
	