/*
**shop
*/

body.woocommerce-page {
	.content-column, .sidebar-column {
		.theme_buttons a,
		.theme_button,
			//for shop
		.wc-proceed-to-checkout  .checkout-button,
		.buttons a,
		button,
		input[type="submit"]{
			font-weight: 500;
			padding: 10px 20px 8px;
			&.color1, &.alt {
				&:hover, &:focus, &:active {
					color: $darkgreyColor !important;
				}
			}
		}

		.theme_buttons a > [class*="rt-icon"],
		.theme_button > [class*="rt-icon"] {
			font-size: 1.1em;
			top: 2px;
			padding: 0 8px 0 0;
		}

		input[type="text"],
		input[type="email"],
		input[type="url"],
		input[type="password"],
		input[type="search"],
		input[type="tel"],
		input[type="number"],
		select {
			height: 40px;
		}
	}
}


input[disabled] {
	opacity: .4;
	cursor: not-allowed;
}

/* sort panel */

.storefront-sorting {

	display: flex;
	justify-content: space-between;

	line-height: 1;
	.form-group {margin-bottom: 15px;}
	label {
		padding-right: 10px;
	}

	select{
		border-color: $mainColor;
	}
}
.woocommerce-ordering {
	display: inline-block;
	vertical-align: middle;

	order: 3;
}

.woocommerce-result-count {

	color: $borderColor;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;

	line-height: 40px;
	margin-bottom: 0;

	order: 1;
	width: 100%;
}

#toggle_shop_view {
	margin-left: 14px;
	margin-right: 14px;
	white-space: nowrap;

	order: 2;

}
#toggle_shop_view:before,
#toggle_shop_view:after {
    font-family: 'FontAwesome';
    display: inline-block;
    background-color: $darkgreyColor;
    color: $lightColor;
    padding: 13px 12px 13px 13px;
    font-size: 14px;
    @include elementTransition();
}
#toggle_shop_view:before {
    content: "\f00a";
    margin-right: 5px;

}
#toggle_shop_view:after {
    content: "\f03a";
    background-color: $mainColor;
}

#toggle_shop_view.grid-view:before {
    background-color: $mainColor;

}
#toggle_shop_view.grid-view:after {
    background-color: $darkgreyColor;
}

#sort_view {
	color: $darkgreyColor;
	display: inline-block;
	padding: 12px 16px 13px;
	font-size: 14px;
	background-color: $lightColor;
}

.columns-1 .product {
    width: 100%;
    margin-right: 0;
    float: none
}

@media (min-width: 768px) {
	.columns-2 .product,
	.columns-3 .product,
	.columns-4 .product {
		width: 50%;
		float: left;
		&:nth-child(2n+1) {
			clear: both;
		}
	}
}

@media (min-width: 992px) {

	.columns-2 .product {
	    width: 50%;
	    float: left;
		&:nth-child(2n+1) {
			clear: both;
		}
	}

	.columns-3 .product {
	    width: 33.33333333%;
	    float: left;
		&:nth-child(3n+1) {
			clear: both;
		}
	}

	.columns-4 .product {
	    width: 25%;
	    float: left;
		&:nth-child(4n+1) {
			clear: both;
		}
	}
}

.product {
	.thumbnails a,
	.item-media {
		overflow: hidden;
		display: block;
		img{
			@include elementTransition();
			width: 100%;
		}
		&:hover img {
			opacity: 0.8;
			-webkit-transform: scale(1.1);
			-moz-transform: scale(1.1);
			-o-transform: scale(1.1);
			-ms-transform: scale(1.1);
			transform: scale(1.1);
			-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
			filter: alpha(opacity=100);
		}
	}
	figure {
		max-width: none;
	}
	.thumbnails-wrap {
		margin-top: 30px;
	}
}

//only for HTML
.products {
	&:before,
	&:after {
		content: '';
		clear: both;
		display: block;
	}
	margin-left: -15px;
	margin-right: -15px;
	.upsells &,
	.related & {
		margin-left: 0;
		margin-right: 0;
	}
}
//for products feed
li.product{
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 30px;

}

