@import "uni-form-generic.css";
/* Keep in mind that wherever you see 'Required property' it means that the property must exist */

/* ------------------------------------------------------------------------------ */

  /* Generals */
  .uniForm fieldset{}
    .uniForm fieldset legend{ color: #333; font-weight: bold; font-size: 100%; margin: 0; padding: 1.5em 0; }

    /* This is the main unit that contains our form elements */
    .uniForm .ctrlHolder{ padding: 7px; border-bottom: 1px solid #dfdfdf; border-top: 1px solid #dfdfdf; margin-top: -1px; }

    .uniForm .buttonHolder{ text-align: right; }
      .uniForm .resetButton{ float: left; }
      .uniForm .primaryAction{ font-weight: bold; }

    /* This class gets added to div.ctrlHolder to highlight the row */
    .uniForm .focused{ background: #fffcdf; border-color: #ffcc00; position: relative; z-index: 100; }

      /* .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%; }

/* ------------------------------------------------------------------------------ */

    /* .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 .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{ width: 45%; /* <- Required property */ font-size: .9em; color: #777; position: relative; top: -.5em; }

      .uniForm .multiField,
      .uniForm .blockLabels .multiField{ width: 53%; }
        .uniForm .multiField .inlineLabel,
        .uniForm .blockLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 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: 36%; /* <- Required property */ margin: 5px 2% 0 0; /* <- Required property */ }

    .uniForm .inlineLabels .textInput,
    .uniForm .inlineLabels .fileUpload{ width: 61%; /* <- Required property */ }

    .uniForm .inlineLabels .selectInput,
    .uniForm .inlineLabels select{ width: 61%; /* <- Required property */ }

    .uniForm .inlineLabels textarea{  width: 61%; /* <- Required property */ height: 12em; }

    .uniForm .inlineLabels .formHint{ margin-top: 0; margin-left: 47%; font-size: .9em; color: #777; position: static; }

    .uniForm .inlineLabels .multiField{ width: 61%; /* <- Required property */ margin: 0 0 .3em 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; }

/* 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 1.5em 0; padding: 7px; }
.uniForm .error{ background: #ffdfdf; border: 1px solid #df7d7d; border-width: 1px 0; }

  .uniForm #errorMsg dt, .uniForm #errorMsg h3{ margin: 0 0 .5em 0; font-size: 100%; line-height: 100%; font-weight: bold; color: #af4c4c; }
  .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; border-bottom: 1px dotted #df7d7d; position: relative; }
    .uniForm .errorField{ color: #af4c4c; margin: 0 0 6px 0; padding: 4px; 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{ margin-top: 1.5em; }

.uniForm .multiField, .uniForm .blockLabels .multiField{ width: 60%; }
.uniForm .formHint, .uniForm .blockLabels .formHint{ width: 40%; margin-top: .3em; }
.uniForm .textInput, .uniForm select, .uniForm textarea{ border: 2px solid #dfdfdf; background:#fff; }
.ctrlHolder.focused .textInput{ border-color: #ffcc01; }
.uniForm .buttonHolder{ padding: 10px 10px 10px 0; font-size: 120%; margin: 1em 0;border: 1px solid #ccc; border-width: 1px 0; background: #f9f9f9; }

/* Phone number multifield custom styles */
.uniForm .inlineLabels .ctrlHolder .multiField.phoneNum .blockLabel{ width: auto; }
  .uniForm .inlineLabels .ctrlHolder .multiField .blockLabel #phone_ccode.textInput,
  .uniForm .inlineLabels .ctrlHolder .multiField .blockLabel #phone_area.textInput{ width: 40px; }
  .uniForm .inlineLabels .ctrlHolder .multiField .blockLabel #phone_area.textInput{ width: 40px; }
  .uniForm .inlineLabels .ctrlHolder .multiField .blockLabel #phone_num.textInput{ width: 110px; }

.uniForm label {
	font-size: 13px;
}
.uniForm #errorMsg {
	margin-bottom: 5px;
}
.uniForm #errorMsg dt, .uniForm #errorMsg h3 {
	padding-left: 13px;
}
.uniForm #errorMsg ol li {
	list-style-type: none;
	list-style-position: outside;
	padding: 4px 0 2px 14px;
}
.uniForm #errorMsg ol li a {
	padding: 1px 5px;
}

.uniForm #OKMsg {
	background-color: #dfe8ee;
	border-color: #9ab6c9;
	padding: 11px 20px;
}

.uniForm #OKMsg h3{
	font-weight: bold;
    padding-bottom: 3px;
}

.uniForm #OKMsg hr{
	margin-bottom:3px;
}

.uniForm #GOKMsg{ background: #C8FFBF; border: 1px solid #A2EF95; border-width: 1px 0; margin: 0 0 1.5em 0; padding: 7px; }
.uniForm .ctrlHolder {
	width: 475px;
}
.uniForm .textInput {
	padding: 2px 0;
}
.uniForm .heading .ctrlHolder {
	border-top: 0;
	border-bottom-width: 2px;
	padding-top: 28px;
	padding-bottom: 4px;
}
.uniForm .heading .ctrlHolder a.right {
	color: #0f0fff;
	text-decoration: underline;
	font-weight: bold;
	font-size: 13px;
}
.uniForm .heading .ctrlHolder h3 {
	font-size: 16px;
}
.uniForm .heading .ctrlHolder h3 .text {
	float: left; display: inline;
}
.uniForm .heading .ctrlHolder h3 .bubble {
	float: left; display: inline;
	margin-left: 15px;
	font-weight: normal;
}
.uniForm .inlineLabels .multiField .inlineLabel  {
	margin-top: 6px;
	margin-bottom: 0;
}
.uniForm label.splabel {
	float: left;
	display: inline;
	margin-left: 175px;
	text-align: left;
	width: 284px;
	margin-right: 0;
	line-height: 16px;
	position: relative;
}
.uniForm label.splabel .checkInput {
	position: absolute;
	top: 2px;
	left: -20px;
}
.uniForm #GOKMsg h3 {
	background: #95FF95;
	color: #336600;
	line-height: 22px;
	font-size: 13px;
	text-align: center;
	margin-bottom: 5px;
}
.uniForm fieldset legend{ padding:0.5em 0 0.6em; font-size:18px; }
.uniForm .inlineLabels label,
.uniForm .inlineLabels .label{ text-align: left; }

.uniForm .blockLabels label em,
.uniForm .blockLabels .label em,
.uniForm .inlineLabels label em,
.uniForm .inlineLabels .label em{ color:red; }
/*.ctrlHolder label.required em{right:auto;color:red;}*/

.uniformSubmit{text-align:center;padding-top:8px;}

.uniForm label em, .uniForm .label em, .uniForm .blockLabels label em, .uniForm .blockLabels .label
{
    left: 0;
    position: relative;
}

#supportForm textarea {
height:20em;
width:100%;
}

.uniForm.dialog{
    margin-top: 0;
}
.uniForm input.countryCode{width:7%;}
.uniForm input.areaCode{width:11%;}
.uniForm input.phoneNumber{width:25%;}

.uniForm .inlineLabels .textInput, .uniForm .inlineLabels .fileUpload, .uniForm .inlineLabels .selectInput, .uniForm .inlineLabels select, .uniForm .inlineLabels textarea
{ float: none; }
