/* ============================================================================= */
/* Ninja Forms integration. */
/* ============================================================================= */
body .nf-form-wrap {
  font-family: inherit;
}

body .nf-form-wrap .nf-error-msg {
  margin-top: 5px;
}

body .nf-form-wrap .nf-input-limit:empty {
  display: none;
}

body .nf-form-wrap nf-field .nf-field-container {
  margin-bottom: 20px;
}

body .nf-form-wrap nf-field:last-child .nf-field-container {
  margin-bottom: 0;
}

body .nf-form-wrap .nf-response-msg {
  margin-bottom: 20px;
  color: #6c757d;
}

body .nf-form-wrap .nf-response-msg p {
  margin-bottom: 0.5rem;
}

body .nf-form-wrap .nf-response-msg p:last-child {
  margin-bottom: 0;
}

body .nf-form-wrap .nf-form-content::after {
  display: block;
  clear: both;
  content: "";
}

/*! ================================= errors display styles */
body .nf-field-container .nf-error .ninja-forms-field {
  color: #e80000;
  box-shadow: none;
}

body .nf-field-container .nf-error .ninja-forms-field::-webkit-input-placeholder {
  color: #e80000;
}

body .nf-field-container .nf-error .ninja-forms-field::-moz-placeholder {
  color: #e80000;
}

body .nf-field-container .nf-error .ninja-forms-field:-ms-input-placeholder {
  color: #e80000;
}

body .nf-field-container .nf-error .ninja-forms-field:-moz-placeholder {
  color: #e80000;
}

body .nf-form-wrap .nf-field-container.textbox-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.textarea-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.phone-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.address-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.city-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.firstname-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.lastname-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.zip-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.number-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.email-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.date-container .nf-error-wrap {
  position: absolute;
  right: 0;
  top: 0;
  background: #e80000;
  color: #ffffff;
  padding: 5px;
  line-height: 1;
}

body .nf-form-wrap .nf-field-container.textbox-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.textarea-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.phone-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.address-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.city-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.firstname-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.lastname-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.zip-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.number-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.email-container .nf-error-wrap .nf-error-msg,
body .nf-form-wrap .nf-field-container.date-container .nf-error-wrap .nf-error-msg {
  color: inherit;
  margin: 0;
  font-size: 12px;
}

body .nf-form-wrap .nf-field-container.textbox-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.textarea-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.phone-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.address-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.city-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.firstname-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.lastname-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.zip-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.number-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.email-container .nf-error-wrap:empty,
body .nf-form-wrap .nf-field-container.date-container .nf-error-wrap:empty {
  display: none;
}

body .nf-form-wrap .nf-field-container.checkbox-container .nf-error-wrap,
body .nf-form-wrap .nf-field-container.listcheckbox-container .nf-error-wrap {
  display: none;
}

body .nf-form-wrap .nf-field-container.checkbox-container .field-wrap.nf-error,
body .nf-form-wrap .nf-field-container.listcheckbox-container .field-wrap.nf-error {
  color: #e80000;
}

/*! ================================= special styles for checkboxes */
.nf-field-container.checkbox-container .nf-checkbox-element,
.nf-field-container.listcheckbox-container .nf-checkbox-element {
  overflow: hidden;
  min-width: 1em;
  width: 1em !important;
  padding-top: 3px;
}

.nf-field-container.checkbox-container .nf-checkbox-element .nf-element,
.nf-field-container.listcheckbox-container .nf-checkbox-element .nf-element {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  opacity: 0;
}

.nf-field-container.checkbox-container .nf-checkbox-icon,
.nf-field-container.listcheckbox-container .nf-checkbox-icon {
  cursor: pointer;
  vertical-align: middle;
}

.nf-field-container.checkbox-container .nf-checkbox-icon svg,
.nf-field-container.listcheckbox-container .nf-checkbox-icon svg {
  display: block;
}

.nf-field-container.checkbox-container .nf-checkbox-label,
.nf-field-container.listcheckbox-container .nf-checkbox-label {
  padding-left: 10px;
}

.nf-field-container.checkbox-container .nf-checkbox-label label,
.nf-field-container.listcheckbox-container .nf-checkbox-label label {
  font-weight: inherit;
  cursor: pointer;
  margin: 0;
  font-size: 14px;
}

.nf-field-container.listcheckbox-container .nf-field-element > ul > li {
  display: flex;
}

/*! ================================= special styles for radio lists */
.nf-field-container.listradio-container .nf-field-element > ul > li {
  display: flex;
}

.nf-field-container.listradio-container .nf-radio-element {
  overflow: hidden;
  min-width: 1em;
  width: 1em !important;
  padding-top: 3px;
}

.nf-field-container.listradio-container .nf-radio-element .nf-element {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  opacity: 0;
}

.nf-field-container.listradio-container .nf-radio-icon {
  cursor: pointer;
  vertical-align: middle;
}

.nf-field-container.listradio-container .nf-radio-icon svg {
  display: block;
}

.nf-field-container.listradio-container .nf-radio-label {
  padding-left: 10px;
}

