/*
 Theme Name:   Bridge with One Page Checkout
 Theme URI:    http://demo.qodeinteractive.com/bridge/
 Description:  Bridge Theme Child Theme
 Author:       Pierre-Luc Pepin for White Octopus Web Development LLC
 Author URI:   http://www.qodethemes.com/
 Template:     bridge12
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  licence/GPL.txt
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  bridge-child
*/


/* WC - PRODUCT PAGES - HIDE "Buy it now" buttons (VIA VISUAL COMPOSER) */
/* WC - PRODUCT PAGES - HIDE "Buy it now" buttons (VIA VISUAL COMPOSER) */
/* WC - PRODUCT PAGES - HIDE "Buy it now" buttons (VIA VISUAL COMPOSER) */

.postid-124 .menu-item-object-custom,
.postid-650 .menu-item-object-custom,
.postid-651 .menu-item-object-custom,
.buy_now_mobile_button {
    display: none
}

/* WC - CART PAGE - REMOVE SPINNERS from number inputs */
/* WC - CART PAGE - REMOVE SPINNERS from number inputs */
/* WC - CART PAGE - REMOVE SPINNERS from number inputs */

/* ... in Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* ... in Webkit (Safari and Chrome) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]::-webkit-textfield-decoration-container {
    
}

/* WC - CART: Center text in messages (I.E. product has been added..) */
/* WC - CART: Center text in messages (I.E. product has been added..) */
/* WC - CART: Center text in messages (I.E. product has been added..) */

.woocommerce .woocommerce-message {
    text-align: center;
}

/* WC - CART: HIDE THE "CONTINUE SHOPPING" - ITS NOT NECESSARY (UIX OPTIMIZATION) */
/* WC - CART: HIDE THE "CONTINUE SHOPPING" - ITS NOT NECESSARY (UIX OPTIMIZATION) */
/* WC - CART: HIDE THE "CONTINUE SHOPPING" - ITS NOT NECESSARY (UIX OPTIMIZATION) */

.woocommerce .woocommerce-message a.button {
    display: none;
}

/* WC - CART PAGE - Cart Actions */
.woocommerce table.cart td.actions {
	text-align: center;
}

/* WC - CART PAGE - COUPONS FIELD */
/* WC - CART PAGE - COUPONS FIELD */
/* WC - CART PAGE - COUPONS FIELD */

.woocommerce table.cart div.coupon, 
.woocommerce-page table.cart div.coupon {
    float: none;
    display: inline;
}
.woocommerce table.cart div.coupon .input-text, 
.woocommerce-page table.cart div.coupon .input-text {
    margin-right: 0px;
}

/* WC - REVIEW ORDER PAGE */
/* WC - REVIEW ORDER PAGE */
/* WC - REVIEW ORDER PAGE */

.form-row.place-order {
    text-align: center;
    margin-top: 70px;
}

.form-row.place-order a {
    text-decoration: underline;
}

.woocommerce p.wc-terms-and-conditions {
    margin-bottom: 35px;
}

.woocommerce input#place_order {
    float: none;
    display: inline-block;
}

/* WC - CART PAGE: PAYPAL BUTTON */
/* WC - CART PAGE: PAYPAL BUTTON */
/* WC - CART PAGE: PAYPAL BUTTON */

.shop_table.cart .paypal_checkout_button {
    background-color: transparent !important;
}

.shop_table.cart .paypal_checkout_button img {
    width: 214px;
    display: inline;
    margin-top: -11px !important;
}

.woocommerce table.cart td.actions>.checkout-button,
.woocommerce-page table.cart td.actions>.checkout-button {
    margin-left: 0 !important;
}


/* WC - CART PAGE: Pay By Credit Card with Credit Card Logos */
/* WC - CART PAGE: Pay By Credit Card with Credit Card Logos */
/* WC - CART PAGE: Pay By Credit Card with Credit Card Logos */

#pay-by-creditcard-wrapper {
    position: relative;
    display: inline-block;
}

/* #pay-by-creditcard-wrapper .credit-cards-images {
    position: absolute;
    bottom: -37px;
    left: 11px;
    width: 199px;
    height: 36px;
    overflow: hidden;
}

#pay-by-creditcard-wrapper .credit-cards-images img {
    display: inline-block;
    position: absolute;
    bottom: 0;
    width: 199px;
    left: 0;
    height: 83px;
}
*/

/* WC CART PAGE: Complimentary aesthetic changes */
/* WC CART PAGE: Complimentary aesthetic changes */
/* WC CART PAGE: Complimentary aesthetic changes */

.woocommerce-page div.cart-collaterals {
    margin-top: 35px;
    border-top: 1px solid #eee;
    padding: 20px 0;
}

.woocommerce table.cart td.actions .checkout-button {
    top: 0;
}
.woocommerce table.cart td.actions input[name=update_cart] {
    top: 1px;
    margin-left: 10px;
}
.woocommerce table.cart td.actions input[type="submit"] {
    text-align: center;
}
.woocommerce table.cart .actions .checkout-related {
	float: right;
}
.woocommerce table.cart .actions .cart-related {
    float: left;
}