//product
.product {
	.owl-item & {
		padding: 0;
	}
	.row {
		position: relative;
	}
	[class*="col-"] {
		position: static;
		margin-top: 0;
		&.images a {
			display: block;
			position: relative;
		}
	}

	h3 {
		margin-bottom: 20px;
	}
	.rating-title {
		font-size: 1.2em;
	}

	[class*="col-"]:first-child {
		h2,
		h3 {
			text-align: center;
			font-size: 20px;
			font-weight: 700;
			margin: 24px 0;
			position: relative;
			letter-spacing: 0;
		}
	}

	.product-media {
		position: relative;
	}
	.images {
		position: relative;
	}
	[class*="col-"]:first-child {
		a span,
		.onsale,
		.product-media span {
			position: absolute;
			background-color: $mainColor2;
			color: $lightColor;
			padding: 8px 18px;
			text-transform: uppercase;
			top: 20px;
			right: 20px;
			&.onsale {
				background-color: $mainColor;
				left: 20px;
				bottom: 20px;
				right: auto;
				top: auto;
				z-index: 1;
			}
		}
	}

}
.related,
.upsells {
	margin-top: 80px;
	padding-right: 15px;
	padding-left: 15px;
	& > h2 {
		margin: 20px 0 30px;
	}
}
.upsells + .related {
	margin-top: 30px;
}

.products {
	.item-content .price, .item-media .onsale, .item-media .product-buttons {
		opacity: 0.8;
	}
}

.price {
	position: absolute;
	left: 20px;
	top: 20px;
	color: $darkgreyColor;
	background-color: $lightColor;
	padding: 8px 18px 7px;

	del {
		opacity: 0.5;
		font-size: 12px;

	}
	ins {
		text-decoration: none;
	}
}

section.related.products {
	.product {
		width: 100%;
	}
}

.product-buttons {
	position: absolute;
	bottom: 20px;
	right: 20px;
	a {

		float: left;
		width: 40px;
		height: 40px;
		font-size: 0;
		color: transparent;
		text-align: center;

		background-color: $mainColor;
		&.loading {
			[class*='rt-icon'],
			&:before {
				display: inline-block;
				-moz-animation: spin 2s infinite linear;
				-o-animation: spin 2s infinite linear;
				-webkit-animation: spin 2s infinite linear;
				animation: spin 2s infinite linear;
				&:before {
					content: "\e61b";
				}
			}
			&:before {
				content: "\e61b";
			}
		}
		i,
		&:before {
			line-height: 40px;
			font-size: 16px;
			color: $lightColor;
		}

		//for wp - before - no simple way to add i inside button
		&:before {
			font-family: 'rt-icons-2';
			content: "\e626";
		}
		&.favorite_button {
			background-color: $lightColor;
			color: $darkgreyColor;
		}
		&:hover {
			background-color: $darkgreyColor;
			color: $lightColor;
		}
		&.added_to_cart {
			background-color: $lightColor;
			font-size: 0;
			color: transparent;
			&:hover {
				background-color: $mainColor;
			}
			&:before {
				content: "\e6c0";
				line-height: 40px;
				color: $darkgreyColor;
				font-family: 'rt-icons-2';
				font-size: 26px;
			}

		}
		&.product_type_variable:before {
			font-size: 20px;
			content: "\e63f";
		}

	}
	a.product_type_simple {

	}
}

// //media query min 767?
.grid-view {
	text-align: center;

	.row {
		position: relative;
	}

	.product [class*="col-"]:last-child {
		padding: 20px 35px 20px 35px;
		position: absolute;
		top: 0;
		h2,
		h3, p {
			display: none;
		}
	}
	.item-content h4 {
		display: none;
	}
	.star-rating {
		display: none;
	}
	.product-description {
		display: none;
	}
	[class*="col-"] {
	    width: 100%;
	    float: none;
	}
	.item-media {
		padding-bottom: 5px;
		&:before {
			content: "";
			display: block;
			position: absolute;
			bottom: 0;
			height: 5px;
			left: 0;
			right: 0;
			background-color: $mainColor;
			background-image: -webkit-linear-gradient(135deg, $darkgreyColor 15%, $mainColor 15%, $mainColor 50%, $darkgreyColor 50%, $darkgreyColor 65%, $mainColor 65%, $mainColor);
			background-image: linear-gradient(-45deg, $darkgreyColor 15%, $mainColor 15%, $mainColor 50%, $darkgreyColor 50%, $darkgreyColor 65%, $mainColor 65%, $mainColor);
			background-size: 8px 8px;
		}
	}
	.woocommerce-loop-product__title {
		font-weight: 400 !important;
	}
}

.list-view {
	.product {
		float: none;
		width: 100%;
		margin-bottom: 60px;


		[class*="col-"]:first-child {
			h2,
			h3 {
				display: none;
			}
		}
		[class*="col-"]:last-child {
			h3 {
			}
			@media (max-width: 991px) {
			}
		}
	}

}

