/* Body and structure
-------------------------------------------------- */
body {
	position: relative;
	height: 100%;
	background: #fbfbfb;
}

@font-face {
	font-family: "Birdman";
	src: url('../../font/birdman.eot');
	src: url('../../font/birdman.woff') format('opentype');
}

@font-face {
	font-family: "Birdman Light";
	src: url('../../font/birdman-light.eot');
	src: url('../../font/birdman-light.woff') format('opentype');
}

a.btn {
	color: #222;
}

a.btn-primary,a.btn-primary:hover,a.btn-warning,a.btn-warning:hover,a.btn-danger,a.btn-danger:hover,a.btn-success,a.btn-success:hover,a.btn-info,a.btn-info:hover,a.btn-inverse,a.btn-inverse:hover
	{
	color: #fff;
}

td label {
	vertical-align: bottom;
	margin: 0px 10px 0px 5px;
	display: inline-block;
}

h3 {
	margin-bottom: 7px;
	text-shadow: 0 1px 1px #DDD;
	color: #555;
}

#wrap {
	min-height: 100%;
}

#main {
	padding-top: 100px;
	padding-bottom: 50px;
	overflow: visible;
}

.navbar-fixed-top {
	height: 40px;
}

.navbar-fixed-top .container {
	height: 40px;
}

.navbar .brand {
	font-family: birdman, Arial;
	font-size: 30px;
	margin-left: 0px;
	margin-top: 7px;
	margin-bottom: 0px;
	padding: 0px;
	color: #D6DBEC;
	text-shadow: 1px 1px 0px #555;
}

.navbar .nav>li>a {
	color: #fff;
}

.navbar .divider-vertical {
	height: 40px;
	width: 1px;
	margin: 0 9px;
	overflow: hidden;
	background-color: #6F6F6A;
	border-right: 1px solid #284B7C;
}

.navbar form {
	margin-bottom: 0px;
}

.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner,.navbar-inner
	{
	background: #0e2445;
	border-bottom: 1px solid #0b6aa2;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0e2445',
		endColorstr='#0e2445', GradientType=0 );
}

.nav i[class^="icon-"] {
	opacity: 0.7;
}

.nav i[class^="icon-"] {
	opacity: 0.9;
}

/* Faded out hr */
hr.soften {
	height: 1px;
	margin: 54px 0;
	background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0),
		rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) );
	background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0),
		rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) );
	background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0),
		rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) );
	background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0),
		rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) );
	border: 0;
}

.page-header {
	margin: 5px 0 18px 0;
}

.page-header h1 {
	font-size: 25px;
	text-shadow: 0 1px 1px #DDD;
	color: #333;
}

/* Pagination */
.pagination {
	margin-top: 0px;
	margin-bottom: 18px;
	text-align: center;
}

.pagination ul {
	display: -moz-inline-box; /* FF2 or lower */
	display: inline-block;
	/* IE6/7 inline-block hack */ *
	display: inline; *
	zoom: 1;
}

.input-append .add-on,.input-append .btn {
	margin-left: -5px;
}

.input-prepend .add-on,.input-prepend .btn {
	margin-right: -5px;
}

.center {
	margin: 0 auto !important;
	float: none !important;
}

/* Jumbotrons
-------------------------------------------------- */
.jumbotron {
	position: relative;
}

.jumbotron h1 {
	margin-bottom: 9px;
	font-size: 81px;
	letter-spacing: -1px;
	line-height: 1;
}

.jumbotron p {
	margin-bottom: 18px;
	font-weight: 300;
}