/* WC CART PAGE: Cart Totals & COLLATERALS */
/* WC CART PAGE: Cart Totals & COLLATERALS */
/* WC CART PAGE: Cart Totals & COLLATERALS */

@media only screen and (max-width: 1000px) {
	.woocommerce div.cart-collaterals div.cart_totals, 
	.woocommerce-page .div.cart-collaterals div.cart_totals {
		width: 28.3%
	}
}
@media only screen and (max-width: 768px) {
	.woocommerce div.cart-collaterals div.cart_totals, 
	.woocommerce-page .div.cart-collaterals div.cart_totals {
		width: 35.3%;
	}
}
@media only screen and (max-width: 600px) {
	
	.woocommerce-page div.cart-collaterals {
		border:none;
		    margin-top: 0;
	}
	
	.woocommerce-page div.cart-collaterals h2 {
		text-align: center
	}
	
	.woocommerce div.cart-collaterals div.cart_totals, 
	.woocommerce-page .div.cart-collaterals div.cart_totals {
		width: auto;
		float: none;
		margin: 0 auto;
	}
	.woocommerce div.cart_totals,
	.woocommerce div.cart_totals h2 {
		font-size: 22px;
		line-height: 36px;
	}
	.woocommerce div.cart_totals h2 {
		
	}
	.woocommerce div.cart_totals table {
		margin: 0 auto;
	}
}

@media only screen and (max-width: 1200px) { 
	.woocommerce table.cart .actions .checkout-related {
		float: none;
	}
	.woocommerce table.cart .actions .cart-related {
		margin: 20px 0;
		padding-bottom: 12px;
		border-bottom: 1px solid #ebebeb;
		float: none;
	}
	
	.woocommerce table.cart div.coupon,
    	.woocommerce-page table.cart div.coupon {
        	float: none;
        	
		
    	}
	.woocommerce table.cart td.actions {
		text-align: center;
	}
}
@media only screen and (max-width: 768px) {
   .shop_table.cart .paypal_checkout_button {
        padding: initial;
        margin-top: -11px;
        border: none;
    }
    .woocommerce .cart .actions input[type=submit][name=update_cart] {
        /*display: none*/
	margin-bottom: 1.5em !important;
    }
    #pay-by-creditcard-wrapper {
        
    }
}

@media only screen and (max-width: 600px) {
    .woocommerce .cart .actions input[type=submit][name=update_cart] {
    	margin-left:0
    }
    .woocommerce table.cart .actions .cart-related {
    	padding-bottom: 3px
    }
    #pay-by-creditcard-wrapper {
        float: none;
        display: block;
    }
    #pay-by-creditcard-wrapper a {
        display: block;
        top: 0;
        text-align: center;
    }
    /*#pay-by-creditcard-wrapper .credit-cards-images {
        left: 50%;
        margin-left: -100px;
        width: 200px;
        bottom: -47px;
    }*/
    .shop_table.cart .paypal_checkout_button img {
        float: none;
        display: block !important;
        margin: 0 auto !important;
    }
    .shop_table.cart .paypal_checkout_button {
            display: block;
    float: none;
    margin-top: 71px;
    border-top: 1px solid rgba(48, 145, 211, 0.41);

    }
    .shop_table.cart .paypal_checkout_button::before {
    	    content: 'or';
    font-size: 20px;
    font-style: italic;
    position: relative;
    top: -12px;
    background-color: #fff;
    width: 40px;
    display: block;
    margin: 0 auto;
    }
}


/* WC - CART: Cross-Sell Section */
/* WC - CART: Cross-Sell Section */
/* WC - CART: Cross-Sell Section */

.cross-sells {
    width: 62.7%;
    float: left;
}

.cross-sells .woocommerce ul.products li.product {
    width: 13%;
    margin: 0 7% 0 0;
}


/* WC - CART: UP-Sell Section */
/* WC - CART: UP-Sell Section */
/* WC - CART: UP-Sell Section */

.woocommerce div.product div.upsells {
    text-align: center
}
/*
.woocommerce div.product div.upsells ul.products {
    float: left;
    position: relative;
    left: 50%;
}

.woocommerce div.product div.upsells .product {
    width: 25%;
    margin: 5%;
    position: relative;
    left: -50%;
}
*/
div.upsells .gift-image,
.woocommerce .product .onsale:not(.out-of-stock-button) {
	display:none;
}

/* WC - PRODUCT PAGE SHIPPING PRICE (VIA VISUAL COMPOSER) */
body.single-product h4 {
	/*display: none*/
}

/* WC - Promotional Coupons (CUSTOM WORK) */
/* WC - Promotional Coupons (CUSTOM WORK) */
/* WC - Promotional Coupons (CUSTOM WORK) */

