/************ Eric Meyer CSS Reset **************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/****************** Page Structure ********************/
body {
	margin: 0px;
	padding: 0px;
	min-height: 100%;
  	background-color: #633d14;
	background-image: url("./images/wood2.jpg");
	background-repeat: repeat;
	/*color: #808080;*/
	color: rgb(95,95,95);
	/*font-weight: bold;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
}

p {
	padding: 6px 0 6px 0;
}

h1 {
	font-size: 32px;
	padding: 0.67em 0 0.67em 0;
	font-weight: bold;
	color: rgb(62,31,10);
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h3 {
	font-size: 1.25em;
	font-weight: bold;
}

#bobber {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	z-index: -100;
	width: 20%;
}

#lure {
	/*position: absolute;*/
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: -100;
	width: 25%;
}

#allcontent {
	position: relative;
	margin-top: 40px;
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

#name {
	text-align: center;
	margin-top: -30px;
	float: left;
	font-family: "Calisto MT Bold", "Times New Roman", serif;
	font-weight: bolder;
	color: #e5eaf8;
	text-shadow: 3px 3px 5px #000000;
}

#name a:link, #name a:visited {
	color: #e5eaf8;
	text-decoration: none;
}

.name1 {
	font-size: 275%;
}

.name2 {
	font-style: italic;
	font-size: 175%;
}

.name3 {
	font-size: 200%;
}

#mainnav ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	height: 5px;
}

#mainnav ul li {
	float: right;
	margin-left: 10px;
	margin-top: 30px;
	width: 150px;
	text-align: center;
}

#mainnav ul li a {
	display: block;
	background-color: #a7a7a7;
	height: 25px;
	font-weight: bold;
	font-size: 125%;
	color: #e5eaf8;
	padding: 5px;
	text-decoration: none;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
}

#mainnav .selected, #mainnav ul li a:hover {
	background-color: #e5eaf8;
	color: #a7a7a7;
}

#container {
	padding: 0px;
	background-color: #e5eaf8;
	width: 900px;
	min-height: 500px;
	padding-bottom: 60px;
	margin-bottom: 0px;
	margin-top: 60px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 10px 10px 200px #000000;
}

#maincontent {
	padding: 20px;
}

#justtext {
	padding: 20px 60px 20px 60px;
}

#justtexttwo {
	padding-left: 60px;
	padding-right: 60px;
	text-align: justify;
	border-bottom: 2px solid #808080;
}

#rightimage {
	text-align: right;
	float: right;
	margin: -25px 0px 5px 20px;
}

#centeredimage {
	text-align: center;
	margin: -10px 5px 5px 0px;
	padding-bottom: 10px;
	padding-top: 0px;
}

#date {
	padding: 30px 0px 15px 0px;
	font-size: 125%;
}

#title {
	padding: 10px 0px 10px 0px;
	font-size: 225%;
}

#passage {
	font-size: 125%;
	padding: 5px 0px 20px 0px;
}

#bookimage {
	/*float: left;*/
	margin-bottom: 25px;
}

#bookinfo {
	width: 430px;
	position: relative;
	left: 10px;
	top: 75px;
}

.centered {
	text-align: center;
}

.booktitle {
	font-style: italic;
	font-size: 125%;
}

#italicfont {
	font-style: italic;
}

.pagenumber {
	padding: 20px 65px 0px 20px;
	text-align: center;
}

#sermonoutlinebox {
	float: right;
	margin-top: -30px;
	margin-right: 50px;
}

#sermonoutline {
	width: 350px;
	position: relative;
	margin-top: 2px;
	min-height: 150px;
	margin-left: 50px;
        padding: 2px 0;
        color: #212121;
        font-family: 'Indie Flower', cursive;
        
        border-bottom-left-radius: 20px 500px;
        border-bottom-right-radius: 500px 30px;
        border-top-right-radius: 5px 100px;
        
        background: #fcf59b;
        background:
        	-webkit-gradient(
            	linear,
                left top, left bottom,
                from(#81cbbc),
                color-stop(2%, #fcf59b)
            );
        background-size: 100% 25px;
        
        box-shadow: 0 2px 10px 1px rgba(0,0,0,.2);
}

@-webkit-keyframes wiggle {
	0% {
		-webkit-transform:rotate(4deg);
	}
	50% {
		-webkit-transform:rotate(-4deg);
	}
	100% {
		-webkit-transform:rotate(4deg);
	}
}
 
#sermonoutline:hover {
	-webkit-animation: wiggle 0.5s infinite;
}

