body {
  background-color: #7f6f56;
  background-image: url(../images/back-new.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  min-width:1120px;
  }

body,
p,
td,
font,
ul,
li {
  font-family: Arial;
  font-size: 10pt;
  color: #ffffff;
}

A:link {
  text-decoration: none;
  color: #ffffff;
}

A:visited {
  text-decoration: none;
  color: #ffffff;
}

A:hover {
  text-decoration: underline;
  color: #ffffff;
}

.rounded-corners {
  background-color: #7f6f56;
  padding: 10px;
  border-radius: 15px;
}

.title1 {
  font-family: Arial narrow;
  font-weight: bold;
  font-size: 15pt;
  color: #ffffff;
}

input,
select {
  padding: 0.3rem;
  border-radius: 5px;
  border: 1px solid;
  font-family: Arial;
  font-size: 1em;
  min-width: 14rem;
  width: 20vw;
}

input[type="submit"] {
  background-color: #ffffff;
  color: #001342;
  font-weight: 700;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.balsavimas,
.submit {
  padding: 10px;
}

.submit {
  justify-content: flex-end;
}

.table {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.col:has(.row:not(.hidden)) {
  padding: 10px;
}

label {
  text-align: right;
}

.row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/*
.row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 150px 1fr;
  align-items: center;
}
*/

@media screen and (max-width: 455px) {
  .col {
    width: 100%;
  }
  .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  label {
    text-align: left;
  }
  input,
  select {
    padding: 0.3rem;
    width: auto;
  }
}

@media screen and (min-width: 456px) and (max-width: 1100px) {
  .col {
    width: 100%;
  }
  .row {
    display: grid;
    grid-template-columns: 150px 1fr;
  }
  .submit {
    display: flex;
  }
  input,
  select {
    padding: 0.3rem;
    width: auto;
  }
}

.success {
  min-width: 320px;
  text-align: center;
}

.error {
  color: var(--red);
}

.hidden {
  display: none;
}
