/* Start Box */
.box {
  width: 128px;
  height: 88px;
  margin: .2rem;
  box-shadow: 0 0 0 rgba(0, 0, 0, .3);
  transition: .16s;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media(max-width: 450px) {
  .box {
	margin: 0.15rem !important;
	flex: 0 0 calc(33.33333% - 0.45rem);
	max-width: calc(33.33333% - 0.45rem);
  }
}

/* End Box */
.css-form .ng-invalid.ng-touched {
  border-color: #FA787E !important;
}

/*
.css-form input.ng-valid.ng-touched {
background-color: #78FA89;
}*/

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .hide-on-mobile {
	display: none
  }
}

/* Start Product card */
.product-grid {
  display: flex;
  flex-flow: row wrap;
  padding: 0.15rem;
  justify-content: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.card.product-card {
  margin: 0.15rem !important;
  flex: 0 0 calc(50% - 0.3rem);
  max-width: calc(50% - 0.3rem);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

@media (min-width: 499.98px) {
  .card.product-card {
	flex: 0 0 189px;
	max-width: 189px;
	margin: 0.2rem !important;
  }
}

.card.product-card .card-title,
.card.product-card .card-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.card.product-card .card-title {
  margin-bottom: 0.5rem
}

.card.product-card .card-text {
  margin-bottom: 0
}



.itemtile-ribbon {
  background-color: var(--bs-primary);
  color: #fff;
  font-weight: 700;
  display: inline-block;
  padding: 2px 6px;
  position: absolute;
  right: -6px;
  top: 105px;
  text-align: right;
  max-width: 100px;
  font-size: 12px;
  cursor: pointer;
}

.itemtile-price {
  display: block;
  max-width: 9em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.itemtile-ribbon:after,
.itemtile-ribbon:before {
  right: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.itemtile-ribbon:after {
  border-color: transparent;
  border-right-color: #064198;
  border-width: 4px;
  bottom: -4px;
  right: 2px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.itemtile-price {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
}

.itemtile-price {
  font-weight: 700;
}

/* End Product card */

/* Start Ripple */

.fs-ripple, [ripple] {
  position: relative;
}

.fs-ripple-element {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
  transform: perspective(0);
  transition: opacity 0.45s;
}

.fs-ripple-effect {
  position: absolute;
  transform: scale(0);
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
  transition: opacity, transform 0s cubic-bezier(0, 0.66, 0.99, 0.66);
  background-color: currentColor;
}

[rip-center] .fs-ripple-effect, .fs-btn-icon .fs-ripple-effect, .fs-btn-circle .fs-ripple-effect {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transition: opacity, transform 0s cubic-bezier(0.33, 0, 0.25, 1);
}

/* End Ripple */


/* Start upload box */
.uploadbox {
  border: 2px dashed #E9E9E9;
  border-radius: 3px;
  background-color: #FCFCFC;
  height: auto;
  padding: 10px 10px 0;
}

.imagebox-new-thumbnail {
  width: 84px;
  height: 63px;
  border: 1px solid #E9E9E9;
  background-color: #fff;
  text-align: center;
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

.imagebox-new-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imagebox-new-thumbnail .btn-close {
  position: absolute;
  top: 2px;
  left: 2px;
  background: white;
  border-radius: 50%;
  font-size: 11px;
  line-height: 11px;
  padding: 2px;
  opacity: 1;
  border: 1px solid #c1bdbd;
}


.imagebox-new-thumbnail .btn-close:hover {
  color: white;
  background-color: #f96161;
}

.imagebox-new-thumbnail .btn-close:active {
  background-color: #f31212;
}

.imagebox-new-thumbnail .btn-close:focus {
  box-shadow: 0 0 0 0.25rem rgb(255 0 0 / 25%);
}

.icon-add-image {
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M49 40.4V26.4C49 23.9 49 23.4 48.9 23.1 48.6 22.2 47.8 21.4 46.9 21.1 46.6 21 46.1 21 43.6 21L43.6 21C43.4 21 43.1 21 42.8 21 42.2 20.9 41.6 20.6 41.1 20.2 40.8 20 40.6 19.8 40.5 19.7L40.5 19.7 37.8 17.1 37.8 17 37.7 17H26.3L26.2 17 26.2 17.1 23.5 19.7 23.5 19.7 23.5 19.7C23.4 19.8 23.2 20 22.9 20.2 22.4 20.6 21.8 20.9 21.2 21 20.9 21 20.6 21 20.4 21L20.4 21C17.9 21 17.4 21 17.1 21.1 16.2 21.4 15.4 22.2 15.1 23.1 15 23.4 15 23.9 15 26.4V40.4C15 42.1 15 43.2 15.1 44.1 15.1 44.9 15.3 45.2 15.3 45.4 15.6 45.9 16.1 46.4 16.6 46.7 16.8 46.7 17.1 46.9 17.9 46.9 18.8 47 19.9 47 21.6 47H42.4C43.3 47 44 47 44.6 47 44.2 47.9 44 48.9 44 50 43.5 50 43 50 42.4 50H21.6C18.2 50 16.6 50 15.3 49.3 14.1 48.8 13.2 47.9 12.7 46.7 12 45.4 12 43.8 12 40.4V26.4C12 24.2 12 23 12.3 22.1 12.9 20.3 14.3 18.9 16.1 18.3 17 18 18.2 18 20.4 18 20.6 18 20.7 18 20.7 18 20.9 18 21 17.9 21.2 17.8 21.2 17.8 21.3 17.7 21.4 17.6L21.4 17.6 24.1 14.9 24.1 14.9C24.4 14.6 24.6 14.4 24.8 14.3 25 14.2 25.2 14.1 25.4 14.1 25.6 14 25.8 14 26.3 14H37.7C38.2 14 38.4 14 38.6 14.1 38.8 14.1 39 14.2 39.2 14.3 39.4 14.4 39.6 14.6 39.9 14.9L42.6 17.6C42.7 17.7 42.8 17.8 42.8 17.8 43 17.9 43.1 18 43.3 18 43.3 18 43.4 18 43.6 18 45.8 18 47 18 47.9 18.3 49.7 18.9 51.1 20.3 51.7 22.1 52 23 52 24.2 52 26.4V40.4C52 41 52 41.5 52 42 50.9 42 49.9 42.2 49 42.6 49 42 49 41.3 49 40.4ZM40 33C40 37.4 36.4 41 32 41 27.6 41 24 37.4 24 33 24 28.6 27.6 25 32 25 36.4 25 40 28.6 40 33ZM43 33C43 39.1 38.1 44 32 44 25.9 44 21 39.1 21 33 21 26.9 25.9 22 32 22 38.1 22 43 26.9 43 33Z' fill='%23A6A6A6'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M52 42C47.6 42 44 45.6 44 50 44 54.4 47.6 58 52 58 56.4 58 60 54.4 60 50 60 45.6 56.4 42 52 42ZM52 45.3C52.4 45.3 52.8 45.6 52.8 46V49.3H56C56.4 49.3 56.8 49.6 56.8 50 56.8 50.4 56.4 50.8 56 50.8H52.8V54C52.8 54.4 52.4 54.8 52 54.8 51.6 54.8 51.3 54.4 51.3 54V50.8H48C47.6 50.8 47.3 50.4 47.3 50 47.3 49.6 47.6 49.3 48 49.3H51.3V46C51.3 45.6 51.6 45.3 52 45.3Z' fill='%233f51b5'/%3E%3C/svg%3E");
}

/* End upload box*/
