/*!
Theme Name: Arcane

Adding support for language 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.

http://codex.wordpress.org/Right_to_Left_Language_Support
*/

/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
body {
  direction: rtl;
  unicode-bidi: embed;
}
caption, th, td {
  text-align: right;
}

/*--------------------------------------------------------------
3.5 Blockquote
--------------------------------------------------------------*/
blockquote {
  border-right: 6px solid #f24444;
  border-left: none;
}

/*--------------------------------------------------------------
3.6 Dropcap
--------------------------------------------------------------*/
.dropcap {
  float: right;
  margin: 0 0 0 15px;
  margin: 0 0 0 0.9375rem;
}

/*--------------------------------------------------------------
4.2 List
--------------------------------------------------------------*/
ul, ol {
  margin: 0 36px 26px 0;
  margin: 0 2.25rem 1.625rem 0;
}
li > ul,
li > ol {
  margin-left: 0;
  margin-right: 24px;
  margin-right: 1.5rem;
}

/*--------------------------------------------------------------
4.3 Table
--------------------------------------------------------------*/
/* Table Reflow */
.table-reflow thead {
  float: right;
}
.table-reflow tr {
  float: right;
}

/*--------------------------------------------------------------
5.0 Accessibility
--------------------------------------------------------------*/
.screen-reader-text:focus {
  right: 5px;
  left: 0;
}
.site .skip-link {
  left: 0;
  right: -9999em;
}
.site .skip-link:focus {
  left: 0;
  right: 6px;
}

/*--------------------------------------------------------------
8.3 Primary Menu Responsive
--------------------------------------------------------------*/
/* Toogle Menu */
.toggle-menu-wrapper {
  left: auto;
  right: 0;
}

/* Site Primary Menu Responsive */
.site-primary-menu-responsive {
  left: 0;
  right: -280px;
}
.site-primary-menu-responsive.show {
  left: auto;
  right: 0;
}

/* Responsive Menu: (375px) and up */
@media (min-width: 23.4375em) {
  .site-primary-menu-responsive {
    left: 0;
    right: -335px;
  }
}
/* Responsive Menu: (414px) and up */
@media (min-width: 25.875em) {
  .site-primary-menu-responsive {
    left: 0;
    right: -375px;
  }
}

/* Primary Menu Responsive */
.primary-menu-responsive ul {
  margin-left: 0;
  margin-right: 24px;
  margin-right: 1.5rem;
}
.primary-menu-responsive .dropdown-toggle {
  left: 0;
  right: auto;
}
.primary-menu-responsive .page_item_has_children > a,
.primary-menu-responsive .menu-item-has-children > a {
  padding-left: 40px;
  padding-left: 2.5rem;
  padding-right: 0;
}

/*--------------------------------------------------------------
9.0 Navigation Menus Social
--------------------------------------------------------------*/
.col-social-menu {
	float: right;
}
.widget_nav_menu div[class^="menu-social-"] {
  text-align: right;
}
.site-social-menu ul li:last-child {
  border-right: none;
}
.site-social-menu ul li:first-child {
  border-right: 1px solid #262626;
}
.widget_nav_menu div[class^="menu-social-"] ul li {
  margin: 0 0 1px 1px;
  margin: 0 0 0.0625rem 0.0625rem;
}

/* Social2 Menu */
.site-social2-menu ul li {
  margin: 0 0 1px 1px;
  margin: 0 0 0.0625rem 0.0625rem;
}

/*--------------------------------------------------------------
10.1 Navigation Archives
--------------------------------------------------------------*/
.pagination .prev.page-numbers:before {
  content: "\f054";
}
.pagination .next.page-numbers:after {
  content: "\f053";
}

/*--------------------------------------------------------------
10.5 Navigation Common Styles: Comments, Attachments
--------------------------------------------------------------*/
.comment-navigation .nav-previous a:before,
.image-navigation .nav-previous a:before {
  content: "\f054";
  margin: 0 0 0 5px;
  margin: 0 0 0 0.3125rem;
}
.comment-navigation .nav-next a:after,
.image-navigation .nav-next a:after {
  content: "\f053";
  margin: 0 5px 0 0;
  margin: 0 0.3125rem 0 0;
}

