/*
Theme Name: SimClick

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:
----------------------------------------------------------------
* 1.0 Normalize
* 2.0 Layouts
* 3.0 Media Queries
*  3.1 - >= 480px
*  3.2 - >= 667px
*  3.3 - >= 1024px
*  3.4 - >= 1366px
*/


/*--------------------------------------------------------------
 * 1.0 - Normalize
--------------------------------------------------------------*/

body.rtl {
    direction: rtl;
    overflow-x: hidden;
    unicode-bidi: embed;
}


/*--------------------------------------------------------------
 * 2.0 - Layouts
--------------------------------------------------------------*/

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

.navigation-classic .site-header-menu {
    margin-left: 0;
    margin-right: auto;
}

.navigation-default .menu-inside-wrapper {
    left: -30px;
    right: auto;
}

.navigation-default .menu-inside-wrapper,
.navigation-classic .search-social-container .menu-wrapper .menu-inside-wrapper {
    left: -30px;
    right: auto;
}

.navigation-classic .site-header-main .site-header-menu>.menu-wrapper>.menu-inside-wrapper {
    left: -30px;
    right: auto;
}

.navigation-classic .site-header-menu #primary-menu-wrapper .nav-menu .menu-item-has-children>a:after {
    margin-right: 7px;
    margin-left: 0;
}

.navigation-classic .site-header-menu #primary-menu-wrapper .nav-menu>li .sub-menu .menu-item-has-children>a:after {
    content: "\f105";
}

.navigation-default .site-header-menu .menu-wrapper.is-open .menu-inside-wrapper,
.navigation-classic .site-header-main .site-header-menu>.menu-wrapper.is-open>.menu-inside-wrapper,
.navigation-classic .site-header-main .search-social-container .menu-wrapper.is-open .menu-inside-wrapper,
.navigation-default .site-header-main .search-social-container .menu-wrapper.is-open .menu-inside-wrapper {
    left: 0;
    right: auto;
}

.navigation-default .menu-inside-wrapper .nav-menu li {
    text-align: left;
}

#site-header-menu + .social-search-wrapper {
    padding-right: 0;
    padding-left: 10px;
}

.search-social-container + #site-header-cart-wrapper {
    margin-right: 0;
    margin-left: -10px;
}

.faq-section .section-content-wrapper .hentry .entry-container {
    text-align: center;
}

.testimonials-content-wrapper.testimonial-wrapper.section .testimonial-slider-wrap.cycle-slide {
    left: auto;
    right: 0;
}

.testimonials-content-wrapper.testimonial-wrapper.section .testimonial-slider-wrap.cycle-slide .post-thumbnail img {
    margin: 0 auto;
}

.testimonials-content-wrapper.section.testimonial-wrapper.has-background-image .section-content-wrap .entry-container,
.testimonials-content-wrapper .testimonial-slider-wrap .post-thumbnail .entry-header {
    text-align: center;
}

.testimonials-content-wrapper.has-background-image .controls {
    bottom: 0;
    justify-content: flex-start;
    width: 100px;
}

.testimonials-content-wrapper.has-background-image .controls:before {
    left: 57%;
}

.site-header-main .search-social-container>div {
    margin-left: 30px;
    margin-right: 0;
}

.site-header-main .search-social-container>div:last-child {
    margin-left: 0;
}

.sub-menu,
.main-navigation li {
    text-align: left;
}

.site-header-main .social-navigation {
    margin-right: 0;
}

.social-search-wrapper>div:last-child {
    padding-right: 20px;
}

.faq-section .section-content-wrapper .hentry .post-thumbnail {
    float: right;
    margin-left: 28px;
    margin-right: 0;
}

.faq-section .section-content-wrapper .view-all-button {
    text-align: right;
}

.archive-content-wrap .section-content-wrapper.layout-one .entry-container>.entry-meta {
    border-left: 1px solid;
    border-right: 0;
    float: right;
    margin-left: 27px;
    margin-right: 0;
    padding-left: 27px;
    padding-right: 0;
}

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

.navigation-default .social-search-wrapper {
    margin-left: 0;
    margin-right: auto;
}

