@media only screen and (max-width: 600px) {
  div.wpforms-container .wpforms-form .wpforms-field-layout-columns {
    max-width: calc(100% + 10px);
  }
  div.wpforms-container .wpforms-form .wpforms-layout-row {
    max-width: calc(100% + 10px);
  }
  div.wpforms-container .wpforms-form .wpforms-field-date-time .wpforms-field-date-dropdown-wrap.wpforms-field-small, div.wpforms-container .wpforms-form .wpforms-field-date-time .wpforms-field-date-dropdown-wrap.wpforms-field-medium, div.wpforms-container .wpforms-form .wpforms-field-date-time .wpforms-field-date-dropdown-wrap.wpforms-field-large {
    width: calc(100% + 10px);
  }
}

.flatpickr-calendar .flatpickr-current-month select {
  display: initial;
}

@media only screen and (max-width: 600px) {
  .flatpickr-calendar .flatpickr-current-month .numInputWrapper {
    width: calc(6ch - 14px);
  }
  .flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowUp,
  .flatpickr-calendar .flatpickr-current-month .numInputWrapper span.arrowDown {
    display: none;
  }
}

.wpforms-container .wpforms-field-date-time .wpforms-field-row {
  justify-content: revert;
}

.wpforms-container .wpforms-field-date-time .wpforms-field-row .wpforms-field-row-block {
  margin-bottom: 0;
}

.wpforms-container .wpforms-field-date-time .wpforms-field-row .wpforms-field-row-block:only-child {
  width: 100%;
}

.wpforms-container .wpforms-field-date-time .wpforms-field-row .wpforms-field-row-block:not(:only-child) {
  width: 50%;
}

.wpforms-container .wpforms-field-date-time .wpforms-field-row-block .wpforms-field-sublabel {
  width: 100%;
}

.wpforms-container .wpforms-field-date-time .wpforms-date-type-dropdown {
  align-items: center;
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
}

.wpforms-container .wpforms-field-date-time .wpforms-date-type-dropdown .wpforms-field-date-dropdown-wrap {
  width: 100%;
}

.wpforms-container .wpforms-field-date-time .wpforms-date-type-dropdown + .wpforms-field-row-block {
  flex: 1;
  min-width: 30%;
}

.wpforms-container .wpforms-field-date-time .wpforms-date-type-dropdown .wpforms-field-sublabel {
  width: 100%;
}

.wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap {
  align-items: center;
  display: flex;
  flex-grow: 1;
  flex-wrap: nowrap;
  margin: 0 -5px 0 -5px;
}

@media only screen and (min-width: 600px) {
  .wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap.wpforms-field-small {
    width: calc( 25% + 12px);
  }
  .wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap.wpforms-field-small select {
    appearance: none;
    padding-left: 5px;
    padding-right: 5px;
    background-image: none;
    text-align: center;
  }
}

.wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap.wpforms-field-medium {
  width: calc( 60% + 12px);
}

.wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap.wpforms-field-large {
  width: calc( 100% + 12px);
}

.wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap select {
  margin: 0 5px 0 5px;
}

@container ( max-width: 300px ) {
  .wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap select[class^="wpforms-field-date-time-date-"] {
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    background-position: calc(50% - 2px) calc(100% - 4px), calc(50% + 3px) calc(100% - 4px);
  }
  .wpforms-container .wpforms-field-date-time .wpforms-field-date-dropdown-wrap select.wpforms-field-date-time-date-year {
    background-position: calc(50% - 3px) calc(100% - 4px), calc(50% + 2px) calc(100% - 4px);
  }
}

.wpforms-container .wpforms-field-date-time .wpforms-field-row-block .wpforms-field-date-dropdown-wrap {
  width: 100%;
}

.wpforms-container .wpforms-field-date-time .wpforms-field-date-time-date-day,
.wpforms-container .wpforms-field-date-time .wpforms-field-date-time-date-month {
  width: calc( 30% - 10px);
}

.wpforms-container .wpforms-field-date-time .wpforms-field-date-time-date-year {
  width: calc( 40% - 10px);
}

