body {
	background: #fff;
}
#wrapper {
	font-size: 16px;
	background: #fff;
	overflow: hidden;
}

.formRow {
	margin-bottom: 20px;
}
.formRow .form-control {
	height: 38px;
}

header, .footer {
	margin: auto;
	color: #333;
	font-size: 1.5em;

	background-image: none;
    /* background-color: rgba(255,255,255,0.6); */
    border-top: 1px solid #aaa;
    position: fixed;
    bottom: 0px;
    height: 55px;
    width: 100%;
    border: none;
    z-index: 2;
    padding-top: 5px;
    padding: 0;
    }
header {
	/*position: absolute;
	z-index: 3;
	width: 100%;
	*/
	position: fixed;
	top:51px;
	left:0;
	bottom: auto;
	width: 100%;
		background: rgb(125,126,125); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(125,126,125,1) 0%, rgba(14,14,14,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(125,126,125,1)), color-stop(100%,rgba(14,14,14,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */

}
.nohead header {
	top: 0;
}
footer.footer {
	background-color: #fff;
	background: -moz-linear-gradient(top, rgba(255,255,255,0.46) 0%, rgba(255,255,255,0.91) 60%, rgba(255,255,255,0.91) 97%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.46)), color-stop(60%,rgba(255,255,255,0.91)), color-stop(97%,rgba(255,255,255,0.91)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.46) 0%,rgba(255,255,255,0.91) 60%,rgba(255,255,255,0.91) 97%);
    background: -o-linear-gradient(top, rgba(255,255,255,0.46) 0%,rgba(255,255,255,0.91) 60%,rgba(255,255,255,0.91) 97%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0.46) 0%,rgba(255,255,255,0.91) 60%,rgba(255,255,255,0.91) 97%);
    background: linear-gradient(to bottom, rgba(255,255,255,0.46) 0%,rgba(255,255,255,0.91) 60%,rgba(255,255,255,0.91) 97%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#75ffffff', endColorstr='#e8ffffff',GradientType=0 );
    font-size: 14px;
}
.footer {
	position: fixed;
	border-top: 1px solid #ccc;
	bottom: 0px;
	left: 0px;
	width: 100%;
	padding: 0;
	margin: 0;
}
.footerList {
	 list-style: none;
	 margin: 0;
	 padding: 0;
}
.footerList li {
	display: inline-block;
	list-style: none;
}

header ul, footer ul {
	display: flex;
}

main {
	min-height: 15em;
	display: block;
	background: #fff;
	/*
	position: absolute;
	top: 3.5em;
	left: 0;
	width: 100%;
	z-index: 2;
	height: 70%;
	overflow: auto;
	*/
}
header .btn,header .btn:active, header .btn:hover {
	
}
header .btn:focus {
	
}
.awesome {
	font-size: 22px;
	line-height: 1.6em;
	padding: 1.5em 0;
	margin-bottom: 65px;
	text-align: justify;
}

.awesome a {
	color: #336688;
}
.topPad {
	padding-top: 3em;
}
.showMore {
	margin: 3em 0;
}

.awesome span.highlight{
	background: yellow;
}
.awesome u {
	background: yellow;
}
.awesome {
	margin-top: 1em;
}

font h3 {
	display: inline;
}

.navbar {
	margin-bottom: 0;
}
body:not(.nohead) #options {
	top: 51px;
}
.searchList nav ul, .searchList ul.tabbed {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}
.searchList nav li, .searchList ul.tabbed li {
	display: block;
	float: left;
	width: 50%;
	height: 10em;
}
.searchList nav li, .searchList ul.tabbed li.panel {
	border: 1px solid #aaa;
	background: #fff;
	width: 98%;
	/* add media query to put back at 48% */
	margin: 0 1%;
	text-align: center;
	opacity: 0.9;
}

.searchList {
	margin: 0em 1%;
	margin-top: 0;
	border: 0px solid #aaa;
}
.searchList .navPanel a {
	display: block;
	line-height: 2em;
	text-indent: 0.5em;
}
.linkBtn {
	display: inline-block;
	padding: 0 12px;
}

.bar li a.btn {
	 background-color: transparent!important;
}
header .bar li a.btn:hover {
	background-image: none;
	background-color: #333;
	color: #fff;
}
header ul a.linkBtn {
	border-radius: 0;
	border-left: 1px solid #333;
    border-right: 1px solid #111;
    background-color: transparent;
    text-align: left;
    color: #fff;
    text-decoration: none;
}
header nav.reflex  ul >li {
	list-style: none;
	display: block;
	white-space: nowrap;
	
}
header nav.reflex  ul>li.bibleList {
	flex: 1 99%;
}
header nav.reflex  ul>li.bibleList a {
	display: block;
	width: 100%;
}
header nav.reflex ul >li.bibleList {
	display: flex;
}

.bibleList {
	display: flex;
}
.bibleList select {
	flex: 1 auto;
	width: auto;
	position: relative;
	margin: 9px;
	margin-left: 0;

}

.bar li.chapterToggle a {
	width: 50%;
}

.bar li a {
	line-height: 51px;
	padding-top: 0;
	padding-bottom: 0;
}
.searcher {
	min-width: 50px;
	flex: 1 1%;
}
.searcher a {
	width: 50px;
	text-align: center;
}
#topNav {
	position: relative;
}
footer .bar li a.toggleOn:link,
footer .bar li a.toggleOn:hover,
footer .bar li a.toggleOn:active,
footer .bar li a.toggleOn:focus {
	color: #000;
	background-color: #ddd!important;
	background-image: none;
}
header .bar li a.toggleOn {
	color: #fff;
	background-color: #333!important;
}
#copyVerses.shown {
	position: fixed;
	top: 139px;
	display: block!important;
	left: 5%;
	width: 90%;
	padding: 1em;
	border: 1px solid #ccc;
	box-shadow: 0px 0px 4px #333;
	background: rgba(255,255,255,0.9)
}
.lexicon-entry h3 {
	display: inline;
}
#wordModalResult:not(:empty) {
	margin-top: 1em;
}
td a {
	display: block;
	padding: 0 1em;
	line-height: 2em;
	font-weight: bold;
	border-bottom: 1px solid #aaa;
	background: rgb(238,238,238); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(204,204,204,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */

}
td a span {
	float: right;
}
footer {
	/*nothing */
}
footer nav a {
	color: #ddd;
	font-weight: bold;
	text-decoration: none;
	display: inline-block;
	padding: 0 5%;
	background: #333;
	margin: 0.3em;
	line-height: 1em;
}

/* options */
fieldset {
	border: 1px solid #999;
	padding: 1em;
	border-radius: 5px;
	margin: 1em 0;
}
fieldset legend {
	background: #eee;
}
#options {
	display: none;
	background: rgb(255,255,255);
	border: 0px;
	border-bottom: 1px solid #333;
	position: fixed;
	top: 0;
	width: 100%;
	left: 0;
	height: 55px;
}
.formRow .form-control {
	height: 50px;
}


footer .bar li a.btn {
	padding-left: 20px;
	padding-right: 20px;
}
footer .bar li a.btn:hover,
footer .bar li a.btn:focus {
	background-color: #ddd!important;
	color: #333;
}
footer ul {
	display: flex;
}
footer ul li {
	flex: 1 auto;
}
footer ul li.last {
	text-align: right;
}

@media (max-width: 600px) {
	footer .footerList {
		justify-content: space-between;
	}
	footer .footerList li {
		flex: 0 0 auto;
		white-space: nowrap;
	}
	footer .bar li a.btn {
		padding-left: 8px;
		padding-right: 8px;
	}
}