nav.social-navigation ul li,
.social-links-menu li,
.contact-section.section .section-content-wrap .hentry .entry-container .stay-connected .social-links-menu li {
    margin-left: 27px;
    margin-right: 0;
}

nav.social-navigation ul li:last-child,
.social-links-menu li:last-child,
.contact-section.section .section-content-wrap .hentry .entry-container .stay-connected .social-links-menu li:last-child {
    margin-left: 0;
}

#social-menu-wrapper li:first-child {
    margin-left: 15px;
    margin-right: 0;
}

#social-menu-wrapper li:last-child {
    margin-left: 0;
    margin-right: 15px;
}

.site-header-main .site-header-menu .search-social-container {
    padding-left: 0;
    padding-right: 20px;
}

#social-menu-wrapper {
    padding-left: 0;
    padding-right: 20px;
}

.cat-links::before,
.tags-links::before,
.edit-link::before,
.posted-on a::before,
.byline a::before {
    margin-right: 7px;
}

.navigation-default #primary-menu-wrapper {
    padding-left: 0;
    padding-right: 10px;
}

.portfolio-content-wrapper .filter-button-group .button:last-child {
    margin-right: 10px;
}

.entry-meta {
    direction: ltr;
}

.cat-links a {
    margin-left: 5px;
    &:last-child {
        margin-left: 0;
    }
}

.widget_categories ul,
.widget_archive ul,
.ew-archive ul,
.ew-category ul {
    text-align: left;
}

.ew-advertisement-slider .ewp-ads-controls {
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.search-social-container nav.social-navigation ul li {
    margin-left: 30px;
    margin-right: 0;
}

nav.social-navigation ul li:last-child,
.social-links-menu li:last-child {
    margin-left: 0;
}

.search-form input[type="search"] {
    text-align: left;
}

.widget_shopping_cart {
    left: -100%;
    right: auto;
}

.widget_shopping_cart ul.woocommerce-mini-cart li {
    text-align: left;
}

.woocommerce-posts-wrapper .entry-summary {
    text-align: left;
}

.woocommerce-posts-wrapper .entry-summary .woocommerce-product-rating {
    justify-content: flex-end;
}

table.shop_table.woocommerce-checkout-review-order-table tfoot th {
    text-align: right;
}

table.shop_table.woocommerce-checkout-review-order-table tr,
table.shop_table.woocommerce-checkout-review-order-table th,
table.shop_table.woocommerce-checkout-review-order-table td {
    text-align: right;
}

#menu-toggle {
    direction: ltr;
}

ul,
ol {
    margin: 0 21px 0 0;
}

#scrollup {
    left: 30px;
    right: unset;
}

.archive-content-wrap .entry-container {
    text-align: center;
}

.entry-title+.entry-meta>span {
    margin-right: 0;
    margin-left: 21px;
}

.entry-title+.entry-meta>span:first-child {
    margin-left: 0;
}

.testimonials-content-wrapper.section.testimonial-wrapper .cycle-pager {
    direction: ltr;
    left: 30px;
    right: auto;
}

.team-section.section.text-aligned-left #menu-social-menu {
    justify-content: flex-end;
}

.team-section.section.text-aligned-right #menu-social-menu {
    justify-content: flex-start;
}

.testimonials-content-wrapper.section.testimonial-wrapper .cycle-pager .cycle-pager-active {
    display: inline-block;
    margin-right: 20px;
}

.testimonials-content-wrapper.section.testimonial-wrapper.has-background-image .controls {
    left: auto;
    right: 0;
}

