body {
	margin-bottom: 1in;
}

.header {
	background-color: #fb7;
	width: 100%;
	top: 0;
	left: 0;
	display: block;
	text-align: center;
	border-bottom: 2px solid #c84;
	margin-bottom: 1em;
}

img.logo {
	height: 1in;
	margin: 0 auto;
}

img.logo-small {
	height: 0.5in;
	margin: 0 0.5em 0 0;
}

a.logout {
	color: black;
	position: absolute;
	top: 0.2in;
	right: 2em;
}

hr {
	border-top: 2px solid #808;
}

nav.navbar {
	background-color: #fb7;
}

nav.navbar.admin {
	background-color: #8fa;
}

nav.navbar a.nav-link {
	position: relative;
}

nav.navbar span.badgeable {
	position: relative;
}

nav.navbar .navbar-badge {
	position: absolute;
	right: -0.8em;
	top: -0.8em;
	font-size: 80%;
	background-color: red;
	color: white;
	width: 1.5em;
	height: 1.5em;
	border-radius: 2em;
	text-align: center;
	display: none;
}

#total-badge {
	top: 1em;
	right: 1em;
	font-size: 65%;
	padding-top: 0.2em;
}

#announcements {
	display: block;
	width: 100%;
	text-align: center;
	background-color: #ffddc0;
	padding: 0.2em;
}

#announcements p {
	margin: 0.1em;
}

.container.main {
	margin-top: 1em;
}

h1.title {
	margin-top: 0.5em;
	margin-bottom: 0;
	color: #404;
}

h2.subtitle {
	font-weight: lighter;
	margin-top: 0;
	margin-bottom: 1em;
	border-bottom: 2px solid #808;
	color: #808;
}

h2 > .btn {
	margin-left: 1em;
}

form .row {
	margin-top: 1em;
}

input[name=signup_code] {
	font-family: monospace;
}

span.signup-invitation {
	margin-left: 1em;
}

span.signup-invitation a {
	margin-left: 1em;
}

.admin_heading {
	color: #c84;
}

.error {
	color: red;
}

.clip {
	overflow: hidden;
}

.no-results {
	color: #777;
}

.highlighted-for-error {
	border: 2px solid red;
	background-color: rgba(255, 0, 0, 15%) !important;
}

span.label-note {
	color: #888;
	font-size: 80%;
	margin-left: 1em;
}

span.label-note.required {
	color: #f66;
	margin-left: 0.5em;
}

.cookie-notice {
	position: fixed;
	bottom: -1em;
	left: -1em;
	display: block;
	padding: 1em 3em;
	background-color: rgb(250, 223, 191);
	border: 1px solid rgba(204, 136, 68, 0.5);
}

.cookie-notice p {
	font-size: 90%;
	color: #666;
	font-style: italic;
}

/* INDEX */

#asks {
	margin-bottom: 2em;
}

a.view-all {
	color: #555;
	font-size: 85%;
}

ul.ask-list {
	list-style: none;
	padding-left: 0;
}

ul.ask-list li {
/*	padding-left: 1em;
	border-left: 3px solid #ccc;
	margin: 0.5em;
*/
}

ul.ask-list a {
	color: black;
	text-decoration: none;
}

ul.ask-list li {
	position: relative;

}

ul.ask-list .ask-timestamp {
	display: block;
	margin-right: 1em;
	text-align: right;
}

ul.ask-list .ask-content {
	margin: 0 1em 1em 1em;
	border-radius: 3px;
	padding: 0.2em 0.5em;
	background-color: rgba(255, 220, 191, 0.4);
	border: 1px solid rgba(204, 136, 68, 0.5);
	position: relative;
}

ul.ask-list .ask-comments-badge {
	margin-left: 1em;
	font-size: 75%;
	padding: 0.2em 0.5em;
	background-color: rgba(204, 136, 68, 0.5);
	display: inline-block;
	border-radius: 1em;
	position: absolute;
	right: 0.7em;
	top: 0.3em;
}

#view-options {
	margin-bottom: 1em;
}

.item-container {
	display: inline-block;
	max-width: 2in;
	height: 3.5in;
	vertical-align: top;
	margin: 0.5em;
	overflow: hidden;
	border: 1px solid #eee;
	background: linear-gradient(white 80%, #eee 100%);
	border-radius: 3px;
	color: #212529;
	text-decoration: none;
	position: relative;
}

.item-container img {
	width: 100%;
	height: 2in;
	object-fit: cover;
}

.item-container .item-info {
	margin: 1em;
}

.item-container h1 {
	font-weight: normal;
	font-size: 120%;
}

.item-container h2 {
	font-weight: normal;
	font-size: 100%;
	color: #666;
}

.item-container .gradient-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2em;
	background: linear-gradient(rgba(246, 246, 246, 0.0), rgba(238, 238, 238, 1.0));
}

