// General Components

.post-cat{
  margin-right: 0;
  margin-left: 4px;
}

.search-field{
  float: right;
}

.woocommerce-product-search [type="submit"],
.search-submit[type="submit"] {
  float: left;
  margin-right: 2%;
  margin-left: 0;
}

.post-meta {
  .meta-item{
    margin-left: 8px;
    margin-right: 0;

    .mag-box &{
      white-space: nowrap; // safari fix
    }
  }

  @include breakpoint(max_min_sm){
    .entry-header &,
    .main-content &{
      > span,
      > div{
        float: right;
      }
    }
  }
}

.slider-arrow-nav {
  float: left;
  margin-left: 0;
  margin-right: 5px;

  li{
    float: right;
  }

  a{
    margin-left: 0;
    margin-right: 5px;
  }
}


// Popup
#tie-popup-search-wrap input[type="text"]{
  padding-right: 20px;
  padding-left: 80px;
}

#tie-popup-search-submit {
  left: 25px;
  right: auto;
}

// rating
.post-thumb .post-rating,
.digital-rating{
  left: 10px;
  right: auto;
}

.post-meta .post-rating{
  float: right;
  margin-right: 0;
  margin-left: 8px;
}

.digital-rating-static {
  left: auto;
  right: 0;
  text-align: left;
}

.post-thumb .trending-post.fa.trending-lg {
  right: 10px;
  left: auto;
}

.trending-post.fa.trending-sm{
  float: right;
}

.thumb-meta .trending-post.fa {
  margin-left: 7px;
  margin-right: 0;
}

// pages-navigation
.first-last-pages {
  .fa {
    border-width: 0 1px 0 0;
    margin: 0 10px 0 0;
    text-align: left;

    &:before {
      content: "\f104";
    }
  }

  &.first-page .fa{
    float: right;
    border-width: 0 0 0 1px;
    margin: 0 0 0 10px;
    text-align: right;

    &:before {
      content: "\f105";
    }
  }
}

.pages-standard{
  .first-page{
    float: right;
  }

  .last-page,
  .fa {
    float: left;
  }
}


// Alert Messages
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
// #message,
.bbp-template-notice,
.indicator-hint{
  padding: 10px 50px 10px 10px !important;

  &:before{
    right: 10px;
    left: auto;
  }

  a,
  a.button{
    float: left;
  }
}


// - WPML
.menu-item-language img.iclflag{
  margin-right: 0;
  margin-left: 4px;
}


// - Youtube Widget issue fix
div[style*="visibility: hidden;"][style*="left: -10000px;"]{
  left: auto !important;
  right: -10000px !important;
}

// - Remove/Close button
a.remove{
  left: 0;
  right: auto;

  // side aside
  .side-aside &{
    left: auto;
    right: 30px;
  }

  // popup module [login & search]
  .tie-popup &{
    left: 40px;
    right: auto;
  }
}

.block-head-7 #check-also-close{
  left: 5px;
  right: auto;
}

// -ilightbox
.ilightbox-toolbar{
  .ilightbox-prev-button,
  .ilightbox-next-button {
    transform: rotate(180deg);
  }
}
