#main-menu>ul>li>a, .main-menu>ul>li>a { letter-spacing: 0; }
.topnav-top #logo a, #logo a { height: 30px; }
.menu-mobile #main-navigation .nav-right .mobile-menu-btn i { padding-top: 0 !important; }
@media (max-width: 768px) {
  #main-navigation:not(.nav-bottom) .main-nav-wrapper .container-fluid {
    padding-left: 16px; padding-right: 15px;
  }
}

/* Fix form-control selec box */
select.form-control {
  padding: 0 5px;
}
.input-group .input-group-addon {
  border-color: #EDEDED;
}
.input-group .form-control:focus {
  border-right-width: 2px;
}

/* Fix menu dan cart */
.nav-buttons { display: table-cell; list-style: none; padding-left: 0; vertical-align: middle; }
.nav-buttons li { display: inline-block; }
.nav-buttons button { margin-left: 10px; background: none; border: none; }
.nav-buttons i { font-size: 18px; padding: 0 !important; }
.nav-buttons .toggle-menu { top: 0 !important; width: auto; height: auto; }
.nav-buttons .mobile-menu-btn { display: none; }
.menu-mobile li.mobile-menu-btn { display: inline-block !important; }
.form-inline .form-control { display: inline-block; }

.header-scroll-dark.topnav-top #main-navigation span { color: #121212; }
.header-scroll-dark #main-navigation span { color: #ffffff; }
#aside-nav span { color: #121212; }

#cart-quickview table .product-thumbnail img { border-radius: 0; }

.cart-popup {
  display: none;
  position: absolute; background: #fff !important; color: #121212 !important;
  right: 30px; padding: 10px; border-radius: 3px;
  box-shadow: 0 2px 10px -1px rgba(0, 0, 0, .7);
  min-width: 280px; max-width: 90%;
}
@media (max-width: 420px) {
  .cart-popup { left: 30px; }
}
@media (max-width: 768px) {
  .cart-popup .btn { margin-bottom: 0; }
}
.cart-popup.visible { display: block; }
.cart:hover .cart-popup { display: block; }
.cart-popup a, .cart-popup i, .cart-popup p { color: #121212 !important; }
.cart-popup .cart-buttons { float: right; }
.cart-popup .cart-buttons a { padding: 5px; display: inline-block; }
.cart-popup .cart-product { margin-bottom: 10px; padding-bottom: 10px; padding-left: 10px; }
.cart-popup .cart-product:not(:first-child) { border-bottom: 1px solid #eee; }
.cart-popup .product-name { font-size: 15px; font-weight: bold; padding-right: 35px; }
.cart-popup .cart-total { margin-bottom: 15px; padding-left: 10px; }
.cart-popup .cart-total a { margin-botton: 0 !important; }
.cart-popup .cart-total-value { color: #121212 !important; font-weight: bold; }
.cart-popup .cart-empty { margin-top: 10px; margin-left: 10px; }
/* end fix menu */

/* Fix select 2 */
.select2-results__option { color: #373a3c; }

.nav-tabs .nav-item {
  display: inline-block; margin: 0;
}

#logo a img {
  height: 150% !important;
}

@media (min-width: 769px) {
  .topnav-top #topbar~#main-navigation, .topnav-top #topbar~#main-navigation .main-nav-wrapper {
    height: 80px;
  }

  #main-navigation .main-nav-wrapper {
    height: 80px; 
  }

  .topnav-top #header {
    height: 120px;
  }

  .header-transparent #header~#main-content, .header-transparent.header-no-sticky #header~#main-content {
    margin-top: -120px !important;
  }
}

@media (max-width: 768px) {
  .topnav-top #topbar~#main-navigation, .topnav-top #topbar~#main-navigation .main-nav-wrapper {
    height: 0px;
  }

  .nav-buttons {
    padding-top: 20px !important;
  }

  #main-navigation .main-nav-wrapper {
    height: 80px; 
  }

  .topnav-top #header {
    height: 120px;
  }

  #main-content {
    margin-top: -50px;
  }
}

.gift-order {
  padding-right: 0px !important;
  padding-bottom: 0px !important;
  font-size: 2em !important;
}

.content-title {
  margin-bottom: 10px;
}
.content-title .title {
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}

