.frame .bottomaligner {
	position: relative;
	width: 800px;
	height: 460px;
	/*position: relative;
	overflow: hidden;
	display: inline-block;
	*/
	margin: 0px auto;
	padding: 0px;
	border: 1px solid black;
}

.frame .container {
	/*height: 800px;*/
	position: absolute;
	bottom: 0;
	text-align: center;
	width: 100%;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.frame .container > div.instrument {
	position: relative;
	margin: 0px auto;
	display: inline-block;
	vertical-align: bottom;
}

.frame .buttonrow {
	padding: 1px;
	position: relative;
	width: 800px;
	text-align: center;
	background: #999999;
	min-height: 48px;
	margin: 0px auto;
}

.frame .buttonrow button {
	font-size: 11px;
	font-family: sans-serif;
	margin: 4px;
	height: 40px;
	border-radius: 4px;
	border-width: 1px;
	border-color: rgb(192, 192, 192);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0e0e0), color-stop(100%,#afafaf));
	background: -moz-linear-gradient(top, #e0e0e0 0%, #afafaf 100%);
	width: 80px;
	vertical-align: top;
	-webkit-user-select: none;
	user-select: none;
}

.frame .buttonctnr {
	display: inline-block;
	position: relative;
	vertical-align: top;
}

.frame .instrumentbuttons {
	display: inline-block;
	position: relative;
}

.frame .measurework {
	float: right;
	display: inline-block;
}

.frame #measurebutton {
	width: 85px;
	float: right;
	margin-right: 15px;
}

.frame .work_indicator {
	float: right;
	height: 40px;
	width: 32px;
}

.frame .work_indicator img {
	padding-top: 7px;
}

.frame .loadsave {
	float: left;
	width: 60px;
	min-height: 20px;
	margin-left: 10px;
}

.frame #loadbutton , .frame #savebutton {
	display: inline-block;
	width: 50px;
	height: 20px;
	float: left;
}

.frame #savebutton {
	margin-top: -2px;
}

.frame .breadboard
{
	border: none;
}

.frame .shelf {
	float: left;
	display: none;
}

.frame .shelf.show {
	display: inline-block;
}

.frame #shelfbutton {
	display: inline-block;
	width: 50px;
	margin-left: 0;
}

.frame .closebutton {
	position: absolute;
	background-color: #aaaaaa;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0e0e0), color-stop(100%,#afafaf));
	background: -moz-linear-gradient(top, #e0e0e0 0%, #afafaf 100%);
	-moz-box-shadow: 1px 1px 1px #000;
	-webkit-box-shadow: 1px 1px 1px #000;
	box-shadow: 1px 1px 1px #333;

	height: 14px;
	width: 14px;
	font-size: 14px;
	font-weight: bold;
	border-radius: 50%;
	border: 2px solid black;
	display: none;
	line-height: 14px;
	left: 0; top: 0;
}

.frame .closebutton.show {
	display: block;
}

.frame .closebutton:before {
	content: "\0d7";
}

.frame .instrumentdisplay {
	width: 800px;
}

.frame .instrumentdialog {
	display: none;
	position: absolute;
	z-index: 50;
	width: 400px;
	top: 3%;
	height: 90%;
	border: 1px solid black;
	border-radius: 5px;
	background: white;
	padding: 4px;

	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #333;

	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);


	/* center in middle */
	left:0;
	right:0;
	margin-left:auto;
	margin-right:auto;

	overflow: auto;
}

.frame .instrumentdialog .instrumentlist {

}

.frame .instrumentdialog .instrumentlist img {
	height: 150px;
}

.frame .dialog {
	display: none;
	position: absolute;
	z-index: 50;
	border: 1px solid black;
	border-radius: 5px;
	background: white;
	padding: 10px;

	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #333;

	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);

	/* center in middle */
	left:0;
	right:0;
	margin-left:auto;
	margin-right:auto;
}

.frame .filedialog .savedialog {
	width: 300px;
	top: 40%;
}

.frame .filedialog .savedialog input {
	width: 80%;
}

.frame .filedialog .savedialog .infotext {
	font-size: 12px;
	font-style:italic;
}

.frame .filedialog .loaddialog {
	/*display: block;*/
	width: 300px;
	top: 20%;
	height: 270px;
	padding: 0px;
}

.frame .filedialog .loaddialog .files {
	overflow: auto;
	padding: 10px;
	height: 250px;
	width: 280px;
}

.frame .filedialog .loaddialog .file {
	margin: 2px;

	/* workaround for webkit rendering bug on ios */
	position: relative;
	-webkit-transform: translate3d(0,0,0);
}

.frame .filedialog .loaddialog .file .filename {
	display: inline-block;
	font-size: 20px;
	border: 1px solid black;
	border-radius: 5px;
	width: 90%;
}

.frame .filedialog .loaddialog .file .delete {
	float: right;
	display: inline-block;
	height: 20px;
	width: 20px;
	margin-top: 2px;
	background-size:20px 20px;
	background-repeat:no-repeat;
	/* image by ipapun, http://ipapun.deviantart.com/ , used under creative commons */
	background-image:url('images/trash_recyclebin_empty_closed.png');
}

.frame .filedialog .closebutton {
	display: block;
	left: -10px; top: -10px;
	height: 20px;
	width: 20px;
	font-size: 20px;
	line-height: 20px;
}
