body {
  padding-top: 80px;
}

.btn {
  line-height: 1;
}

.carousel {
  position: absolute;
  width: 100%;
  left: 0;
  top: 60px;
  z-index: 1;
}

.homepage {
  margin-top: 40vw;
}

@media (min-width: 576px) {
  .homepage {
    margin-top: 45vw;
  }
}
@media (min-width: 768px) {
  .homepage {
    margin-top: 45vw;
  }
}
@media (min-width: 992px) {
  .homepage {
    margin-top: 45vw;
  }
}
@media (min-width: 1200px) {
  .homepage {
    margin-top: 46vw;
  }
}
@media (min-width: 1400px) {
  .homepage {
    margin-top: 46vw;
  }
}

.card {
  padding: 20px 5px;
  margin-bottom: 20px;
  /* max-width: 20rem; */
  height: calc(100% - 20px);
  box-shadow: 2px 2px 10px #ccc;
  background-image: url('../../img/wave.png'), linear-gradient(to right, #e1e1e1, #f0f0f0);
  background-position: top right;
  background-size: contain;
  background-repeat: no-repeat;
  border: 1px solid rgba(214 214 214);
}
.card-img-top {
  /* width: 200px; */
  width: auto;
  height: 200px;
  align-self: center;
}
.btn-check:focus + .btn, .btn:focus {
  box-shadow: none;
}

.card-block {
  text-align: left;
  padding: 0 10px;
  display: flex;
  flex-direction: row;
  /* align-items: center; */
}
.btn-plus{
  position: absolute;
  bottom: 10px;
  right: 0;
}
.text-kategori{
  margin: -10px 0 0;
  font-size: 13px;
  font-style: italic;
}
.div-img-top{
  /* max-width: 100%; */
  min-width: 80px;
  width: 80px; 
  height: 80px; 
  border-radius: 10px; 
  background-position: center; 
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: auto;
  margin-right: 20px;
}
.total-cart{
  font-weight: bold;
  font-size: 2rem;
  /* margin-top: -5px; */
  width: 100%;
  background-color: #eee;
  text-align: right;
  padding-right: 10px;
}
.total div{
  float: left;
  /* margin-right: 10px; */
}

.kodeOTP{
  width: 40px; 
  text-align: center;
  margin:5px;
}

.quantity_item{
  /* width: 9em; */
}

 /* start - bootstrap form-floating custom  */
  .form-floating>.form-control:focus~label,
  .form-floating>.form-control:not(:placeholder-shown)~label,
  .form-floating>.form-select~label {
    opacity: 1;
    transform: scale(.85) translateY(-0.5rem) translateX(.15rem);
    background: white;
    padding: 7px 6px;
    line-height: 0px;
    height: 10px;
    margin-left: 5px;
    color: #aaa;
  }
  .form-floating>label{
    padding: 0.4rem 0.75rem;
  }
  .form-floating>.form-control, .form-floating>.form-select {
    height: 38px;
  }
  .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 0rem;
    padding-bottom: 0rem;
  }
  .form-floating>.form-select {
    padding-top: 0rem;
    padding-bottom: 0rem;
  }
/* end - bootstrap form-floating custom  */

/* start - css modal loading  */
  .my-modal-window {
    position: fixed;
    background-color: rgba(100, 100, 100, 0.8);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: none;
    text-align: center;
    color: white;
  }
  .my-modal-content {
    /* width: 400px; */
    position: absolute;
    top: calc(50% - 45px);
    left: calc(50% - 45px);
    transform: translate(0%, 0%);
    /* padding: 2em; */
    /* background: white; */
  }
  .loader-img {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid var(--bs-primary);
    border-bottom: 16px solid var(--bs-primary);
    width: 90px;
    height: 90px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;

    /* background-image: url("./img/loading.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    width: 80px;
    height: 80px; */
    /* -webkit-animation: spin 2s linear infinite; / / Safari */
    /* animation: spin 2s linear infinite; */
    /* animation: mirrorflip 4s 0s linear infinite; */
  }
  @keyframes mirrorflip {
    0% {
      transform: scale(1, 1);
      -webkit-transform: scale(1, 1);
      -moz-transform: scale(1, 1);
      -o-transform: scale(1, 1);
      -ms-transform: scale(1, 1);
      
    }
    50% {
      transform: scale(-1, 1);
      -webkit-transform: scale(-1, 1);
      -moz-transform: scale(-1, 1);
      -o-transform: scale(-1, 1);
      -ms-transform: scale(-1, 1);
    }
    100% {
      transform: scale(1, 1);
      -webkit-transform: scale(1, 1);
      -moz-transform: scale(1, 1);
      -o-transform: scale(1, 1);
      -ms-transform: scale(1, 1);
    }
  }
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
/* end - css modal loading  */

#id-wa {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

