  .template2-form {
	padding: 68px 53px 58px;
	box-sizing: border-box;
  }
  
  /* Vormipealkiri */
  .template2-form .form-title {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 1;
	text-align: center;
	margin-bottom: 68px;
  }
  
  /* WPForms sisuväljad */
  .template2-form .wpforms-field {
	margin-bottom: 48px;
  }
  
  /* Labelid */
  .template2-form .wpforms-field label,
  .template2-form label {
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	font-family: 'Montserrat', sans-serif;
  }
  
  /* Sisendväljad ja tekstiala */
  .template2-form .wpforms-field input[type="text"],
  .template2-form .wpforms-field input[type="email"],
  .template2-form .wpforms-field input[type="tel"],
  .template2-form .wpforms-field input[type="number"],
  .template2-form .wpforms-field textarea {
	border: none !important;
	border-bottom: 2px solid #888 !important;
	background: transparent;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	outline: none;
	transition: border-color 0.3s ease;
  }

.template2-form .wpforms-field input,
.template2-form .wpforms-field textarea {
  border: none !important;
  border-bottom: 2px solid #888 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
  
#wpforms-1453-field_3-container {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
  }
  /* Fookusega väli */
  .template2-form input:focus,
  .template2-form textarea:focus {
	border-bottom: 2px solid #000;
  }
  
  /* Tekstiala suuruse piirang */
  .template2-form textarea {
	resize: vertical;
	min-height: 32px;
	max-height: 96px;
  }
  
  /* Placeholder tekst peitu */
  .template2-form ::placeholder {
	color: transparent;
  }
  
  /* Submit nupp */
  .template2-form .wpforms-submit {
  width: auto;
	padding: 10px 32px;
	background-color: transparent;
	color: black;
  box-shadow: 0 0 0 2.5px #000 inset;
	border-radius: 32px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 27px;
	display: block;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
	margin: 58px auto 0 auto;
  }
  
  .template2-form .wpforms-submit:hover {
	background-color: #000;
	color: #fff;
  }
  .template2-form .tinymce-char-counter {
	font-size: 12px;
	color: #757575;
	margin-left: 8px;
	white-space: nowrap;
  }
  .kontakt-row-wrapper {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
  }
  
  /* Vasak pool – pilt */
  .kontakt-image-block-wrapper {
	flex: 1;
	height: 974px;
	overflow: hidden;
  }
  
  .kontakt-image-block img {
	width: 100%;
	height: 974px;
	object-fit: cover;
	display: block;
  }
  
  /* Parem pool – vorm */
  .kontakt-form-wrapper {
	width: 654px;
	background: white;
	box-sizing: border-box;
  }
  .kontakt-wrapper {
	margin-top: 100px;
	margin-bottom: 100px;
  }
  @media screen and (max-width: 992px) {
	.kontakt-row-wrapper {
	  flex-direction: column;
	}
  
	.kontakt-form-wrapper,
	.kontakt-image-block-wrapper {
	  width: 100%;
	  max-width: 100%;
	  height: auto;
	}
  
	.kontakt-image-block img {
	  height: 300px; /* või auto, kui soovid dünaamilist */
	}
  }
  .template2-form label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  color: #000 !important;
}
.template2-form .wpforms-field small {
  font-size: 14px !important;
  color: #757575;
  margin-left: 8px;
}
#wpforms-1453-field_4 {
  border: 0;
  border-radius: 0;
  padding: 0;
  padding-top: 36px !important;
  padding-bottom: 12px !important;
  font-size: 16px !important;
}
#wpforms-1453-field_4:hover {
  background-color: transparent !important;
}
.wpforms-field-label-inline {
    display: inline !important;
}
.template2-form .wpforms-submit-container {
  text-align: center;
  padding-top: 0px !important;
}
.template2-form label .wpforms-required-label {
  color: inherit;
}
.template2-form .wpforms-field-container {
    display: block;
}
#wpforms-1453-field_7,#wpforms-1453-field_7-last,#wpforms-1453-field_1,#wpforms-1453-field_2,#wpforms-1453-field_0,#wpforms-1453-field_0-last,#wpforms-1453-field_6,#wpforms-1455-field_1 {
  border: 1px solid #000;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}
.wpforms-submit.loading {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 2em !important;
}

.wpforms-submit.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.5em;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  border: 2px solid #fff;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}