div.form {
	border: 1px solid #dddddd;
	background: #f9f9f9;
	color: #333333;
	margin : 0;
	padding: 6px;
	width: 600px;
	margin: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

div.portlet div.form {
	border: none;
	background: transparent;
	margin: 0;
	padding: 5px;
	width: 100%;
}

div.form table.double td,
div.form table.multiple td {
	padding: 0 20px 0 0;
	vertical-align: top;
}

div.form table.double td {
	width: 45%;
}

div.form table.linear td {
	padding: 2px 3px 2px 3px;
	text-align: center;
	vertical-align: middle;
}

div.form p {
	margin: 10px 0;
	color: #666666;
}

div.form p.hint {
	margin: 0 0 0 110px;
}

div.form .hint {
	color: #666666;
}

div.form div.menu {
	text-align: right;
	color: #666666;
}

div.form div.group {
	clear: left;
	padding: 5px 10px 5px 10px;
	margin: 10px 0 10px 0;
	font-weight: bold;
	color: #666666;
	background: #eeeeee;
}

div.form div.group.alpha {
	margin-top: 0;
}

div.form div.group a {
	font-size: 8pt;
	font-weight: normal;
}

div.form label {

}

div.form div.action {
	clear: left;
	margin-left: 150px;
	padding: 5px 0;
}

div.form div.simple,div.form div.complex {
	clear: left;
	padding: 4px 0;
}

div.form div.simple label,
div.form div.complex span.label,
div.form div.complex span label {
	display: block;
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 140px;
}

div.form div.simple div,
div.form div.complex div.panel {
	margin-left: 150px;
}

div.form div.complex table.grid td {
	padding: 0 5px 5px 0;
	vertical-align: top;
}

div.form div.complex table.grid td label {
	display: block;
}

div.form div.cpanel {

}

div.form div.cpanelContent {
	padding: 5px 0 10px 0;
}

div.form div.rpanelContent,
div.form div.spanelContent,
div.form div.rpanelContent>label.error,
div.form div.spanelContent>label.error,
div.form div.rpanelContent>div.errorMessage,
div.form div.spanelContent>div.errorMessage
{
	display: inline;
}

div.form form {
	margin: 0;
}

div.form input[type=text],
div.form input[type=password],
div.form textarea,
div.form select {
	border: 1px solid #cacaca;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #ffffff;
}

div.form input[type=text]:focus,
div.form input[type=password]:focus,
div.form textarea:focus,
div.form select:focus {
	outline: none !important;
	border: 1px solid #0088cc;
}

div.form input[type=text],
div.form input[type=password],
div.form textarea {
	padding: 6px 4px 6px 4px;
}

div.form select {
	padding: 5px 1px 5px 1px;
}

div.form input[disabled],
div.form checkbox[disabled],
div.form select[disabled],
div.form textarea[disabled] {
	background: #ddd;
}

div.form input.error,
div.form textarea.error,
div.form select.error,
div.form input.error:focus,
div.form textarea.error:focus,
div.form select.error:focus {
	background: #feeeee;
	border-color: #c00000;
}

input[disabled],checkbox[disabled],select[disabled],textarea[disabled] {
	background: #dddddd;
}

label.required {

}

span.required {
	color: #c00000;
}

label.error,
span.error {
	color: #c00000;
}

div.errorSummary {
	border: 2px solid #c00000;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #feeeee;
}

div.errorSummary p {
	margin: 0;
	padding: 5px;
}

div.errorSummary ul {
	margin: 0;
	padding: 0 0 0 20px;
}

div.errorSummary ul li {
	list-style: square;
}

div.errorMessage {
	color: #C00;
}

label.error {
	display: block;
}

div.preview {
	border: 1px solid #DDD;
	padding: 10px 20px 10px 20px;
	margin: 0 0 20px 0;
	background: #FFFFE0;
}

div.add {
	cursor: pointer;
	width: 60px;
	padding: 2px;
	border: 1px solid #cacaca;
	color: #0088cc;
	text-align: center;
}

img.remove:hover {
	-moz-box-shadow: 3px 3px 4px #A8B296;
	-webkit-box-shadow: 3px 3px 4px #A8B296;
	box-shadow: 3px 3px 4px #A8B296;
}

textarea.template {
	display: none;
}

.readonly {
	 background-color: #dddddd !important;
}

/* jquery ui style fix */
.ui-autocomplete
{
	max-height: 200px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 30px;
}

.ui-autocomplete li.ui-menu-item {
	  padding: 1px;  /* needed to prevent the item sizes from changing on hover */
}

.ui-autocomplete a.ui-menu-item-alternate {
	background-color: #eee;
}

.ui-autocomplete-loading {
	background: url('img/loading.gif') right center no-repeat;
}

/* multiselect */
.ui-multiselect {
	border: 1px solid #cacaca !important;
	padding: 6px 0 3px 6px !important;
	background:  white !important;
}
.ui-multiselect-menu .ui-state-hover
{
	color: black !important;
	font-weight: normal !important;
}

/* select2 */
.select2-container .select2-choice,
.select2-container-multi .select2-choices {
	border: 1px solid #cacaca !important;
	background-image:  none !important;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.select2-container-multi input {
	border: none !important;
}

thead .select2-container .select2-choice {
	height: 16px !important;
	padding: 0 0 0 8px !important;
	line-height: 16px !important;
	-webkit-border-radius: 0 !important;
	   -moz-border-radius: 0 !important;
			border-radius: 0 !important;
}

.select2-container .select2-choice div {
	background-image:  none !important;
	background: #E0E0E0 !important;
	width: 16px !important;
	border-left: 1px solid #cacaca !important;
}

thead .select2-container .select2-choice div {
	display: block;
	width: 18px;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-border-radius: 0 !important;
	   -moz-border-radius: 0 !important;
			border-radius: 0 !important;
}

thead .select2-container .select2-choice div b {
	background: url('../images/select2.png') no-repeat 0 -3px !important;
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
	border: 1px solid #cacaca !important;
	-webkit-box-shadow: none !important;
	   -moz-box-shadow: none !important;
			box-shadow: none !important;
}

/* imperavi redactor */
.redactor_toolbar {
	box-shadow: none !important;
	background: #f9f9f9 !important;
}

.redactor_toolbar li a {
	margin-bottom: 3px !important;
}

.redactor_toolbar li a:hover,
.redactor_toolbar li a.redactor_act {
	border-radius: 3px !important;
}

.redactor_editor {
	border: 1px solid #cacaca !important;
	border-radius: 3px !important;
}

.redactor_editor:focus {
	border-color: #0088cc !important;
}
