/*
Theme Name: Sanaye3y
Theme URI: https://sanaye3y.com
Author: Sanaye3y
Author URI: https://sanaye3y.com
Description: Sanaye3y child theme based on Listeo. Custom directory theme for sanaye3y.com.
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: sanaye3y
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template: listeo
*/

/* RTL fixes for Sanaye3y (By Abdelhadi Touil) */
#titlebar p {
	display: none;
}
.mfp-content .small-dialog-header {
	right: -40px !important;
	text-align: center;
}
p i.fa-solid {
	right: 8px !important;
}
.checkboxes label {
	padding: 0 28px 0 0;
	margin-right: 0;
}
.checkboxes label:before {
	margin: 0;
	right: 0;
	left: initial;
}
.checkboxes label {
	padding: 0 25px;
}
.listeo-dialog, #sign-in-dialog, #claim-dialog, #small-dialog, #report-listing-dialog, #small-dialog-edit, #small-dialog-edit-review, .message-vendor textarea, .message-vendor textarea:focus, .message-vendor input:focus:not([type="submit"]), .message-vendor select, .message-vendor select:focus, .message-vendor input:not([type="submit"]) {
	text-align: right;
}
.listing-logo {
	margin-right: 0;
	margin-left: 30px;
}
.hosted-by-title {
	padding: 0 0 25px 70px;
}
.hosted-by-avatar {
	left: 0;
	right: initial;
}
.hosted-by-title a.hosted-by-link {
	display: inline-block;
	margin-top: 10px;
}
.lbp-modal-close {
	right: initial;
	left: 15px;
}
.mfp-content {
	text-align: right;
}
.lbp-btn-next i {
	margin-right: 6px;
	margin-left: 0;
	transform: rotate(180deg);
}
.messages-headline h4 span {
	margin: -5px 8px 0 0;
}
.message-action {
	float: left;
}
.messages-container-inner .message-by-headline span {
	left: 25px;
	right: initial;
}
.like-button-notlogged .like-icon, .like-button .like-icon {
    right: initial;
    left: auto;
    float: right;
    margin-left: 8px;
}
.share-buttons li i {
    left: 3px;
    right: initial;
}
.opening-hours ul li span {
    float: left;
    text-align: left;
}
.testimonials .testimonial-box {
    text-align: right;
    padding: 38px 38px 38px 100px !important;
}
.testimonials .testimonial:after {
    right: initial !important;
    left: 42px !important;
}
a.listing-details-nl {
	text-align: right;
}

.slider-controls-container .slider-controls {
    direction: rtl;
}
.rtl .slider-controls-container .slider-controls button.slide-m-prev {
    transform: rotate(0deg);
}
.rtl .slider-controls-container .slider-controls button.slide-m-next {
    transform: rotate(180deg);
}
@media (max-width: 991px) {
	.taxonomy-slider-wrapper {
		direction: ltr;
	}
}

#breadcrumbs ul li:before {
	content: "\f104";
}
a.read-more i.fa.fa-angle-right {
	transform: rotate(180deg);
}
.hosted-by-title a.hosted-by-link:after {
	margin: 0 5px 0 0;
	transform: rotate(180deg);
}
.blog-compact-item {
	height: 300px;
}
.blog-compact-item-content {
	padding: 0 20px;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: right;
	margin: 0 0 2.992em 3.8%;
}
/* Dashboard */
#my-listings-search-form button.button {
	right: 0;
	left: auto;
}
.dashboard-list-box.with-icons ul li {
	padding-right: 87px;
	padding-left: initial;
}
a.close-list-item {
	right: initial;
	left: 30px;
}
.lstb-tab-count {
	margin-right: 8px;
	margin-left: initial;
}
@media (min-width: 992px) {
	body.light-dashboard .dashboard-nav ul li a i {
		padding-right: initial;
		padding-left: 6px;
	}
}

/* General */
@media (min-width: 992px) {
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: right;
    }
}
.col-md-3:has(> .layout-switcher) {
	float: left;
}
@media screen and (max-width: 39.9375em) {
	#titlebar h1, #titlebar h2 {
		font-size: 32px;
		line-height: 40px;
		margin: 1px 0 3px 0;
		text-align: center;
	}
	nav#breadcrumbs {
		text-align: center;
	}
}
@media screen and (max-width: 63.9375em) {
	.mobile-nav-header {
		background: rgba(0, 0, 0, 0.5);
	}

	.mobile-nav-header .menu-icon-toggle::before, .mobile-nav-header .menu-icon-toggle::after {
		right: 30%;
	}
	#listeo_side_social_icons .new-footer-social-icons li {
		margin-left: 10px;
		margin-right: 0;
	}
}

/* WooCommerce Cart and Checkout */
.woocommerce-cart .woocommerce table.shop_table, .woocommerce-checkout .woocommerce table.shop_table, .woocommerce-cart .woocommerce table.shop_table th.product-price, .woocommerce-cart .woocommerce table.shop_table th.product-quantity, .woocommerce-cart .woocommerce table.shop_table th.product-subtotal, .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-price, .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-quantity, .woocommerce-cart .woocommerce table.shop_table .cart_item td.product-subtotal, .woocommerce-cart .woocommerce table.shop_table th.product-remove, .woocommerce-cart .woocommerce table.shop_table th.product-name, .woocommerce-cart .woocommerce table.shop_table th.product-price {
	text-align: right;
}
.variation- {
	margin: 0;
}
table.shop_table #coupon_code {
	float: right;
}
#payment ul.payment_methods li {
	text-align: right;
}
@media only screen and (max-width: 980px) {
	.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
		float: right;
	}
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
		text-align: left !important;
	}
	body .woocommerce .cart .button[name="apply_coupon"] {
		margin-right: 0;
		margin-left: 0;
	}
}