/*=================================
//                                 
//    ###     ####   ###    ###  
//   ## ##   #   ##  ## #  # ##  
//  ##   ##    ###   ##  ##  ##  
//  #######  #   ##  ##      ##  
//  ##   ##   ####   ##      ##  
//                                 
//================================= formses.css */

/* ------------------ formularz kontaktowy ------------------ */
.kontaktform {
  position: relative;
  margin: 0 1rem; 
}

.form-bkg {background-color: var(--bkg2); padding: 1rem 2rem;}

.kontaktform .comm {
  width: auto;
  overflow: visible;
  margin-right: 0;
  background: none;
  background-size: cover;
}

.kontaktform .comm .header {
  font-size: calc(1rem + 1vw);
  padding: 0 0 2vw 0;
}

.kontaktform .comm .text {
  text-align: left;
}

.kontaktform #forma {
  flex-grow: 111;
  padding-right: 0;
}

.kontaktform #forma a {
  color: var(--link3);
  font-weight: 600; font-size: 1rem;
}


.kontaktform .send {
  margin: 1.5rem 0 .5rem;
  text-align: left;
}
.kontaktform #send svg {color:#000;}

.kontaktform label {
  font-size: 1.125rem;
  margin: 0.375rem 0;
  color: var(--text7);
}

.kontaktform .form-group.error span {
  position: absolute;
  color: var(--text6);
  font-size: 0.75rem;
  line-height: 1rem;
  margin-top: -1rem;
  right: 1rem;
}
.kontaktform .form-check.error span{
  margin: -.75rem;
}



.grecaptcha-badge {
  z-index: 123;
  width: 250px !important;
  bottom: 140px !important;
}


.kontaktform .form-area {
  width: 100%;
}

.formcode {
  margin-top: .5rem;
}

.kontaktform .form-check { padding-left: 2rem; }

.kontaktform .form-check label {
  display: block;
  font-size: 1rem;
  line-height: 1.5rem;
}

.kontaktform .body p {
  font-size: .875rem;
}

.kontaktform .comm img {
  display: block;
  margin: auto;
  width: 100%;
  min-width: 15rem;
}

.kontaktform .form-group {
  margin: 1rem 0;
}
.kontaktform .form-control {
  font-weight: 300;
  font-size: 13px;  
}

.kontaktform input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: -2rem;
  cursor: pointer;
}

.kontaktform .btn {
  padding: .5rem 2rem;
  border-radius: .25rem;
  border: 1px solid var(--border1);
  color: var(--color3);
  background: var(--bkg8);
  font-size: .875rem;
  font-weight: 600;
}

.kontaktform .btn:hover {
  /* box-shadow: 0 0 5px 2px rgba(0, 0, 0, .25); */
}

.kontaktform .btn img {
  left: -4px;
  margin: 0 5px 0 0;
  max-width: 18px;
  opacity: 0.95;
  position: relative;
  top: -1px;
}

.confirm.alert {
  padding: 0;
  margin-bottom: 0;
}

.confirm.alert.alert-success,
.confirm.alert.alert-error {
  padding: 1rem;
  margin-bottom: 1rem;
}


.form-check-input.is-invalid,
.was-validated .form-check-input:invalid {
  border-color: #f86c7a;
}

.form-check-input.is-invalid~.form-check-label,
.was-validated .form-check-input:invalid~.form-check-label {
  color: #f86c7a;
}


.formcode .form-check-input {
  color: #6d6d6d;
  font-size: 13px;
  font-style: italic;
  font-weight: 100;
  line-height: 1rem;
  margin-right: .5rem;
  padding: 20px 0 0 0;
}

.formcode input[type="checkbox"] {
  width: 20px !important;
  cursor: pointer;
}

.formcode .text-muted {
  padding-left: .5rem;
  display: block;
}

.confirm {
  background: var(--bkg2);
  border: 1px solid var(--border2);
  position: absolute;
  left: 5%;
  top: 0;
  height: 90%;
  width: 90%;
  text-align: center;
  z-index: 999;
  box-shadow: 15px 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.confirm h3 {
  margin-top: 12%;
}

.kontaktform .comm .confirm h3 {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 1rem;
}


@media (max-width: 992px) {
  .kontaktform {
    flex-direction: column;
  }

  .kontaktform .formular {
    justify-content: center;
    padding: 0 2rem;
    flex-direction: column;
  }

  .kontaktform .comm {
    padding-right: 2rem;
    margin-bottom: 2vw;
  }

  .kontaktform .comm .text {
    width: 70%;
    display: inline-block;
    vertical-align: text-bottom;
  }

  /*
  .kontaktform .form-img {display: inline-block;}
  */
}

@media (max-width: 768px) {
  .kontaktform .comm .text {
    width: 100%;
  }

  .kontaktform .form-img {
    display: block;
  }
}