/*
Theme Name: Boardwalk

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 Layout
6.0 Navigation
	6.1 Main Navigation
	6.2 Social Navigation
	6.3 Pagination
7.0 Accessibility
8.0 Sidebar
9.0 Widgets
10.0 Content
	10.1 Posts & Pages
	10.2 Post Formats
	10.3 Comments
11.0 Media
	11.1 Galleries
	11.2 Iframes
12.0 Jetpack
	12.1 Infinite Scroll
	12.2 Recipes
	12.3 Sharedaddy
	12.4 Site Logo
	12.5 Widgets
13.0 Eventbrite
14.0 Pace
15.0 Extra CSS
16.0 Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
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: 4px solid #d9d9d9;
	border-left: 0;
}

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

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
/* Search Form */
.search-form:before {
	right: auto;
	left: 0;
}
.search-form input[type="search"] {
	padding-left: 2.25em;
	padding-right: 5px;
}
input[type="submit"].search-submit {
	right: auto;
	left: 0;
}

/*--------------------------------------------------------------
5.0 Layout
--------------------------------------------------------------*/
.site-header {
	padding-right: 24px;
	padding-left: 12px;
}
.has-sidebar .site-header {
	padding-right: 24px;
	padding-left: 85px;
}
.site-branding {
	float: right;
}
.site-title {
	float: right;
	padding-right: 0;
	padding-left: 12px;
}
.site-description {
	float: right;
	padding-right: 0;
	padding-left: 12px;
}

/*--------------------------------------------------------------
6.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
6.1 Main Navigation
--------------------------------------------------------------*/
.main-navigation ul ul {
	padding-right: 24px;
	padding-left: 0;
}
.main-navigation ul ul.toggle-on:before {
	right: 0;
	left: auto;
}
.page_item_has_children > a,
.menu-item-has-children > a {
	padding-right: 0;
	padding-left: 62px;
}

/* Dropdown Toggle */
.dropdown-toggle {
	right: auto;
	left: 0;
}
.dropdown-toggle:after {
	right: auto;
	left: 11px;
}

/*--------------------------------------------------------------
6.2 Social Navigation
--------------------------------------------------------------*/
.social-navigation li {
	float: right;
	margin: 0 0 -1px -1px;
}
.social-navigation li:first-of-type {
	margin-left: -1px;
	margin-right: -1px;
}
.social-navigation .page_item_has_children > a,
.social-navigation .menu-item-has-children > a {
	padding-right: auto;
	padding-left: 0;
}

/*--------------------------------------------------------------
6.3 Pagination
--------------------------------------------------------------*/
/* Comment Navigation & Post Navigation */
.comment-navigation .nav-previous,
.post-navigation .nav-previous {
	float: right;
	width: 50%;
}
.comment-navigation .nav-next,
.post-navigation .nav-next {
	float: left;
	width: 50%;
	text-align: left;
}
.post-navigation .nav-previous a:before {
	-webkit-transform: rotate(-90deg);
	-moz-transform:    rotate(-90deg);
	transform:         rotate(-90deg);
}
.post-navigation .nav-next a:before {
	-webkit-transform: rotate(90deg);
	-moz-transform:    rotate(90deg);
	transform:         rotate(90deg);
}

/* Paging Navigation */
.paging-navigation > .screen-reader-text {
	right: 0;
	left: auto;
}

/*--------------------------------------------------------------
7.0 Accessibility
--------------------------------------------------------------*/
.screen-reader-text:focus {
	right: 5px;
	left: auto;
}

