/*!
 * Original source: Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
	height: 100%;
	font-family: 'Noto Sans', sans-serif;
}
@media(min-width: 992px){
	html, body {
		background: url('../images/sitebg.jpg') top center no-repeat;
		background-attachment: fixed;
	}
}

body {
	padding-top: 60px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

body > .container {
	background-color: rgba(255,255,255,0.90);
}

img {
	max-width: 100%;
}
h1 {
	font-family: 'Droid Serif', serif;
	font-size: 2.5em;
	font-weight: normal;
	margin: 0;
	padding: 20px 0;
	color: #186e20;
}
h2 {
	font-family: 'Droid Serif', serif;
	margin-top: 40px;
	padding-top: 0;
	font-size: 2em;
}
h2.sotitle {
	border-bottom: 1px solid #666;
	padding-bottom: 6px;
}
h3, h2.likeh3 {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 700;
	font-size: 1.57em;
	margin-top: 0;
	padding-top: 0;
}
p {
	font-size: 1.2em;
	text-align: justify;
	line-height: 1.8em;
	margin-bottom: 1em;
	text-align: justify;
}
li {
	font-size: 1.2em;
	line-height: 1.8em;
	text-align: justify;
}
iframe.twitter-timeline {
	height: calc(100vh - 100px) !important;
}

@media(max-width:767px) {
	.navbar-brand {
		padding-top: 5px;
	}
	.navbar-brand img {
		height: 40px;
	}
	.gallery {
		display: none;
	}
	p, li {
		font-size: 1em;
	}
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.7em;
	}
	h3 {
		font-size: 1.4em;
	}
}



/*******************************\
*								*
*	Navbar Customization		*
*								*
\********************************/

.navbar {
	font-family: 'Varela Round', sans-serif;
	font-weight: 400;
	background: #235;
	border-bottom: #123
}
.navbar .container {
	background: #f8f8f8;
	height: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	background: #1e7e29;
	color: white;
}
.navbar-default .navbar-nav > li > a {
    color: #666;
}
@media(min-width: 768px) {
	.nav li, .nav li.sfHover:first-child {
		display: inline-block;
	}
	.nav li:hover, #menu li.selected, #menu li.sfHover {
		color: black;
	}
	.nav li ul {
		position: absolute;
		width: auto;
		text-align: left;
		height: auto;
		margin: -1px 0 0 !important;
		border-top: 0 !important;
		padding: 0;
		display: none;
		z-index: 9999999;
	}
	.nav li:hover ul, .nav li.sfHover ul{
		display: block;
	}
	.nav li ul li, .nav li ul li:hover, .nav li.selected ul li, .nav li ul li.sfHover, .nav li.selected ul li.sfHover {
		display: block !important;
		text-align: left;
	}
	.nav li ul li:hover {
		background: transparent;
	}
	.nav li ul li a, .nav li.selected ul li a, .nav li ul li.sfHover a, .nav li.selected ul li.sfHover a, .nav li.sfHover ul li.sfHover a, .nav li li a:last-child, .nav li li:last-child {
		display: block;
	}
	.nav i {
		width: 8px;
	}
	.nav li ul li:last-child, .nav li ul li:last-child a {
		border-radius: 0 0 4px 4px !important;
	}
}

/***************************\
*							*
*	Responsive Navbar		*
*							*
\***************************/

@media (max-width: 767px) {
	body {
		padding-top: 51px;
	}
	.navbar-nav {
		margin-top: 0px;
	}
	.navbar-header {
		height: 51px;
	}
}
@media (max-width: 991px) {
	.navbar {
	background: #f8f8f8;
	}
}
@media (min-width: 768px) {
	.navbar-default {
		height: 60px;
	}
	.navbar-brand {
		padding: 5px 0 0 5px;
	}
	@media (max-width: 991px) {
		.nav > li > a {
			padding: 20px 10px;
		}
	.nav > li {
		font-size: 1.1em;
	}
	}
}
@media (min-width: 1200px) {
	.navbar-default {
		font-size: 14px;
	}
}


/***********************\
*						*
*	Footer Styles		*
*						*
\***********************/

footer {
	background: #235;
	color: #e1e1e1;
	text-transform: uppercase;
	font-weight: 700;
	padding: 8px 15px 0;
	font-size: 0.8em;
}
footer ul {
	margin-left: 0;
	padding-left: 0;
}
footer ul li {
	list-style-type: none;
	padding-bottom: 20px;
	margin-left: 0;
	padding-left: 0;
}
footer a {
	color: #e1e1e1;
}
footer a:hover {
	text-decoration: none;
	color: #bf1e2e;
}
footer img {
	margin-bottom: 45px;
}
footer p {
	color: white;
}
.footer {
	padding: 20px 0 0;
	margin-bottom: 30px;
	background: rgba(255,255,255,0.9);
}
footer .text-right p {
	text-align: right !important;
}



