/*
Theme Name: Magazine Plus Pro

Adding support for languages written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

https://codex.wordpress.org/Right-to-Left_Language_Support
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Elements
# Navigation
    ## Secondary Menus
    ## Menus
# Content
    ## Posts and pages
    ## Comments
# Custom By WEN Themes
    ## Header Style By WEN Themes
    ## Social Links Style By WEN Themes
    ## News slider Style By WEN Themes
    ## Featured Product Carousel Slider
    ## Main Content Style By WEN Themes
    ## Sidebar Style By WEN Themes
    ## Footer Style By WEN Themes
    ## Layout Sidebar By WEN Themes
    ## Inner Pages Style By WEN Themes
    ## Extra css for Pro By WEN Themes
    ## Recent post widget style By WEN Themes
    ## Widget tabbed post widget style By WEN Themes
    ## Categorized News post widget style By WEN Themes
    ## Latest News post widget style By WEN Themes
    ## Media Queries By WEN Themes

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

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

input[type="checkbox"],
input[type="radio"] {
    margin-right: auto;
    margin-left: 10px;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
ul,
ol {
    margin: 0 1em 1.5em 0;
}

li > ul,
li > ol {
    margin-right: 1.5em;
    margin-left: 0;
}

dd {
    margin: 0 0 1.5em 1.5em;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Secondary Menus
--------------------------------------------------------------*/

.header-social {
    float: left;
}

#top-nav {
    float: left;
}

#top-nav ul ul {
    left: auto;
    right: -9999px;
}

#top-nav ul ul ul {
    left: auto;
    right: 100%;
}

#top-nav li {
    float: right;
}

#top-nav ul > li:hover > ul,
#top-nav ul > li:focus > ul {
    left: auto;
    right: 0;
}

#top-nav ul li a::before {
    margin-left: 13px;
    margin-right: 0;
    left: auto;
    right: -5px;
}

#top-nav ul ul a {
    text-align: right;
}

#top-nav ul li.menu-item-has-children > a::after,
#top-nav ul li.page_item_has_children > a::after {
    margin-left: 0;
    margin-right: 10px;
    position: absolute;
    left: 13px;
    right: auto;
}

#top-nav ul li.menu-item-has-children a,
#top-nav ul li.page_item_has_children a {
    padding-left: 30px;
    padding-right: 10px;
}

#top-nav ul li.menu-item-has-children li a,
#top-nav ul li.page_item_has_children li a {
    padding-left: 15px;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.enabled-sticky-primary-menu #main-nav.fixed {
    left: auto;
    right: 0;
}

.main-navigation ul ul {
    left: auto;
    right: -9999px;
}

.main-navigation ul ul ul {
    left: auto;
    right: 100%;
}

.main-navigation li {
    float: right;
}

