/*
Theme Name: The Ken
Description: Adds support for languages written in a Right To Left (RTL) direction.
It's easy, just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

See http://codex.wordpress.org/Right_to_Left_Language_Support
*/


body {
	direction: rtl;
	unicode-bidi: embed;
	text-align: right;
}

.mk-shopping-cart,
.single-social-share{
	direction: ltr;
	text-align: auto;
}

ul,
ol {
	margin: 0 20px 24px 0;
}

h1,h2,h3,h4,h5,h6, p, .the-title, .the-excerpt{
	text-align: right;
}

li > ul,
li > ol {
	margin: 0 20px 0 0;
}

caption,
th,
td {
	text-align: right;
}


.column_container a,
.widget a {
	display: inline-block;
}


.mk-section-video {
	direction: ltr !important;
}



/* Removes letter spacing for RTL languages */
abbr,
acronym
textarea,
input[type=text],
input[type=tel],
input[type=email],
input[type=password],
#mk-page-title #mk-breadcrumbs,
.pagnav-wrapper .pagenav-category,
.mk-image .mk-image-caption,
.mk-progress-button,
.mk-clients-shortcode .client-company,
.gform_wrapper .button
{
	letter-spacing: 0 !important;
}

#theme-page select {
	padding: 15px 60px 14px 14px;
}


#mk-page-title.left-align .mk-page-heading,
#mk-page-title.right-align .mk-page-heading{
	float: right;
}
#mk-page-title.left-align #mk-breadcrumbs,
#mk-page-title.right-align #mk-breadcrumbs {
	float: left;
}


/* Blog Classic Loop */
.blog-classic-entry .blog-entry-heading .blog-title {
	padding-right: 0;
	float: none;
	display: block;
	margin-bottom: 8px;
}

.blog-classic-entry .blog-entry-heading .blog-comments, 
.blog-classic-entry .blog-entry-heading .mk-love-holder {
	float: left;
	direction: ltr;
	border:none;
}

.blog-meta time, 
.blog-meta .blog-categories {
	float: right;
	padding-right: 0;
	padding-left: 6px;
}





/* Blog Masonry Loop */
.blog-masonry-entry .blog-entry-heading .blog-comments, 
.blog-masonry-entry .blog-entry-heading .mk-love-holder {
	float: left;
	direction: ltr;
	border:none;
}
.blog-masonry-entry .blog-meta {
	padding: 8px 17px;
}
.blog-masonry-entry .blog-entry-heading {
	padding: 12px 20px;
}



/* Blog Single */

.entry-meta time, 
.entry-meta .blog-categories {
	float: right;
	margin: 0 0 0 6px;
}

.entry-meta .blog-comments, 
.entry-meta .mk-love-holder {
	float: left;
}

.about-author-wrapper .avatar-box {
	float: right;
}

.about-author-wrapper .about-author-inner {
	margin: 0 160px 0 0;
}

.single-post-fancy-title {
	text-align: right;

}
.single-post-fancy-title span {
	padding: 0 0 0 10px;
}

.blog-list-entry .list-content-col,
.blog-list-entry .list-posttype-col {
	float: right;
}




/* Widgets */

.widget_posts_lists ul li .featured-image {
	float: right;
}
.widget_posts_lists ul li .post-list-info {
	margin: 0 100px 0 0;
}


.mk-recent-comments .recentcomments {
	padding: 0 68px 0 0;
}
.mk-recent-comments .comment-avatar {
	left:auto;
	right:0;
}
.mk-recent-comments .recentcomments .comment-detail:before {
	left:auto;
	right:-8px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 8px solid rgba(128, 128, 128, 0.1);
	border-right:none;
}

.mk-searchform .text-input {
	padding: 12px 12px 12px 28px;
}

.mk-searchform .mk-icon-search {
	right:auto;
	left:0px;
	border-right: 2px solid rgba(128, 128, 128, 0.2);
}

.mk-contact-form-wrapper.classic-style.dark-skin .mk-form-row i,
.widget .mk-contact-form-wrapper.dark-skin .mk-form-row i {
	border-left: 3px solid rgba(0, 0, 0, 0.1);
	border-right:none;
}