/* single-product */

.woocommerce-product-gallery {
	.flex-control-thumbs li {
		padding: 0;
		& + li {
			margin-left: 5px;
		}
	}
}

.summary {
	h1 {
		margin-bottom: 3px;
	}

	h2.product_title {
		margin-top: -4px;
		margin-bottom: 13px;
	}

	.product-rating,
	.woocommerce-product-rating{
		margin-bottom: 10px;
	}

	.price {
		position: static;
		display: block;
		padding: 20px 0 20px;
		font-size: 35px;
		background-color: transparent;
		line-height: 1;
		word-wrap: break-word;
		border-bottom: 1px solid rgba( $borderColor, 0.5 );
		del {
			font-size: 28px;
		}
	}
	.woocommerce-variation-price .price {
		padding-top: 0;
	}

	.star-rating {
		display: inline-block;
		top: 4px;
		margin-right: 20px;
	}

	.stock {
		margin-bottom: 0;
	}
	.email-to {
		margin-bottom: 10px;
	}
	.product-option-name {
		display: inline-block;
		margin: 10px 0;
	}
	.theme_button {
		margin-top: 0;
		&.wc-variation-selection-needed {
			opacity: .4;
			cursor: not-allowed;
		}
	}
	.posted_in {
		.small_button {
			margin-left: 5px;
			padding-left: 6px;
			padding-right: 6px;
		}
	}
	.posted_in, .tagged_as {
		margin: 10px 0 0;
	}
	.product_meta {
		margin-top: 20px;
		padding-top: 10px;
		border-top: 1px solid rgba( $borderColor, 0.5 );
		& > span {
			display: block;
		}
		a {
			margin: 0 0 0 6px;
		}
	}

	[itemprop="description"] {
		margin: 30px 0;
	}
	ul.list1 li {
		padding-top: 15px;
		padding-bottom: 20px;
	}
	.reset_variations {
		color: transparent;
		font-size: 0;
		padding: 0 5px;
		&:before {
			font-family: 'rt-icons-2';
			content: "\e117";
			font-size:18px;
			color: $darkgreyColor;
		}
	}
	label {
		margin: 0;
		&:after {
		}
	}
	[class*='add-to-cart'] {
		margin: 10px 0;
		//add to cart TODO test on all layouts
		.theme_button {
			float: right;
		}
	}

} //eof summaru


.quantity {
	position: relative;
	display: inline-block;
	[type="button"] {
		position: absolute;
		right: 0;
		top: 0;
		line-height: 1;
		border: none;
		width: 22px;
		height: 24px;
		background-color: transparent;

		&.minus {
			top: auto;
			bottom: 0;
		}

	}
	[type="number"] {
		padding-right: 30px;
		padding-left: 20px;
		max-width: 70px;
		min-width: 70px;
	}
}

.variations td {
	display: block;
	border: 0;
	padding: 3px 0;
	&.value {
		margin-bottom: 10px;
	}
}

//tags
.product_meta_bottom {
margin: 0 0 20px;
}
//tabs
.product-tabs {
	margin-top: 30px;
}

.owl-carousel.thumbnails {
	margin: 30px 0 30px;

	.owl-dots {
		margin: 20px 0 5px;

		.owl-dot span {
			width: 8px;
			height: 8px;
			border-width: 1px;
		}
	}
	.owl-nav {
		margin-top: -18px;
		& > div {
			right: 0;
		}
		& > div:first-child {
			left: 0;
		}
	}
	.owl-nav > div:after {
		font-size: 16px;
		color: $darkgreyColor;
	}
}
.product-icons {
	.teaser [class*="_bg_color"] {
		padding: 10px;
	}
}
.product + .nav-tabs,
.woocommerce-tabs {
	margin-top: 60px;
}

//stars
.star-rating,p.stars a {
	font-weight: 400;
	height: 1em
}

.star-rating span:before,.star-rating:before {
	content: "\e7aa\e7aa\e7aa\e7aa\e7aa";
	top: 0;
	left: 0
}

.star-rating {
	overflow: hidden;
	position: relative;
	line-height: 1;
	width: 5.4em;
	font-family: "rt-icons-2";
}

.star-rating:before {
	opacity: .5;
	float: left;
	letter-spacing: 0.1em;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
	letter-spacing: 0.1em;
}

.star-rating span:before {
	position: absolute;
	color: $mainColor;
}

