.rd-form .form-item {
  margin-bottom: 1rem;
}
.rd-form .form-cols {
  display: flex;
}
.rd-form .form-submit input[type=submit] {
  padding: 2px 15px;
  height: 50px;
  min-width: 280px;
}
.rd-form .form-submit input[type=submit]:hover {
  background-color: #fff !important;
  color: #2e2d77;
  box-shadow: unset !important;
}

.rd-form input[type=date],
.rd-form input[type=email],
.rd-form input[type=number],
.rd-form input[type=password],
.rd-form input[type=tel],
.rd-form input[type=text],
.rd-form input[type=time],
.rd-form input[type=url],
.rd-form textarea,
.rd-form select {
  font: 500 16px/21px "niveau-grotesk", sans-serif;
  border: none;
  box-shadow: none;
}
.rd-form input[type=date]::placeholder,
.rd-form input[type=email]::placeholder,
.rd-form input[type=number]::placeholder,
.rd-form input[type=password]::placeholder,
.rd-form input[type=tel]::placeholder,
.rd-form input[type=text]::placeholder,
.rd-form input[type=time]::placeholder,
.rd-form input[type=url]::placeholder,
.rd-form textarea::placeholder,
.rd-form select::placeholder {
  opacity: 1;
}
.rd-form input[type=date]:focus,
.rd-form input[type=email]:focus,
.rd-form input[type=number]:focus,
.rd-form input[type=password]:focus,
.rd-form input[type=tel]:focus,
.rd-form input[type=text]:focus,
.rd-form input[type=time]:focus,
.rd-form input[type=url]:focus,
.rd-form textarea:focus,
.rd-form select:focus {
  box-shadow: inset 0 1px 10px rgba(255, 255, 255, 0.1);
  background: #434285;
}
.rd-form.light input[type=date],
.rd-form.light input[type=email],
.rd-form.light input[type=number],
.rd-form.light input[type=password],
.rd-form.light input[type=tel],
.rd-form.light input[type=text],
.rd-form.light input[type=time],
.rd-form.light input[type=url],
.rd-form.light textarea,
.rd-form.light select {
  color: #FFF;
  border: 0px solid #FFF;
  background: #434285;
}
.rd-form.light input[type=date]::placeholder,
.rd-form.light input[type=email]::placeholder,
.rd-form.light input[type=number]::placeholder,
.rd-form.light input[type=password]::placeholder,
.rd-form.light input[type=tel]::placeholder,
.rd-form.light input[type=text]::placeholder,
.rd-form.light input[type=time]::placeholder,
.rd-form.light input[type=url]::placeholder,
.rd-form.light textarea::placeholder,
.rd-form.light select::placeholder {
  color: #FFF;
}
.rd-form.dark input[type=date],
.rd-form.dark input[type=email],
.rd-form.dark input[type=number],
.rd-form.dark input[type=password],
.rd-form.dark input[type=tel],
.rd-form.dark input[type=text],
.rd-form.dark input[type=time],
.rd-form.dark input[type=url],
.rd-form.dark textarea,
.rd-form.dark select {
  color: #000;
  border: 0px solid #000;
  background: none !important;
}
.rd-form.dark input[type=date]::placeholder,
.rd-form.dark input[type=email]::placeholder,
.rd-form.dark input[type=number]::placeholder,
.rd-form.dark input[type=password]::placeholder,
.rd-form.dark input[type=tel]::placeholder,
.rd-form.dark input[type=text]::placeholder,
.rd-form.dark input[type=time]::placeholder,
.rd-form.dark input[type=url]::placeholder,
.rd-form.dark textarea::placeholder,
.rd-form.dark select::placeholder {
  color: #000;
}
.rd-form input[type=date],
.rd-form input[type=email],
.rd-form input[type=number],
.rd-form input[type=password],
.rd-form input[type=tel],
.rd-form input[type=text],
.rd-form input[type=time],
.rd-form input[type=url],
.rd-form select {
  padding: 2px 20px;
  height: 50px;
  line-height: 50px;
}
.rd-form textarea {
  padding: 20px;
}
.rd-form.style-bb input[type=date],
.rd-form.style-bb input[type=email],
.rd-form.style-bb input[type=number],
.rd-form.style-bb input[type=password],
.rd-form.style-bb input[type=tel],
.rd-form.style-bb input[type=text],
.rd-form.style-bb input[type=time],
.rd-form.style-bb input[type=url],
.rd-form.style-bb textarea,
.rd-form.style-bb select {
  border-top: 0;
  border-right: 0;
  border-left: 0;
}
.rd-form.style-bt input[type=date],
.rd-form.style-bt input[type=email],
.rd-form.style-bt input[type=number],
.rd-form.style-bt input[type=password],
.rd-form.style-bt input[type=tel],
.rd-form.style-bt input[type=text],
.rd-form.style-bt input[type=time],
.rd-form.style-bt input[type=url],
.rd-form.style-bt textarea,
.rd-form.style-bt select {
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
}
.rd-form.style-round label {
  padding: 0 0 8px 8px;
}
.rd-form.style-round input[type=date],
.rd-form.style-round input[type=email],
.rd-form.style-round input[type=number],
.rd-form.style-round input[type=password],
.rd-form.style-round input[type=tel],
.rd-form.style-round input[type=text],
.rd-form.style-round input[type=time],
.rd-form.style-round input[type=url],
.rd-form.style-round select {
  border-radius: 50px;
}
.rd-form.style-round textarea {
  border-radius: 20px;
}

