/*
Theme Name: Arabic Pinboard
Description: Adds support for languages written in a Right To Left (RTL) direction.
It's easy, just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

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

body {
direction: rtl;
unicode-bidi: embed;
}

/*
	Style HTML Tags
*/

caption,
th,
td {
	text-align: right;
}
pre {
	direction:ltr;
}
blockquote {
	margin:0 60px 0 30px;
}
blockquote cite:before {
	content:"\2014";
	padding-left:8px;
}

dd {
	margin-right:30px;
}

ul {
	margin-right:30px;
}

ol {
	margin-right:30px;
}

/*
	WordPress Standard Tags
*/

.gallery-item {
	float:right;
}


.post-gallery-item img {
	float:right;
}


/*
	Grid System
*/

.column {
	float:right;
}

/*
	Theme Design, Layout and Typography
*/

#site-title,
#site-description {
	float:right;
}

#sidebar-header {
	float:left;
}

#site-description {
	margin-right:20px;
}

#header #searchform {
	float:left;
	margin:60px 3px 0 3.4%;
}

#header input#s {
	margin-left:0;
	background-position:left;
	background-position: 6px;
}

#header input#s:focus {
	background-position:left;
	background-position: 6px;
}

input#searchsubmit {
	margin-left:10px;
}


#social-media-icons {
	float: left;
}

a.social-media-icon {
	margin-left: 6px;
}


#access ul {
	float:right;
}

#access li {
	float:right;
}

#access ul li:first-child {
	padding-right:0;
}

.drop-down-toggle {
	left:16px;
}

.drop-down-arrow {
	margin:8px 5px 0 0;
}

#access li li a {
	text-align: right;
}

#access li ul ul {
	margin:-45px 240px 0 0 !important;
}

.flex-direction-nav li,
.flex-pauseplay a {
	float: left;
}

.flex-control-nav {
	left:0;
}

.flex-control-nav li {
	margin:0 15px 0 0;
}

.flex-direction-nav,
.flex-pauseplay {
	left:80px;
	right:auto;
}

.flex-pauseplay {
	margin-left:-40px;
}

#slider .hentry {
	text-align: left;
}

#slider .wp-post-image,
#slider .entry-attachment {
	right: 0;
}

#slider .entry-title {
	left:0;
	float:left;
	right: auto;
}

#slider .entry-summary {
	float: left;
}

.content-sidebar-wrap {
	float:right;
}

.category-filter a {
	margin-right: 2%;
}

.page-template-template-sidebar-content-php #content,
.page-template-template-sidebar-content-half-php #content,
.page-template-template-blog-left-sidebar-php #content,
.page-template-template-portfolio-left-sidebar-php #content {
	float:left;
}

.page-template-template-content-sidebar-php #content {
	float:right;
}

.page-template-template-sidebar-content-sidebar-php .content-sidebar-wrap #content {
	float:left;
}

.page-template-template-full-width-php .hentry.onecol .wp-post-image,
.page-template-template-full-width-php .hentry.onecol .entry-attachment,
.page-template-template-full-width-php .hentry.onecol .post-gallery {
	float:left;
}

.format-status .avatar {
	float:right;
	margin-left: 20px;
}

.page-template-template-portfolio-php .post.onecol .entry-header {
	float:right;
}

.page-template-template-portfolio-php .post.onecol .entry-summary {
	float:left;
}

.page-template-template-portfolio-php .post.onecol .wp-post-image,
.page-template-template-portfolio-php .post.onecol .entry-attachment,
.page-template-template-portfolio-php .post.onecol .post-gallery {
	float:left;
}

.page-template-template-full-width-php .hentry.onecol .entry-header,
.page-template-template-blog-full-width-php .hentry.onecol .entry-header,
.page-template-template-blog-four-col-php .hentry.onecol .entry-header {
	float:right;
}

.page-template-template-full-width-php .hentry.onecol .entry-summary,
.page-template-template-blog-full-width-php .hentry.onecol .entry-summary,
.page-template-template-blog-four-col-php .hentry.onecol .entry-summary,
.page-template-template-full-width-php .hentry.onecol .entry-thumbnail,
.page-template-template-blog-full-width-php .hentry.onecol .entry-thumbnail,
.page-template-template-blog-four-col-php .hentry.onecol .entry-thumbnail {
	float:left;
}

.format-link .entry-title a:after {
	padding-right:8px;
}

.entry-meta span {
	padding-right:24px;
	margin-right:32px;
	padding-left: 0;
	margin-left: 0;
}

.entry-header .entry-meta span {
	padding:6px 24px 6px 6px;
}

.single .entry-meta span {
	padding:0 24px 0 0;
	margin-right:32px;
}

.entry-meta span.custom-meta,
.single .entry-meta span.custom-meta {
	padding-right: 0;
}

.entry-author-link {
	background-position:right;
}

.entry-date {
	background-position:right;
}

.entry-category {
	background-position:right;
}

.attachment-size {
	background-position:right;
}

.edit-link {
	background-position:right;
}

.entry-permalink {
	float:left;
	background-position:right;
}


.dropcap:first-letter {
	float: right;
}

