* {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body,
select,
input[type="text"],
input[type="time"],
input[type="date"] {
	/*
	font-family: -apple-system, BlinkMacSystemFont,
	"Segoe UI", "Roboto", "Oxygen",
	"Ubuntu", "Cantarell", "Fira Sans",
	"Droid Sans", "Helvetica Neue", sans-serif;
	*/
	font-weight: normal;
}

body,
.item-container-fixed-bottom {
	/*background: #f0f0f0;*/
	background: #eaeaea;
}

.title {
	padding: 0 10px;
	text-transform: uppercase;
	font-family: "PT Sans", sans-serif;
	font-size: 1.2em;
	font-weight: 500;
	color: #888888;
	text-align: center;
}

.ta-left {
	text-align: left;
}

body {
	padding-bottom: 3em;
}

p {
	/*margin-top: 0.5em;*/
	/*margin-bottom: 0.5em;*/
	margin-top: 1em;
	margin-bottom: 1em;
}

dl {
}

dt {
	font-weight: bold;
}
dd {
	opacity: 0.66;
}

/*fix success page*/
textarea {
	width: 80%;
	min-height: 4em;
}

.debug-save-note {
	margin-top: 0.5em;
	margin-bottom: 0;
	line-height: 1.4;
}

.debug-save-command {
	display: block;
	width: 100%;
	min-height: 7em;
	padding: 0.9em 1em;
	margin: 0 auto;
	border: none;
	border-radius: 4px;
	background: #ffffff;
	color: #222222;
	box-sizing: border-box;
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, 0.08),
		inset 0 1px 2px rgba(0, 0, 0, 0.06);
	font-family: Menlo, Monaco, monospace;
	font-size: 13px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	resize: vertical;
}
.donation .item-button {
	min-width: 80%;
	margin-bottom: 1em;
}

.activate-button {
	background: #ffc43a;
}

/*expandable*/
.item-container.item-container-expandable {
	padding-bottom: 0;
}
.item-container.item-container-expandable.item-container-expanded {
	padding-bottom: 8px;
}
.item-container-expandable .item-container-header {
	cursor: pointer;
}
.item-container-expandable.item-container-expanded .item-container-header {
	cursor: auto;
}
.item-container-expandable .item-container-header::after {
	content: "▾";
	padding-left: 0.5rem;
}
.item-container-expandable .item-container-content {
	display: none;
}
.item-container-expandable.item-container-expanded .item-container-header::after {
	content: "";
}
.item-container-expandable.item-container-expanded .item-container-content {
	display: block;
}

/*white skin*/
.tab-buttons-wrap {
	display: table;
	width: 100%;
	box-sizing: border-box;
	table-layout: fixed;

	border-radius: 5px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.33);
}
.tab-button {
	position: static;
	right: 0;
	background: #fff;
}

.tab-button.active {
	/*position: relative;*/
	/*top: 1px;*/
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.33);
	border: none;
	padding-left: 6px;
	z-index: 1;
}

.item-container-content {
	background: none;
	border: none;
}

.item {
	/*
	padding-top: 0;
	padding-bottom: 5px;
	*/
}

/*---*/

.item-container {
	border-top: 1px solid #ddd;
	margin-top: 0;
	padding-top: 6px;
	padding-bottom: 9px;

	/*background: linear-gradient(to bottom, rgb(241, 241, 241) 0%, rgb(230, 230, 230) 100%);*/
	/*background: linear-gradient(to bottom, rgb(249, 249, 249) 0%, rgb(245, 245, 245) 100%);*/
}
.item-container-no-header {
	/* padding-top: 15px; */
	padding-top: 9px;
}

.button {
	display: inline-block;
	line-height: 2.5em;
	vertical-align: baseline;
}

.button-light {
	background: #fff;
	color: #333;
	width: inherit;
	padding-left: 2em;
	padding-right: 2em;
}

.item.no-border {
	border: none;
}

.item-input-wrapper {
	border-width: 1px;
	background: white;
}

.center {
	text-align: center;
}

.error {
	color: darkred;
	font-weight: bold;
	margin-bottom: 0.5em;
}
.input-invalid-email {
	box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.5);
}

.spacer {
	height: 0.66em;
}
.hr {
	border-bottom: 1px solid lightgrey;
	width: 3em;
	margin: 0.33em auto;
}