.checkbox-wrapper {
  margin-top: 1rem;
}
.checkbox-wrapper input[type=checkbox] {
  -webkit-appearance: none;
  background: none;
  border: 2px solid #434285;
  flex: 0 0 25px;
  height: 25px;
  margin: 0;
  border-radius: 5px;
}
.checkbox-wrapper input[type=checkbox]:checked {
  background: url(../images/ico-check.svg) 50% 50% no-repeat;
  background-size: 20px 20px; /*height:25px; width:25px;*/
}
.checkbox-wrapper label {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.checkbox-wrapper .wpcf7-list-item-label {
  word-wrap: break-word;
  margin-top: -4px;
}
.checkbox-wrapper .wpcf7-list-item {
  display: block;
}

.inline-checkboxes {
  min-width: 300px;
}

@media (min-width: 768px) {
  .inline-checkboxes .checkbox-wrapper + .checkbox-wrapper {
    margin-left: 1.5rem;
  }
}
input[type=radio] {
  height: 30px;
  width: 30px;
  border: none;
  box-shadow: none;
  vertical-align: middle;
}
input[type=radio]::before {
  background: var(--c-sec);
  opacity: 1;
  border: none;
}

@media (max-width: 767.98px) {
  .wpcf7-list-item {
    width: 100%;
  }
}
.rd-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #FFF !important;
  box-shadow: none;
  position: relative;
  height: auto !important;
}
.rd-form select option {
  background: none !important;
  color: #FFF;
}
.rd-form.light select {
  background: #434285 url(../images/arrow-down-white.svg) 95% 50%/17px 17px no-repeat !important;
  color: #FFF;
}
.rd-form .select-wrapper label {
  height: 50px;
  line-height: 50px;
}

