/* RTL Styles */
body {
    direction: rtl;
}

td,
th {
    text-align: right;
}

/* Header */
.top-header {
    padding-left: 0;
    padding-right: 80px;
}

.top-header .top-header-nav {
    margin-right: 0;
    margin-left: 40px;
}

.top-header-nav li:not(:last-of-type):before {
    right: auto;
    left: 0;
}

.top-header-nav li:not(:last-of-type) {
    padding-right: 0;
    margin-right: 0;
    padding-left: 10px;
    margin-left: 10px;
}

.top-left li i {
    margin-right: 0;
    margin-left: 5px;
}

.main-header-items:before,
.top-header:before {
    left: auto;
    right: 0;
}

.main-header-items:before {
    clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.main-header-items:after {
    left: auto;
    right: 7px;
    transform: skewX(-23deg);
}

.header-wrapper.no-topbar .main-header-items:after,
.sticky-header .main-header-items:after {
    transform: skewX(-33deg);
}

.header-social-share li:last-child a{
	border-right: none;
}
.header-social-share li:first-child a{
	border-right: 1px solid #b40007;
}

.header-wrapper .header-right a.default-btn{
	display: flex!important;
	flex-direction: row-reverse;
	gap: 5px;
}

.header-wrapper .header-right .default-btn i{
	margin-right: 0;
}

.dl-shopping-cart-btn{
	margin-right: 0;
	margin-left: 15px;
}

.shopping-cart-inner span.count{
	right: auto;
	left: -5px;
}

@media (min-width: 992px) {
    .navigation-wrap {
        padding-left: 0;
        padding-right: 80px;
    }

    .navigation-wrap:before {
        left: auto;
        right: 0;
    }

    .main-menu li ul {
        left: auto;
        right: -20px;
    }

    .main-menu li ul ul {
        left: auto;
        right: 100%;
    }

    .main-menu li:nth-last-child(-n+2) ul {
        left: -28px;
        right: auto;
    }

    .main-menu li li:before,
    .main-menu li li:after {
        left: auto;
        right: 0;
    }

    .main-menu li:hover li a:before {
        left: auto;
        right: 0;
    }

    .main-menu li:hover li:hover a {
        padding-left: 0;
        padding-right: 15px;
    }

    .main-menu li:hover li:hover li a {
        padding-right: 0;
    }

    .main-menu li:hover li:hover li:hover a {
        padding-right: 15px;
    }
}

#popup-search-box .box-inner-wrap input {
    padding: 15px 30px;
    padding-left: 80px;
}

#popup-search-box .box-inner-wrap button {
    right: auto;
    left: 20px;
}

.search-close {
    right: auto;
    left: 20px;
}

@media (max-width: 992px) {
	.header-wrapper .header-right a.default-btn{
		display: none!important;
	}
    .navigation-wrap:before {
        left: auto;
        right: 0;
    }

    .main-header-items:after {
        transform: skewX(-35deg);
    }

    .mobile-menu-icon {
        margin-left: 0;
        margin-right: auto;
    }

    .mobile-navigation-menu {
        left: auto;
        right: -100%;
    }

    .open-mobile-menu.mobile-navigation-menu {
        left: auto;
        right: 0;
    }

    .mobile-navigation-menu li li>a {
        padding: 5px 40px 5px 20px;
    }

    #mobile-menu-close {
        right: auto;
        left: 30px;
    }

    .mobile-navigation-menu .dropdown-plus {
        right: auto;
        left: 38px;
    }

    .mobile-navigation-menu .dropdown-plus:before,
    .mobile-navigation-menu .dropdown-plus:after {
        right: auto;
        left: 10px;
    }
}

/* Layout */
@media (min-width: 992px) {
    .right-sidebar>main {
        padding-right: 0;
        padding-left: 30px;
    }
}

/* Blog Card */
article .post-date{
	right: auto;
	left: 20px;
}
article.post time{
	padding-right: 0;
	padding-left: 15px;
}
article .post-content .post-meta a:not(:last-of-type){
	margin-right: 0;
	margin-left: 15px;
}
article .post-content .post-meta a i{
	margin-right: 0;
	margin-left: 5px;
}

