/*	WooCommerce CSS Overrides and Checks for BNE Themes.
 *	Last Edited: Jan 18, 2017
*/



/* ===========================================
 *	 Shopping Cart Popup
 * ======================================== */
 
.bne-cart-popup { 
	background: rgba(0,0,0,.7);
}

.bne-cart-popup .modal-body {
	padding: 0;
}

.bne-cart-popup .modal-header {
	padding: 11px;
}

.bne-cart-popup .product_list_widget {
	padding: 0; 
	list-style: none;
}

.woocommerce .bne-cart-popup .product_list_widget li,
.bne-cart-popup .product_list_widget li {
    border-bottom: 1px solid #eee;
    font-size: 12px;
    margin: 0;
    min-height: 55px;
    padding: 10px 12px;
}

.bne-cart-popup .product_list_widget li:hover {
	background-color: #f5f5f5;
}

.bne-cart-popup .product_list_widget li:after { 
	content: " "; 
	display: table; 
	clear: both;
}

.woocommerce .bne-cart-popup .product_list_widget li > a,
.bne-cart-popup .product_list_widget li > a {
    font-weight: bold;
    text-decoration: none;
    display: block;
    color: inherit;
}

.woocommerce .bne-cart-popup .product_list_widget li > .remove,
.bne-cart-popup .product_list_widget li > .remove { 
	display: none;
}

.woocommerce .bne-cart-popup .product_list_widget li > a > img,
.bne-cart-popup .product_list_widget li > a > img {
    float: right;
    position: static;
    width: 45px;
    margin: 0;
    min-height: initial;
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
}

.rtl .bne-cart-popup .product_list_widget li > a > img {
	float: left;
}

.bne-cart-popup .total {
	font-size: 12px;
	margin: 0;
	padding: 8px 12px;
}

.bne-cart-popup .buttons {
	border-top: 1px solid #eee;
	margin: 0;
	padding: 10px;
}

.bne-cart-popup .buttons:after { 
	content: " ";
	display: table;
	clear: both;
}

.bne-cart-popup .buttons .button {
	display: block;
	width: 49%;
	border-radius: 0px;
	font-weight: normal;
}

.bne-cart-popup .buttons .button.wc-forward { 
	float: left;
}

.rtl .bne-cart-popup .buttons .button.wc-forward { 
	float: right;
}

.bne-cart-popup .buttons .button.checkout {
	float: right;
}

.rtl .bne-cart-popup .buttons .button.checkout { 
	float: left;
}

.bne-cart-popup .product_list_widget li.empty, .product_list_widget li.empty:hover { 
	background: 0; 
	border: 0; 
	min-height: 0;
}

.woocommerce .bne-cart-popup li.empty, .bne-cart-popup li.empty { 
	padding: 10px 12px;
}






/* ===========================================
 *	 Woo Theme Buttons
 * ======================================== */

.woocommerce a.button, 
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce button.button.alt.disabled,
.woocommerce input.button,
.woocommerce input.button.alt,
.woocommerce #respond input#submit {
	background: #fff;
	border: 1px solid #ddd;
	color: #333;
	font-weight: normal;
}

.woocommerce a.button:hover, 
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover {
	background: #e6e6e6;
	border-color: #d4d4d4;
	color: #333;
}