.wpforms-container .wpforms-datepicker-wrap {
  width: 100%;
  position: relative;
}

.wpforms-container .wpforms-datepicker-wrap .wpforms-datepicker-clear {
  position: absolute;
  background-image: url("../../../images/times-solid-white.svg") !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  background-color: rgba(0, 0, 0, 0.35) !important;
  background-size: 8px !important;
  width: 16px;
  height: 16px;
  cursor: pointer;
  display: block;
  border-radius: 50%;
  right: 10px;
  top: 50%;
  margin-top: -8px;
  transition: all 0.25s;
}

.wpforms-container .wpforms-datepicker-wrap .wpforms-datepicker-clear:hover, .wpforms-container .wpforms-datepicker-wrap .wpforms-datepicker-clear:focus {
  background-color: #D63637 !important;
}

.wpforms-container .wpforms-datepicker-wrap .wpforms-field-small + .wpforms-datepicker-clear {
  right: calc( 75% + 10px);
}

.wpforms-container .wpforms-datepicker-wrap .wpforms-field-medium + .wpforms-datepicker-clear {
  right: calc( 40% + 10px);
}

@media only screen and (max-width: 600px) {
  .wpforms-container .wpforms-datepicker-wrap .wpforms-field-small + .wpforms-datepicker-clear,
  .wpforms-container .wpforms-datepicker-wrap .wpforms-field-medium + .wpforms-datepicker-clear {
    right: 10px;
  }
}

.wpforms-container .wpforms-field-layout {
  padding: 0;
}

.wpforms-container .wpforms-field-layout .wpforms-layout-column .wpforms-field-row,
.wpforms-container .wpforms-field-repeater .wpforms-layout-column .wpforms-field-row {
  flex-direction: column;
}

.wpforms-container .wpforms-field-layout .wpforms-layout-column .wpforms-field-row .wpforms-field-row-block,
.wpforms-container .wpforms-field-repeater .wpforms-layout-column .wpforms-field-row .wpforms-field-row-block {
  padding: 0;
  margin: 0 0 15px 0;
}

.wpforms-container .wpforms-field-layout .wpforms-layout-column .wpforms-field-row .wpforms-field-row-block:last-child,
.wpforms-container .wpforms-field-repeater .wpforms-layout-column .wpforms-field-row .wpforms-field-row-block:last-child {
  margin-bottom: 0;
}

.wpforms-container .wpforms-field-layout .wpforms-layout-column .wpforms-field-row .wpforms-field-row-block:only-child,
.wpforms-container .wpforms-field-repeater .wpforms-layout-column .wpforms-field-row .wpforms-field-row-block:only-child {
  padding-right: 0;
}

.wpforms-container .wpforms-page-indicator {
  margin: 0 0 20px 0;
  overflow: hidden;
}

.wpforms-container .wpforms-page-indicator.circles {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding: 15px 10px;
  display: flex;
  justify-content: flex-start;
}

.wpforms-container .wpforms-page-indicator.circles .wpforms-page-indicator-page {
  margin: 0 20px 0 0;
}

.wpforms-container .wpforms-page-indicator.circles .wpforms-page-indicator-page:last-of-type {
  margin: 0;
}

.wpforms-container .wpforms-page-indicator.circles .wpforms-page-indicator-page-number {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 10px 0 0;
  line-height: 40px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.25);
  color: rgba(0, 0, 0, 0.7);
}

.wpforms-container .wpforms-page-indicator.circles .active .wpforms-page-indicator-page-number {
  color: #ffffff;
}

.wpforms-container .wpforms-page-indicator.connector {
  display: flex;
  justify-content: flex-start;
}

.wpforms-container .wpforms-page-indicator.connector .wpforms-page-indicator-page {
  text-align: center;
  line-height: 1.2;
}

.wpforms-container .wpforms-page-indicator.connector .wpforms-page-indicator-page-number {
  display: block;
  text-indent: -9999px;
  height: 6px;
  background-color: rgba(0, 0, 0, 0.25);
  margin: 0 0 16px 0;
  position: relative;
}