#listentosermons {
	outline: 0;
	text-align: center;
	font-size: 25px;
    	padding: 0 100px;
        line-height: 25px;
        margin-bottom: 25px;
        color: #0000ee;
        text-decoration: none;
	/*color: #a7a7a7;*/
}

#listentosermons p {
	font-weight: light;
	color: #0000ee;
	margin-top: -31px;
}

#results, #results th, #results td {
	border: 1px solid #000000;
	padding: 2px;
}

#results {
	width: 839px;
	/*margin-left: auto;*/
	margin-right: auto;
}

#results th {
	background-color: #a7a7a7;
	color: #000000;
}

#search {
	background-color: #d7d7d7;
	border: 2px solid #808080;
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 5px;
	width: 425px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 30px;
}

.searchheader {
	font-size: 150%;
}

.indented {
	margin-left: 150px;
}

.indentparagraph {
	margin-left: 20px;
	padding-left: 20px;
	text-indent: -20px;
	margin-top: 5px;
}

#aboutsteveimage {
	width: 300px;
	float: right;
	margin-left: 15px;
}

#alignright {
	margin-top: 5px;
	float: right;
}

#pastorstevepic {
	border: 2px solid rgb(95,95,95);
}

#aboutsteve {
	background: rgb(236,216,196);
	border: 1px solid rgb(128,128,128);
	border-radius: 5px;
	width: 200px;
	text-align: center;
	height: 25px;
	line-height: 13px;
}

#aboutsteve a {
    padding: 6px 0 6px 0;
}

#stevelink, #stevelink:visited {
	text-decoration: none;
	color: rgb(144,0,0);
}

/*#stevelink:hover, #aboutsteve:hover {
	transition: .5s ease-in;
	background: rgb(144,0,0);
	color: rgb(236,216,196);
}*/

#aboutsteve:hover {
    transition: 5s ease-in;
    background: rgb(144,0,0);
    color: rgb(236,216,196);
}

#returnbutton {
	float: right;
	background: rgb(236,216,196);
	border: 1px solid rgb(128,128,128);
	border-radius: 5px;
	width: 200px;
	text-align: center;
	height: 25px;
	line-height: 13px;
}

#date {
	margin-top: 10px;
}

#returnbutton a, #returnbutton a:visited {
	text-decoration: none;
	color: rgb(144,0,0);
}

#returnbutton:hover {
	transition: .5s ease-in;
	background: rgb(144,0,0);
	color: rgb(236,216,196);
}

#returnbutton a:hover {
	color: rgb(236,216,196);
}

.right {
	margin: 0px;
	padding: 0px;
	position: relative;
	left: 80%;
}

.searchlabel {
	font-size: 90%;
}

#searchcriteria {
	font-size: 80%;
	font-weight: normal;
}

.bold {
	font-weight: bold;
}

h4 {
	font-weight: bold;
	font-size: 120%;
}

#quote {
	width: 300px;
	float: right;
	text-align: center;
	margin: 20px 0px 0px 0px;
	font-size: 140%;
	font-weight: bold;
	color: rgb(62,31,10);
	padding: 0px;
}

.reference {
	font-size: 60%;
	padding-top: 0;
	margin-top: 0px;
}

.reference2 {
	font-size: 80%;
	padding-top: 0;
	margin-top: 0px;
}

#topbox {
	width: 650px;
	margin-left: auto;
	margin-right: auto;
}

.justifiedtext {
	text-align: justify;
	margin-top: 15px;
}

#justifiedtexttwo {
	margin-left: 20px;
	text-align: justify;
}

#justifiedtextthree {
	text-align: justify;
}

#trainingandministry p {
	padding: 2px;
	font-size: 95%;
}

#footnote {
	font-size: 50%;
	text-align: center;
}

.superscript {
	font-size: 60%;
	vertical-align: super;
	line-height: normal;
}

#sermontitle {
	width: 350px;
}

#sermonpassage {
	width: 200px;
}

#sermondate {
	width: 175px;
}

#sermonlisten {
	width: 50px;
}

#largequote {
	width: 500px;
	font-size: 120%;
	text-align: justify;
	margin-left: auto;
	margin-right: auto;
	color: #808080;
	margin-top: 10px;
}

