/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Add fonts */
@font-face{font-family:'IYxv';src:url('assets/fonts/IYx/IRANYekanXVF.woff') format('woff-variations'),url('assets/fonts/IYx/IRANYekanXVF.woff') format('woff');font-weight:100 1000;font-display:fallback;}
@font-face{font-family:IYx;src:url('assets/fonts/IYx/staticfonts/IRANYekanX-regular.woff') format('woff');}
@font-face{font-family:IYx;src:url('assets/fonts/IYx/staticfonts/IRANYekanX-bold.woff') format('woff');font-weight:700;}
/*
font-variation-settings: "wght" 800, "dots" 4;
*fa-num
-moz-font-feature-settings: "ss02";
-webkit-font-feature-settings: "ss02";
font-feature-settings: "ss02";
*mono-space
-moz-font-feature-settings: "ss03";
-webkit-font-feature-settings: "ss03";
font-feature-settings: "ss03";
*/

/* Set fonts */
.irxv,body,h1,h2,h3,h4,h5,h6,button,input,select,span.fusion-button-text,.fusion-rollover-title-link,.fusion-rollover-categories a,.fusion-content-tb,.fusion-text, .woocommerce-Tabs-panel,.woocommerce-product-attributes-item__label,.awb-menu__account-li,.awb-menu__li,.wc-block-components-notice-banner,.ajax_add_to_cart,.fusion-woo-cart_table thead tr th,.fusion-woo-cart_table tbody tr td,div.fusion-woo-cart-totals-wrapper table.shop_table tbody tr th,div.fusion-woo-cart-totals-wrapper table.shop_table tbody tr td,.wc-proceed-to-checkout a,.fusion-woo-checkout-order-review-tb tbody tr td,.fusion-woo-checkout-order-review-tb tfoot tr th,.fusion-woo-checkout-order-review-tb .shop_table tfoot .order-total .amount, .fusion-woo-checkout-order-review-tb tfoot tr td{font-family:IYx,tahoma !important;}
@supports(font-variation-settings: normal){
	.irxv,body,h1,h2,h3,h4,h5,h6,button,input,select,span.fusion-button-text,.fusion-rollover-title-link,.fusion-rollover-categories a,.fusion-content-tb,.fusion-text, .woocommerce-Tabs-panel,.woocommerce-product-attributes-item__label,.awb-menu__account-li,.awb-menu__li,.wc-block-components-notice-banner,.ajax_add_to_cart,.fusion-woo-cart_table thead tr th,.fusion-woo-cart_table tbody tr td,div.fusion-woo-cart-totals-wrapper table.shop_table tbody tr th,div.fusion-woo-cart-totals-wrapper table.shop_table tbody tr td,.wc-proceed-to-checkout a,.fusion-woo-checkout-order-review-tb tbody tr td,.fusion-woo-checkout-order-review-tb tfoot tr th,.fusion-woo-checkout-order-review-tb .shop_table tfoot .order-total .amount, .fusion-woo-checkout-order-review-tb tfoot tr td{
	font-family:'IYxv',tahoma !important;
	font-variation-settings:"dots" 2;
}
}
h1,h2{font-variation-settings:"wght" 800;font-weight:800;font-variation-settings:"dots" 2}h3,h4{font-variation-settings:"wght" 700;font-weight:700;font-variation-settings:"dots" 2}h5,h6{font-variation-settings:"wght" 600;font-weight:600;font-variation-settings:"dots" 2}
.fa, .fas{font-family:"Font Awesome 5 Free" !important}
.searchform .fusion-search-form-content .fusion-search-button input[type=submit], .woocommerce form .show-password-input{font-family: awb-icons !important}

/* Farsi Number */
.fa-num, bdi, .awb-quantity, .awb-menu .fusion-widget-cart-number, .woocommerce-Price-amount, .woosw-item--time, .woosw-count-wrapper, .fusion-meta-tb{
	-moz-font-feature-settings: "ss02";
	-webkit-font-feature-settings: "ss02";
	font-feature-settings: "ss02";
}



/* Wishlist */
.woosw-items img{
	border-radius: 8px;
}

.ajax_add_to_cart{
    font-size: .9em !important;
    padding: 10px 20px !important;
}

.woosw-popup .woosw-items .woosw-item .woosw-item-inner > div{
	margin: 0 0 0 10px;
}

.woosw-btn{
	cursor: pointer;
    width: fit-content;
    padding: 10px 15px;
    margin-top: 15px;
    background: #fff;
    border: 1px solid #f65d4e;
    border-radius: 6px;
    color: #f65d4e;
	transition: all .3s ease;
}

.woosw-btn-icon{
	vertical-align: middle;
}

.woosw-btn-text{
	margin: 0 5px 0 0 !important;
}

.woosw-btn-added{
	background: #f65d4e;
	color: #fff;
}

.woosw-popup-content-bot a:hover{
	color: #f65d4e !important;
	border-color: #f65d4e !important;
}
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice{
	background: #f65d4e !important;
}


#woo_menu .awb-menu__sub-ul{
    border: 1px solid var(--awb-color5);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 7px -1px var(--awb-color5);
}

.fusion-search-results.suggestions-added{
	border-radius: 20px !important;
    border: 1px solid #bbb;
}

.fusion-search-results.suggestions-added img{
	border-radius: 5px
}

.fusion-search-post-title{
	font-weight: bold;
}

#product_gallery .flex-control-thumbs img{
    border-radius: 4px;
}

#product_gallery .flex-viewport{
    border-radius: 10px;
    box-shadow: 0 0 5px -2px;
}

.woo-tabs-horizontal .woocommerce-tabs>.tabs li {
    float: right !important;
}

