
.block .block-content .card.points {
  margin: auto;
  padding:40px;
  top: -30px;
  background-color: #ffff;
  text-align: center;
  font-size: 16px;
  width: 75%;
}

.block .block-content.box-bg {
 padding: 0 65px;
  border: none;
  background-image: linear-gradient( white 29%, #ffffff 25%);
}
body#cart *.block .block-content .img-fluid {
  width: 100%;
  border: 1px solid #eee;
}
.block .block-content .card .view.overlay.hm-white-slight{
  margin: 30px auto;
  transform: translate(-1%, 1%);
  width: 50%;
}
.block .block-content .card .view.overlay.hm-white-slight .img-fluid {
  border: 1px solid #eee;
  border-radius: 5px;
}
/* style cards buttons*/
.block .block-content .card a.btn.btn-indigo.btn-md {
  border: 1px solid #eee;
  background: #feeef8;
  display: flex;
  justify-content: center;
  text-align: center;
}
.block .block-content .card a.btn.btn-brown.btn-md {
  border: 1px solid #eee;
  background: #d8f5f6;
  display: flex;
  justify-content: center;
  text-align: center;
}
/*slide show*/

.hm-gradient {
  background-image: linear-gradient(to top, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
}
.darken-grey-text {
  color: #2E2E2E;
}
/*end slide show*/

.multi-button {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  padding: 0px 16px;
  flex-direction: row;
}

.multi-button button.btn.btn-primary.btn-lg {
  margin: 0 20px;
}
.multi-button button.btn.btn-primary.btn-lg a {
  color: #000;
}
.multi-button button.btn.btn-secondary.btn-lg a {
  color: #fff !important;
}

@media screen and (max-width: 1024px) {

  .block .block-content.box-bg {
    padding: 0 40px;
  }
  .block .block-content .card.points {
    padding: 0 20px;
  }

}

@media screen and (max-width: 480px) {

  .block .block-content.box-bg {
    padding: 0;
  }
  .block .block-content .card.points {
    padding: 10px;
    width:100%;
    top: 0;
  }
  .multi-button button.btn.btn-primary.btn-lg {
    margin-right: 10px;
  }
  .block .block-content .card{
    top: 20px;
  }
}
.cart-loyalty-points {
  margin-bottom: 20px;
}


/*style for legend.tpl*/
.block .block-content.box-bg .testimonial {
  padding: 100px 0;
}
.block .block-content.box-bg .testimonial .row .tabs {
  all: unset;
  margin-right: 50px;
  display: flex;
  flex-direction: column;
}
.block .block-content.box-bg .testimonial .row .tabs li {
  all: unset;
  display: block;
  position: relative;
}
.block .block-content.box-bg .testimonial .row .tabs li.active::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 40px;
  background-color: #000;
  border-radius: 50%;
}
.block .block-content.box-bg .testimonial .row .tabs li.active::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 50%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(1) {
  align-self: flex-end;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(1)::before {
  left: 75%;
  top: 88%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(1)::after {
  left: 97%;
  bottom: -20%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(1) figure img {
  margin-left: auto;
  border-radius: 50%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(2) {
  align-self: flex-start;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(2)::before {
  top: 32%;
  left: 107%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(2)::after {
  bottom: 55%;
  border-radius: 50%;
  left: 125%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(2) figure img {
  margin-right: auto;
  max-width: 300px;
  width: 100%;
  margin-top: -50px;
  border-radius: 50%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(3) {
  align-self: flex-end;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(3)::before {
  top: -50%;
  left: 88%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(3)::after {
  top: -67%;
  border-radius: 50%;
  left: 105%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(3) figure img {
  margin-left: auto;
  margin-top: -50px;
  border-radius: 50%;
}
.block .block-content.box-bg .testimonial .row .tabs li:nth-child(3):focus {
  border: 10px solid red;
}
.block .block-content.box-bg .testimonial .row .tabs li figure {
  position: relative;
}
.block .block-content.box-bg .testimonial .row .tabs li figure img {
  display: block;
}
.block .block-content.box-bg .testimonial .row .tabs li figure::after {
  content: "";
  position: absolute;
  top: 0;
  /*z-index: -1;*/
  width: 100%;
  height: 100%;
  border: 4px solid #ffebf0;
  border-radius: 50%;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}
.block .block-content.box-bg .testimonial .row .tabs li figure:hover::after {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.block .block-content.box-bg .testimonial .row .tabs.carousel-indicators li.active figure::after {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.block .block-content.box-bg .testimonial .row .carousel > h3 {
  font-size: 20px;
  line-height: 1.45;
  color: rgba(0, 0, 0, .5);
  font-weight: 600;
  margin-bottom: 0;
  text-align: center;
}
.block .block-content.box-bg .testimonial .row .carousel h1 {
  font-size: 40px;
  line-height: 1.225;
  margin-top: 23px;
  font-weight: 700;
  margin-bottom: 0;
}
.block .block-content.box-bg .testimonial .row .carousel .carousel-indicators  {
  all: unset;
  padding-top: 43px;
  display: flex;
  list-style: none;
}
.block .block-content.box-bg .testimonial .row .carousel .carousel-indicators li {
  background: #ffebf0;
  background-clip: padding-box;
  height: 16px;
  width: 16px;
  border-radius: 50%;
}
.block .block-content.box-bg .testimonial .row .carousel .carousel-indicators li.active{
  background: #000;
}
.block .block-content.box-bg .testimonial .row .carousel .carousel-inner .carousel-item .quote-wrapper {
  margin-top: 42px;
}
.block .block-content.box-bg .testimonial .row .carousel .carousel-inner .carousel-item .quote-wrapper p {
  font-size: 18px;
  line-height: 1.72222;
  font-weight: 500;
  color: rgba(0, 0, 0, .7);
}
.block .block-content.box-bg .testimonial .row .carousel .carousel-inner .carousel-item .quote-wrapper h3 {
  color: #000;
  font-weight: 700;
  margin-top: 37px;
  font-size: 20px;
  line-height: 1.45;
  text-transform: uppercase;
}
@media only screen and (max-width: 1200px) {
  .block .block-content.box-bg .testimonial .row .tabs {
    margin-right: 25px;
  }
}
@media only screen and (max-width: 480px) {
  .block .block-content.box-bg .testimonial .row .tabs li.active::after{
    display: none;
  }
}
.loyalty-history .points_circle {
  align-items: center;
  background: #ffebf0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 127px;
  justify-content: center;
  margin: 15px auto 30px;
  text-align: center;
  width: 127px;
}

/*table design*/


table.table {
  background-color: #000 !important;
  border-radius: 0.25em;
  border-collapse: collapse;
  margin: 1em;
  cursor: pointer;
}
table.table th {
  border-bottom: 1px solid #364043;
  background: #000;
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.5em 1em;
  text-align: left;
}
table.table td {
  color: #fff;
  font-weight: 100;
  padding: 0.65em 1em;
}

table.table tbody tr {
  transition: background 0.25s ease;
}
table.table tbody tr{
  background: #000;
}
/*table hover effect*/

table.table  tr{
  background-color: #ffebf0;
  -webkit-box-shadow: 0 6px 6px -6px #000;
  -moz-box-shadow: 0 6px 6px -6px #000;
  box-shadow: 0 6px 6px -6px #000;
}
table.table  td{
  background-color: #ffebf0;
  color: #5d5d5d;
  font-weight: bold;

  box-shadow: #000000 -1px 1px, #000000 -2px 2px, #000000 -3px 3px, #000000 -4px 4px, #000000 -5px 5px, #000000 -6px 6px;
  transform: translate3d(6px, -6px, 0);

  transition-delay: 0s;
  transition-duration: 0.4s;
  transition-property: all;
  transition-timing-function: line;
}


/*style points at shopping cart */
.light-box-bg.cart-loyalty-points {
  display: flex;
  justify-content: center;
  text-align: center;
  border-top: 5px solid #ffebf0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.light-box-bg.cart-loyalty-points .content-cart-loyalty-points strong {
  border-top: 5px solid #ffebf0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  padding:5px 10px;
}

  /*points explanation*/
.points-explanation {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #9e9e9e;
  display: inline-block;
  font-size: 16px;
  margin: 35px 10px 10px;
  max-width: 310px;
  min-width: 250px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
  border-radius: 5px;
  border-top: 5px solid #ffebf0;
}


.points-explanation figcaption {
  padding: 13% 10% 12%;
}

.points-explanation figcaption:before {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  color: #000;
  content: "\2139";
  font-size: 32px;
  font-style: normal;
  left: 50%;
  line-height: 60px;
  position: absolute;
  top: -30px;
  width: 60px;
}

.points-explanation h3 {
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  margin: 10px 0 5px;
}

.points-explanation h4 {
  font-weight: 400;
  margin: 0;
  opacity: 0.5;
}



.points-preview {
  margin-bottom: 10px;
}
.points-preview span.points {
  color: #aa145a;
}

.points-preview a {
  color: #00566a;
}