.main-navigation ul > li:hover > ul,
.main-navigation ul > li:focus > ul {
    right: 0;
    left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li:focus > ul {
    left: auto;
    right: 100%;
}

.main-navigation ul ul a {
    text-align: right;
}

.main-navigation ul li.menu-item-has-children > a::after,
.main-navigation ul li.page_item_has_children > a::after {
    margin-left: 0;
    margin-right: 7px;
    left: 12px;
    right: auto;
}

.main-navigation ul li li.menu-item-has-children > a::after,
.main-navigation ul li li.page_item_has_children > a::after {
    content: "\f104";
}

.main-navigation ul li.menu-item-has-children a,
.main-navigation ul li.page_item_has_children a {
    padding-left: 30px;
    padding-right: 10px;
}

.main-navigation ul li.menu-item-has-children li a {
    padding-left: 15px;
    padding-right: 15px
}

.main-navigation ul ul li.menu-item-has-children a,
.main-navigation ul ul li.page_item_has_children a {
    padding-left: 30px;
    padding-right: 15px;
}

.main-navigation ul ul li.menu-item-has-children li a,
.main-navigation ul ul li.page_item_has_children li a {
    padding-left: 15px;
}

.main-navigation ul ul ul li.menu-item-has-children a,
.main-navigation ul ul ul li.page_item_has_children a {
    padding-left: 30px;
    padding-right: 15px;
}

.main-navigation ul ul ul li.menu-item-has-children li a,
.main-navigation ul ul ul li.page_item_has_children li a {
    padding-left: 15px;
}

.main-navigation ul li.home-menu a {
    padding: 14px 0 6px 12px;
}

.main-navigation li.home-menu.current-menu-item a::after {
    border-right: 5px solid #242424;
    border-left: none;
    left: -5px;
    right: auto;
}

/*comment and post navigation*/
.comment-navigation .nav-previous a,
.posts-navigation .nav-previous a,
.post-navigation .nav-previous a {
    float: right;
}

.comment-navigation .nav-next a,
.posts-navigation .nav-next a,
.post-navigation .nav-next a {
    float: left;
}

.comment-navigation .nav-previous a::before,
.posts-navigation .nav-previous a::before,
.post-navigation .nav-previous a::before {
    content: "\f101";
    margin-left: 5px;
    margin-right: 0;
}

.comment-navigation .nav-next a::after,
.posts-navigation .nav-next a::after,
.post-navigation .nav-next a::after {
    content: "\f100";
    margin-left: 0;
    margin-right: 5px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.entry-footer > span {
    margin-left: 15px;
    margin-right: 0;
}

.cat-links > a {
    margin-right: 5px;
    margin-left: 0
}

.cat-links > a:first-child {
    margin-right: 0;
}

.single .byline,
.group-blog .byline {
    margin-right: 10px;
    margin-left: 0;
}

.entry-footer span::before,
.entry-header span::before{
    margin-left: 3px;
    margin-right: 0;
}

.entry-meta .byline .author.vcard {
    margin-left: 0;
    margin-right: -4px;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

#respond {
    float: right;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    float: right;
}

.comment-list li {
    padding-right: 0;
}

.comment {
    float: right;
}

ol.comment-list {
    float: right;
}

ol.comment-list .children {
    float: right;
    margin: 15px 15px 15px 0;
}

.comment .comment-body {
    float: right;
    text-align: right;
}

.comment-list .children {
    padding-right: 40px;
    padding-left: 0;
}

.comment-list li.comment > div img.avatar {
    right: 29px;
    left: auto;
}

.vcard .avatar {
    float: right;
    margin: 7px 0 15px 15px;
}

.comment-metadata > a {
     margin-left: 30px;
     margin-right: 0;
}

.authorbox .author-info,
.authorbox .author-bio-posts-content {
    float: right;
}

#commentform input[type="checkbox"],
#commentform input[type="radio"] {
    margin-left: 10px;
    margin-right: 0;
}

/*--------------------------------------------------------------
# Custom By WEN Themes
--------------------------------------------------------------*/

.site-layout-boxed .head-date {
    margin-right: -30px;
    margin-left: 0;
}

/*--------------------------------------------------------------
## Header Style By WEN Themes
--------------------------------------------------------------*/

.head-date {
    float: right;
}

.head-date::after {
    border-left: 6px solid transparent;
    border-right: none;
    left: -7px;
    right: auto;
}

.header-search-box {
    float: left;
}

.header-search-box .search-box-wrap {
    left: 0;
    right: auto;
}

.header-search-box .search-box-wrap::before {
    left: 17px;
    right: auto;
}

.header-search-box .search-form input.search-field {
    padding: 10px 12px 10px 8%;
}

.search-form input.search-field,
.woocommerce-product-search .search-field  {
    padding: 10px 10px 10px 65px;
}

.search-submit,
.search-form .search-submit,
.woocommerce-product-search button {
    left: 0;
    right: auto;
}

/*Top Header*/
#header-widget {
    float: left;
}

.magazine_plus_widget_image {
    text-align: left;
}

#tophead {
    float: right;
}

.top-news {
    float: right;
}

.top-news-title {
    float: right;
}

.top-news-title::after {
    float: left;
    left: -4px;
    right: auto;
}

#news-ticker {
    float: right;
    margin: 6px 15px 6px 0;
}

.custom-logo-link {
    float: right;
    margin-left: 15px;
    margin-right: 0;
}

.site-branding {
    float: right;
}

/*--------------------------------------------------------------
## Social Links Style By WEN Themes
--------------------------------------------------------------*/

.magazine_plus_widget_social li a {
    margin-left: 0;
}

.magazine_plus_widget_social li {
    float: right;
    margin-right: 5px;
    margin-left: 0;
}

.magazine_plus_widget_social li:first-child {
    margin-right: 0;
}

.widget-area .magazine_plus_widget_social li,
#footer-widgets .magazine_plus_widget_social li {
    margin: 3px 0 0 3px;
}

/*--------------------------------------------------------------
## News slider Style By WEN Themes
--------------------------------------------------------------*/