p.stars a:before,p.stars a:hover~a:before {
	color: $fontColor;
	content: "\e7aa"
}

p.stars {
	display: inline-block;
	margin: 0 0 30px;
	line-height: 1;
}

p.stars a {
	display: inline-block;
	position: relative;
	width: 1em;
	text-indent: -999em;
	margin-right: 1px
}

p.stars a:before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: "rt-icons-2";
	text-indent: 0
}

p.stars.selected a.active:before,p.stars:hover a:before {
	content: "\e7aa";
	color: $mainColor;
	opacity: 1
}

p.stars.selected a.active~a:before {
	content: "\e7aa";
	color: $fontColor;
	opacity: .75
}

p.stars.selected a:not(.active):before {
	content: "\e7aa";
	color: $mainColor;
	opacity: 1
}

/*shop comments*/
.commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
	li {
		margin-bottom: 40px;
		img {
			display: block;
			float: left;
			overflow: hidden;
			margin-top: 0;
			border-radius: 100%;
			border: 4px solid $mainColor;
		}
	}
	.comment-text {
		overflow: hidden;
		position: relative;
		padding: 12px 30px 26px 8px;
	}
	p.meta {
		font-size: 0;
		margin: 0 0 40px;
		//author
		strong {
			color: $darkgreyColor;
			font-weight: 600;
			font-size: 16px;
			line-height: 1;
			display: block;
			text-transform: uppercase;
		}
		time {
			font-size: 14px;
		}
	}
	.star-rating {
		position: absolute;
		top: 60px;
	}
}
.woocommerce-tabs {


	.tab-content {
		padding-top: 40px;
		.comments-area {
		}

		.comment-respond {
			margin: 30px 0 0;
			h3 {
				font-size: 28px;
			}
			h4 {
				margin-bottom: 0;
				font-size: 28px;
			}
		}
	}
}
/*comment respond form*/
#review_form {
	textarea,
	[type*='text'],
	[type*='email']{
		width: 100%;
		display: block;
		margin-bottom: 10px;
	}

	@media(min-width: 992px) {
		.comment-form-author {
			float: left;
			width: 50%;
			padding-right: 5px;
		}
		.comment-form-email {
			float: left;
			width: 50%;
			padding-left:5px;
		}
		.form-submit {
			clear: both;
		}
	}
}
.comment-form-rating{
	margin-top: 10px;
	margin-bottom: 20px;
}
label[for] {
	display: block;
}

/* cart */
.shop_table {
	ul {
		list-style: none;
		padding: 0;
	}
}
.shop-adds {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.4;
	.fa {
		padding: 0 10px;
	}
	&.teaser {
		margin-bottom: 0;
		[class*="_bg_color"] {
			padding: 12px;
		}
	}
}
table.cart  {
	margin-bottom: 30px;
	.media {
		margin-left: -15px;
	}
	img {
		max-width: 80px;
	}
	h4 {
		margin-bottom: 12px;
	}
	td, th {
		vertical-align: middle;
		padding: 18px 20px;
	}
	.coupon {
		display: inline-block;
	}
	a {
		color: $darkgreyColor;
	}
	td.product-name {
		font-size: 18px;
	}
	.product-remove {
		text-align: center;
		font-size: 1.6em;
	}
}
.cart_totals {
		h4:first-child {
			margin: 60px 0 30px;
		}
		table {
			margin: 0 0 50px;
			th,
			td {
				padding: 20px 20px;
			}
			th {
				width: 140px;
			}
		}
}


/* chekcout */
.shop-info {
	margin-bottom: 15px;
}
#createaccount {
	margin-top: 0;
}
#ship-to-different-address {
	label {
		display: inline-block;
		& + input {
			margin: 0 12px;
		}
	}
}

.checkout, .shop-register {
	[class*='col-'] {
		margin-top: 0;
		margin-bottom: 0;
	}
}

