/** ----------------------------------------------------------
 *
 * This stylesheet includes both generic form styles and
 *    additional form styles for the User Defined Form Module.
 *
 ** ------------------------------------------------------- */
/* GENERIC FORMS
----------------------------------------------- */
div.field {
  margin: 10px 0 15px;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

form label {
  margin-bottom: 5px;
}

form label.left {
  display: block;
}

form label.right {
  font-size: 12px;
  color: #888;
}

form input.text,
form textarea,
form .textajaxuniquetext,
form select {
  width: 100%;
  padding: 6px 5px;
  font-size: 15px;
  background-color: #fff;
  border: 1px solid #dad9d9;
}

.ie7 form select {
  width: 400px;
}

/* fix for ie7's rendering of max-width property on select input */
form input.text:focus,
form textarea:focus,
form .textajaxuniquetext:focus,
form select:focus {
  outline: none;
}

form input[disabled], form textarea[disabled] {
  background-color: #f7f7f7;
  border: 1px solid #dad9d9;
}

textarea {
  resize: vertical;
  /* forces text area to be resized vertically only */
}

/* Radio and Checkbox */
.field .checkbox, .field .radio {
  float: left;

  margin-right: 6px;
  margin-left: 0px;

}

#SubscribeNewsletter.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox] {
 margin-left: 0;
}

.checkbox label.right,
.radio label.right {
  float: left;
}

/* Messages */
form .message {
  background-color: #fef4ba;
  padding: 5px 10px;
  border: 1px solid #e8c805;
  border-radius: 3px;
}

form .good {
  background-color: #ecf9d0;
  border-color: #8fbe00;
}

form .bad, form .required, .alert.alert-error {
  background-color: #f9d0d0;
  border-color: #cf0000;
  color: #b80000;
}

form textarea.required {
  border-color: #DAD9D9;
}

.alert.alert-error {
  font-size: 1.2em;
}

/* ACTIONS */
.Actions {
  margin-bottom: 20px;
}

a.frm-btn, button, input[type="submit"], .Actions .action {
  background: #201600;
  color: #f3c644 ;
  display: inline-block;
  border-radius: 0px;
  padding: 6px 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  font-size: 13px;
  margin-right: 10px;
  float: left;
  font-weight: bold;
}

.form-actions .btn:hover {
  color: #fff;
}


a.frm-btn:hover, button, input[type="submit"]:hover, .Actions .action:hover {
  background: #333;

}

a.frm-btn {
  line-height: 18px;
  margin-bottom: 10px;
}

a.frm-btn:after {
  /* creates arrow in button */
  content: '\2192';
  padding-left: 10px;
}

.ie7 input.action {
  width: 0;
  /* IE table-cell margin fix */
  overflow: visible;
}

input.action[class] {
  /* IE ignores [class] */
  width: auto;
  /* cancel margin fix for other browsers */
}

.ie7 .Actions .action {
  float: left;
}

.Actions:after {
  color: #B94A48;
  display: inline-block;
  font-weight: normal;
  margin-top: 9px;
}

.form-horizontal .form-group{
  margin-left: 0;
  margin-right: 0;
}
/* AREA SPECIFIC */
/* LOGIN and FORGOT PASSWORD */
#Remember {
  min-height: 20px;
}

#ForgotPassword {
  clear: left;
}

#BootstrapMemberLoginForm_LoginForm .Actions:after, #MemberLoginForm_LostPasswordForm .Actions:after, #MemberLoginForm_LoginForm .Actions:after {
  display: none;
}

/* Search / Login */
.header form .middleColumn {
  /* float: none;
  width: 100% !important; */
}

.content form .wysiwyg .middleColumn {
  width: 100%;
}




/* USER DEFINED USER FORM MODULE STYLES
----------------------------------------------- */
/*Generic and mixed*/
.FormHeading {
  clear: both;
  padding-top: 15px;
}

form .date .middleColumn input {
  /*background: transparent url(../images/icons/your_icon_here.png) no-repeat scroll 90px 5px;*/
  width: 144px;
}

.Actions input.resetformaction,
.Actions input.action-minor {
  /* Clear button */
  float: left;
  background-color: #888;
}

.Actions input.resetformaction:hover,
.Actions input.action-minor:hover {
  /* Clear button */
  background-color: #aaa;
}

/* Labels */
.checkbox label.right {
  font-size: 13px;
  /* reset to default */
  color: #333;
  /* reset to default */
}

form .requiredField label.left:after {
  /* pseudo element adds an asterisk to a required fields label */
  color: #B94A48;
  content: "*";
  font-size: 14px;
  font-weight: normal;
  padding-left: 3px;
}

/* Radio / Checkbox */
form .checkboxset ul,
form .optionset ul {
  margin: 0;
}

form .checkboxset li,
form .optionset li {
  margin-bottom: 5px;
  list-style-type: none;
}

form div.checkbox:after {
  /* clearfix */
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

form .checkbox .checkbox {
  clear: both;
}

/* Messages */
span.message {
  margin: 10px 0;
  display: block;
  font-size: 12px;
  clear: left;
}

div.holder-required {
  /* This class needs to be changed - is used for both input and div */
  /* background-color: #f9d0d0;
  border: 1px solid #cf0000;
  padding: 10px;
  margin-left: -11px; */
}

form input.holder-required {
  /* This class needs to be changed - is used for both input and div */
  border: 1px solid #cf0000;
}

/* Error messages */
input:invalid,
textarea:invalid {
  border-radius: 3px;
  /*  -moz-box-shadow: 0px 0px 5px red;
    -webkit-box-shadow: 0px 0px 5px red;
    box-shadow: 0px 0px 5px red; */
}

.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid {
  background-color: #f0dddd;
}

/* To test - potentially not needed? */
.ss-uploadfield-item-info button {
  margin-top: 4px !important;
  float: left;
}

form .creditCardField input,
form input.currency,
form input.numeric {
  width: auto;
}

form #DMYDate-month,
form #DMYDate-day {
  width: 25px;
}

.content .form-horizontal, .content form {
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 15px;
  max-width: 80%;
}



.content #BootstrapMemberLoginForm_LoginForm label {
  font-weight: normal;
  text-transform: none;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

.content .listing-form .left {
  vertical-align: top;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #888;
}

input:-moz-placeholder, textarea:-moz-placeholder {
  color: #888;
}



/* Responsive form styles
----------------------------------------------- */
@media only screen and (max-width: 700px) {
  /* To test - potentially not needed? */
  .header form .middleColumn {
    float: none;
    width: 100% !important;
  }

  form label.left,
  #BootstrapMemberLoginForm_LoginForm, #MemberLoginForm_LoginForm label {
    margin-bottom: 8px;
  }

  #searchForm label {
    text-align: left;
  }
}
@media only screen and (max-width: 900px) {
  form, .content form {
    max-width: 100%;
  }
}
@media only screen and (min-width: 700px) {
  .content form label.left {
    display: inline-block;
    width: 25%;
  }

  .content form label.right {
    display: inline-block;
    width: 40%;
  }

  .content form .middleColumn {
    display: inline-block;
    width: 72%;
  }

  .content form div.nolabel > .middleColumn {
    width: 100%;
  }
}
