@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

body {
position: relative;
overflow-x: hidden;
overflow-y: scroll;
margin-top: 120px;
}

header {
    min-height: 300px;
    background-image: url('../img/headcus1.jpg');
    max-height: 300px;
    background-size: cover;
    background-position: 160px -100px;
    color: white;
}

img.logo {
    height: 5vmax;
    width: 20vmax;
}

h3.judul-detail {
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 10px 0;
    font-size: 1.5vmax;
}

th.th-detail {
    border-radius: 15px 15px 0 0;
    background-color: lightgreen;
}

th.judul {
    border: 1px solid #cdcdcd;
    background-color: #eee;
}


div.carousel-inner {
    max-height: 400px;
}

div.carousel-inner img {
    max-height: 400px;
    border-radius: 50px;
}

div.carousel-inner img.img-detail {
    border-radius: unset;
}

section h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2vmax;
}

p {
    font-size: 1.3vmax;
}

h2.text-muted {
    font-size: 1.5vmax;
}

p.alamat {
    font-size: 1.1vmax;
}

section#services {
    margin-bottom: 3.5vmax;
}

section#produk h4,section#services h4 {
    font-size: 2vmax;
    margin-bottom: 3vmax;
}

section#produk h5{
    font-size: 1.5vmax;
    margin:3vh 0;
    display: inline-block;
    width: 12vmax;
}

section#produk h5 div {
    text-align: center;
}

section#customer div.col-10 h2 {
    text-align: center;
    font-size: 2.4vmax;
    text-shadow: 1px 1px black;
}

table {
    margin-bottom: 2vmax;
}

div.container-fluid {
    padding: 0px 8%;
}

div.container-fluid.products_cat {
    padding: 0px 4%;
}

section#produk img {
    padding: 5px 10px;
    margin: 0 0 1vh;
    border: 0.3vmax solid green;
    border-radius: 25px;
    height: 8vmax;
    width: 9vmax;
}

div.judul-products_cat {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2vmax;
    color: green;
}

div.judul-products_cat h2 {
    margin-left: 130px;
    margin-top: 15px;
}

section div.judul{
    margin-top: 4vmax;
}

section#produk h2,section#services h2 {
    font-size: 2.5vmax;
}

div.kategori-produk {
    max-height: 50vmax;
    overflow: scroll;
}

div.kategori-produk a {
    color: black;
}

hr {
    margin: 1vmax 0;
    border-top: 2px solid #999;
}

div.keranjang {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
}

div.keranjang img {
    width: 5vmax;
}

div.keranjang span {
    padding: 0 0.5vmax;
    position: absolute;
    z-index: 9998;
    color: white;
    background-color: red;
    border-radius: 50%;
   right: 0.1vmax;
   font-size: 1.5vmax;
}

footer {
    position: relative;
    background-color: black;
    z-index: 9999;
    font-size: 1.2vmax;
    font-family: monospace;
}

figure.footer img {
    height: 2.5vmax;
    width: 2.5vmax;
    margin: 0.5vmax 1vmax;
}

figure.footer img.store-toko {
    height: 2.7vmax;
    width: 2.7vmax;
    margin: 0 0.5vmax 0 0.5vmax;
}

figure.footer img.store-shopee {
    height: 3vmax;
    width: 3vmax;
    margin: 0 0.5vmax 0 0.5vmax;
}

figure.footer img.store-bl {
    height: 2.4vmax;
    width: 2.4vmax;
    margin: 0 0.8vmax 0 0.7vmax;
}

div.hubungi {
    border-right: 2px solid rgba(123, 128, 128, 0.3);
    margin-bottom: 1vmax;
}

div.products-navbar {
    margin-top: -7vmax;
    min-height: 12vmax;
    background-color: green;
    overflow: auto;
    white-space: nowrap;
}

nav.products a {
    margin: 0 3vmax;
    color: white;
    text-decoration: none;
    font-size: 1.2vmax;
}

div.jenis {
    flex-direction: column;
}

