/**
 * @package	jCart Ajax
 * @author	Konstantin Kolos
 * @copyright	Copyright (C) 2019-2020 Jnotes.net.ua. All rights reserved
 * @contact	http://jnotes.net.ua, admin@jnotes.net.ua
 * @license	http://gnu.org/licenses/gpl-3.0.html, GNU/GPLv3
**/

/* TEXT or IMAGE or IMAGE SELECT */

.jc-name-product {color:#000000;}
.jc-name-product:link{color:#000000;}

.jc-img-cart {
	display: inline-block;
	text-align: right;
	float:right;
	background: url(/media/mod_jcart_ajax/images/cart.png) no-repeat scroll 0 0;
	width: 65px;
	height: 65px;
	color:#ffffff;
	background-color:rgba(255, 255, 255, 0.5);
	border-radius:50px;
}
.jc-img-cart-select,
.jc-img-wish-select {display: inline-block; text-align: right}

.jc-img-cart .jc-qt-product {
	position: relative;
	top: 4px;
	left: 2px;
}
.jc-img-cart .jc-qt-product,
.jc-img-cart-select .jc-qt-product {
	display: inline-block;
	text-align: center;
	font-size: small;
	color: #fff;
	background-color: #c74044;
	width: 25px;
	height: 25px;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-o-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
}
.jc-img-wish {
	display: inline-block;
	background: url(/media/mod_jcart_ajax/images/wishlist.png) no-repeat scroll 0 0;
	width: 64px;
	height: 64px;
}
.jc-img-wish span,
.jc-img-wish-select span {
	display: inline-block;
	width: 0;
	height: 0;
	overflow: hidden;
}
.jc-img-cart:hover {background: url(/media/mod_jcart_ajax/images/cart_hover.png) no-repeat scroll 0 0}
.jc-img-wish:hover {background: url(/media/mod_jcart_ajax/images/wishlist_hover.png) no-repeat scroll 0 0}

.jc-content {
	opacity: 0;
	visibility: hidden;
	z-index: 99;
	position: absolute;
	margin: 10px 0 0 0;
	width: 400px;
	max-width: 500px;
	color:#000000;
	background-color: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 0 0 20px 0 #ccc;
	-webkit-box-shadow: 0 0 20px 0 #ccc;
	-o-box-shadow: 0 0 20px 0 #ccc;
	-ms-box-shadow: 0 0 20px 0 #ccc;
	box-shadow: 0 0 20px 0 #ccc;
	-moz-transition: all 0.1s ease-out 0.1s;
	-webkit-transition: all 0.1s ease-out 0.1s;
	-o-transition: all 0.1s ease-out 0.1s;
	-ms-transition: all 0.1s ease-out 0.1s;
	transition: all 0.1s ease-out 0.1s;
}
.jc-cart-text,
.jc-img-cart,
.jc-img-cart-select {cursor: pointer}

.jc-cart-text:hover, .jc-cart-text:focus, .jc-cart-text:active,
.jc-qt-product:hover, .jc-qt-product:focus, .jc-qt-product:active {text-decoration: none}

.jc-cart-text:hover + .jc-qt-product + .jc-content,
.jc-img-cart:hover + .jc-content,
.jc-img-cart-select:hover + .jc-content,
.jc-qt-product:hover + .jc-content,
.jc-content:hover {opacity: 1; visibility: visible}

/* LIST */
.jc-shop {line-height: 24px}
.jc-list-empty,
.jc-list-product {padding: 20px}
.jc-list-empty h1,
.jc-list-empty h2,
.jc-list-empty h3,
.jc-list-empty h4,
.jc-list-empty h5 {text-transform: uppercase}
.jc-rows {padding: 0 5px 0 0; max-height: 400px; overflow-y: auto}
.jc-row {padding: 0 0 5px 0; border-bottom: 1px dashed #ccc}
.jc-row:last-child {border: 0}
.jc-row + .jc-row {margin-top: 15px}
.jc-img-product {
	display: block;
	float: left;
	margin: 5px 15px 0 0;
	width: 100px;
	height: 100px;
}
.jc-img-product img {max-width: 300px; max-height: 60px}
.jc-attr {margin: 5px 0 0 0;font-size:12px;}
.jc-control {clear: both; padding: 10px 10 10px 10px}
.jc-remove {
	display: inline-block;
	margin: 0 10px 0 0;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	background-color: #c4beb7;
	width: 20px;
	height: 20px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
}
.jc-remove:hover,
.jc-remove:focus,
.jc-remove:active {
	text-decoration: none;
	color: #fff;
	background-color: #1e3d4d;
}
.jc-inputbox {
	margin: 0 3px !important;
	text-align: center;
	width: 50px;
	display: inline-block;
}
.jc-price {
	float: right;
	padding: 5px 5px 0 0;
	font-size: 20px;
	font-weight: bolder;
	color:#950000;
}
.jc-price span {
	margin: 0 10px 0 0;
	color: #2d5a71;
}
.jc-hr {
	margin: 0;
	border: 0;
	height: 2px;
	background-color: #ccc;
	background-image: -moz-linear-gradient(left, #fff, #ccc, #fff);
	background-image: -webkit-linear-gradient(left, #fff, #ccc, #fff);
	background-image: -o-linear-gradient(left, #fff, #ccc, #fff);
	background-image: -ms-linear-gradient(left, #fff, #ccc, #fff);
}
.jc-total {
	position: relative;
	padding: 20px 0 5px 0;
	text-align: center;
	text-transform: uppercase;
}
.jc-total-qt {color: #c74044}
.jc-btn-center {margin: 15px 0 0 0; text-align: center}

/* ADD TO CART */
.jc-in-cart-list {
	display: inline-block;
	position: relative;
	padding: 10px 0 0 0;
	white-space: nowrap;
}
.jc-list-added,
.jc-in-cart-added {
	position: absolute;
	top: 5px;
	left: -7px;
	padding: 5px;
	color: #fff;
	background-color: #8ac187;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
}
.jc-in-cart {margin: 0 0 0 5px}
.jc-in-cart-added {
	top: 0;
	left: 0;
	padding: 5px 10px;
}
.jc-loading {
	opacity: 1;
	position: absolute;
	top: 17px;
	left: 165px;
	background: url(/media/mod_jcart_ajax/images/loading.gif) no-repeat #fff;
	width: 31px;
	height: 31px;
}
.jc-hidden {display: none}

/* TOOLTIP */
[data-title] {position: relative}
[data-title]:after {
	content: attr(data-title);
	opacity: 0;
	visibility: hidden;
	z-index: 999;
	position: absolute;
	bottom: 2.3em;
	left: 50%;
	padding: 2px 8px;
	font-size: small;
	font-weight: lighter;
	white-space: nowrap;
	color: #444;
	background-image: -moz-linear-gradient(top, #fff, #ddd);
	background-image: -webkit-linear-gradient(top, #fff, #ddd);
	background-image: -o-linear-gradient(top, #fff, #ddd);
	background-image: -ms-linear-gradient(top, #fff, #ddd);
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-o-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
	-moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	-o-box-shadow: 0 0 5px #ccc;
	-ms-box-shadow: 0 0 5px #ccc;
	box-shadow: 0 0 5px #ccc;
}
[data-title]:hover:after {
	opacity: 1;
	visibility: visible;
	-moz-transition: all 0.2s ease-out 0.5s;
	-webkit-transition: all 0.2s ease-out 0.5s;
	-o-transition: all 0.2s ease-out 0.5s;
	-ms-transition: all 0.2s ease-out 0.5s;
	transition: all 0.2s ease-out 0.5s;
}
.jc-img-wish:after,
.jc-img-wish-select:after {bottom: 5em}