//wp - form-row, html - form.checkout
.woocommerce form {
	&:before,
	&:after {
		content: '';
		display: block;
		clear: both;
	}
	input[type="radio"] {
		margin-right: 6px;
	}
	input[type="checkbox"] {
		margin-right: 6px;
		position: relative;
		top: 2px;
	}
	//button
	[type="submit"] {
	}
	p:last-child {
		margin-bottom: 10px;
	}

}
.form-row {
	&:before,
	&:after {
		content: '';
		display: block;
		clear: both;
	}
	 margin: 0 0 15px;

	.checkbox {
		margin: -5px 0 0;
	}
	.lost_password {
		margin: 15px 0 -15px;
	}
	label {
		// for WordPress
		display: block;
		margin-top: 10px;
	}
	[type="email"],
	[type="number"],
	[type="password"],
	[type="text"],
	select,
	textarea {
		display: block;
		width: 100%;
	}
	@media (min-width: 768px) {
		label {
			padding-right: 25px;
			width: 30%;
			float: left;
			text-align: right;
		}
		label + *,
		&.address-field input {
			float: right;
			width: 70% !important;
		}
	}
}
//login form
.woocommerce form.login {
	label,
	input {
		float: none;
		text-align: left;
		width: auto !important;
	}
	[type="submit"] {
		margin-top: 10px;
		text-align: center;
	}
}

@media (min-width: 992px) {
	.col2-set {
		width: 70%;
		float: left;
		padding-right: 50px;
		//for order view
		&.addresses {
			width: 100%;
			float: none;
			padding: 0;
			margin: 0 -15px;
			&:before,
			&:after {
				display: block;
				content: '';
				clear:both;
			}
			.col-1,
			.col-2 {
				float: left;
				width: 50%;
				padding: 0 15px;
			}
		}
	}
	#order_review_heading,
	#order_review {
		width: 30%;
		float: left;
		margin-top: 0;
	}
}
#payment {}

/* shop single*/
.cart-button {
	margin: 50px 0 55px;
}

.share-title {
	font-size: 20px;
	margin: 56px 0 18px;
}

/* shop */
//shop item like lifecoach - for Easy Digital Downloads plugin
.shop-item {
	.item-content {
		//TODO now this paddings is overriden by .vertical-item.content-padding in _utilites. Refactor content padding
		padding: 30px 40px;
	}
	.item-price {
		margin: 9px 0 16px;
		font-size: 30px;
		line-height: 1;
		font-weight: 800;
		span {
			font-size: 40px;
		}
	}
	.cart-button {
		margin: 50px 0 28px;
	}
}

.related-item {
	.item-content {
		padding: 14px 25px;
	}
	h4 {
		font-size: 20px;
		line-height: 24px;
	}
	.cart-button {
		margin: 14px 0 14px;
	}
}

.select2-container .select2-choice {
	border: none;
	padding: 10px 20px;
	border-radius: 0;
}
.select2-drop-active {
	border-color: $borderColor;
}

.woocommerce-checkout-payment {
	margin-top: 40px;
	.radio {
		margin: 2px 0;
	}
	ul {
		list-style: none;
		padding: 0;
	}
	li {
		padding: 11px 0 6px;
		border-bottom: 1px solid $borderColor;
		&:first-child {
			border-top: 1px solid $borderColor;
		}
	}
	p {
		margin: 0;
	}
	img {
		display: none;
	}
	[type="submit"] {
		margin-top: 20px;
	}
}

/*messages*/
.wc-forward {
	float: right;
}
.row > .alert {
	margin-left: 25px;
	margin-right: 25px;
}

/*my account*/
.woocommerce-MyAccount-navigation {
	margin-bottom: 40px;
	ul {
		padding: 0;
	}
	li {
		display: inline-block;
	}
	.is-active a {
		background-color: $mainColor;
		border-color: $mainColor;
		color: $lightColor;
		&:hover, &:focus, &:active {
			color: $darkgreyColor !important;
		}
	}
}
.woocommerce-MyAccount-content {
	h2 {
		margin: 40px 0;
	}
}
.woocommerce-Message {
	background: $lightColor;
	padding: 30px;
	.woocommerce-Button {
		float: right;
	}
}
.order-actions {
	text-align: center;
}
.customer_details {
	margin-bottom: 60px;
}
.addresses address {
	margin-bottom: 0;
}

.select2-container--default .select2-selection--single[aria-expanded="false"] {
	border-color: $borderColor;
	height: 40px;
	border-radius: 0;
}

.select2-container--default .select2-selection--single[aria-expanded="false"] .select2-selection__rendered {
	line-height: 39px;
}

.select2-container--default .select2-selection--single[aria-expanded="false"] .select2-selection__arrow {
	top: 6px;
}

