@media (min-width: 768px) {
	.nav > li > a {
		/* Add margin to ensure adjacent buttons don't "stick to" this item: */
		margin-left: 10px;
		margin-right: 10px;
		padding-left: 40px;
		padding-right: 40px;
	}
}

.navbar-btn {
	padding-left: 10px;
}

/*
 * When jumping to on-page links such as /changelog#v0.4.2, the fixed navbar
 * overlaps and thus obscures the link target. This workaround fixes this:
 */
h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, p[id]:before {
	display: block;
	content: " ";
	margin-top: -60px;
	height: 60px;
	visibility: hidden;
}

pre {
	-moz-tab-size: 4;
	-o-tab-size:   4;
	tab-size:      4;
}

li pre {
	margin-top: 10px;
}

code {
	box-shadow: 1px 1px #C6BFC1;
	/*
	 * The box-shadow is visually very "bottom-heavy". Use padding-top and
	 * padding-bottom to shift everything back up a little:
	 */
	padding-top: 3px;
	padding-bottom: 0;

	padding-right: 3px;
	margin-right: 1px;
}

.windows .apple-only, .linux .apple-only, .android .apple-only,
.mac .hide-on-apple, .ios .hide-on-apple
{
	display: none;
}

.home .title h1 {
	font-size: 48px;
}

.jumbotron.less-padding-pottom {
	padding-bottom: 30px;
}

.screenshot {
	text-align: center;
}

.screenshot img, .screenshot video {
	max-width: 100%;
}

p + .screenshot, .screenshot + p, .row.screenshot + .row {
	margin-top: 20px;
}

.panel .screenshot {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

.more-margin-top {
	margin-top: 20px;
}

.much-more-margin-top {
	margin-top: 30px;
}

.more-margin-bottom {
	margin-bottom: 20px;
}

.much-more-margin-bottom {
	margin-bottom: 30px;
}

.download-button-container {
	text-align: center;
}

.download-button {
	padding: 12px 18px;
}

.download-button-container a.other-platforms {
	display: block;
	color: #666;
	text-decoration: underline;
	margin-top: 10px;
	font-weight: 300;
}

.download-button-container a.other-platforms:hover {
	color: #080808;
}

@media (min-width: 992px) {
	.feature:first-of-type {
		margin-top: 20px;
	}
}

.feature {
	margin-bottom: 30px;
}

.feature:last-of-type {
	margin-bottom: 0;
}

.feature-plugins .screenshot {
	height: 250px;
	overflow: hidden;
}

.feature-plugins .screenshot video {
	position: relative;
	top: -84px;
}

@media (min-width: 992px) {
	.feature-plugins h2 {
		margin-top: 60px;
	}
}

span.key {
	font-style: italic;
}

#quicksearch-demo {
	background-color: #404040;
	padding: 3px;
}

#quicksearch-demo > div {
	padding: 0;
	border: 1px solid #404040;
	border-bottom-color: #8e8e8e;
}

#quicksearch-demo > div > div {
	padding: 0;
	border: 1px solid #2c2c2c;
}

#quicksearch-demo input {
	padding-left: 2px;
	outline: none;
	width: 100%;
	background-color: #e6e6e6;
	border: 1px solid #dddddd;
	border-top-color: #aeaeae;
	border-left-color: #c9c9c9;
	border-right-color: #d0d0d0;
}

#quicksearch-demo ul {
	list-style: none;
	background-color: #404040;
	margin-top: 2px;
	margin-left: 2px;
	margin-right: 2px;
	margin-bottom: 0;
	padding: 0;
}

#quicksearch-demo ul li {
	color: #c8c8c8;
	border-top: 1px solid #4d4d4d;
	border-bottom: 1px solid #363636;
	padding-left: 2px;
}

#quicksearch-demo ul li.active {
	background-color: #575757
}

#quicksearch-demo ul span.highlight {
	color: white;
}

#quicksearch-demo .quicksearch-hint {
	color: white;
	font-size: 80%;
	float: right;
	margin-right: .5ex;
	margin-top: .25ex;
}

.commits h5 {
	color: #999;
}

.commits .list-group-item {
	padding: 8px 12px;
}

.commits .list-group-item .row {
	display: flex;
	align-items: center;
}

.commits .commit-info {
	padding-left: 0;
}

.commits .commit-info h4 {
	font-size: 14px;
}

.commits .commit-info p {
	font-size: 12px;
}

.no-border {
	border: none;
}

.download .icon {
	width: 64px;
	margin-top: 85px;
}

.download .icon-caption {
	margin-top: 10px;
	font-size: 12px;
	color: #333;
	font-weight: 300;
	line-height: 1.5;
}

.docs h1 {
	margin-bottom: 20px;
}

.docs h2 {
	font-size: 24px;
}

.docs h3 {
	font-size: 20px;
}

.docs h4 {
	font-size: 16px;
}

dl.bulleted {
	list-style-type: disc;
	margin-left: 30px;
}

dl.bulleted dt {
	display: list-item;
}

ul.tree {
	margin-left: 40px;
}

ul.tree, ul.tree ul {
	padding-left: 20px;
	list-style: none;
	line-height: 2em;
}

ul.tree li {
	position: relative;
}