/*--------------------------------------------------------------
15.2 Search Effect
--------------------------------------------------------------*/
.search-control-wrapper {
  text-align: left;
}

/*--------------------------------------------------------------
12.2 Page Links
--------------------------------------------------------------*/
.page-links .page-links-title {
  padding: 0 0 0 7px;
  padding: 0 0 0 0.4375rem;
}

/*--------------------------------------------------------------
12.7 Comments
--------------------------------------------------------------*/
.comment-list .edit-link {
  margin-left: 0;
  margin-right: 15px;
  margin-right: 0.9375rem;
}
.comment-respond #cancel-comment-reply-link {
  right: auto;
  left: 0;
}

/*--------------------------------------------------------------
13.0 Widgets
--------------------------------------------------------------*/
.widget li > ul,
.widget li > ol {
  margin-left: 0;
  margin-right: 24px;
  margin-right: 1.5rem;
}

/*--------------------------------------------------------------
13.1 Search Form Widget
--------------------------------------------------------------*/
.search-form .search-field {
  text-align: right;
}
.search-form .search-submit {
  float: left;
}

/*--------------------------------------------------------------
13.2 Tag Cloud Widget
--------------------------------------------------------------*/
.widget_tag_cloud a, .widget_tag_cloud a:visited {
  margin: 0 0 6px 6px;
  margin: 0 0 0.375rem 0.375rem;
  float: right;
}

/*--------------------------------------------------------------
13.3 Custom Menu Widget
--------------------------------------------------------------*/
.widget_nav_menu .custom-menu-toggle {
  right: auto;
  left: 0;
}

/*--------------------------------------------------------------
13.4 Pages Widget
--------------------------------------------------------------*/
.widget_pages .page-toggle {
  right: auto;
  left: 0;
}

/*--------------------------------------------------------------
13.5 Categories Widget
--------------------------------------------------------------*/
.widget_categories .category-toggle {
  right: auto;
  left: 0;
}

/*--------------------------------------------------------------
13.6 Post List Widget
--------------------------------------------------------------*/
.widget-postlist-arcane .postlist-thumbnail {
  float: right;
}
.widget-postlist-arcane .has-post-thumbnail .postlist-content {
  margin: 0 90px 0 0;
  margin: 0 5.625rem 0 0;
}

/*--------------------------------------------------------------
15.2 Search Effect
--------------------------------------------------------------*/
.search-curtain-wrapper .search-curtain-close {
  right: auto;
  left: 0;
}

/*--------------------------------------------------------------
15.3 Scroll Up
--------------------------------------------------------------*/
#scrollUp {
  right: auto;
  left: 30px;
}

/*--------------------------------------------------------------
17.4 Infinite Scroll
--------------------------------------------------------------*/
#infinite-handle span:before {
  display: none;
}

/**
 * Using a highly-specific rule to make sure that all button styles
 * will be reset
 */
#infinite-handle span button,
#infinite-handle span button:hover,
#infinite-handle span button:focus {
  display: inline;
  position: static;
  padding: 0;
  margin: 0;
  border: none;
  line-height: inherit;
  background: transparent;
  color: inherit;
  cursor: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
}

/**
 * This is used to avoid unnecessary inner button spacing in Firefox
 */
#infinite-handle span button::-moz-focus-inner {
  margin: 0;
  padding: 0;
  border: none;
}

/*--------------------------------------------------------------
17.6 Contact Info
--------------------------------------------------------------*/
.widget_contact_info .confit-address,
.widget_contact_info .confit-phone,
.widget_contact_info .confit-hours {
  padding-left: 0;
  padding-right: 30px;
  padding-right: 1.875rem;
}
.widget_contact_info .confit-address:before,
.widget_contact_info .confit-phone:before,
.widget_contact_info .confit-hours:before {
  right: 0;
  left: auto;
}

