html,body{direction:rtl;text-align:right}

#searchTerm{text-align: right;}
.tags{padding: 0;}
.tags li{display: inline-block;list-style: none;padding: 4px 10px;font-size: 22px;}
#main-wrp:after{
	content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
sidebar, #main{float: right;}
sidebar{width: 30%; padding: 10px 1.7%;}
#main{width: 70%;
padding-top: 10px;
max-width: 856px;}
sidebar img {
width: 90%;
max-width: 257px;
}
header{border-bottom: 1px solid gray;}
.search-form{padding: 30px 5px;}
.search-form.double-form {padding-bottom: 0;}
.search-form.sub-form {padding-top: 7px;}
.title-wrp {
float: right;
}
.pointer-wrp {
float: right;
margin-right: 30px;
border: 1px solid;
padding: 2px 10px;
border-radius: 5px;
}
.pointer-wrp ul{padding: 0;}
p.text {
padding: 0 0 2px 50px;
}
ul.term-all {
padding-left: 55px;
}
.padded {
padding: 10px;
}
.my-row label,
.row-float label {
display: block;
}
.my-row textarea{
	min-width: 600px;
	min-height: 300px;
}
.page {
border-bottom: 2px solid;
padding: 18px 7px;
}
.row-float {
float: right;
padding-left: 13px;
}
.menu-bar{
padding: 12px 7px;
list-style: none;
background-color: #5c2b26;
min-height: 40px;
}
.menu-item{
	display: inline-block;
	padding-left: 21px;
}
.menu-link,.menu-link:hover{
	color : white;
	font-size: 18px;
	font-weight: bold;
}
label.block {
display: block;
}
.contact-form textarea{min-width: 400px;min-height: 300px}
.messgae.show {
color: red;
font-size: 20px;
font-weight: bolder;
padding: 13px 6px;
}
p.success {
background: lightcyan;
padding: 10px;
border-radius: 11px;
border: 1px solid cyan;
font-size: 18px;
}
.road-main{padding: 10px 0;margin: 0;}
.road-main li {
list-style: none;
display: inline-block;
padding-right: 4px;
}
.road-main li:after{
	content: ' >>';
	color : #428bca;
}
.content-part-wrp{
	position: relative;
	margin-top: 200px;
}
.content-part{
	height: 400px;
	overflow: hidden;
	position: absolute;
	background: white;
	border: 1px solid gray;
	padding: 20px;
	border-radius: 12px;
}
.content-part.content-part-1{
	overflow-y: scroll;
	z-index: 5;
	width: 85%;
	left: 7.5%;

}
.content-part.content-part-2{
	z-index: 4;
	font-size: 0.9em;
	width: 80%;
	left: 10%;
	top : -50px;
}
.content-part.content-part-2 .opacity-wrp{opacity: 0.7}
.content-part.content-part-3{
	z-index: 3;
	font-size: 0.8em;
	width: 75%;
	left: 12.5%;
	top : -100px;
}
.content-part.content-part-3 .opacity-wrp{opacity: 0.6}
.content-part.content-part-4{
	z-index: 2;
	font-size: 0.7em;
	width: 70%;
	left: 15%;
	top : -150px;
}
.content-part.content-part-4 .opacity-wrp{opacity: 0.5}
.content-part.content-part-5{
	z-index: 1;
	font-size: 0.6em;
	width: 65%;
	left: 17.5%;
	top : -200px;
}
.content-part.content-part-5 .opacity-wrp{opacity: 0.4}
.content-part-wrp h2{
	font-size: 1.8em;
	margin: 1% 1.2%;
}
.content-part-wrp h3{
	font-size: 1.5em;
	margin: 1% 1.2%;
}
.content-part-wrp .tags li{
padding: 1% 1.5%;
font-size: 1.2em;
}
.content-part-wrp .pointer-wrp{
	margin-right: 2%;
border: 1px solid;
padding: 1% 1.2%;
}
.search-main{position :relative;}
.road-main a{cursor: pointer;}
.siblings-links{
	position: absolute;
	z-index: 99;
	top: 20%;
width: 100%;
}
.siblings-links a {
border: 1px solid #5c2b26;
padding: 3px;
border-radius: 4px;
background: white;
cursor: pointer;
width: 10%;
position: absolute;
}
/*.siblings-links a.prev{float: right;}*/
.siblings-links a.next{  left: 0;}

@media (max-width: 600px) {
	#main{
		min-height: 970px;
  		margin-bottom: 100px;
	}
	sidebar {
		position: fixed;
		z-index: 199;
		width: 100%;
		float: none;
		background: white;
		max-height: 20%;
		/*max-height: 10%;*/
		opacity: 0.8;
		bottom: 0;
		}
	sidebar:hover{opacity: 1}
	sidebar img.logo-big {
		display: none;
		padding-left: 20px;
		width: none;
		/*max-width: 20%;*/
		max-height: 20%;
		float: right;
		}
	.sidebar-road{
		float: right;
	}
	.menu-bar{background: url(angular/fav.jpg) #5c2b26 10px center  no-repeat;}
	#main {width: 100%;}
}
table{border-collapse: collapse;}
table, th, td {
border: 1px solid;
padding: 10px;
text-align: right;
}
.form-filter{padding: 5px;border: 1px dotted;margin-top: :5px;}
input#filter-terms {
margin-right: 1%;
}
li.term-item {
float: right;
list-style: none;
padding: 1px 9px;
border-left: 1px solid lightgray;
margin-bottom: 6px;
font-size: 18px;
}
autocomplete {
display: inline-block;
position: relative;
}
.autocomplete ul {
padding: 5px 2px;
list-style: none;
border: 2px solid #5c2b26;
max-width: 168px;
border-radius: 0 0 10px 10px;
font-size: 16px;
position: absolute;
top: 25px;
z-index: 9999;
background: white;
}
li.active {
background: #5c2b26;
color: white;

font-weight: bold;
}
div#fb-wrp {
padding-top: 10px;
}
.highlight{background: yellow;}
li.active .highlight{background: transparent;}
a.fb-share img {
width: 27px;
margin-right: 4px;
}
a.fb-share {
margin-right: 20px;
color: #5c2b26;
font-size: 20px;
}
a.fb-share:hover {
text-decoration: none;
}
#mail-error-msg{display: none;color: red;font-size: :17px;}
#mail-error-msg.show{display: block;}
ul.tags.sub-links li {border: 3px solid #2a6496;padding: 2px 4px;margin: 4px;border-radius: 15px;cursor: pointer;}
ul.tags.sub-links li:hover{	border-color: transparent;	background: #2a6496;	color: white;}
a.remove-sub {padding-left: 5px;font-size: 18px;font-weight: bold;}
ul.tags.sub-links li:hover a{color: white;text-decoration: none;}
ul.tags.sub-links li a:hover{text-decoration: none;}
.lesson .tags li{
  font-size: 12px;
}
.lesson .group-tags{float: right;padding-left: 10px;}