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

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

/* 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
-------------------------------------------------------------- */
.gridfeel-content-wrapper{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}

/* Header
-------------------------------------------------------------- */
.gridfeel-logo{float:right;text-align:right;}
.gridfeel-header-banner{float:right;text-align:left;}

.gridfeel-header-full-active .gridfeel-logo{float:none;text-align:right;}
.gridfeel-header-full-active .gridfeel-header-banner{float:none;text-align:right;}

@media only screen and (max-width: 1112px) {
.gridfeel-logo{float:none;text-align:right;}
.gridfeel-header-banner{float:none;text-align:right;}
.gridfeel-logo-img{margin:0;}
}

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

.gridfeel-logo-beside-title .site-branding-full .gridfeel-custom-logo-image{margin-right:0;margin-left:15px;}
@media only screen and (max-width: 1112px) {
.gridfeel-logo-beside-title .site-branding-full{justify-content:right;}
.gridfeel-custom-logo-active.gridfeel-logo-beside-title .gridfeel-logo{text-align:right;}
}

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

/* Secondary Menu
-------------------------------------------------------------- */
.gridfeel-secondary-nav-menu li{text-align:right;float:right;}
.gridfeel-secondary-nav-menu .sub-menu,.gridfeel-secondary-nav-menu .children{left:0;right:-9999px;}
.gridfeel-secondary-nav-menu .sub-menu .sub-menu,.gridfeel-secondary-nav-menu .children .children{margin:-39px 189px 0 0}
.gridfeel-secondary-nav-menu li:hover > .sub-menu,.gridfeel-secondary-nav-menu li:hover > .children,.gridfeel-secondary-nav-menu li.gridfeel-focus > .sub-menu,.gridfeel-secondary-nav-menu li.gridfeel-focus > .children{right:auto;}
.gridfeel-secondary-responsive-menu-icon{text-align:right;margin:0;}
.gridfeel-secondary-responsive-menu-icon::before{margin:0 0 0 6px;}
@media only screen and (min-width: 1113px) {
.gridfeel-secondary-nav-menu > li.menu-item-has-children > a:after{margin-left:0;margin-right:8px;}
.gridfeel-secondary-nav-menu .sub-menu li.menu-item-has-children > a:after,.gridfeel-secondary-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) {
.gridfeel-secondary-mobile-menu-inactive .gridfeel-secondary-nav-menu > li.menu-item-has-children > a:after{margin-left:0;margin-right:8px;}
.gridfeel-secondary-mobile-menu-inactive .gridfeel-secondary-nav-menu .sub-menu li.menu-item-has-children > a:after,.gridfeel-secondary-mobile-menu-inactive .gridfeel-secondary-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) {
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu li{float:none}
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu .menu-item-has-children > a,.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu .page_item_has_children > a{margin-right:0;margin-left:50px;}
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > .menu-item-has-children:before,.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > .page_item_has_children:before{float:left;right:auto;left:0;text-align:left;}
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > li > .sub-menu,.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > li > .children{margin:0;padding:0;left:0;right:-9999px;}
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > li.gridfeel-focus > .sub-menu,.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > li.gridfeel-focus > .children{right:auto;}
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > li > .sub-menu.gridfeel-submenu-toggle,.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu > li > .children.gridfeel-submenu-toggle{right:auto;}
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu .sub-menu,.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu .children{right:auto;margin:0;}
.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu .sub-menu .sub-menu,.gridfeel-secondary-mobile-menu-active .gridfeel-secondary-nav-menu.gridfeel-secondary-responsive-menu .children .children{margin:0;padding-left:0;padding-right:15px;}
}

/* Posts & Pages
-------------------------------------------------------------- */
.gridfeel-posts-wrapper .gridfeel-posts-heading{text-align:right;}
.gridfeel-posts-wrapper .gridfeel-posts-heading .gridfeel-posts-heading-inside{padding:0;}
.gridfeel-posts-wrapper .gridfeel-posts-heading i{right:auto;left:5px;}

.gridfeel-page-header{text-align:right;}
.gridfeel-page-header-inside{padding:0;}
.taxonomy-description{text-align:right;}

