/**
 * Copyright (C) 2009 eXo Platform SAS.
 * 
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

/*####################- HorizontalLayout -#################*/

.UIForm .HorizontalLayout {
  border: 1px solid #aeaeae;
  background: #F7F7F7;
  padding: 10px;
}	
  
.UIFormGrid {
	width: auto;
	margin: auto;
}

.UIForm .UIFormGrid td.FieldLabel {
	padding: 4px;
	text-align: right; /* orientation=lt */
	text-align: left; /* orientation=rt */
	vertical-align: top;
}

.UIFormGrid td.require {
	text-align: right; /* orientation=lt */
	text-align: left; /* orientation=rt */
}

.UIForm .UIFormGrid td.FieldComponent {
	padding: 4px;
	*padding: 2px 0px 4px 4px;
}

.UIForm .UIFormGrid td.NonEditableField {
}

.UIForm .HorizontalLayout .MultiValueContainer {
	margin-bottom: 5px;
}

.UIForm .HorizontalLayout .MultiValueContainer .MultiFieldAction {
	margin: 0px 3px;
}

.UIForm .HorizontalLayout .FieldContainer .UIFormMultiValueInputSet {
	float: left;
	margin: 0px 10px 0px 5px;
}

.UIForm .HorizontalLayout .UIFormInputSet {
	padding: 10px;
	margin: auto;
}

.HorizontalLayout .UIForm .UIFormInputSet {
	padding: 10px; margin: auto;
}

.UIForm .HorizontalLayout .UIFormInputSet .Title {
	margin: 10px 0px 0px 10px; /* orientation=lt */
	margin: 10px 10px 0px 0px; /* orientation=rt */
	color: #5f7fd6;
}

.UIForm .HorizontalLayout .UIFormInputSet .ItemLabel {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	font-weight: bold;
	width: 100px;
}

.UIForm .HorizontalLayout .UIFormInputSet .ItemValue {
	margin-left: 5px; /* orientation=lt */
	margin-right: 5px; /* orientation=rt */
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	color: #2f76e2;
}

.UIForm .HorizontalLayout .UIFormInputSet .ItemValueDescription {
	margin-top: 10px;
	height: 50px;
	border: solid 1px gray;
	background: white;
}

.UIForm .HorizontalLayout input {
	width: 235px;
	font-size: 11px;
}

.UIForm .FieldComponent .FieldComponent input {
	width: 200px;
}

.UIForm .HorizontalLayout input.checkbox {
	width: 16px;
	margin: 0px;
}

.UIForm .HorizontalLayout input.radio {
	width: 15px;
	margin-right: 5px; /* orientation=lt */
	margin-left: 5px; /* orientation=rt */
}

.UIForm .HorizontalLayout textarea {
	width: 235px;	height: 75px;
	font-size: 11px;
	border: 1px solid #b7b7b7;
}

.UIForm .HorizontalLayout select {
	width: 239px;
	font-size: 11px;
}

.HorizontalLayout .UIForm input {
	width: 235px;
	font-size: 11px;
}

.HorizontalLayout .UIForm input.checkbox {
	width: 16px;
	margin: 0px;
}

.HorizontalLayout .UIForm input.radio {
	width: 15px;
}

.HorizontalLayout .UIForm textarea {
	width: 232px;	height: 75px;
	font-size: 11px;
}

.HorizontalLayout .UIForm select {
	width: 239px;
	font-size: 11px;
}

/*####################- VerticalLayout -#################*/

.UIForm .VerticalLayout {
}

.UIForm .VerticalLayout	label {
	text-align: left; /* orientation=lt */
	text-align: right; /* orientation=rt */
	font-weight: bold;
	margin-bottom: 15px;
}

.UIForm .VerticalLayout input {
	width: 170px;
	border:	1px solid gray;
	font-size: 11px;
}

.UIForm .VerticalLayout input.checkbox {
	width: auto;
}

.UIForm .VerticalLayout textarea {
	width: 170px;	height: 75px;
	border: 1px solid gray;
	font-size: 11px;	
}

.UIForm .VerticalLayout select {
	width: 170px;
	font-size: 11px; 
}

/*####################- UIFormInputSet -#################*/

.UIFormInputSet .UIFormInputSetWithAction .UIFormGrid td {
	padding: 0px 4px;
}

/*####################- UIPermissionForm -#################*/

.UIPermissionForm .UIGroupSelector .RightGroupSelector .Content {
	height: 160px;
}

.UIPermissionForm .UIForm .HorizontalLayout .UIAccessGroup td.FieldLabel {
	line-height: 16px;
}

.UIPermissionForm .UIForm .UIAccessGroup .UIFormGrid td.FieldComponent {
	padding: 4px;
	*padding: 2px 0px 4px 4px;
}
