/* =============================================================================
   RTL Styles for Jesper Theme - Persian / Arabic Support
   Place this file in: /wp-content/themes/jesper/style-rtl.css
   ============================================================================= */

html, body {
	direction: rtl;
	unicode-bidi: embed;
}

/* ---- Alignment Helpers ---- */
.alignleft {
	float: right !important;
	margin: 0 0 20px 20px !important;
}
.alignright {
	float: left !important;
	margin: 0 20px 20px 0 !important;
	clear: both;
}
.aligncenter {
	margin-left: auto !important;
	margin-right: auto !important;
	clear: both;
}

/* ---- Grid System (tt-col-*) ---- */
[class*="tt-col-"] {
	float: right;
}
.tt-row {
	direction: rtl;
	text-align: right;
}

/* ---- Navigation Menu ---- */
.main-navigation ul {
	padding-right: 0;
	text-align: right;
}
.main-navigation li {
	float: right;
	margin-left: 20px;
	margin-right: 0;
}
.main-navigation li:last-child {
	margin-left: 0;
}
.main-navigation ul ul {
	right: 0;
	left: auto;
	text-align: right;
}
.main-navigation ul ul li {
	float: none;
	text-align: right;
}

/* ---- Search Form ---- */
.searh-inner input[type="text"] {
	padding-right: 12px;
	padding-left: 40px;
	text-align: right;
}
.tt-widget-search-btn {
	right: auto;
	left: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

/* ---- Widgets & Sidebars ---- */
.widget {
	text-align: right;
}
.widget ul {
	padding-right: 0;
	padding-left: 20px;
}
.widget ul li {
	margin-right: 0;
	margin-left: 10px;
}
.sidebar-heading,
.tt-footer-widget-heading {
	text-align: right;
}

/* ---- Footer Columns ---- */
#sidebar-4 .tt-col-xl-4,
#sidebar-4 .tt-col-xl-3,
#sidebar-4 .tt-col-sm-6 {
	float: right;
}

/* ---- Comments ---- */
.tt-comment-body {
	direction: rtl;
	text-align: right;
}
.tt-comment-meta {
	text-align: right;
}
.tt-comment-reply {
	float: left;
	margin-right: 10px;
	margin-left: 0;
}
.tt-comment-avatar {
	float: right;
	margin-left: 15px;
	margin-right: 0;
}

/* ---- Blog & Content ---- */
.tt-blog-post-tags {
	clear: both;
	text-align: right;
}
.entry-content p,
.entry-content li {
	text-align: right;
}

/* ---- Pagination ---- */
.pagination .page-numbers {
	float: right;
	margin-left: 5px;
	margin-right: 0;
}
.pagination {
	text-align: right;
	direction: rtl;
}

/* ---- Utility Classes ---- */
.fl-wrap {
	direction: rtl;
}

/* ---- Media Captions ---- */
.wp-caption,
.gallery-caption {
	text-align: right;
}

/* ---- Screen Reader (No Change) ---- */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	color: #000;
}

/* ---- Full/Wide Images ---- */
.wp-block-image.alignfull img,
.wp-block-image.alignwide img {
	width: 100%;
}