article.grid-post .entry-footer .post-comments{
	display: flex;
	flex-direction: row-reverse;
	padding: 0;
}

.rel-post-card .entry-footer .readmore, article .entry-footer .readmore{
	padding-right: 0;
	padding-left: 25px;
}

.rel-post-card .entry-footer .readmore:after, article .entry-footer .readmore:after{
	right: auto;
	left: 0;
}

.rel-post-card .entry-footer .readmore:before, article .entry-footer .readmore:before{
	left: auto;
	right: -25px;
}

.rel-post-card .entry-footer .readmore:hover,
article .entry-footer .readmore:hover {
    padding-left: 0;
	padding-right: 25px;
}

.rel-post-card .entry-footer .readmore:hover:before,
article .entry-footer .readmore:hover:before {
    left: auto;
	right: 0;
}

.rel-post-card .entry-footer .readmore:hover:after,
article .entry-footer .readmore:hover:after {
    right: auto;
	left: -10px;
}

.wp-block-quote,
blockquote.is-style-default {
    border-left: 0px solid transparent;
    border-right: 3px solid var(--logisko-primary-color);
}

.wp-block-quote:before, blockquote.is-style-default:before{
	right: auto;
	left: 30px;
}

.single-post-tags a {
    margin: 5px 0 5px 10px;
}
.project-info-inner .p-info-title:before, 
.project-info-inner .p-info-title:after, 
.widget .widget-title:after, 
.widget .widget-title:before,
.post-footer-area .post-footer-title:before,
.post-footer-area .post-footer-title:after,
.post-footer-area .comment-reply-title:after,
.post-footer-area .comment-reply-title:before {
    left: auto;
    right: 0;
}

.project-info-inner .p-info-title:after, 
.widget .widget-title:after,
.post-footer-area .post-footer-title:after,
.post-footer-area .comment-reply-title:after {
    left: auto;
    right: 20px;
}

.rel-post-card .post-thumb .dl-cat-items {
    left: auto;
    right: 0;
}

.rel-post-card .post-content .post-meta a:not(:last-of-type) {
    margin-right: 0;
    margin-left: 15px;
}

.rel-post-card .post-content .post-meta a i {
    margin-right: 0;
    margin-left: 5px;
}

/* Project */
.project-card-inner .project-content .project-cat{
    left: auto;
    right: 30px;
}
.project-card-inner .project-content .project-cat:before {
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    left: auto;
    right: -10px;
}

/* Comments */
.comment-body {
    padding-left: 0;
    padding-right: 100px;
}

.comment-meta .comment-author img {
    left: auto;
    right: 0;
}

.comment-list li ol {
    padding-left: 0;
    padding-right: 100px;
}

@media (max-width: 767px) {
    .comment-list li ol {
        padding-left: 0;
        padding-right: 25px;
    }
}

.nav-links .nav-next .post-text i {
    margin-left: auto;
    margin-right: 5px;
}

.nav-links .post-text i {
    margin-right: 0;
    margin-left: 5px;
}

#scroll-to-top {
    right: auto;
    left: 25px;
}

/* Footer */
.widget .widget-title:after,
.widget .widget-title:before {
    left: auto;
    right: 0;
}

.widget .widget-title:after {
    left: auto;
    right: 20px;
}

.widget_search .search-btn {
    right: auto;
    left: 5px;
}

.widget_search .search-form .form-control {
    padding: 0 15px 0 45px;
}

.mc4wp-form-widget.style-2 input[type="email"] {
    padding: 0 10px 0 60px;
}

.mc4wp-form-widget.style-2 button,
.mc4wp-form-widget.style-2 input[type="submit"] {
    right: auto;
    left: 0px;
    border-radius: 5px 0px 0px 5px;
}

.mc4wp-form-widget .mc-social-icons li:not(:last-of-type) {
    margin-right: 0;
    margin-left: 5px;
}


@media (min-width: 993px) {
    .footer-widget-item .mc4wp-form-widget img {
        left: auto;
        right: -5px;
    }
}

.footer-menu li:not(:last-of-type)::after {
    margin-left: 0;
    margin-right: 15px;
}