/**
 * Ecommerce Stylesheet
 * 
 * @package    Ecommerce
 * @category   CSS
 * @copyright  Copyright (c) Nuwave Software Ltd
 */

/*------------------------------------------------------------------------------
 * Ecommerce Styles
 *----------------------------------------------------------------------------*/

.ecomm * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.ecomm *:before,
.ecomm *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.ecomm .title {
	margin-top: 0;
}
.ecomm .list .list-body {
	min-width: 0;
}
.text-left { 
	text-align: left; 
}
.text-right { 
	text-align: right;
}
.text-center { 
	text-align: center; 
}
.ecomm .product-orig-price {
	text-decoration: line-through;
}
.ecomm.has-promo .product-price {
	color: #e20612;
}




/*------------------------------------------------------------------------------
 * Form Styles
 *----------------------------------------------------------------------------*/
.ecomm.form form {
	width: 100%;
}
.ecomm.product-fullview label {
	font-weight: bold;
	margin-bottom: 5px;
	width: 100%;
}
.ecomm.product-fullview input,
.ecomm.product-fullview select {
	border: 1px solid #DDD;
	padding: 6px;
	width: 100%;
}


/*------------------------------------------------------------------------------
 * Product List Styles
 *----------------------------------------------------------------------------*/

.ecomm.product-list .product-list-descr {
	margin-bottom: 20px;
}


/*------------------------------------------------------------------------------
 * Product Summary Styles
 *----------------------------------------------------------------------------*/

.ecomm.product-summary {
	position: relative;
	padding: 15px;
}
.ecomm.product-summary .product-header {
	margin-bottom: 10px;
}
.ecomm.product-summary .product-header .title {
	margin: 0;
}
.ecomm.product-summary .product-price {
	margin: 0 0 10px;
}
.ecomm.product-summary .product-body {
	margin-bottom: 20px;
}
.ecomm.product-summary .product-image {
	position: relative;
}
.ecomm.product-summary .product-image img {
	/*border: 1px solid #DDD;*/
	height: auto;
	max-height: 100%;
	max-width: 100%;
	width: auto;
}
.ecomm.product-summary .product-img-overlay {
	position: absolute;
	right: 0;
	top: 0;
}
.ecomm.product-summary .product-more > * {
	vertical-align: middle;
}
.ecomm.product-summary .product-purchase > * {
	margin-bottom: 10px;
}
.ecomm.product-summary .product-purchase > *:last-child {
	margin-bottom: 0;
}
.ecomm.product-summary .product-option-list > * {
	margin-bottom: 10px;
}
.ecomm.product-summary .product-option-list > *:last-child {
	margin-bottom: 0;
}
.ecomm.product-summary .product-stock .stock-label {
	font-weight: bold;
}
.ecomm.product-summary .product-submit {
	width: 100%;
}
.ecomm.product-summary .product-actions .btn {
	width: 100%;
}

.ecomm.product-summary.view-type-gallery {
	border: 1px solid #DDD;
	float: left;
	margin: 0 15px 15px 0;
	text-align: center;
	width: 200px;
}
.ecomm.product-summary.view-type-gallery:last-child {
	margin-bottom: 15px;
}
.ecomm.product-summary.view-type-gallery .product-wrapper {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
}
.ecomm.product-summary.view-type-gallery .product-image {
	height: 120px;
}
.ecomm.product-summary.view-type-gallery .product-descr {
	flex: 1;
}
.ecomm.product-summary.view-type-gallery .title a {
	font-size: 0.9em;
}
.ecomm.product-summary.view-type-gallery .product-price > * {
	font-size: 0.9em;
}
.ecomm.product-summary.view-type-list {
	border-top: 1px solid #DDD;
	margin: 0 !important;
}
.ecomm.product-summary.view-type-list:last-child {
	border-bottom: 1px solid #DDD;
}
.ecomm.product-summary.view-type-list .product-more {
	font-weight: bold;
	margin-right: 10px;
}


/*------------------------------------------------------------------------------
 * Product Full View Styles
 *----------------------------------------------------------------------------*/