/*--------------------------------------------------------------
8.0 Sidebar
--------------------------------------------------------------*/
.sidebar-toggle {
	float: left;
	margin-right: 0;
	margin-left: -85px;
	border-right: 1px solid #d9d9d9;
	border-left: 0;
}
.main-navigation + .widget-area:before {
	right: -24px;
	left: auto;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget:before {
	right: -24px;
	left: auto;
}

/* Custom Menu */
.widget_nav_menu .sub-menu.toggle-on:before {
	right: 0;
	left: auto;
}

/* Lists */
.widget_archive ul,
.widget_categories ul,
.widget_links ul,
.widget_meta ul,
.widget_nav_menu ul,
.widget_pages ul,
.widget_recent_comments ul,
.widget_recent_entries ul,
.widget_rss ul {
	margin-right: 0;
}
.widget_categories .children,
.widget_nav_menu .sub-menu,
.widget_pages .children {
	padding-right: 24px;
	padding-left: 0;
}

/* Tag Cloud */
.widget_tag_cloud a {
	float: right;
	margin: 0 0 6px 6px !important;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts & Pages
--------------------------------------------------------------*/
/* Hentry */
.archive .hentry,
.blog .hentry,
.search-results .hentry {
	float: right;
}

/* Entry Header */
body.page .hentry.has-post-thumbnail .entry-header,
body.single .hentry.has-post-thumbnail:not(.format-video) .entry-header {
	right: 0;
	left: auto;
}

/* Entry Author */
.entry-author .author-avatar {
	float: right;
	width: 48px;
}
.entry-author .author-description {
	float: left;
}

/* Page Links */
.page-links {
	margin-right: -24px;
	margin-left: 0;
}
.page-links a,
.page-links > span {
	margin: 0 0 6px 6px;
}
.page-links > .page-links-title {
	padding-right: 0;
	padding-left: 6px;
}

/*--------------------------------------------------------------
10.2 Post Formats
--------------------------------------------------------------*/
/* Gallery */
.format-gallery .tiled-gallery,
.site-content .format-gallery .slideshow-window {
	margin-right: -24px;
	margin-left: 0;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-reply-title small {
	float: left;
}
.comment-list .comment:before,
.comment-list .pingback:before {
	right: -24px;
	left: auto;
}
.comment-author .avatar {
	float: right;
	margin-right: 0;
	margin-left: 24px;
}
.comment-list .reply:before {
	display: none;
}

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

/* Columns */
.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;
}

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

/*--------------------------------------------------------------
12.0 Jetpack
--------------------------------------------------------------*/
/*--------------------------------------------------------------
12.1 Infinite Scroll
--------------------------------------------------------------*/
#infinite-handle,
#infinite-handle span,
.site-main .infinite-loader {
	right: auto;
	left: 0;
}
#infinite-handle span:hover {
	right: auto;
	left: 5px;
}
.site-main .infinite-loader .spinner {
	right: 50% !important;
	left: auto !important;
	margin-right: -8.5px;
}

/*--------------------------------------------------------------
12.2 Recipes
--------------------------------------------------------------*/
.site-content .jetpack-recipe blockquote {
	margin-right: 0;
}

/*--------------------------------------------------------------
12.3 Sharedaddy
--------------------------------------------------------------*/
.sd-sharing-enabled:not(#jp-post-flair):before,
.jetpack-likes-widget-wrapper:before,
.sharedaddy.sd-block.sd-gplus:before,
.sd-rating:before,
div#jp-relatedposts:before {
	right: -24px;
	left: auto;
}

/*--------------------------------------------------------------
12.4 Site Logo
--------------------------------------------------------------*/
.site-logo-link {
	float: right;
	margin-right: 0;
	margin-left: 12px;
}

/*--------------------------------------------------------------
12.5 Widgets
--------------------------------------------------------------*/
/* RSS Links */
.widget_rss_links ul {
	margin-right: 0;
}
.widget_rss_links p a:last-of-type {
	margin-right: 8px;
	margin-left: 0;
}

/*--------------------------------------------------------------
13.0 Eventbrite
--------------------------------------------------------------*/
.eventbrite-event .entry-header span {
	padding-right: 0;
	padding-left: 12px;
}
.eventbrite-event .entry-header span:last-of-type {
	padding-left: 0;
}

/*--------------------------------------------------------------
14.0 Pace
--------------------------------------------------------------*/
.pace .pace-progress {
	right: 0;
	left: auto;
}

/*--------------------------------------------------------------
15.0 Extra CSS
--------------------------------------------------------------*/
.dropcap {
	float: right;
	margin-right: 0;
	margin-left: 0.0833333em;
}

/*--------------------------------------------------------------
16.0 Responsive
--------------------------------------------------------------*/
@media screen and (min-width: 768px) {
	/* Typography */
	blockquote {
		margin-right: -28px;
		margin-left: 0;
	}
	blockquote blockquote {
		margin-right: 0;
	}

	/* Elements */
	hr {
		margin-right: -72px;
		margin-left: 0;
	}

	/* Layout */
	.previous-link:not(.infinite-scroll) .site-main {
		padding-right: 73px;
		padding-left: 0;
	}
	.next-link .site-main {
		padding-right: 0;
		padding-left: 73px;
	}
	.site-footer {
		padding-right: 24px;
		padding-left: 0;
	}
	.site-info {
		padding-right: 0;
	}

	/* Navigation */
	.social-navigation {
		float: left;
	}
	.social-navigation ul {
		float: left;
	}
	.social-navigation li:first-of-type {
		margin-left: -1px;
		margin-right: 0;
	}
	.paging-navigation .nav-next {
		right: 0;
		border-right: 0;
		border-left: 1px solid #d9d9d9;
	}
	.paging-navigation .nav-previous {
		right: auto;
		left: 0;
		border-right: 1px solid #d9d9d9;
		border-left: 0;
	}
	.paging-navigation .nav-next a:before,
	.paging-navigation .nav-previous a:before {
		-webkit-transform: rotate(90deg);
		-moz-transform:    rotate(90deg);
		transform:         rotate(90deg);
	}

	/* Content */
	body.page .hentry.has-post-thumbnail .entry-header,
	body.single .hentry.has-post-thumbnail:not(.format-video) .entry-header {
		right: 50%;
		left: auto;
		margin-right: -312px;
		margin-left: 0;
	}
	.page-links {
		margin-right: -72px;
		margin-left: 0;
	}
	.archive .page-header,
	.search-results .page-header {
		right: 0;
		left: auto;
	}
	.format-gallery .gallery {
		margin-right: -72px;
		margin-left: 0;
	}
	.format-gallery .tiled-gallery,
	.site-content .format-gallery .slideshow-window {
		margin-right: -72px;
		margin-left: 0;
	}

	/* Media */
	.wp-caption.caption-big,
	.image-big {
		margin-right: -72px;
		margin-left: 0;
	}
	.caption-big .image-big {
		margin-right: 0;
	}
	.gallery-columns-5 .gallery-item,
	.gallery-columns-7 .gallery-item {
		float: right;
	}
	.gallery-columns-7 .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),
	.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-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),
	.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-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),
	.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;
	}

	/* Jetpack */
	.infinity-end .site-main {
		padding-right: 0;
		padding-left: 0;
	}
	.site-main .infinite-loader {
		border-left: 0;
		border-right: 1px solid #d9d9d9;
	}
	#infinite-handle {
		border-right: 1px solid #d9d9d9;
		border-left: 0;
	}
	#infinite-handle:before {
		-webkit-transform: rotate(90deg);
		-moz-transform:    rotate(90deg);
		transform:         rotate(90deg);
	}
	.sd-sharing-enabled:not(#jp-post-flair):before,
	.jetpack-likes-widget-wrapper:before,
	.sharedaddy.sd-block.sd-gplus:before,
	.sd-rating:before,
	div#jp-relatedposts:before {
		right: -72px;
		left: auto;
	}
	.hentry div#jp-relatedposts div.jp-relatedposts-items {
		margin-right: -12px;
		margin-left: 0;
	}
	.hentry div#jp-relatedposts div.jp-relatedposts-items.jp-relatedposts-items-minimal {
		margin-right: 0;
	}
	.widget-grofile .grofile-thumbnail {
		float: right;
	}
	.widget-grofile h4,
	.widget-grofile > ul,
	.widget-grofile .grofile-meta {
		float: left;
	}
	.widget-grofile > p {
		clear: both;
		padding-right: 72px;
		padding-left: 0;
	}
}
