.form-wrapper .form-ul {
    margin: 0;
    padding: 0;
}
.form-wrapper .form-ul  li {
    list-style: none outside none;
    padding: 5px;
	 margin-bottom: 10px;
}

.form-wrapper p.form-desc {
  margin-bottom: 18px;
  margin-top: 10px;
}

.form-wrapper .form-ul  li .error-block {
    color: #dc3434;
    display: block;
    margin-bottom: 0;
    margin-top: 4px;
}
.form-wrapper .form-ul  li .help-block {
    color: #737373;
    display: block;
    margin-bottom: 0;
    margin-top: 5px;
}
.form-wrapper .form-ul li.li-captcha span {
    margin-left: 3px;
}
.form-wrapper .form-ul li.li-captcha input[type="text"] {
  width: 150px;
}
.form-wrapper .form-ul li.li-captcha span img {
    margin-top: 1px;
    vertical-align: middle;
}
.form-wrapper .form-ul  li label {
    color: #666;
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 4px;
    padding: 0;
    text-align: left;
}
.form-wrapper .form-ul  li label label{
  font-weight: normal;
}
.form-wrapper .form-ul li input[type="file"] {
    border: 1px solid #cccccc;
    padding: 6px;
    background-image: none;
    color: #555;
    height: 34px;
    line-height: 1.428571429;
    outline:0;
}
.form-wrapper .form-ul li input[type="text"], .form-wrapper .form-ul li input[type="password"] {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 13px;
    height: 28px;
    padding: 6px;
    background-image: none;
    color: #555;
    height: 34px;
    line-height: 1.428571429;
    outline:0;
    -webkit-transition: all .30s ease-in-out;
    transition: all .30s ease-in-out;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width: 30%;
}
.form-wrapper .form-ul  li input.medium[type="text"]{
  width:50%; 
}
.form-wrapper .form-ul  li input.large[type="text"]{
  width:80%; 
}

.form-wrapper .form-ul li .address-wrapper .address-line{
    margin-bottom: 8px;
}
.form-wrapper .form-ul li .address-wrapper input.street {
    width: 64%;
}
.form-wrapper .form-ul li .address-wrapper input.city {
    width: 31%;
}
.form-wrapper .form-ul li .address-wrapper input.state {
    margin-left: 10px;
    width: 31%;
}
.form-wrapper .form-ul li .address-wrapper input.zip {
    width: 31%;
}
.form-wrapper .form-ul li .address-wrapper select.country {
    margin-left: 10px;
    width: 31%;
}

.form-wrapper .form-ul  li label abbr {
    color: #f00;
    font-size: 10px;
    margin-left: 2px;
}
.form-wrapper .form-ul li .radio-wrapper label, .form-wrapper .form-ul li .checkbox-wrapper label, .form-wrapper .form-ul li .price-wrapper label {
    font-weight: normal;
}

.form-wrapper .form-ul li .radio-wrapper label input, .form-wrapper .form-ul li .checkbox-wrapper label input, .form-wrapper .form-ul li .price-wrapper label input{
   margin-left:3px;
}

.form-wrapper .form-ul li .date-wrapper input.day, .form-wrapper .form-ul li .date-wrapper input.month, .form-wrapper .form-ul li .date-wrapper input.year {
    width: 75px;
}

.form-wrapper .form-ul li .time-wrapper input.hour, .form-wrapper .form-ul li .time-wrapper input.minute {
    width: 75px;
}

.form-wrapper .form-ul li .time-wrapper select.ampm { min-width:60px; width:60px;}