div.kotak-item {
    border: 1px solid gray;
    border-radius: 25px;
    flex-direction: column;
    padding: 10px;
    margin-right: 1vmax;
}

div.kotak-item img {
    height: 18vh;
    width: 18vw;
    border: 1px solid gray;
}

div.kotak-produk img {
    height: 16vmax;
    width: 20vmax;
    margin-left: 1vmax;
    border: 1px solid gray;
    border-radius: 25px;
}

img.img-detail {
    height: 21vmax;
    width: 25vmax;
}

div.kotak-produk.products_cat img {
    height: 13vmax;
    width: 18vmax;
    border: 1px solid gray;
    margin-left: 0.7vmax;
}

div.kotak-produk {
    border: 1px solid gray;
    border-radius: 25px;
    flex-direction: column;
    padding: 20px;
    margin: 1vmax 1vmax 1vmax 1.5vmax;
    width: 30vmax;
    display: inline-flex;
}

div.kotak-produk.products_cat {
    border: 1px solid gray;
    border-radius: 25px;
    flex-direction: column;
    padding: 10px;
    margin: 1vmax 1vmax 1vmax 1.5vmax;
    width: 80vmax;
    display: inline-flex;
}

div.container-kotak {
    flex-direction: row;
    overflow: auto;
    white-space: nowrap;
    padding-bottom: 1vmax;
}

ul.pagination {
    margin: 4vmax 0;
}

a.page-link,a.page-link:hover {
    color: green;
}

div.kotak-nama {
    font-weight: 600;
    font-size: 1.2vmax;
    overflow: auto;
}

div.kotak-unit {
    font-size: 1.2vmax;
}

div.kotak-harga {
    font-size: 1.2vmax;
}

img.loading {
    height: 7vmax;
    width: 7vmax;
    position: fixed;
    z-index: 9999;
    margin: 15% auto;
    left: 0;
    right: 0;
}


div.kotak-produk a {
    text-decoration: none;
    color: black;
}

img.layanan {
    height: 6vmax;
    width: 5vmax;
    margin-left: 5vmax;
    margin-bottom: 2vmax;
}

section#services div.judul_layanan h2 {
    font-size: 2vmax;
}

section#services div.judul_layanan p {
    font-size: 1.8vmax;
}

div.jual_produk {
    border-bottom: 1px solid gray;
}

div.perbaikan_produk {
    border-left: 1px solid gray;
    border-bottom: 1px solid gray;
}

div.layanan_247 {
    border-left: 1px solid gray;
}

img.img-cs {
    height: 17vmax;
    width: 53.5vmax;
}

th {
    padding: 5px 20vmax;
    text-align: center;
}

td {
    border: 1px solid #cdcdcd;
    text-align: center;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23dcdcdc' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
   }
   
   .carousel-control-next-icon {
     background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23dcdcdc' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
   }

div.livesearch {
    position: absolute;
    width: 35vmax;
    border: 1px solid gray;
    border-radius: 0.5vmax;
    background-color: white;
    padding-left: 1vmax;
    right: 0.7vmax;
    z-index: 999;
}

div.livesearch a.pencarian {
    text-decoration: none;
    color: black;
}

img.loading-live {
    height: 2vmax;
    width: 2vmax;
}

img.loading.products_cat {
    margin-left: 56vmax;
    height: 5vmax;
    width: 5vmax;
}

