/*
 Theme Name:   Divi Child
 Theme URI:    http://cooldesign.co.za
 Description:  A Child Theme built for Divi
 Author:       Cool Design Digital Agency
 Author URI:   http://cooldesign.co.za
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

=========================================================================================== 
   DOSCO Online Shop
=========================================================================================== */

/* GENERAL STYLING */

/* WIDEN THE SCREEN CONTAINER - PROVIDES WIDER BLOG PAGES
================================================================= */
.container {
	max-width: 1600px !important;
}

/* VERTICALLY ALIGN A COLUMN
================================================================== */
.col-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

/* LINK UNDERLINE ON HOVER
================================================================== */
.link-hover-underline a {
/*	color: #fff !important; */
}

.link-hover-underline a:hover {
	color: #fff !important;
	font-weight: 700 !important;
	border-bottom: solid 2px;
}
/*
================================================================= */
/* BUTTONS 
================================================================= */
/* Back to Top button
------------------------------------------------------- */
.et_pb_scroll_top.et-pb-icon {
	background: #e04b4b;  /* red */
}

/* Red Button
------------------------------------------------------- */
.button-red {
	background-color: #e04b4b;  /* lighter red */
	border: none;
	border-radius: 5px;
	box-shadow: none;
	color: #000000;
	cursor: pointer;
	padding: 5px 8px;
	margin-bottom: 7px;
	width: auto;
}

.button-red:hover {
	background-color: #d90505; /* slightly darker red */
	text-decoration: none !important; 
	padding: 5px 12px;
	font-weight: bold;
}
/*
================================================================= */
/* HEADER STYLING 
================================================================= */
/* Paint a 3-pixel red border above the top menu
------------------------------------------------------- */
#top-header {
	border-top: 3px solid #e70012; /* Kawasaki red */
}

/* Add a SHADOW below the main header
------------------------------------------------------- */
#main-header { 
	-webkit-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24);
	-moz-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24);
	box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24);
}

/* Add a SHADOW to the Fixed Header too
------------------------------------------------------- */
#main-header.et-fixed-header { 
	-webkit-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24)!important;
	-moz-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24)!important;
	box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24)!important;
}

/*
================================================================= */
/* MAIN MENU STYLING 
================================================================= */
/* Hide element on Desktop 
------------------------------------------------------- */
.hide-on-desktop {
	font-weight: 700;  /* for when it displays on mobiles */
}

@media only screen and (min-width: 981px) {
    .hide-on-desktop {
        display: none !important;
    }
}

/* Hide element on Tablet/Phone
------------------------------------------------------- */
@media only screen and (max-width: 980px) {
    .hide-on-mobile-tablet {
        display: none !important;
    }
}

/* Increase sub-menu width - this is the sub-menu text width
------------------------------------------------------- */
#top-menu li li a {
	padding: 3px 20px; 
	width: 340px;   /* was 210px */
}

/* Sub-menu background width
------------------------------------------------------- */
.nav li ul  {
	width: 380px;
}
/*

 * Highlight 'SHOP ONLINE' with a red border 
------------------------------------------------------- */
@media only screen and ( min-width: 981px ) { 
	#top-menu {
		margin-bottom: 3px;
	}
	
	.menu-item-red-border a {
		color: #333 !important;
	}

	li.menu-item-red-border {
    	text-align: center; 
		border: 3px solid #e70012;
    	padding: 12px 13px 12px 12px !important;
		margin-right: 10px !important;
		border-radius: 50px 50px 50px 50px;
		height: 42px;
	}	
}

/* Main menu hover colors
------------------------------------------------------- */
#top-menu-nav > ul > li > a:hover  {
	opacity: 1.0; 
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out; 
}

#et-secondary-menu > ul > li > a:hover,
#et-info-email:hover,
.et-social-icons a:hover {
	color: #ffffff;
	text-decoration: underline;
	opacity: 1.0; 
	font-weight: bold;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

#top-menu-nav #top-menu a:hover { 
	color: red !important;  /* red */
/*	color: #e04b4b !important;  /* lighter red */
	opacity: 1.0; 
}

/*
================================================================= */
/* BLOG WP-PAGENAVI STYLING
================================================================= */
/* Center the pagination
--------------------------------------------------------- */
.wp-pagenavi { text-align:center; }

