/* 	Global Styles 	*/
body{
	padding-top: 70px;
}
input{
	padding: 1px 5px;
}
h1{
	font-size:20px;
}
table{
	clear: left;
}
.clear{
	clear: both;
}
.btn{
	margin-bottom: 5px;
}
.btn-sm {
	width: 92px;
}
input:focus,textarea:focus,select:focus{
	border-color: rgba(82, 168, 236, 0.8);
    box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
    outline: 0 none;
}
.nav a{
	outline:none;
}

/* 	Index Page 	*/
#console_wrapper{
	display: none;
}
#console .raw{
	white-space: pre;
}
#console table{
	width: 100%;
}
#console .raw{
	font-size: 12px;
}
.spark canvas{
	display: inline-block;
	width: 80px;
	height: 16px;
}
#photo_wrapper{
	width:300px;
	height:200px;
	position: fixed;
	right:10px;
	bottom:10px;
	z-index: 500;
}
#image_wrapper img,#photo_wrapper img{
	max-width: 100%;
	max-height: 100%;
   	margin: auto;
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;	
}
#preview3d{
	max-height:100px;
	padding-left: 10px;
}
.shadow{
	box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);
}
.enlarged{
	position: absolute!important;
	left:0;
	top:0;
	z-index: 1000;
}
#image_wrapper.enlarged img{
	width: auto;
	max-width: none;
	height: auto;
	max-height: none;
	display: block;
	margin: 0 auto;
	z-index: 1000;
	top: 0;
}
#photo_wrapper,#camera{
	display: none;
}
.layer_details .key{
	font-weight: bold;
	font-size: medium;
}
.layer_details .val{
	padding: 10px 20px;
	font-size: medium;
}
.printing-obj,.idle-obj,.hide,.pause-obj,.resume-obj{
	display:none;
}
#stat{
	float: right;
}
.starter-template{
	position: relative;
}

/*	Calibration Page 	*/
.left_link a{
	display: block;
	float: left;
	clear: both;
}
.right_link a{
	display: block;
	float: right;
	clear: both;
}

/* 	Projector Calibration Page 	*/
.box{
	padding: 10px;
	border: 1px solid;
}

/* 	Terminal Page 	*/
#terminal{
	overflow-y: scroll;
	background-color: #000;
	height: 400px;
	color:#fff;
	font-size: 15px;
	padding: 10px;
	font-family: "Courier New", Courier, monospace;
	white-space: pre;
}
#terminal .sent{
	color:yellow;
}

/* 	Blackout Page 	*/
img#blackout_overlay{
	position:absolute;
	left:0;
	opacity:0.7;
}
#blackout_image img{
	width: 100%;
}
#preview img{
	max-width: 100%;
	max-height: 800px;
}
.imgareaselect-selection{
	background-color: blue;
	opacity: 0.4;
}
.imgareaselect-handle{
	background-color: blue;
}

/*  Plates Page */
#plates{
	font-size: 11px;
}
#plates .alert-danger{
	margin-bottom: 0;
	padding: 5px 10px;
    background-color: #444;
    font-size: 13px;
}
#plates a{
	text-decoration:none;
}
.req-processed{
	visibility: hidden;
}
.plate-processed .req-processed{
	visibility: visible;
}

.req-not-processed{
	display: block;
}
.plate-processed .req-not-processed{
	display: none;
}
.slicing .req-no-slicing{
	display: none;
}

/*  Bootstrap Hacks */
label, .radio label, .checkbox label, .help-block {
	font-size: 13px;
	font-weight: 300;
	width: 100%;
}
.compact-input{
	display: inline;
	width: 65px;
	padding: 0px 8px;
}
.navbar-brand {
	text-shadow: 1px 2px #333;
}
.form-control::-moz-placeholder{
	color:#999;
}
.form-control::-ms-input-placeholder{
	color:#999;
}
.form-control::-webkit-input-placeholder{
	color:#999;
}

/* 	Edit Page 	*/
.edit-page input,.edit-page select,.edit-page textarea,#search{
	background-image: none;
	border-radius: 0;
	display: block;
	font-size: 15px;
	height: 39px;
	line-height: 1.42857;
	padding: 8px 16px;
	width: 100%;
}
.checkbox input{
	width: auto;
	display: inline;
}
.edit-page textarea{
	height: 133px;
}
.edit-page input[type="file"]{
	padding: 0;
}
.edit-page sub{
	font-size: 15px;
}
.edit-table td,.edit-table th{
	padding: 15px;
}
.edit-table .action a{
	text-decoration: none;
	font-size: 22px;
}
.edit-table table{
	width: 100%;
}

/*	Help Popover 	*/
.modal-dialog{
	z-index: 5000;
}
.help{
	background-color: #337ab75e;
    border-radius: 6px;
    color: #fff!important;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
	text-decoration: none!important;
	float: right;
    margin-left: 5px;
	padding: 1px 8px;
}
.help.hh{
	padding: 2px 8px 0;
}
.help:hover{
	background-color: orange;
	color: white;
	text-decoration: none;
	transition: background-color 0.3s ease-in-out 0.3s, color 0.3s ease-in-out 0.3s;
}
.regen{
	background: none;
	color: red!important;
	border: none;
}
.popover .arrow{
	display: none;
}
.popover{
	left:auto!important;
	right:auto;
	position: fixed;
}

/*	Misc	*/
.note{
	font-size: 12px;
	color:#999;
	margin-bottom: 5px;
}
.white{
	color:#fff!important;
}
#gcode{
	width: 100%;
}
#buttons input{
	width:200px;
}
#helpModal .help{
	display:none;
}
#jqstooltip{
	background-color: transparent;
	border:0;
}
#mask_grid td{
	padding:10px 10px 0 0;
}
input:focus {
	border-color: #66afe9;
	outline: 0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.formula_keyword{
	width:185px;
	float:left;
	margin-top:10px;
}
.formula_keyword input{
	width: 100px;
}
#search{
	width: 200px;
	float: right;
	margin: 21px 0 15px;
}
.notice{
	color: orange;
}
dl{
	margin-bottom:0;
}
#details{
	display:none;
}
.split#details{
    float: left;
    width: 30%;
    display:block;
}
.split#preview{
    float: right;
    width: 70%;
}
/* 	Stat 	*/
.stat-bar {
    padding: 0;
    display: table;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
	user-select: none;
	font-size: 10px;
}
.stat-bar .part {
    display: block;
    line-height: 21px;
    overflow: hidden;
	float: left;
	text-align: center;
	white-space: nowrap;
	width: 0;
}
.progress{
	margin: 10px 0;
}
.flex-row{
    display: flex;
    flex-wrap: wrap;
}
.dashboard .glyphicon{
	margin-right: 5px;
}
.dashboard .controls{
	float: right;
}
.dashboard .controls .glyphicon{
	font-size: 20px;
	margin-left: 10px;
	margin-right: 0;
}
.cont .glyphicon{
	font-size: 40px;
}
#toggle_log{
	font-weight: normal;
	padding: 6px 4px 3px;
}
