/*
    Theme Name: Dua
    Version: 10.0.0
    Author: Presence
    Text Domain: dua
    Author URI: https://presence.lv
*/
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
html * {
  font-family: "Source Sans 3";
}
html body {
  overflow-x: hidden;
}
html body.prevent-scroll {
  overflow: hidden;
}
html main p {
  margin: 0;
}
.fw {
  width: 100%;
}
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-c {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.auto {
  margin-left: auto;
  margin-right: auto;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}
.align-stretch {
  align-items: stretch;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.justify-evenly {
  justify-content: space-evenly;
}
button {
  cursor: pointer;
}
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.noscroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.noscroll::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1000px) {
  .desktop {
    display: none !important;
  }
}
@media (min-width: calc(1000px + 1px)) {
  .mobile {
    display: none !important;
  }
}
body.page-template-default {
  margin: 0;
}
main {
  max-width: 40rem;
  margin: auto;
  padding: 3.75rem 1rem 6.875rem;
}
main > .form-header {
  margin-bottom: 2.1875rem;
}
main > .form-header > img {
  height: 6.625rem;
  width: auto;
  margin: auto;
}
main > .form-header > h1 {
  color: #003d7b;
  font-size: 2rem;
  line-height: 1.3em;
  text-align: center;
  font-weight: 700;
  margin: 1.875rem auto 0.9375rem;
}
main > .form-header > div * {
  font-size: 1.125rem;
  line-height: 1.3em;
  text-align: center;
  color: #646464;
}
main > .forms {
  gap: 2.25rem;
  counter-reset: forms;
}
main > .forms > div {
  width: 100%;
  border: 0.0625rem solid #9ea7aa;
  padding: 2.5rem 1.875rem 3.125rem;
  counter-reset: question;
  box-shadow: 0 0.25rem 0.625rem 0 rgba(0, 0, 0, 0.1);
}
main > .forms > div > p.title {
  font-size: 1.5rem;
  line-height: 1.7em;
  color: #003d7b;
  font-weight: 700;
}
main > .forms > div > p.title::before {
  counter-increment: forms;
  content: counter(forms) ". ";
}
main > .forms > div > p.title ~ form .field .question::before {
  counter-increment: question;
  content: counter(forms) "." counter(question) ". ";
}
main > .forms > div > p.desc {
  color: #646464;
  font-size: 1rem;
  font-weight: 1.3em;
  font-weight: 400;
  margin-top: 0.3125rem;
}
main > .forms > div > .submitted {
  box-shadow: 0 0.25rem 0.625rem 0 rgba(0, 0, 0, 0.1);
  padding: 1.125rem 1.25rem;
  border-radius: 0.3125rem;
  gap: 0.75rem;
}
main > .forms > div > .submitted:not(:first-child) {
  margin-top: 2.1875rem;
}
main > .forms > div > .submitted::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  background: url("/wp-content/uploads/2024/11/submitted.svg") center center / contain no-repeat;
}
main > .forms > div > .submitted > div > .title {
  font-size: 1rem;
  line-height: 1.3em;
  color: #003d7b;
  font-weight: 700;
}
main > .forms > div > .submitted > div > .desc {
  font-size: 1rem;
  line-height: 1.25em;
  font-weight: 400;
  color: #646464;
}
main > .forms > div > form {
  width: 100%;
  gap: 2.25rem;
}
main > .forms > div > form:not(:first-child) {
  margin-top: 2rem;
}
main > .forms > div > form > .flex {
  width: 100%;
}
main > .forms > div > form > .flex > button {
  background: #2ab0ed;
  font-size: 1rem;
  line-height: 1.875em;
  color: #ffffff;
  padding: 0.375rem 4.5rem;
  border-radius: 0.1875rem;
  font-weight: 700;
  outline: none;
  border: 0;
  position: relative;
  overflow: hidden;
}
main > .forms > div > form > .flex > button::before {
  content: "";
  display: block;
  background: #2ab0ed;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}
main > .forms > div > form > .flex > button::after {
  content: "";
  display: block;
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 0.1875rem solid white;
  border-color: white transparent white transparent;
  animation: rotate 1s linear infinite;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}
main > .forms > div > form > .flex > button.loading {
  pointer-events: none;
}
main > .forms > div > form > .flex > button.loading::before, main > .forms > div > form > .flex > button.loading::after {
  opacity: 1;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.field-input {
  border: 0.0625rem solid #9ea7aa;
  padding: 0.625rem 0.75rem;
  transition: 0.2s;
  width: 100%;
  outline: none;
  font-size: 0.9375rem;
}
.field-input:focus {
  border-color: #2ab0ed;
}
.field {
  width: 100%;
}
.field > p.question {
  font-size: 1rem;
  line-height: 1.5em;
  color: #003d7b;
  font-weight: 700;
}
.field > p.question.obligats::after {
  content: " *";
  color: red;
}
.field > p.tip {
  color: #646464;
  font-size: 1rem;
  line-height: 1.5em;
  margin-bottom: 0.625rem;
}
.field > p.tip + .tip {
  margin-top: -0.625rem;
}
.field > p.bottom-tip {
  color: #646464;
  font-size: 0.8125rem;
  line-height: 1.5em;
  margin-top: 0.3125rem;
}
.field > .other {
  margin-top: 0.625rem;
  width: 100%;
}
.field > .other.hidden {
  display: none;
}
.field.slegts_jautajums > .input {
  gap: 0.75rem;
  margin-top: 0.625rem;
}
.field.slegts_jautajums > .input > div {
  position: relative;
}
.field.slegts_jautajums > .input > div label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 0.5rem;
}
.field.slegts_jautajums > .input > div label::before {
  content: "";
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  border: 0.0625rem solid #a1a1a1;
  box-shadow: inset 0 0 0 0.5rem #ffffff;
  background: #ffffff;
  transition: 0.2s;
  flex-shrink: 0;
}
.field.slegts_jautajums > .input > div label.multiple::before {
  border-radius: 0.125rem;
  width: 1.125rem;
  height: 1.125rem;
}
.field.slegts_jautajums > .input > div input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}
.field.slegts_jautajums > .input > div input:checked + label::before {
  background: #2ab0ed;
  box-shadow: inset 0 0 0 0.3125rem #ffffff;
  border-color: #2ab0ed;
}
.field.slegts_jautajums > .input > div input:checked + label.multiple::before {
  box-shadow: inset 0 0 0 0.25rem #ffffff;
}
.field.teksta_lauks > .input > input, .field.teksta_lauks > .input > textarea {
  border: 0.0625rem solid #9ea7aa;
  outline: none;
  width: calc(100% - 1.5rem);
  font-size: 0.9375rem;
  line-height: 1em;
  color: #0a0a0a;
  padding: 0 0.75rem;
  resize: none;
  transition: 0.2s;
}
.field.teksta_lauks > .input > input:focus, .field.teksta_lauks > .input > textarea:focus {
  border-color: #2ab0ed;
}
.field.teksta_lauks > .input > input {
  height: 2.375rem;
}
.field.teksta_lauks > .input > textarea {
  padding: 0.75rem;
  line-height: 1.3em;
}
.field.checkbox {
  margin-top: 1rem;
}
.field.checkbox > div {
  position: relative;
}
.field.checkbox > div label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 0.5rem;
  font-size: 0.9375rem;
}
.field.checkbox > div label::before {
  content: "";
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  border: 0.0625rem solid #a1a1a1;
  box-shadow: inset 0 0 0 0.5rem #ffffff;
  background: #ffffff;
  transition: 0.2s;
  flex-shrink: 0;
}
.field.checkbox > div label.multiple::before {
  border-radius: 0.125rem;
  width: 1.125rem;
  height: 1.125rem;
}
.field.checkbox > div input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}
.field.checkbox > div input:checked + label::before {
  background: #2ab0ed;
  box-shadow: inset 0 0 0 0.3125rem #ffffff;
  border-color: #2ab0ed;
}
.field.checkbox > div input:checked + label.multiple::before {
  box-shadow: inset 0 0 0 0.25rem #ffffff;
}
.field.fails > .tip {
  margin-bottom: 1rem;
}
.field.fails > .input {
  width: fit-content;
  gap: 0.875rem;
  position: relative;
}
@media (max-width: 1000px) {
  .field.fails > .input {
    flex-direction: column;
    width: 100%;
  }
  .field.fails > .input > * {
    width: 100%;
    line-height: 1.2em !important;
  }
}
.field.fails > .input > input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  top: 3rem;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.field.fails > .input > input ~ label, .field.fails > .input > input ~ button, .field.fails > .input > input ~ a {
  cursor: pointer;
  border-radius: 0.1875rem;
  background: #ebebeb;
  padding: 0.3125rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 2em;
  font-weight: 600;
  color: #003d7b;
  display: flex;
  gap: 0.375rem;
  align-items: center;
  justify-content: center;
  outline: none;
  border: 0;
  text-decoration: none;
}
.field.fails > .input > input ~ label::before, .field.fails > .input > input ~ button::before, .field.fails > .input > input ~ a::before {
  content: "";
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  background: url("/wp-content/uploads/2024/10/upload.svg") center center / contain no-repeat;
}
.field.fails > .input > input ~ button {
  display: none;
}
.field.fails > .input > input.filled ~ a {
  display: none;
}
.field.fails > .input > input.filled ~ button {
  background: #fe5858;
  color: #ffffff;
  display: flex;
}
.field.fails > .input > input.filled ~ button::before {
  background: url("/wp-content/uploads/2024/10/remove.svg") center center / contain no-repeat;
}
.field .error {
  font-size: 0.9375rem;
  color: red;
  margin-top: 0.625rem;
  height: 1.3rem;
  opacity: 0;
  pointer-events: none;
  margin-top: -1.3rem;
  transition: 0.2s;
}
.field.errored input, .field.errored textarea {
  border-color: red !important;
}
.field.errored .error {
  opacity: 1;
  margin-top: 0.625rem;
}
.btn {
  display: block;
  width: fit-content;
  text-decoration: none;
  margin: auto;
  background: #2ab0ed;
  font-size: 1rem;
  line-height: 1.875em;
  color: #ffffff;
  padding: 0.375rem 4.5rem;
  border-radius: 0.1875rem;
  font-weight: 700;
  outline: none;
  border: 0;
  position: relative;
  overflow: hidden;
}