#largetext {
	font-size: 32px;
}

#pilatequote {
	width: 500px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	text-align: center;
	font-size: 70%;
	color: rgb(144,0,0);
	font-weight: bold;
}

#startbutton {
	color: rgb(128,128,128);
	text-decoration: none;
	width: 250px;
	margin-right: auto;
	margin-left: auto;
	background: rgb(236,216,196);
	font-size: 25px;
	text-align: center;
	font-weight: bold;
	height: 50px;
	line-height: 50px;
	margin-top: 50px;
	border-radius: 15px;
	border: 1px solid rgb(95,95,95);
}

#startbutton:hover {
	background: rgb(95,95,95);
	color: rgb(236,216,196);
}

#startlink {
	color: rgb(128,128,128);
	text-decoration: none;
}

#centeredtext {
	text-align: center;
}

#scrollbarsection {
	height: 300px;
	overflow-x: hidden;
	overflow-y: scroll;
	border: 2px solid #808080;
}

/******************* Side Box ******************************/

#sidebox {
	width: 400px;
	float: left;
	/*background: rgb(226,196,166);*/
	border-right: 3px solid #000;
	color: #000;
	padding: 15px;
	margin: 10px;
	min-height: 600px;
}

#minorsection {
	font-size: 75%;
}

/***************************** Interactive box ****************************/
#goodnewsheader {
	margin-top: -10px;
}

#interactivebox {
	position: relative;
	/*overflow: auto;*/
	/*border: 2px solid #fff;*/
	min-height: 400px;
	padding: 0px 10px 10px 10px;
	margin-top: -10px;
}

#interactivebox h2 {
	padding: 0px 5px 10px 5px;
	margin: 0px;
}

#interactivebox p {
	padding: 5px 5px 5px 5px;
	font-weight: normal;
}

#sectionname {
	visibility: hidden;
}

#versebox {
	margin-top: 50px;
	float: right;
	width: 400px;
	/*background: #d5d9e0;*/
	min-height: 200px;
	margin-left: 15px;
}

#versebox p {
	padding: 5px;
}

#versenav {
	/*background: #c0c1c4;*/
	color: #fff;
	padding: 0px;
	margin: 0px 5px 0px 0px;
	width: 175px;
	float: left;
	min-height: 215px;
}

#versenav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#versenav ul li {
	display: block;
	/*background: #d5d9e0;*/
	cursor: pointer;
	padding: 8px 0 8px 5px;
	margin: 0;
	margin-bottom: 4px;
	border: 1px solid #fff;
	border-radius: 5px;
}

.pageone, .pagetwo, .pagethree, .pagefour {
	background: #d5d9e0;
}

#versenav ul li:hover {
	background: #fff;
	/*color: #000;*/
	color: rgb(95,95,95);
}

#versetext {
	background: #d5d9e0;
	min-height: 215px;
	margin-left: 185px;
	padding: 5px;
}

#active {
	background: #fff;
	/*color: #000;*/
	color: rgb(95,95,95);
}

.version {
	padding: 0;
	margin: 0;
	font-size: 80%;
	font-style: italic;
	text-align: right;
}

#interchangeableimage {
	margin-top: 15px;
}

#nextbutton, #previousbutton {
	cursor: pointer;
	background: rgb(236,216,196);
	border: 1px solid rgb(128,128,128);
	color: rgb(144,0,0);
	width: 100px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	border-radius: 5px;
}

#nextbutton {
	position: absolute;
	bottom: 0px;
	right: 0px;
}

#previousbutton {
	position: absolute;
	bottom: 0px;
	right: 125px;
}

#nextbutton:hover, #previousbutton:hover {
	transition: .5s ease-in;
	background: rgb(144,0,0);
	color: rgb(236,216,196);
}

#goodnewssermonsbutton, .goodnewsnowwhatbutton {
	color: rgb(144,0,0);
	text-decoration: none;
	margin-right: auto;
	margin-left: auto;
	background: rgb(236,216,196);
	font-size: 25px;
	text-align: center;
	font-weight: bold;
	height: 50px;
	line-height: 50px;
	margin-top: 50px;
	border-radius: 15px;
	border: 1px solid rgb(128,128,128);
}

#goodnewssermonsbutton {
    width: 250px;
}

.goodnewsnowwhatbutton {
    width: 350px;
}

