/*
Theme Name: SiteOrigin Corp
Description: Adds support for languages written in a Right To Left (RTL) direction.
*/
body {
  direction: rtl;
  unicode-bidi: embed; }

ul,
ol {
  margin: 0 25px 27px 0;
  padding: 0; }

dl dd {
  margin: 0 25px 0 0; }

blockquote {
  border-right: 3px solid #f14e4e;
  border-left: none;
  padding: 15px 25px 15px 0; }

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  text-align: left; }
  .main-navigation ul li {
    margin: 0 0 -10px 39px; }
    .main-navigation ul li:last-of-type {
      margin-left: 0; }
  .main-navigation .shopping-cart,
  .main-navigation .search-toggle {
    margin: 0 37px 0 0; }

/*--------------------------------------------------------------
## Posts, Post and Comment Navigation
--------------------------------------------------------------*/
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: right;
  text-align: right; }

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

.post-navigation a img {
  display: inline-block;
  margin: 0 0 0 15px; }

.post-navigation .nav-next img {
  margin: 0 15px 0 0; }

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header .site-branding {
  padding: 0 0 0 20px; }

.site-header.centered .site-branding {
  margin: 0 auto 20px auto;
  padding: 0; }

.widget .search-form input[type="search"] {
  padding: 10px 13px 10px 30px; }

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
@media (min-width: 1025px) {
  .comment-list li .comment {
    margin-right: 80px;
    margin-left: 0; } }

.comment-list .comment .avatar-container {
  float: right; }

@media (min-width: 481px) {
  .comment-list .comment .comment-container {
    margin-right: 80px;
    margin-left: 0; } }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Recent Comments Widget
--------------------------------------------------------------*/
.widget_recent_comments .recentcomments .comment-author-link:before {
  padding: 0 0 0 9px; }

/*--------------------------------------------------------------
## - Search Widget
--------------------------------------------------------------*/
.widget .search-form input[type="search"] {
  padding: 10px 13px 10px 30px; }

.widget .search-form button[type="submit"] {
  left: 14px;
  right: initial; }

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Blog Loop: Grid
--------------------------------------------------------------*/
.blog-layout-grid article:nth-of-type(3n+1) {
  margin-right: 0;
  margin-left: 3.5%; }
  @media (max-width: 768px) {
    .blog-layout-grid article:nth-of-type(3n+1) {
      margin-right: 3.5%;
      margin-left: 0; } }
  @media (max-width: 480px) {
    .blog-layout-grid article:nth-of-type(3n+1) {
      margin-right: 0; } }

@media (max-width: 768px) {
  .blog-layout-grid article:nth-of-type(2n+1) {
    margin-right: 0;
    margin-left: 3.5%; } }
  @media (max-width: 768px) and (max-width: 480px) {
    .blog-layout-grid article:nth-of-type(2n+1) {
      margin-left: 0; } }

.blog-layout-grid article:nth-of-type(3n+3) {
  margin-right: 3.5%;
  margin-left: 0; }
  @media (max-width: 768px) {
    .blog-layout-grid article:nth-of-type(3n+3) {
      margin-right: 0;
      margin-left: 0; } }

body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(3n+1) {
  margin-left: 0; }

body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(2n+1) {
  margin-right: 0;
  margin-left: 3.5%; }
  @media (max-width: 480px) {
    body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(2n+1) {
      margin-left: 0; } }

body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(3n+3) {
  margin-right: 0; }

/*--------------------------------------------------------------
## - Related Posts
--------------------------------------------------------------*/
.yarpp-related ol li,
.related-posts-section ol li {
  float: right; }
  .yarpp-related ol li:nth-child(3n+1),
  .related-posts-section ol li:nth-child(3n+1) {
    margin-right: 0;
    margin-left: 3.5%; }
    @media (max-width: 480px) {
      .yarpp-related ol li:nth-child(3n+1),
      .related-posts-section ol li:nth-child(3n+1) {
        margin-right: 0;
        margin-left: 0; } }
  .yarpp-related ol li:nth-child(3n+3),
  .related-posts-section ol li:nth-child(3n+3) {
    margin-right: 3.5%;
    margin-left: 0; }
    @media (max-width: 480px) {
      .yarpp-related ol li:nth-child(3n+3),
      .related-posts-section ol li:nth-child(3n+3) {
        margin-right: 0;
        margin-left: 0; } }

/*--------------------------------------------------------------
## Portfolio
--------------------------------------------------------------*/
.archive-project {
  float: right; }
