.header-link {
	text-align: center;
	font-size: 24px;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.header-link > a {
	color: #563D7C;
}

.sub-header {
	padding-top: 25px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.sub-header2 {
	padding-top: 10px;
}

.file {
	color: #999;
}

.file:hover {
	color: #563D7C;
}

pre, code {
	font-size: 14px;
	border: 0;
}

pre.description {
	background: none;
	margin: 0;
	padding: 0;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
}

pre.syntax {
	padding: 6px 8px;
	color: #369;
	background-color: #f9f2f4;
	border-radius: 4px;
	border: 0;
	margin: 30px 0;
}

.bs-callout > .syntax {
	margin-top: 0;
}

dd {
	margin-left: 30px;
	margin-bottom: 20px;
}

.b {
	font-weight: bold;
}

.mono {
	color: #369;
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.type {
	color: #693;
}

a.type {
	border-bottom: 1px dotted #693;
}

a.type:hover {
	text-decoration: none;
	border-bottom-style: solid;
}

/* Hide for mobile, show later */
.sidebar {
	display: none;
}

.nav-functions {
	display: none;
}

.nav-functions .panel-sidebar {
	padding: 15px 0;
}

.nav-sidebar > li > a {
	padding: 0 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
	color: #fff;
	background-color: #428bca;
}

.permalink {
	color: #FFF;
}

.permalink:hover {
	color: #F5F7FA;
}

.panel-info > .panel-heading > .permalink {
	color: #31708F;
}

.panel:target {
	border-color: #faebcc;
}

.panel:target > .panel-heading {
	color: #8a6d3b;
	background-color: #fcf8e3;
	border-color: #faebcc;
}

.container-fluid {
	padding: 20px;
}

.footer {
	border-top: 1px solid #eee;
	text-align: right;
	padding-top: 10px;
	margin-top: 20px;
}

.page-header .badge,
.sub-header2 .badge {
	vertical-align: middle;
}

.table td > p:last-child {
  margin-bottom: 0;
}

#js-functions > .panel {
	margin-top: 20px;
}

#js-search-clear {
	position: absolute;
	position:absolute;
	right: 28px;
	margin-top: -28px;
	font-size: 18px;
	cursor: pointer;
	color: #777;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px
}

.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px
}

.bs-callout p:last-child {
    margin-bottom: 0
}

.bs-callout code {
    border-radius: 3px
}

.bs-callout+.bs-callout {
    margin-top: -5px
}

.bs-callout-info {
    border-left-color: #1b809e
}

.bs-callout-info h4 {
    color: #1b809e
}

.bs-callout-danger h4 {
    color: #ce4844
}

.bs-callout-warning {
    border-left-color: #aa6708
}

.bs-callout-danger {
    border-left-color: #ce4844
}

.bs-callout-warning h4 {
    color: #aa6708
}

@media (min-width: 768px) {
	body {
		margin-left: 300px;
	}
	
	.container-fluid {
		padding-right: 40px;
		padding-left: 40px;
	}
	
	.sidebar {
		position: fixed;
		top: 0px;
		bottom: 0;
		left: 0;
		z-index: 1000;
		display: block;
		width: 300px;
		padding: 20px;
		overflow-x: hidden;
		overflow-y: scroll;
		background-color: #f5f5f5;
		border-right: 1px solid #eee;
	}
}

/**
 * NProgress - http://ricostacruz.com/nprogress
 */
#nprogress {
	pointer-events: none;
}

#nprogress .bar {
	background: #29d;
	position: fixed;
	z-index: 1031;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
}

#nprogress .peg {
	display: block;
	position: absolute;
	right: 0px;
	width: 100px;
	height: 100%;
	box-shadow: 0 0 10px #29d, 0 0 5px #29d;
	opacity: 1.0;
	
	-webkit-transform: rotate(3deg) translate(0px, -4px);
	  -ms-transform: rotate(3deg) translate(0px, -4px);
	      transform: rotate(3deg) translate(0px, -4px);
}

#nprogress .spinner {
	display: block;
	position: fixed;
	z-index: 1031;
	top: 15px;
	left: 15px;
}

#nprogress .spinner-icon {
	width: 18px;
	height: 18px;
	box-sizing: border-box;

	border: solid 2px transparent;
	border-top-color: #29d;
	border-left-color: #29d;
	border-radius: 50%;

	-webkit-animation: nprogress-spinner 400ms linear infinite;
	      animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
	overflow: hidden;
	position: relative;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
	position: absolute;
}

@-webkit-keyframes nprogress-spinner {
	0%   { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes nprogress-spinner {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
