/* Kit Group */

[]{}

	.kit_group {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
		grid-gap: var(--double_space);
		margin-bottom: var(--double_space);
	}

	/* Kit Link */

	[]{}

		.kit_link {
			display: grid;
			grid-template-columns: auto 1fr;
			grid-gap: var(--space);
			align-items: center;
			color: var(--text_color);
		}

		.kit_link .title{
			display: block;
			white-space: nowrap;
			overflow: hidden;
			-moz-text-overflow: ellipsis;
			-ms-text-overflow: ellipsis;
			-o-text-overflow: ellipsis;
			text-overflow: ellipsis;
			font-size: 1.2em;
			line-height: 1.2em;
		}

		.kit_link .icon{
			display: block;
			height: 48px;
			width: 48px;
			background-repeat: no-repeat;
			background-position: center;
			background-size: contain;
			background-origin: content-box;
			filter: drop-shadow(2px 4px 6px hsla(0,0%,0%,.25));
		}

		.kit_group > .kit_link {
			padding: var(--space);
			border: solid 1px transparent;
			border-radius: var(--outer_radius);
		}

	.kit_group > .kit_link, .kit_widget {
		transition: background .5s ease-out;
	}

	.kit_group > .kit_link:hover, .kit_widget:has(.kit_link:hover) {
		transition: background .05s ease-out;
		background: var(--color_shade_1);
	}

	.kit_widget {
		border: solid 1px var(--color_shade_1);
		padding: var(--space);
		color: var(--text_color);
		border-radius: var(--outer_radius);
		transition: background .5s ease-out;
		display: flex;
    flex-direction: column;
    gap: var(--space);
    justify-content: space-between;
	}

	.kit_widget.full_width {
		grid-column-start: 1;
		grid-column-end: -1;
	}










div.kit {
	padding: var(--double_space);
	position: relative;
}

a {
	text-decoration:none;
	color: var(--color);
}

a:hover{
	color:#419cd9;
	cursor: pointer;
}

div.kit div.kitcontent {
	overflow: hidden;
}

div.kit div.kitcontent,
div.kit div.login,
div.kit div.panel
{
	/*position: relative;*/
	/* padding: 1rem 1rem; */
	background-color: var(--color_shade_1);
	margin-bottom: var(--double_space);
	border-radius: var(--outer_radius);
	/* overflow: hidden; */
	border: solid 1px var(--color_shade_2);
}


div.kit div.panel{
	box-shadow: 0 var(--space) 20px hsla(0, 0%, 0%, 0.1);
	background: var(--color_shade_1);
}

div.kit div.panel.float{
	position:fixed;
	z-index: 1;
	box-sizing: border-box;
	box-shadow: 0 2rem 10rem var(--color_shadow);
}

div.kit div.panel.animate{
	transition-property: top, left;
	transition-delay: .25s;
	transition-duration: .25s;
	transition-timing-function: ease-out;
}

div.kit div.panel.active{
	box-shadow: 0 2rem 10rem var(--color_shadow), 0 0.5rem 3rem var(--color_shadow);
	z-index: 2;
}

div.kit div.panel.hover.active{
	box-shadow: 0 2rem 10rem var(--color_shadow), 0 0.5rem 3rem var(--color_muted);


}


div.kit td{
	vertical-align: top;
/*	line-height: 24px;*/
	}

.button, button{
	border-radius: var(--inner_radius);
	white-space: nowrap;
	transition: background .5s ease-out;
}

.button:hover, button:hover{
	transition: background .05s ease-out;
}

div.kit form{
	margin:0px;
	padding:0px;
}

div.kit label{
	margin:0 .5em 0 0;
	white-space: nowrap;
	cursor: default;
}

div.kit * + label{
	margin-left:.5em;
}

div.kit label + label{
	margin-left: 0;

}

div.kit br + label{
	margin-left:0;
}

div.kit input[type="checkbox"] + label{
	margin-left:0;
	margin-right: 1em;
}

div.kit article {
	padding: var(--space);
}


