.webform-submission-form > fieldset > legend {
  font-weight: bold;
  font-size: 1.2em;
}

.webform-submission-form > fieldset > .fieldset-wrapper {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1* var(--bs-gutter-y));
  margin-right: calc(-.5* var(--bs-gutter-x));
  margin-left: calc(-.5* var(--bs-gutter-x));
}

.webform-submission-form > fieldset > .fieldset-wrapper > * {
  flex-shrink: 0;    
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x)* .5);
  padding-left: calc(var(--bs-gutter-x)* .5);
  margin-top: var(--bs-gutter-y);
}

.webform-submission-form #datos_dos_predios_de_substitucion_table {
  border: none;
  padding: 20px;
  background-color: #e8f3fA;
  border-radius: 10px;
}

.webform-submission-form #datos_dos_predios_de_substitucion_table table th,
.webform-submission-form #datos_dos_predios_de_substitucion_table table td {
  background-color: #e8f3fA;
}

.webform-submission-form #datos_dos_predios_de_substitucion_table table th {
  color: #007bc4;
  font-weight: normal;
}

.webform-submission-form #datos_dos_predios_de_substitucion_table label {
  font-weight: bold;
  font-size: 1.2em;
}

@media (max-width:992.98px) {
  .w-lg-50 {
    width: auto;
    height: 100px !important;
  }
}

@media (max-width:768.98px) {
  .w-lg-50 {
    width: auto;
    height: 50px !important;
  }
}

@media (max-width:450.98px) {
  .w-lg-50 {
    width: auto;
    height: 40px !important;
  }
}