.cart_totals .cart-discount[class*=coupon-promotion],
#order_review .cart-discount[class*=coupon-promotion] {
	font-size: 1.25em;
	background: #e6ffe6;
}
.cart_totals .cart-discount[class*=coupon-promotion],
.cart_totals .coupon-value,
.cart_totals .coupon-yith_discount,
#order_review .cart-discount[class*=coupon-promotion], 
#order_review .coupon-value,
#order_review .coupon-yith_discount {
	font-weight: normal;
	color: #36c336;
}
.cart_totals .cart-discount[class*=coupon-promotion] .discount-title,
#order_review .cart-discount[class*=coupon-promotion] .discount-title {
	font-size: .7em;
    font-weight: normal;
    color: #609260;
}
.cart_totals .cart-discount[class*=coupon-promotion] .woocommerce-remove-coupon,
.cart_totals .cart-discount.coupon-free_shipping,
#order_review .cart-discount[class*=coupon-promotion] .woocommerce-remove-coupon,
#order_review .cart-discount.coupon-free_shipping {
	display: none
}

.woocommerce div.cart-collaterals .cart_totals .discount th {
	font-weight: normal;
}
.cart_totals .discount, 
.cart_totals .discount td,
#order_review .discount, 
#order_review .discount td  {
	color: #1abc9c;
}

.woocommerce div.cart-collaterals div.cart_totals table th,
.cart_totals h2 {
	padding-left: 10px;
}

/* Sales Banner on Product page. A CSS/HTML version of the original button */
/* <div class="sales-banner"><span class="top">Sale!</span><span class="middle">25% Off</span><span class="bottom">entire order</span></div> */

.sales-banner {
    background: #fff;
    width: 100px;
    height: 100px;
    border-radius: 104px;
    margin-right: 0;
    margin-left: auto;
    text-align: center;
    color: #fff;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-transform: uppercase;
}
.sales-banner span {
	
}
.sales-banner span.top {
	font-size: 1.3em;
}
.sales-banner span.middle {
	font-size: 1.5em;
    font-weight: bold;
    border-top: 2px solid;
    border-bottom: 2px solid;
}
.sales-banner span.bottom {
    font-size: .9em;
}

/* Mobile styling */
@media (max-width: 1000px) {
    
    /* WC Upsells/Cross-sells Styling (TABLET/PHONES) */
    /* WC Upsells/Cross-sells Styling (TABLET/PHONES) */
    /* WC Upsells/Cross-sells Styling (TABLET/PHONES) */
    
	.cross-sells {
	    width: 71.7%;
	}
	.columns-3 .cross-sells ul.products li.product {
    		width: 22%;
		margin-right: 8%;
	}

}
@media (max-width: 768px) {
    
    /* WC Upsells/Cross-sells Styling (TABLET PORTRAIT) */
    /* WC Upsells/Cross-sells Styling (TABLET PORTRAIT) */
    /* WC Upsells/Cross-sells Styling (TABLET PORTRAIT) */
    
	.cross-sells {
	    width: 44.7%;
	}
	/*.woocommerce div.product div.upsells .product,*/
	.woocommerce div.cart-collaterals div.cross-sells .product {
	    width: 44.89%;
    	    margin-right: 10.22%;
	}
}

@media only screen and (max-width: 600px) {
    
    /* WC Upsells/Cross-sells Styling (MOBILE) */
    /* WC Upsells/Cross-sells Styling (MOBILE) */
    /* WC Upsells/Cross-sells Styling (MOBILE) */
    
    .woocommerce div.product div.upsells ul.products,
    .woocommerce div.cart-collaterals div.cross-sells ul.products {
        float: none;
        position: relative;
        left: initial;
        margin: 15px -15px;
	text-align: center;
    }
    .woocommerce div.product div.upsells .product,
    .woocommerce div.cart-collaterals div.cross-sells .product {
        display: inline-block;
        width: 39%;
        margin: 5% !important;
        position: relative;
        left: initial;
    }
    .woocommerce ul.products li.product .add-to-cart-button-outer {
        position: static;
        top: initial;
        margin-top: 30px;
    }
    .woocommerce ul.products li.product:hover .image-wrapper img {
        opacity: initial;
    }
    .woocommerce ul.products li.product .add-to-cart-button,
    .woocommerce ul.products li.product:hover .add-to-cart-button {
        display: inline-block;
        opacity: initial;
        height: 39px;
        visibility: visible;
    }
    .woocommerce ul.products li.product .added_to_cart {
        opacity: 1;
        visibility: visible;
    }
    /* Stack inputs */
    .woocommerce-page.woocommerce-cart .quantity input {
        display: block;
        margin: 0 auto;
    }
    /* Make heading a little smaller */
    .woocommerce-page table.cart thead tr th {
        font-size: 10px;
    }
    /* Make product name larger */
    .woocommerce-cart .product-name {
        font-size: 15px;
    }
    .cart-collaterals .cross-sells {
        float: none;
        width: auto;
    }
}
@media (max-width: 767px) {
    /* Remove white background from the header on mobile devices */
    .header_bottom {
		background-color: transparent !important;
	}
}