/*
Theme Name: Threadwears
Description: Adds support for languages written in a Right To Left (RTL) direction.
It's easy, just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

See: https://codex.wordpress.org/Right_to_Left_Language_Support
*/

@charset "UTF-8";

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

.editor-styles-wrapper .wp-block-main-header .wp-block-navigation,
.wp-block-main-header .wp-block-navigation {
  margin-left: 0;
  margin-right: auto;
}

.editor-styles-wrapper .wp-block-scroll-down,
.wp-block-scroll-down {
  left: clamp(8px, 3.5vw, 63px);
  right: auto;
}

.editor-styles-wrapper .wp-block-scroll-down a:after,
.wp-block-scroll-down a:after {
  margin-left: 0;
  margin-right: 10px;
}

.editor-styles-wrapper .social-inside-slider,
.social-inside-slider {
  left: auto;
  right: 9px;
}


.editor-styles-wrapper svg.icon,
svg.icon {
  margin-left: 7px;
  margin-right: 0;
}

.editor-styles-wrapper .wp-block-button.is-style-button .wp-block-button__link:after,
.wp-block-button.is-style-button .wp-block-button__link:after {
  transform: rotate(225deg);
  margin-bottom: 1px;
}

.editor-styles-wrapper .wp-block-footer .tnp-subscription-minimal input.tnp-submit,
.wp-block-footer .tnp-subscription-minimal input.tnp-submit {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}


.editor-styles-wrapper .wp-block-footer .tnp-subscription-minimal form input.tnp-email,
.wp-block-footer .tnp-subscription-minimal form input.tnp-email {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.wp-container-29.wp-container-29> :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.wp-container-54.wp-container-54> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  margin-right: 0 !important;
  margin-left: auto !important;
}

.wp-block-search__button-inside button.wp-block-search__button.has-icon.wp-element-button,
.editor-styles-wrapper .wp-block-group-heading .is-style-button .wp-block-button__link::before,
.wp-block-group-heading .is-style-button .wp-block-button__link::before {
  left: 0;
  right: auto;
}

.wp-block-latest-posts .wp-block-query .wp-block-read-more::before {
  right: 0;
  left: auto;
}

.wp-block-button.is-style-button .wp-block-button__link::after {
  margin-left: 0;
}

.editor-styles-wrapper .wp-block-group-heading .is-style-button .wp-block-button__link::after,
.wp-block-group-heading .is-style-button .wp-block-button__link::after {
  left: 22px;
  right: auto;
}

/* Style Guide */

.editor-styles-wrapper .wp-block-widget-area ul,
.editor-styles-wrapper ul.wp-block-archives,
.editor-styles-wrapper .wp-block-categories ul,
.wp-block-widget-area ul,
ul.wp-block-archives,
.wp-block-categories ul {
  padding-right: 0;
}

.wp-block-column-sidebar .wp-block-archives-list>li>a,
.wp-block-column-sidebar .wp-block-categories-list>li>a,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.rtl .woocommerce #customer_details .col-1,
.editor-styles-wrapper .wp-block-archives-list>li>a,
.editor-styles-wrapper .wp-block-categories-list>li>a,
.wp-block-archives-list>li>a,
.wp-block-categories-list>li>a {
  float: right;
}

.wc-block-product-categories ul.wc-block-product-categories-list li a::before,
.editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-archives li:before,
.editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-categories li:before,
.wp-block-sidebar .wp-block-widget .wp-block-archives li:before,
.wp-block-sidebar .wp-block-widget .wp-block-categories li:before {
  left: auto;
  right: 0;
}

.editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-archives li,
.editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-categories li,
.wp-block-sidebar .wp-block-widget .wp-block-archives li,
.wp-block-sidebar .wp-block-widget .wp-block-categories li {
  padding-left: 0;
  padding-right: 36px;
}

.has-drop-cap:not(:focus):first-letter,
.block-editor .editor-styles-wrapper .has-drop-cap:not(:focus):first-letter {
  margin: 0.15em -0.07em 0 0.15em;
}

.wc-block-product-categories ul.wc-block-product-categories-list li a::after {
  left: auto;
  right: 3px;
}

.content>.video-play>span {
  padding-left: 0;
  padding-right: 7px;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
  right: -1px;
  left: auto;
}

.wc-block-components-quantity-selector {
  margin: 0 0 0 14px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin-left: 28px;
  margin-right: 0;
}

