/*
Theme Name: Sequential

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
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Pagination
	5.2 - Main Navigation
	5.3 - Social Navigation
6.0 - Widgets
	6.1 - Footer Widget Area
	6.2 - Widgets Styles
7.0 - Layout
	7.1 - Margins
	7.2 - Blocks
8.0 - Content
	8.1 - Posts and pages
	8.2 - Comments
9.0 - Media
	9.1 - Galleries
	9.2 - Iframes
10.0 - Jetpack
	10.1 - Infinite Scroll
	10.2 - Sharedaddy
	10.3 - Breadcrumbs
	10.4 - Testimonials
11.0 - Responsive
	11.1 - x >= 600px
	11.2 - x >= 768px
	11.3 - x >= 1020px
--------------------------------------------------------------*/

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

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
blockquote {
	padding-right: 24px;
	padding-left: 0;
	border-right: 3px solid rgba(0, 0, 0, 0.03);
	border-left: 0;
}

/* Against Dark */
.footer-widget-area blockquote,
.hero blockquote {
	border-right-color: rgba(0, 0, 0, 0.25);
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
li > ul,
li > ol {
	margin-right: 24px;
	margin-left: 0;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
/* Search Form */
input[type="submit"].search-submit,
.search-form:before {
	right: auto;
	left: 0.5em;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Pagination
--------------------------------------------------------------*/
.comment-navigation .nav-previous,
.paging-navigation .nav-previous {
	float: right;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next {
	float: left;
	text-align: left;
}

/*--------------------------------------------------------------
5.2 Main Navigation
--------------------------------------------------------------*/
.menu-primary {
	right: 0;
	left: auto;
}
.sub-menu.toggle-on a,
.sub-menu.toggle-on .sub-menu.toggle-on a,
.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a,
.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a {
	padding-left: 12px;
}
.sub-menu.toggle-on a {
	padding-right: 24px;
}
.sub-menu.toggle-on .sub-menu.toggle-on a {
	padding-right: 36px;
}
.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a {
	padding-right: 48px;
}
.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a {
	padding-right: 60px;
}

/* Dropdown toggle */
.dropdown-toggle {
	right: auto;
	left: 12px;
}
.main-navigation .dropdown-link {
	padding-right: 12px;
	padding-left: 72px;
}

/*--------------------------------------------------------------
5.3 Social Navigation
--------------------------------------------------------------*/
ul[id^="menu-social"] {
	margin: -12px -6px 12px 0;
}
ul[id^="menu-social"] li {
	float: right;
}

/*--------------------------------------------------------------
6.0 Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
6.1 Footer Widget Area
--------------------------------------------------------------*/
.footer-widget-area .widget:before {
	right: 0;
	left: auto;
}

/*--------------------------------------------------------------
6.2 Widgets Styles
--------------------------------------------------------------*/
/* Calendar */
.widget_calendar tfoot td:nth-child(n+2) {
	border-left: 1px solid #e2e2e2;
}
.footer-widget-area .widget_calendar tfoot td:nth-child(n+2) {
	border-left-color: rgba(0, 0, 0, 0.5);
}

/* Tag Cloud */
.widget_tag_cloud > div {
	padding-bottom: 18px;
}
.widget_tag_cloud a {
	float: right;
	margin: 0 0 6px 6px !important;
}

/*--------------------------------------------------------------
7.0 Layout
--------------------------------------------------------------*/
/*--------------------------------------------------------------
7.1 Margins
--------------------------------------------------------------*/
.archive .hentry:before,
.blog .hentry:before,
.comment-list .comment:before,
.comment-list .pingback:before,
.footer-widget-area .widget:before,
.grid-area .hentry:before,
.jp-relatedposts-items-visual .jp-relatedposts-post:before,
.page-header,
.post-thumbnail,
.search .hentry:before,
.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin-right: -12px;
	margin-left: 0;
}

/*--------------------------------------------------------------
7.2 Blocks
--------------------------------------------------------------*/
.top-content {
	text-align: left;
}
.site-branding {
	float: right;
}
.main-navigation {
	float: left;
}

/*--------------------------------------------------------------
8.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
8.1 Posts and pages
--------------------------------------------------------------*/
.archive .hentry:before,
.blog .hentry:before,
.grid-area .hentry:before,
.search .hentry:before {
	right: 0;
	left: auto;
}

/* Page Links */
.page-links > a,
.page-links > span:not(.page-links-title) {
	margin: 0 8px 6px 0;
}

/* Entry Footer & Entry Meta */
.entry-footer span + span:before,
.entry-meta span + span:before {
	margin-left: 0;
	margin-right: 0.25em;
}

/*--------------------------------------------------------------
8.2 Comments
--------------------------------------------------------------*/
.comment-reply-title small {
	float: left;
}
.comment-author .avatar {
	float: right;
	margin-right: 0;
	margin-left: 12px;
}

/*--------------------------------------------------------------
9.0 Media
--------------------------------------------------------------*/
/*--------------------------------------------------------------
9.1 Galleries
--------------------------------------------------------------*/
.gallery .gallery-item {
	float: right;
}
.gallery .gallery-item:before {
	right: 0;
	left: auto;
}

/* Columns */
.gallery-columns-1 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-7 .gallery-item {
	float: none;
}
.gallery-columns-2 .gallery-item:nth-of-type(2n-2),
.gallery-columns-3 .gallery-item:nth-of-type(3n-3),
.gallery-columns-4 .gallery-item:nth-of-type(2n-2),
.gallery-columns-6 .gallery-item:nth-of-type(3n-3),
.gallery-columns-8 .gallery-item:nth-of-type(2n-2),
.gallery-columns-9 .gallery-item:nth-of-type(3n-3) {
	clear: left;
}
.gallery-columns-2 .gallery-item:nth-of-type(2n-1),
.gallery-columns-3 .gallery-item:nth-of-type(3n-2),
.gallery-columns-4 .gallery-item:nth-of-type(2n-1),
.gallery-columns-6 .gallery-item:nth-of-type(3n-2),
.gallery-columns-8 .gallery-item:nth-of-type(2n-1),
.gallery-columns-9 .gallery-item:nth-of-type(3n-2) {
	clear: right;
}

/*--------------------------------------------------------------
9.2 Iframes
--------------------------------------------------------------*/
/* Playlists */
.site .wp-playlist-item-length {
	right: auto;
	left: 0;
}

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

/*--------------------------------------------------------------
10.2 Sharedaddy
--------------------------------------------------------------*/
/* Social */
.sd-social.sd-social-icon li {
	margin-left: 6px !important;
	margin-right: 0 !important;
}
.sd-social.sd-social-icon .sharing-hidden .inner {
	margin-left: 0;
	margin-right: -9px;
}

/* Admin Bar */
div[id="wpadminbar"] li#wp-admin-bar-admin-bar-likes-widget {
	width: 61px;
	overflow: hidden;
}
div[id="wpadminbar"] iframe.admin-bar-likes-widget {
	width: 61px;
	height: 28px;
	min-height: 28px;
	border-width: 0px;
	position: absolute;
	top: 0;
}

/* Gravatar Like */
#likes-other-gravatars ul.wpl-avatars li {
	float: right;
	margin: 0 0 5px 5px;
}
#likes-other-gravatars ul.wpl-avatars li a {
	margin: 0 0 0 2px;
}

