
/*
  Product Added popup
*/
.xcart-popup-product-added {
  background: #fff;
  padding: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 210px;
  margin-left: -105px;
  z-index: 5000;
  border: #ccc 4px solid;
  font-size: 0.8em;
  color: #333;
  opacity: 0.8;
  text-align: center;
}

/* TO DO */
.out-of-stock {
  display: none;
}
.out-of-stock.active {
  display: block;
}

/*
  X-Cart product browser widget
*/
.xcart-product-image,
  .xcart-product-details {
  float: left;
}
.xcart-product-box:after {
  display: block;
  content: '';
  clear: both;
  margin-bottom: 2em;
}
.xcart-product-image {
  margin-right: 1.5em;
  min-width: 33%;
}
.entry-content .xcart-product-browser a {
  text-decoration: none;
  border: 0;
}
.entry-content .xcart-product-browser a:hover {
  text-decoration: underline;
}

.xcart-product-details .property-value {
  font-weight: bold;
}
.xcart-product-details .price-value {
  color: #ff6c00;
}
.xcart-product-details .buynow-block {
  margin-top: 1.5em;
}
.prorerty-line.price-line .property-value {
  font-size: 130%;
}

.xcart-product-browser .forward_backward {
  padding: 0 0 1.5em;
}
.xcart-product-browser .forward_backward a {
  border: 0;
  cursor: pointer;
}
.xcart-product-browser .forward_backward a.prev-product {
  background: url(../images/btn-prev.gif) no-repeat 0 60%; 
  padding-left: 8px;
}
.xcart-product-browser .forward_backward a.next-product {
  background: url(../images/btn-next.gif) no-repeat 100% 60%; 
  padding-right: 8px;
}

.xcart-product-browser .forward_backward a.disabled,
  .xcart-product-browser .forward_backward a.disabled:hover {
  opacity: 0.3;
  cursor: default;
  text-decoration: none;
  color: initial;
}

/*
  Popup Cart
*/
#nb-product-list {
  table-layout: auto;
}
#xcart-cart-product-list {
  margin-bottom: 0;
  border: 0;
  table-layout: auto;
}
#xcart-cart-product-list td {
  padding: 10px;
  border-color: #eaeaea;
  border-width: 0 1px 1px 0;
}
#xcart-cart-product-list tr:last-child td {
  border-bottom: 0;
}
#xcart-cart-product-list .product-img-column {
  width: 65px;
}
#xcart-cart-product-list .product-del-column {
  width: 10px;
  vertical-align: middle;
  padding: 5px;
  background-color: #f9f9f9;
  border-right: 0;
}
#xcart-cart-product-list .product-img {
  max-width: 65px;
  max-height: 65px;
}
#xcart-cart-product-list .product-info-column {
  font-size: 75%;
  vertical-align: top;
}
#xcart-cart-product-list input.qty-input {
  width: 30px;
  text-align: center;
  vertical-align: top;
  padding: 0.2em;
  font-size: 85%;
}
.product-del-column a {
  background: url(../images/btn-delete.png);
  width: 12px;
  height: 12px;
  text-indent: -9999px;
  display: block;
  opacity: 0.8;
}
.product-del-column a:hover {
  opacity: 1;
}
.btn-clear-cart,
  .btn-continue,
  .btn-update {
  border: #ccc 1px solid;
  font-size: 14px;
  padding: 4px 10px;
  display: inline-block;
  line-height: normal;
  cursor: pointer;
  vertical-align: top;
}
.btn-clear-cart:hover,
  .btn-continue:hover {
  border-color: #999;  
}
#xcart-cart input.btn-checkout {
  font-size: 14px;
  padding: 5px 20px 5px 10px;
  float: right;
  margin-bottom: -1px;
  background-image: url(../images/arrow-right.gif);
  background-position: 92% 50%;
  background-repeat: no-repeat;
}

#xcart-cart {
  height: auto;
  overflow: auto;
  width: 400px;
  padding: 10px;
  position: fixed;
  top: 100px;
  left: 50%;
  margin-left: -200px;
  background-color: #fff;
  border: #ccc 4px solid;
  display: none;
  z-index: 1000;
}

#xcart-cart .btn-close-popup {
  text-align: right;
  margin-bottom: 2px;
  font-size: 0;
}

#xcart-cart .btn-close-popup a {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url(../images/btn-close.png) no-repeat 0 0;
  opacity: 0.7;
}

#xcart-cart .btn-close-popup a:hover {
  opacity: 1;
}

.xcart-cart-product-list-box {
  max-height: 300px;
  overflow-x: hidden;
  margin-bottom: 20px;
  border: #ccc 1px solid;
}



/* 
  X-Cart Minicart 
*/
#xcart-mini-cart {
  position: fixed;
  right: 5px;
  bottom: 5px;
  z-index: 100;
}
.xcart-popup-wrapper {
  position: relative;
}

.xcart-minicart-button {
    display: none;
    height: 100px;
    background-image: url(../images/shopping-bag.png);
    background-repeat: no-repeat;
    background-position: 50% 15px;
    background-color:rgba(255,255,255,0.65);
    border-radius: 10px;
    border: #ddd 1px solid;
    display: block;
    padding: 10px;
    cursor: pointer;
    font-family: arial;
}
.xcart-minicart-button:hover {
  border-color: #bbb;
  background-color:rgba(255,255,255,0.9)
}

