/*
Theme Name: arkid

Adding support for languages written in a Right To Left (RTL) direction is easy,
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

https://codex.wordpress.org/Right-to-Left_Language_Support

*/

/* Reset */
body {
	direction: rtl;
	unicode-bidi: embed;
}
form.post-password-form,
.section-heading,
th {
	text-align: right;
}

/* Accessibility */
.screen-reader-text:focus {
	left: auto;
	right: 5px;
}

/* Typography */
textarea {
	padding-right: 3px;
}
li > ul,
li > ol {
	margin-left: 0;
	margin-right: 1.5em;
}
th:first-child, 
td:first-child {
    padding-left: 0;
    padding-right: 0.4em;
}
th:last-child,
td:last-child {
	padding-left: 0;
	padding-right: 0.4em;
}
/* Floats */
.pull-left{
    float: right;
}
.pull-right{
    float: left;
}

/* Forms */
input[type="radio"],
input[type="checkbox"] {
	margin-left: 0.5em;
	margin-right: 0;
}

/* Gallery Styles */
.entry-content .page-links,
.gallery-item,
.gallery-caption {
	text-align: right;
}

/* Header */
.top-bar .top-social li{
	margin-left: 0;
	margin-right: 13px;
}
.top-bar .top-social li:first-child{
	margin-right: 0;
}
.primary-header .header-logo{ text-align: right; }
.primary-header-one .header-menu-wrap {
	margin-left: 0;
    margin-right: auto;
}
.primary-header-inner .header-right {
	margin-left: 0;
	margin-right: 20px;
}
.primary-header-three .header-menu-wrap { margin-right: auto; }
.header-menu-wrap li ul{
	left: auto;
	right: -35px;
}
.header-menu-wrap li ul li ul {
    left: auto;
    right: 100%;
}
.header-menu-wrap li li { text-align: right; }
.menu-open .line-menu.last-line {
    -webkit-transform: rotate(-90deg) translateX(-8px);
    -moz-transform: rotate(-90deg) translateX(-8px);
    -o-transform: rotate(-90deg) translateX(-8px);
    transform: rotate(-90deg) translateX(8px);
}
.line-menu.last-line { transform-origin: right; }
.menu-open .line-menu.first-line {
    -webkit-transform: rotate(-90deg) translateX(-8px);
    -moz-transform: rotate(-90deg) translateX(-8px);
    -o-transform: rotate(-90deg) translateX(-8px);
    transform: rotate(-90deg) translateX(-8px);
}
.line-menu.first-line { transform-origin: left; }
.header-menu-wrap ul {
    text-align: right;
    direction: rtl;
}
.header-right a.header-btn {
	margin-left: 0;
    margin-right: 20px;
}
.header-cart-btn {
    margin-left: 0;
    margin-right: 15px;
}
.primary-header-two .header-menu-wrap ul li > a {
    padding-right: 0;
    padding-left: 30px;
}
.header-two .mid-header .header-logo {
    text-align: right;
}
.header-right .mobile-menu-icon {
    margin-left: 0;
    margin-right: 20px;
}
/* Breadcrumb */
.breadcrumb-wrap li:not(:last-of-type) {
    margin-right: 0;
	padding-right: 0;
	margin-left: 10px;
    padding-left: 12px;
}
.breadcrumb-wrap li:not(:last-of-type):after {
    right: auto;
    left: -1px;
}
.breadcrumb-wrap li a i{ display: none; }

@media (max-width: 992px){
	.dropdown-plus { right: auto; left: 0; }
	/* .header-menu-wrap { top: 133%; } */
	.header-menu-wrap ul li ul li ul, 
	.header-menu-wrap ul li ul { left: inherit; right: inherit; }
	.primary-header-two .header-right .mobile-menu-icon { margin-right: auto; margin-left: 0; }
	.primary-header-two .header-right .search-icon { margin-left: auto; margin-right: 0; }
	.header-two .mid-header .header-logo { text-align: center; }
	.header-cart-btn {
		margin-left: 15px;
	}
	.header-3 .primary-header .header-logo {
		text-align: right;
	}
	.primary-header-inner .header-right{ margin-right: 0; }
	.cart-enable.primary-header-two .header-right .search-icon {
		margin-right: 0;
		margin-left: 15px;
	}
	.cart-enable.primary-header-two .header-right .header-cart-btn {
		margin-right: 0!important;
	}
}

