/**
* Theme Name: Diza Child
* Description: This is a child theme for Diza
* Author: Thembay
* Author URI: https://thembay.com/
* Version: 1.2.1
* Template: diza
*/


/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

/* 1. Header Customizations
 * 2. My Account Customizations
 * 3. Mobile Customizations
 * 4. Product Table Customizations
 * 5. Cart Customizations
 * 6. Home Page Customizations


/*  [ 1. Header Customizations ]
- - - - - - - - - - - - - - - - - - - - */
/**Rep info hover**/
	#repdetails .account-menu.sub-menu {
		 left: -120px !important;
	}
	#repdetails .account-menu ul li:last-child{
		margin: 0 !important;
		border: none !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		color: #000  !important;
	}
	#repdetails .account-menu ul li:last-child a, .tooltip-content{
		color: #000;
	}
	#repdetails .account-menu ul li{
		padding-left: 5px;
	}
	#repdetails .account-menu ul li#ur-title {
		font-weight: bold;
		padding-left: 0;
	}
	.tbay-login .account-menu{
		top: calc(100% - -13px);
	}
/**Rep avatar image & customer image **/
	.repimg{
		width:150px !important;
		height:150px !important;
		object-fit:cover !important;
		border-radius: 50% !important;
	}
	#header .repimg, .head-customer-avatar{
		width:50px !important;
		height:50px !important;
		object-fit:cover !important;
		border-radius: 50% !important;
	}
	span.head-customer-avatar-name a:hover, #repdetails .account-menu ul li:last-child a:hover{
		color: var(--tb-theme-color);
	}

/**hides update button**/
	.show-if-value.image-wrap {
		margin-bottom: -110px;
		z-index: 10;
	}
	.acf-form-submit {
		margin-left: 10px;
	}
	.hide-if-value {
		display: block;
		margin-left: 10px;
	}
	


/*  [ 2. My Account Customizations ]
- - - - - - - - - - - - - - - - - - - - */
/**Customer Avatar Image**/
	.acf-image-uploader img {
    	max-width: 160px !important;
	}
	.acf-field-632224370ba30 .acf-label { /*Hides avatar label above image*/
		display: none;
	}
	#message.updated { /*Hides post updated message after changing avatar*/
		display: none;
	}
	.acf-actions.-hover { /*shows the edit and x buttno always*/
  		display: block !important;
		max-width: 45px;
		padding: 0;
		margin-right: -35px !important;
	}
	.acf-icon.dark {
		background: #f7f7f7;
		color: #828b90;
		margin: 5px;
	}
	a.acf-icon.dark:hover{
		background: #f7f7f7;
		color: #9fc4d1;
	}
	.acf-image-uploader .image-wrap img{
		object-fit: cover;
		border-radius: 50%;
		border: 1px solid #e0e6eb;
	}
	.acf-field.acf-field-image.acf-field-632224370ba30 {
		padding: 0 !important;
		margin-bottom: 10px;
	}
	.acf-image-uploader a.acf-button.button {
		display: block;
		width: 100px;
	}
@media (max-width: 767px){
	.tbay-my-account-avatar {
		display:none !important;
	}}
/** My Account Tabs**/
	@media (min-width: 1025px){
		.woocommerce .woocommerce-MyAccount-navigation, .woocommerce .woocommerce-MyAccount-content {
			padding-top: 0;
		}
	}
	.woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--my-uroviu-rep a:before {
		font-family: "Font Awesome 5 Free";
		font-weight: 400;
		content: "\f2b5";
	}
	.woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--subscriptions a:before {
		font-family: "Font Awesome 5 Free";
		font-weight: 400;
		content: "\f274";
	}
/** My UR Rep Details**/
	.my-account-rep#repdetails {
		display: flex;
	}
	.rep-content{
		padding: 20px;
		color: #000;
		line-height: 1.5em;
	}
	.rep-content a{
		color: #000;		
	}
	.rep-content a:hover{
		color: var(--tb-theme-color);		
	}
	h3#ur-title {
		margin-bottom: 10px;
	}
	.rep-content i {
		padding-right: 10px;
		color: var(--tb-theme-color);
	}


	/*Affiliation section**/
	.elementor-widget-woocommerce-my-account .afreg_extra_fields > fieldset > p:nth-child(1){
		display:none;
	}

	/*Order Action Buttons**/
	.woocommerce-orders-table__cell-order-actions a, .order-actions a {
		height: auto;
		padding: 5px 10px !important;
		font-size: 1em !important;
		line-height: 1em !important;
		margin: 2px !important;
		font-weight: bold !important;
		font-family: inherit !important;
		color: #fff !important;
		background-color: #f16925 !important;
	}
	.woocommerce-orders-table__cell-order-actions a:hover, .order-actions a:hover {
		background-color: var(--tb-theme-color-second) !important;
	}


/*  [ 3. Mobile Customizations ]
- - - - - - - - - - - - - - - - - - - - */
@media (max-width: 1199px){
	.mmenu-account #main-mobile-third-mmenu-wrapper  ul li a i {
		min-width: 25px !important;
	}
	
}
#custom-login-wrapper{
	display:none !important;
}


/*  [ 4. Product Table Customizations ]
- - - - - - - - - - - - - - - - - - - - */
	  

.woocommerce-shipping-fields #shipping_state:disabled,
.woocommerce-shipping-fields input:read-only, 
.woocommerce-billing-fields #billing_state:disabled,
.woocommerce-billing-fields input:read-only {
  background-color: #fafafa;
  border: 0 !important;
}   

.wc-product-table .product .quantity>input.qty{
	border: 1px solid #e0e6ea !important;
}
.quantity .box{
	align-items: center;
	float: right !important;
}

.wc-product-table .product .quantity label.screen-reader-text {
    display: inline;
    height: auto !important;
    margin: auto !important;
    width: auto !important;
    position: relative !important;
    top: 0 !important;
    clip-path: none !important;
	padding-right: 5px;
}

.wc-product-table .product .quantity input.qty{
	float: right;
}

.wc-quick-view-product-summary .cart .shop-now .quantity {
    border: 1px solid gray;
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}


/*  [ 5. Cart Customizations ]
- - - - - - - - - - - - - - - - - - - - */
.wcsatt-add-cart-to-subscription-action-wrapper{
	    padding: 0 20px;
}
.wcsatt-add-cart-to-subscription-intro{
	margin: 10px !important;
}
.wcsatt-add-cart-to-subscription-action-input{
	right: 20px;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button{
	margin-bottom: 10px;
}
span.product-subtotal.price{
	padding-left: 10px;
}
.form-control, form input:not([type="file"]), input#ywqa_ask_question_text{
	height: auto;
}
.tb-cart-form .coupon label, .woocommerce-form-coupon-toggle {
    display: none;
}
form.checkout_coupon.woocommerce-form-coupon{
	display:block !important;
}


/*  [ 6. Home Page Customizations ]
- - - - - - - - - - - - - - - - - - - - */
/**Hide Recent Orders Header**/
.home-orders .elementor-shortcode h2{
	display:none;
}