.rd-form .file-wrapper {
  padding-left: 50%;
}
.rd-form .file-wrapper label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  height: 2.5rem;
}
.rd-form .file-wrapper input {
  margin: 0;
  filter: alpha(opacity=0);
  opacity: 0;
}
.rd-form .file-wrapper .label-text {
  position: absolute;
  left: -100%;
  line-height: 50px;
  height: 50px;
  top: -25%;
  font-weight: bold;
}
.rd-form .file-wrapper .file-custom {
  padding: 0 20px;
  border-width: 0px;
  border-style: solid;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  height: 50px;
  line-height: 50px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.rd-form .file-wrapper .file-custom:before {
  position: absolute;
  top: 0;
  right: -0.075rem;
  bottom: -0.075rem;
  z-index: 6;
  display: block;
  content: " ";
  height: 2.5rem;
  padding: 0.5rem 1rem;
  line-height: 1.5;
  color: #FFF;
}
.rd-form .file-wrapper .file-custom:after {
  display: block;
  position: relative;
  left: 10px;
  font-weight: normal;
  opacity: 1;
  font-size: 16px;
}
.rd-form .file-wrapper.file-cv .file-custom:after {
  content: "Choose file";
  letter-spacing: unset;
  background: url("../images/upload.svg") calc(100% - 14px) no-repeat;
  text-align: left;
}
.rd-form.light .file-wrapper .file-custom {
  background: #FFF;
  border-color: #FFF;
}
.rd-form.light .file-wrapper .file-custom:after {
  color: var(--c-pri);
}
.rd-form.dark .file-wrapper .file-custom {
  background: none !important;
  border-color: #000;
}
.rd-form.dark .file-wrapper .file-custom:after {
  color: #000;
}
.rd-form.style-round .file-wrapper .file-custom {
  border-radius: 50px;
}

@media (max-width: 1199.98px) {
  .rd-form .form-cols .form-cols {
    flex-flow: column;
  }
}
@media (min-width: 768px) {
  .rd-form .form-cols {
    gap: 32px;
  }
  .rd-form .form-cols > .form-cols .form-item {
    flex: 1;
    width: 100%;
  }
  .rd-form .form-cols .form-item {
    flex: 1;
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .rd-form .form-item:not(.inline-checkboxes) {
    width: 100%;
  }
  .rd-form .form-item:not(.inline-checkboxes) .form-cols {
    flex-flow: row;
  }
  .rd-form .form-cols {
    flex-flow: column;
  }
}
.job-application-form .rd-form input:not(input[type=submit]) {
  background: #FFF !important;
  color: var(--c-pri) !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #fff;
}
.wpcf7 form.sent .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  border-radius: 0px;
  color: #fff;
}
.wpcf7 form input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.wpcf7-spinner {
  display: block;
  margin: 0 auto;
}

.facetwp-search, .facetwp-dropdown {
  width: 240px !important;
  background: #434285 !important;
  border-radius: 50px !important;
  border: none !important;
  color: #FFF !important;
  padding: 0 20px !important;
}

.facetwp-type-search .facetwp-icon::before {
  mask: url("/wp-content/plugins/facetwp/assets/images/icon-search.png") no-repeat center/contain;
  -webkit-mask: url("/wp-content/plugins/facetwp/assets/images/icon-search.png") no-repeat center/contain;
  background: #FFF;
  height: 20px;
  margin-top: 10px;
  margin-right: 5px;
}

#wh-payroll-calc {
  margin-bottom: 0 !important;
  padding: clamp(15px, 10%, 20px);
}
#wh-payroll-calc .form-item {
  display: flex;
  align-items: center;
}
#wh-payroll-calc .form-item > *:not(label) {
  flex: 1;
  margin-left: 5px;
  margin-right: 5px;
}
#wh-payroll-calc .form-item > label {
  flex-basis: 50%;
  max-width: 50%;
  padding-right: clamp(1rem, (100vw - 1280px) / 9, 60px);
  font-weight: 400;
}
#wh-payroll-calc .form-item input {
  border: unset !important;
}
#wh-payroll-calc .form-item select {
  border: unset !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("/wp-content/uploads/2023/11/arrow_down.svg");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: calc(100% - 11px) 50%;
}
#wh-payroll-calc input[type=submit] {
  display: block;
  background-color: transparent;
  border: 2px solid #fff;
  text-transform: capitalize;
  font-size: 16px !important;
  font-weight: 400;
  margin: clamp(1rem, 3vh, 30px) auto;
  width: clamp(1rem, 100%, 150px);
  min-width: fit-content;
}
#wh-payroll-calc #showhideh1 .button {
  text-decoration: none !important;
  margin-right: 0 !important;
  margin-top: 8px;
}

@media (max-width: 549.98px) {
  #wh-payroll-calc {
    padding: 0 5px;
  }
  #wh-payroll-calc .form-col {
    margin: 1.5rem 0;
  }
  #wh-payroll-calc .form-col #averagePay, #wh-payroll-calc .form-col #payment-terms {
    margin-bottom: 0;
  }
  #wh-payroll-calc .form-item {
    flex-direction: column;
  }
  #wh-payroll-calc .form-item > *:not(label) {
    margin: 0;
    width: 100%;
    min-height: 40px;
  }
  #wh-payroll-calc .form-item > label {
    max-width: unset;
    text-align: center;
    padding-right: 0;
  }
}