/*
CTC Separate Stylesheet
Updated: 2022-07-04 16:02:16
*/
:root {
  --blue: #3773db;
  --blue-hover: #27529c;
  --blue-focus: #142a4f;
  --orange: #ff9933;
  --green: #66cc66;
  --green-hover: #2d9c13;
  --green-focus: #07871a;
  --text-main: #222;
  --text-light: #999;
  --border-main: #e0e0e0;
}

#contact-form-ic7 {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 5px;
  margin: 0 auto;
  -webkit-box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.08);
  padding-top: 1px;
}

#contact-form-ic7.submitted {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#contact-form-ic7 .wpcf7 {
  position: relative;
  width: 95%;
  margin: 20px auto 40px auto;
}

#contact-form-ic7 .wpcf7.form-closed {
  height: 0;
  opacity: 0;
  z-index: -1;
  margin: 0;
}

#contact-form-ic7 .wpcf7 form {
  transition: all 300ms ease-in-out;
}

#contact-form-ic7 .wpcf7 form .wpcf7-response-output {
  position: absolute;
  left: 0;
  bottom: -20px;
  margin: 0;
  padding: 1em;
  border: none;
  border-radius: 5px;
  font-size: 0.8em;
}

#contact-form-ic7 .wpcf7 form.invalid .wpcf7-response-output, #contact-form-ic7 .wpcf7 form.unaccepted .wpcf7-response-output {
  background: #ffb900;
}

#contact-form-ic7 .wpcf7 form.sent .wpcf7-response-output {
  background: var(--green);
  color: #fff;
}

#contact-form-ic7 .wpcf7 .form-input-item {
  position: relative;
  margin-bottom: 20px;
  z-index: 2;
}

#contact-form-ic7 .wpcf7 .form-input-item.company-name-wrap {
  margin-top: -45px;
  z-index: 1;
}

#contact-form-ic7 .wpcf7 label {
  font-size: 0.75em;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
  line-height: 33px;
  font-weight: 500;
}

#contact-form-ic7 .wpcf7 .rodo {
  display: block;
  margin-top: 25px;
}

#contact-form-ic7 .wpcf7 .rodo label {
  font-size: 0.7em;
  line-height: 1.3em;
  font-weight: 400;
  letter-spacing: 0;
}

#contact-form-ic7 .wpcf7 input,
#contact-form-ic7 .wpcf7 textarea {
  font-family: 'Inter', sans-serif;
}

#contact-form-ic7 .wpcf7 textarea {
  resize: none;
}

#contact-form-ic7 .wpcf7 input:not([type='submit']),
#contact-form-ic7 .wpcf7 textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  font-size: 0.9rem;
  line-height: 20px;
  padding: 10px;
  border: 1px solid var(--border-main);
  border-radius: 5px;
  -webkit-box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.01);
  box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.01);
}

#contact-form-ic7 .wpcf7 input:not([type='submit']).nip-input,
#contact-form-ic7 .wpcf7 textarea.nip-input {
  line-height: 24px;
}

#contact-form-ic7 .wpcf7 input:not([type='submit'])[readonly],
#contact-form-ic7 .wpcf7 textarea[readonly] {
  cursor: not-allowed;
  opacity: 0.5;
  background: rgba(224, 224, 224, 0.3);
}

#contact-form-ic7 .wpcf7 input:not([type='submit']):focus, #contact-form-ic7 .wpcf7 input:not([type='submit']):focus-visible,
#contact-form-ic7 .wpcf7 textarea:focus,
#contact-form-ic7 .wpcf7 textarea:focus-visible {
  border-color: var(--blue);
  outline: none;
}

#contact-form-ic7 .wpcf7 .info {
  position: relative;
  font-size: 0.8em;
  color: var(--text-light);
  padding-left: 21px;
  letter-spacing: -0.1px;
}

#contact-form-ic7 .wpcf7 .info span {
  font-weight: 600;
  text-decoration: underline;
}

#contact-form-ic7 .wpcf7 .info::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  transform: translate(0, -50%);
  left: 0;
  background: url("../img/info.svg");
}

#contact-form-ic7 .wpcf7 .info.checked {
  color: var(--green);
}

#contact-form-ic7 .wpcf7 .info.checked::before {
  background: url("../img/check-green.svg");
}

#contact-form-ic7 .wpcf7 #nazwa-info {
  margin-top: -10px;
}