.ecomm.product-fullview .product-header {
	margin-bottom: 20px;
}
.ecomm.product-fullview .product-summary-wrapper {
/*	background : #F5F5F5;
	border: 1px solid #DDD;
	padding: 10px;*/
}
.ecomm.product-fullview .product-image-caption {
	font-size: 0.9em;
	font-style: italic;
}
.ecomm.product-fullview .product-price {
	margin: 0 0 20px;
}
.ecomm.product-fullview .product-loading {
	padding: 0 15px;
}
.ecomm.product-fullview .product-descr {
	border: 1px solid #DDD;
	margin-bottom: 20px;
}
.ecomm.product-fullview .product-descr .product-descr-title {
	background : #F5F5F5;
	border-bottom: 1px solid #DDD;
	margin: 0 0 10px;
	padding: 10px;
}
.ecomm.product-fullview .product-descr .product-descr-body {
	padding: 10px;
}
.ecomm.product-fullview .product-image-pager {
	margin-top: 2px;
}
.ecomm.product-fullview .product-image-pager a {
	border: 1px solid #DDD;
	display: block;
	float: left;
	height: 60px;
	margin: 2px;
	text-align: center;
	width: 60px;
}
.ecomm.product-fullview .product-image-pager .product-thumb-helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.ecomm.product-fullview .product-image-pager img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	vertical-align: middle;
}
.ecomm.product-fullview .bx-slider {
	margin-bottom: 5px;
}
.ecomm.product-fullview .product-purchase {
	background : #F5F5F5;
	border: 1px solid #DDD;
	max-width: 800px;
	padding: 15px;
}
.ecomm.product-fullview .product-purchase > * {
	margin-bottom: 10px;
}
.ecomm.product-fullview .product-purchase > *:last-child {
	margin-bottom: 0;
}
.ecomm.product-fullview .product-option-list > * {
	margin-bottom: 10px;
}
.ecomm.product-fullview .product-option-list > *:last-child {
	margin-bottom: 0;
}
.ecomm.product-fullview .product-stock .stock-label {
	font-weight: bold;
}
.ecomm.product-fullview .product-submit,
.ecomm.product-fullview .product-enquire {
	width: 100%;
}
.ecomm.product-fullview .product-submit .btn,
.ecomm.product-fullview .product-enquire .btn {
	width: 100%;
}


/*------------------------------------------------------------------------------
 * Category List Styles
 *----------------------------------------------------------------------------*/

.ecomm.category-list {
	margin: 0 0 20px 0; 
	padding: 0; 
}
.ecomm.category-list.cat-view-gallery {
	width: 100%; 
}
.ecomm.category-list.cat-view-gallery .category-list-container {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
}
.ecomm.category-list.cat-view-gallery.is-relative {
	border-bottom: 1px solid #DDD;
}
.ecomm.category-list.cat-view-gallery .categories {
	height: auto; 
	margin: 0; 
	padding: 0; 
}
.ecomm.category-list.cat-view-gallery .category-item {
	border: 1px solid #DDD;
	float: left;
	margin: 0 8px 8px 0;
	padding: 8px;
	position: relative;
	width: 140px;
}
.ecomm.category-list.cat-view-gallery .category-item:hover { 
	background: whitesmoke 
}
.ecomm.category-list.cat-view-gallery .category-item .title { 
	margin: 0; 
}
.ecomm.category-list.cat-view-gallery .category-item h3 {
	display: block;
	font-size: 14px;
	line-height: 1em;
	margin: 5px 10px;
	text-align: center;
	text-decoration: none;
}
.ecomm.category-list.cat-view-gallery .category-item .category-image {
	display: block;
	height: 120px;
	margin: 0 auto;
	width: 120px;
}
.ecomm.category-list.cat-view-gallery .category-item .category-image img { 
	display: block;
	margin: 0 auto;
	max-height: 100%;
	max-width: 100%;
}
.ecomm.category-list.cat-view-gallery .category-item .category-descr { 
	display: none; 
}


/*------------------------------------------------------------------------------
 * Category Menu Styles
 *----------------------------------------------------------------------------*/

