/**
 * Smart formular formating
 */
 
input[type="checkbox"], input[type="radio"] 
{
	width: 1em !important;
	margin-top: .5em !important;
	position: relative;
	top: -.0em;
}

.smart
{
	margin: 0 auto;
	width: 100%;
}

option.defaultOption {
	background: #ccc;
}

option.optionDeep1 {
	padding-left: 1em;
}
option.optionDeep2 {
	padding-left: 2em;
}
option.optionDeep3 {
	padding-left: 3em;
}
option.optionDeep4 {
	padding-left: 4em;
}
option.optionDeep5 {
	padding-left: 5em;
}

.smart fieldset
{
	border: solid #aaa;
	border-width: 1px;
	margin: 0 0 1em 0;
	background: #eee;
}

.smart fieldset legend
{
	color: #555;
	background: #eee;
	margin: 0;
	padding: .2em 1em;
	border: solid #aaa;
	border-width: 1px;
}

.smart fieldset p
{
	float: right;
}


.smart label
{ 
	color: #222;
	float: left;
	width: 30%;
	text-align: right;
	margin: 4px 1em 0 0;
}

.smart input, .smart select
{
	margin-bottom: .5em;
	padding: .2em;
}
.smart input[type="text"] {
	
}

.smart input[readonly] {
	background: #eee;
}
.smart textarea 
{
	width: 40%;
	margin-bottom: .5em;
	padding: .3em;
	font-size: small;
}

.smart br
{
	clear: left;
}

div.buttons
{
	clear: both;
	text-align: center;
	padding: .7em 0 0 0;
}

div.buttons button
{
}

button {
	border: outset 1px;
}

button[type="submit"]
{ 
}

button[type="reset"]:hover
{ 
	color: white;
	background: red;
}

#LoginForm input
{
	width: 8em;
}
fieldset#UserPermissions 
{
	float: right;
	width: 14em;
}
fieldset#UserPermissions label { width: 60%; float: left;}
fieldset#UserPermissions input { width: 30%; float: right;}

.tab {
	display: none;
}
	
.tabs {

}
.tabs a {
	display: block;
	float: left;
	text-decoration: none;
	margin: 0 -1px 0 0;
	padding: .2em .8em;
	border: solid #ccc;
	border-width: 1px 1px 0 1px;
	background: rgb(230, 230 ,230);
	
}
.selectedTab {
	background: rgb(200, 200, 200);
}
.tabs a:hover {
	background: rgb(200, 200 ,200);
	color: #000;
}
.templateSelector {
	border: none;
}