.mk-contact-form-wrapper.classic-style.light-skin .mk-form-row i,
.widget .mk-contact-form-wrapper.light-skin .mk-form-row i {
	border-left: 3px solid rgba(255, 255, 255, 0.5);;
	border-right:none;
}
.mk-contact-form-wrapper .text-input {
	padding-right:58px;
	padding-left: 16px;
}


.widget_contact_info ul li {
	padding:0 46px 0 0;
}

.widget_contact_info ul li i {
	left:auto;
	right:0;
	text-align: right;
	padding-left: 10px;
	padding-right: 0;
}
.widget_contact_info.dark-skin li i {
	border-left: 1px solid #eee;
	border-right:none;
}
.widget_contact_info.light-skin li i {
	border-left: 1px solid rgba(255, 255, 255, 0.4);
	border-right:none;
}





/* Comments Section */

.mk-commentlist li .gravatar {
	left:auto;
	right: -65px;
}
.mk-commentlist li {
	margin: 0 40px 15px 0;
}
.mk-commentlist li .mk-single-comment:before {
	left:auto;
	right:-7px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
}
.mk-commentlist li .comment-author {
	float: right;
}
.mk-commentlist li .mk-single-comment {
	padding: 5px 20px 5px 70px;
}
.mk-commentlist li .comment-reply a {
	right:auto;
	left:25px;
}
.mk-commentlist li .comment-author {
	margin: 6px 0 0 8px;
}
.mk-commentlist li .comment-time {
	margin: 6px 0 0 16px;
	float: right;
}






/* Portfolio Section */

.mk-portfolio-container .the-title {
	text-align: center;
}

.standard-portfolio-item .the-title {
	text-align: right;
}




/* Shortcodes */

.mk-box-icon.style3-box h4,
.mk-box-icon.style4-box h4,
.mk-box-icon.style5-box h4,
.mk-box-icon.style6-box h4  {
	text-align: center;
}


.mk-button-align.right {
	float: left;
}

.mk-button-align.left {
	float: right;
}
.mk-button {
	margin-left: 10px;
	margin-right: 0;
}
.mk-button i {
	margin: 0px -10px 0 5px;
	padding-left: 10px;
	padding-right: 0;
}
.mk-call-to-action .callout-desc-holder {
	padding: 0 8px 0 20px;
}

.mk-contact-form-wrapper .mk-form-row i {
	left:auto;
	right:3px;
}

.mk-fancy-title.left-align {
	text-align: right !important;
}
.mk-fancy-title.alt-title.left-align .fancy-title-span {
	padding-right: 0;
	padding-left: 10px;
}
.mk-fancy-title.avantgarde-title.left-align .fancy-title-span {
	padding-right: 0;
	padding-left: 15px;
}

.mk-dropcaps {
	float: right;
	margin: 5px 0 0 8px;
}

.mk-list-styles ul li {
	padding: 0 30px 0 0;
	text-align: right !important;
}

.mk-list-styles ul li:before {
	left:auto;
	right:0;
}
.mk-tabs .mk-tabs-tabs li a i {
	padding-right: 0;
	padding-left: 5px;
}

.mk-tabs.style1-tabs.horizontal-style .mk-tabs-tabs li {
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	border-left:none;
}

.mk-skill-meter .mk-progress-bar .progress-outer {
	left:auto;
	right:0;
}
.mk-fancy-text.title-box-left {
	float: right;
}

.mk-testimonial.boxed-style .testimonial-content {
	margin: 0 100px 0 0;
}
.mk-testimonial.boxed-style .testimonial-image {
	left:auto;
	right:-100px;
}
.mk-testimonial.boxed-style .testimonial-quote:before {
	left:auto;
	right:-7px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
}


.mk-testimonial.boxed-style .swiper-pagination {
	padding: 0 !important;
}








/* Woocommerce */


.shopping-box-header {
	text-align: right;
}
.shopping-box-header > span {
	padding: 0 0 0 10px;
}