.dropcap-grey:first-letter {
	margin-left: 10px;
}

.dropcap-black:first-letter {
	margin-left: 10px;
}

.columns .column {
	margin-right: 3%;
	margin-left: auto;
}

.entry-tags a {
	padding:1px 15px 1px 4px;
}

.entry-tags a:before {
	right: 6px;
}

#attachment-nav .nav-previous img {
	float:right;
}

#attachment-nav .nav-next img {
	float:left;
}

.facebook-like,
.twitter-button,
.google-plusone,
.pinterest-button {
	float:right;
	padding-right: 15px;
}

.google-plusone {
	width: 110px;
}
.entry-author .avatar {
	float:right;
}

.entry-author .author,
.author-bio,
.entry-author .author-meta {
	margin-right:126px;
}

.entry-author .author-website,
.entry-author .author-twitter {
	float:right;
}

.commentlist .children {
	margin:20px 40px 0 0;
}

.comment .avatar {
	float:left;
	margin:0 20px 20px 0;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
	right: 10px;
	top: 7px;
}

.comment-form-author .required,
.comment-form-email .required,
.comment-form-url .required,
.comment-form-comment .required {
	right: auto;
}


.nav-prev,
.nav-previous {
	float:right;
}

.nav-next {
	float:left;
}

.ajax-load {
	right:0;
}

.page-numbers.prev {
	padding-right:0;
}

.page-numbers.next {
	padding-left:0;
}

.page-template-template-sidebar-content-php #sidebar,
.page-template-template-sidebar-content-half-php #sidebar,
.page-template-template-blog-left-sidebar-php #sidebar,
.page-template-template-portfolio-left-sidebar-php #sidebar {
	float:right;
}

.page-template-template-content-sidebar-php #sidebar {
	float:left;
}

.widget-area li ul {
	margin-right:20px;
}

.tagcloud a {
	padding: 1px 18px 1px 6px;
}

.tagcloud a:before {
	right:6px;
}


.copyright {
	float:right;
}

.credits {
	float:left;
	margin-left:12px;
	text-align:left;
}

.entry-meta span:first-child,
.single .entry-meta span:first-child,
.page .entry-meta span:first-child {
		float: right;
}

/* =Media queries
-------------------------------------------------------------- */

@media screen and (max-width : 960px) {

	.page-template-template-portfolio-php .post.onecol .wp-post-image,
	.page-template-template-portfolio-php .post.onecol .entry-attachment,
	.page-template-template-portfolio-php .post.onecol .post-gallery {
		float:none;
	}
	.page-template-template-portfolio-php .post.onecol .entry-header,
	.page-template-template-portfolio-php .post.onecol .entry-summary {
		float:none;
	}
	#sidebar .twocol {
		float:none;
	}
}

@media screen and (max-width: 760px) {
	.entry-meta span:first-child,
	.single .entry-meta span:first-child,
	.page .entry-meta span:first-child {
		float: none;
	}
	.twocol,
	.threecol,
	.fourcol,
	.onecol .threecol,
	.threefourthcol .threecol,
	.onecol .fourcol {
		float:none;
		width:100%;
	}

	#site-title, #site-description {
		float: none;
	}

	#sidebar-header {
		float:none;
	}

	#access {
		position: absolute;
		top: 0;
		right: 0;
	}

	#access .nav-show,
	#access a.nav-show:hover {
		left: 5%;
		right: auto;
	}

	#access:target .nav-hide,
	#access:target a.nav-hide:hover {
		left: 0;
	}

	#access ul, #access li {
		float: none;
	}

	#access li li a {
		text-align: center;
	}

	#access a span {
		padding-right: 5px;
	}

	#access li ul ul {
		margin:0 !important;
	}

	#header #searchform {
		float:none;
		margin: 18px auto;
	}

	#header input#s {
		margin-right:12px;
	}

	#social-media-icons {
		float: none;
	}

	.flex-direction-nav{
		left: 41%;
	}
	
	.flex-pauseplay {
		left: 37.5%;
	}
	
	.entry-meta span,
	.single .entry-meta span,
	.page .entry-meta span {
		float: none;
		padding:6px 24px 6px 0;
		margin: 0;
	}

	.has-thumbnail.format-aside .entry-summary,
	.has-thumbnail.format-quote .entry-summary {
		margin-right:28.15%;
	}

	.has-thumbnail.format-chat .entry-content {
		margin:0;
	}
	
	.twocol.has-thumbnail .entry-title,
	.twocol.has-thumbnail .entry-summary {
		padding-right:3%;
	}
	
	.twocol.format-gallery .entry-summary {
		margin:0;
	}
	
	.twocol.format-image .wp-post-image {
		float:none;
	}

	.columns .twocol,
	.columns .threecol,
	.columns .fourcol,
	.columns .twothirdcol,
	.columns .threefourthcol {
		margin: 0;
	}
	
	.entry-author .author,
	.author-bio,
	.entry-author .author-meta {
		margin-right:76px;
	}

	#sidebar .twocol {
		float:right;
	}

	.copyright,
	.credits {
		float: none;
		text-align:right;
	}

}



