/*
Theme Name: Hendon
Theme URI: https://hendon.qodeinteractive.com
Description: A Contemporary Theme for Creative Business
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Text Domain: hendon
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Local RTL UI fixes */
html[dir="rtl"],
body.rtl {
	direction: rtl;
}

body.rtl #qodef-page-wrapper,
body.rtl #qodef-page-outer {
	overflow-x: hidden;
}

body.rtl .elementor-section,
body.rtl .elementor-container,
body.rtl .elementor-column,
body.rtl .elementor-widget-wrap,
body.rtl .qodef-grid,
body.rtl .qodef-grid-inner {
	direction: rtl;
}

body.rtl .qodef-grid > .qodef-grid-inner {
	display: flex;
	flex-wrap: wrap;
}

body.rtl .qodef-grid > .qodef-grid-inner > .qodef-grid-item,
body.rtl .elementor-widget-image img,
body.rtl .qodef-e-media img {
	max-width: 100%;
}

body.rtl .swiper-container-rtl .swiper-button-prev.swiper-button-outside,
body.rtl .swiper-container-rtl .swiper-button-next.swiper-button-outside {
	transform: translateY(-50%);
}

body.rtl input,
body.rtl textarea,
body.rtl select {
	direction: rtl;
	text-align: right;
}

body.rtl input[type="email"],
body.rtl input[type="url"] {
	direction: ltr;
	text-align: left;
}

@media only screen and (max-width: 1024px) {
	body.rtl #qodef-page-inner {
		padding-top: 80px;
		padding-bottom: 90px;
	}

	body.rtl .elementor-section.elementor-section-boxed > .elementor-container {
		max-width: min(100%, 92vw);
	}

	body.rtl .elementor-widget-wrap {
		align-content: flex-start;
	}

	body.rtl .qodef-grid > .qodef-grid-inner {
		margin-left: 0;
		margin-right: 0;
	}
}

@media only screen and (max-width: 767px) {
	body.rtl #qodef-page-inner {
		padding-top: 56px;
		padding-bottom: 64px;
	}

	body.rtl .elementor-section,
	body.rtl .elementor-top-section {
		min-height: 0;
	}

	body.rtl .elementor-column,
	body.rtl .elementor-column.elementor-col-50,
	body.rtl .elementor-column.elementor-col-33,
	body.rtl .elementor-column.elementor-col-25 {
		width: 100%;
	}

	body.rtl .elementor-widget-spacer .elementor-spacer-inner {
		height: clamp(24px, 11vw, 72px) !important;
	}

	body.rtl .elementor-widget-image,
	body.rtl .elementor-widget-text-editor,
	body.rtl .elementor-widget-heading,
	body.rtl .elementor-widget-shortcode {
		max-width: 100%;
	}

	body.rtl .elementor-widget-image img {
		height: auto;
		object-fit: contain;
	}

	body.rtl .qodef-grid > .qodef-grid-inner > .qodef-grid-item {
		float: none;
		width: 100% !important;
		left: auto !important;
		right: auto !important;
		margin-left: 0;
		margin-right: 0;
	}

	body.rtl .qodef-swiper-container,
	body.rtl .swiper-container,
	body.rtl .swiper-wrapper,
	body.rtl .swiper-slide {
		max-width: 100vw;
	}

	body.rtl .swiper-button-prev,
	body.rtl .swiper-button-next {
		top: 50%;
	}

	body.rtl .wpcf7,
	body.rtl .wpcf7-form {
		width: min(100%, 420px);
		margin-left: auto;
		margin-right: auto;
	}

	body.rtl .wpcf7-form p {
		margin-bottom: 14px;
	}
}