.magazine_plus_widget_news_slider .cycle-caption {
    right: 5%;
    left: auto;
}

/*slider pager box*/
.magazine_plus_widget_news_slider .cycle-pager {
    right: 0;
    left: auto;
}

.magazine_plus_widget_news_slider .cycle-prev {
    left: 20px;
    right: auto;
}

.magazine_plus_widget_news_slider  .cycle-next {
    left: 60px;
    right: auto;
}

/*--------------------------------------------------------------
## Featured Product Carousel Slider
--------------------------------------------------------------*/

#featured-carousel .container {
    overflow: hidden;
}

.slick-slider .slick-list,
.slick-slider .slick-track {
    direction: ltr;
}

/*--------------------------------------------------------------
## Main Content Style By WEN Themes
--------------------------------------------------------------*/

#primary {
    float: right;
}

/*--------------------------------------------------------------
## Sidebar Style By WEN Themes
--------------------------------------------------------------*/

#sidebar-primary {
    float: left;
}

#sidebar-secondary {
    float: right;
}

.sidebar ul li::before {
    content: "\f104";
    margin-left: 7px;
    margin-right: 0;
    float: right;
}

.sidebar ul ul li {
    padding-right: 15px;
    padding-left: 0;
}

.sidebar ul ul ul {
    margin-right: -15px;
    margin-left: 0;
}

.sidebar ul ul ul li {
    padding-right: 30px;
    margin-left: 0;
}

.sidebar ul ul ul ul {
    margin-right: -30px;
    margin-left: 0;
}

.sidebar ul ul ul ul li {
    padding-right: 45px;
    padding-left: 0;
}

.sidebar ul ul ul ul ul{
    margin-right: 0;
}

.sidebar ul ul ul ul ul > li {
    padding-right: 0;
}

.widget_categories li > a,
.widget_archive li > a {
    text-align: right;
    float: right;
}

.widget_categories li,
.widget_archive li {
    text-align: left;
    float: right;
}

/*--------------------------------------------------------------
## Footer Style By WEN Themes
--------------------------------------------------------------*/

#footer-widgets ul li {
    padding: 2px 14px 2px 15px;
}

#footer-widgets ul li::before {
    left: auto;
    right: 0;
}

#footer-widgets .footer-widget-area {
    float: right;
}

#footer-widgets .footer-active-1.footer-widget-area ul li {
    float: right;
}

/*Scrollup Style*/
.scrollup {
    float: left;
    left: 32px;
    right: auto;
}

/*--------------------------------------------------------------
## Layout Sidebar By WEN Themes
--------------------------------------------------------------*/

.global-layout-left-sidebar #primary {
    float: left;
}

.global-layout-three-columns .sidebar{
    float: left;
}

.three-columns-enabled .sidebar ,
.three-columns-enabled #primary {
    text-align: right;
}

/*--------------------------------------------------------------
## Inner Pages Style By WEN Themes
--------------------------------------------------------------*/

/*Basic Breadcrumb */
#breadcrumb .breadcrumb-trail li {
    float: right;
    padding-left: 10px;
    padding-right: 0;
}

#breadcrumb .breadcrumb-trail li::after {
    margin-left: 0;
    margin-right: 10px;
}

/*--------------------------------------------------------------
## Extra css for Pro By WEN Themes
--------------------------------------------------------------*/

/* Global layout sidebar By WEN Themes*/
.global-layout-three-columns-pcs #sidebar-primary,
.global-layout-three-columns-cps #sidebar-primary,
.global-layout-three-columns-psc #sidebar-primary {
    float: right;
}

.global-layout-three-columns-pcs #sidebar-secondary,
.global-layout-three-columns-cps #sidebar-secondary {
    float: left;
}

.global-layout-three-columns-cps #primary {
    float: right;
}

.global-layout-three-columns-pcs-equal #sidebar-primary {
    float: right;
}

.global-layout-three-columns-pcs-equal #sidebar-secondary {
    float: left;
}

/*--------------------------------------------------------------
## Recent post widget style By WEN Themes
--------------------------------------------------------------*/

.magazine_plus_widget_recent_posts .recent-posts-date::before,
.magazine_plus_widget_tabbed .date::before{
    margin-left: 3px;
    margin-right: 0;
}

/*--------------------------------------------------------------
## Widget tabbed post widget style By WEN Themes
--------------------------------------------------------------*/