.unavailable-banner {
	background: linear-gradient(#c00, #900);
	color: white;
	text-align: center;
	rotate: -30deg;
	position: absolute;
	top: 0.2in;
	left: -0.5in;
	width: 2in;
}


/* ITEM */

.breadcrumbs {
	padding-left: 0;
}

.breadcrumbs li {
	display: inline-block;
	margin: 0 0.3em 0 0;
}

.breadcrumbs li::before {
	content: " | ";
}

.breadcrumbs li:first-child::before {
	content: "< ";
}

#item-meta {
	margin: 0.5em 0;
}

#item-meta div {
	vertical-align: bottom;
}

.item-number {
	color: #888;
	display: inline-block;
}

.tag {
	font-size: 80%;
	color: black;
	background-color: #cfc;
	display: inline-block;
	margin-left: 1em;
	padding: 0.2em 1em;
	border-radius: 5em;
	border: 0.5px solid #7a7;
}

.tag .remove-tag {
	color: #555;
	margin-left: 0.5em;
	text-decoration: none;
	font-weight: bolder;
}

.no-categories {
	font-size: 80%;
	color: #888;
	margin-left: 1em;
}

.image-column {
	padding-left: 0;
}

img.full {
	width: 100%;
}

.timestamp {
	font-size: 80%;
	color: #888;
}

.comments {
	padding-left: 0;
}

.comments li {
	list-style: none;
	font-weight: lighter;
	margin-top: 1em;
}

.comments li .name {
	font-size: 80%;
	font-weight: normal;
	color: #888;
	display: inline-block;
	margin-right: 1em;
}

.comments li .timestamp {
	display: inline-block;
	text-align: right;
}

.comments li .content {
	display: block;
}

.comments li.reply {
	margin-left: 1em;
}

blockquote#reply-parent {
	color: #888;
	border-left: 3px solid #aaa;
	padding-left: 0.5em;
}

.modal-body label {
	margin-top: 1em;
}

.modal-body label:first-of-type {
	margin-top: 0;
}

.img-preview {
	width: 200px;
	height: 150px;
	object-fit: cover;
}


/* ASK */

h1.ask-header {
	font-size: 125%;
}

.ask-description {
	margin-left: 1em;
	padding: 1em 0 0.1em 1em;
	border-left: 3px solid rgb(204, 136, 68);
}


/* HISTORY */

.history {
	padding-left: 0;
}

.history li {
	list-style: none;
	margin-bottom: 0.5em;
}

.history .timestamp {
	font-size: 80%;
	color: #888;
	display: inline-block;
	text-align: right;
}

.history .content {
	display: block;
}

.history .type {
	margin-right: 0.5em;
}

.history a {
	text-decoration: none;
	color: black;
}

.history-additional-content {
	font-size: 90%;
	color: #666;
	margin: 0.5em 0 1em 2.5em;
	padding-left: 0.7em;
	border-left: 3px solid #888;
}

#changelog>li {
	margin-top: 1em;
	list-style: none;
}

#changelog li.date {
	color: #808;
	margin-right: 1em;
}

#changelog li.date li {
	color: #333;
	margin-top: 0.5em;
}

.notification-list {
	padding-left: 0;
}

.notification-list li {
	list-style: none;
	margin-bottom: 1em;
}

.notification-list a {
	color: black;
	text-decoration: none;
}

.notification-unread {
	display: inline-block;
	vertical-align: top;
	padding-top: 1.3em;
	width: 2em;
}

.notification-container {
	display: inline-block;
	vertical-align: top;
}

.notification-mark-read-button {
	padding: 0 0.5em;
}

.markdown p {
	margin-bottom: 0.4em;
}

.markdown p:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	.header {
		text-align: left;
	}
	img.logo {
		max-width: 75%;
	}
	#view-options {
		margin-left: 1em;
		margin-right: 1em;
	}
	.item-list {
		text-align: center;
	}
	.item-container {
		max-width: 80%;
		height: 2.5in;
		text-align: left;
	}
	.item-container img {
		height: 1.5in;
	}
	.item-info {
		margin: 0;
	}
	p.description {
		margin-top: 1em;
	}
}