/*--------------------------------------------------------------
10.3 Breadcrumbs
--------------------------------------------------------------*/
.breadcrumb-area a {
	margin-right: 0;
	margin-left: 10px;
}
.entry-breadcrumbs a:after {
	border-right: 4px solid rgba(255, 255, 255, 0.75);
	border-left: 0;
	margin-right: 10px;
	margin-left: 0;
}

/*--------------------------------------------------------------
10.4 Testimonials
--------------------------------------------------------------*/
.jetpack-testimonial .testimonial-entry-content,
.testimonial-entry .testimonial-entry-content {
	border-right: 3px solid rgba(0, 0, 0, 0.03);
	border-left: 0;
	padding-right: 24px;
	padding-left: 0;
}

/*--------------------------------------------------------------
11.0 Responsive
--------------------------------------------------------------*/
/*--------------------------------------------------------------
11.1 x >= 600px
--------------------------------------------------------------*/
@media screen and (min-width: 600px) {

	/* Main Navigation */
	.sub-menu.toggle-on a,
	.sub-menu.toggle-on .sub-menu.toggle-on a,
	.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a,
	.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a {
		padding-left: 24px;
	}
	.sub-menu.toggle-on a {
		padding-right: 48px;
	}
	.sub-menu.toggle-on .sub-menu.toggle-on a {
		padding-right: 72px;
	}
	.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a {
		padding-right: 96px;
	}
	.sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on .sub-menu.toggle-on a {
		padding-right: 120px;
	}
	.dropdown-toggle {
		right: auto;
		left: 24px;
	}
	.main-navigation .dropdown-link {
		padding-right: 24px;
		padding-left: 96px;
	}

	/* Margins */
	.archive .hentry:before,
	.blog .hentry:before,
	.comment-list .comment:before,
	.comment-list .pingback:before,
	.footer-widget-area .widget:before,
	.grid-area .hentry:before,
	.jp-relatedposts-items-visual .jp-relatedposts-post:before,
	.page-header,
	.post-thumbnail,
	.search .hentry:before,
	.site-main .comment-navigation,
	.site-main .paging-navigation,
	.site-main .post-navigation {
		margin-right: -24px;
		margin-left: 0;
	}
}

/*--------------------------------------------------------------
11.2 x >= 768px
--------------------------------------------------------------*/
@media screen and (min-width: 768px) {

	/* Main Navigation */
	.dropdown-toggle {
		right: auto;
		left: 0;
	}
	.main-navigation .dropdown-link {
		padding-right: 24px;
		padding-left: 60px;
	}

	/* Media */
	.gallery-columns-5 .gallery-item {
		float: right;
	}
	.gallery-columns-4 .gallery-item:nth-of-type(2n-2),
	.gallery-columns-4 .gallery-item:nth-of-type(2n-1),
	.gallery-columns-6 .gallery-item:nth-of-type(3n-3),
	.gallery-columns-6 .gallery-item:nth-of-type(3n-2) {
		clear: none;
	}
	.gallery-columns-4 .gallery-item:nth-of-type(4n-4),
	.gallery-columns-5 .gallery-item:nth-of-type(5n-5),
	.gallery-columns-6 .gallery-item:nth-of-type(6n-6) {
		clear: left;
	}
	.gallery-columns-4 .gallery-item:nth-of-type(4n-3),
	.gallery-columns-5 .gallery-item:nth-of-type(5n-4),
	.gallery-columns-6 .gallery-item:nth-of-type(6n-5) {
		clear: right;
	}
}