.minicart-items-number,
  .minicart-items-text {
  text-align: center;
  margin: 0;
  min-width: 80px;
  line-height: normal;
}
.minicart-items-number {
  font-size: 18px;
  color: #fff;
  padding-top:23px;
  padding-right: 8px;
  padding-bottom: 5px;
}
.minicart-items-text {
  font-size: 0.7em;
}
.minicart-view-link {
  padding-top: 8px;
  font-size: 15px;
  text-align: center;
}

/* 
  X-Cart categories menu widget 
*/
.xcart-category-menu a {
  cursor: pointer;
}
.xcart-category-menu .xcart_category {
  position: relative;
}
.xcart-category-menu .xcart_category > ul {
  display: none;
  position: absolute;
  left: 70%;
  top: 0;
  border: #ccc 1px solid;
  background: #fff;
  width: 90%;
  padding: 10px;
  z-index: 1000;
}

/*
  Category menu in main content
*/
#content .xcart-category-menu ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ccc;
}
#content .xcart-category-menu > ul > li.active {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
  border-radius: 5px 5px 0 0;
}
#content .xcart-category-menu .xcart_category {
  display: inline-block;
  padding: 0.3em 1em;
}
#content .xcart-category-menu a {
  text-decoration: none;
  border: 0;
}
#content .xcart-category-menu ul ul {
  display: none;
}


/* 
  X-Cart products grid 
*/
.xcart-categories-grid {
}
.xcart-categories-grid .item {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  font-size: 80%;
  padding-bottom: 2.5em;  
  box-sizing: border-box;
  padding-left: 1em;
}
.xcart-categories-grid .cat-image-box {
  cursor: pointer;
}
.xcart-categories-grid .cat-name-box a {
  cursor: pointer;
}
.entry-content .xcart-product-grid h3 {
  margin: 20px 0 10px;
  font-size: 2rem;
}
.xcart-product-grid .products {
  margin-left: -10px;
}
.xcart-product {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  font-size: 80%;
  padding-bottom: 2.5em;
}
.xcart-product .item-box {
  padding-left: 10px;
}
.xcart-product .product-name-box {
  padding-bottom: 8px;
}
.xcart-product a.product-name { text-decoration: none; border: 0; }
.xcart-product a.product-name:hover { text-decoration: none; }
.xcart-product .product-image-box { padding-bottom: 0.5em; }
.xcart-product .product-image-box a { text-decoration: none; border: 0;}
.xcart-product .product-image-box img { display: inline; text-decoration: none;}
.xcart-product .product-price-box { padding-bottom: 0.5em; }
.xcart-product .add-product-to-cart { padding: 0.5em 0.8em; }

.xcart-product .price-value { font-weight: bold; color: #ff6c00; }

/*
  Products sort bar
*/
.xcart-sort-bar {
  margin: 15px 0;
  text-align: right;
  font-size: 85%;
}
.xcart-sort-bar a {
  margin-left: 1em; 
}
.xcart-sort-bar a.arrow-up {
  padding-left: 8px;
  background: url(../images/sort-arrow-up.gif) no-repeat 0 50%;
}
.xcart-sort-bar a.arrow-down {
  padding-left: 8px;
  background: url(../images/sort-arrow-down.gif) no-repeat 0 50%;
}

/*
  Products navigation
*/
.xcart-pagination {
  padding: 15px 0;
  font-size: 12px;
  font-family: arial;
}
.xcart-product-grid .xcart-pagination a {
  border-radius: 15px;
  text-decoration: none;
  border: #ccc 1px solid;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  background-color: #fff;
  font-size: 12px;
  -webkit-transition-duration: 0.4s;
  -webkit-transition-timing-function: ease;
}
.xcart-product-grid .xcart-pagination a:hover {
  color: #000;
  border: #555 1px solid;
  background-color: #fafafa;
}
.xcart-product-grid .xcart-pagination a.current,
  .xcart-product-grid .xcart-pagination a.current:hover {
  background-color: #555;
  border: #555 1px solid;
  color: #fff;
  cursor: default;
}
.xcart-product-grid .xcart-pagination a.btn-prev {
  background: url(../images/btn-prev.gif) no-repeat 50% 50%;
  text-indent: -9999px;
}
.xcart-product-grid .xcart-pagination a.btn-next {
  background: url(../images/btn-next.gif) no-repeat 50% 50%;
  text-indent: -9999px;
}

/*
  BreadCrumbs
*/
#xcart-breadcrumbs {
  font-size: 12px;
  margin-bottom: 10px;
}

/*
  Search widget
*/
#xcart-search-widget .xcart-searchwidget-button { display: none; }
.xcart-back-to-search a { 
  display: inline-block; 
  background: url(../images/btn-back.png) no-repeat 0 50%; 
  padding-left: 20px; 
  font-size: 12px;
}


@media screen and (max-width: 480px) {

  #xcart-cart {
    width: 320px;
    margin-left: -160px;
  }
  .btn-clear-cart, .btn-continue, .btn-update {
    padding-left: 4px;
    padding-right: 4px;
    font-size: 12px;
  }
  #xcart-cart input.btn-checkout {
    font-size: 12px;
  }

}