div.kit textarea{
	width:100%;
	margin: 2px 0;
	font-family:Consolas, "Courier New", Courier, monospace;
	line-height:1em;
	box-sizing: border-box;
}

div.kit div[contenteditable]{
	cursor: text;
}

div.kit input[type="text"],
div.kit input[type="email"],
div.kit input[type="password"],
div.kit input[type="datetime-local"],
div.kit input[type="date"],
div.kit input[type="month"],
div.kit input[type="number"],
div.kit select
{
	font-size:1rem;
	line-height: 1.5rem;
	/* color:#333333; */
	padding: 0;
	/* border:solid 1px var(--color_shade_2); */
	border: solid 1px hsla(var(--theme_color),100%,20%,.3);
	background-color: var(--background_color);
	color: var(--text_color);
	box-sizing: border-box;
	vertical-align: middle;
}

div.kit input[type="text"],
div.kit input[type="email"],
div.kit input[type="password"],
div.kit input[type="datetime-local"],
div.kit input[type="month"],
div.kit input[type="number"]
{
	text-indent:3px;
}

div.kit th input[type="text"],
div.kit th input[type="password"],
div.kit th input[type="number"],
div.kit th select
{
	background-color: hsl(0,0%,97%);
}

div.kit th input[type="text"]:hover,
div.kit th input[type="password"]:hover,
div.kit th input[type="number"]:hover,
div.kit th select:hover
{
	background-color: hsl(0,0%,99%);
}

div.kit th input[type="text"]:focus,
div.kit th input[type="password"]:focus,
div.kit th input[type="number"]:focus,
div.kit th select:focus
{
	background-color: hsl(0,0%,100%);
}

div.kit th a {
	color: inherit;
    /* color: hsl(204, 0%, 55%); */
    /* letter-spacing: 0.02em; */
}

tr:hover th a,
tr th.active a
{
    color: hsl(204, 60%, 50%);
}

div.kit select optgroup{
	color: hsl(0, 0%, 60%);
}

div.kit select optgroup option{
	color: var(--text_color);
}

div.kit input.search[value]{
	background-color: hsl(205,44%,92%);
}
div.kit input.search[value=""]{
	background-color: white;
}

div.kit input[readonly=""]
{
	border-color: white;
}
div.kit select,
div.kit input[type="date"],
div.kit input[type="month"],
div.kit input[type="datetime-local"]
{
	height: 1.6em;
	padding: 0;
	box-sizing: border-box;
}

table.form select,
table.form input[type="date"],
table.form input[type="datetime-local"]
{
	/* margin: -.1em 0; */
	margin: 0;
}

div.kit input[type="submit"]{
	padding: 0px 10px;
	height: 22px;
	margin: 1px 0;
	cursor: pointer;
}

div.kit td > input[type="text"],
div.kit td > input[type="password"],
div.kit td > input[type="email"],
div.kit td > select{
	min-width: 1em;
	box-sizing: border-box;
}

td > input[type="text"],
td > input[type="date"],
td > input[type="datetime-local"],
td > input[type="password"],
td > input[type="email"],
td > select{
	/*width: 100%;*/
	/*min-width: 5em;*/
	/*min-width: 100%;*/
	width: auto;
	max-width: 100%;
}

td > input[type="email"]:only-child,
td > input[type="text"]:only-child,
td > input[type="date"]:only-child,
td > input[type="datetime-local"]:only-child,
td > input[type="number"]:only-child,
td > input[type="password"]:only-child,
td > select:only-child
{
	width: 100%;
}

td > input[data-array],
td > select[data-array]
{
	/* margin */
	/* width: 100%; */
	display: block;
	margin-bottom: .25em;
}


div.kit input[type="checkbox"],
div.kit input[type="radio"]{
	width:13px;
	margin: 0 9px 0 0;
	padding: 0;
	vertical-align: middle;
	height: 22px;
}

div.kit input[type="text"]:focus,
div.kit input[type="password"]:focus{
	border-color: Highlight;
}


div.kit input[type="radio"]{
	margin: 0px 3px;
}

