/*
 * Theme Name: GridFlex 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
-------------------------------------------------------------- */
.gridflex-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
-------------------------------------------------------------- */
.gridflex-logo{float:right;text-align:right;}
.gridflex-header-banner{float:right;text-align:left;}

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

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

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

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

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

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

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

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

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

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

.entry-content table tr th{border-right:none;border-left:1px solid #444;}
.entry-content table tr th:last-child{border-left:none;}
.entry-content table tr td{border-right:none;border-left:1px solid #eee;}
.entry-content table tr td:last-child{border-left:none;}

.gridflex-entry-footer{text-align:right;}
.gridflex-entry-footer .gridflex-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;}

/* =Grid
----------------------------------------------- */
.gridflex-masonry-inactive.gridflex-flexbox-grid .gridflex-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;}
.gridflex-masonry-inactive.gridflex-flexbox-grid .gridflex-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;}

/* 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;}
.gridflex-post-navigation-content{-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;}

/* 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
-------------------------------------------------------------- */
.gridflex-sidebar-widget-areas .widget .gridflex-widget-title{text-align:right;}
.gridflex-sidebar-widget-areas .widget .gridflex-widget-title .gridflex-widget-title-inside{padding:0 0 0 10px;}
.gridflex-sidebar-widget-areas .widget .gridflex-widget-title i{right:auto;left:5px;}
.gridflex-sidebar-widget-areas .widget ol{padding:0 1.2em 0 0;}
.gridflex-sidebar-widget-areas .widget li{padding:6px 0px 6px 0px;}
.gridflex-sidebar-widget-areas .widget li li{padding:6px 10px 6px 0;}

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

.gridflex-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;}

/* Social Icons ----------------------------------------------- */
.gridflex-social-icons{right:auto;left:10px;}
.gridflex-social-icons a{margin-right:0;margin-left:1px;}
@media only screen and (max-width: 560px) {
.gridflex-social-icons{padding-left:0;padding-right:80px;}
}

/* Copyright
-------------------------------------------------------------- */
.gridflex-copyright-area-inside-content{text-align:right;}

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

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

/* Featured Posts: Style 1
-------------------------------------------------------------- */
.gridflex-list-post .gridflex-list-post-thumbnail{float:right;margin:0 0 1px 8px;}
.gridflex-list-post-header{text-align:right;}
.gridflex-list-post-header-meta{margin-right:0;margin-left:6px;}
.gridflex-list-post-header-meta:last-child{margin-left:0;float:left;}

/* Grid
-------------------------------------------------------------- */
.gridflex-grid-post-categories{text-align:right;}
.gridflex-grid-post-categories a{margin:0 3px 2px 3px;}
.gridflex-grid-post-categories a:last-child{margin:0 3px 2px 0;}
.gridflex-grid-post .gridflex-grid-post-title{text-align:right;}
.gridflex-grid-post-snippet{text-align:right;}
.gridflex-grid-post-footer{text-align:right;}
.gridflex-grid-post-header{text-align:right;}
.gridflex-grid-post-header-meta{margin-right:0;margin-left:6px;}
.gridflex-grid-post-header-meta:last-child{float:none;}
.gridflex-grid-post .gridflex-grid-datebox{right:auto;left:0;}

.gridflex-centered-grid .gridflex-posts-grid .gridflex-grid-post-details{text-align:right;padding:0 8px;}

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

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