@font-face {
	font-family: "Patchfont";
	src: url(patchfont.ttf);
}

div.palette {
	position: relative; 
	width: 46px;
	height: 46px;
	margin: 7px;
	display: inline-block;
}

div.palscrol {
	overflow: scroll;
	overflow-y: hidden;
	position: relative; 
	width: 300px;
	background-color: #cfcfcf;
	display: inline-block;
	padding-right: 0;
	padding-left: 0;
	padding-top: 0;
	padding-bottom: 0;
	margin-right: 5px;
	margin-left: 5px;
	margin-top: 0;
	margin-bottom: 0;
}

div.palcont { 
	white-space: nowrap;
    background-color: #cfcfcf;
	padding-right: 0;
	padding-left: 0;
	padding-top: 0;
	padding-bottom: 0;
	margin-right: 0;
	margin-left: 0;
	margin-top: 0;
	margin-bottom: 0;
}	

div.image { 
	position: relative; 
	margin-top: 30px;
	display: inline-block;
    background-color: #cfcfcf;
}

div.cont { 
	overflow: scroll;
	overflow-y: hidden;
	position: relative; 
	width: 100%;
    background-color: #cfcfcf;
}

div.root { 
	white-space: nowrap;
    background-color: #cfcfcf;
		height: 600px;
}	

p.txt {
	font-family: "Patchfont";
	font-size: 27px;
	padding: 15px;	
	margin:	0;
	color: black;
	background-color: #cfcfcf;
}

p.num { 
	position: absolute; 
	color: black; 
	font-family: "Patchfont";
	font-size: 27px;
	top: 0px; 
	padding: 0;
	margin:-35px 0 0px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}				

img.coloricon { 
	position: absolute; 
	//top: 226px; 
	padding: 0;
	//left: 8px; 
	text-align:center;
}				
img.coloricontop { 
	position: absolute; 
	//top: 74px; 
	padding: 0;
	left: 83px; 
	text-align:center;
}
img.coloriconbottom { 
	position: absolute; 
	//top: 374px; 
	padding: 0;
	left: 83px; 
	text-align:center;
}

img.linkicon { 
	position: absolute; 
	//top: 226px; 
	padding: 0;
	//left: 136px; 
	text-align:center;
}				

p.aTopsamson { 
	position: absolute; 
	color: white; 
	font-family: "Patchfont";
	font-size: 27px;
	top: 0px; 
	padding: 0;
	margin:-5px 0 -10px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}			

p.aBottomsamson { 
	position: absolute; 
	color: white; 
	font-family: "Patchfont";
	font-size: 39px;
	top: 175px; 
	padding: 0;
	margin:-5px 0 -10px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}				

p.bTopsamson { 
	position: absolute; 
	color: white; 
	font-family: "Patchfont";
	font-size: 39px;
	top: 282px; 
	padding: 0;
	margin:-5px 0 -10px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}			

p.bBottomsamson { 
	position: absolute; 
	color: white; 
	font-family: "Patchfont";
	font-size: 27px;
	top: 470px; 
	padding: 0;
	margin:-5px 0 -10px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}			


p.aTopneutrik { 
	position: absolute; 
	color: white; 
	font-family: "Patchfont";
	font-size: 50px;
	top: 0px; 
	padding: 0;
	margin:-10px 0 -10px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}			

p.aBottomneutrik { 
	position: absolute; 
	color: white; 
	font-family: "Patchfont";
	font-size: 50px;
	top: 215px; 
	padding: 0;
	margin:-5px 0 -10px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}				

p.bBottomneutrik { 
	position: absolute; 
	color: white; 
	font-family: "Patchfont";
	font-size: 50px;
	top: 438px; 
	padding: 0;
	margin:-5px 0 -10px 0;
	left: 0; 
	width: 100%; 
	text-align:center;
}	

div.controls { 
	position: relative; 
	color:black;
	background-color: #cfcfcf;
	padding-top: 0;
	padding-bottom: 0;	
	padding-left: 0;	
	padding-right: 0;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 30px;
	margin-bottom: 0;	
}

div.colors { 
	position: relative; 
	color:black;
	background-color: #cfcfcf;
	padding-top: 0;
	padding-bottom: 0;	
	padding-left: 0;	
	padding-right: 0;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 0;
	margin-bottom: 0;	
}

div.item {
	display: inline-block;
	position: relative; 
	width: 300px;
	color:black;
	padding-top: 0;
	padding-bottom: 0;	
	padding-left: 0;	
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0;	
	background-color: #cfcfcf;
}

.colsize {
	padding-top: 0;
	padding-bottom: 0;	
	padding-left: 0;	
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0;	
	width: 300px;
	height: 100px;
    color:black;
    background-color: #cfcfcf;
}			

