.parsley-wrap {
    position: relative !important;
}

/*---- VALIDATOR STYLING - you can change it a bit to make it fit the look ----*/
.qtip-custom {
  background-color: #fff !important;
  border-color: red !important;
  border-width: 2px !important;
  color: #000 !important;
}

.qtip .qtip-tip,
.qtip .qtip-tip .qtip-vml,
.qtip .qtip-tip canvas {
  color: red !important;
}

input.error,
input:not([type='radio']).error,
select.error {
  color: #d8000c;
  background-color: #ffbaba !important;
  border: 2px solid #d8000c !important;
  -webkit-text-fill-color: red !important;
  -webkit-box-shadow: 0 0 0px 1000px #ffbaba inset;
  box-shadow: 0 0 0px 1000px #ffbaba inset;
}

.chelp {
  display: block;
  width: 69px;
  height: auto;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.ebtn {
  margin-top: 15px;
  width: 100%;
}

.epro-s {
  clear: both;
  display: block;
  margin: 0 auto 0;
  padding-top: 10px;
  width: 64px;
  height: auto;
}

.eterms {
  float: left;
  margin-top: 5px;
  color: #333;
  text-align: center;
  width: 100%;
}

label.check-terms {
  font-size: 11px;
  line-height: 14px;
}

.check-terms a {
  text-decoration: inherit;
  color: inherit;
}

/*-----------------
Parsley form validation
-----------------------*/

/* input[type='checkbox'] {
  padding: 0;
  box-sizing: content-box;
  cursor: pointer;
  float: left;
  margin-top: 5px;
  margin-right: 5px;
  box-shadow: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  height: 5px;
  width: 5px;
  display: block;
  overflow: visible;
  transition: none;
}

input[type='checkbox'],
input[type='checkbox']:not(:checked) {
  border: 4px solid #fff;
  outline: 1px solid #666;
  background-color: #fff;
}

input[type='checkbox']:checked {
  border: 4px solid #fff;
  outline: 1px solid #4a9a05;
}
 */

input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #468847 !important;
  background-color: #dff0d8 !important;
  border: 1px solid #d6e9c6 !important;
}

.parsley-errors-list {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  bottom: calc(100% - 5px);
  list-style: none;
  padding: 0;
  margin: 0;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.parsley-errors-list li {
  display: inline-block;
  background-color: #ff5a5f;
  text-align: justify;
  color: #fff;
  font-size: 11px;
  padding: 5px 8px;
  line-height: 1em;
  margin-bottom: 10px;
  max-width: 300px;
}

.parsley-errors-list li:after {
  content: '';
  width: 5px;
  height: 5px;
  background: #ff5a5f;
  position: absolute;
  transform: rotate(45deg);
  border-right: 2px solid #ff5a5f;
  border-bottom: 2px solid #ff5a5f;
  bottom: 8px;
  left: 0;
  right: 0;
  margin: auto;
}

#terms-checkbox:hover .parsley-errors-list,
input:hover ~ .parsley-errors-list,
select:hover ~ .parsley-errors-list {
  opacity: 1;
  transition: opacity 0.25s ease-in-out;
}

#terms-checkbox .parsley-errors-list {
  text-align: left;
  bottom: calc(100% - 10px);
}

#terms-checkbox .parsley-errors-list li:after {
  right: auto;
  left: 5px;
}

/* input[type='checkbox'].parsley-success,
input[type='checkbox']:checked {
  border: 4px solid #fff;
  outline: 1px solid #4a9a05;
  background-color: #4a9a05;
}

.terms-label.parsley-error input[type='checkbox'],
input[type='checkbox'].parsley-error {
  color: #ff5a5f;
  border: 4px solid #fff;
  outline: 1px solid #ff5a5f;
  background-color: #ff5a5f;
} */

input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  background-image: url(../image/tick-input.png) !important;
  background-position: 99.5% 50% !important;
  background-repeat: no-repeat !important;
  color: #468847 !important;
  background-color: #dff0d8 !important;
  border: 1px solid #d6e9c6 !important;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  background-image: url(../image/error-input.png) !important;
  background-position: 99.5% 50% !important;
  background-repeat: no-repeat !important;
  color: #ff5a5f !important;
  background-color: #ffbaba !important;
  background-color: rgba(247, 91, 91, 0.04) !important;
  border: 1px solid #ff5a5f !important;
  -webkit-text-fill-color: red !important;
  -webkit-text-fill-color: #ff5a5f !important;
  box-shadow: 0 0 0px 1000px rgba(247, 91, 91, 0.04) inset !important;
}

/* input[type='checkbox'].parsley-success,
input[type='checkbox']:checked {
  border: 4px solid #fff !important;
  outline: 1px solid #4a9a05 !important;
  background-color: #4a9a05 !important;
}

input[type='checkbox'].parsley-error {
  color: #ff5a5f !important;
  border: 4px solid #fff !important;
  outline: 1px solid #ff5a5f !important;
  background-color: #ff5a5f !important;
} */
