/*
Theme Name: Twenty Ten
*/


/*
RTL Basics
*/


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




/*
LAYOUT: Two-Column (Right)
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#container {
	float: right;
	margin: 0;
}
#content {
	margin: 0 ;
}
#primary,
#secondary {
	float: left;
}
#secondary {
	clear: left;
}


/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url,
h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
input[type="submit"] {
	font-family: 'opensans-regular', arial, sans-serif;
}

/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#footer-widget-area .widget-area {
	float: right;
	margin-left: 20px;
	margin-right: 0;
}
#footer-widget-area #fourth {
	margin-left: 0;
}
#site-info {
	
}
#site-generator {
	float: left;
}


/* =Global Elements
-------------------------------------------------------------- */

/* Text elements */
ul, ol {
	margin: 0 1.5em 18px 0;
}
blockquote {
	font-style: normal;
}

/* Text meant only for screen readers */
.screen-reader-text {
	left: auto;
	text-indent:-9000px;
	overflow:hidden;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	float: right;
}
#site-description {
	clear: left;
	float: right;
	font-style: normal;
	width:auto;
	margin:75px 10px 18px;
	font-size:18px;
	color:#89241a;
}
#branding img {
	float: right;
}

/* =Menu
-------------------------------------------------------------- */

#access {
	
	clear:both;
}

#access .menu-header,
div.menu {
	
}

#access .menu-header li,
div.menu li{
	float:right;
}

#access ul ul {
	left:auto;
	right:0;
	float:right;
}
#access ul ul ul {
	left:auto;
	right:100%;
}

/* =Content
-------------------------------------------------------------- */

#content table {
	text-align: right;
	margin: 0 0 24px -1px;
}
.page-title span {
	font-style:normal;
}
.entry-title,
.entry-meta {
	clear: right;
	float: right;
	margin-left: 68px;
	margin-right: 0;
}

.entry-content input.file,
.entry-content input.button {
	margin-left: 24px;
	margin-right:0;
}
.entry-content blockquote.left {
	float: right;
	margin-right: 0;
	margin-left: 24px;
	text-align: left;
}
.entry-content blockquote.right {
	float: left;
	margin-right: 24px;
	margin-left: 0;
	text-align: right;
}
#entry-author-info #author-avatar {
	float: right;
	margin: 0 0 0 -104px;
}
#entry-author-info #author-description {
	float: right;
	margin: 0 104px 0 0;
}

/* Gallery listing
-------------------------------------------------------------- */

.category-gallery .gallery-thumb {
	float: right;
	margin-left:20px;
	margin-right:0;
}


/* Images
-------------------------------------------------------------- */

#content .gallery .gallery-caption {
	margin-right: 0;
}

#content .gallery .gallery-item {
	float: right;
}

/* =Navigation
-------------------------------------------------------------- */
.nav-previous {
	float: right;
}
.nav-next {
	float: left;
	text-align:left;
}

/* =Comments
-------------------------------------------------------------- */

.commentlist li.comment {
	padding: 0 56px 0 0;
}
.commentlist .avatar {
	right: 0;
	left: auto;
}
.comment-author .says, #comments .pingback .url  {
	font-style: normal;
}

/* Comments form */
.children #respond {
	margin: 0 0 0 48px;
}

/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	margin-right: 0;
}
.widget-area ul ul {
	margin-right: 1.3em;
	margin-left: 0;
}
#wp-calendar caption {
	text-align: right;
}
#wp-calendar tfoot #next {
	text-align: left;
}

/* Main sidebars */
#main .widget-area ul {
	margin-right: 0;
	padding: 0 0 0 0px;
}
#main .widget-area ul ul {
	margin-right: 0em;
	margin-left: 0;
}

/* =Footer
-------------------------------------------------------------- */
#site-generator {
	font-style:normal;
}
#site-generator a {
	background-position: right center;
	padding-right: 20px;
	padding-left: 0;
}

/*Responsive
-------------------------------------------------------------- */
@media only screen and (max-width: 900px) {
	#container {width:58%;}
}


@media only screen and (max-width: 768px) {
#responsive-menu-container #responsive-menu li.responsive-menu-item a .responsive-menu-subarrow{
		right:auto !important;
		left:0 !important;
	}
    iframe {max-width:100%;}	
	#site-description {clear:both; float:none; margin:0; overflow:auto; text-align:center;}
	#site-title {text-align:center; float:none;}
	#branding img {float:none; display:inline-block;}
	.social-menu {float:right; width:150px; margin:15px 10px 0 0;}
	#main {padding-top:6px;}
	section.home-top .slideshow {float:none;}
	section.home-top .slideshow .slide-content {font-size:24px; line-height:26px; max-width:180px; padding:10px;}
	section.home-top .about {float:none; text-align:center; width:90%; margin:10px auto; padding:10px;}
	
	section.hp-newsletter {text-align:center; font-size:14px;}
	section.hp-newsletter .hp-container {padding:0 10px;}
	section.hp-newsletter .form-container {margin-top:5px; float:right;width:300px; margin:5px auto;}
	section.hp-newsletter input {width:150px;}
	
	section.hp-services .item,
	section.hp-services .item:last-child {margin:20px auto; float:none;}
	
	section.hp-articles-content .hp-articles,
	section.hp-articles-content .hp-articles.video {float:none; width:100%; margin:30px 0;}
	section.hp-articles-content .hp-articles .thumb {float:none;}
	section.hp-articles-content .hp-articles .thumb img {border-radius:20px 20px 0 0; width:100%; height:auto;}
	
	section.hp-articles-content .hp-articles .content,
	section.hp-articles-content.inner-articles-content .hp-articles .content  {width:94%;}
	
	
	#container {width:100%; float:none; border:none;}
	#container #content {padding:0 10px;}
	
	.archive .hentry .thumb, .search .hentry .thumb {float:none;}
	.archive .hentry .archive-content, .search .hentry .archive-content {float:none; width:auto;}
 .archive 	#content .hentry .archive-content .entry-title, .search #content .hentry .archive-content .entry-title {line-height:0.6em;}
	
	.archive .hentry .thumb img, .search .hentry .thumb a {display: block;line-height: 0;margin: 0;
    padding: 0;}
	.archive .hentry .thumb img, .search .hentry .thumb img {width:100%; height:auto; border-radius:20px 20px 0 0;}
	
	#primary, #secondary {float:none; width:310px; margin:0 auto;}
		#footer #first.widget-area,
	#footer #second.widget-area {width:100%; float:none; clear:both; padding:0 20px;}
#footer .menu li {float:right; width:32%;}	
	
	
	
}
@media only screen and (max-width: 600px) {

}

@media only screen and (max-width: 480px) {
section.home-top .slideshow .slide-content {font-size:13px; line-height:17px; max-width:130px; padding:10px; min-width:auto;}


	#footer .menu li {float:none; width:92%;}
	#site-info .credits {float:none; text-align:center; clear: both;}
	#site-info .copyright {float: none; text-align: center;}
}