/* Add a border */
.wp-pagenavi span, .wp-pagenavi a, .wp-pagenavi :last-child { 
    border: 1px solid #bbb !important; 
    padding: 6px 12px; 
    margin: 0;  
}
.wp-pagenavi span, .wp-pagenavi a { border-right: none !important; }

/* Style the default text
--------------------------------------------------------- */
.wp-pagenavi span, .wp-pagenavi a { 
    font-weight: bold !important; 
	background-color: #f6f6f6 !important;
    color: #666 !important;   /* old color: #999  */
}

/* Style the current / hovered page link
--------------------------------------------------------- */
.wp-pagenavi span.current,
.wp-pagenavi a:hover { 
    color: #fff !important;  /* old color: #666  */
    background-color: #4d70d7 !important;  /* medium-light blue  */
}

/* Style the page count text
--------------------------------------------------------- */
.wp-pagenavi :first-child { color: #666 !important; }

/* Add text to the "next" link
--------------------------------------------------------- */
.wp-pagenavi .nextpostslink:before { content: 'Next '; }
.wp-pagenavi .previouspostslink:after { content: ' Prev'; }


/*
================================================================= */
/* SHOP PAGE STYLING
================================================================= */
/* Reduce line height on quote message
--------------------------------------------------------- */
.woocommerce ul.products li.product .price {
	padding-top: 5px !important;
	line-height: 1.4em !important;	
}

/*
================================================================= */
/* PRODUCT PAGE STYLING
================================================================= */
/* Old price crossed out - make horizontal line darker blue.
--------------------------------------------------------- */
.et-db #et-boc .et-l .et_pb_wc_price .price del {
	color: #2468a5 !important;
}

.woocommerce ul.products li.product .price {
	color: #2468a5 !important;
}

/* Request for quote buttons on Shop Page
--------------------------------------------------------- */
.afrfqbt {
	background-color: #fff !important;
	border: solid 2px #2468a5 !important;
	border-radius: 50px !important;
	color: #2468a5 !important;
	font-size: 14px !important;
}
.afrfqbt:after {
	font-size: 20px !important;
}
	
/*
================================================================= */
/* SHOPPING CART STYLING
================================================================= */
/* Change font sizes of the two Carts */
#top-header .et-cart-info,
ul li#quote-li .totalitems {
	font-size: 16px !important;
}
/* Verically align the Quote cart dashicon */
#top-header .dashiconsc {
	margin-top: -4px !important;
	margin-right: 7px !important;
}
/* --------------------------------------------------------
/* TRIAL WP MENU CART */
/* Change font size of the new replacement WP Menu Cart 
li.wpmenucartli a.wpmenucart-contents span {
	font-size: 16px !important;
}
/* Add some space betwen WP Menu Cart and Quote Cart
.wpmenucart-contents .amount {
	margin-right: 20px !important;
}
/* Vertically align the whole WP Cart Menu shifted down by the icon 
.wpmenucart-icon-shopping-cart-0 {
	font-size: 20px !important;
	margin-top: -10px !important;
}
-----------------------------------------------------------

/* Change 'Return to Shop' button to red on an Empty Cart
--------------------------------------------------------- 
.wc-backward  {
	background-color: #e04b4b !important;
	border: none !important;
	border-radius: 50px !important;
	color: #fff !important;
}
*/
.wc-backward  {
	display: none !important;	/* hide button */
}

/* Change 'Your Cart is Empty' notice to be centred and in bold
--------------------------------------------------------- */
.woocommerce-info {
	text-align: center !important;
	font-weight: 600 !important;
}

/* Change coumn labels above the items to white text on a blue background
--------------------------------------------------------- */
#order_review_heading {
	padding-top: 30px;
}

th.product-remove,
th.product-thumbnail,
th.product-name,
th.product-price,
th.product-quantity,
th.product-subtotal, 
th.product-total,
.shop_table_responsive th {
	background-color: #2468a5;
	color: #fff !important;
}

/* Increase the size of the Thumbnail from 32px
--------------------------------------------------------- */
.woocommerce-cart table.cart img {
	width: 90px !important;
}
/* Blue product name in bold
--------------------------------------------------------- */
.woocommerce .product-name a {
	color: #2468a5 !important;
	font-weight: 700 !important;
}

