.segment-thumbnail{
	cursor: pointer;
	height: 36px;
	width: 36px;
	border: 1px solid lightgrey;
	margin: 3px;
}

#dialog-link {
	padding: .4em 1em .4em 20px;
	text-decoration: none;
	position: relative;
}

#dialog-link span.ui-icon {
	margin: 0 5px 0 0;
	position: absolute;
	left: .2em;
	top: 50%;
	margin-top: -8px;
}

#icons {
	margin: 0;
	padding: 0;
}

#icons li {
	margin: 2px;
	position: relative;
	padding: 4px 0;
	cursor: pointer;
	float: left;
	list-style: none;
}

#icons span.ui-icon {
	float: left;
	margin: 0 4px;
}

.fakewindowcontain .ui-widget-overlay {
	position: absolute;
}

.parameters-section{
	width: 100%;
	display: inline-flex;
	flex-wrap: wrap;
	overflow-y: auto;
    overflow-x: hidden;
	min-height: 100px !important;
}

.parameters-section-flex{
	flex-direction: row;
}

#canvas-container{
	position: relative;
}

#wave-overlay{
	border: 2px dotted darkgrey;
	position: absolute;
	left: 300px;
	top: -1px;
}

.semi-transparent{
	opacity: 0.5;
}

.at-top{
	position: absolute;
	top: 0;
}

#general-controls{
	position: absolute;
	left: 0;
	top: -20px;
	width: 160px;
	height: 20px;
}

.segment-control-general{
	float: left;
	padding-left: 5px;
	padding-right: 5px;
	z-index: 10;
}

#drag-overlay{
	z-index: 2;
	cursor: ew-resize;
	position: absolute;
	left: 300px;
	top: -1px;
}

#drag-pointer{
	border: 2px dotted darkgrey;
	height: 100%;
	width: 100%;
	display: none;
}

#general-mouse-catcher, #drag-mouse-catcher{
	left: -10px;
	width: 28px;
	height: 30px;
}

.sine-parameter, .line-parameter, #tap-count, #demo-bpm, .ui-spinner-input {
	width: 3em;
}

.parameter-section{
	float: left;
	padding: 0 20px 10px 20px;
	border: 1px solid grey;
	margin: 10px;
	width: 290px;
	border-radius: 4px;
}

.page-header-section{
	float: left;
	padding-right: 10px;
	border: none;
	margin-right: 10px;
	min-height: 100px;
}

.page-header-text{
	max-width: 720px;
}

.page-header-file-button{
	max-width: 320px;
}

.error-message{
	font-weight: bold;
	color: HotPink;
	display: none;
}

.success-message{
	font-weight: bold;
	color: LimeGreen;
	display: none;
}

.text-input{
    font: inherit;
    color: white;
    text-align: left;
    outline: none;
    cursor: text;
	background-color: black;
	max-width: 100px;
	border: none;
}

.text-input.ip-address-input{
	max-width: 200px;
}

.input-wrapper{
	padding: 6px;
}

.parameter-label{
	display: inline-block;
	width: 144px;
}

.tap-visualisation{
	position: relative;
	display: block;
	top: 0;
	height: 20px;
}

.one-tap-visualisation{
	width: 0; 
	height: 0; 
	position: absolute;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid #00ff00;
}

#expert-controls{
	display: none;
}

.upload-button-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.upload-button a {
  border: 2px solid gray;
  color: gray;
  background-color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
}

.upload-button-wrapper input[type=file] {
  font-size: 0;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.ui-spinner-input {
	max-width: 60px;
}

.waveform-section{
	padding: 10px 20px;
}

#waveform-and-taps {
	width: 100%;
	height: 100%;
	display: block;
	margin: 0;
}

.wavebuilder-content{
	margin-top: 10px;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 10px;
	width: 100%;
	overflow-y: auto;
	overflow-x: hide;
}

canvas.waveform-list-item {
    height: 80px;
    width: 100%;
}

div.waveform-container {
    border-radius: 4px;
    border: 1px solid white;
    padding: 12px;
    margin: 12px;
}

h4.waveform-name {
    margin: 4px;
    text-align: center;
}

div.library-list {
    overflow: auto;
}

.library-waveform {
    max-width: 400px;
    float: left;
	position: relative;
}

#total-duration {
	font-size: x-small;
}

#edit-waveform-view {
    display: none;
    height: calc(100vh - 124px);
    width: calc(100vw - 4px);
}

#add-waveform-from-library-view {
    display: none;
    height: calc(100vh - 124px);
    width: calc(100vw - 4px);
}

#footswitch-behaviour-button {
	width: 4rem;
}

:root{
	--buttons-container-height: 80px;
	--edit-waveform-fixed-content-height: 180px;
	--edit-waveform-canvas-height: 120px;
}

#edit-waveform-scroll-container {
	border-top: 1px solid lightgrey;
	border-bottom: 1px solid lightgrey;
	height: calc(100vh - var(--edit-waveform-fixed-content-height) - var(--edit-waveform-canvas-height));
	min-height: 300px;
	overflow-y: auto;
	background-color: #181818
}
  
#edit-waveform-close-buttons {
    height: var(--buttons-container-height);
    padding: 12px;
	display: flex;
	justify-content: space-between;
}

#edit-waveform-fixed-content{
	height: var(--edit-waveform-fixed-content-height);
}

#waveform-canvas {
	height: var(--edit-waveform-canvas-height);
	width: 100%;
}

#tooltip-section {
	display: none;
}

@media only screen and (pointer: fine) {
	#tooltip-section {
		display: block;
	}
}
@media only screen and (max-width: 486px) and (pointer: fine) {
	#tooltip-section {
		border-right: 1px dotted lightgrey;
	}
}
div.waveform-info {
	position: absolute;
	right: 10px;
	top: 8px;
}

.library-setup-container {
	padding-left: 30px;
	padding-right: 30px;
	width: auto;
}

.library-setup-picture {
	max-width: 100%;
	height: auto;
}

.ui-button.mini-button {
	padding-left: 12px;
	padding-right: 12px;
}

textarea {
	width: 100%;
	height: 200px;
	color: lightblue;
	background-color: black;
}