.lbl {
	width:95%;
	margin-top:10px;
	text-align:left;
}
.lblwide {
	width:95%;
	margin-top:10px;
	text-align:left;
}
.box, .boxsgl {
	max-width: 250px;
	width:95%;
	text-align:left;
}
.boxwide, .boxwidesgl {
	width:95%;
	text-align:left;
}
.boxwidefull {
	width:95%;
	clear:left;
	text-align:left;
}
.boxwide div, .boxwidesgl div, .boxwidefull div, .lblwide div {
	display:inline-block;
	width:auto;
	white-space: nowrap;
}
.boxwide .cke, .boxwidesgl .cke, .boxwidefull .cke, .lblwide .cke,
.boxwide .cke div, .boxwidesgl .cke div, .boxwidefull .cke div, .lblwide .cke div {
	display:block;
}
.boxed {
	border: #A9A9A9 1px solid;
	padding: 2px 4px 2px 4px;
	background-color: #fff;
}
input[type=text], input[type=password], input[type=submit], div.btnd input, select.fill, textarea {
	width:100%;
}
div.btnd input[type=button] {
	font-size:0.9em;
	font-weight:bold;
	line-height: 1.3em;
}
div.btnd input[type=submit] {
	font-size:1em;
	font-weight:bold;
}
	input[type=text].hasDatepicker, input[type=number], input[type=text].colorPicker, input.small {
		max-width:90px;
	}
input[type=password] {
	max-width:100px;
}
div.boxonly input[type=password] {
	max-width:none;
}
input[type=checkbox], input[type=radio] {
	margin:0 2px;
}
select {
	max-width:100%;
}

.half {
	width:100%;
	display:block;
}




@media (min-width:600px) {
	.half {
		width:49%;
		display:inline-block;
		vertical-align: middle;
	}
	.lbl {
		float:left;
		clear:left;
		width:150px;
	}
	.lblwide {
		width:100%;
		clear:left;
		padding-top:10px;
	}
	.box {
		float:left;
		width:300px;
		margin-top:10px;
	}
	.boxsgl {
		float:left;
		margin-left:150px;
		width:300px;
		margin-top:10px;
	}
	.boxwide, .boxwidesgl {
		max-width: 660px;
	    max-width: -webkit-calc(100% - 160px);
	   	max-width: -moz-calc(100% - 160px);
		max-width: calc(100% - 160px);
		float:left;
		margin-top:10px;
	}
	.boxwidesgl {
		margin-left:150px;
	}
	.btnd, .boxonly {
		clear:left;
		/*max-width:250px;*/
		margin:0 auto;
		text-align:center;
	}
	.btnd {
		padding-top:20px;
	}
	.btnd input, .boxonly input {
		max-width:250px;
	}
	.btnd input.save, .btnd input.del {
		max-width:175px;
	}
}
@media (min-width:768px) {
	.lbl {
		width:250px;
	}
	.box {
		width:500px;
	}
	.boxsgl {
		margin-left:250px;
		width:500px;
	}
	.boxwide, .boxwidesgl {
		max-width: 660px;
	    max-width: -webkit-calc(100% - 260px);
	   	max-width: -moz-calc(100% - 260px);
		max-width: calc(100% - 260px);
	}
	.boxwidesgl {
		margin-left:250px;
	}
}