/*
Theme Name:  Salient
Description: Styles for the "Text On Hover" product style.
*/

.text_on_hover.product {
	text-align: center;
	margin-bottom: 4%!important;
}

body .text_on_hover.product .add_to_cart_button { 
  border: none; 
}

.text_on_hover.product .text-on-hover-wrap {
	position: absolute;
	top: 0;
	width: 100%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transition: all 0.25s ease;
	-webkit-transition: all 0.25s ease;
	top: 50%;
	padding-right: 20px;
	padding-left: 20px;
	text-align: center;
	z-index: 20;
	opacity: 0;
}

.text_on_hover.product .text-on-hover-wrap .star-rating {
	display: inline-block;
	margin-top: 13px;
	font-size: 18px;
	margin-bottom: -2px!important;
}

.text_on_hover.product .star-rating span:before {
	content: "\73\73\73\73\73"!important;
}

.text_on_hover.product .text-on-hover-wrap .price, 
.text_on_hover.product .text-on-hover-wrap ins .amount,
.woocommerce ul.products li.text_on_hover.product .price {
	font-size: 26px;
	margin-top: 6px;
	margin-bottom: 4px;
}

.text_on_hover.product .text-on-hover-wrap del {
	display: block!important;
}

.text_on_hover.product .text-on-hover-wrap * {
	color: #000;
}

.woocommerce .text_on_hover.product .star-rating:before, 
.woocommerce-page .text_on_hover.product .star-rating:before {
	color: #aaa;
}

.text_on_hover.product h3 {
	text-align: center;
	padding-bottom: 0!important;
	margin-bottom: 0!important;
}

.text_on_hover.product h3 a {
	color: #000!important;
}

.text_on_hover.product .text-on-hover-wrap .price del {
	display: block;
	margin-bottom: 5px!important;
}

.woocommerce .products-carousel ul.products li.product.text_on_hover.product a.added_to_cart, 
.woocommerce .products-carousel ul.products li.product.text_on_hover.product .add_to_cart_button,
.woocommerce .products-carousel ul.products li.product.text_on_hover.product h3 a {
	cursor: pointer!important;
}

.woocommerce .products .text_on_hover.product .star-rating, 
.woocommerce-page .products .text_on_hover.product .star-rating {
	margin-bottom: 0;
	margin-top: 11px;
}

.woocommerce ul.products .text_on_hover.product .add_to_cart_button,
.woocommerce ul.products .text_on_hover.product > .button {
	background-color: transparent!important;
	color: #000;
	padding: 0;
	vertical-align: top;
	margin: 8px 0 0 0!important;
}


.text_on_hover.product .add_to_cart_button.product_type_simple.added {
	display: none!important;
}

.woocommerce ul.products .text_on_hover.product a.added_to_cart.wc-forward {
	padding: 6px 10px!important;
	margin: 10px 0 0 0!important;
}


.text_on_hover.product .add_to_cart_button:focus {
	top:0px!important;
}

.text_on_hover.product .add_to_cart_button:hover,
.woocommerce ul.products .text_on_hover.product > .button:hover {
	border-color: transparent!important;
	background-color: transparent!important;
	opacity: 0.7;
}

.text-on-hover-wrap .categories a {
	letter-spacing: 0;
	font-size: 12px;
}

.text_on_hover.product .product-wrap .bg-overlay {
  transition: opacity 0.3s cubic-bezier(.21, .6, .35, 1);
	-webkit-transition: opacity 0.3s cubic-bezier(.21, .6, .35, 1);
	opacity: 0;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: ' ';
	background-color: #f8f8f8;
	z-index: 11;
}

.text_on_hover.product a.added_to_cart {
   display: inline-block;
   position: relative!important;
   text-indent: 0;
   transition: all 0.3s cubic-bezier(.21, .6, .35, 1);
	-webkit-transition: all 0.3s cubic-bezier(.21, .6, .35, 1);
	color: #fff!important;
	margin-left: 3px;
}

.ascend .text_on_hover.product a.added_to_cart,
.ascend .text_on_hover.product .add_to_cart_button {
	border-radius: 0;
}

.text_on_hover.product a.added_to_cart:hover {
	opacity: 0.8;
}


.text_on_hover.product .nectar_quick_view {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	width: 100%;
	z-index: 100;
	padding: 7px;
	opacity: 0;
	transition: all 0.25s ease;
}
ul.products[data-n-lazy="1"] .text_on_hover.product .nectar_quick_view,
ul.products[data-n-lazy="1"] .text_on_hover.product .link-overlay {
  position: absolute;
}
.text_on_hover.product .product-wrap:hover .nectar_quick_view {
	opacity: 1;
}
.text_on_hover.product .nectar_quick_view span {
	 line-height: 20px;
}

 .woocommerce .text_on_hover.product a.button.loading:before, 
 .woocommerce .text_on_hover.product button.button.loading:before, 
 .woocommerce-page .text_on_hover.product a.button.loading:before, 
 .woocommerce-page .text_on_hover.product button.button.loading:before {
 	background: none!important;
 }


 .woocommerce .text_on_hover.product a.button.added:before, 
 .woocommerce .text_on_hover.product button.button.added:before,
 .woocommerce .text_on_hover.product input.button.added:before, 
 .woocommerce-page .text_on_hover.product a.button.added:before, 
 .woocommerce-page .text_on_hover.product button.button.added:before, 
 .woocommerce-page .text_on_hover.product input.button.added:before {
 	content: ''!important;
 	margin: 0!important;
 }
 
 .text_on_hover.product.hovered .product-wrap .bg-overlay {
 	opacity: 0.88;
 }
 
 .text_on_hover.product.hovered .product-wrap .text-on-hover-wrap, 
 .woocommerce ul.products li.product.text_on_hover.hovered .onsale,
 ul.products li.product.text_on_hover.hovered .onsale {
 	opacity: 1;
 }
 
 .woocommerce ul.products li.product.text_on_hover .onsale, 
 .woocommerce-page ul.products li.product.text_on_hover .onsale, 
 .woocommerce .text_on_hover.product span.onsale, 
 .woocommerce-page .text_on_hover.product span.onsale, 
 div[data-project-style="text_on_hover"] .single-product-main-image .onsale {
     border-radius: 0;
     margin-top: 0;
     padding: 4px 9px;
     margin-right: 0;
     right: auto;
     line-height: 16px;
     min-height: 0;
     height: auto;
     left: 13px;
     top: 13px;
     width: auto;
     z-index: 1000;
     transition: all 0.2s linear;
 	-webkit-transition: all 0.2s linear;
 	font-family: 'Open Sans';
 	font-weight: 400;
 	text-transform: uppercase;
 }
 
 div[data-project-style="text_on_hover"] .single-product-main-image .onsale {
 	width: 59px;
 	font-size: 14px;
 	top: 21px;
 }