/*--------------------------------------------------------------
11.3 x >= 1020px
--------------------------------------------------------------*/
@media screen and (min-width: 1020px) {

	/* Main Navigation */
	.main-navigation {
		margin-right: 0;
		margin-left: -14px;
	}
	.main-navigation ul {
		padding-right: 0;
		text-align: left;
	}
	.main-navigation li {
		margin-right: 0;
		margin-left: -4px;
	}
	.main-navigation .menu-item-has-children > a {
		padding-right: 0;
		padding-left: 20px;
	}
	.main-navigation .menu-item-has-children > a:before {
		right: auto;
		left: 0;
	}
	.main-navigation ul ul .menu-item-has-children > a {
		padding-right: 0;
		padding-left: 40px;
	}
	.main-navigation ul ul .menu-item-has-children > a:before {
		right: auto;
		left: 24px;
		border-right: 4px solid rgba(255, 255, 255, 0.5);
		border-left: 0;
	}
	.main-navigation ul ul .menu-item-has-children:hover > a:before {
		border-right-color: #fff;
	}
	.main-navigation ul li:hover > ul {
		right: auto;
		left: auto;
	}
	.main-navigation ul ul li:hover > ul {
		right: 100%;
		left: auto;
	}
	.main-navigation ul ul {
		float: right;
		right: -999em;
		left: auto;
		text-align: right;
	}
	.main-navigation ul ul ul {
		right: -999em;
		left: auto;
		padding-right: 12px;
		padding-left: 0;
	}

	.main-navigation ul ul li {
		margin-left: 0;
	}

	/* Margins */
	.error-404-widgets .widget {
		margin-right: 0;
		margin-left: 72px;
	}
	.widget-area {
		margin-right: 0;
		margin-left: -36px;
	}
	.error-404-widgets .widget:nth-of-type(3n+3) {
		margin-left: 0;
	}
	.archive .hentry:before,
	.blog .hentry:before,
	.hentry:not(.page) .post-thumbnail,
	.jp-relatedposts-items-visual .jp-relatedposts-post:before,
	.search .hentry:before,
	.site-main .comment-navigation,
	.site-main .paging-navigation,
	.site-main .post-navigation {
		margin-right: -36px;
		margin-left: 0;
	}
	body:not(.full-width-layout):not(.no-sidebar) .content-area,
	.grid-area .post-thumbnail,
	.hero .post-thumbnail {
		margin-right: 0;
	}

	/* Floats */
	body:not(.full-width-layout):not(.no-sidebar) .content-area,
	.error-404-widgets .widget,
	.footer-widget-area .widget,
	.grid-area .hentry,
	.hero .has-post-thumbnail .entry-written-content {
		float: right;
	}
	.hero .post-thumbnail,
	.widget-area {
		float: left;
	}
	.footer-widget-area .widget:nth-of-type(3n+1),
	.grid-area .hentry:nth-of-type(3n+1) {
		clear: right;
	}

	/* Blocks */
	.menu-left .main-navigation {
		float: right;
		clear: right;
		margin-left: 0;
		margin-right: -18px;
	}
	body:not(.menu-left) .site-branding {
		padding-right: 0;
		padding-left: 72px;
	}

	/* Media */
	.gallery-columns-7 .gallery-item {
		float: right;
	}
	.gallery-columns-8 .gallery-item:nth-of-type(2n-2),
	.gallery-columns-8 .gallery-item:nth-of-type(2n-1),
	.gallery-columns-9 .gallery-item:nth-of-type(3n-3),
	.gallery-columns-9 .gallery-item:nth-of-type(3n-2) {
		clear: none;
	}
	.gallery-columns-7 .gallery-item:nth-of-type(7n-7),
	.gallery-columns-8 .gallery-item:nth-of-type(8n-8),
	.gallery-columns-9 .gallery-item:nth-of-type(9n-9) {
		clear: left;
	}
	.gallery-columns-7 .gallery-item:nth-of-type(7n-6),
	.gallery-columns-8 .gallery-item:nth-of-type(8n-7),
	.gallery-columns-9 .gallery-item:nth-of-type(9n-8) {
		clear: right;
	}

	/* Extra CSS: Columns */
	[class^="column-1-"] {
		float: right;
		margin-right: 0;
		margin-bottom: 24px;
		margin-left: 72px;
	}
	body:not(.full-width-layout) .column-1-3 {
		float: none;
		margin-left: 0;
	}
	.last-column {
		margin-left: 0;
	}
	.last-column + * {
		clear: right;
	}
}
