* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	max-width: 670px;
	margin: 0 auto;
	overflow: hidden;
}

:root {
	--main-color: #05ce78;
}

.hidden {
	display: none;
}

.inherit-counter {
	display: none;
}

summary::-webkit-details-marker {
  display: none;
}
summary:after {
  border-radius: 5px;
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0c9";
  color: darkgrey;
  float: left;
  font-weight: bold;
  margin: -1px 5px 0 -10px;
  padding: 0;
  text-align: center;
  width: 30px;
	transition: color 0.2s;
}
summary:hover:after {
	color: #222;
}
details[open] summary:after {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f078";
}

/* START temporary work environment */
.alert {
	font-size: 0.7em;
}
#feed {
	display: block;
	background-color: #EAEAEA;
	padding: 7.5px 15px;
	opacity: 0.5;
	margin-top: 30px;
	border-radius: 5px;
}
@media only screen and (max-width: 600px) {
  .alert, #feed { display: none; }
}
/* END temporary work environment */

html {
	font-family: Roboto, sans-serif;
	line-height: 1.5em;
}
body {
	padding: 1em;
}
a {
	text-decoration: none;
	color: var(--main-color);
}
a.patreon { color: #f96854 !important; }
span.hoverOver {
	border-bottom: 1px dotted lightgrey;
}
button {
	transition: opacity 0.2s;
	padding: 5px 7px;
	background-color: #F5F5F5;
	border: 1px solid lightgrey;
}
button:hover {
	opacity: 0.8;
}

#leftColumn, #rightColumn {
	float: left;
	flex: 1;
}

#rightColumn {
	max-width: 300px;
	margin-left: 15px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.main {
	display: flex;
}

/* SCREEN SIZES */
@media only screen and (max-width: 600px) {
	.main {
		flex-direction: column;
	}
	#rightColumn {
		max-width: none;
		margin-top: 15px;
		margin-left: 0;
	}
	#leftColumn {
		display: flex;
		align-items: baseline;
		flex-wrap: wrap;
		margin-left: -30px;
	}
	#leftColumn > div {
		flex: 1;
		align-items: end;
	}
	#colorPickerContainer {
		min-width: 267px;
		margin-left: 15px;
	}
	#canvasContainer {
		margin-left: 15px;
		min-width: 200px;
	}
}

/* LEFT COLUMN */
#canvasContainer {
	position: relative;
	width: 100%;
	min-height: 300px;
	background-color: #EAEAEA;
	background-size: cover;
	border-radius: 5px;
	overflow: auto;
	box-shadow: inset 5px 20px 100px 0 rgba(10,70,95,0.5);
}
#canvasContainer::-webkit-scrollbar {
	background-color: #EAEAEA;
	width: 10px;
	height: 10px;
}
#canvasContainer::-webkit-scrollbar-thumb {
	background-color: darkgrey;
}
#tokenCanvas {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto !important;
	height: auto !important;
	max-height: 100%;
	max-width: 100%;
}
#colorPickerContainer, #artistCredit {
	margin-top: 15px;
	height: 150px;
	background-color: #F4F4F4;
	overflow: hidden;
	border-radius: 5px;
}
#colorPickerContainer {
	position: relative;
	display: flex;
	justify-content: center;
}
#colorPickerContainer .colorPickerIntro {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: darkgrey;
}
#colorPickerContainer>div {
	background-color: #F4F4F4;
}

#artistCredit {
	height: auto;
	font-size: 0.8em;
	line-height: 45px;
}
#artistCredit .close {
	background-color: transparent;
	margin: 0;
	width: 45px;
	font-weight: bold;
	padding: 0;
	border: 0;
	outline: 0;
	text-align: center;
	font-size: 1.4em;
	position: relative;
	top: 1px;
	line-height: 40px;
	color: darkgrey;
	transition: color 0.2s;
}
#artistCredit .close:hover {
	color: #222;
}