.button {
	padding-top: 0;
	padding-bottom: 0;	
	padding-left: 0;	
	padding-right: 0;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 0;
	margin-bottom: 0;	
	width: 150px;
	height: 40px;
}				

body.bdy {
   padding: 0px;
   margin: 0px;
   font-size: 18pt;
   font-family: "Calibri", Times, serif;
   background-color: #cfcfcf;
}

/* Storefront controls. The equipment drawing above intentionally retains its
   original dimensions and styling. */
.designer-panel {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 18px;
	width: min(1180px, calc(100% - 32px));
	margin: 18px auto;
	padding: 18px 20px;
	border: 1px solid #314b58;
	border-radius: 12px;
	background: #101c24;
	box-shadow: 0 8px 24px rgba(16, 28, 36, .2);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}

.model-panel {
	justify-content: space-between;
}

.control-heading,
.project-copy {
	display: grid;
	gap: 2px;
	min-width: 190px;
}

.control-heading label,
.project-copy strong {
	color: #fff;
	font-size: 18px;
}

.control-kicker,
.control-label,
.color-control > label {
	display: block;
	margin-bottom: 7px;
	color: #9fb5bf;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

#patchbaytype {
	box-sizing: border-box;
	width: min(440px, 100%);
	height: 48px;
	margin: 0;
	padding: 0 42px 0 14px;
	border: 1px solid #58717c;
	border-radius: 8px;
	color: #fff;
	background: #1b3948;
	font: 700 15px/1 Arial, Helvetica, sans-serif;
	-webkit-appearance: auto;
}

.appearance-controls,
.project-controls {
	background: #142731;
}

.color-control {
	flex: 0 0 190px;
}

.color-picker-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

#color.colsize {
	box-sizing: border-box;
	width: 58px;
	height: 46px;
	padding: 4px;
	border: 1px solid #6f8994;
	border-radius: 8px;
	background: #203b48;
	cursor: pointer;
}

#colhex {
	color: #e4edf1;
	font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.palette-control {
	min-width: 0;
	flex: 1 1 auto;
}

div.palscrol {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	overflow-x: auto;
	border: 1px solid #405965;
	border-radius: 8px;
	background: #0d1920;
}

div.palcont {
	display: flex;
	align-items: center;
	min-height: 46px;
	padding: 5px;
	background: transparent;
}

div.palette {
	box-sizing: border-box;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	margin: 0 4px;
	border: 2px solid #dce8ed;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #718894;
	cursor: pointer;
}

div.palette img {
	display: none;
}

.zoom-controls {
	display: flex;
	gap: 8px;
}

.designer-panel .button,
.designer-panel.file-picker,
.designer-panel .file-picker {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 126px;
	height: 46px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #94a8b1;
	border-radius: 8px;
	font: 800 14px/1 Arial, Helvetica, sans-serif;
	cursor: pointer;
}

.designer-panel .button.primary {
	border-color: #11729d;
	color: #fff;
	background: #11729d;
}

.designer-panel .button.secondary,
.designer-panel .file-picker {
	border-color: #58717c;
	color: #d8e6eb;
	background: #1b3948;
}

.designer-panel .button:hover,
.designer-panel .file-picker:hover {
	border-color: #e47b2a;
	color: #fff;
	background: #264b5d;
	filter: none;
}

.designer-panel .button:focus-visible,
.designer-panel .file-picker:focus-within,
#patchbaytype:focus-visible,
#color:focus-visible {
	outline: 3px solid rgba(17, 114, 157, .28);
	outline-offset: 2px;
}

.file-picker input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.project-controls {
	flex-wrap: wrap;
}

.project-copy {
	margin-right: auto;
}

@media (max-width: 760px) {
	.designer-panel {
		align-items: stretch;
		width: calc(100% - 20px);
		padding: 16px;
	}

	.model-panel,
	.appearance-controls {
		flex-direction: column;
	}

	#patchbaytype,
	.color-control,
	.palette-control {
		width: 100%;
		max-width: none;
	}

	.zoom-controls,
	.project-controls .button,
	.project-controls .file-picker {
		width: 100%;
	}

	.zoom-controls .button {
		flex: 1 1 0;
		min-width: 0;
	}

	.project-copy {
		width: 100%;
		margin: 0 0 4px;
	}
}

.embedded div.cont,
.embedded div.root {
	background-color: #101c24;
}

.embedded body.bdy,
.embedded div.image {
	background-color: #101c24;
}

div.designer-panel.appearance-controls,
div.designer-panel.project-controls {
	color: #fff;
	background-color: #142731;
	padding: 18px 20px;
	margin: 18px auto;
}