div.judul h3 {
    margin: 0;
    font-size: 2vmax;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

div.filter-navbar {
    display: flex;
    justify-content: flex-end;
}

/* Dropdown Button */
.dropbtn {
    background-color: white;
    color: green;
    padding: 0.7vmax 2vmax;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin-left: 1vmax;
    border-radius: 0.4vmax;
    border: 1px solid green;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus{
    background-color: lightgreen;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 30vmax;
    overflow: scroll;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #ddd;}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {display:block;}

  .filter-aktif {
    background-color: #ddd;
  }

  div.judul-kategori {
      font-size: 1.7vmax;
      font-family: Georgia, 'Times New Roman', Times, serif;
      color: green;
      margin-bottom: 5px;
      margin-left: -15px;
  }

  div.list-sub {
      border: 1px solid green;
      padding: 10px 15px;
  }

  div.list-sub a {
      font-size: 1vmax;
      display: inline-block;
      color: green;
      text-decoration: none;
  }

  div.isi_prod_cat {
      border-left: 2px solid green;
      margin-left: 15px;
      margin-bottom: 4vmax;
  }

  div.isi_prod_cat div.row {
      margin-left: 130px;
  }

  div.isi_prod_cat nav {
      height: 100px;
      width: 266px;
      margin-top: -30px;
  }

  div#products a, div#search a {
      text-decoration: none;
  }

  div#products div.kotak-produk:hover, div#search div.kotak-produk:hover {
      background-color: lightgreen;
    }

    th.th-detail {
        padding:0 10px;
    }

@media screen and (max-width: 768px) {
    
    body {
        margin-top: 80px;
    }

    h3.judul-detail {
        font-size: 3vmax;
    }

    div.kotak-produk {
        padding: 10px;
    }

    div.container-fluid.search {
        padding: 0px 4%;
    }

    img.logo {
        height: 6vmax;
    }

    section#services {
        margin: 3vmax 0;
    }

    div.isi_prod_cat nav {
        margin-top: unset;
        margin-left: 40px;
    }

    div.loading > img.loading.products_cat {
        margin: 25% auto;
    }

    div.kotak-produk.products_cat img {
        margin-left: unset;
    }

    div.judul-products_cat {
        font-size: 3vmax;
    }

    div.judul-products_cat h2 {
        margin-top: 15px;
        font-size: 3vmax;
        margin-left: unset;
    }

    div.kotak-produk.products_cat {
        width: 30vmax;
    }

    div.isi_prod_cat {
        border-left: unset;
        border-top: 1px solid green;
        margin-top: 2vmax;
        margin-left: unset;
        margin-bottom: 1vmax;
    }

    div.isi_prod_cat div.row {
        margin-left: -15px;
    }

    div.judul h3 {
        font-size: 2.5vmax;
    }

    div.judul-kategori {
        font-size: 3vmax;
    }

    div.list-sub a {
        font-size: 1.8vmax;
    }

    div.list-sub {
        margin-left: unset;
    }

    div.kotak-produk img {
        margin-left: 0.1vmax;
    }

    div.filter-navbar {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: unset;
    }

    section#produk h5{
        font-size: 1.5vmax;
        margin:0 0 3vh;
    }  

    div#products {
        margin-left: 5px;
    }

    div.loading > img.loading {
        height: 9vmax;
        width: 9vmax;
        margin: 60% auto;
    }

    div.livesearch {
        width: 50vmax;
        right: unset;
    }

    nav.products a {
        font-size: 2vmax;
    }

    div.kotak-nama,div.kotak-unit,div.kotak-harga {
        font-size: 2vmax;
        overflow: auto;
    }

    footer {
        font-size: 1.5vmax;
    }

    h2.text-muted {
        font-size: 1.8vmax;
    }

    a.page-link {
        font-size: 2vmax;
        color: green !important
    }

    div.jual_produk {
        border-bottom: none;
    }
    
    div.perbaikan_produk {
        border-left: none;
        border-bottom: none;
    }
    
    div.layanan_247,div.kepuasan {
        border-left: none;
        margin-top: -2vmax;
    }

    header {
        min-height: 150px;
        background-image: url('../img/headcus1.jpg');
        max-height: 300px;
        background-size: cover;
        color: white;
        background-position: 0 0;
    }

    p {
        font-size: 1.5vmax;
    }

    div.hubungi {
        border-bottom: 2px solid rgba(123, 128, 128, 0.3);
        border-right: 0;
        margin-bottom: 3px;
    }

    p.alamat {
        font-size: 1.5vmax;
    }

    div.container.login p,div.container.login a,div.container.login label,div.container.login input::placeholder {
        font-size: 2vmax;
    }

    div.container.login h1 {
        font-size: 4vmax;
    }

    img.img-cs {
        height: 17vmax;
        width: 44vmax;
    }
  }