/* Blog */
.entry-content{
	direction: rtl;
	text-align: right;
}
.blog-posts .entry_header {
	padding-left: 0;
	padding-right: 15px;
	border-left: 0px solid #bfca02;
	border-right: 3px solid #bfca02;
}
.blog-posts .entry_header .meta-info .meta-cat {
    padding-right: 0;
	margin-right: 0;
	padding-left: 13px;
    margin-left: 3px;
}
.blog-posts .entry_header .meta-info .meta-cat:after {
    right: auto;
    left: 0;
}
.blog-posts .entry_thumb .post-cat{
	left: auto;
	right: 30px;
}
.blog-posts .entry_text {
    text-align: right;
    direction: rtl;
}
.blog-posts .blog-post-inner .readmore .dl-text{
	margin: 0 0 0 10px;
}
.blog-posts .blog-post-inner .readmore .dl-arrow.left{
	left: auto;
	right: 0;
}
.blog-posts .blog-post-inner .readmore .dl-arrow.right{
    -webkit-transform-origin: left;
    -moz-transform-origin: left;
    transform-origin: left;
}
.blog-posts .blog-post-inner .readmore:hover .dl-text {
    -webkit-transform: translateX(-34px);
    -moz-transform: translateX(-34px);
    transform: translateX(-34px);
}
.blog-posts .blog-post-inner .readmore:hover .dl-arrow.right {
    -webkit-transform-origin: left;
    -moz-transform-origin: left;
    transform-origin: left;
}
.single-post-meta-wrap{
	display: flex;
    align-items: right;
    justify-content: space-between;
}
.sp-head-right{
	margin: 0;
	float: none;
}
.single-post-meta {
    display: flex;
    flex-direction: row;
}
.single-post-meta li{
	margin-right: 0;
    margin-left: 15px;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.single-post-meta li i {
    margin-right: 0;
    margin-left: 10px;
}
.entry-footer .entry-meta {
    padding-left: 0;
	padding-right: 25px;
	direction: rtl;
    text-align: right;
}
.entry-footer .meta-tags i {
    left: auto;
    right: 0;
}
.post-navigation .text-right{
	text-align-last: left!important;
}
.post-navigation .row .col:first-child{
	text-align: right;
}
.post-navigation .col i{ display: none; }
.related-posts {
    text-align: right;
    direction: rtl;
}
.related-posts-list .thumb .post-cat{
	left: auto;
	right: 25px;
}
.single-post-meta li { line-height: 20px; }
#comments {
    text-align: right;
    direction: rtl;
}
.form-submit {
    text-align: right;
}
@media screen and (max-width: 767px){
	.single-post-meta-wrap {
		justify-content: inherit;
		flex-direction: column;
	}
	.single-post-meta li span, .single-post-meta li a{
		font-size: 10px;
		font-weight: 400;
	}
	.sp-head-right {
		margin-left: auto;
		margin-top: 15px;
	}
	.sp-head-right .label{ top: -1px; }
}
/* Widgets */
.author-content,
.widget-area .widget {
    text-align: right;
    direction: rtl;
}
.widget-title h3:after{ display: none; }

/* Project */
.portfolio-details {
    text-align: right;
    direction: rtl;
}

/* Author Bio */
.author-bio .bio-inner .avatar {
    padding-right: 0;
    padding-left: 30px;
}
.author-bio .bio-inner ul li {
    margin-right: 0;
    margin-left: 15px;
}

/* Comment */
.comment-list, .comment-list .children{ text-align: right; direction: rtl; }
.comment-body {
    margin-left: 0;
    margin-right: 65px;
}
.comment-author .avatar {
    left: auto;
    right: -65px;
}
.children .comment-author .avatar {
    left: auto;
    right: -45px;
}
@media screen and (min-width: 48em){
	ol.children .children {
	    padding-left: 0;
	    padding-right: 2em;
	}
}
.social-share-wrap {
    margin-right: 0;
    margin-left: 10px;
}

/* Widgets */
.widget-box{
	text-align: right;
}
/* Widgets list */
.widget ul li,
.widget-box ul li{
	padding-left: 0;
	padding-right: 15px;
}
.widget-box ul li:before, .widget ul li:before{
	left: auto;
	right: 0;
}

/*  Alignments  */
img.alignleft,
.alignleft {
	float: right;
	margin-right:0;
	margin-left: 25px;
}
img.alignright,
.alignright {
	float: left;
	margin-left: 0;
	margin-right: 25px;
}
@media (min-width: 992px){
	.single-post-info .offset-lg-2{
		margin-left: auto;
		margin-right: 16.66667%;
	}
}

/* Subscribe Form */
.widget-mailchimp .wt-subscribe-wrap form input {
	padding-right: 15px;
    padding-left: 120px;
}
.widget-mailchimp .wt-subscribe-wrap form button {
    right: auto;
    left: 5px;
}

/* Address */
.widget-address .widget-addr-item span {
    margin-right: 0;
    float: right;
    margin-left: 4px;
}
@media (min-width: 992px){
	.offset-lg-1 {
		margin-left: 0;
		margin-right: 8.33333%;
	}
}

@media (min-width: 768px){
	.offset-md-2 {
		margin-right: 16.66667%;
		margin-left: 0;
	}
}

