/**
 * Styles for blueskymodel.org
 * 
 * @author     Jack Clayton <clayjs0@gmail.com>
 * @copyright  2014 BlueSkyModel.org
 *
 */

/* Sticky footer and 100% height
-------------------------------------------------- */

html {
	min-height: 100%;
}

body {
	min-height: 100%;
}

	body > footer {
		margin: 30px 0 0;
		padding: 30px 0;
		text-align: center;
	}
		
		body > footer a {
			margin: 0 10px;
		}


/* Bootstrap mods
-------------------------------------------------- */

/* remove the default background */
.jumbotron {
	background: none;
}

/* center the formulas */
pre {
	text-align: center;
}

/* remove bootstrap's margin bottom */
.navbar {
	margin-bottom: 0;
}


/* Custom BlueSkyModel (aka, "bsm") styles
-------------------------------------------------- */

/* blue sky gradient background */
.bsm-background {
	color: white;
	background: #2e5f9c; /* Old browsers */
	background: -moz-linear-gradient(-45deg,  #2e5f9c 0%, #1e4584 25%, #193d76 50%, #21497f 75%, #3874a6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#2e5f9c), color-stop(25%,#1e4584), color-stop(50%,#193d76), color-stop(75%,#21497f), color-stop(100%,#3874a6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg,  #2e5f9c 0%,#1e4584 25%,#193d76 50%,#21497f 75%,#3874a6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg,  #2e5f9c 0%,#1e4584 25%,#193d76 50%,#21497f 75%,#3874a6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg,  #2e5f9c 0%,#1e4584 25%,#193d76 50%,#21497f 75%,#3874a6 100%); /* IE10+ */
	background: linear-gradient(135deg,  #2e5f9c 0%,#1e4584 25%,#193d76 50%,#21497f 75%,#3874a6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e5f9c', endColorstr='#3874a6',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}


/* top navbar */
.bsm-nav {
	background-color: #fff;
}

	.bsm-nav .active a,
	.bsm-nav a:hover {
		background-color: #f2f2f2 !important;
	}

	.bsm-nav a, 
	.bsm-nav button {
		color: #428bca !important;
	}
	

/* index page masthead */
.bsm-masthead {
	padding-bottom: 60px;
}
	
	.bsm-masthead a {
		color: #cce2ff;
	}
	
	.bsm-masthead a:hover {
		color: #99c6ff;
	}
	
	.bsm-masthead .lead {
		margin-top: 90px;
		font-size: 21px; 
		line-height: 1.4em;
		text-align: center;
	}
		
		.bsm-masthead .btn abbr {
			border-bottom: none;
			cursor: auto;
		}
	
	.bsm-masthead .glyphicon {
		font-size: 2.5em;
		vertical-align: middle;
	}
	
	.bsm-masthead > footer {
		width: 100%;
		height: 45px;
	}


/* add vertical spacing on container child rows */
.container > .row:not(:first-child) {
	margin-top: 30px;
}

/* add vertical spacing on arbitrary elements */
.pull-down {
	margin-top: 30px;
}

/* style section and table footers */
footer, 
tfoot {
	color: #999;
}

/* add vertical space between sections */
section:not(:first-child) {
	margin-top: 20px;
	padding-top: 10px;
}

/* style <pre> elements to scroll horiz */
.pre-scrollable-x {
	overflow: auto;
	overflow-wrap: normal;
	word-wrap: normal;
	white-space: pre;
}