.gridfeel-entry-meta-single{text-align:right;}
.gridfeel-entry-meta-single-cats{margin:0 0 0 10px;}
.gridfeel-entry-meta-single-author{margin:0 0 0 10px;}
.gridfeel-entry-meta-single-date{margin:0 0 0 10px;}
.gridfeel-entry-meta-single-comments{margin:0 0 0 10px;}

.entry-header{text-align:right;}
.entry-title{text-align:right;}

.gridfeel-table-css-active table tr th{border-right-width:0 !important;border-left-width:1px !important;border-left-style:solid !important;}
.gridfeel-table-css-active table tr th:last-child{border-left-width:0px !important;}
.gridfeel-table-css-active table tr td{border-right-width:0 !important;border-left-width:1px !important;border-left-style:solid !important;}
.gridfeel-table-css-active table tr td:last-child{border-left-width:0px !important;}

.gridfeel-entry-footer{text-align:right;}
.gridfeel-entry-footer .gridfeel-tags-links{text-align:right;}

/* =Page Links
----------------------------------------------- */
.page-links > span,.page-links > a{float:right;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: 599px) {
.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;}

/* 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 > 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,textarea:focus,textarea:active{margin:5px 0 3px 1px;}
.comment-form-cookies-consent label{padding-left:0;padding-right:10px;}

/* Sidebar
-------------------------------------------------------------- */
.gridfeel-sidebar-widget-areas .widget .gridfeel-widget-title{text-align:right;}
.gridfeel-sidebar-widget-areas .widget .gridfeel-widget-title i{right:auto;left:5px;}
.gridfeel-sidebar-widget-areas .widget ol{padding:0 1.2em 0 0;}
.gridfeel-sidebar-widget-areas .widget li{padding:6px 0px 6px 0px;}
.gridfeel-sidebar-widget-areas .widget li li{padding:6px 10px 6px 0;}

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

.gridfeel-footer-block-cols{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}

/* Copyright
-------------------------------------------------------------- */
#gridfeel-copyright-area{text-align:right;}

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

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

/* Social Icons ----------------------------------------------- */
.gridfeel-primary-menu-active .gridfeel-nav-primary .gridfeel-social-icons{right:auto;left:10px;}
.gridfeel-secondary-menu-active .gridfeel-nav-secondary .gridfeel-social-icons{right:auto;left:10px;}
.gridfeel-social-icons a{margin-right:0;margin-left:1px;}

@media only screen and (max-width: 1112px) {
.gridfeel-primary-menu-active .gridfeel-nav-primary .gridfeel-social-icons{padding-left:0;padding-right:80px;}
.gridfeel-secondary-menu-active .gridfeel-nav-secondary .gridfeel-social-icons{padding-left:0;padding-right:80px;}
}

.gridfeel-primary-menu-inactive .gridfeel-nav-primary .gridfeel-social-icons{text-align:right;}
.gridfeel-secondary-menu-inactive .gridfeel-nav-secondary .gridfeel-social-icons{text-align:right;}
@media only screen and (max-width: 1112px) {
.gridfeel-primary-menu-inactive .gridfeel-nav-primary .gridfeel-social-icons{text-align:right;}
.gridfeel-secondary-menu-inactive .gridfeel-nav-secondary .gridfeel-social-icons{text-align:right;}
}

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

/* Grid
-------------------------------------------------------------- */
.gridfeel-grid-post-categories{text-align:right;}
.gridfeel-grid-post-categories a{margin:0 0 2px 3px;}
.gridfeel-grid-post-categories a:last-child{margin:0 0 2px 0;}
.gridfeel-grid-post .gridfeel-grid-post-title{text-align:right;}
.gridfeel-grid-post-snippet{text-align:right;}
.gridfeel-grid-post-details{text-align:right;}
.gridfeel-grid-post-details i{margin-right:0;margin-left:3px;}
.gridfeel-masonry-inactive .gridfeel-posts-grid{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}
.gridfeel-masonry-inactive .gridfeel-grid-posts{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}

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

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