.form-wrapper .form-ul li select {
    max-width: 100%;
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #cccccc;
	min-width:150px;
	background-image: none;
    color: #555;
    height: 34px;
    line-height: 1.428571429;
    outline:0;
    -webkit-transition: all .30s ease-in-out;
    transition: all .30s ease-in-out;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

.form-wrapper .form-ul li textarea {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #cccccc;
    border-radius: 3px;
    height: 120px;
    width: 50%;
    outline:0;
    -webkit-transition: all .30s ease-in-out;
    transition: all .30s ease-in-out;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

.form-wrapper .form-ul li textarea.medium{
   width: 70%;	
}
.form-wrapper .form-ul li textarea.large{
   width: 85%;	
}
.form-wrapper .form-ul li.li-submit {
    margin-top: 30px;
    text-align: center;
}

.form-wrapper .form-ul li input[type="text"]:focus, .form-wrapper .form-ul li input[type="password"]:focus, .form-wrapper .form-ul li textarea:focus, .form-wrapper .form-ul li select:focus {
  border: 1px solid #666;
  outline: none;
}

.form-class input::placeholder { 
    color: #bbbbbb;
}

.form-class input:-ms-input-placeholder {
    color: #bbbbbb;
}

.form-class input::-ms-input-placeholder {
    color: #bbbbbb;
}
li.xmessage {
color: #4F8A10;
background-color: #DFF2BF;
border: 1px solid;
margin: 10px 0px;
padding:15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
}
li.xmessage p {
  margin: 10px;
}
/* new */
.form-wrapper .form-ul li.li-submit button {
    background: #1392c1;
    border: 1px solid #0d779e;
    padding: 15px 38px;
    color: #fff;
    border-radius: 4px;
    position: relative;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    outline: none;
}
.form-wrapper .form-ul li.li-submit button:hover {
  background-color: #0a769e;
}
li.li-submit button:after{
    content: '';
    display: block;
    position: absolute;
    opacity: 0;
    width: 25px;
    height: 25px;
    border: 4px solid rgba(255,255,255,0.3);
    border-right-color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    left: 6px;
    top: 12px;
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotate;
    -moz-animation-duration: 1s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    transition: all 0.2s linear;
    -webkit-transform: scale(2);
    transform: scale(2);
}

li.li-submit button.loading:after{
  opacity: 1;
}

@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

@keyframes rotate {
  from {transform: rotate(0deg);}
  to {transform: rotate(360deg);}
}

@media (min-width: 320px) and (max-width: 640px) {
   .form-wrapper .form-ul li select {
      min-width: auto;
   }
   .form-wrapper .form-ul li textarea, 
   .form-wrapper .form-ul li textarea.medium, 
   .form-wrapper .form-ul li textarea.large, 
   .form-wrapper .form-ul li input[type="text"],
   .form-wrapper .form-ul li input.medium[type="text"], 
   .form-wrapper .form-ul li input.large[type="text"], 
   .form-wrapper .form-ul li input[type="password"],
   .form-wrapper .form-ul li input.medium[type="password"],
   .form-wrapper .form-ul li input.large[type="password"],
   .form-wrapper .form-ul li select {
      width: 100%;
   }
   .form-wrapper .form-ul li .address-wrapper input.street {
       width: 99%;
   }
   .form-wrapper .form-ul li .address-wrapper input.city,
   .form-wrapper .form-ul li .address-wrapper input.state,
   .form-wrapper .form-ul li .address-wrapper input.zip,
   .form-wrapper .form-ul li .address-wrapper select.country {
      width: 48.5%;
   }
   .li-captcha fieldset .col-sm-10 {
      padding: 0;
   }
   .g-recaptcha {
     transform: scale(0.90); 
     transform-origin: left top;
   }
   
}
@media (min-width: 320px) and (max-width: 480px) {
   .form-wrapper .form-ul li.li-captcha input[type="text"] {
      width: calc(100% - 160px);
   }
   .form-wrapper .form-ul li .date-wrapper input.day,
   .form-wrapper .form-ul li .date-wrapper input.month,
   .form-wrapper .form-ul li .date-wrapper input.year {
     width: 65px;
   }
   .form-wrapper .form-ul li .address-wrapper input.city,
   .form-wrapper .form-ul li .address-wrapper input.state,
   .form-wrapper .form-ul li .address-wrapper input.zip,
   .form-wrapper .form-ul li .address-wrapper select.country {
      width: 47%;
   }
}
html[dir="rtl"] .form-wrapper .form-ul  li label {text-align: right !important;}
html[dir="rtl"] .form-wrapper .form-ul li.li-submit {text-align: right !important;}
html[dir="rtl"] .form-wrapper .form-ul  li { text-align: right;}
html[dir="rtl"] .form-wrapper p.form-desc { text-align: right;}