.woocommerce a.button:active, 
.woocommerce a.button.alt:active,
.woocommerce button.button:active,
.woocommerce button.button.alt:active,
.woocommerce input.button:active,
.woocommerce input.button.alt:active,
.woocommerce #respond input#submit:active {
	background: #e6e6e6;
	border-color: #d4d4d4;
	outline: 0;
	color: #333;
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.bne-gradient.woocommerce a.button,
.bne-gradient.woocommerce-page a.button,
.bne-gradient.woocommerce a.button.alt,
.bne-gradient.woocommerce button.button,
.bne-gradient.woocommerce button.button.alt,
.bne-gradient.woocommerce input.button,
.bne-gradient.woocommerce-page input.button,
.bne-gradient.woocommerce input.button.alt,
.bne-gradient.woocommerce #respond input#submit {
	border-color: rgba(0, 0, 0, .17);
	border-bottom-color: rgba(0, 0, 0, .2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.075);
	background-image: -webkit-linear-gradient( rgba( 0, 0, 0, 0 ), rgba(0, 0, 0, .09) );
	background-image: -o-linear-gradient( rgba( 0, 0, 0, 0 ), rgba(0, 0, 0, .09) );
	background-image: -moz-linear-gradient( rgba( 0, 0, 0, 0 ), rgba(0, 0, 0, .09) );
	background-image: linear-gradient( rgba( 0, 0, 0, 0 ), rgba(0, 0, 0, .09) );
}

.bne-gradient.woocommerce a.button:active, 
.bne-gradient.woocommerce-page a.button:active,
.bne-gradient.woocommerce a.button.alt:active,
.bne-gradient.woocommerce button.button:active,
.bne-gradient.woocommerce button.button.alt:active,
.bne-gradient.woocommerce input.button:active,
.bne-gradient.woocommerce-page input.button:active,
.bne-gradient.woocommerce input.button.alt:active,
.bne-gradient.woocommerce #respond input#submit:active {
	border-color: rgba(0, 0, 0, .1);
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { 
	display: inline-block;
	font-size: 15px;
	font-weight: bold;
}

.woocommerce .cart .button, .woocommerce .cart input.button {
	font-size: 13px;
}

.woocommerce ul.products li.product .button {
	margin-top: 0;
	font-size: 12px;
}

.woocommerce ul.products li.product .button.added { }






/* ===========================================
 *	 Forms
 * ======================================== */

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	border: none;
}

.woocommerce select,
.woocommerce input[type="text"] {
	height: 45px;
	outline: none !important;
}

.woocommerce .radio,
.woocommerce .checkbox {
	padding: 0;
}

