@media (min-width: 1024px) {
  .tle-stamp-duty-lg-tle-stamp-duty-btn-group-horizontal {
    flex-direction: row !important;
  }
}

@media (max-width: 1023px) {
  .tle-stamp-duty-btn-group.tle-stamp-duty-btn-group-vertical .tle-stamp-duty-btn:first-child:not(:last-child) {
    border-top-left-radius: var(--rounded-btn, .5rem);
    border-top-right-radius: var(--rounded-btn, .5rem);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: -1px;
    margin-left: 0;
  }

  .tle-stamp-duty-btn-group-vertical {
    flex-direction: column;
  }

  .tle-stamp-duty-btn-group.tle-stamp-duty-btn-group-vertical .tle-stamp-duty-btn:last-child:not(:first-child) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--rounded-btn, .5rem);
    border-bottom-right-radius: var(--rounded-btn, .5rem);
  }
}

.tle-stamp-duty-btn-group .tle-stamp-duty-btn:first-child:not(:last-child),
.tle-stamp-duty-btn-group.tle-stamp-duty-btn-group-horizontal .tle-stamp-duty-btn:first-child:not(:last-child) {
  border-top-left-radius: var(--rounded-btn, .5rem);
  border-top-right-radius: 0;
  border-bottom-left-radius: var(--rounded-btn, .5rem);
  border-bottom-right-radius: 0;
  margin-top: 0;
  margin-left: -1px;
}

.tle-stamp-duty-btn-group .tle-stamp-duty-btn:not(:first-child):not(:last-child),
.tle-stamp-duty-btn-group.tle-stamp-duty-btn-group-horizontal .tle-stamp-duty-btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.tle-stamp-duty-btn-group .tle-stamp-duty-btn:last-child:not(:first-child),
.tle-stamp-duty-btn-group.tle-stamp-duty-btn-group-horizontal .tle-stamp-duty-btn:last-child:not(:first-child) {
  border-top-left-radius: 0;
  border-top-right-radius: var(--rounded-btn, .5rem);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: var(--rounded-btn, .5rem);
}

#stamp-duty-result {
  font-size: 3rem;
}

.tle-stamp-duty-mt-3 {
  margin-top: 0.75rem;
}

.tle-stamp-duty-text-center {
  text-align: center;
}

.tle-stamp-duty-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.tle-stamp-duty-text-xl {
  font-size: 1.25rem !important;
}

.tle-stamp-duty-label {
  user-select: none;
  justify-content: space-between;
  align-items: center;
  padding: .7rem .25rem;
  display: flex;
}

.tle-stamp-duty-label-text {
  --tw-text-opacity: 1;
  color: hsl(var(--bc)/var(--tw-text-opacity));
  font-size: .875rem;
  line-height: 1.25rem;
}

.tle-stamp-duty-input::placeholder {
  opacity: 1;
  color: #9ca3af;
}

.tle-stamp-duty-input-bordered {
  --tw-border-opacity: .2;
}


.tle-stamp-duty-input {
  height: 3rem;
  width: 300px !important;
  border-width: 1px !important;
  border-color: lightgray !important;
  border-style: solid !important;
  border-radius: 0.5rem !important;
  --tw-border-opacity: 0;
  --tw-bg-opacity: 1;
  background-color: hsl(var(--b1)/var(--tw-bg-opacity));
  border-radius: .5rem;
  flex-shrink: 1;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  transition-property: color, background-color, border-color, -webkit-text-decoration-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-duration: .2s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}



.tle-stamp-duty-input-error {
  outline: 1px solid red;
}

.tle-stamp-duty-btn-group-horizontal {
  flex-direction: row;
}

.tle-stamp-duty-btn-group {
  display: inline-flex;
}

