/*
Theme Name: Tedwina
 
To add  support for language written in a Right To Left (RTL) direction.

http://codex.wordpress.org/Right_to_Left_Language_Support
 
*/

/* Global Reset 
===============================*/ 
body {
    direction: rtl;
    unicode-bidi: embed;
}

caption, th, td {
    text-align: right;
}

body,
button,
input,
select,
textarea {
	font-family: 'Droid Arabic Kufi', Arial, sans-serif;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 2em;
}
.site-title,
.entry-title,
.page-title,
.entry-content,
.entry-summary,
.widget-title,
.comments-title,
.comment .reply,
.comment-meta,
.comment-author,
#reply-title,
.widget-title,
.prefix-text,
h1, h2, h3, h4, h5, h6 {
	font-family: 'Droid Arabic Kufi', Arial, sans-serif;
}

ul, ol, dd {
	margin: 0 2.4em 3em 0;
}

blockquote {
	margin: 0 6em 0 3em;
}

blockquote cite:before {
	padding-right: 0;
	padding-left: .8em;
}

blockquote:before {
	left: auto;
	right: -0.5em;
	content: "\201d";
}

blockquote {
	position: relative;
	font-family: tahoma, sans-serif;
	font-size: 10pt;
}

button,
html input[type=submit],
input[type=reset],
input[type=button] {
	padding: 0 25px;
}

/* =Structure
----------------------------------------------- */


/* =Site Header
----------------------------------------------- */
.site-header hgroup {
	float: right;
}
.site-title ,
.site-description {
	float: right;
}


/* =Menu
----------------------------------------------- */


#access li {
	float:right;
}

#access a {
	border-left: 1px solid #f4ece7;
	border-right: none;
	font-weight: bold;
}

#access > li:first-child a {
	border-right: 1px solid #f4ece7;
}

#access ul ul {
	float: right;
	right: 0;
	left: auto;
}

#access ul ul ul {
	right: 100%;
	left: auto;
}

#access ul ul li:first-child a, #access ul ul ul li:first-child a {
	border-right: none;
}



/* =Content
----------------------------------------------- */

.entry-meta .entry-more, .entry-date, .entry-meta .entry-category, .attachment-size, .entry-meta .comments-link, .entry-meta  .entry-views {
	float: right;
	border-left: 1px solid #fff;
	border-right: none;
}


.icons {
	padding-left: 15px;
	padding-right: 0;
}

.entry-meta .entry-views {
	border-left: none;
}

.post-tags {
	padding: 2em 0 1em 0.5em;
}

.taxonomy-description p {
	margin: 0 30px 0 0;
}

/* =Social Media
----------------------------------------------- */

#social-media-icons {
	float: left;
}

#social-media-icons li {
	float: right;
}
#masthead #searchform {
	float: left;
}
#masthead .fa-search {
	right: 47px;
}
#masthead input#s {
	margin-left: 0;
	margin-right: 6px;
	text-indent: 35px;
}
.social-bookmarks p {
	display: none;
}

/* =Navigation
----------------------------------------------- */

.site-content .nav-previous {
	float: right;
}

.site-content .nav-next {
	float: left;
	text-align: left;
	width: 50%;
}

.meta-nav {
	display: inline-block;
    transform: rotate(180deg);
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Safari and Chrome */
    -o-transform: rotate(180deg); /* Opera */
    -moz-transform: rotate(180deg); /* Firefox */
}


/* =Comments
----------------------------------------------- */

.comments-area ol {
	margin-right: 0;
	margin-left: auto;
}

.comment .avatar {
	float: left;
	margin: 0 20px 20px 0;
}

a.comment-reply-link {
	float: right;
}

.commentlist .children {
	margin: 20px 0 0 40px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
	right: 1px;
	left: auto;
}

.comment-form-author .required,
.comment-form-email .required,
.comment-form-url .required,
.comment-form-comment .required {
	right: auto;
	left: 1.5%;
}


.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
	width: 110px;
}

/* =Widgets
----------------------------------------------- */

.widget ul li {
	margin: 0;
	padding: 0 17px 0 0;
}

.widget_categories li li a{
	padding-right: 10px;
	padding-left: 0;
}

/* =Site Footer
----------------------------------------------- */


.copyrights {
	float: right;
}

.credits {
	float: left;
	text-align: left;
	width: 50%;
}

/* =Enhacements
----------------------------------------------- */

#scrollUp {
    right: auto;
    left: 20px;
}

@media (max-width: 991px) {
	.site-title, .site-description {
		float: none;
		text-align: center;
	}
	#masthead #searchform {
		float: none;
	}
	#social-media-icons {
		float: none;
	}
	.entry-meta .entry-views {
		border-bottom: none;
	}
	.copyrights, .credits {
		float: none;
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.navbar-collapse {
		padding: 0;
	} 
	#access {
		display: block;
	}
	#access li {
		float: none;
	}
	#access a {
		border-right: none;
		padding: 1.3em 1.5em;
	}
	.entry-meta .entry-more, .entry-date, .entry-meta .entry-category,
	.attachment-size, .entry-meta .comments-link,
	.entry-meta .entry-views {
		border-right: none;
		border-left: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.55);
		text-align: right !important;
		padding-right: 2em;
		padding-left: 1em;
	}
}
