@import "uni-form-generic.css";
/* Keep in mind that wherever you see 'Required property' it means that the property must exist */

/* ------------------------------------------------------------------------------ */

  /* Generals */
  form.uniForm { margin-bottom: 20px; }
  .uniForm fieldset{ margin: 0; }
  .uniForm fieldset.margins{ margin: 20px 0; }
    .uniForm fieldset legend{ background-color: #7e0ac5; color: #fff; font-weight: bold; font-size: 100%; padding: 0.5em 1em; }
    .uniForm fieldset legend.none{ display: none; }
    .uniForm fieldset h3 { background-color: #aaa; color: #111; font-size: 100%; padding: 0.8em 1em; margin: 0; }
    .uniForm fieldset div.instructions { font-size: 16px; background-color: #ddd; margin: 0 0 0 0; padding: 0.8em 1em; }
    .uniForm fieldset p.instructions { font-size: 14px; background-color: #ddd; margin: 0 0 0 0; padding: 0.8em 1em; }
    .uniForm fieldset hr { margin-top: 15px; }
    .uniform fieldset div ul { list-style-type: square; }
    .uniForm fieldset div li { padding: 0; }

    /* This is the main unit that contains our form elements */
    .uniForm .ctrlHolder{ padding: 1em; border-bottom: 1px solid #bbb; }
    .uniForm .ctrlHolder fieldset { margin-left: 1.5em; }
    .uniForm .ctrlHolder fieldset legend { padding-top: 1em; font-size: 110%; }
    .uniForm .ctrlHolder fieldset .ctrlHolder { padding-bottom: 0; border: 0; }

    .uniForm .buttonHolder{ padding: 1em 1em; text-align: center; }
      .uniForm .resetButton{ float: left; }
      .uniForm .logoutButton{ float: left; }
      .uniForm .primaryAction{ background-color: #aaa; font-weight: bold; font-size: 1.2em; padding: 0.5em 2.0em; border-radius: 5px; border-width: 2px; }

    .uniForm .addButtonHolder{ padding: 1em 1em 2em 1em; text-align: right; }
      .uniForm .addButton{ font-weight: bold; font-size: 85%; padding: 3px; }

    /* This class gets added to div.ctrlHolder to highlight the row */
    .uniForm .focused{ background: #fffcdf; }

      /* .inlineLabel is used for inputs within labels - checkboxes and radio buttons */
      .uniForm .inlineLabel input,
      .uniForm .inlineLabels .inlineLabel input,
      .uniForm .blockLabels .inlineLabel input{ float: left; margin: 0 .4em 0 0; }
        .uniForm .inlineLabel span{ float: left; width: 90%; line-height: 1.5em; }

/* ------------------------------------------------------------------------------ */

    /* .blockLabels (default style, will be applied even if you don't class the parent element) */
    .uniForm .blockLabels .ctrlHolder{}

      .uniForm label,
      .uniForm .blockLabels label,
      .uniForm .blockLabels .label{ margin: 0 0 .5em 0; }

      .uniForm .blockLabels legend{ padding: 5px 0 0 0; }

      .uniForm .textInput,
      .uniForm .blockLabels .textInput,
      .uniForm .blockLabels .fileUpload{ width: 53%; /* <- Required property */ }

      .uniForm .selectInput,
      .uniForm select,
      .uniForm .blockLabels .selectInput,
      .uniForm .blockLabels select{ width: 53.5%; /* <- Required property */ }
      .uniForm textarea,
      .uniForm .blockLabels textarea{ width: 53%; /* <- Required property */ height: 12em; }

      .uniForm .formHint,
      .uniForm .blockLabels .formHint{ line-height: 1.5; width: 45%; /* <- Required property */ padding-top: 0.5em; font-size: .9em; color: #555; position: relative; top: -.5em; }
      .uniForm .blockLabels .choiceDetails{ padding-top: 0.5em; padding-left: 2.4em; font-size: .9em; color: #555; position: relative; }
      .uniForm .blockLabels dfn { font-size: .9em; font-style: normal; color: #555 }

      .uniForm .multiField,
      .uniForm .blockLabels .multiField{ width: 53%; }
        .uniForm .multiField .inlineLabel,
        .uniForm .blockLabels .multiField .inlineLabel{ display: block; margin: 0 0 0 0; }
        .uniForm .multiField .blockLabel,
        .uniForm .blockLabels .multiField .blockLabel{ width: 30%; margin: 0 10px 0 0; }
        .uniForm .multiField .blockLabel .textInput,
        .uniForm .multiField .blockLabel .selectInput,
        .uniForm .multiField .blockLabel select,
        .uniForm .blockLabels .multiField .blockLabel .textInput,
        .uniForm .blockLabels .multiField .blockLabel .selectInput,
        .uniForm .blockLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; }

/* ------------------------------------------------------------------------------ */

    /* .inlineLabels */
    .uniForm .inlineLabels .ctrlHolder{}

    .uniForm .inlineLabels label,
    .uniForm .inlineLabels .label{ width: 50%; /* <- Required property */ margin: .3em 2% 0 0; /* <- Required property */ }
    .uniForm .inlineLabels label{ line-height: 1.5em; }
    .uniForm .inlineLabels label span.labelHint { font-size: .9em; color: #555; }

    .uniForm .inlineLabels .textInput,
    .uniForm .inlineLabels .fileUpload{ width: 45%; /* <- Required property */ }

    .uniForm .inlineLabels .selectInput,
    .uniForm .inlineLabels select{ width: 45%; /* <- Required property */ }

    .uniForm .inlineLabels textarea{  width: 45%; /* <- Required property */ height: 8em; }

    .uniForm .inlineLabels .formHint { width: 47%; font-size: .8em; color: #111; position: static; }

    .uniForm .inlineLabels .multiField{ width: 45%; /* <- Required property */ margin: 0 0 0 0; }
      .uniForm .inlineLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; }
      .uniForm .inlineLabels .multiField .blockLabel{ float: left; width: 26%; margin: 0 3% 0 0; }
      .uniForm .inlineLabels .multiField .blockLabel .textInput,
      .uniForm .inlineLabels .multiField .blockLabel .selectInput,
      .uniForm .inlineLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; }
      .uniForm .inlineLabels .multiField input.multiInput { margin-right: 0.8em; margin-bottom: 0.5em; }
      .uniForm .inlineLabels .multiField select.multiInput { width: 100%; margin-bottom: 0.3em; }
      .uniForm .inlineLabels .multiField p.multiInputLabel { margin-bottom: 0.5em; font-size: .9em; color: #555; }

/* Focus pseudoclasses */
.uniForm .ctrlHolder .textInput:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }
.uniForm .ctrlHolder textarea:focus{ outline: none; /* Get rid of the 'glow' effect in WebKit, optional */ }
.uniForm div.focused .formHint{ color: #333; }

/* Columns (they are floated left by default) */
.uniForm .col{ width: 47.9%; /* <- Required property */ margin: 0 2% 20px 0; }
/* Use .first and .last classes to control the layout/spacing of your columns */
.uniForm .col.first{ width: 49%; /* <- Required property */ float: left; clear: none; }
.uniForm .col.last{ width: 49%; /* <- Required property */ float: right; clear: none; margin-right: 0; }

/* Messages */
.uniForm .errorMsg{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; margin: 0 0 5px 0; padding: 0em 1em; }
.uniForm .errorMsg h4 { color: #c00; }
.uniForm .error{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; font-weight: normal; padding: 1em; }
.uniForm .errorItem { color: #c00; font-weight: bold; }

	.uniForm div#errorMsg { margin-bottom: 20px; }
	.uniForm div#errorMsg h3 { background-color: #c00; color: #fff; font-size: 100%; padding: 0.8em 1em; margin: 0; }
  .uniForm .errorMsg dt { background-color: #c00; margin: 0 0 .5em 0; font-size: 100%; line-height: 100%; font-weight: bold; }
  .uniForm .errorMsg dd{ margin: 0; padding: 0; }
    .uniForm .errorMsg ol{ margin: 0; padding: 0; }
      .uniForm .errorMsg ol li{ margin: 0; padding: 2px; list-style-position: inside; position: relative; }
    .uniForm .errorField{ color: #af4c4c; margin: 0 0 10px 0; padding: 4px 6px; background: #ffbfbf; }

.uniForm #OKMsg{ background: #C8FFBF; border: 1px solid #A2EF95; border-width: 1px 0; margin: 0 0 1.5em 0; padding: 7px; }
  .uniForm #OKMsg p{ margin: 0; }

/*
IT IS STRONGLY ADVISED TO MAKE YOUR CHANGES AFTER THIS COMMENT BY REPEATING (COPYING) THE SELECTOR FROM ABOVE,
AND MODIFYING IT WITH YOUR OWN PROPERTIES/VALUES. THIS IS RECOMMENDED BECAUSE IF YOU HAPPEN TO RUN INTO TROUBLE,
YOU CAN VERY EASILY REVERT TO A GENERIC STYLE OF UNI-FORM. BEST OF LUCK...
*/

/* ------------------------------------------------------------------------------ */


.uniForm .ctrlHolder {
	background-color: #efefef;
	font-size: 16px;
}

.uniForm .textInput, .uniForm textarea {
	border: 1px solid #ddd;
	border-radius: 6px 6px 6px 6px;
	-moz-border-radius: 6px 6px 6px 6px;
	-webkit-border-radius: 6px 6px 6px 6px;
	padding: 4px 6px;
}

.uniForm input:focus, .uniForm textarea:focus, .uniForm select:focus, .uniForm .multiInput:focus {
	background-color: #fafec0;
}

.uniForm .inlineLabels label, .uniForm .inlineLabels .label  {
	font-size: 100%;
	font-weight: normal;
	color: #333;
	white-space: normal;
	border-radius: none;
	text-align: left;
}

/*
.uniForm .inlineLabels .multiField input {
	float: none;
	display: inline-block;
}
*/

/*
.uniForm .inlineLabels .multiField label,
.uniForm .inlineLabels .multiField .label {
	float: none;
	display: inline-block;
	width: auto;
	margin: 0px 4px 0px 0px;
}
*/

.uniForm fieldset h3 {
  background-color: #f68b1f;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px 6px 0px 0px;
  -moz-border-radius: 6px 6px 0px 0px;
  -webkit-border-radius: 6px 6px 0px 0px;
}

.uniForm .inlineLabels input.datepicker { width: 40%; margin-right: 5px; }

.ie_select{
	position: absolute;
	width: auto !important;
}

div.masterList {
	padding: 1em 1em 0 1em;
}

div.masterList div.masterListItem {
	background-color: #eee;
	border-bottom: 1px solid #c3c3b3;
	padding: 10px 10px;
}

div.masterList div.masterListItem p.masterListItemTitle {
	font-size: 110%;
	margin: 0;
	padding: 0;
}

div.masterList div.masterListItem p.masterListItemTitle a {
	color: #370457;
	margin: 0;
	padding: 0;
}

div.masterList div.masterListItem p.masterListItemDetail {
	color: #666;
	margin: 0;
	padding: 0;
}

div.masterList div.masterListItem p.masterListItemNone {
	color: #666;
	font-size: 110%;
	padding-top: 25px;
	padding-bottom: 25px;
	margin: 0;
	padding: 0;
}

div.masterList div.masterListItem img.btnDeleteItem {
	float: right;
}

.uniForm .primaryAction {
	background-color: #ddd;
	font-weight: bold;
	font-size: 1.2em;
	padding: 0.5em 2.0em;
	border-radius: 6px;
	border-width: 1px;
	margin-top: 6px;
	margin-bottom: 6px;
}

a.btnAdd, a.btnContinue {
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	background-color: #eee;
	color: #222;
	padding: 2px 10px;
	text-decoration: none;
}

a.btnAdd:active, a.btnContinue:active {
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
}

.uniForm .buttonHolder {
	background-color: #f6f6f6;
	border-radius: 0px 0px 6px 6px;
	-moz-border-radius: 0px 0px 6px 6px;
	-webkit-border-radius: 0px 0px 6px 6px;
}