.promotion-headline-wrapper.section .section-content-wrap .inner-container .more-button {
    left: 0;
    right: auto;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
.select2-container--default .select2-selection--single,
.navigation.posts-navigation .nav-previous {
    text-align: left;
}

.stats-section.section .section-content-wrapper .hentry .post-thumbnail {
    float: none;
}

.stats-section.section .section-content-wrapper .hentry .entry-container {
    text-align: center;
}

.section:not(.testimonial-wrapper):not(.site-content) .section-heading-wrapper,
.footer-instagram .section-title-wrapper {
    text-align: center;
}

.contact-section.section .section-content-wrap .hentry .hentry-inner .entry-container .contact-details .fa {
    float: right;
    margin-left: 21px;
    margin-right: 0;
}

.contact-section.section .section-content-wrap .hentry .entry-container .contact-details .contact-wrap {
    float: left;
}

.woocommerce-grouped-product-list tbody tr td:first-child {
    border-right: 0;
}

.navigation.posts-navigation .nav-next {
    text-align: right;
}

.single-product .singular-content-wrapper {
    padding: inherit;
}

.widget-wrap .cat-item a,
.widget-wrap .ew-archives li a,
.widget_archive li a {
    float: right;
}

.slider-content-wrapper.section .controllers {
    flex-direction: row-reverse;
}

.slider-content-wrapper.section.content-aligned-right .controllers {
    left: 50%;
}

.slider-content-wrapper.section.content-aligned-left .controllers {
    left: auto;
}

.slider-content-wrapper.section.content-aligned-right .controllers {
    left: auto;
}

.services-section.section .hentry .hentry-inner .entry-container {
    text-align: center;
}

.services-section.section .hentry .hentry-inner .post-thumbnail {
    margin-left: auto;
    margin-right: auto;
}

.featured-content-section.text-aligned-right .entry-container {
    text-align: center;
}

.contact-details .contact-details--lists li i {
    margin-left: 14px;
    margin-right: 0;
    float: right;
}

.featured-content-section.text-aligned-left .entry-container {
    text-align: center;
}

.author-info .author-avatar {
    float: right;
    margin-right: 0;
    margin-left: 37px;
}

.comment-body .comment-author-container {
    margin-left: 35px;
    margin-right: 0;
}

.featured-content-section.text-aligned-center .entry-container {
    text-align: center;
}

.site-main nav.post-navigation .nav-links>div a span {
    direction: ltr;
}

.woocommerce-posts-wrapper .entry-summary .woocommerce-product-rating .star-rating {
    margin-right: 0;
    margin-left: 15px;
}

.woocommerce-tabs ul.tabs.wc-tabs li a {
    direction: ltr;
}

.site-header-cart li span.count {
    direction: ltr;
}

.comment_container img {
    float: none;
    margin-left: 15px;
    margin-right: 0;
}

.comment_container .star-rating {
    float: left;
}

.woocommerce-info {
    direction: ltr;
}

div#customer_details label {
    text-align: left;
}

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

.cart_totals.calculated_shipping th {
    text-align: right;
}

.cart-collaterals .shop_table.shop_table_responsive th,
.cart-collaterals .shop_table.shop_table_responsive td {
    text-align: right;
}

input[type="number"] {
    text-align: right;
}

.comments-area ol.children {
    margin-right: 15px;
    margin-left: 0;
}

.essential-widgets .entry-meta {
    text-align: right;
}

.essential-widgets .entry-meta .posted-on, 
.essential-widgets .entry-meta .byline, 
.essential-widgets .entry-meta .comments-link, 
.essential-widgets .entry-meta .tags-links, 
.essential-widgets .entry-meta .cat-links {
    margin-right: 0;
    margin-left: 10px;
    text-align: right;
}

.comment-respond .comment-form p label {
    transform-origin: top right;
}

.comment-form textarea, .comment-form input {
    text-align: right;
}

.faq-section .section-content-wrapper .hentry .post-thumbnail {
    float: none;
    margin: 0 auto;
    margin-bottom: 21px;
}

/*--------------------------------------------------------------
 * 3.0 - Media Queries
--------------------------------------------------------------*/


/* 

 * 3.1 ->= 480px

*/

@media all and (min-width:480px) {
    #footer-newsletter .ewnewsletter .hentry form {
        flex-direction: row-reverse;
    }

    .faq-section .section-content-wrapper .hentry .entry-container {
        text-align: right;
    }

    .faq-section .section-content-wrapper .hentry .post-thumbnail {
        float: right;
    }
}


/* 

 * 3.2 ->= 667px
 
*/