.category-nav {
	clear: both;
	margin: 0;
	max-width: 300px;
	padding: 0;
	width: 100%;
}
.category-nav ul,
.category-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.category-nav .title {
	margin-top: 0;
}

.category-nav .item {
	background: #FFF;
	border-top: 1px solid #DDD;
}
.category-nav .list-wrapper > .item:last-child {
	border-bottom: 1px solid #DDD;
}
.category-nav .list-wrapper > .item > a {
	background: #F7F7F7;
	border-left: 1px solid #DDD;
	border-right: 1px solid #DDD;
}
.category-nav .list-wrapper > .item > .item-action {
	background: #F7F7F7;
}
.category-nav .list-wrapper > .item > .item-action:hover {
	background: #EEE;
}
.category-nav .item > a {
	display: block;
	padding: 6px;
	text-decoration: none; 
}
.category-nav .item.current > a,
.category-nav .item > a:hover {
	background: #EEE;
	text-decoration: none;
}
.category-nav .item-parent {
	position: relative;
}
.category-nav .item-parent > a {
	padding-right: 27px;
}
.category-nav .sub-wrapper {
	background: #FFF;
	display: none;
}
.category-nav .sub-wrapper .item { 
	padding-left: 10px;
}
.category-nav .item-action {
	border-left: 1px solid #DDD;
	color: #DDD;
	cursor: pointer;
	position: absolute;
	right: 1px;
	top: 0;
	padding: 6px;
}
.category-nav .item-action:hover {
	background: #EEE;
}
.category-nav .item-parent > .item-action .item-expand {
	display: block;
}
.category-nav .item-parent > .item-action .item-collapse {
	display: none;
}
.category-nav .item-parent.is-expanded > .item-action .item-expand {
	display: none;
}
.category-nav .item-parent.is-expanded > .item-action .item-collapse {
	display: block;
}


/*------------------------------------------------------------------------------
 * Cart Styles
 *----------------------------------------------------------------------------*/

.ecomm-cart.empty-cart {
	padding: 100px 0;
	text-align: center;
}
.ecomm-cart .col-quantity {
	width: 50px;
}
.ecomm-cart .cart-tax-row td {
	border-top: 2px solid #DDD;
}
.ecomm-cart .cart-footer-title {
	text-align: right;
}
.ecomm-cart .cart-footer-value {
	text-align: right;
}


/*------------------------------------------------------------------------------
 * Checkout Styles
 *----------------------------------------------------------------------------*/

.ecomm.ecomm-order-submit .ctrl.name-gateway_name .ctrl-option-list {
	border-radius: 0; 
	border: none; 
}
.ecomm.ecomm-order-submit .ctrl.name-gateway_name .ctrl-option-list .ctrl-option-row {
	background: #F5F5F5;
	border: 1px solid #DDD;
    border-radius: 3px;
	margin-bottom: 10px;
}
.ecomm-order-stage {
	margin-bottom: 10px !important;
}
.ecomm-checkout-type > * {
	background: #F5F5F5;
	border: 1px solid #DDD;
	border-left: none;
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: center;
}
.ecomm-checkout-type > *:first-child {
	border-left: 1px solid #DDD;
}
.ecomm-checkout-type .ctrl.type-submit {
	float: none !important;
}


/*------------------------------------------------------------------------------
 * Other Styles
 *----------------------------------------------------------------------------*/

.ecomm-promo-summary .promo-group {
	margin-bottom: 20px;
}
.ecomm-promo-summary .promo-group-list {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
}
.ecomm.ecomm-prod-popup-content {
	/*max-width: 100%;*/
	/*width: 600px;*/
}
.ecomm.ecomm-prod-popup-content .product-content {
	margin-bottom: 20px;
}
.ecomm.ecomm-prod-popup-content .product-fullview {
	border: 1px solid #DDD;
	padding: 15px;
	background: #FFF;
	margin-bottom: 20px;
}
.ecomm.ecomm-prod-popup-content .product-fullview .product-gallery img {
	max-height: 200px;
	width: auto;
}

/*.ecomm.ecomm-prod-popup-content .ecomm.product-summary {
	border: none;
	float: none;
	margin: 0 0 20px 0;
	padding: 0;
	width: auto;
}*/