﻿input, textarea {
	font-family: Tahoma, Arial, Sans-Serif;
	font-size: 12px;
}

input, select, label {
  vertical-align: middle;
}

input[type="text"],
input[type="password"],
textarea,
select {
  border: solid #aaa 1px;
}

input[type="text"],
input[type="password"],
textarea {
	padding: 2px;
}

.CheckBox {
}

.DropDownList {
}

.ListBox {
}

table.Form {
	margin: 5px auto;
	max-width: 600px;
	border-top: solid #ebecf4 1px;
}

table.Form td {
	padding: 5px 4px;
	background-color: #f0f1f7;
	border-bottom: solid #e8e9f2 1px;
}

table.Form td.LabelCell {
	width: 48%;
	font-weight: bold;
	text-align: right;
	vertical-align: middle;
	white-space: nowrap;
	border-right: dotted #ebecf4 1px;
	padding-left: 10px;
	padding-right: 6px;
	color: #333;
}

table.FormSummary td.LabelCell {
	width: 48%;
}

table.Form td.MultiLineData {
	vertical-align: top;
	padding-top: 7px;
}

table.Form td.DataCell {
	width: 48%;
	vertical-align: middle;
	padding-left: 6px;
	padding-right: 10px;
}

table.FormSummary td.DataCell {
	width: 48%;
}

table.Form td.CheckBoxCell {
	width: 90%; /* Sum of cells width - width of the HelpCell. */
	text-align: center;
}

table.Form td.HelpCell {
	width: 4%;
	text-align: center;
	font-size: 0px;
}

table.FormSummary td.HelpCell {
	width: 5%;
}

table.FormSummary td.ValidationSummaryCell {
	text-align: center;
}

table.Form td.StatusCell {
	font-weight: bold;
}

table.Form td .StatusOK {
	color: #0A0;
}

table.Form td .StatusFailed {
	color: #F00;
}

table.Form input.TextBox,
textarea.TextBox {
	width: 250px;
}

table.Form input.TextBoxShort,
table.Form textarea.TextBoxShort {
	width: 180px;
}

table.Form input.TextBoxVeryShort,
table.Form textarea.TextBoxVeryShort {
	width: 64px;
}

textarea.MultiLineTextBoxSmallHeight {
	height: 30px;
}

textarea.MultiLineTextBoxMediumHeight {
	height: 60px;
}

textarea.MultiLineTextBoxLargeHeight {
	height: 90px;
}

.FormButtonsContainer {
	text-align: center;
	padding: 5px;
	padding-bottom: 0;
	margin-bottom: 5px;
}

.RightAlignedFormButtonsContainer {
	text-align: right;
	padding: 0;
	margin-top: 3px;
	margin-bottom: 5px;
}

/* ----------------------------------------------------- BEGIN: GECKO -----------------------------------------------------*/

.gecko textarea.FullWidth,
.gecko input[type="text"].FullWidth {
	width: 99.7%;
}

/* ----------------------------------------------------- END: GECKO -------------------------------------------------------*/

/* ----------------------------------------------------- BEGIN: IE 7 ------------------------------------------------------*/

.ie7 textarea.FullWidth,
.ie7 input[type="text"].FullWidth {
	width: 99.6%;
}

.ie7 textarea {
	overflow: auto;
}

.ie7 .RightAlignedFormButtonsContainer div.SimpleValidationSummary {
	display: inline;
}

/* ----------------------------------------------------- END: IE 7 --------------------------------------------------------*/

/* ----------------------------------------------------- BEGIN: SAFARI --------------------------------------------------*/

.safari textarea.FullWidth,
.safari input[type="text"].FullWidth {
	width: 99.7%;
}

/* ----------------------------------------------------- END: SAFARI ----------------------------------------------------*/

/* ----------------------------------------------------- BEGIN: IE 6 ----------------------------------------------------*/

.ie6 textarea.FullWidth,
.ie6 input.FullWidth {
	width: 99.6%;
}

.ie6 textarea {
	overflow: auto;
}

/* ----------------------------------------------------- END: IE 6 ------------------------------------------------------*/