div.kit table.data ,
div.kit .table.data
{
	/* border: solid 1px hsl(0, 0%, 79%); */
	border-collapse:separate;
	width:100%;
	margin: 0;
	box-sizing: border-box;
}

div.kit .table {
	display: table;
}

div.kit table.form {
	border-collapse: collapse;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	/* background: white; */
	/* border-radius: .25rem; */
}

div.kit .kit_menu .data {
	border: none;
}

div.kit .data .data {
		border: none;
}

div.kit table.editor{
	outline:solid 1px #939393;
	background-color:white;
	border-collapse:collapse;
	width:100%;
	margin:0;
}

div.kit table.data th,
div.kit table.editor th{
	border-bottom:	solid 1px #bebebe;
	padding: var(--space_half) var(--space);
	text-align:left;
	background: var(--background_color);
	margin:0;
	overflow: hidden;
	white-space: nowrap;
	font-size: .9em;
}

div.kit table.data th img.sort{
	margin-left: .25rem;
	display: none;
	height: .7rem;
}

div.kit table.data th.active img.sort{

	display:inline;
}

div.kit table.data th *{
	vertical-align: middle;
}

div.kit table.data td{
	border-bottom:solid 1px var(--color_shade_2);
	border-right:dotted 1px var(--color_shade_2);
	padding:.4rem .8rem;
	margin:0;
	line-height:1.4em;
	vertical-align: baseline;
	white-space: nowrap;
	-webkit-user-select: text;
	-ms-user-select: text;
	-moz-user-select: text;
	user-select: text;
}

div.kit table.form td{
	padding: var(--space_half) var(--space);
	margin: 0;
	line-height:1.4em;
	vertical-align: baseline;
	white-space: nowrap;
}

div.kit table.form tbody tr+tr{
	border-top: solid 1px var(--background_color);
}


div.kit .kit_menu table.data td{
	border: none;
}

table.data td img,
table.data td svg
{
	vertical-align: middle;
}

table.data td > svg
{
	margin-right: .5em;
	width: 18px;
	height: 18px;
}

div.kit table.data.wrap td,
div.kit table.form.wrap td,
div.panel table.data td,
div.panel table.form td
{
	white-space: normal;
}

