/* New-look chrome for Classic ASP cart and checkout on beta only */
.md-asp-body {
  background: #fff;
}
.md-asp-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  min-height: 50vh;
  color: #1a1a1a;
  font-family: inherit;
}
.md-asp-main img[src*="phasecart.gif"] {
  display: none;
}
.md-asp-cart-top {
  height: 8px;
}
.md-asp-empty {
  text-align: center;
  padding: 40px 16px 24px;
  font-size: 1.05rem;
}
.md-asp-empty a {
  color: #9a1c1c;
  font-weight: 600;
}

/* Cart / checkout tables */
.md-asp-main table {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 16px;
  border-collapse: collapse;
  background: #fff;
}
.md-asp-main td,
.md-asp-main th {
  padding: 10px 8px;
  vertical-align: middle;
  font-size: 15px;
}
.md-asp-main input[type="text"],
.md-asp-main input[type="password"],
.md-asp-main input[type="email"],
.md-asp-main select,
.md-asp-main textarea {
  font: 15px/1.4 inherit;
  padding: 8px 10px;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  max-width: 100%;
}
.md-asp-main input[type="submit"],
.md-asp-main input[type="button"],
.md-asp-main button {
  font: 600 15px/1.2 inherit;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: #1a1a1a;
  color: #fff;
}
.md-asp-main input[name="checkout"],
.md-asp-main input[name="Checkout"] {
  background: #9a1c1c !important;
  background-color: #9a1c1c !important;
  color: #fff !important;
  font: 600 16px/1.2 inherit !important;
  padding: 14px 22px !important;
  min-height: 48px;
  border: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}
.md-asp-main input[name="continue"],
.md-asp-main input[name="Continue"],
.md-asp-main input[name="recalculate"],
.md-asp-main input[name="Recalculate"] {
  background: #f3f3f3;
  color: #1a1a1a;
  border: 1px solid #d0d0d0;
}
.md-asp-main .md-asp-empty + form,
.md-asp-main form {
  max-width: 920px;
  margin: 0 auto;
}

/* Hide leftover huge breaks / old center wrappers overflowing on phones */
.md-asp-main center {
  display: block;
  width: 100%;
}
@media (max-width: 700px) {
  .md-asp-main {
    padding: 16px 12px 48px;
  }
  .md-asp-main table,
  .md-asp-main td,
  .md-asp-main th {
    font-size: 13px;
  }
  .md-asp-main input[type="submit"] {
    width: 100% !important;
    max-width: 100%;
    margin: 8px 0;
    display: block;
  }
  .md-asp-main input[name="checkout"],
  .md-asp-main input[name="Checkout"] {
    font-size: 17px !important;
    min-height: 52px;
    padding: 16px 20px !important;
    color: #fff !important;
    background: #9a1c1c !important;
    background-color: #9a1c1c !important;
  }
  .md-asp-main div[style*="float:left"] {
    float: none !important;
    width: 100% !important;
    height: auto !important;
  }
}


/* Checkout progress gifs from the old look */
.md-asp-main img[src*="phasepay.gif"],
.md-asp-main img[src*="phaseregister.gif"],
.md-asp-main img[src*="phasecart.gif"] {
  display: none;
}

.md-asp-total-after-address {
  padding: 8px 8px 18px;
  color: #555;
  font-size: 14px;
  font-style: italic;
}

.md-asp-main td[align="right"],
.md-asp-main td[align=right] {
  white-space: nowrap;
}
