main {
  max-width: 340px;
  width: 100%;
  margin: 2rem auto;
}

.radio-g {
  display: flex;
  flex-direction: column;
}

.checkbox-g {
  display: flex;
  flex-direction: column;
}

.items {
  border: solid 1px #aaa;
  margin: 1rem auto;
  counter-reset: item;
}
.items > div {
  padding: 0.5rem;
}
.items h3 {
  font-size: 1rem;
  border-bottom: solid 1px #aaa;
  padding: 0.25rem 0;
  margin-bottom: 1rem;
}
.items .itembase {
  border-top: solid #aaa 1px;
  border-bottom: solid #aaa 1px;
  padding: 0 0 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #eee;
}
.items .itembase table {
  margin: 0;
  border: none;
  border-left: solid 1px #aaa;
  width: 100%;
  border-collapse: collapse;
}
.items .itembase table tr {
  border-bottom: none;
}
.items .itembase table tr + tr {
  border-top: solid 1px #aaa;
}
.items .itembase table tr td {
  text-align: center;
  width: 33.33%;
  padding: 0.5em 0.1rem;
  font-size: 0.8em;
}
.items .itembase table tr td + td {
  border-left: solid 1px #aaa;
}
.items .item {
  display: flex;
  align-items: center;
  border-bottom: solid #aaa 1px;
  margin: 0;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.25rem 0.5rem 2.75rem;
  padding: 0 0 0 2.5rem;
  position: relative;
}
.items .item::before {
  counter-increment: item;
  content: counter(item);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  background-color: #ddd;
  color: #666;
  margin-right: 0.5rem;
  text-align: center;
  position: absolute;
  left: 0.25rem;
  top: 0.6rem;
}
.items .item > * {
  flex: 0 0 calc(33.33% - 0.34rem);
  width: calc(33.33% - 0.34rem);
}
.items .item table {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  border: none;
  border-left: solid 1px #aaa;
  border-collapse: collapse;
}
.items .item table tr {
  border-bottom: none;
}
.items .item table tr + tr {
  border-top: solid 1px #aaa;
}
.items .item table tr th {
  text-align: center;
  width: 33.33%;
}
.items .item table tr td {
  text-align: center;
  width: 33.33%;
  padding-right: 0.1rem;
  padding-left: 0.1rem;
  padding: 3px;
  font-size: 0.8em;
}
.items .item table tr td + td {
  border-left: solid 1px #aaa;
}
.items .item input[type=text] {
  width: 4rem;
  width: 100%;
  padding: 0.25rem 0.5rem;
  display: inline-block;
  margin: 0;
}
.items .item select {
  padding: 0.25rem 0.5rem;
  display: inline-block;
  max-width: 100%;
  width: 100%;
}
.items .item button {
  padding: 0.25rem 0.5rem;
  display: inline-block;
}
.items .item .clearrow {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  background-color: #333;
  font-weight: bold;
  color: #fff;
  border-radius: 1.5rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.items div:nth-of-type(3) .clearrow {
  display: none;
}
.items .clearitem {
  display: block;
  cursor: pointer;
  text-align: center;
}
.items .btn {
  border-radius: 0 !important;
  display: block !important;
}
.items:nth-of-type(2) .clearitem {
  display: none;
}

#ordercomonn h2 {
  font-size: 1rem;
  border-bottom: solid 1px #aaa;
  padding: 0.25rem 0;
  margin-bottom: 1rem;
}
#ordercomonn p.attention {
  background-color: rgba(252, 70, 70, 0.1);
  padding: 1rem;
  margin: 1rem auto;
  border: solid 2px red;
}

.base p {
  margin: 0;
}
.base p.optiontextvalue {
  background-color: rgba(252, 70, 70, 0.1);
  padding: 0.5rem;
  margin: 1rem auto 0;
  border: solid 2px red;
  font-size: 0.8rem;
}

.clearitem {
  display: block;
  background-color: #ddd;
  cursor: pointer;
  border-top: solid 1px #aaa;
}

.preview {
  float: none;
}
.preview img {
  width: 100%;
  max-width: 300px;
}

.imagePreviews {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.imagePreviews div {
  width: 300px;
  height: 300px;
  /*
  width: 100%;
  max-width: 300px;
  margin: 0;
  padding: 0 0 100%; */
  position: relative;
}
.imagePreviews div img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}/*# sourceMappingURL=custumfields.css.map */