div.kit table.data td.ellipsis,
div.kit table.data td.ellipsis
{
	max-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

div.kit div.panel table.data td.ellipsis{
	max-width: none;
}

div.kit table.data td.bright{
	color: #737373;
}

.button img,
.button svg,
button img,
button svg {
	margin-right: .5em;
	height: 1.5rem;
  width: auto;
  line-height: 1rem;
}

.small.button img,
.small.button svg,
button.small img,
button.small svg,
.icon.button img,
.icon.button svg,
button.icon img,
button.icon svg {
  height: 1rem;
  width: auto;
}

.small.button img {
	/* height: 0.85715rem; */
}

.button img:only-child,
button img:only-child,
.button svg:only-child,
button svg:only-child
{
	margin: 0;
}

div.kit table.data p{
	margin: 0;
}
div.kit table.data ul{
	margin: 0;
	padding: 0 0 0 1.5em;
}
div.kit table.data h2{
	font-size: 1.25em;
	margin: 0;
	font-weight: bold;
}

div.kit table.data h3{
	background: none;
	font-size: 1.1em;
	margin: 0;
	padding: 0;
	border: none;
	font-weight: bold;
}

div.kit table.data h2 + *,
div.kit table.data h3 + *,
div.kit table.data ul + *,
div.kit table.data p + *{
	margin-top: .5em;
}

div.kit table.data tr > *.date,
div.kit table.data tr > *.datetime {
	text-align: right;
}

div.kit table.data td.file a:nth-of-type(n+2){
	display: none;
}
div.kit table.data td.file a:nth-last-child(n+2):after{
	content: " …";
}

div.kit table.data td.euro {
	background: hsla(50, 100%, 50%, .03);
	color: hsl(50, 100%, 30%);
	text-align: right;
}

div.kit table.data th.euro {
	color: hsl(50, 100%, 38%);
	text-align: right;
}

div.kit table.data th.file {
	color: hsl(204, 50%, 49%);
}

div.kit table.data tr:hover{
	background-color: var(--color_muted);
}

div.kit table.data tr.active,
div.kit table.data tr.active:hover{
	background-color: hsla(83, 26%, 50%,.25);
}

div.kit table.data tr.category td{
	/* color: var(--light_text_color); */
	padding-top: var(--space);
	background: var(--color_muted);
	font-style: italic;
}

div.kit table.data span.icon_placeholder{
	display: inline-block;
	width: 1.7em;
	vertical-align: middle;
}


div.kit a.icon_button,
div.kit a.button-icon{
	display: inline-block;
	height: 22px;
	width: 22px;
	overflow: hidden;
	margin:0;
	background: url(icon_button.png) no-repeat 0 0;
	cursor: pointer;
	vertical-align: middle;
	padding: 0;
}

div.kit a.icon_button:hover,
div.kit div.kit_menu a.icon_button:hover{
	background-position: 0 -22px;
}


div.kit a.icon_button:active,
div.kit div.kit_menu a.icon_button{
	background-position: 0 -44px;
}

div.kit a.icon_button *{
	cursor: pointer;
}

div.kit table td.toolbar,
div.kit table th.toolbar{
	white-space:nowrap;
	padding: 0;
	border-right: none;
}

div.kit h2,
div.kit h2 *{
	font-size: 1.15rem;
}

div.kit h2{
	font-weight: bold;
	margin: 0 0 var(--space) 0;
}

div.kit h2:only-child{
	margin: 0;
}

div.kitcontent h2{
	/* font-weight: bold; */
	color: var(--light_text_color);
	/* padding: 0 1rem; */
	/* margin: 0 0 1rem 0; */
	/* text-transform: uppercase; */
}

div.kit h2 a{
	color: inherit;
}

div.kit .section,
div.panel .section{
	display: block;
	/* margin: 0 -1rem; */
	/* padding: 1rem; */

}

div.kitcontent > .section:first-child:not(:only-child),
div.panel > .section:first-child:not(:only-child) {
	background: var(--color_shade_2);
	color: var(--color);
	padding: var(--space);
	display: flex;
  justify-content: space-between;
	align-items: baseline;
}

div.kitcontent > .section:first-child:not(:only-child) :is(h2, h3) {
	color: white;
}

div.kitcontent > .section:first-child:not(:only-child) > *{
	margin-bottom: 0;
}

div.kitcontent > .section:first-child:not(:only-child) .button{
	color: white;
}

div.kitcontent > .section:first-child:not(:only-child) .red.button:not(.active){
	background: linear-gradient( to bottom, hsl(359,27%,55%) 0%, hsl(359, 35%, 44%) 100% );
}

.button:hover {
	background: var(--color);
}

div.kitcontent > .section:first-child > a.button,
div.kitcontent > * > .section:first-child  > a.button
{
	border-color: hsl(206, 16%, 70%);
}

div.panel > .section:first-child:not(:only-child),
div.panel > form > .section:first-child
{
	background: var(--color);
	border-radius: .5rem .5rem 0 0;
	text-align: center;
	display: block;
	color: white;
  margin-bottom: 0;
}

div.panel > .green.section:first-child,
div.panel > * > .green.section:first-child
{
	background: hsl(83, 72%, 36%);
}

div.panel .section.scroll{
	overflow: auto;
	overflow: overlay;
}

div.kit .section:last-child:not(:first-child),
div.panel .section:last-child:not(:first-child),
form div.submit{
	border-top: 1px solid var(--color_shade_2);
	background: hsl(0, 0%, 96%);
	border-radius: 0 0 .5rem .5rem;
}

div.kit .section:last-child:not(:nth-child(2)):not(:nth-child(1)),
div.panel .section:last-child,
form div.submit{
	/* margin-bottom: -1rem; */
	padding: var(--space);
	display: flex;
  justify-content: space-between;
	/* text-align: center; */
	background: var(--color_shade_1);
}

div.kit .section > *:last-child,
div.panel .section > *:last-child{
	margin-bottom: 0;
}

div.panel.active .section:last-child{
	background: hsl(206, 20%, 95%);
}

div.kit .section:nth-child(2):not(:only-child),
div.panel .section:nth-child(2):not(:only-child){
	margin-bottom: 0;
	background: inherit;
}

div.kit div.section{
	overflow: hidden;
	/* padding: var(--space); */
}

/*
div.kit .section .column{
	float: left;
	display: block;
	vertical-align: top;
	padding: 0;
}
*/
div.kit h2.section{
	padding: .5rem 1rem;
	margin-bottom: 0;
}

div.panel h2.section{
	color: white;
	padding: .5rem 1rem;
}

div.panel > .section:first-child{
	cursor: move;
}


div.kit h3{
	font-size: 1em;
	font-weight:bold;
	/* color: hsl(0, 0%, 49%); */
	/* padding:.4rem .8rem; */
	margin:0;
	display:block;
	line-height:1.5em;
}

div.kit h3.section{
	/* color: hsl(0, 0%, 39%); */
	font-weight:normal;
	background: var(--color_shade_1);
	margin:1rem 0;
}

div.kit h3:first-child{
	margin: 0;
}

div.kit h3 a{
	font-size:13px;
	font-weight:bold;
}



table.data td a.button-small,
table.data td a.icon_button
{
	margin: -.25em 0;

}

table.data tr:hover td a:not(.button) {
    color: hsl(204, 50%, 51%);
}

.small.button {
	font-size: .84em;
	/* font-size: .75em; */
	padding: 0 var(--space_half);
	font-weight: inherit;
	background: var(--color_shade_3);
	color: var(--color_foreground);
	border: solid 1px transparent;
	transition: background .5s ease-out;
}

.small.button:hover{
	color: var(--color_foreground);
	transition: background .05s ease-out;
	background: var(--color);
}

.kit_menu .small.button:not(.red):not(.green):not(.blue):hover {
	/* background: var(--color_muted); */
}


div.kit button.green,
div.kit a.green.button {
	background: var(--green);
	color: var(--color_button_text);
	transition: filter .5s ease-out;
}

div.kit button.blue,
a.blue.button {
    background: var(--blue);
    color: white;
}

div.kit button.red,
a.red.button {
	background: var(--red);
  color: white;
}

div.kit button.green:hover,
div.kit button.red:hover,
div.kit button.blue:hover,
div.kit  a.green.button:hover,
div.kit  a.red.button:hover,
div.kit  a.blue.button:hover
{
	filter: brightness(1.1);
	transition: filter .05s ease-out;
}


div.panel.inactive button.green,
div.panel.inactive a.green.button
{
	background: linear-gradient(
		to bottom,
		hsl(0,0%,100%) 0%,
		hsl(0,0%,96%) 100%
	);
	color: hsl(83, 33%, 51%);
}



a.button.small.active,
a.button.active,
div.kit button.active{
	/* background: linear-gradient(
			to bottom,
		hsl(204,23%,60%) 0%,
			hsl(204, 61%, 37%) 100%
		);
	color: hsl(0,0%,100%);
	text-shadow:0 1px 0 hsl(204, 61%, 37%);
	border-color: hsl(204, 41%, 57%); */
	background: var(--color);
}

/*
a.button.small.active:hover,
a.button.active:hover,
div.kit button.active:hover{
	background: linear-gradient(
			to bottom,
		hsl(204,33%,60%) 0%,
			hsl(204, 71%, 37%) 100%
		);
	color: hsl(0,0%,100%);
	text-shadow:0 1px 0 hsl(204, 61%, 37%);
}
*/


div.kit_menu a.button-small{
	background: white;
	background: linear-gradient(
		to bottom,
		hsl(0,0%,97%) 0%,
		hsl(0,0%,87%) 100%
	);
}

.button {
	text-align: center;
	padding:0 .8rem;
	display: inline-block;
	vertical-align: middle;
	font-size: 1rem;
	line-height: 1.5rem;

}

a.button,
div.kit button{
	font-size: 1rem;
	vertical-align: middle;
	text-align: center;
	/* display: inline-block; */
	display: inline-flex;
  align-items: center;
  height: 1.5rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	text-decoration:none;
	padding: var(--space_half) var(--space);
	font-weight:bold;
	color: var(--color_button_text);
	cursor: pointer;
	/* border:solid 1px var(--color_shade_2); */
	line-height: 1.5rem;
	/* background: var(--background_color); */
	background:var(--color_shade_3);
	box-sizing: content-box;
	justify-content: center;
}

.button + .button ,
button + button
{
	margin-left: var(--space_half);
}

.big.button{
	padding-top: .25em;
	padding-bottom: .25em;
	white-space: nowrap;
}

.icon.button {
	font-size: 1rem;
	line-height: 1rem;
	min-width: 1.5rem;
	padding: .1rem;
	border-radius: 1rem;
	font-weight: inherit;
}

.small.icon.button {
	padding: 0;
	border: none;
}

.icon.button img{
	height: 1em;
	font-size: .75em;
	line-height: 1rem;
	vertical-align: baseline;
}

.small.red.button {
	color: var(--red);
	border-color: var(--red);
	font-weight: bold;
	background: var(--background_color);
}

table td .small.green.button {
	color: var(--green);
	border-color: var(--green);
	font-weight: bold;
	background: var(--background_color);
}



table.data td a.small.button:only-child {
  margin: -.19rem 0;
}

a.icon.button,
button.icon.button
{
	color: white;
	cursor: pointer;
	background: hsl(206, 6%, 67%);
	box-sizing: content-box;
}

* + a.icon.button,
* + button.icon.button
{
	margin-left: var(--space_half);
}

a.icon.button:hover,
button.icon.button:hover
{
	background: hsl(206, 27%, 46%);
}

a.light.button{
	background: hsl(206, 6%, 97%);
	color: hsl(0,0%,70%);
	/* border-color: hsl(206, 6%, 70%); */
	/* border: solid 1px hsl(206, 6%, 70%); */
}

a.light.button:hover{
	background: hsl(206, 6%, 86%);
	color: var(--color_button_text);
}

a.right{
	float: right;
}


input[type="file"].image + a.button,
input[type="file"].video + a.button
{
	height: 4rem;
	vertical-align: top;
  box-sizing: border-box;
	line-height: 4rem;
}

img.info
{
	cursor: help;
	position: relative;
}

div.kit hr{
	margin:1rem 0;
	height:0px;
	border-color: #dbdbdb white white;
	border-style:solid;
	border-width: 1px 0 1px 0;
	background:none;
}


div.kit span.message{
	margin:0 0 20px 0;
	font-weight:bold;
}
div.kit span.error,
div.kit span.error *{
	color:#c21115;
}

div.kit span.red,
div.kit span.red *{
	color:#c21115;
}

div.kit span.green,
div.kit span.green *{
	color:#7ab51d !important;
}

acronym{
	cursor:help;
}

/*
div.kit div.table{
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	display: table;
}
*/
div.kit div.table div.td{
	text-align: center;
	display: table-cell;
	vertical-align: middle;
	position: relative;
	padding:38px 10px 22px;
}

div.kit div.login{
	display: inline-block;
	text-align: left;
}

div.kit div.login table{
	 table-layout:auto;
	 white-space:nowrap;

}

* html div.login hr{
	margin:10px 0px;
}


div.login span{
	padding:2px 3px;
}

div.kit div.pagination{
	text-align: center;
	/* margin: 0 0 1rem; */
	border-bottom: 1px solid hsl(0, 0%, 86%);
	padding: .25rem;
	background: hsl(0, 0%, 96%);
}

div.kit div.pagination.links{
	background: hsl(0, 0%, 100%);
	font-weight:bold;
}

.pagination.links span.small.button {
  background: hsl(206, 6%, 67%);
  color: white;
}


div.kit div.pagination td{
	vertical-align: middle;
}

div.toolkit_pane{

	position: fixed;
	right: 0;
	top: 6rem;
	width: 17rem;
	background: hsla(0,0%,84%,.5);
	padding: 1rem;
	bottom: 2rem;
	border-left: solid 1px hsl(0,0%,70%);
	display: none;
	overflow: auto;
	z-index: 2;
	box-sizing: border-box;
	-webkit-backdrop-filter: blur(9px);
	backdrop-filter: blur(9px);
}

div.toolkit_pane div.kit{
	padding: 0;
}

div.column{
	display: inline-block;
	vertical-align: top;
	padding: 1rem;
}

div.panes {
	display: flex;
}

div.panes > div{
	padding-right: var(--double_space);
}

div.panes > div:last-child{
	padding-right: 0;
}

div.panes div.main{
	min-width: 10em;
	/* display: table-cell; */
	/* width: 100%; */
	flex-basis: 100%;
	/* vertical-align: top; */
}

div.panel div.panes div.main{
	width: auto;
}

.file_preview{
	/*display: inline-block;*/
	display: block;
	float: left;
	position: relative;
	border: solid 1px hsl(0,0%,80%);
	/* padding: .5em; */
	margin: 0 .5em .5em 0;
	/* width: 10em; */
	height: 4em;
	background: white;
	box-sizing: border-box;
	text-align: center;
}

.file_preview .button{
	display: none;
}

.file_preview .textarea_plus{
	display: block;
}

.file_preview:hover .button{
	display: inherit;
}

.file_preview.ui-sortable-helper:hover .button{
	display: none;
}

.file_preview .zoom img,
.file_preview .zoom video
{
	/* width: 100%; */
	height: 100%;
	object-fit: contain;
	/*display: inline-block;*/
}

a.zoom,
img.zoom {
	position: relative;
	cursor: pointer;
}

a.zoom:not(.button):hover::before {
	content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(/kitbooth/core/template/icons/zoom.svg?color=white) no-repeat center;
  z-index: 1;
}

.zoom.light a,
table.data td a {
    color: var(--text_color);
}


.file_preview a.button{
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	/* background: white; */
}

.file_preview textarea,
.file_preview div[contenteditable],
.file_preview ~ br
{
	display: none;
}

.duplicate_form_field {
	display: inline-block;
}

.file_preview ~ .duplicate_form_field {
	clear: left;
	overflow: hidden;
}

.duplicate_form_field > *:nth-last-child(n+3) {
	display: block;
}

.dropdown{

	display: inline-block;
	width: 100%;
	position: relative;
	background: white;
	border: solid 1px Highlight;
	outline: auto Highlight;
	box-sizing: border-box;
	height: 1.6rem;
	vertical-align: top;
	z-index: 2;
}

.dropdown.hide_children{
	border-color: hsl(0, 0%, 75%);
	outline: none;
}



.hide_children{
	overflow: hidden;
	z-index: 1;
}

.hide_children > *{
	visibility: hidden;
}

.dropdown:before{
	content: "";
  position: absolute;
  right: .5em;
  top: .5em;
  height: .5rem;
  background: url(/kitbooth/core/template/icons/up.svg);
  width: .6rem;
  height: .6rem;
  background-size: contain;
  background-repeat: no-repeat;
}

.dropdown.hide_children:before{
	background-image: url(/kitbooth/core/template/icons/down.svg);
}



.dropdown .child{
	/* position: absolute; */
	position: fixed;
	/* display: block; */
	padding: .65em;
	box-sizing: border-box;
	margin-top: 1.5rem;
	background: white;
	outline: solid 1px hsl(0, 0%, 75%);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

div.kit .dropdown label{
	margin-left: 0;
	display: block;
}

div.kit .dropdown br{
	display: none;
}


span.checkbox_dropdown input[type="checkbox"] + label{
	margin-right: 0;
}



div[contenteditable]{
	border: solid 1px var(--color_shade_2);
	/* line-height: 18px; */
	padding: 0 3px;
	white-space: pre-wrap;
	/*position: absolute;*/
	width: 100%;
	box-sizing: border-box;
	/*display: block;*/
	display: inline-block;
	background: var(--background_color);
	color: var(--text_color);
	overflow: auto;
}

div[contenteditable].code{
	background: hsl(0, 0%, 30%);
	color: hsl(0, 0%, 80%);
	font-family: Consolas, "Courier New", Courier, monospace;
	word-break: break-all;
}

div.textarea_plus{
	/*position: relative;*/
	display: inline-block;
	width: 100%;
	vertical-align: top;
}

.ui-sortable-handle,
.ui-sortable-helper,
.ui-sortable-helper *
{
	cursor: move;
}

img.icon ,
div.kit table.data td img.icon{
	height: 1.4em;
	line-height: 1em;
	vertical-align: top;
	margin-right: .15em;
}

div.kit table.data tr.selected{
	background-color: var(--color_muted);
}

div.kit table.data tr.selected td{
	position: relative;
}

div.kit table.data tr.selected:hover{
	background-color: var(--color_muted);
}

.tabs{
	background: var(--color_shade_2);
	display: flex;
}

.tab{
	display: inline-block;
	border-right: solid 1px var(--color_shade_2);
	padding: var(--space_half) var(--space);
	cursor: pointer;
	color: var(--light_text_color);
}

.tab:hover
{
	color: var(--text_color);
	background: var(--background_color);
}

.tab.active
{
	color: var(--text_color);
	background: var(--color_shade_1);
}

.tabbed_content .content{
	/* padding: .5rem; */
	/* border: solid 1px hsl(0,0%,60%); */
	/* border-width: 0 1px 1px 1px; */
	background: var(--color_shade_1);
}

div.kit table.changelog h2{
	margin: 2rem 0 1rem;
	padding: 0;
	color: hsl(83, 72%, 36%);
}

div.kit table.changelog h3{
	margin: 2rem 0 1rem;
	font-size: 1.25em;
}

div.kit table.changelog h4{
	margin: 1rem 0 0;
	font-size: 1.1em;
}

html div.kit .no_margin {
	margin: 0;
}

div.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));;
	grid-gap: var(--space);
	/* padding: 1rem; */
	/* margin-bottom: var(--space); */
	background: var(--background_color);
	padding: var(--space);
}