/* Blue Rand values in bold
--------------------------------------------------------- */
.woocommerce-Price-amount {
	color: #2468a5 !important;
	font-weight: 700 !important;
}

/* Make quantity counter black, turning blue on focus
--------------------------------------------------------- */
.woocommerce-page .quantity input.qty {
	background-color: #000 !important;
	font-weight: 700 !important;
}
.woocommerce-page .quantity input.qty:focus {
	background-color: #2468a5 !important;
	font-weight: 700 !important;
}

/* Change 'Update Cart' button to red
--------------------------------------------------------- */ 
.woocommerce button.button    {
	background-color: #e04b4b !important;
	border: none !important;
	border-radius: 50px !important;
	color: #fff !important;
}
.woocommerce-cart-form__contents .actions .button:hover {
	opacity: 1 !important; 
}


/* Change 'Empty Cart' button to blue
--------------------------------------------------------- */
.wecb_emptycart {
	background-color: #2468a5 !important;
	opacity: 0.8  !important;
	border: none !important;
	border-radius: 50px !important;
	color: #fff !important;
}
.wecb_emptycart:hover {
	opacity: 1  !important;
}

/* Hide shipping to wording
--------------------------------------------------------- */
.woocommerce-shipping-destination {
	display: none !important;
}

/* Change 'Change Checkout' button to red
--------------------------------------------------------- */
.checkout-button {
	background-color: #e04b4b !important;
	border: none !important;
	border-radius: 50px !important;
	color: #fff !important;
}

/*
================================================================= */
/* CHECKOUT STYLING
================================================================= */
/* Payment Method EFT Label - larger and in bold 
--------------------------------------------------------- */
.woocommerce-checkout #payment ul.payment_methods li {
	font-size: 18px !important;
	font-weight: bold !important;
}

/*
================================================================= */
/* REQUEST FOR QUOTE PAGE STYLING
================================================================= */
/* This is the red 'VIEW QUOTE' button on the Shop and Products pages
--------------------------------------------------------- */
.added_to_quote {
	color: red !important;
	font-weight: bold !important;
	font-size: 18px !important;
}

/* Change 'Your quote is currently empty' notice to be centred with a larger, bold font
--------------------------------------------------------- */
.addify .cart-empty {
	color: #fff;
	background-color: #2ea3f2;
	font-size: 20px !important;
	font-weight: 600 !important;
	text-align: center !important;
	padding-top: 15px;
	padding-bottom: 15px;
}


/* Change 'Return to Shop' button to red on an Empty Cart
--------------------------------------------------------- */
#post-241907 .wc-backward  {
	background-color: #e04b4b !important;
	border: none !important;
	border-radius: 50px !important;
	color: #fff !important;
	font-size: 18px;
	padding: 10px 20px;
	margin-bottom: 50px;
}
#post-241907 .wc-backward:hover  {
	padding: 10px 25px;
}

/* Make quantity counter black, turning blue on focus
--------------------------------------------------------- */
.woocommerce .quantity input.qty {
	background-color: #000 !important;
	font-weight: 700 !important;
}
.woocommerce .quantity input.qty:focus {
	background-color: #2468a5 !important;
	font-weight: 700 !important;
}

/* Change 'Update Quote' button to red
--------------------------------------------------------- */
.afrfq_update_quote_btn {
	background-color: #e04b4b !important;
	opacity: 0.8 !important;
	border: none !important;
	border-radius: 50px !important;
	color: #fff !important;
}
.afrfq_update_quote_btn:hover {
	opacity: 1 !important; 
}

/* Hide the button instead 
.afrfq_update_quote_btn {
		display: none !important;	
}

/* Change 'Place Quote' button to red
--------------------------------------------------------- */
.addify_checkout_place_quote {
	background-color: #e04b4b !important;
	border: none !important;
	border-radius: 50px !important;
	color: #fff !important;
}

/* Widen table containing form fields
--------------------------------------------------------- */
div.af_quote_fields textarea,
div.af_quote_fields input{
	width: 200% !important;
	font-size: 14px !important;	
	line-height: 1.5 !important;
	padding-left: 10px !important;
}

div.af_quote_fields input{
	line-height: 2.5 !important;
}