.tle-stamp-duty-btn-group>.tle-stamp-duty-btn-active {
  --tw-border-opacity: 1;
  border-color: var(--e-global-color-primary, #a63ecd) !important;
  --tw-bg-opacity: 1;
  background-color: var(--e-global-color-primary, #a63ecd) !important;
  --tw-text-opacity: 1;
  color: white;
}

.tle-stamp-duty-btn-outline {
  --tw-text-opacity: 1;
  color: black;
  background-color: #0000;
  border-color: currentColor;
}

.tle-stamp-duty-btn:hover {
  --tw-border-opacity: 1;
  border-color: var(--e-global-color-secondary, #000) !important;
  --tw-bg-opacity: 1;
  background-color: var(--e-global-color-secondary, #000) !important;
  color: white !important;
}

.tle-stamp-duty-btn {
  padding: 0px !important;
  background-color: white !important;
  width: 200px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border-color: #0000;
  border-color: #3d4451;
  text-align: center;
  border-radius: var(--rounded-btn, .5rem);
  height: 3rem;
  min-height: 3rem;
  text-transform: uppercase;
  text-transform: var(--btn-text-case, uppercase);
  border-width: var(--border-btn, 1px);
  animation: button-pop var(--animation-btn, .25s)ease-out;
  --tw-border-opacity: 1;
  --tw-bg-opacity: 1;
  background-color: hsl(var(--n)/var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: hsl(var(--nc)/var(--tw-text-opacity));
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1em;
  -webkit-text-decoration-line: none;
  text-decoration-line: none;
  transition-property: color, background-color, border-color, -webkit-text-decoration-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-duration: .2s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: inline-flex;
}

.tle-stamp-duty-last-updated-text {
  font-size: .7em;
  text-align: right;
}


/* Table */

#tle-stamp-duty-breakdown {
  margin-top: 30px;
}

#tle-stamp-duty-breakdown-table th:nth-child(2),
#tle-stamp-duty-breakdown-table th:nth-child(4) {
  width: 15% !important;
}

#tle-stamp-duty-breakdown-table th:nth-child(1),
#tle-stamp-duty-breakdown-table th:nth-child(3) {
  width: 35% !important;
}

.tle-stamp-duty-overflow-x-auto {
  overflow-x: auto;
}

.tle-stamp-duty-table {
  text-align: left;
  position: relative;
  width: 80%;
  display: table;
  text-indent: 0;
  border-collapse: collapse;
}


.tle-stamp-duty-table th,
.tle-stamp-duty-table td {
  border: none !important;
}

.tle-stamp-duty-table th:first-child {
  z-index: 11;
  position: sticky;
  left: 0;
}

:where(.tle-stamp-duty-table :first-child) :where(:first-child) :where(th, td):first-child {
  border-top-left-radius: .5rem;
}

.tle-stamp-duty-table tr th:last-child {
  border-top-right-radius: .5rem;
}

.tle-stamp-duty-table :where(thead, tfoot) :where(th, td) {
  --tw-bg-opacity: 1;
  background-color: #f2f2f2;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1rem;
}


.tle-stamp-duty-table :where(th, td) {
  white-space: nowrap;
  vertical-align: middle;
  padding: 1rem;
}

/* tle-stamp-duty-collapse */
.tle-stamp-duty-collapse {
  display: grid;
  position: relative;
  overflow: hidden;
}

:where(.tle-stamp-duty-collapse > input[type="checkbox"]) {
  z-index: 1;
}

.tle-stamp-duty-collapse:not(.tle-stamp-duty-collapse-open):not(.tle-stamp-duty-collapse-close) input[type="checkbox"],
.tle-stamp-duty-collapse:not(.tle-stamp-duty-collapse-open):not(.tle-stamp-duty-collapse-close) .tle-stamp-duty-collapse-title {
  cursor: pointer;
}

.tle-stamp-duty-collapse>input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  opacity: 0;
}

.tle-stamp-duty-collapse-title,
.tle-stamp-duty-collapse>input[type="checkbox"],
.tle-stamp-duty-collapse-content {
  grid-row-start: 1;
  grid-column-start: 1;
}

.tle-stamp-duty-collapse-title,
:where(.tle-stamp-duty-collapse > input[type="checkbox"]) {
  width: 100%;
  min-height: 2.5rem;
  margin: auto;
}

.tle-stamp-duty-collapse-title {
  position: relative;
}


.tle-stamp-duty-collapse-open .tle-stamp-duty-collapse-content,
.tle-stamp-duty-collapse:focus:not(.tle-stamp-duty-collapse-close) .tle-stamp-duty-collapse-content,
.tle-stamp-duty-collapse:not(.tle-stamp-duty-collapse-close) input[type="checkbox"]:checked~.tle-stamp-duty-collapse-content {
  max-height: 9000px;
}

.tle-stamp-duty-collapse-open :where(.tle-stamp-duty-collapse-content),
.tle-stamp-duty-collapse:focus:not(.tle-stamp-duty-collapse-close) :where(.tle-stamp-duty-collapse-content),
.tle-stamp-duty-collapse:not(.tle-stamp-duty-collapse-close) :where(input[type="checkbox"]:checked ~ .tle-stamp-duty-collapse-content) {
  padding-bottom: 1rem;
}

.tle-stamp-duty-collapse-content {
  max-height: 0;
  cursor: unset;
  grid-row-start: 2;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

.tle-stamp-duty-primary-color {
  color: var(--e-global-color-primary, #a63ecd)
}