#goodnewssermonsbutton:hover, .goodnewsnowwhatbutton:hover {
	transition: .5s ease-in;
	background: rgb(144,0,0);
	color: rgb(236,216,196);
}

#goodnewssermonslink {
	color: rgb(144,0,0);
	text-decoration: none;
}



#centereddiv {
	margin-top: 25px;
}


#sitemaplist ul li {
	list-style-type: disc;
	list-style-position: inside;
	margin-left: 15px;
}

#endsearchform {
	color: #e5eaf8;
	padding: 20px;
}

#continued {
	color: #e5eaf8;
	padding: 5px;
}

#listentosermonshidden {
	font-size: 40%;
	margin: 0;
	padding: 0 0 5px 0;
	color: #e5eaf8;
}

#book_cover {
    max-width: 300px;
}

.center {
    text-align: center;
}

.tagline {
    color: #7B3C33;
    margin-bottom: 0px;
}

.nowwhatsection {
    float: left;
    margin-left: 25px;
}

.nowwhatlist {
    list-style-type: disc;
    margin-left: 250px;
    margin-bottom: 50px;
}

.nowwhatparagraph {
    margin-left: 220px;
}

footer {
	position: absolute;
	width: 900px;
	height: 60px;
	right: 0px;
	bottom: -60px;
	left: 0px;
	font-size: 80%;
	text-align: center;
	background-color: #a7a7a7;
	padding: 0px;
	color: #e5eaf8;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

footer a:link, footer a:visited {
	color: #e5eaf8;
}

/**************** Mobile Nav *************************/
#mobilenav {
	/*background: #000;*/
	height: 40px;
	overflow: hidden;
	padding-top: 10px;
	padding-bottom: 15px;
	z-index: 10000;
	display: none;
}

#mobilenav h2 {
	float: right;
	background: url(images/menu.jpg) right center no-repeat;
	padding-right: 75px;
	line-height: 50px;
	color: #fff;
	font-size: 18px;
	margin-right: 10px;
	text-transform: uppercase;
}

#mobilenav h2:hover {
	cursor: pointer;
}


/************ Responsive Queries ************************/
@media only screen and (max-width: 900px) {
	body {
		width: 100%;
	}
	
	#container {
		margin-top: 0px;
	}
	
	#bobber, #lure {
		visibility: hidden;
	}
	
	#allcontent, #container, footer {
		width: 100%;
	}
	
	#largequote {
		width: 100%;
		padding-left: 10px;
		margin-left: auto;
		margin-right: auto;
	}
	
	#versebox {
		position: absolute;
		left: -15px;
		margin-top: 310px;
		width: 100%;
	}
	
	#versenav {
		width: 135px;
	}
	
	#versenav ul li {
		font-size: 80%;
	}
	
	#versetext {
		margin-left: 140px;
		margin-right: 10px;
	}
	
	#interchangeabletext {
		padding: 10px;
	}
	
	#interchangeableimage {
		padding-bottom: 300px;
	}
	
	#pilatequote {
		width: 100%;
	}
	
	#startbutton {
		width: 100%;
	}
	
	#container {
		padding: 2px;
	}
	
	#mobilenav {
		display: block;
	}
	
	#mainnav {
		width: 150px;
		position: absolute;
		z-index: 1000;
		top: 60px;
		right: 0;
		border-top: 1px solid #000;
		border-bottom: 1px solid #000;
		height: auto;
		font-size: 15px;
		padding: 0px;
		display: none;
	}
	
	/*#mainnav ul {
		position: absolute;
		width: 150px;
		top: 50px;
		right: 0;
	}*/

	#mainnav ul {
		margin: 0px;
		padding: 0px;
	}
	
	#mainnav li {
		float: none;
		margin: 0px;
		padding: 0px;
	}

	#mainnav ul li a {
		background: #000;
		text-align: left;
		width: 150px;
		margin-top: -30px;
		/*margin-right: 10px;*/
		border-radius: 0;
	}
	
	#maincontent {
		padding: 10px;
	}
	
	
	/*#mainnav ul {
		list-style-type: none;
		margin: 0px;
		padding: 0px;
		height: 5px;
	}
	
	#mainnav ul li {
		float: right;
		margin-left: 10px;
		margin-top: 30px;
		width: 150px;
		text-align: center;
	}
	
	#mainnav ul li a {
		display: block;
		background-color: #a7a7a7;
		height: 25px;
		font-weight: bold;
		font-size: 125%;
		color: #e5eaf8;
		padding: 5px;
		text-decoration: none;
		border-top-left-radius: 50px;
		border-top-right-radius: 50px;
	}
	
	#mainnav .selected, #mainnav ul li a:hover {
		background-color: #e5eaf8;
		color: #a7a7a7;
	}*/
}

