/* 

	Theme Name: Kona
	Theme URI: http://www.spab-rice.com/themes
	Description: Kona - A modern & clean eCommerce Theme
	Version: 2.9.41
	Author: Spab Rice 
	Author URI: http://www.spab-rice.com 
	Tags: portfolio
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: kona
	
*/

/*---------------------------------------------- 

	WORDPRESS DEFAULTS

------------------------------------------------*/

/*aligns*/
.aligncenter {
	display: block;
	margin: 0 auto;
}

.alignright {
	float: right;
	margin: 0 0 10px 20px;
}

.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}

/*floats*/
.floatleft {
	float: left;
}

.floatright {
	float: right;
}

/*text style*/
.textcenter {
	text-align: center;
}

.textright {
	text-align: right;
}

.textleft {
	text-align: left;
}

/*captions*/
.wp-caption {
	max-width: 100% !important;
}

.wp-caption {
	margin-top: 20px;
	font-style: italic;
}

div .wp-caption:first-child {
	margin-top: 20px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
	max-width: 100%;
}

.wp-caption p.wp-caption-text,
.wp-caption-text {
	font-size: 13px;
	line-height: 19px;
	margin: 2px 0 0 0;
}

/*smiley reset*/
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
}

/*blockquote*/
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
}

blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
}

/*img attachment*/
#img-attch-page {
	text-align: center;
	overflow: hidden;
}

#img-attch-page img {
	display: inline-block;
	margin: 0 auto;
	max-width: 100%;
	border: 5px solid #d4d4d4;
	/*for IE*/
	width: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border-color: rgba(0, 0, 0, 0.08);
	-webkit-transition: border 0.3s ease;
	-o-transition: border 0.3s ease;
	-moz-transition: border 0.3s ease;
}

#img-attch-page a:hover img {
	border-color: #fc7251;
}

#img-attach-page-content {
	text-align: center;
	margin-top: 25px;
}

/*gallery*/
.gallery {
	width: 100%;
	padding-top: 20px !important;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.gallery-item .gallery-icon {
	text-align: center;
	display: block;
	width: calc(100% - 10px);
	padding: 5px !important;
}

.gallery-item .gallery-caption {
	margin-bottom: 20px !important;
}

.gallery-item img {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	max-width: 100% !important;
}

.gallery-item a {
	display: inline-block;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gallery-item a:hover img {
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

/* Miglioramenti UI Mini-cart */
#mini-cart {
	width: 400px;
	min-width: 400px;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

#mini-cart .shop_table tr {
	display: flex;
	flex-wrap: wrap;
	padding: 15px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	position: relative;
}

#mini-cart .shop_table td.product-name {
	width: 100%;
	display: flex;
	align-items: center;
	padding-bottom: 10px;
}

#mini-cart .shop_table td.product-name .product-image {
	width: 80px;
	margin-right: 15px;
}

#mini-cart .shop_table td.product-quantity {
	width: 45%;
	display: flex;
	align-items: center;
}

#mini-cart .shop_table td.product-subtotal {
	width: 55%;
	text-align: right;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

#mini-cart .quantity input[type="number"] {
	padding: 0 25px;
	width: 70px;
	height: 35px;
	background: #f7f7f7;
	border-radius: 5px;
}

#mini-cart .quantity span {
	width: 25px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
}

#mini-cart .quantity span svg {
	width: 12px;
	height: 12px;
}

#mini-cart .quantity span.plus svg {
	transform: rotate(45deg);
}

#mini-cart .cart_item .remove {
	position: absolute;
	right: 0;
	top: 15px;
	background: rgba(0, 0, 0, 0.05);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000 !important;
	font-size: 18px;
	text-decoration: none;
	transition: all 0.2s ease;
}

#mini-cart .cart_item .remove:hover {
	background: rgba(0, 0, 0, 0.1);
}

#mini-cart .cart_item .remove[aria-label="Remove this item"] {
	font-size: 0;
}

#mini-cart .cart_item .remove[aria-label="Remove this item"]:before {
	content: "×";
	font-size: 16px;
}

#mini-cart .product-subtotal .remove {
	margin-left: 10px;
	color: #888;
	font-size: 12px;
}

#mini-cart .cart-bottom {
	padding: 20px 30px;
}

#mini-cart .cart-bottom .total {
	width: auto;
}

#mini-cart .cart-bottom .buttons {
	position: static;
	margin-top: 15px;
	display: flex;
	justify-content: space-between;
}

#mini-cart .cart-bottom .buttons a {
	width: 100%;
	text-align: center;
}

#mini-cart .cart-title {
	left: 30px;
}

#mini-cart .cart-close {
	right: 30px;
}

@media (max-width: 768px) {
	#mini-cart {
		width: 100%;
		min-width: 100%;
	}

	#mini-cart .menu-cart-content .cart-list {
		padding: 0 30px;
	}
}