.nf-field-container.listradio-container .nf-radio-label label {
  font-weight: inherit;
  cursor: pointer;
  margin: 0;
  font-size: 14px;
}

/* ================================= datepicker */
body.admin-bar .pika-single {
  margin-top: -33px;
}

@media (max-width: 782px) {
  body.admin-bar .pika-single {
    margin-top: -47px;
  }
}

body .pika-single {
  background: #ffffff;
  font-family: inherit;
  padding: 20px;
  margin-top: -1px;
  font-size: 14px;
  color: #000000;
  min-width: 260px;
}

body .pika-single > .pika-lendar {
  width: 100%;
  margin: 0;
}

body .pika-single .pika-title {
  margin-bottom: 10px;
}

body .pika-single .pika-table {
  margin-bottom: 0;
}

body .pika-single .pika-table th, body .pika-single .pika-table td {
  border: 0;
  text-align: right;
}

body .pika-single .pika-table th {
  padding: 0 5px;
}

body .pika-single .pika-table th abbr {
  color: #000000;
  font-weight: 300;
  text-decoration: none;
}

body .pika-single .pika-button {
  display: inline-block;
  width: auto;
  color: inherit;
  background: transparent;
  font-size: 14px;
  border-radius: 5px;
  box-shadow: none;
}

body .pika-single .is-selected .pika-button,
body .pika-single .pika-button:hover {
  background: #555555;
  color: #ffffff;
}

/* ================================= datepicker input icon */
.pikaday__container {
  position: relative;
}

.pikaday__container .ninja-forms-field.nf-element {
  position: relative;
  z-index: 5;
}

.pikaday__field-icon {
  font-size: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  cursor: pointer;
  opacity: 0.2;
  z-index: 10;
  transition: opacity 250ms;
}

.pikaday__field-icon svg {
  font-size: 20px;
}

.pikaday__field-icon:hover, .pikaday__field-icon--selected {
  opacity: 0.5;
}

/* ================================= custom column classes */
body .nf-form-cont .five-sixths,
body .nf-form-cont .four-sixths,
body .nf-form-cont .one-fourth,
body .nf-form-cont .one-half,
body .nf-form-cont .one-sixth,
body .nf-form-cont .one-third,
body .nf-form-cont .three-fourths,
body .nf-form-cont .three-sixths,
body .nf-form-cont .two-fourths,
body .nf-form-cont .two-sixths,
body .nf-form-cont .two-thirds {
  clear: initial;
  float: left;
  margin-left: 2.564102564102564%;
}

body .nf-form-cont .five-sixths .inside,
body .nf-form-cont .four-sixths .inside,
body .nf-form-cont .one-fourth .inside,
body .nf-form-cont .one-half .inside,
body .nf-form-cont .one-sixth .inside,
body .nf-form-cont .one-third .inside,
body .nf-form-cont .three-fourths .inside,
body .nf-form-cont .three-sixths .inside,
body .nf-form-cont .two-fourths .inside,
body .nf-form-cont .two-sixths .inside,
body .nf-form-cont .two-thirds .inside {
  padding: 20px;
}

body .nf-form-cont .five-sixths::after,
body .nf-form-cont .four-sixths::after,
body .nf-form-cont .one-fourth::after,
body .nf-form-cont .one-half::after,
body .nf-form-cont .one-sixth::after,
body .nf-form-cont .one-third::after,
body .nf-form-cont .three-fourths::after,
body .nf-form-cont .three-sixths::after,
body .nf-form-cont .two-fourths::after,
body .nf-form-cont .two-sixths::after,
body .nf-form-cont .two-thirds::after {
  clear: both;
  content: "";
  display: block;
}

body .nf-form-cont .one-half,
body .nf-form-cont .three-sixths,
body .nf-form-cont .two-fourths {
  width: 48.717948717948715%;
}

body .nf-form-cont .one-third,
body .nf-form-cont .two-sixths {
  width: 31.623931623931625%;
}

body .nf-form-cont .four-sixths,
body .nf-form-cont .two-thirds {
  width: 65.81196581196582%;
}

body .nf-form-cont .one-fourth {
  width: 23.076923076923077%;
}

body .nf-form-cont .three-fourths {
  width: 74.35897435897436%;
}

body .nf-form-cont .one-sixth {
  width: 14.52991452991453%;
}

body .nf-form-cont .five-sixths {
  width: 82.90598290598291%;
}

body .nf-form-cont .first {
  clear: both;
  margin-left: 0;
}

@media (max-width: 991.98px) {
  body .nf-form-cont .five-sixths,
  body .nf-form-cont .four-sixths,
  body .nf-form-cont .one-fourth,
  body .nf-form-cont .one-half,
  body .nf-form-cont .one-sixth,
  body .nf-form-cont .one-third,
  body .nf-form-cont .three-fourths,
  body .nf-form-cont .three-sixths,
  body .nf-form-cont .two-fourths,
  body .nf-form-cont .two-sixths,
  body .nf-form-cont .two-thirds {
    margin-left: 0;
    width: 100%;
  }
}
