legend {
	color: #333333;
}

legend small {
	color: #999999;
}

.input-prepend .chzn-container-single .chzn-single,
.input-append .chzn-container-single .chzn-single {
	border-color: $border-color-light;
}

.input-prepend .chzn-container-single .chzn-drop,
.input-append .chzn-container-single .chzn-drop {
	border-color: $border-color-light;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
	background-color: $white;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	@include box-sizing(border-box !important);
	@include transition(border 0.2s linear, box-shadow 0.2s linear);
	.input-prepend &, .input-append & {
		padding: 0.325rem;
		max-width: 95%;
		.dir-rtl & {
			border-radius: 4px 0 0 4px;
		}
	}
}

.input-prepend > .add-on, .input-append > .add-on {
    padding: 6px;
    -webkit-padding-before: 7px;
    -webkit-padding-after: 7px;
	.dir-rtl & {
		margin-right: auto;
		margin-left: -1px;
		.btn {
			margin-right: auto;
			margin-left: -1px;
		}
		&:first-child {
			border-radius: 0 4px 4px 0;
		}
	}
}

textarea {
    width: 100%;
}

.dir-rtl {
	.form-horizontal {
		.control-label {
			float: right;
			text-align: left;
		}
		.controls {
			margin-left: 0;
			margin-right: 180px;
		}
	}
}

// Mailto and Print Windows
.view-mailto, .body-only {
    padding: 0 $leading-margin;
    #g-page-surround {
        box-shadow: none;
    }
}

// Module Editing
.controls {
    input[type="radio"] {
        margin-right: 5px;
    }
}
.layout-edit {
	#sbox-content.sbox-content-iframe {
		overflow: hidden;
	}
}

// Login Module
#login-form {
	.input-prepend, .input-append {
		width: 100%;
		.add-on, .input-small, .btn {
			height: 35px;
		}
		.input-small {
			width: 80%;
		}
	}
}
