/*
 * Theme Name: Simple Writer RTL CSS
 * Description: Adds support for languages written in a Right To Left (RTL) direction.
 */

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

/* Clearings & Accessibility
-------------------------------------------------------------- */
.screen-reader-text:focus{left:auto;right:5px;}

/* Typography & Elements
-------------------------------------------------------------- */
blockquote{text-align:right;}
blockquote cite{text-align:right;}
ul,ol{margin:0 2em 1.5em 0;}
li > ul,li > ol{margin-left:0;margin-right:1em;}
dd{margin:0 1.5em 1.5em;}
th,td,caption{padding:4px 5px 4px 10px;}

/* Forms
-------------------------------------------------------------- */
textarea{padding-right:3px;}

/* Layout
-------------------------------------------------------------- */

/* Header
-------------------------------------------------------------- */
.simple-writer-logo{float:right;}
.simple-writer-header-social{float:left;}

.simple-writer-header-full-width .simple-writer-logo{float:none;text-align:right;}
.simple-writer-header-full-width .simple-writer-header-social{float:none;text-align:right;}
.simple-writer-header-full-width .simple-writer-header-social-icons{text-align:right;}

@media only screen and (max-width: 1112px) {
.simple-writer-logo{float:none;text-align:right;}
.simple-writer-header-social{float:none;text-align:right;}
.simple-writer-header-social-icons{text-align:right !important;}
}

.simple-writer-header-image-info{text-align:right;}

/* Menu
-------------------------------------------------------------- */
.simple-writer-primary-nav-menu li{text-align:right;float:right;}
.simple-writer-primary-nav-menu .sub-menu,.simple-writer-primary-nav-menu .children{left:0;right:-9999px;}
.simple-writer-primary-nav-menu .sub-menu .sub-menu,.simple-writer-primary-nav-menu .children .children{margin:-47px 189px 0 0;}
.simple-writer-primary-nav-menu li:hover > .sub-menu,.simple-writer-primary-nav-menu li:hover > .children,.simple-writer-primary-nav-menu li.simple-writer-focus > .sub-menu,.simple-writer-primary-nav-menu li.simple-writer-focus > .children{right:auto;}
.simple-writer-primary-responsive-menu-icon{text-align:right;}
.simple-writer-primary-responsive-menu-icon::before{margin:0 0 0 6px;}
@media only screen and (min-width: 1113px) {
.simple-writer-primary-nav-menu > li.menu-item-has-children > a:after{margin-left:0;margin-right:8px;}
.simple-writer-primary-nav-menu .sub-menu li.menu-item-has-children > a:after,.simple-writer-primary-nav-menu .children li.menu-item-has-children > a:after{margin-left:0;margin-right:8px;right:auto;left:8px;}
}
@media only screen and (max-width: 1112px) {
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu li{float:none}
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu .menu-item-has-children > a,.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu .page_item_has_children > a{margin-right:0;margin-left:50px;}
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > .menu-item-has-children:before,.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > .page_item_has_children:before{float:left;right:auto;left:0;text-align:left;}
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > li > .sub-menu,.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > li > .children{margin:0;padding:0;left:0;right:-9999px;}
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > li.simple-writer-focus > .sub-menu,.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > li.simple-writer-focus > .children{right:auto;}
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > li > .sub-menu.simple-writer-submenu-toggle,.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu > li > .children.simple-writer-submenu-toggle{right:auto;}
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu .sub-menu,.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu .children{right:auto;margin:0;}
.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu .sub-menu .sub-menu,.simple-writer-primary-mobile-menu-active .simple-writer-primary-nav-menu.simple-writer-primary-responsive-menu .children .children{margin:0;padding-left:0;padding-right:15px;}
}

/* Posts & Pages
-------------------------------------------------------------- */
.simple-writer-posts .simple-writer-posts-heading{text-align:right;}
.simple-writer-posts .simple-writer-posts-heading i{right:0;left:5px;}
.simple-writer-page-header{text-align:right;}
.taxonomy-description{text-align:right;}
.simple-writer-post-thumbnail-single-img{margin:0;text-align:right;}
.entry-title{text-align:right;}
.simple-writer-singleview-post-meta{direction:ltr;unicode-bidi:normal;}
.simple-writer-singleview-post-meta:first-child:before{content:'\2022';margin-right:6px;margin-left:6px;}
.simple-writer-singleview-post-meta:last-child:before{content:'';margin-right:0;margin-left:0;}
.simple-writer-singleview-post-data{text-align:right;}
.simple-writer-table-css-active table tr th{border-right-width:0 !important;border-left-width:1px !important;border-left-style:solid !important;}
.simple-writer-table-css-active table tr th:last-child{border-left-width:0px !important;}
.simple-writer-table-css-active table tr td{border-right-width:0 !important;border-left-width:1px !important;border-left-style:solid !important;}
.simple-writer-table-css-active table tr td:last-child{border-left-width:0px !important;}