#id-running_text{
  position: fixed;
  bottom: 10px;
  background: linear-gradient(to right, #c3c3c3, #e1e1e1);
  color: black;
  line-height: 34px;
  margin-left: 12px;
  margin-right: 60px;
  border-radius: 10px;
  font-size: 20px;
  border: 5px solid #ffffff;
  z-index: 1029;
}

#id-cart{
  position: fixed;
  bottom: 10px;
  right: 12px;
  z-index: 1030;
  color: white;
  border-radius: 10px;
  padding: 4px 15px;
  /* box-shadow: 1px 1px 10px #ccc; */
  cursor: pointer;
  border: solid 4px white;
  /* line-height: 25px; */
  /* overflow: hidden; */
}

/* #id-cart svg{
  transform: translate(0px, 0px);
  animation: cart 5s linear infinite;
}

@keyframes cart {
  0% {
    transform: translate(-45px, 0px);
  }
  20% {
    transform: translate(0px, 0px);
  }
  80% {
    transform: translate(0px, 0px);
  }
  100% {
    transform: translate(45px, 0px);
  }
} */

#id-label_table{
  position: fixed;
  bottom: 10px;
  left: calc(50% - 83px);
  font-size: 20px;
  font-weight: bold;
  z-index: 1030;
  text-align: center;
  color: white;
  border-radius: 10px;
  padding: 3px 15px;
  box-shadow: 1px 1px 10px #ccc;
  cursor: pointer;
  border: solid 4px white;
}

#id-bell{
  position: fixed;
  bottom: 10px;
  left: 16px;
  z-index: 1030;
  cursor: pointer;
  border: none;
  border: solid 7px #dc3545;
  border-radius: 50%;
  background: #dc3545;
  box-shadow: 1px 1px 10px #ccc;
}

#id-bell svg{
  stroke: white;
  fill: #dc3545;
  transform: translate(0%, 0%);
  animation: shake 0.4s linear infinite;
}

@keyframes shake {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  25% {
    transform: translate(0%, 0%) rotate(-10deg);
  }
  50% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  75% {
    transform: translate(0%, 0%) rotate(10deg);
  }
  100% {
    transform: translate(0%, 0%) rotate(0deg);
  }
}

.popover-header {
  background-color: #dc3545;
  color: white;
}

.popover {
box-shadow: 1px 1px 10px #ccc;
}

[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  width: 10px;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE2LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjEyMy4wNXB4IiBoZWlnaHQ9IjEyMy4wNXB4IiB2aWV3Qm94PSIwIDAgMTIzLjA1IDEyMy4wNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTIzLjA1IDEyMy4wNTsiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBhdGggZD0iTTEyMS4zMjUsMTAuOTI1bC04LjUtOC4zOTljLTIuMy0yLjMtNi4xLTIuMy04LjUsMGwtNDIuNCw0Mi4zOTlMMTguNzI2LDEuNzI2Yy0yLjMwMS0yLjMwMS02LjEwMS0yLjMwMS04LjUsMGwtOC41LDguNQ0KCQljLTIuMzAxLDIuMy0yLjMwMSw2LjEsMCw4LjVsNDMuMSw0My4xbC00Mi4zLDQyLjVjLTIuMywyLjMtMi4zLDYuMSwwLDguNWw4LjUsOC41YzIuMywyLjMsNi4xLDIuMyw4LjUsMGw0Mi4zOTktNDIuNGw0Mi40LDQyLjQNCgkJYzIuMywyLjMsNi4xLDIuMyw4LjUsMGw4LjUtOC41YzIuMy0yLjMsMi4zLTYuMSwwLTguNWwtNDIuNS00Mi40bDQyLjQtNDIuMzk5QzEyMy42MjUsMTcuMTI1LDEyMy42MjUsMTMuMzI1LDEyMS4zMjUsMTAuOTI1eiIvPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+DQo=);
  background-size: 10px 10px;
}

.accordion-body {
  background-color: #777;
  color: white;
}

.labelItem{
  text-align: center; 
  font-weight: bold; 
  color: white; 
  position: absolute; 
  top: 0; 
  right: 0; 
  width: 60px; 
  height: 60px; 
  border-radius: 0 2px; 
  background: linear-gradient(to top right, transparent 0%, transparent 50%, #5d5de9 50%, #5d5de9 100%);
}

.textLabel{
  transform: rotate(45deg); 
  width: 100%; 
  margin-left: 10px; 
  margin-top: 8px;
}

.harga_lama{
  text-decoration: line-through;
  font-size: 12px;
  margin-bottom: -8px;
  font-style: italic;
  color: red;
}

.toast {
  /* box-shadow: 0 0 1rem #ff9900; */
}

@media only screen and (max-width: 280px) {
  #id-logo_image{
    width: 100%;
    height: auto;
  }
  .navbar-brand{
    width: calc(100% - 56px);
  }
}