.mini-cart-image {
	float: right;
	margin: 0 0 0 15px;
}
.mini-cart-item {
	text-align: right;

}

.woocommerce-page ul.products li.product .add_to_cart_button, 
.woocommerce ul.products li.product .add_to_cart_button {
	right:auto;
	left:0;
}
.woocommerce-page ul.products li.product .price, 
.woocommerce ul.products li.product .price {
	float: right;
	padding: 0 16px 5px 0;
}
.woocommerce-page ul.products li.product h3, 
.woocommerce ul.products li.product h3 {
	margin: 12px 16px 0 60px;
}

.woocommerce-page .quantity input.qty, 
.woocommerce .quantity input.qty, 
.woocommerce-page #content .quantity input.qty, 
.woocommerce #content .quantity input.qty {
	text-align: left;
}


.woocommerce-page #reviews #comments ol.commentlist li img.avatar, 
.woocommerce #reviews #comments ol.commentlist li img.avatar {
	float: right;
	left:auto;
	right:0;
}
.woocommerce-page #reviews #comments ol.commentlist li .comment-text, 
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	margin: 0 65px 0 0;
}
.woocommerce-page #reviews #comments ol.commentlist li .comment-text:before, 
.woocommerce #reviews #comments ol.commentlist li .comment-text:before {
	left:auto;
	right:-7px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
}

.woocommerce-page #reviews #comments ol.commentlist li .meta strong, 
.woocommerce #reviews #comments ol.commentlist li .meta strong {
	float: right;
}
.woocommerce-page .star-rating, .woocommerce .star-rating,
.woocommerce-page #reviews #comments ol.commentlist li .meta time, 
.woocommerce #reviews #comments ol.commentlist li .meta time {
	float: left;
}
.woocommerce-page p.stars, .woocommerce p.stars {
	direction: ltr;
}
.woocommerce-page p.stars a, .woocommerce p.stars a {
	text-align: center;
}

.woocommerce-page table.cart .quantity input.qty, .woocommerce table.cart .quantity input.qty {
	margin: 0 0 0 15px;
}


.woocommerce-page div.product .woocommerce-tabs ul.tabs li, 
.woocommerce div.product .woocommerce-tabs ul.tabs li, 
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li, 
.woocommerce #content div.product .woocommerce-tabs ul.tabs li {
	border-left: 2px solid #e3e3e3;
	border-right:none;
}
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active:first-child, 
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:first-child, 
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li.active:first-child, 
.woocommerce #content div.product .woocommerce-tabs ul.tabs li.active:first-child {
	border-right: 2px solid #e3e3e3;
	border-left: 2px solid #e3e3e3;
}


.woocommerce-page ul.cart_list li img, .woocommerce ul.cart_list li img, 
.woocommerce-page ul.product_list_widget li img, .woocommerce ul.product_list_widget li img {
	float: right;
	padding-left: 15px;
	padding-right: 0;
}

.woocommerce-page a.button, 
.woocommerce a.button, 
.woocommerce-page button.button, 
.woocommerce button.button, 
.woocommerce-page input.button, 
.woocommerce input.button, 
.woocommerce-page #respond input#submit, 
.woocommerce #respond input#submit, 
.woocommerce-page #content input.button, 
.woocommerce #content input.button {
	margin-right: 0;
	margin-left: 10px;
}


.woocommerce-page .mk-checkout-payement, 
.woocommerce .mk-checkout-payement {
	margin-left: 0;
	margin-right: 3.5%;
}

.woocommerce-page #payment ul.payment_methods li, 
.woocommerce #payment ul.payment_methods li {
	text-align: right;
}
.woocommerce-page #payment ul.payment_methods li input, 
.woocommerce #payment ul.payment_methods li input {
	margin: 0 0 0 1em;
}

.woocommerce-page form .form-row-first, .woocommerce form .form-row-first, 
.woocommerce-page form .form-row-last, .woocommerce form .form-row-last {
	float: right;
}

.woocommerce-page form .form-row, .woocommerce form .form-row {
	margin: 0 6px 0 0;
}
