/*
Theme Name: News Axis
Theme URI: https://wpthemespace.com/product/news-axis/
Description: RTL stylesheet for News Axis theme
Version: 1.0.4
*/

/* Basic RTL adjustments */
body {
	direction: rtl;
	unicode-bidi: embed;
}

/* Text alignment adjustments */
.text-center {
	text-align: center;
}

.text-left {
	text-align: right;
}

.text-right {
	text-align: left;
}

/* Menu and navigation adjustments */
.navbar-nav .nav-link {
	margin-left: 0;
	margin-right: 1rem;
}

.dropdown-menu {
	left: auto;
	right: 0;
}

.dropdown-menu-right {
	left: 0;
	right: auto;
}

/* Post and content adjustments */
.entry-meta span {
	margin-right: 0;
	margin-left: 15px;
}

.entry-meta span:last-child {
	margin-left: 0;
}

/* Widget adjustments */
.widget ul {
	padding-left: 0;
	padding-right: 0;
}

.widget ul li {
	margin-left: 0;
	margin-right: 15px;
}

/* Pagination adjustments */
.pagination .page-item:first-child .page-link {
	border-top-left-radius: 0;
	border-top-right-radius: 0.25rem;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0.25rem;
}

.pagination .page-item:last-child .page-link {
	border-top-right-radius: 0;
	border-top-left-radius: 0.25rem;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0.25rem;
}

/* Comment adjustments */
.comment-meta {
	text-align: right;
}

.comment-author {
	margin-left: 0;
	margin-right: 10px;
}

.comment-author img {
	margin-right: 0;
	margin-left: 0.5rem;
}

/* Footer adjustments */
.footer-cradit {
	text-align: center;
}

/* Table adjustments */
.entry-content table td,
.entry-content table th,
.comment-content table td,
.comment-content table th {
	border-right: 0;
	border-left: 1px solid #ccc;
}

/* Alignments */
.alignleft {
	float: right;
	margin-right: 0;
	margin-left: 1.5em;
}

.alignright {
	float: left;
	margin-left: 0;
	margin-right: 1.5em;
}

/* List adjustments */
ol.children {
	margin-left: 0;
	margin-right: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

/* Bootstrap specific RTL adjustments */
.float-left {
	float: right !important;
}

.float-right {
	float: left !important;
}

.ml-auto {
	margin-right: auto !important;
	margin-left: 0 !important;
}

.mr-auto {
	margin-left: auto !important;
	margin-right: 0 !important;
}

/* Media adjustments */
.wp-caption img[class*="wp-image-"] {
  margin-left: auto;
  margin-right: auto;
}