.woocommerce .form-row textarea {
	min-height: 150px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce .select2-selection {
	height: 45px;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 45px;
}
.woocommerce .select2-container--default .select2-selection--single {
	border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.woocommerce label { display: inline; }

.woocommerce .summary .label {
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-shadow: none;
}

.woocommerce .quantity input[type="number"] {
	padding: 6px 0px !important;
	height: 30px;
}


/* ===========================================
 *	 Typography
 * ======================================== */

.products > h2, 
.cross-sells > h2 {
	margin: 0px 0px 10px 0px;
	font-size: 20px;
}

.cart_totals h2, 
.wc-legacy .shipping_calculator h2 {
	font-size: 18px;
}

.woocommerce-billing-fields h3,
h3#ship-to-different-address label {
	font-weight: normal;
}


/* ===========================================
 *	 Products
 * ======================================== */

.product-image-wrapper { 
	position: relative;
	overflow: hidden;
}

.woocommerce ul.products li.product {
	margin-bottom: 30px;
	background: white;
	border: 1px solid #eaeaea;
	border-radius: 2px;
	padding: 10px;
	position: relative;
 }
 
.woocommerce ul.products li.product:hover {
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* == Product Image == */
.woocommerce ul.products li.product a img {
	-webkit-transition: all 0.25s ease-in-out;
	   -moz-transition: all 0.25s ease-in-out;
	     -o-transition: all 0.25s ease-in-out;
		 	transition: all 0.25s ease-in-out;
	margin-bottom: 0px;
}

.woocommerce ul.products li.product:hover a img {
	-webkit-transform: scale(1.05);
	   -moz-transform: scale(1.05);
	     -o-transform: scale(1.05);
		 	transform: scale(1.05);
}


/* == Product Price == */
.woocommerce .product .price {
	font-weight: bold;
	color: #333 !important;
}

.woocommerce .product .price del,
.woocommerce .product .price ins {
	display: inline-block !important;
}


/* == Product Stars == */
.woocommerce ul.products li.product .star-rating {
	float: right;
}

.woocommerce p.stars a,
.woocommerce .star-rating span {
	color: gold;
}


/* == Product Sale Tag == */
.bne-onsale {
	position: absolute;
	text-align: center;
	font-weight: 700;
	margin: 0;
	padding: 0;
	top: 9px;
	right: 9px;
	left: auto;
	min-height: 24px;
	width: 50px;
	z-index: 1;
	background: #337ab7;
	border-radius: 0px 2px 2px 0px;
	box-shadow: none;
	color: white;
	line-height: 24px;
	font-size: 10px;
	text-transform: uppercase;
}

.bne-onsale:before {
	content: "";
	position: absolute;
	left: -15px;
	height: 0;
	width: 0;
	border-color: transparent #337ab7 transparent transparent;
	border-style: solid;
	border-width: 12px 15px 12px 0;
}

.bne-onsale:after {
	content: "";
	position: absolute;
	left: -2px;
	height: 7px;
	width: 7px;	
	top: 8px;
	background: #fff;
	border-radius: 50%;
}

/* == Product Theme Share buttons == */
.woocommerce.single-product .bne-woo-share {
	margin-top: 10px;
	padding-top: 10px;
}

.woocommerce.single-product .bne-woo-share .share {
	margin: 0 auto;
	float: none;
}

.woocommerce.single-product .btn-share {
	padding: 10px;
}

/* ===========================================
 *	Single Product 
 * ======================================== */

.woocommerce.single-product .quantity input[type="number"] {
	height: 50px;
	min-width: 80px;
}
.woocommerce.single-product .single_add_to_cart_button {
	height: 50px;
	font-size: 17px;
	padding: 5px 20px;	
}

/* == Comments == */
.woocommerce .comment-form-author,
.woocommerce .comment-form-email {
	float: left;
	width: 48%;
}

.woocommerce .comment-form-email {
	float: right;
}
.woocommerce.single-product #reply-title {
	font-size: 1.625rem;
	margin: 0;
}

.woocommerce.single-product .commentlist {
	padding-left: 0;
}

.woocommerce #review_form_wrapper {
	background: #f5f5f5;
	border: 1px solid rgba(0, 0, 0, .1);
	padding: 20px;	
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
	background: white;
	width: 60px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	padding-top: 0;
	border: none;
	margin-left: 60px;
}

.woocommerce .star-rating {
	float: none;	
}




/* == Tabs == */
.woocommerce .woocommerce-tabs ul.tabs li {
	box-shadow: none;
    border: none;
    border-radius: 0px !important;
    background: #eee;
    margin: 0 0 0 -6px !important;
}

.woocommerce .woocommerce-tabs ul.tabs li:before,
.woocommerce .woocommerce-tabs ul.tabs li:after {
	display: none !important;
}

.woocommerce .woocommerce-tabs ul.tabs li.active {
	background: white;
}

.woocommerce .woocommerce-tabs .panel {
    padding: 0px 0px 20px 0px !important;
    border-top: none !important;
    box-shadow: none !important;
}



/* ===========================================
 *	 Cart & Checkout Page
 * ======================================== */

@media (max-width: 768px) {
	.woocommerce-shipping-fields,
	h3#order_review_heading  {
		margin-top: 30px;
	}
}

.woocommerce .shop_table #coupon_code { 
	height: 32px;
	line-height: 32px;
}

.woocommerce .woocommerce-account-fields .create-account input#createaccount {
	position: relative;
}