.magazine_plus_widget_tabbed .tab-content li {
    float: right;
}

.magazine_plus_widget_tabbed .news-content,
.magazine_plus_widget_tabbed .comments-content {
    float: right;
    padding-left: 0;
    padding-right: 5px;
}

.magazine_plus_widget_tabbed .news-thumb,
.magazine_plus_widget_tabbed .avatar {
    float: right;
    padding-left: 5px;
    padding-right: 0;
}

.magazine_plus_widget_tabbed .tabbed-container .etabs li {
    float: right;
}

/*--------------------------------------------------------------
## Categorized News post widget style By WEN Themes
--------------------------------------------------------------*/

.magazine_plus_widget_categorized_news .categorized-news-layout-1 .categorized-major .categorized-news-text-wrap {
    float: right;
    padding: 5px 0 10px 10px;
}

.magazine_plus_widget_categorized_news .categorized-news-layout-1 .categorized-major .categorized-news-thumb {
    float: right;
}

.magazine_plus_widget_categorized_news .categorized-news-layout-1 .categorized-minor-news-wrapper .categorized-news-item {
    float: right;
}

.magazine_plus_widget_categorized_news .categorized-news-layout-2 .categorized-major,
.magazine_plus_widget_categorized_news .categorized-news-layout-2 .categorized-minor {
    float: right;
}

.magazine_plus_widget_categorized_news .categorized-news-layout-2 .categorized-minor .categorized-news-thumb {
    float: right;
    margin-left: 10px;
    margin-right: 0;
}

.widget-area .magazine_plus_widget_categorized_news .categorized-news-meta li {
    float: right;
}

.magazine_plus_widget_categorized_news .categorized-news-meta li span::before {
    margin-left: 3px;
    margin-right: 0;
}

/*--------------------------------------------------------------
## Latest News post widget style By WEN Themes
--------------------------------------------------------------*/

.magazine_plus_widget_latest_news .latest-news-item {
    float: right;
}

.magazine_plus_widget_latest_news .latest-news-meta .latest-news-comments {
    float: left;
}

.widget-area .magazine_plus_widget_latest_news .latest-news-meta li {
    float: right;
}

.magazine_plus_widget_latest_news .latest-news-meta li span::before {
    margin-left: 3px;
    margin-right: 0;
}

/*layout 2*/
.magazine_plus_widget_latest_news .latest-news-layout-2 .latest-news-text-wrap {
    float: right;
}

.magazine_plus_widget_latest_news .latest-news-layout-2 .latest-news-thumb {
    float: right;
    padding-left: 15px;
    padding-right: 0;
}

/*--------------------------------------------------------------
## Media Queries By WEN Themes
--------------------------------------------------------------*/

/* Smaller than standard 1139 (devices and browsers) */
@media only screen and (max-width:1300px) {
    .comments-area form#commentform p {
        float: right;
    }

    .authorbox .author-info,
    .authorbox .author-bio-posts-content {
        float: right;
    }
}