.jumbotron .btn-large {
	font-size: 20px;
	font-weight: normal;
	padding: 14px 24px;
	margin-right: 10px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

/* Masthead (docs home) */
.masthead {
	padding-top: 36px;
	margin-bottom: 72px;
}

.masthead h1,.masthead p {
	text-align: center;
}

.masthead h1 {
	margin-bottom: 18px;
}

.masthead p {
	margin-left: 5%;
	margin-right: 5%;
	font-size: 30px;
	line-height: 36px;
}

/* Specific jumbotrons
------------------------- */
/* supporting docs pages */
.subhead {
	padding-bottom: 0;
	margin-bottom: 9px;
}

.subhead h1 {
	font-size: 54px;
}

/* Subnav */
.subnav {
	width: 100%;
	height: 45px;
	background-color: #dbdbdb; /* Old browsers */
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f0f0fa 0%, #dbdbdb 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f0f0fa),
		color-stop(100%, #dbdbdb) );
	background-image: -webkit-linear-gradient(top, #f0f0fa 0%, #dbdbdb 100%);
	background-image: -ms-linear-gradient(top, #f0f0fa 0%, #dbdbdb 100%);
	background-image: -o-linear-gradient(top, #f0f0fa 0%, #dbdbdb 100%);

	background-image: linear-gradient(top, #f0f0fa 0%, #dbdbdb 100%);
}

.subnav .nav {
	margin-bottom: 0;
	margin-top: 6px;
}

.subnav .nav>li>a {
	background: inherit;
	color: #1D4BA8;
	text-shadow: 0 1px 1px #bbb;
}

.nav-pills .dropdown-toggle:hover {
	background-color: #999;
	color: #fff;
}

.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret
	{
	border-top-color: #fff;
	border-bottom-color: #fff;
}

.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret {
	border-top-color: #1D4BA8;
	border-bottom-color: #1D4BA8;
}

ul.pull-right li.dropdown ul.dropdown-menu ul {
	right: inherit;
}

.subnav a {
	color: #1D4BA8;
}

.subnav .nav>.active>a,.subnav .nav>.active>a:hover {
	padding-left: 13px;
	color: #777;
	border-left: 0;
	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .05);
	-moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .05);
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .05);
}

.subnav .nav>.active>a .caret,.subnav .nav>.active>a:hover .caret {
	border-top-color: #777;
}

.subnav .nav>li:last-child>a {
	border-right: 0;
}

.subnav .dropdown-menu {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover
	{
	background-color: #284b7c;
}

.main-container {
	padding: 15px;
	border: 1px solid #ddd;
	background-color: #fff;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 3px;
	margin-bottom: 15px;
}

form {
	margin: 0px;
}

.tooltip-inner {
	max-width: 500px;
}

.nav-tabs {
	margin-bottom: 0px;
}

.tab-content {
	padding-top: 10px;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 0px 0px 4px 4px;
	border-collapse: separate;
}

ul.alert {
	margin: 0 0 10px 0px;
	list-style: none;
}

.btn-group .btn {
	padding: 4px 7px 4px 7px;
	line-height: 10px;
}

/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
@media ( min-width : 980px) {
	.subnav-fixed {
		position: fixed;
		top: 40px;
		left: 0;
		right: 0;
		z-index: 930;
		border-color: #d5d5d5;
		border-width: 0 0 1px; /* drop the border on the fixed edges */
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 1px #999;
		-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 1px #999;
		box-shadow: inset 0 1px 0 #fff, 0 1px 1px #999;
	}
	/* IE6, IE7 -- acts as an !important */
	.subnav-fixed {
		z-index: 960!ie;
	} /* string after ! can be anything */

	/* IE8, IE9 */
	.subnav-fixed {
		z-index: 960\0/;
	} /* must go at the END of all rules */
}

/* Footer
-------------------------------------------------- */
.footer {
	margin-top: 45px;
	padding: 15px 0 5px;
	border-top: 1px solid #e5e5e5;
}

.footer p {
	margin-bottom: 0;
	color: #555;
}

#footer {
	position: relative;
	margin-top: -50px; /* negative value of footer height */
	/*height: 49px;*/
	clear: both;
	padding: 0px;
	background-color: #f5f5f5;
	border-top: 1px solid #D5D5D5;
}

#footer p {
	margin-top: 7px;
	margin-bottom: 0;
	color: #555;
}

/* Misc
-------------------------------------------------- */
/* Remove bottom margin on example forms in wells */
form.well {
	padding: 14px;
}

/* Tighten up spacing */
.well hr {
	margin: 18px 0;
}

/* Fake the :focus state to demo it */
input:focus,textarea:focus,select:focus,.focused {
	border-color: rgba(82, 168, 236, 0.6);
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px
		rgba(82, 168, 236, 0.6);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px
		rgba(82, 168, 236, 0.6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px
		rgba(82, 168, 236, 0.6);
	outline: 0;
	outline: thin dotted 9;
}

@media ( max-width : 480px) { /* Reduce padding above jumbotron */
	body {
		padding-top: 70px;
	}

	/* Change up some type stuff */
	h2 {
		margin-top: 27px;
	}
	h2 small {
		display: block;
		line-height: 18px;
	}
	h3 {
		margin-top: 18px;
	}

	/* Adjust the jumbotron */
	.jumbotron h1,.jumbotron p {
		text-align: center;
		margin-right: 0;
	}
	.jumbotron h1 {
		font-size: 45px;
		margin-right: 0;
	}
	.jumbotron p {
		margin-right: 0;
		margin-left: 0;
		font-size: 18px;
		line-height: 24px;
	}
	.jumbotron .btn {
		display: block;
		font-size: 18px;
		padding: 10px 14px;
		margin: 0 auto 10px;
	}
	/* Masthead (home page jumbotron) */
	.masthead {
		padding-top: 0;
	}

	/* Don't space out quick links so much */
	.quick-links {
		margin: 40px 0 0;
	}
	/* hide the bullets on mobile since our horizontal space is limited */
	.quick-links .divider {
		display: none;
	}
	table code {
		white-space: normal;
		word-wrap: break-word;
		word-break: break-all;
	}
}

@media ( max-width : 980px) {
	.navbar-fixed-top {
		height: auto;
		margin-bottom: 0px;
	}
	.navbar-fixed-top .container {
		height: auto;
	}
	.navbar .brand img {
		max-width: 90px;
	}
	.subhead {
		margin-top: 40px;
	}
	.row>[class*="control-group"] {
		margin-bottom: 9px;
	}
	.subnav .container {
		width: auto;
		padding: 0;
	}
}

@media ( max-width : 768px) { /* Remove any padding from the body */
	body {
		padding-top: 0;
	}

	/* Jumbotron buttons */
	.jumbotron .btn {
		margin-bottom: 10px;
	}

	/* Subnav */
	.subnav {
		position: static;
		top: auto;
		-moz-border-radius: auto;
		width: auto;
		height: auto;
		margin: 0 -20px;
		/* whole background property since we use a background-image for gradient */
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	.subnav .nav {
		margin: 10px;
	}
	.subnav .nav>li {
		float: none;
	}
	.subnav .nav>li>a {
		border: 0;
	}

	/* Popovers */
	.large-bird {
		display: none;
	}
	.popover-well .popover-wrapper {
		margin-left: 0;
	}

	/* Space out the show-grid examples */
	.show-grid [class*="span"] {
		margin-bottom: 5px;
	}

	/* Unfloat the back to top link in footer */
	.footer .pull-right {
		float: none;
	}
	.footer p {
		margin-bottom: 9px;
	}
}

@media ( min-width : 768px) and (max-width: 980px) {
	/* Remove any padding from the body */
	body {
		padding-top: 0;
	}
	.tab-content .control-group {
		margin-left: 5px;
	}
}

@media ( max-width : 980px) { /* Unfloat brand */
	.main-container {
		margin-top: 20px;
	}
	.navbar .brand {
		margin-top: 5px;
	}
	.navbar-fixed-top .brand {
		float: left;
		margin-left: 0;
		padding-left: 10px;
		padding-right: 10px;
	}
	.navbar .divider-vertical {
		display: none;
	}
}

@media ( min-width : 980px) { /* Unfloat brand */
	.tab-content .control-group {
		margin-left: 5px;
	}
	.navbar .nav {
		float: right;
	}
	.subnav-fixed .nav {
		display: inline-block;
		float: right;
	}
	.subnav .nav .dropdown-menu {
		right: 0;
		left: auto;
	}
	
	.subnav .nav .dropdown-menu .dropdown-menu {
		right: inherit;
		left: inherit;
	}
}

/* LARGE DESKTOP SCREENS */
@media ( min-width : 1210px) { /* Update subnav container */
	.navbar .nav {
		float: right;
	}
	.subnav-fixed .nav {
		display: inline-block;
		float: right;
	}
	.tab-content .control-group {
		margin-left: 10px;
	}
	.navbar-fixed-top .container,.navbar-fixed-bottom .container {
		width: 1170px;
	}
}