.awb-menu .fusion-widget-cart-number {
    position: absolute;
    top: -5px;
    right: -5px;
    box-sizing: border-box !important;
    width: 18px !important;
    height: 18px !important;
    font-size: .65em;
    background: #f65d4e;
	padding: 3px 0 0 !important;
}

.quantity.buttons_added{
	direction: ltr;
    margin: 0 !important;
}

.wc-block-components-notice-banner:focus-visible {
    outline: none !important;
    box-shadow: 0 0 8px -2px;
}

.fusion-avatar-circle .attachment-recent-works-thumbnail{
	border-radius: 5px !important;
}

.awb-menu__sub-li.fusion-menu-cart-item a {
    justify-content: start !important;
}

.awb-menu__sub-li.fusion-menu-cart-item img{
	margin-inline-end: 10px !important;
}

.woocommerce-Tabs-panel {
    border-radius: 5px 0 5px 5px;
}

.awb-menu__sub-li .fusion-menu-cart-item-quantity, .awb-menu__sub-li .fusion-menu-cart-item-title{
	text-align: right !important;
}

.author-type{
	background: #f65d4e;
    color: #fff;
    padding: 1px 10px;
    font-size: .7em;
    display: inline-block;
    margin-right: auto;
    border-radius: 5px;
}
.author_table tr td:first-child {
    max-width: 30px;
}

.ab-footer{
	color: #fff;
	text-align: center;
}
.ab-footer a {
    color: #ddd;
}
.ab-footer img {
    width: 20px;
    margin-right: 5px;
	vertical-align: middle;
}

.auth-list{
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.auth-item{
    width: calc(50% - 10px);
    padding: 8px 10px;
    border-radius: 5px;
    border: solid 1px #bbb;
	margin-bottom: 20px;
	transition: all .3s ease;
}
.auth-item:hover{
	border-color: #f65d4e;
}
.auth-item img{
	height: 40px;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 100%;
}
.auth-item span{
	font-size: .7em;
}

.all-slider .awb-swiper-button {
    transform: rotateY(180deg) translateY(-50%);
}

.top-book-image img {
    border-radius: 7px;
    border: 1px solid #ddd;
}
.top-book p{
	text-align: justify;
}


/* Wishlist */
.wish-page .woosw-items{
	width: 100%
}
.wish-page .woosw-item--info{
	min-width: 200px;
}
.wish-page .woosw-item--atc{
	text-align: left;
}

#category-post a{
    color: #fff;
}
#category-post a:hover{
	color: #f65d4e;
}

.page-headers > * {
    font-weight: 700 !important;
}

h2.yikes-custom-woo-tab-title{
    font-size: 20px !important;
}


/* Cart */
.rtl .shop_table .product-thumbnail img{
	border-radius: 6px
}
.rtl.fusion-body .quantity .minus, .rtl.fusion-body .quantity .plus, .rtl.fusion-body .quantity .minus:hover, .rtl.fusion-body .quantity .plus:hover{
	background-color: #f65d4e;
}
.cart_item .quantity{
	width: 90px !important;
	margin: 0 auto !important;
}
.cart_item .quantity input{
	width: 30px !important;
	height: 30px !important;
}
.wc-proceed-to-checkout a.checkout-button{
	margin-bottom: 0 !important;
}
div.fusion-woo-cart-totals-wrapper ul li label{
	padding-left: 0;
}
.wc-proceed-to-checkout a {
    font-size: .9em !important;
}
.fusion-woo-cart_table thead tr th{
	padding-bottom: 10px !important;
}
#off-form button, #off-form input{
	padding: 6px 18px;
    height: 40px;
}
#off-form input{
	margin: 0 !important;
}
#ct-cart table * {
    font-size: .88rem !important;
}
.woocommerce-shipping-methods label{
	padding-left: 0 !important;
}
#ct-cart .woocommerce-shipping-destination{
	margin-bottom: 0;
}


/* Checkout */
#checkout-form {
    font-size: .9em;
}
#checkout-form input, #checkout-form span.select2-selection, #checkout-form .select2-selection__rendered, #checkout-form .select2-selection__arrow{
    height: 40px;
}
#checkout-form .select2-selection__rendered{
	line-height: 40px;
}
.fusion-woo-checkout-order-review-tb ul li>label:after, .fusion-woo-checkout-payment-tb ul li>label:after{
	right: 24px;
	left: auto !important;
}
.fusion-woo-checkout-order-review-tb ul li>label:before, .fusion-woo-checkout-payment-tb ul li>label:before{
	right: 20px;
	left: auto !important;
}
.fusion-woo-checkout-payment-tb .woocommerce-checkout-payment ul.wc_payment_methods li>label{
	padding: 15px 45px 15px 15px !important;
}
.woocommerce-privacy-policy-text{
	text-align: justify;
    font-size: .85em;
}
ul.wc_payment_methods{
	border-radius: 6px;
    overflow: hidden;
}
.fusion-woo-checkout-order-review-tb tfoot tr th{
	text-align: right !important;
}
.checkout .shop_table tfoot th{
	width: 50% !important;
}

.avada-myaccount-user{
	display: none !important;
}




@media only screen and (max-width: 800px){
	.woo-tabs-horizontal .woocommerce-tabs>.tabs li{
		float: none !important;
	}
	
	.auth-item{
		width: 100%;
	}
	
	.ab-footer{
	    font-size: .8em;
    }
    .ab-footer img{
	    width: 17px;
    }
}


@media only screen and (min-width: 800px){
	/* Checkout */
	#billing_city_field, #billing_state_field{
		width: calc(50% - 10px);
	}
	#billing_state_field{
		float: right
	}
	#billing_city_field{
		float: left;
	}
}