/* Smaller than standard 1024 (devices and browsers) */
@media only screen and (max-width:1023px) {
    .site-branding {
        margin-left: 0;
    }

    .site-layout-boxed .head-date {
        margin-right: 0;
    }

    .site-branding {
        margin-left: 0;
    }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width:900px) {
    .magazine_plus_widget_recent_posts .recent-posts-item {
        float: right;
    }

    a#mobile-trigger {
        float: right;
        padding-left: 0;
        padding-right: 25px;
    }

    .sidr-main-open a#mobile-trigger {
        padding-left: 0;
        padding-right: 278px;
    }

    .mobile-nav-wrap {
        left: auto;
        right: 0;
    }

    .sidr ul li ul li a,
    .sidr ul li ul li span {
        padding-left: 0;
        padding-right: 30px;
    }

    #mobile-trigger2 {
        text-align: left;
        padding-left: 25px;
        padding-right: 0;
    }

    .sidr2-open #mobile-trigger2 {
        padding-left: 278px;
        padding-right: 0;
    }

    a#mobile-trigger2 {
        float: left;
    }

    .sidr .dropdown-toggle {
        left: 0;
        right: auto;
    }

    .header-social-active .top-navigation {
        left: auto;
        right: 25%;
    }

    .header-social-active #top-nav ul {
        text-align: right;
    }

    .main-navigation ul li.menu-item-has-children a,
    .main-navigation ul li.page_item_has_children a,
    #top-nav ul li.menu-item-has-children a,
    #top-nav ul li.page_item_has_children a {
        padding-left: 49px;
    }

    #top-nav ul li.menu-item-has-children a,
    #top-nav ul li.page_item_has_children a {
        padding-right: 10px;
    }

    #top-nav ul li.menu-item-has-children li a,
    #top-nav ul li.page_item_has_children li a {
        padding-right: 20px;
        padding-left: 20px;
    }

    .dropdown-toggle {
        left: 0;
        right: auto;
    }

    .main-navigation ul ul,
    #top-nav ul ul {
        position: relative;
        top: auto;
        right: auto;
    }

    .main-navigation li {
        float: none;
    }

    .main-navigation ul li.menu-item-has-children a,
    .main-navigation ul li.page_item_has_children a,
    #top-nav ul li.menu-item-has-children a,
    #top-nav ul li.page_item_has_children a {
        padding-left: 49px;
    }

    .main-navigation ul ul li a {
        padding-right: 25px;
    }

    .main-navigation ul ul li.menu-item-has-children a,
    .main-navigation ul ul li.page_item_has_children a {
        padding-left: 49px;
    }

    .main-navigation ul ul ul li a {
        padding-right: 35px;
    }

    .main-navigation ul ul ul li.menu-item-has-children a,
    .main-navigation ul ul ul li.page_item_has_children a {
        padding-left: 49px;
    }

    .main-navigation ul ul ul ul li a {
        padding-right: 45px;
    }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width:767px) {
    .site-branding {
        float: right;
        text-align: right;
    }

    .top-news-title::after {
        left: -8px;
        right: auto;
    }

    #header-widget {
        float: left;
    }

    /*footer widget area*/
    #footer-widgets .footer-widget-area {
        float: right;
    }

    #colophon .colophon-column,
    #colophon .colophon-grid-2 .colophon-column,
    #colophon .colophon-grid-3 .colophon-column,
    #colophon .colophon-grid-4 .colophon-column {
        float: right;
    }

    .entry-footer > span {
        float: right;
    }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width:550px) {
    #news-ticker {
        float: right;
        margin: 7px 15px 7px 0;
    }

    .top-news-title::after {
        left: -8px;
        right: 0;
    }

    .top-news-title {
        padding: 5.2px 0 8.5px 5px;
    }

    .magazine_plus_widget_categorized_news .categorized-news-layout-1 .categorized-major .categorized-news-thumb {
        float: right;
    }

    .magazine_plus_widget_categorized_news .categorized-news-layout-1 .categorized-major .categorized-news-text-wrap {
        float: right;
    }

    .head-date {
        float: none;
    }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width:479px) {
    .blog article.post img {
        margin-left: 0;
    }

    #site-identity {
        margin-right: 0;
    }

    .social-links {
        float: left;
        text-align: left;
    }

    .search-box {
        float: left;
    }

    .top-news-title {
        padding: 8px 0 8px 5px;
    }

    .sidr-main-open a#mobile-trigger2 {
        float: right;
        padding-left: 0;
        padding-right: 5px;
    }

    .sidr-main-open a#mobile-trigger {
        float: right;
        padding-left: 0;
        padding-right: 225px;
    }

    .sidr2-open a#mobile-trigger {
        float: right;
    }

    .sidr2-open a#mobile-trigger2 {
       padding-left: 260px;
       padding-right: 0;
    }

    a#mobile-trigger {
        float: right;
        padding-left: 0;
        padding-right: 5px;
    }

    .header-social {
        float: left;
    }

    .head-date {
        float: none;
    }
}

@media only screen and (max-width:359px) {
    .sidr2-open a#mobile-trigger2 {
        padding-left: 228px;
        padding-right: 0;
    }
}

/*** Block Styles ***/
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
    text-align: right;
}

.wp-block-image figure.alignleft {
    margin-left: 1.5em;
    margin-right: 0;
}

.wp-block-image figure.alignright {
    margin-left: 0;
    margin-right: 1.5em;
}

.wp-block-quote:not(.is-large):not(.is-style-large),
blockquote {
    border-right: 5px solid #fa5742;
    border-left: none;
}

blockquote {
    padding-right: 20px;
    padding-left: 0;
}
.entry-content ul,
.entry-content ol {
    padding-left: 0;
    margin-left: 20px;
}
/*================================================================
========================= Style Ends =============================
================================================================= */