div.cards .cell{
	/* display: grid; */
	position: relative;
	padding: var(--double_space);
	/* border: solid 1px hsl(0,0%,90%); */
	background: var(--color_shade_1);
	border-radius: var(--inner_radius);
	align-content: center;
	color: var(--text_color);
	transition: background .5s ease-out;
}


div.cards .cell:hover{
	transition: background .05s ease-out;
	background: var(--color_muted);
}

div.cards .cell.active{
	/* background: var(--color_shade_2); */
	background: var(--color_muted);
}

.cards .cell img {
  width: 100%;
	line-height: 0;
	display: block;
}

.cards .cell > img {
  max-width: 100%;
	min-width: 4rem;
	width: auto;
}

.cards .cell .hover {
	visibility: hidden;
}

.cards .cell span {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cards .cell .bottom {
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	padding: 0 1rem;
	bottom: 0;
	left: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cards .cell .light.background {
	background: hsla(0,0%,100%,.85);
}

.cards .cell:hover .hover {
	/* display: block; */
	visibility: visible;
}

div.kit .section.flex ,
.flex{
	display: flex;
}

.section.fill > *,
.fill.flex > *
{
	flex: 1;
}

.fill.flex.left > * {
	text-align: left;
}

.section.fill > * + *,
.fill.flex > * + *
{
	margin-left: var(--space);
}

.grid{
	display: grid;
}

.one_column.grid{
	grid-template: repeat(1,1fr);
}

.center{
	text-align: center;
	display: block;
}

.underline {
	border-bottom: solid 1px hsl(0,0%,80%);
	padding-bottom: .5em;
}

.hidden {
	display: none;
}

.home h2 a {
	background: var(--color_shade_1);
	padding: .5em 1em;
	border-radius: 1em;
	transition: all .25s ease-out;
}

.home h2 a:hover {
	background: var(--color_shade_3);
}

.selectable_text {
	-webkit-user-select: text;
	-ms-user-select: text;
	-moz-user-select: text;
	user-select: text;
}