/* Shop RTL */
.shop_menu_left { text-align: right; }
.shop_menu_right h5 {
	margin-right: 0;
    margin-left: 10px;
}
form.woocommerce-ordering.arkid_select { margin-left: 10px; }
.woocommerce div.product div.images.woocommerce-product-gallery {
	padding-left: 42px;
	padding-right: 0;
}
.woocommerce span.onsale {
	right: auto;
	left: 70px;
}
.pr_details { text-align: right; }
.pr_details .ratting {
    float: left;
    text-align: left;
}
.pr_details .price ins {
    padding-right: 0;
    padding-left: 18px;
}
.pr_details .price span.woocommerce-Price-amount.amount {
    padding-right: 0;
    padding-left: 18px;
}
.pr_details .product_meta li span {
    padding-right: 0;
    float: right;
    padding-left: 8px;
}
.product_info_details .pr_tab .nav-item:last-child {
    border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 45px;
    border-top-left-radius: 45px;
}
.product_info_details .pr_tab .nav-item:first-child {
    border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	border-bottom-right-radius: 45px;
    border-top-right-radius: 45px;
}
.st_woo_content.comments_form p.form-submit { text-align: right; }
.woocommerce-cart .cart_table .product .media .media-body {
	padding-left: 0;
	padding-right: 30px;
}
.select2-results__option[aria-selected], 
.select2-results__option[data-selected] {
    text-align: right;
}
.select2-container--default .select2-selection--single{ text-align: right!important; }
.woocommerce-account .woocommerce-MyAccount-content, 
.woocommerce-account .woocommerce-MyAccount-navigation{ text-align: right; }
.coupon .input_text {
    padding-left: 10px;
    padding-right: 25px;
}
.woocommerce-cart .woocommerce .coupon .button {
    right: auto;
    left: 4px;
}
@media(max-width: 992px){
    .woocommerce div.product div.images.woocommerce-product-gallery{padding: 0;}
}
@media (min-width: 768px){
	.woocommerce-account .woocommerce-MyAccount-content {
		float: left;
		text-align: right;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation {
		float: right;
		margin-right: 0;
		margin-left: 40px;
		text-align: right;
	}
}

@media (max-width: 768px){
	.woocommerce-cart .cart_table .total, 
	.woocommerce-cart .cart_table .quantity, 
	.woocommerce-cart .cart_table .del-item,
	.woocommerce-cart .cart_table .product .media {
		float: left;
	}
	.del-item .cart_remove {
		right: 0;
	}
}
/* Subscribe Section */
.subscribe-wrapper .tree{
	right: auto;
	left: -78px;
}
.subscribe-wrapper .subscribe-form .form-input{
	padding-right: 20px;
	padding-left: 150px;
}
.subscribe-wrapper .subscribe-form .submit-btn{
	right: auto;
	left: 5px;
}

/* Events */
.dl-event .event-meta li i{
	margin-right: 0;
	margin-left: 8px;
}
.nav-links-single .nav-links .nav-next a {
    justify-content: flex-start;
}
.nav-links-single .nav-links .nav-previous a{
	justify-content: flex-end;
}

/* Donations */
.site-main,
.mfp-auto-cursor .mfp-content,
.cht-give-content .donation-details{
	text-align: right;
}
.cht-give-content .donation-thumb .donate-btn, .dl-donation-item .donate-btn{
	right: auto;
	left: 20px;
}
.cht-give-content .donation-details a.donation-cat{ float: left; }
.cht-give-content .donation-thumb .progress .progress-bar span{
	right: auto;
	left: -2px;
}
.cht-give-content .donation-details .fund-info li{
	margin-right: 0;
	margin-left: 10px;
}
form[id*=give-form] .give-donation-amount{ display: flex; }
#give-donation-level-button-wrap>li {
    float: right;
    margin: 0 0 5px 5px;
}
form[id*=give-form] #give-gateway-radio-list>li input[type=radio] {
	margin: 0 0 0 .25em;
}
input[type='radio']:after{ margin-right: -5px; }
form[id*=give-form] #give-final-total-wrap .give-donation-total-label,
form[id*=give-form] #give-final-total-wrap .give-final-total-amount{ float: right; }
.donation-tag i.fa.fa-tags{
	margin-right: 0;
	margin-left: 15px;
}
.donation-share .dl-social-share-icons li {
    margin-left: 0;
    margin-right: 5px;
}
.ps-sidebar{
	text-align: right;
}
@media (min-width: 480px){
	form[id*=give-form] #give-gateway-radio-list>li {
		display: inline-block;
		margin-right: 0;
		margin-left: 15px;
	}
}

/* Portfolios */
.dl-project-box .overlay span{
	left: 0;
	top: 0;
}
.dl-project-box .overlay a{
	left: auto;
	right: 50%;
	transform: translate(50%,-50%);
}