.woocommerce form.login {
	padding: 0;
}
.woocommerce-checkout form.woocommerce-form-login,
.woocommerce-checkout form.checkout_coupon {
	margin-top: -2em;
	padding: 20px;
	background-color: #f7f6f7;
	border-radius: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals table {
	border: 1px solid #ddd;
	width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
	background: #f5f5f5;
	border-right: 1px solid #ddd;
	vertical-align: top;
	padding: 10px 15px;
}

.woocommerce-cart .cart-collaterals .cart_totals table td {
	padding: 10px 15px;
}

@media only screen and (min-width: 768px) {
	.woocommerce-cart .cart-collaterals .cart_totals table td {
		width: 60%;
	}
}

.woocommerce-checkout .sr-label label {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
	position: absolute !important;
	white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.woocommerce-checkout #ship-to-different-address label {
	display: inline;
}

.woocommerce-checkout input[type="checkbox"] {
	position: relative;
}


/* == Checkout Table == */
.woocommerce table.shop_table th {
	background: #f5f5f5;
	box-shadow: inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);
	font-size: 13px;
	font-weight: bold;
	line-height: 1.42857143;
	padding-top: 15px;
	padding-bottom: 15px;
	vertical-align: bottom;
	border-radius: 0px;
}

.woocommerce table.shop_table thead th:first-child {
	border-radius: 4px 0px 0px 0px;
}

.woocommerce table.shop_table thead th:last-child {
	border-radius: 0px 4px 0px 0px;
}

.woocommerce table.shop_table tr > td.product-name,
.woocommerce table.shop_table tfoot > tr > th,
.woocommerce #order_review tr > td.product-name,
.woocommerce #order_review tfoot > tr > th {
	border-right: 1px solid #ddd;

}

.woocommerce-checkout #payment .payment_box .form-row {
	padding: 0;
}


/* == Cart Thumbnail == */
.woocommerce-cart table.cart .product-thumbnail {
	width: 100px;
}

.woocommerce-cart table.cart img {
	width: 90px;
	height: 90px;
}


/* == Cart Coupon Code == */
@media (min-width: 600px ) {
	.woocommerce-cart table.cart td.actions .coupon .input-text {
		width: 200px !important;
	}
}

/* == Icons == */
.cart_item .product-remove {
	background-color: #f8f8f8;
	position: relative;
}

.woocommerce .cart_item a.remove,
.woocommerce .mini_cart_item a.remove {
	height: 25px;
	width: 25px;
	font-size: 20px;
	line-height: 25px;
}

.woocommerce .widget_shopping_cart a.remove { 
	line-height: 22px;
}

@media only screen and (min-width: 768px) {
	.cart_item .product-remove { 
		width: 20px;
		border-right: 1px solid #ddd;
	}
}



/* ===========================================
 *	 Checkout Payment Methods
 * ======================================== */

.woocommerce-checkout #payment {
	background: #f5f5f5;
	border: 1px solid rgba(0, 0, 0, .1);
}

.woocommerce-checkout #payment ul.payment_methods {
	border: none;
}

.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box:after {
	background: none;
	border: none;
	margin: 0 0 20px 0px;
	padding: 0;
}

.woocommerce-checkout #payment div.payment_box:before {
	display: none;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
	float: left;
}
.sidebar-layout-no-sidebar .woocommerce #payment #place_order,
.sidebar-layout-no-sidebar .woocommerce-page #payment #place_order {
	float: none;
	width: 100%;
	font-size: 1.2rem;
}

.woocommerce-checkout .select2-search input {
	width: 100% ;
}

.woocommerce-checkout .select2-choice {
	height: 44px;
	line-height: 44px;
}


/* ===========================================
 *	 Messages
 * ======================================== */

/* Correct Icons */
.woocommerce-message::before  { content: "\e015"; }
.woocommerce-info::before { content: "\e016"; }
.woocommerce-error::before { content: "\e013"; }

/* ===========================================
 *	Widgets
 * ======================================== */
.woocommerce-page ul.product_list_widget li img {
	width: 60px;
	float: left;
	margin-right: 10px;
	min-height: 60px;
}

.woocommerce ul.product_list_widget li a { font-weight: normal; }
.woocommerce ul.product_list_widget li a:not(:hover) { color: inherit; }
.woocommerce.widget_shopping_cart a.button {
	padding: 8px 10px;
	font-size: 14px;
}