/*--------------------------------------------------------------
  Image CAPTCHA CF7  (ported verbatim from the WordPress
  contact-form-7-image-captcha plugin v3.3.7, cf7ic-style.css)
--------------------------------------------------------------*/
.captcha-image {
  border: 1px solid;
  padding: 10px;
  display: inline-block;
  text-align: center;
}

.cf7ic_instructions {
  display: block;
}

.captcha-image .cf7ic_instructions span {
  font-weight: bold;
}

.captcha-image label {
  display: inline-block !important;
  width: 60px !important;
  position: relative;
}

.captcha-image svg {
  padding: 5px;
  width: 50px;
  height: 50px;
}

.captcha-image label > input + svg {
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.captcha-image label > input:checked + svg,
.captcha-image label > input:focus + svg {
  border: 2px solid #f00;
}

span.wpcf7-form-control.wpcf7-cf7ic {
  border: none;
}

.kc_captcha {
  display: inherit;
}

.captcha-image label > input {
  /* Hide the radio itself — only the icon is the target */
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  position: absolute !important;
}
