/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px; /* Make the masthead heading the same height as the navigation */
}

/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout-danger {
    border-left-color: #ce4844;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
}

.header-right-wrapper {
  display: flex;
}

.intro {
  display: flex;
  align-self: flex-end;
  -moz-user-select:none; /*火狐*/
  -webkit-user-select:none; /*webkit浏览器*/
  -ms-user-select:none; /*IE10*/
  -khtml-user-select:none; /*早期浏览器*/
  user-select:none;
}
.intro > .item {
  display: flex;
  align-items: center;
  margin-right: 0.6rem;
}
.intro > .item > .icon {
  width: 16px;
  height: 16px;
}
.intro > .item > .text {
  gap: 0 2px;
  color: #742f04;
  line-height: 20px;
  font-size: 12px;
  margin: 0 0.2rem;
}

.service {
  display: flex;
  align-self: flex-end;
}

.fixed-nav {
  max-height: 80vh;
  overflow-y: scroll;
  position: fixed;
  top: 6rem;
}

.card-ext {
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 36px #dedede;
  border: 0!important;
}

.card-text-ext {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.discount {
  background-image: linear-gradient(#e66465, #ce4844);
  position: absolute;
  top: 0;
  right: 0;
  /*-moz-transform:rotate(45deg);*/
  /*-webkit-transform:rotate(45deg);*/
  padding: 0 1rem;
  color: #fff;
  border-radius: 0 0 0 6px;
}

.sell-price {
  display: flex;
}
.sell-price > .unit {
  font-size: 0.8rem;
  line-height: 2.0rem;
}
.sell-price > .amount {
  font-size: 1.2rem;
}

.source-price {
  display: flex;
  color: var(--bs-tertiary-color);
}
.source-price > .unit {
  font-size: 0.6rem;
  line-height: 1.6rem;
}
.source-price > .amount {
  font-size: 0.9rem;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    /*max-width: 730px;*/
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  .header {
    margin-bottom: 30px;
  }
  .jumbotron {
    border-bottom: 0;
  }
}