.wc-block-grid__product,
.single-product .header-media-inner-post .catch-breadcrumb.center .woocommerce-breadcrumb,
.woocommerce .form-submit.wp-block-button,
.comment-respond label,
.wpcf7-form label {
  text-align: right;
}

.wp-block-sidebar .wp-block-search__button-inside.wp-block-search__icon-button.wp-block-search input {
  padding-right: 14px;
  padding-left: 55px;
}

.wc-block-product-categories ul.wc-block-product-categories-list li a {
  padding-right: 35px;
  padding-left: 0;
}

.wc-block-components-product-sale-badge,
.woocommerce span.onsale,
.wc-block-grid__product-onsale {
  right: 14px;
  left: auto;
  max-width: max-content;
}

.wp-block-sidebar span.wc-block-product-categories-list-item-count,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button,
.woocommerce #customer_details .col-2 {
  float: left;
}

.wp-block-post-author__avatar {
  margin-right: 0;
  margin-left: 1em;
}

.has-text-align-right {
  text-align: left;
}

.post-navigation-link-next svg.icon {
  padding-left: 0;
  padding-right: 7px;
}

.wp-block-search button.wp-block-search__button {
  margin-right: 7px;
  margin-left: 0;
}

label.checkbox.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
  padding-right: 30px;
  padding-left: 0;
}

label.checkbox.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox span:before {
  position: absolute;
  right: 0;
  left: auto;
}

.woocommerce form .form-row label,
.comment-respond label,
.wpcf7-form label {
  text-align: right;
}

label.checkbox.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox span:after {
  right: 3px;
  left: auto;
}

/* --- > Media Quries
-------------------------------------------------------- */

/* --- > 360px
-------------------------------------------------------- */

@media screen and (min-width: 22.5em) {}

/* --- > 600px
-------------------------------------------------------- */

@media screen and (min-width: 37.5em) {}


/* --- > 601px
-------------------------------------------------------- */

@media screen and (min-width: 37.5625em) {}

/* --- > 768px
-------------------------------------------------------- */
@media screen and (min-width: 48em) {}


/* --- > 782px
-------------------------------------------------------- */

@media screen and (min-width: 48.875em) {


  .wp-block-sidebar-on-left.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child),
  .wp-block-sidebar-on-right.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
    margin-right: calc(1.666666666666667 * var(--wp--style--block-gap, 2em));
    margin-left: 0;
  }

  .wp-block-sidebar-on-right .wp-block-column-sidebar {
    padding-right: var(--wp--custom--spacing--wp-block-sidebar);
    padding-left: 0;
  }

  .wp-block-main-header .wp-block-fse-pro-header-search .search-container,
  .wp-block-main-header .wp-block-fse-pro-header-social .social-container,
  .editor-styles-wrapper .wp-block-main-header .wp-block-fse-pro-header-search .search-container,
  .editor-styles-wrapper .wp-block-main-header .wp-block-fse-pro-header-social .social-container {
    right: auto;
    left: 0;
  }

  .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg,
  .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg {
    transform: rotate(90deg);
  }

  .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
    left: auto;
    right: 100%;
  }

}


/* --- > 1024px
-------------------------------------------------------- */

@media screen and (min-width: 64em) {
  .content>.video-play>span {
    padding-right: 14px;
  }

  .wp-block-subscribe .tnp-subscription-minimal form input.tnp-email {
    border-bottom-right-radius: 32px;
    border-top-right-radius: 32px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;

  }

  .wp-block-subscribe .tnp-subscription-minimal form input.tnp-submit {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
  }
}

/* --- > 1200px
-------------------------------------------------------- */

@media screen and (min-width:75em) {}


/* --- > 1366px
-------------------------------------------------------- */

@media screen and (min-width: 85.375em) {

  .woocommerce .cart-collaterals,
  .woocommerce-page .cart-collaterals {
    padding-right: 56px;
    padding-left: auto;
    margin-right: auto;
    margin-left: 0;
  }
}

/* --- > 1600px
-------------------------------------------------------- */

@media screen and (min-width: 100em) {

  .editor-styles-wrapper .social-inside-slider,
  .social-inside-slider {
    left: auto;
    right: 28px;
  }
}

/* --- > 1920px
-------------------------------------------------------- */

@media screen and (min-width: 120em) {

  .editor-styles-wrapper .social-inside-slider,
  .social-inside-slider {
    left: auto;
    right: 63px;
  }
}