/*
    Form Field Styles from bootstrap 3.0
*/
form label {
  display: block;
  margin-bottom: 5px;
  color: #333333;
}

form  input,
form  textarea,
form  select,
.uneditable-input {
    display: inline-block;
    /*padding:4px 6px !important;*/ 
    height:28px;
    font-size: 14px;
    line-height: 1.428571429;
    margin-bottom: 10px;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.label {
  padding: 1px 4px 2px;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

form label input,
form label textarea,
form label select {
  display: block;
}

form  input[type="image"],
form  input[type="checkbox"],
form  input[type="radio"] {
  width: auto;
  height: auto;
  padding: 0;
  margin: 3px 0;
  *margin-top: 0;
  /* IE7 */

  line-height: normal;
  cursor: pointer;
  background-color: transparent;
  border: 0 \9;
  /* IE9 and down */

  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.input-prepend,
.input-append {
  margin-bottom: 5px;
}

.input-prepend input,
.input-append input,
.input-prepend select,
.input-append select,
.input-prepend .uneditable-input,
.input-append .uneditable-input {
  position: relative;
  margin-bottom: 0;
  *margin-left: 0;
  vertical-align: middle;
  -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}

.input-prepend input:focus,
.input-append input:focus,
.input-prepend select:focus,
.input-append select:focus,
.input-prepend .uneditable-input:focus,
.input-append .uneditable-input:focus {
  z-index: 2;
}

.input-prepend .uneditable-input,
.input-append .uneditable-input {
  border-left-color: #ccc;
}

.input-prepend .add-on,
.input-append .add-on {
  display: inline-block;
  width: auto;
  height: 28px;
  min-width: 28px;
  padding: 6px 5px;
  font-weight: normal;
  line-height: 18px;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff;
  vertical-align: middle;
  background-color: #eeeeee;
  border: 1px solid #ccc;
}

/** for input-append */
.input-prepend .add-on,
.input-append .add-on,
.input-prepend .btn,
.input-append .btn {
  margin-left: -1px;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.input-prepend .add-on{
  margin-right: -1px;
}

.input-prepend .add-on:first-child{
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

.input-append input{
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

/** for width */
  .span2 {
    width: 170px;
  }
  .span3 {
    width: 270px;
  }
  .span5 {
    width: 100%;
  }
   .span6 {
    width: 100%;
  }

.label-important {
background-color: #d9534f;
}
form  textarea{height: auto;}

form  input[type="submit"]{padding: 6px 12px !important; height:auto !important;}

li div.control-group label input[type="radio"],li div.control-group label input[type="checkbox"]{
    margin: 2px 0;
}
li div.control-group label span{
    padding-left: 20px;
}

/*
   New Form Style
 */
form.fields.iml-new-form-style li div.control-group {
    background: transparent;
    padding: 16px 17px !important;
}

form.fields.iml-new-form-style li div.control-group.hasError {
    background: #fce8e6;
}

/* radio and checkbox style */
form.fields.iml-new-form-style li input[type=radio],
form.fields.iml-new-form-style li input[type=checkbox] {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 20px;
    height: 20px;
    /*margin-left: 5px !important;*/
    /*padding-left: 20px !important;*/
    -webkit-appearance: none !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    line-height: 20px !important;
    color: #d8d8d8 !important;
}

form.fields.iml-new-form-style li input[type=checkbox]:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 14px;
    font-size: 16px;
    color: #fff;
    background-color: rgba(65, 155, 176, .4);
    box-sizing: border-box;
    border-radius: 4px;
    position: relative;
}

form.fields.iml-new-form-style li input[type=checkbox]:checked:after {
    content: '\2714';
    width: 16px;
    height: 16px;
    position: absolute;
    color: rgba(65, 155, 176, 1);
    text-align: center;
    font-size: 1.5em;
    padding: 1px 0 0 0;
    vertical-align: text-top;
}

form.fields.iml-new-form-style li input[type=radio]:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    text-align: center;
    line-height: 14px;
    font-size: 16px;
    color: #fff;
    background-color: rgba(65, 155, 176, .4);
    box-sizing: border-box;
}

form.fields.iml-new-form-style li input[type=radio]:checked:after {
    background-color: #429bb0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid rgb(179, 215, 223);
}

form.fields.iml-new-form-style {
    /*border-top: #429bb0 solid 8px;*/
    /*background-color: #fff;*/
    /*margin-bottom: 8px;*/
    /*-webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);*/
    /*box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);*/
    /*padding-bottom: 6px;*/
    /*word-wrap: break-word;*/
    display: block;
    /*margin-top: 0;*/
    font-size: 14px !important;
}

form.fields.iml-new-form-style li label {
    font-size: 14px !important;
}

form.fields.iml-new-form-style .control-label.label-required:after {
    content: "*";
    margin-left: 15px;
    color: #d9534f;
}

form.fields.iml-new-form-style span.required {
    display: none !important;
}

form.fields.iml-new-form-style .hint {
    color: #606060;
}

form.fields.iml-new-form-style .p1 {
    color: #d9534f;
}

form.fields.iml-new-form-style input,
form.fields.iml-new-form-style textarea,
form.fields.iml-new-form-style select,
form.fields.iml-new-form-style .uneditable-input {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
}

form.fields.iml-new-form-style input[type="text"],
form.fields.iml-new-form-style textarea,
form.fields.iml-new-form-style select {
    background-size: 0 2px, 100% 1px;
    background-repeat: no-repeat;
    background-position: center bottom, center calc(100% - 1px);
    background-color: transparent;
    transition: background 0s ease-out;
}

form.fields.iml-new-form-style input[type="text"]:focus,
form.fields.iml-new-form-style textarea:focus,
form.fields.iml-new-form-style select:focus {
    background-image: linear-gradient(#429bb0, #429bb0), linear-gradient(#d2d2d2, #d2d2d2);
    background-size: 100% 2px, 100% 1px;
    box-shadow: none;
    transition-duration: .3s;
}

form.fields.iml-new-form-style input[type="text"]:invalid,
form.fields.iml-new-form-style textarea:invalid,
form.fields.iml-new-form-style select:invalid {    
    background-image: linear-gradient(#f44336, #f44336), linear-gradient(#d2d2d2, #d2d2d2);
}

form.fields.iml-new-form-style input[type="text"].hasError,
form.fields.iml-new-form-style textarea.hasError,
form.fields.iml-new-form-style select.hasError {
    background-image: linear-gradient(#f44336, #f44336);
}

form.fields.iml-new-form-style textarea {
    resize: none !important;
}

form.fields.iml-new-form-style input[type="image"],
form.fields.iml-new-form-style input[type="checkbox"],
form.fields.iml-new-form-style input[type="radio"] {
    margin: 2px 10px !important;
}

form.fields.iml-new-form-style li div.control-group label {
    font-weight: bold !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

form.fields.iml-new-form-style li div.control-group label input[type="radio"],
form.fields.iml-new-form-style li div.control-group label input[type="checkbox"] {
    margin-top: -2px !important;
    margin-left: -6px !important;
}

form.fields.iml-new-form-style li div.control-group label.radio span,
form.fields.iml-new-form-style li div.control-group label.checkbox span {
    margin-left: 5px !important;
}

form.fields.iml-new-form-style .span2 {
    width: 192px !important;
}

form.fields.iml-new-form-style .span3 {
    width: 250px;
}

form.fields.iml-new-form-style .span4 {
    margin-left: 30px;
    margin-top: 10px;
}

form.fields.iml-new-form-style .span5 {
    width: 70% !important;
}

form.fields.iml-new-form-style .span6 {
    width: 70% !important;
}

form.fields.iml-new-form-style .span7 {
    width: 200px;
}

.iml-new-form-style-background {
    background-color: #429bb0 !important;
}

.btn.iml-new-form-style-background {
    background-color: #429bb0 !important;
    border-color: #3b8b9d !important;
}

.btn.iml-new-form-style-background:active,
.btn.iml-new-form-style-background:hover,
.btn.iml-new-form-style-background:focus {
    background-color: #347a8b !important;
    border-color: #2a6371 !important;
}

div.additional-hint-container{
    padding-left: 8px;
    color: #777!important;
}
div.additional-hint-container label.additional-label{
    color: #777!important;
}

form.fields.iml-new-form-style li div.control-group label.radio-userInputContainer input[type="radio"],
form.fields.iml-new-form-style li div.control-group label.checkbox-userInputContainer input[type="checkbox"]{
    margin-top: 6px!important;
}
form.fields.iml-new-form-style li div.control-group label.radio-userInputContainer input[type="text"],
.radio-userInputContainer input[type="text"],
form.fields.iml-new-form-style li div.control-group label.checkbox-userInputContainer input[type="text"],
.checkbox-userInputContainer input[type="text"]{
    display: inline-block!important;
    margin-bottom: 0!important;
}
option.option-choose{
    color: #777!important;    
}