/* =Page Links
----------------------------------------------- */
.page-links > span,.page-links > a{float:right;border-left:0px solid #dadada !important;border-right:1px solid #dadada !important;}
.page-links span.page-links-title{border-right:0 !important;}

/* Posts/Post Navigation
-------------------------------------------------------------- */
.navigation.posts-navigation .nav-links .nav-previous a:after{margin-left:0;margin-right:6px;}
.navigation.posts-navigation .nav-links .nav-next a:before{margin-right:0;margin-left:6px;}

.nav-previous{float:left;text-align:left;}
.nav-next{float:right;text-align:right;}

.navigation.post-navigation .nav-previous{float:left;text-align:left;}
.navigation.post-navigation .nav-next{float:right;text-align:right;}
@media only screen and (max-width: 767px) {
.navigation.post-navigation .nav-previous{float:none;text-align:center;}
.navigation.post-navigation .nav-next{float:none;text-align:center;}
}

.navigation.pagination{text-align:right;}
.navigation.pagination .page-numbers{margin:0 0 5px 1px;}

/* Social Icons ----------------------------------------------- */
.simple-writer-header-social-icons{text-align:left;}
.simple-writer-header-social-icons a{margin:4px 0 4px 3px;}
.simple-writer-header-social-icons a:last-child{margin-right:3px;margin-left:0;}

/* Menu Social Icons ----------------------------------------------- */
.simple-writer-menu-social-icons{right:auto;left:0;}
.simple-writer-menu-social-icons a{margin-right:0;margin-left:1px;}

/* WP-PageNavi
-------------------------------------------------------------- */
.wp-pagenavi{text-align:right;}

/* Tag Cloud Widget
-------------------------------------------------------------- */
.widget_tag_cloud a{margin:0 0 5px 5px;}

/* Calendar
-------------------------------------------------------------- */
#wp-calendar caption{text-align:left;padding:10px 0 0 10px;}
#wp-calendar tbody td{text-align:right;}
#wp-calendar tfoot #next{text-align:left;}
#wp-calendar thead th{padding-bottom:10px;text-align:right;}

/* Alignments
-------------------------------------------------------------- */
.alignleft{float:right;margin:0 0 10px 10px;}
.alignright{float:left;margin:0 10px 10px 0;}

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

/* Comments
-------------------------------------------------------------- */
.comment-respond #cancel-comment-reply-link{margin-left:0;margin-right:1em;}
.comment-form label{padding-right:0;padding-left:1em;}
.comments-area .simple-writer-singular-block-inside > ol{margin:0;}
.comment .edit-link,.pingback .edit-link{float:left;}
.comment .comment-meta .comment-author .avatar{float:right;margin-right:0;margin-left:1em;}
#respond input[type=text],textarea{padding:3px 3px 3px 0;margin:5px 0 3px 1px;}
#respond input[type=text]:focus,#respond input[type=text]:active,#respond input[type=email]:focus,#respond input[type=email]:active,#respond input[type=url]:focus,#respond input[type=url]:active,textarea:focus,textarea:active{margin:5px 0 3px 1px;}
.comment-form-cookies-consent label{padding-left:0;padding-right:10px;}

/* Sidebar
-------------------------------------------------------------- */
.simple-writer-sidebar-widget-areas .widget .simple-writer-widget-title{text-align:right;}
.simple-writer-sidebar-widget-areas .widget ol{padding:0 1.2em 0 0;}
.simple-writer-sidebar-widget-areas .widget li{padding:6px 0px 6px 0px;}
.simple-writer-sidebar-widget-areas .widget li li{padding:6px 10px 6px 0;}

/* Footer
-------------------------------------------------------------- */
#simple-writer-footer-blocks .widget ol{padding:0 1.2em 0 0;}
#simple-writer-footer-blocks .widget li{padding:6px 0 6px 0;}
#simple-writer-footer-blocks .widget li li{padding:8px 10px 8px 0;}

/* Copyright
-------------------------------------------------------------- */
#simple-writer-site-bottom .simple-writer-site-bottom-inside .simple-writer-copyright{text-align:right;padding:8px;}
#simple-writer-site-bottom .simple-writer-site-bottom-inside .simple-writer-credit{text-align:right;padding:8px;}

/* Search Widget
-------------------------------------------------------------- */
.simple-writer-search-overlay-content{text-align:right;}
.simple-writer-search-overlay .simple-writer-search-closebtn{right:auto;left:45px;}
.simple-writer-search-overlay input[type=text]{float:right;}

input.simple-writer-search-submit{right:auto;left:0;}

/* Featured Posts Area Widgets
-------------------------------------------------------------- */
.simple-writer-featured-posts-area .widget .simple-writer-widget-title{text-align:right;}
.simple-writer-featured-posts-area .widget ol{padding:0 1.2em 0 0;}
.simple-writer-featured-posts-area .widget li{padding:6px 0px 6px 0px;}
.simple-writer-featured-posts-area .widget li li{padding:6px 10px 6px 0;}

/* Featured Posts: Summary Posts
-------------------------------------------------------------- */
.simple-writer-home-share-active .simple-writer-posts .simple-writer-summary-post .simple-writer-summary-post-title{padding-right:0;padding-left:30px;}

.simple-writer-summary-post .simple-writer-summary-post-thumbnail{float:right;margin:0 0 4px 10px;}
.simple-writer-summary-post .simple-writer-summary-post-thumbnail.simple-writer-summary-post-thumbnail-nofloat{float:none;margin:0 0 10px 0;}
.simple-writer-sidebar-widget-areas .widget .simple-writer-summary-post .simple-writer-summary-post-thumbnail.simple-writer-summary-post-thumbnail-nofloat.simple-writer-760w-450h-thumbnail{margin:0 0 8px 0;}
.simple-writer-sidebar-widget-areas .widget .simple-writer-summary-post .simple-writer-summary-post-thumbnail.simple-writer-summary-post-thumbnail-nofloat.simple-writer-760w-autoh-thumbnail{margin:0 0 8px 0;}
.simple-writer-sidebar-widget-areas .widget .simple-writer-summary-post .simple-writer-summary-post-thumbnail.simple-writer-summary-post-thumbnail-nofloat.simple-writer-1130w-autoh-thumbnail{margin:0 0 8px 0;}

.simple-writer-summary-post-meta{direction:ltr;unicode-bidi:normal;}
.simple-writer-summary-post-meta:first-child:before{content:'\2022';margin-right:6px;margin-left:6px;}
.simple-writer-summary-post-meta:last-child:before{content:'';margin-right:0;margin-left:0;}

.simple-writer-summary-post-read-more a:after{margin-left:0;margin-right:5px;}

.simple-writer-summary-post-author-image{margin:0 0 2px 8px;float:right;}

.simple-writer-posts .simple-writer-posts-container .simple-writer-related-posts-area h3{text-align:right;}
.simple-writer-posts .simple-writer-posts-container .entry-footer{text-align:right;}

/* About and Social Widget
-------------------------------------------------------------- */
.simple-writer-about-social-widget-content-image{float:right;margin:0 0 0 8px;}
.simple-writer-about-social-widget-content-buttons{clear:both;}
.simple-writer-about-social-widget-content-buttons ul li{float:right;margin:4px 0 0 4.6px !important;}

/* Author Bio Box
-------------------------------------------------------------- */
.simple-writer-author-bio-gravatar{float:right;margin:0 0 5px 12px;}
.simple-writer-author-bio .simple-writer-author-bio-social{text-align:right;}
.simple-writer-author-bio .simple-writer-author-bio-social a{margin:0 0 3px 6px;}
.simple-writer-author-bio .simple-writer-author-bio-social a i{margin-right:0;margin-left:1px;}

/* Scroll to Top Button
-------------------------------------------------------------- */
.simple-writer-scroll-top{right:auto;left:20px;}

.simple-writer-text-center{text-align:right;}
.simple-writer-featured-posts-ajax-page-numbers{right:auto;left:0;}
.simple-writer-featured-posts-widget.widget .simple-writer-widget-header .simple-writer-widget-title a.simple-writer-featured-posts-viewall{float:left;}