/***************************\
*							*
*	Carousel Styles			*
*							*
\***************************/

.carousel {
	margin-right: auto;
	margin-left: auto;
	height: 70%;
	background: white;
}
@media (max-width: 991px) {
	.carousel, .footer {
		width: 100%;
	}
	.footer {
		margin-bottom: 0;
	}
}
@media (min-width: 992px) {
	.carousel {
		width: 970px;
	}
}
@media (min-width: 1200px) {
	.carousel {
		width: 1170px;
	}
}

div.carousel .item,
div.carousel .item.active,
div.carousel .carousel-inner {
	height: 100%;
}

div.carousel .fill {
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
}

.carousel .carousel-inner .item {
	transition-property: opacity;
}
				
.carousel .carousel-inner .item,
.carousel .carousel-inner .active.left,
.carousel .carousel-inner .active.right {
	opacity: 0;
}

.carousel .carousel-inner	.active,
.carousel .carousel-inner .next.left,
.carousel .carousel-inner .prev.right {
	opacity: 1;
}

.carousel .carousel-inner	.active.left,
.carousel .carousel-inner	.active.right {
	left: 0;
	transform: translate3d(0, 0, 0);
}

/* Homepage carousel */
#carouselload1, #carouselload2, #carouselload3, #carouselload4 {
	height: 10px;
	width: 10px;
	position: absolute;
	margin-left: -999999px;
}
@media (max-width: 480px) {
	#home_carousel_1, #carouselload1 {
		background-image: url('../images/homepage/carousel/carousel_1_480.jpg') !important;
	}
	#home_carousel_2, #carouselload2 {
		background-image: url('../images/homepage/carousel/carousel_2_480.jpg') !important;
	}
	#home_carousel_3, #carouselload3 {
		background-image: url('../images/homepage/carousel/carousel_3_480.jpg') !important;
	}
	#home_carousel_4, #carouselload4 {
		background-image: url('../images/homepage/carousel/carousel_4_480.jpg') !important;
	}
}

@media (max-width: 768px) {
	#home_carousel_1, #carouselload1 {
		background-image: url('../images/homepage/carousel/carousel_1_768.jpg');
	}
	#home_carousel_2, #carouselload2 {
		background-image: url('../images/homepage/carousel/carousel_2_768.jpg');
	}
	#home_carousel_3, #carouselload3 {
		background-image: url('../images/homepage/carousel/carousel_3_768.jpg');
	}
	#home_carousel_4, #carouselload4 {
		background-image: url('../images/homepage/carousel/carousel_4_768.jpg');
	}
}

@media (min-width: 769px) {
	#home_carousel_1, #carouselload1 {
		background-image: url('../images/homepage/carousel/carousel_1.jpg');
	}
	#home_carousel_2, #carouselload2 {
		background-image: url('../images/homepage/carousel/carousel_2.jpg');
	}
	#home_carousel_3, #carouselload3 {
		background-image: url('../images/homepage/carousel/carousel_3.jpg');
	}
	#home_carousel_4 , #carouselload4 {
		background-image: url('../images/homepage/carousel/carousel_4.jpg');
	}
}

/* Chapter Nav Styles */
#chapters {
	list-style: none;
	padding-left: 15px;
}
#chapters li a {
	cursor: pointer;
	font-weight: 700;
}
#chapters li a.selected {
	margin-left: 15px;
	color: black;
}
@media (max-width: 991px) {
	#chapters li {
		display: inline-block;
		margin: 5px 7px;
	}
	#chapters li a.selected {
		margin-left: 0px;
	}
}

#chapters li.booknamemenu {
	font-weight: bold;
	text-indent: 30px;
}

.chapter h2 {
	font-size: 1.9em;
	margin-top: 0;
	text-align: center;
	font-weight: bold;
}

/*******************************\
*								*
*	Miscellaneous Styles		*
*								*
\*******************************/

.clear {
	clear: both;
}
.spacer50 {
	height: 50px;
}
.noborder {
	border: 0 !important;
}
.border-bottom {
	border-bottom: 1px solid black;
}
.error {
	color: red;
	font-weight: bold;
}
.form-control.ui-state-error {
	border-color: red;
}
.panel-default .panel-heading {
	background: #e0f0e8;
}
img.pull-right {
	margin: 0 0 10px 20px;
}
.border {
	border: 1px solid black;
}
.latest {
	color: maroon;
	background: #fed;
}
.prompted {
	color: navyblue;
	background: #def;
}
.latest a, .prompted a {
	color: blue;
}
#prompt {
	display: none;
}
.chapter .small {
	font-size: 100%;
}