/* RIGHT COLUMN */
#rightColumn, .menu {
	position: relative;
	overflow: hidden;
}
#rightColumn p, #rightColumn ul, #rightColumn ol {
	margin: 0 0 8px 0;
}
#rightColumn p, #rightColumn li {
	line-height: 1.5em;
	font-size: 0.75em;
}
#rightColumn li {
	margin-left: 15px;
	line-height: 1.25em;
	margin-bottom: 5px;
}
#rightColumn .row p:last-of-type {
	margin-bottom: 0;
}
.groupHeader, .row {
	position: relative;
	padding: 12px 15px;
	outline: 0;
	justify-content: space-between;
	line-height: 32px;
}
.row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.menu details summary {
	margin: -12px -15px 0 -15px;
	margin-bottom: 12px;
}
.compItem.row {
	border-top: 1px solid #F4F4F4;
}
.compItem.row:first-of-type, .rowGroup + .row {
	border-top: 0;
}
#menuHeader {
	height: 50px;
	background-color: rgb(35, 40, 45);
	border-bottom: 0;
	padding: 0;
	overflow: hidden;
}
#menuHeader small {
	font-size: 0.85em;
	font-weight: bold;
}
#menuHeader button {
	font-size: 20px;
	border: 0;
	height: 50px;
	width: 50px;
	color: white;
	background-color: transparent;
	padding: 0;
	/* border-right: 1px solid darkgrey; */
	outline: 0;
	transition: background-color 0.2s;
}
#menuHeader button:hover {
	opacity: 1;
	background-color: rgba(255,255,255,0.05);
}
#menuHeader button.right {
	float: right;
	border-right: 0;
	/* border-left: 1px solid darkgrey; */
}
#menuHeader button.active {
	background-color: rgba(255,255,255,0.1);
}
.rowGroup {
	border: 1px solid #EAEAEA;
	border-width: 1px 1px 2px 1px;
	border-radius: 3px;
}
.rowGroup + .rowGroup {
	margin-top: 5px;
}
.header{
	background-color: #F4F4F4;
	user-select: none;
}
details .row.header {
	background-color: white;
	margin: 0 !important;
}
details .row.header:not(summary) {
	padding-bottom: 0;
}
details[open] summary.header,
.menu details summary.header {
	background-color: #F4F4F4;
}
.header:hover {
	background-color: #fbfbfb;
	user-select: none;
}
details summary::-webkit-details-marker {
	opacity: 0.5;
}
.menu details summary::-webkit-details-marker {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(-50%, -50%);
}
.rowGroup .compItem.row label {
	margin-left: 25px;
}
label {
	white-space: nowrap;
	margin-right: 15px;
}
input.jscolor {
	outline: 0;
	border: 0;
	-width: 55px;
	text-align: center;
	padding: 8px;
	border-radius: 20px;
	position: absolute;
	top: 50%;
	right: -25px;
	transform: translate(-50%, -50%);
	transition: box-shadow 0.2s;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2);
	font-size: 12px;
	width: 80px;
}
input.jscolor:hover {
	opacity: 0.9;
}
input.jscolor:focus {
	box-shadow: inset 0 0 0 1px black;
}
.header input.jscolor {
	position: absolute;
	-right: 14px;
}

#baseSelect {
	height: 30px;
	padding: 0 4px;
	position: relative;
	right: 90px;
}
.menu {
	position: absolute;
	top: 50px;
	right: 0;
	background-color: white;
	width: 100%;
	height: calc(100% - 49px);
	box-shadow: inset 0 -2px 0 1px #EAEAEA;
	overflow-y: auto;
	border-radius: 0 0 3px 3px;
	transition: right 0.2s;
}
.menu.hidden {
	display: block;
	right: -100%;
}
.menu .row p:last-of-type {
	margin-bottom: 15px;
}
.menu .row.header {
	border: 1px solid #EAEAEA;
	border-width: 0 0 0 1px;
}

.button-bar {
	display: flex;
	flex-wrap: wrap;
	margin-left: -5px;
}

.button-bar > * {
	flex: 1;
	margin-left: 5px;
}

/* Layer group control icons */
.when-inherited, .when-not-inherited {
	display: none;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	left: 5px;
}
.group .inherited .when-inherited {
	display: initial;
}
.group .compItem:not(.inherited) .when-not-inherited {
	display: initial;
}
.when-inherited:after, .when-not-inherited:after {
	color: #7D7D7D;
	display: inline-block;
	height: 30px;
	width: 30px;
	line-height: 30px;
	text-align: center;
	border-radius: 30px;
	transition: transform 0.2s;
	position: relative;
		top: -1px;
}
.when-not-inherited:after {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f061";
}
.when-not-inherited:hover:after {
	transform: rotate(-90deg);
}
.when-inherited:after {
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f106";
	color: lightgrey;
}