.section-margin {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.note {
	font-style: italic;
	color: gray;
}

.light {
	color: lightgrey;
}

.small {
	font-size: 82%;
}

.tiny {
	font-size: 66%;
}

.tiny-line {
	font-size: 66%;
	line-height: 0.66em;
}

.black {
	color: black;
}

.item.tab-buttons .content {
	display: inline-block;
	vertical-align: bottom;
}

.pro,
.new {
	display: inline-block;
	border-radius: 2px;
	border: none;
	box-shadow: 0 0 0 1px #f7f7f7;
	background: black;
	color: white;
}

.gold-bar .pro {
	padding: 4px 4px 1px 4px;
	margin: -4px 0 -1px 0;
}

.item-container .pro,
.new {
	vertical-align: super;

	line-height: 8px;
	font-size: 8px;
	font-weight: bold;
	height: 7px;

	position: relative;
	top: -0.33em;

	padding: 1px 2px;
}

.new {
	background: #ffd100;
	color: black;
	box-shadow: none;
	margin-left: 0.33em;
}

.emoji-large .content {
	font-size: 166%;
}

.hidden {
	display: none;
}

#map-wrap img {
	max-width: 100%;
}
#map-wrap .loc {
	color: gray;
}

.help img {
	max-width: 100%;
}

.gold-bar {
	padding-top: 0.5em;
	/*padding-top: 1.2em;*/

	text-transform: uppercase;
	font-size: 80%;
	line-height: 1em;
}

.gold-bar.with-star .content {
	margin-left: -1em;
}

.debug-block {
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
	word-break: break-all;
}

#paypal-form {
	margin-bottom: 0.5em;
}

select:not([multiple]) {
	-webkit-appearance: none;
	-moz-appearance: none;
	background-position: right 50%;
	background-repeat: no-repeat;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
	padding: 0.5em;
	padding-right: 1.5em;
	border: none;
	/*border: 1px solid #666;*/
	border-radius: 4px;
	background-color: #fff;
}
select:not([multiple]):active {
	/*background-color: #bbb;*/
}

select.select-amount {
	text-align: center;
	/*font-size: 1.2em;*/
	padding-left: 1em;
	padding-right: 1em;
	/*line-height: 2em;*/
	min-height: 3em;
	margin: 0.25em 1em;

	max-width: 80%;
	/* wrap in chrome: */
	white-space: pre-wrap;
}

.donate {
	margin: 0.25em 1em;
}

.button {
	position: relative;
	border-radius: 4px;
	box-shadow:
		0 1px 1px rgba(0, 0, 0, 0.3),
		0 2px 8px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.button:active {
	top: 2px;
	box-shadow:
		0 1px 1px rgba(0, 0, 0, 0.3),
		0 1px 4px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.item-radio + .item-styled-radio {
	background: white;
}
.item:not(:first-child) {
	border-top: 1px solid #eaeaea;
}

.radios label {
	margin-left: 10px;
	margin-right: 10px;
	background: white;
}
.radios label:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
.radios label:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.item-input,
.input-copy {
	line-height: 2em;
}

#paypal-state {
	border-radius: 2px;
	margin: 0 auto;
	background: darkgray;
	color: white;
}

input[type="text"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.force-select {
	-webkit-user-select: all;
	-moz-user-select: all;
	-ms-user-select: all;
	user-select: all;
}

.input-copy {
	display: block;
	padding: 0.75em 0 0.5em 0;
	/*padding: 0.75em;*/
	/*line-height: 1.5em;*/

	margin: 0 auto;
	margin-bottom: 0.5em;
	border: 1px solid #ddd;
	border-radius: 4px;
	width: 90%;
	text-align: center;

	background: #eaeaea;
	box-shadow: none;

	-webkit-user-select: text;
	user-select: text;
}

.input-copy-light {
	background: white;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.swiper {
	padding: 0;
	height: 188px;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
}

.swiper-line {
}
.swiper-box {
	position: relative;
	margin: 10px 10px;
	display: inline-block;
}
.swiper-box img {
	width: 144px;
	height: 168px;

	border-radius: 4px;
	image-rendering: pixelated;

	text-align: center;
}
.swiper-box.selected img {
	-webkit-box-shadow:
		0 0 0 2px #fff,
		0 0 0 5px #ff4700;
	box-shadow:
		0 0 0 2px #fff,
		0 0 0 5px #ff4700;
}
.swiper-box .pro {
	position: absolute;
	top: -4px;
	right: -4px;
	z-index: 10;
}

/* overlay */

.overlay {
	position: fixed;
	z-index: 1000;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.8);

	padding: 0.5em;
	padding-top: 2.5em;
}
.overlay .close {
	display: block;
	position: absolute;
	top: 1em;
	right: 1em;
	z-index: 1001;

	width: 10em;
	height: 1.5em;
	font-size: 1em;
	line-height: 1.5em;

	color: white;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	text-align: right;
}
.overlay .wrap {
	width: 100%;
	/* height: 100%; */
	height: 8em;
	position: relative;

	border: none;
	background: lightgray;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);

	border-radius: 5px;
}
.overlay #add-location-iframe-wrap {
	width: 100%;
	height: 100%;
}
.overlay iframe,
.overlay .loading {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;

	border-radius: 5px;
}
.overlay iframe {
	border: none;
	z-index: 1010;
}
.overlay .loading {
	text-align: center;
	padding-top: 2em;
	z-index: 1003;
}

