/**
 * Theme css
 *
 * @author    Qualiteam software Ltd <info@x-cart.com>
 * @copyright Copyright (c) 2011-2015 Qualiteam software Ltd <info@x-cart.com>. All rights reserved
 * @license   http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement
 * @link      http://www.x-cart.com/
 */

/*
    Image gallery popup
*/
.xcart-popup-image-gallery {
  background: #fff;
  padding: 10px;
  position: fixed;
  top: 10%;
  width: 50%;
  margin-left: 30%;
  z-index: 5000;
  border: #ccc 4px solid;
  font-size: 0.8em;
  color: #333;
  text-align: center;
}

.xcart-popup-image-gallery .image-list {
    border-top: 3px dotted #DA5C00;
}

.xcart-popup-image-gallery .image-list li {
    width: 80px;
    display: inline-block;
}

.xcart-popup-image-gallery .image-list li img {
    width: inherit;
}

.xcart-popup-image-gallery .image-list li.active {
    border: 1px solid black;
}

.xcart-popup-image-gallery div.main-image {
    padding: 5px;
    height: 350px;
    width: 100%;
}

.xcart-popup-image-gallery div.main-image img {
    margin-right: auto;
    margin-left: auto;
    display: block;
    height: 100%;
}

.xcart-popup-image-gallery .btn-close {
  float:right;
}

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

/*
  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;
  max-width: 250px;
}
.xcart-product-image ul.image-list {
    list-style: none;
    padding: 5px;
    background-color: #dddddd;
}
.xcart-product-image ul.image-list li {
    display: inline-block;
    border: 1px solid #888888;
}
.xcart-product-image ul.image-list li.active {
    border: 2px solid #333333;
}
.xcart-product-image ul.image-list li:hover{
    border: 1px solid #333333;
}
.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;
}
.property-line.price-line .property-value {
  font-size: 230%;
}
.property-line.price-line .benefit-text {
    font-size: 16px;
    color: #8f8f8f;
    vertical-align: middle;
}
.property-line .in-stock-label {
    color: #019026;
}
.property-line .product-items-available {
    color: #888;
}
.xcart-product-details ul.editable-attributes {
    width: 302px;
    padding: 13px 20px 1px;
    background-color: #f4f4f4;
    list-style: none;
}
.xcart-product-details ul.editable-attributes li {
    margin-bottom: 7px;
}
.xcart-product-details ul.editable-attributes li textarea.form-control {
    height: inherit;
}
.xcart-product-details ul.editable-attributes li span.title.checkbox {
    display: inline;
}
.xcart-product-details ul.editable-attributes li span.title {
    display: block;
    color: #56768e;
    font-size: 15px;
}

.xcart-product-details ul.editable-attributes .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.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 .product-info-column .selected-attributes {
  font-size: 75%;
}
#xcart-cart-product-list .product-info-column .selected-attributes span {
  color: #8f8f8f;
}
#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: 460px;
  padding: 10px;
  position: fixed;
  top: 100px;
  left: 50%;
  margin-left: -200px;
  background-color: #fff;
  border: #ccc 4px solid;
  display: none;
  z-index: 5001;
}

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

.xcart-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-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-mini-cart.static {
  position: static;
}
.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:hover > ul {
  display: block;
}
.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
*/
.xcart-category-menu.horizontal ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #ccc;
}
.xcart-category-menu.horizontal > 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;
}
.xcart-category-menu.horizontal .xcart_category {
  display: inline-block;
  padding: 0.3em 1em;
}
.xcart-category-menu.horizontal a {
  text-decoration: none;
  border: 0;
}
.xcart-category-menu.horizontal 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 a:hover { background-color: inherit;}
.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-modal {
  display: none;
  background: #fff;
  padding: 10px;
  position: fixed;
  top: 5%;
  width: 50%;
  height: 70%;
  overflow: auto;
  margin-left: 30%;
  z-index: 5000;
  border: #ccc 4px solid;
  color: #333;
}
.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;
  }

}

.xcart-sale-banner-block {
    display: inline-block;
    background-color: #83be43;
    border-radius: 5px;
    padding: 5px 12px 0 10px;
    text-align: center;
    box-sizing: content-box;
}
.xcart-sale-banner-block .text {
    text-transform: uppercase;
    font-size: 22px;
    color: #fff;
}
.xcart-sale-banner-block .percent {
    font-size: 14px;
    color: #fff;
    font-style: italic;
}
