html {
	height: 100%;
	min-height: 100%;
	padding: 0;
}

body {
	background-image: url("images/v2_bg.png");
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: 'Raleway', sans-serif;
}

#table {
	background-image: url("images/v2_rin.png");
	background-position: 0 40px;
	background-repeat: no-repeat;
	background-size: 1337px 1621px;
	width: 1346px;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	border-spacing: 0;
}


#space {
	width: 535px;
	vertical-align: top;
}

#title {
	height: 350px;
	text-align: center;
	padding-top: 40px;
	z-index: 2;
}

#content {
	background-color: rgba(0,0,0,0.8);
	color: #b5b5b5;
	vertical-align: top;
	padding: 20px;
	font: 16px/21px 'Raleway', sans-serif;
	z-index: 3;
}


#footer {
	background-image: url("images/v2_footer.png");
	background-color: rgba(0,0,0,0.8);
	height: 100px;
}
#footer_text {
	position: relative;
	top: 36px;
	margin-left: 10px;
	margin-right: 10px;
	text-align: center;
	font-weight: 400;
	font-size: 14px;
}

#nav {
	position: relative;
	top: 60px;
	right: 10px;
	font: normal 500 40px/40px Georgia, serif;
	font-variant: small-caps;
	text-align: right;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

i {
	color: #147083;
	font-variant: small-caps;
	font-weight: 500;
	font-size: 18px;
}

hr {
	border: 0;
	background-image: url("images/v2_hr.png");
	width: 402px;
	height: 60px;
	margin-top: 25px;
	margin-bottom: 25px;
}

.firstcharacter {  
	font-size: 30px; 
	padding-top: 0;
}

h1 {
	color: #ad234a;
	font: normal bold 30px Georgia, serif;
	font-variant: small-caps;
	margin-top: 0;
	margin-bottom: -20px;
}

h2 {
	color: #177c91;
	font: italic normal 20px Georgia, serif;
	font-variant: small-caps;
}

img {
	margin: 1px 10px 1px 10px;
}

/* Links */
a:link {
	color: #cd2957;
	text-decoration: none;

}
a:visited {
	color: #cd2957;
	text-decoration: none;

}
a:hover {
	color: #ee517e;
	text-decoration: none;

}
a:active {
	color: #3a5690;
	text-decoration: none;

}

/*This is for centered divs.*/
.centered {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	text-indent: 0;
}

/* For individual TABLE OF CONTENTS */
#toc {
	width: 475px;
	margin-left: auto;
	margin-right: auto;
	font-size: 16px;
}

#toc_tdl {
	background-color: #460014;
	width: 150px;
	padding-left: 5px;
}

#toc_tdr {
	background-color: #353535;
		padding-left: 5px;
}

/*This is the table for the dramata personae section.*/
table#main_cast {
	width: 750px;
	margin-left: auto;
	margin-right: auto;
}
#main_cast td {
	width: 125px;
	vertical-align: top;
	text-align: center;
}	

table.links {
	width: 100%;
	vertical-align: top;
}
td.links {
	width: 50%;
	vertical-align: top;
}



@media only screen and (max-width: 1280px) {
	#table {
	background-image: url("images/v2_rin.png");
	background-position: -20px 40px;
	background-repeat: no-repeat;
	background-size: 1337px 1621px;
	width: 1200px;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	border-spacing: 0;
	}
	
	#space {
		width: 500px;
		vertical-align: top;
	}

	#title {
		height: 350px;
		text-align: center;
		padding-top: 40px;
		z-index: 2;
	}

	#content {
		background-color: rgba(0,0,0,0.8);
		color: #b5b5b5;
		vertical-align: top;
		padding: 20px;
		font: 16px/21px 'Raleway', sans-serif;
		z-index: 3;
	}
}