/*--------------------------------------------------------------
18.0 Media Queries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
18.1 Small devices (landscape phones, 544px and up)
--------------------------------------------------------------*/
@media (min-width: 544px) {
  /* Typography: Blockquote */
  .sidebar blockquote, .footer-sidebar blockquote {
    padding-right: 20px;
    padding-left: 0;
  }
  /* Navigation Menus: Primary Menu Responsive */
  .site-primary-menu-responsive {
    left: 0;
    right: -400px;
  }
  /* Navigation Misc: Navigation Post */
  .post-navigation .nav-previous {
    padding: 0 0 0 30px;
  }
  .post-navigation .nav-next {
    border-right: 1px solid #eee;
    border-left: none;
    padding: 0 30px 0 0;
  }
  /* Content: Comments */
  /* Comment Body */
  .comment-list > li > .comment-body {
    padding-left: auto;
    padding-right: 83px;
    padding-right: 5.1875rem;
  }
  .comment-list > li > .children .comment-body {
    padding-left: auto;
    padding-right: 65px;
    padding-right: 4.0625rem;
  }
  .comment-list .bypostauthor .comment-body {
    padding-left: auto;
    padding-right: 98px;
    padding-right: 6.125rem;
  }
  .comment-list > li > .children .bypostauthor .comment-body {
    padding-left: auto;
    padding-right: 80px;
    padding-right: 5rem;
  }
  .comment-list .pingback .comment-body {
    padding-right: 0;
    padding-left: auto;
  }

  /* Comment Avatar */
  .comment-list > li > .comment-body .comment-author .avatar,
  .comment-list > li > .children .comment-body .comment-author .avatar {
    right: 0;
    left: auto;
  }
  .comment-list > li.bypostauthor > .comment-body .comment-author .avatar,
  .comment-list > li > .children li.bypostauthor > .comment-body .comment-author .avatar {
    right: 15px;
    left: auto;
  }
}

/*--------------------------------------------------------------
18.2 Medium devices (tablets, 768px and up)
--------------------------------------------------------------*/
@media (min-width: 768px) {
  /* Elements: List */
  ul, ol {
    margin: 0 36px 28px 0;
    margin: 0 2.25rem 1.75rem 0;
  }

  /* Navigation Menus: Primary Menu */
  /* Essential Styles */
  .sf-menu ul {
	left: auto;
	right: 0;
  }
  .sf-menu ul ul {
	left: auto;
	right: 100%;
  }

  /* Menu Skin */
  .sf-menu ul {
	text-align: right;
  }

  /* Last Child Reverse */
  .sf-menu > li:last-child > ul ul,
  .sf-menu > li:nth-last-child(2) > ul ul {
	left: 100%;
	right: auto;
  }

  /* styling for right-facing arrows */
  .sf-arrows ul .sf-with-ul {
	padding-right: 1em;
	*padding-right: 1em;
	padding-left: 2.5em;
	*padding-left: 1em;
  }
  .sf-arrows ul .sf-with-ul:after {
	left: 1em;
	right: auto;
	margin-right: auto;
	margin-left: -3px;
	border-right-color: #999999;
	border-right-color: rgba(153,153,153,.5);
	border-left-color: transparent;
	border-left-color: transparent;
  }
  .sf-arrows ul li > .sf-with-ul:focus:after,
  .sf-arrows ul li:hover > .sf-with-ul:after,
  .sf-arrows ul .sfHover > .sf-with-ul:after {
	border-right-color: #999999;
	border-left-color: transparent;
  }

  /* Content: Comments */
  /* Comment Body */
  .comment-list .bypostauthor .comment-body {
    padding: 30px 123px 30px 30px;
    padding: 1.875rem 7.6875rem 1.875rem 1.875rem;
  }
  .comment-list > li > .children .bypostauthor .comment-body {
    padding: 30px 94px 30px 30px;
    padding: 1.875rem 5.875rem 1.875rem 1.875rem;
  }
  /* Comment Avatar */
  .comment-list > li.bypostauthor > .comment-body .comment-author .avatar,
  .comment-list > li > .children li.bypostauthor > .comment-body .comment-author .avatar {
    right: 30px;
    left: auto;
  }

  /* Widgets: Tag Cloud Widget */
  .widget_tag_cloud a, .widget_tag_cloud a:visited {
    margin: 0 0 4px 4px;
    margin: 0 0 0.25rem 0.25rem;
  }
}