ul.tree li:before {
	position: absolute;
	left: -15px;
	top: 0;
	content: '';
	display: block;
	border-left: 1px solid #ddd;
	height: 1em;
	border-bottom: 1px solid #ddd;
	width: 10px;
}

ul.tree li:after {
	position: absolute;
	left: -15px;
	bottom: -7px;
	content: '';
	display: block;
	border-left: 1px solid #ddd;
	height: 100%;
}

ul.tree li.tree-root {
	margin: 0 0 0 -40px;
}

ul.tree li.tree-root:before, ul.tree li.tree-root:after {
	display: none;
}

ul.tree li:last-child:after {
	display: none;
}

.api-nav {
	font-size: 12px;
}

.api-nav .h4, .api-nav h4 {
	font-size: 13px;
}

.api-nav ul + h4 {
	margin-top: 20px;
}

.api-body .h2, .api-body h2,
.api-body .h3, .api-body h3 ,
.api-body .h4, .api-body h4,
.api-body .h5, .api-body h5,
.api-body h6 {
	margin-top: 30px;
}

.api-body h4 + h4 {
	margin-top: 0;
}

.faq .title, .changelog .title {
	text-align: center;
}

.changelog .title h1, .faq .title h1 {
	font-size: 48px;
}

.faq .title h1 {
	font-size: 42px;
}

.buy p {
	margin-bottom: 20px;
}

.buy .title + p, .changelog .title + p, .buy h2, .changelog h2 {
	margin-top: 40px;
}

span[data-toggle="tooltip"] {
	cursor: default;
}

.buy h2, .faq h2 {
	font-size: 18px;
}

.thank-you {
	margin-top: 40px;
}

.thank-you .lead {
	margin-top: 45px;
	margin-bottom: 35px;
}

.thank-you p + form, .thank-you form + p {
	margin-top: 30px;
	margin-bottom: 30px;
}

.thank-you h2, .thank-you .h2 {
	font-size: 24px;
}

.thank-you p.lead + h2 {
	margin-top: 100px;
}

.thank-you-download p {
	font-size: 16px;
}

.thank-you-download p.lead {
	font-size: 21px;
}

.thank-you-download pre {
	white-space: pre-wrap;
	word-break: keep-all;
}

.lead2 {
	font-size: 1.25em;
	margin-top: 20px;
}

.blog {
	margin-bottom: 20px;
}

.blog p + .jumbotron {
	margin-top: 25px;
	padding: 32px 45px;
}

.blog .jumbotron p {
	line-height: 1.9;
	margin-bottom: 0;
	font-size: 19px;
}

.blog-post {
	margin-top: 60px;
	font-size: 16px;
	line-height: 1.5;
}

.blog-post-title {
	margin-bottom: 5px;
	font-size: 40px;
}

.blog-post-title a {
	color: inherit;
}

.blog-post-title a:hover {
	color: #23527c;
}

.blog-post-meta {
	margin-bottom: 20px;
	color: #999;
	font-size: 18px;
}

.blog #include_source-container {
	margin-top: -15px;
	margin-bottom: 15px;
}

@media (max-width: 992px) {
	.blog-sidebar {
		margin-top: 30px;
	}
}

@media (min-width: 992px) {
	.blog-sidebar {
		margin-top: 70px;
		font-size: 13px;
	}
}

.blog-sidebar .thumbnail {
	margin-bottom: 10px;
}

.blog-sidebar .rss-link {
	margin-top: 10px;
}

.vertical-align {
    display: flex;
    align-items: center;
}

.quote-picture {
	max-width: 100%;
	margin-top: 12px;
	margin-left: 12px;
}

@media (max-width: 1200px) {
	.quote-picture {
		margin-left: 26px;
	}
}

@media (max-width: 992px) {
	.quote-picture {
		margin-left: 22px;
	}
}

.changelog .screenshot {
	margin-top: 20px;
	margin-bottom: 20px;
}

/*
 * Need to restrict on media to make the selector specific enough to be applied.
 */
@media all {
	.jumbotron.jumbotron-inline {
		display: inline;
		height: auto;
		width: auto;
		padding: 5px 10px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 798px;
	}
	.api.container {
		/* Reset the declaration above */
		max-width: none;
	}
	.blog.container, .buy.container, .faq.container {
		max-width: 992px;
	}
}

.transaction {
	margin-top: 50px;
}

.transaction h1 {
	margin-bottom: 30px;
}

.green {
	color: green;
}

.red {
	color: red;
}

.orange {
	color: orange;
}

.modal-danger .modal-header {
	color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.modal-danger .modal-content {
	/* The previous declaration makes the top border corners straight instead */
	/* of rounded. Fix this: */
	overflow: hidden;
}

.footer {
	color: #999;
	border-top: 1px solid #eee;
	padding-top: 20px;
	padding-bottom: 15px;
}

html.footer-at-bottom, .footer-at-bottom body {
	height: 100%;
}

/* Move down content because we have a fixed navbar that is 50px tall */
.main-content-wrapper {
	padding-top: 50px;
	padding-bottom: 20px;
}

.footer-at-bottom .main-content-wrapper {
	min-height: 100%;
}

.footer-at-bottom .main-content {
	overflow: auto;
	padding-bottom: 120px; /* must be larger than the footer height */
}

.footer-at-bottom .footer {
	position: relative;
	height: 80px;
	margin-top: -80px; /* negative value of footer height */
	clear: both;
}