.template{
    font-size: 10pt;
}

.nama-product{
    color: #696969;
    font-weight: bold;
}

.harga-product{
    color: #D2691E;
    font-weight: bold;
    font-size: 14pt;
}

.penyedia{
    color: #9932CC;
    font-weight: bold;
}

.catalog-custom-wrapper-image {
    position: relative;
    overflow: hidden;
    background-color: #CCFFFF;
    justify-content: center;
    align-items: center;
    display: flex;
}

.catalog-custom-wrapper-image:after {
    content: '';
    display: block;
    padding-top: 100%;
    text-align: center;
}

.catalog-custom-wrapper-image img {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* The grid: Four equal columns that floats next to each other */
.custom-column {
    float: left;
    width: 25%;
    padding: 10px;
}

/* Style the images inside the grid */
.custom-column img {
    opacity: 0.8;
    cursor: pointer;
}

.custom-column img:hover {
    opacity: 1;
}

/* Clear floats after the columns */
.custom-row:after {
    content: "";
    display: table;
    clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.custom-container {
    position: relative;
    display: none;
}

/* Expanding image text */
#imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 20px;
}

/* Closable button inside the image */
.closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
} 

.img-zoom-lens {
    position: absolute;
    /*border: 1px solid #d4d4d4;*/
    /*set the size of the lens:*/
    width: 60px;
    height: 60px;
}

.img-zoom-result {
    border: 1px solid #d4d4d4;
    /*set the size of the result div:*/
    width: 300px;
    height: 300px;
    position: absolute;
    z-index: 1000;
    -moz-box-shadow: 0 0 10px 2px #ccc;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 0 0 10px 2px #ccc;  /* Firefox 3.5 - 3.6 */
    box-shadow     : 0 0 10px 2px #ccc;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.rating-text {
    font-size: 2.5em;
}

.rating-star-utama {
    position: relative;
    display:inline-block;
    line-height: 1.2em;
    font-size: 1.2em;
}

.rating-star {
    line-height: .8em;
    font-size: .8em;
}

.rating-color{
    color: orange;
}

.rate {
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.custom-progress{
    height: 1em;
}

/**
 * Hide arrow input text
 */
.qty {
    -moz-appearance:textfield;
    border-top: none;
    border-bottom: none;
    text-align: center;
    width: 15%;
}

.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.number-input {
  border: 2px solid #ddd;
  display: inline-flex;
}

.number-input,
.number-input * {
  box-sizing: border-box;
}

.number-input button {
  outline:none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.number-input button:before,
.number-input button:after {
  display: inline-block;
  position: absolute;
  content: '';
  width: 1rem;
  height: 2px;
  background-color: #212121;
  transform: translate(-50%, -50%);
}
.number-input button.plus:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
  font-family: sans-serif;
  max-width: 5rem;
  padding: .5rem;
  border: solid #ddd;
  border-width: 0 2px;
  font-size: 2rem;
  height: 3rem;
  font-weight: bold;
  text-align: center;
}

@media only screen and (max-width: 575.98px) {
    .img-zoom-result {
        visibility: hidden;
    }

    .rating-star {
        line-height: .7em;
        font-size: .7em;
    }

    .custom-progress{
        height: .8em;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    .img-zoom-result {
        visibility: hidden;
    }

    .rating-star {
        line-height: .7em;
        font-size: .7em;
    }

    .custom-progress{
        height: .8em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    .img-zoom-result {
        visibility: visible;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .img-zoom-result {
        visibility: visible;
    }
}

@media only screen and (min-width: 1200px) {
    .img-zoom-result {
        visibility: visible;
    }
}

.ellipsis-line-1{
    margin: 1px;
    min-height: 1.5em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}