#contact-form-ic7 .wpcf7 #checkNip {
  position: absolute;
  top: -12px;
  right: 5px;
  background: transparent;
  box-shadow: none;
  z-index: 11;
  color: var(--blue);
  border: 1px solid var(--blue);
  font-size: 0.8em;
  padding: 7px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  transition: color 150ms linear, border-color 150ms linear, background-color 150ms linear;
}

#contact-form-ic7 .wpcf7 #checkNip:hover {
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
  transform: none;
}

#contact-form-ic7 .wpcf7 #checkNip:focus {
  background-color: var(--blue-focus);
  border-color: var(--blue-focus);
  color: #fff;
  transform: none;
}

#contact-form-ic7 .wpcf7 .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  position: absolute;
  top: -46px;
  right: 0;
}

#contact-form-ic7 .wpcf7 .wpcf7-form-control-wrap.nip .wpcf7-not-valid-tip {
  top: -49px;
}

#contact-form-ic7 .wpcf7 .wpcf7-form-control-wrap.rodo .wpcf7-not-valid-tip {
  top: -17px;
}

#contact-form-ic7 .wpcf7 #nipError {
  position: absolute;
  left: 0;
  top: -10px;
  color: #dc3232;
  font-size: 0.8em;
}

#contact-form-ic7 .wpcf7 .btn-blue {
  display: block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 223px;
  margin: 50px auto 20px auto;
  background: var(--green);
  border: none;
  color: #fff;
}

#contact-form-ic7 .wpcf7 .btn-blue:hover {
  background: var(--green-hover);
}

#contact-form-ic7 .wpcf7 .btn-blue:focus {
  background: var(--green-focus);
}

#contact-form-ic7 #rodo-modal-btn {
  color: var(--blue);
  background: none;
  border: none;
  text-decoration: underline;
  font-size: 1em;
  font-weight: 600;
  padding: 0;
}

#contact-form-ic7 #rodo-modal-btn:hover {
  color: var(--blue-hover);
  cursor: pointer;
}

#contact-form-ic7 #rodo-modal-btn:focus {
  color: var(--blue-focus);
}

.contact-form-text {
  width: 100%;
  max-width: 515px;
  padding-top: 37px;
}

.contact-form-text h2 {
  font-size: 1.6em;
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-form-text p {
  margin-bottom: 40px;
}

.contact-form-text img {
  margin-right: 10px;
}

.contact-form-text .quality-wrap {
  display: flex;
  align-items: center;
  margin-top: 185px;
  max-width: 450px;
}

.contact-form-text .quality {
  font-size: 0.9em;
  color: var(--text-light);
  margin-bottom: 0;
}

.wpcf7-not-valid-tip {
  font-size: 0.8em;
}

.rodo .wpcf7-not-valid-tip {
  font-size: 0.65em;
}

/* custom checkbox styling for contact form 7 checkbox */
span.wpcf7-list-item {
  display: inline-block;
  margin: 0;
}

.wpcf7 .wpcf7-list-item {
  display: block;
  margin-bottom: 10px;
}

.wpcf7-checkbox label {
  position: relative;
  cursor: pointer;
  line-height: 1.2;
}

.wpcf7-checkbox input[type=checkbox] {
  /*position: relative;*/
  position: absolute;
  visibility: hidden;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
}

.wpcf7-checkbox input[type=checkbox] + span:before {
  display: block;
  position: absolute;
  content: '';
  border-radius: 3px;
  height: 20px;
  width: 20px;
  top: 0px;
  left: 0px;
  border: 1px solid var(--border-main);
  -webkit-box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.03);
  box-shadow: 0px 1px 6px 1px rgba(0, 0, 0, 0.03);
  transition: all 150ms linear;
}

.wpcf7-checkbox input[type=checkbox] + span:after {
  display: block;
  position: absolute;
  content: "\2713";
  height: 20px;
  width: 20px;
  top: 0;
  left: 0;
  visibility: hidden;
  font-size: 14px;
  text-align: center;
  line-height: 20px;
  color: #fff;
  transition: all 150ms linear;
}

.wpcf7-checkbox input[type=checkbox]:checked + span:before {
  background: transparent;
  border-radius: 50%;
  background: var(--green);
}

.wpcf7-checkbox input[type=checkbox]:checked + span:after {
  visibility: visible;
}

.wpcf7-list-item-label {
  margin-left: 30px;
  display: inline-block;
  line-height: 1.2;
}