/*fix buttons*/
#location-search {
	height: 36px;
	top: 10px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
#location-name {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.add-location-status {
	margin: 0.5rem 0 0;
	padding: 0 0.125rem;
	font-size: 0.72rem;
	line-height: 1.35;
	color: #bbb;
	text-align: left;
}

.add-location-suggestions {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.add-location-suggestions li + li {
	border-top: 1px solid #eaeaea;
}

.add-location-suggestion-button {
	display: block;
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: none;
	background: #fff;
	color: #333;
	font: inherit;
	line-height: 1.25;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
}

.add-location-suggestion-button:active {
	background: #f2f2f2;
}

/* BLACK */
body {
	color: #fff;
	background: black;
}

.item-container {
	margin: 8px;
	padding: 0;
	padding-bottom: 8px;
	border-radius: 8px;
	background: #444;
	border: none;
	color: white;
}
.item-container.item-container-top-padding {
	padding-top: 8px;
}

.item-container.item-container-pro {
	background: #fbc621;
	color: black;
}
.item-container.item-container-pro .item-container-header {
	color: black;
}

.item-container.item-container-alert {
	/* background: #fbc621; */
	background: #796010;
	color: black;
	text-align: center;
}

.item-container-header,
.item-container-content,
.item-container-footer {
	color: white;
	padding: 4px 8px;
}
.item-container-header,
.item-container-footer {
	text-align: center;
}
.item-container-footer {
	color: #bbb;
}
.item-container-content.item-container-content-no-padding {
	padding-left: 0;
	padding-right: 0;
}
.item-container-fixed-bottom {
}
label {
	color: black;
}
.tab-buttons,
label.item {
	padding-left: 0;
	padding-right: 0;
}
.radios label {
	margin-left: 0;
	margin-right: 0;
	padding-left: 8px;
	padding-right: 8px;
}
/*
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
:-moz-placeholder {
	color: pink;
}
*/
.light {
	color: grey;
}
.overlay .wrap {
	color: white;
	background: black;
	border-radius: 8px;
}

/* tighten */
.tab-buttons {
	padding-top: 0;
	padding-bottom: 0;
}
p {
	margin-top: 0;
	margin-bottom: 0;
}
p + p,
p + dl {
	margin-top: 1em;
}
dt {
	margin-top: 1em;
}

/* swiper tweak */
.swiper::before {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}

/* SLATE black restyle */
/*
.tab-button {
	background: #888;
	color: black;
}
*/

/* OVERRIDES */
.item-container-fixed-bottom {
	position: fixed;
	/* this might be incompatible? */
	/* position: sticky; */
	bottom: 0;
	left: 0;
	right: 0;

	margin: 0;
	padding-top: 8px;
	padding-bottom: 8px;

	/*border-top: 1px solid #dedede;*/
	/*border-top: 1px solid rgba(0,0,0,0.33);*/
	box-shadow:
		0 0 1px rgba(0, 0, 0, 0.33),
		0 0 20px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 0;

	z-index: 9999;

	/* might fix disappearing footer on webview? */
	-webkit-transform: translateZ(0);
	-webkit-backface-visibility: hidden;
}

.left {
	text-align: left;
}