.wpforms-container .wpforms-page-indicator.connector .wpforms-page-indicator-page-triangle {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  border-color: transparent transparent transparent transparent;
}

.wpforms-container .wpforms-page-indicator.connector .wpforms-page-indicator-page-title {
  display: inline-block;
  padding: 0 15px;
  font-size: 16px;
}

.wpforms-container .wpforms-page-indicator.progress {
  font-size: 18px;
}

.wpforms-container .wpforms-page-indicator.progress .wpforms-page-indicator-page-progress-wrap {
  display: block;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  height: 18px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin: 5px 0 0;
}

.wpforms-container .wpforms-page-indicator.progress .wpforms-page-indicator-page-progress {
  height: 18px;
  position: absolute;
  left: 0;
  top: 0;
}

.wpforms-container .wpforms-field-pagebreak:empty {
  display: none;
}

.wpforms-container .wpforms-field-rating-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.wpforms-container .wpforms-field-rating-wrapper.wpforms-field-rating-labels-position-above {
  position: relative;
  top: calc( var(--wpforms-field-size-input-spacing) * -1 + 10px);
}

.wpforms-container .wpforms-field-rating-wrapper .wpforms-field-rating-items {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.wpforms-container .wpforms-field-rating-wrapper .wpforms-field-rating-items .wpforms-field-rating-item {
  margin: 0;
  display: inline-block;
}

.wpforms-container .wpforms-field-rating-wrapper .wpforms-field-rating-items .wpforms-field-rating-item svg {
  cursor: pointer;
  opacity: 0.6;
  fill: rgba(0, 0, 0, 0.2);
  transition: fill 0.15s;
}

.wpforms-container .wpforms-field-rating-wrapper .wpforms-field-rating-items .wpforms-field-rating-item.selected svg,
.wpforms-container .wpforms-field-rating-wrapper .wpforms-field-rating-items .wpforms-field-rating-item.hover svg {
  opacity: 1;
  fill: currentColor;
}

.wpforms-container .wpforms-field-rating-wrapper .wpforms-field-rating-labels {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.wpforms-container .wpforms-field-rating-wrapper .wpforms-field-rating-labels .wpforms-field-sublabel {
  min-width: 0;
}

.wpforms-container .wpforms-form textarea.wp-editor-area.wpforms-field-small {
  height: 100px;
}

.wpforms-container .wpforms-form textarea.wp-editor-area.wpforms-field-medium {
  height: 250px;
}

.wpforms-container .wpforms-form textarea.wp-editor-area.wpforms-field-large {
  height: 400px;
}

.wpforms-container .wpforms-form textarea.wp-editor-area:focus {
  outline: none;
}

.wpforms-container .wpforms-form .wpforms-field-content {
  color: var(--wpforms-label-color);
}

.wpforms-container .wpforms-form .wpforms-field-content h1, .wpforms-container .wpforms-form .wpforms-field-content h2, .wpforms-container .wpforms-form .wpforms-field-content h3, .wpforms-container .wpforms-form .wpforms-field-content h4, .wpforms-container .wpforms-form .wpforms-field-content h5, .wpforms-container .wpforms-form .wpforms-field-content h6 {
  color: inherit;
}

.wpforms-container .wpforms-form .wpforms-field-content > .wpforms-field-row {
  display: block;
}

.wpforms-container .wpforms-captcha-math input {
  display: inline-block;
  width: 70px;
  vertical-align: inherit;
  margin: 0 0 0 5px;
}

.wpforms-container .wpforms-captcha-question {
  margin: 0 0 4px 0;
}

.wpforms-container .wpforms-form .wpforms-field-credit-card .wpforms-field-row {
  flex-direction: row;
  flex-wrap: wrap;
  container-type: inline-size;
  container-name: wpforms-field-cc-row-responsive;
}

@container wpforms-field-cc-row-responsive (max-width: 300px) {
  .wpforms-container .wpforms-form .wpforms-field-credit-card .wpforms-field-row .wpforms-field-credit-card-number,
  .wpforms-container .wpforms-form .wpforms-field-credit-card .wpforms-field-row .wpforms-field-credit-card-code,
  .wpforms-container .wpforms-form .wpforms-field-credit-card .wpforms-field-row .wpforms-field-credit-card-name,
  .wpforms-container .wpforms-form .wpforms-field-credit-card .wpforms-field-row .wpforms-field-credit-card-expiration {
    width: 100%;
    min-width: 100%;
    padding: 0;
  }
  .wpforms-container .wpforms-form .wpforms-field-credit-card .wpforms-field-row .wpforms-field-credit-card-number,
  .wpforms-container .wpforms-form .wpforms-field-credit-card .wpforms-field-row .wpforms-field-credit-card-name {
    margin-bottom: 15px;
  }
}

.wpforms-container .wpforms-form .wpforms-field-credit-card-number {
  padding: 0 15px 0 0;
  width: calc( 100% - 90px);
}

.wpforms-container .wpforms-form .wpforms-field-credit-card-code {
  width: 90px;
}

.wpforms-container .wpforms-form .wpforms-field-credit-card-name {
  width: calc( 100% - 195px);
  padding: 0 15px 0 0;
}

.wpforms-container .wpforms-form .wpforms-field-credit-card-expiration {
  width: 195px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  height: fit-content;
  gap: 0 15px;
}

.wpforms-container .wpforms-form .wpforms-field-credit-card-expiration label {
  width: 100%;
}

.wpforms-container .wpforms-form .wpforms-field-credit-card-expiration select {
  width: calc( 50% - 7.5px);
  display: block;
}

.wpforms-container .wpforms-form .wpforms-field-credit-card-expiration > .wpforms-error:last-child {
  display: none !important;
}

.wpforms-container .wpforms-form em.wpforms-error,
.wpforms-container .wpforms-form .wpforms-field-sublabel {
  min-width: 90px;
}

div.wpforms-container-full .wpforms-form .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-payment-coupon-wrapper {
  max-width: 60%;
}

.wpforms-field-layout.wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-signature .wpforms-signature-wrap {
  width: 100% !important;
}

.wpforms-field-layout.wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-signature .wpforms-signature-wrap.wpforms-field-medium {
  width: 65% !important;
}

.wpforms-field-layout.wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-signature .wpforms-signature-wrap.wpforms-field-small {
  width: 25% !important;
}

.wpforms-field-layout .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field.size-large .wpforms-square-cardnumber-wrapper,
.wpforms-field.wpforms-field-drag-to-column.wpforms-field-drag-to-column-100.size-large .wpforms-square-cardnumber-wrapper {
  width: 100% !important;
  min-width: auto !important;
  flex-direction: row !important;
}

.wpforms-field-layout .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field.size-medium .wpforms-square-cardnumber-wrapper,
.wpforms-field.wpforms-field-drag-to-column.wpforms-field-drag-to-column-100.size-medium .wpforms-square-cardnumber-wrapper {
  width: 60% !important;
  min-width: auto !important;
  flex-direction: column !important;
}

.wpforms-field-layout .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field.size-small .wpforms-square-cardnumber-wrapper,
.wpforms-field.wpforms-field-drag-to-column.wpforms-field-drag-to-column-100.size-small .wpforms-square-cardnumber-wrapper {
  width: 25% !important;
  min-width: 250px !important;
  flex-direction: column !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-layout .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-square .wpforms-field-large.wpforms-square-cardnumber-wrapper {
  width: 100% !important;
  min-width: auto !important;
  flex-direction: row !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-layout .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-square .wpforms-field-medium.wpforms-square-cardnumber-wrapper {
  width: 60% !important;
  min-width: auto !important;
  flex-direction: column !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-layout .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-square .wpforms-field-small.wpforms-square-cardnumber-wrapper {
  width: 25% !important;
  min-width: 250px !important;
  flex-direction: column !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field-layout .wpforms-layout-column.wpforms-layout-column-100 .wpforms-field-square .wpforms-square-cardname input {
  min-width: 250px !important;
}