.card .title { font-size: 16px; color: #394694; margin: 0; padding: 16px 16px 0 16px; }
.card .content { padding: 16px; position: relative; }

@media (max-width: 768px) {
  #footer #footer-bottom .container-fluid { padding-left: 0; padding-right: 0; }
  #footer #footer-bottom .payment-logo { text-align: center !important; }
}

@media (max-width: 600px) {
  .nav-tabs.tab-buttons > li, .nav-tabs > li, .tab-left .tab-content, .tab-left > .nav-tabs {
    width: auto;
  }
  .nav-tabs>li { margin-bottom: 0 !important; }
  .nav>li>a { border: none; }
  .nav>li>a:focus, .nav>li>a:hover { border: none; }
}
.nav-pills .nav-item+.nav-item, .nav-tabs .nav-item+.nav-item {
  margin-left: 0;
}

table.table-cart-summary>tbody>tr:not(:first-child)>td { border-top: 1px solid #ccc; }
.table-cart-summary .text-left { text-align: left; }
.table-cart-summary .form-control { padding-left: 0; padding-right: 0; text-align: center; }
.table-cart-summary .text-right { text-align: right; }
.table-cart-summary .col-product div { white-space: nowrap; }
.table-cart-summary img { max-height: 150px; }
.table-cart-summary .product-name { font-weight: bold; }

@media (max-width: 991px) {
  .section { padding-left: 0; padding-right: 0; }

  .table-cart-summary thead { display: none; }
  .table-cart-summary, .table-cart-summary tbody, .table-cart-summary tfoot, .table-cart-summary tr, .table-cart-summary th, .table-cart-summary td { display: block; }
  .table-cart-summary tr td { position: relative; }
  .table-cart-summary tr { position: relative; clear: both; }
  .table-cart-summary .col-thumb { float: left; width: 100px; padding-left: 0; }
  .table-cart-summary .col-product { overflow: hidden; padding-left: 0; padding-right: 0; }
  .table-cart-summary .product-name { font-weight: bold; }
  .table-cart-summary .col-price { display: none; }
  .table-cart-summary tbody .col-total { font-weight: bold; text-align: left !important; margin-left: 80px; position: relative; border-top: none !important; }
  .table-cart-summary tbody .col-total:before { content: 'Total: '; font-weight: normal; }
  .table-cart-summary tfoot .col-total { padding-right: 0; }
  .table-cart-summary tfoot .total-label { padding-left: 0; }
  .table-cart-summary .qty { margin-left: 80px; width: initial !important; text-align: left; padding-top: 5px; padding-bottom: 5px; border-top: none !important; }
  .table-cart-summary .qty .form-control { width: 50px; display: inline-block; }
  .table-cart-summary .qty:before {content: 'Qty: '; margin-top: 5px; }
  .table-cart-summary .col-action { position: absolute; padding: 0; top: 10px; right: 0; border-top: none !important; background: #fff; }
  .table-cart-summary img { max-height: 200px; }
  .table-cart-summary tfoot { border-top: 1px solid #ccc; clear: both; }
  .table-cart-summary .blank { display: none; }
  .table-cart-summary tfoot th:nth-child(2) { float: left; }

  .table-order-summary thead { display: none; }
  .table-order-summary, .table-order-summary tbody, .table-order-summary tfoot, .table-order-summary tr, .table-order-summary th, .table-order-summary td { display: block; }
  .table-order-summary tr { position: relative; border-top: 1px solid #ccc; padding-top: 5px; padding-bottom: 5px; }
  .table-order-summary td { text-align: left; padding: 0 !important; }
  .table-order-summary .order_no { font-weight: bold; text-align: left; }
  .table-order-summary .order_no:before { content: 'Order No: '; font-weight: bold; }
  .table-order-summary .order_date:before { content: 'Order Date: '; font-weight: bold; }
  .table-order-summary .paid_date:before { content: 'Paid Date: '; font-weight: bold; }
  .table-order-summary .proceed_date:before { content: 'Proceed Date: '; font-weight: bold; }
  .table-order-summary .delivered_date:before { content: 'Delivered Date: '; font-weight: bold; }
  .table-order-summary .weight_offer:before { content: "Weight: "; font-weight: bold; }
  .table-order-summary .vendor_name_offer:before { content: "Vendor Name: "; font-weight: bold; }
  .table-order-summary .item_name_offer:before { content: "Item Name: "; font-weight: bold; }
  .table-order-summary .price_per_item_offer:before { content: "Price per Item: "; font-weight: bold; }
  .table-order-summary .qty_offer:before { content: "Qty: "; font-weight: bold; }
  .table-order-summary .status:before { content: "Status: "; font-weight: bold; }
  .table-order-summary .order_status { position: absolute; top: 0; right: 0; }
  .table-order-summary .action a { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; }
}

.categories li { margin-bottom: 3px; }
.categories a { display: block; padding: 7px 20px; border-radius: 25px; }
.categories a:hover, .categories .selected a { background: #eee; }
.categories .selected { font-weight: bold; }

.vendor-filter {
  text-transform: uppercase; font-size: .8rem; letter-spacing: 1px; font-weight: 700;
  line-height: 35px;
  font-family: Montserrat, 'Open Sans', arial;
}
@media (max-width: 600px) {
  #shop.shop-list { margin: 0; }
  .products-sidebar { padding-left: 30px; padding-right: 30px; }
  .sort-options .select-filters { margin: 0 15px; float: none; text-align: center; }
  .select-filters .btn-group, .select-filters .vendor-filter {
    float: none; display: inline-block; margin-bottom: 5px;
  }
  .vendor-filter-inner { min-height: 37px; margin-top: -1px; margin-bottom: -2px; }
  .product-empty { text-align: center; }
}

.product-list .product { background: transparent; width: 100%; }
.product-list .product td { padding: 2px; text-align: center; }
.product-list .product-info td { padding-top: 10px; padding-bottom: 10px; }
.product-list .product-info .product-name, .product-list .product-info .product-price { float: none; }
.product-list .product-img td { height: 200px; vertical-align: bottom; padding-top: 0; padding-bottom: 0; }
.product-list .product-img img { width: auto; height: auto; max-height: 200px; box-shadow: 1px 2px 8px rgba(0, 0, 0, .4); }
.product-list .product .product-btn { visibility: hidden; }
.product-list .product:hover .product-btn { visibility: visible; }
.product-empty { font-size: 16px; font-style: italic; }