/* shop widgets */
/* cart widget */
.widget_shopping_cart {
	//for HTML
	img {
		max-width: 80px;
	}
	.cart_list {
		border-bottom: 1px solid $borderColorRGBA;
		padding-bottom: 4px;
		margin: 20px 0;
	}
	//for WP
	.quantity {
		display: block;
	}
	.remove {
		float: right;
		font-size: 0;
		&:before {
			font-family: 'rt-icons-2';
			font-size: 16px;
			content: "\e653";
		}
	}
	li {
		margin-bottom: 16px;
		a + a {
			color: $darkgreyColor;
			font-size: 16px;
		}
	}
	.wc-forward {
		float: none;
	}
	.woocommerce-mini-cart__buttons {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		.button {
			padding-left: 10px !important;
			padding-right: 10px !important;
			min-width: 7.4em;
		}
	}
}

/* price filter */
.widget_price_filter {
	input[readonly] {
		background-color: transparent;
		padding-right: 3px;
		padding-left: 3px;
		max-width: 89px;
		margin-bottom: 4px;
		display: inline-block;
	}
	.ui-slider-range {
		background-color: $mainColor;
	}
	.ui-slider-horizontal {
		margin-bottom: 30px;
	}
	label[for] {
		display:inline-block;
		padding-right: 4px;
	}
	.price_label {
		color: $darkgreyColor;
		padding-top: 9px;
	}
	.form-group {
		display: inline-block;
		margin-right: 10px;
		margin-bottom: 10px;
	}
	button {
		margin-top: 0;
		text-transform: uppercase;
		padding: 8px 7px 7px;
		min-width: 0;
		float: right;
	}
	.price_slider_amount:after {
		content: '';
		display: block;
		clear: both;
	}
}


/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ui-slider {
    position: relative;
    text-align: left;
    background-color: #fafafa;
	margin: 0 5px 0 8px;

}
.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 9px;
    height: 9px;
    cursor: pointer;
    -ms-touch-action: none;
    touch-action: none;
    background-color: $darkgreyColor;
    transition: left 0.3s linear;
}
.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background-position: 0 0;
}

/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
    filter: inherit;
}

.ui-slider-horizontal {
    height: 7px;
}
.ui-slider-horizontal .ui-slider-handle {
    top: -1px;
    margin-left: -.4em;
}
.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}

.ui-slider-vertical {
    width: .8em;
    height: 100px;
}
.ui-slider-vertical .ui-slider-handle {
    left: -.3em;
    margin-left: 0;
    margin-bottom: -.6em;
}
.ui-slider-vertical .ui-slider-range {
    left: 0;
    width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
    bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
    top: 0;
}

/* color layered nav */
.widget_layered_nav {
	.color-filters {
		li {
			display: inline-block;
			margin: 0 29px 14px 0;
		}

		a {
			display: inline-block;
			width: 23px;
			height: 23px;
			font-size: 0;
			background-color: #ccc;
			color: transparent;
			position: relative;
			&:before {
				content: '';
				display: block;
				position: absolute;
				border: 1px solid $borderColorRGBA;
				top: -2px;
				left: -2px;
				bottom: -2px;
				right: -2px;
			}

		}

		span {
			position: relative;
			top: 2px;
			left: 5px;
		}

	}
}


/* widget_products */
.widget_products {
	img {
		max-width: 80px;
	}
	.media h3 {
		font-size: inherit;
		line-height: 1.4;
		margin: 3px 0 10px;
	}
	.star-rating {
		margin-bottom: 10px;
	}
	.price {
		position: static;
		background-color: transparent;
		padding: 0;
	}
	.add_to_cart_button {
		display: inline-block;
	    width: 20px;
	    height: 20px;
	    font-size: 14px;
	    text-align: center;
	    background-color: $mainColor;
	    color: $lightColor;
	    margin-right: 5px;
	    &:hover {
	    	color: $lightColor;
	    	background-color: $darkgreyColor;
	    }
	}
}
/*widget_top_rated_products*/
.widget {
	.product-title {
		display: block;
	}
	.woocommerce-Price-amount {
		color: $darkgreyColor;
	}
	del .woocommerce-Price-amount{
		color: inherit;
	}
	.star-rating {
		margin: 5px 0 7px;
	}
}

.widget_top_rated_products {
	img {
	}
}
/*widget_recent_reviews*/
.widget_recent_reviews,
.product_list_widget {
	li {
		&:before,
		&:after {
			content: '';
			display: block;
			clear: both;
		}
	}
	img {
		display: block;
		float: left;
		max-width: 100px;
		margin-right: 20px;
	}
}

/*widget_rating_filter*/
.widget_rating_filter {
	li {
		clear: both;
		margin-bottom: 8px;
	}
	text-align: right;
	.star-rating {
		float: left;
	}
}