@media all and (min-width:667px) {
    .archive-content-wrap .entry-container {
        text-align: right;
    }
    
    .faq-section .main-image {
        padding-right: 15px;
    }
    
    .testimonials-content-wrapper.section.testimonial-wrapper .cycle-pager {
        left: 40px;
        right: auto;
    }
    .stats-section.section .section-content-wrapper .hentry .post-thumbnail {
        float: right;
        margin-left: 28px;
        margin-right: 0;
    }
    .stats-section.section .section-content-wrapper .hentry .entry-container {
        text-align: right;
    }
    .section:not(.testimonial-wrapper):not(.site-content) .section-heading-wrapper,
    .footer-instagram .section-title-wrapper {
        text-align: right;
    }
    .services-section.section .hentry .hentry-inner .entry-container {
        text-align: right;
    }
    .services-section.section .hentry .hentry-inner .post-thumbnail {
        margin-left: auto;
        margin-right: inherit;
    }
    .featured-content-section.text-aligned-right .entry-container {
        text-align: right;
    }
    .featured-content-section.text-aligned-left .entry-container {
        text-align: left;
    }
    .featured-content-section.text-aligned-center .entry-container {
        text-align: center;
    }
    .comment_container img {
        float: right;
    }
    tbody td:last-child,
    table thead th:last-child {
        border-right: 2px solid;
        border-left: 0;
    }
}

/* 

 * 3.2 ->= 767px
*/


@media all and (min-width: 768px) {
    .comment-body .comment-author-container {
        float: right;
    }
}


/* 

 * 3.3 ->= 1024px
 
*/

@media all and (min-width: 1024px) {
    .site-header-cart:hover .widget_shopping_cart {
        -webkit-animation: rtlsmoothScrollBackShop .5s forwards, fadein .5s;
        -moz-animation: rtlsmoothScrollBackShop .5s forwards, fadein .5s;
        -o-animation: rtlsmoothScrollBackShop .5s forwards, fadein .5s;
        animation: rtlsmoothScrollBackShop .5s forwards, fadein .5s;
        right: auto;
        left: 0;
    }

    .comments-area ol.children {
        margin-left: 0;
        margin-right: 80px;
    }

    .contact-details .contact-details--lists li i {
        margin-left: 28px;
    }
    .site-header-main .search-social-container {
        padding-left: 3px;
        padding-right: 20px;
    }
    .navigation-classic .site-header-menu {
        margin-left: auto;
        margin-right: auto;
    }
    .site-header-cart:hover .widget_shopping_cart {
        left: 0;
        right: auto;
    }

    .site-header-cart {
        padding: 21px 20px 21px 10px;
    }

    .faq-section .section-content-wrapper .hentry .post-thumbnail {
        margin-left: 40px;
    }

    .faq-section .main-image {
        padding-left: 120px;
        padding-right: 20px;
    }

    .navigation-classic .site-header-main .site-header-menu>.menu-wrapper>.menu-inside-wrapper {
        left: 0;
    }
    .navigation-classic .site-header-main .menu-item-has-children .sub-menu li:hover>.sub-menu {
        right: auto;
        left: -100%;
    }
    .navigation-classic .site-header-main .menu-item-has-children .sub-menu li.focus>.sub-menu {
        right: auto;
        left: -100%;
    }
    .navigation-classic .menu-inside-wrapper .nav-menu li:hover>.sub-menu {
        -webkit-animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        -moz-animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        -o-animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        right: auto;
        left: 0;
    }
    .navigation-classic .menu-inside-wrapper .nav-menu li.focus>.sub-menu {
        -webkit-animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        -moz-animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        -o-animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        animation: rtlsmoothScrollBack .5s forwards, fadein .5s;
        right: auto;
        left: 0;
    }
    @keyframes rtlsmoothScrollBack {
        0% {
            transform: translateX(20%);
        }
        100% {
            transform: translateX(0%);
        }
    }
    @keyframes rtlsmoothScrollBackShop {
        0% {
            transform: translateX(-5%);
        }
        100% {
            transform: translateX(0);
        }
    }
    .navigation-classic .menu-inside-wrapper .nav-menu li>.sub-menu {
        right: -999em;
        left: auto;
    }
}


/* 

 * 3.4 ->= 1366px
 
*/

@media all and (min-width:1366px) {
    #social-menu-wrapper li:first-child {
        margin-left: 10px;
        margin-right: 0;
    }
    #social-menu-wrapper li:last-child {
        margin-left: 0;
        margin-right: 10px;
    }
    .testimonials-content-wrapper.section.testimonial-wrapper .cycle-pager {
        left: 50px;
    }
}