@media only screen and (max-width: 800px) {		
	#results th {
		visibility: hidden;
		display: none;
	}
	
	#results tr:nth-child(even) {
		background-color: #ccc;
	}
	
	#results td:first-child {
		color: #000;
		font-weight: bold;
		border-bottom: 3px solid #000;
		border-top: 3px solid #000;
	}
	
	#results table {
		table-layout: fixed;
	}
	
	#results td {
		display: block;
		width: 100%;
		overflow: normal;
		white-space: normal;
	}
	
	#results {
		width: 100%;
	}
	
	#scrollbarsection {
		border: none;
		margin: 0px;
		margin-left: auto;
		margin-right: auto;
		padding: 0px;
		width: 95%;
		height: 300px;
	}
	
	#maincontent, #container {
		margin: 0px;
		padding: 0px;
	}
	
	#maincontent {
		margin: 3px;
		width: 100%;
	}
	
	#rightimage {
		float: none;
		margin: 0px;
		padding: 0px;
		text-align: center;
	}
	
	#justtext {
		width: 85%;
		padding: 10px;
	}
	
	#justtexttwo {
		padding: 0px;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	
	#justtexttwo p {
		padding-left: 5%;
		padding-right: 5%;
	}
	
	#search {
		width: 85%;
	}
	
	#searchtable td {
		display: block;
	}
	
	#searchtable tr:first-child {
		float: left;
	}
	
	#searchtable tr:first-child td {
		height: 23px;
	}
	
	#searchtable tr td {
		height: 23px;
	}
	
	#searchtable tr:nth-child(2) {
		float: right;
	}
	
	#aboutsteve {
		margin-left: 10px;
	}
	
	#listentosermonallcontent {
		padding: 10px;
	}
}

@media only screen and (max-width: 750px) {
	#sermonoutlinebox {
		display: none;
	}
	
	.goodnewsnowwhatbutton {
        font-size: 20px;
    }
}

@media only screen and (max-width: 700px) {
	body {
		background-image: none;
	}
	
	#topbox {
		width: 100%;
	}
	
	#quote {
		width: 100%;
		position: relative;
		padding: 0px;
		margin: 0px;
	}
	
	#StevePicture {
		width: 100%;
	}
	
	#centredimage {
		width: 100%;
	}
	
	#centeredimage img {
		width: 300px;
	}
	
	#StevePicture img {
		width: 300px;
	}
	
	/*#quote {
		width: 300px;
		float: right;
		text-align: center;
		margin: 20px 0px 0px 0px;
		font-size: 140%;
		font-weight: bold;
		color: rgb(62,31,10);
		padding: 0px;
	}*/
}

@media only screen and (max-width: 550px) {
	#mobilenav h2 {
		padding-right: 50px;
	}
	
	#interchangeableimage img {
		width: 100%;
	}
	
	#versebox {
		margin-top: 275px;
	}
	
	#aboutsteveimage {
		position: relative;
		width: 100%;
		text-align: center;
		margin: 0;
		padding: 0 0 10px 0;
		/*margin-right: auto;
		margin-left: auto;
		text-align: center;
		width: 300px;
		float: right;
		margin-left: 15px;*/
	}
	
	#pastorstevepic {
		width: 250px;
		margin: 0px;
	}
	
	#bookimage {
		width: 100%;
	}
	
	#sermonoutline {
		width: 250px;
		margin-left: auto;
		margin-right: auto;
	}
	

	.nowwhatsection {
        float: none;
        margin: 40px auto 0 auto;
        text-align: center;
    }
    
    .nowwhatparagraph {
        margin: 0px 10px 0px 10px;
    }
    
    .nowwhatlist {
        margin: 0px 10px 0px 30px;
    }
    
    .goodnewssermonlink {
        margin-top: 10px;
    }
    
    .goodnewsnowwhatbutton {
        margin: 20px 0 0 0;
    }
}

@media only screen and (max-width: 350px) {
	#mobilenav h2 {
		font-size: 0px;
		padding-right: 30px;
	}
}
