.lds-dual-ring,
.lds-dual-ring:after {
  box-sizing: border-box;
}
.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6.4px solid currentColor;
  border-color: currentColor transparent currentColor transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body div{
  margin: 5px 0;
}

body .btn,
body .btn:hover {
  border: 1px solid grey; 
  border-radius: 5px
}

body select{
  min-height: 30px;
}

body .form-field,
body .btn {
  margin: 10px;
}

body .form-field p {
  margin: 1px;
}

dialog{
  /* TODO min-width: 250px;
  width: 30vw; */
  max-width: 60vw;
}

dialog .form-field input,
dialog .form-field select {
  display: block;
  min-width: 100px;
  width: 100%;
}

.error-msg {
  margin: 0 10px;
}

.close-after:after{
  content: "\00d7";
  font-size: 1.1rem;
  color: red
}

#form-modal {
  display: flex;
  flex-direction: column;
}
#response-form {
  align-self: center;
}

#result-modal {
  min-height: 150px;
}

#response-modal {
  font-size: min(max(1rem,2vw),1.2rem);
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 1%;
}

#control-result {
  margin: 0 1%;
}

.banner img{
  min-width: 250px;
  width: 70vw;
  max-width: 512px;
}

@media (1024px <= width) {
  #form-modal {
    flex-direction: row;
    place-items: end;
  }

  dialog .form-field input,
  dialog .form-field select {
    max-width: 170px;
  }
}