﻿td.RTL
{
	direction: rtl;
}

td.RTL td.FormLabel
{
	padding: 5px;
	text-align: left;
	border-bottom: 1px dotted #D4DCE8;
	background-color: #F9FAFD;
}

td.RTL td.FormInput
{
	text-align: right;
	border-bottom: 1px dotted #D4DCE8;
	padding: 5px;
}

td.RTL div.DisplayContent
{
	line-height: 1.5em;
	text-align: right;
}

td.RTL div.DisplayContent h1
{
	font-family: Arial;
	font-size: 16pt;
	font-weight: bold;
	color: maroon;
	background-color: aliceblue;
	text-align: center;
	padding: 10px;
	margin: 5px;
}

td.RTL div.DisplayContent h3
{
	font-family: Arial;
	font-size: 12pt;
	font-weight: bold;
	color: #ffffff;
	background-color: darkseagreen;
	text-align: right;
	padding: 5px;
}
td.RTL div.DisplayContent table.DataTable
{
	border-collapse: collapse;
}

td.RTL div.DisplayContent table.DataTable td.CaptionCell
{
	font-weight: bold;
	font-size: 8pt;
	font-family: tahoma;
	text-align: center;
	padding: 5px;
	background-color: gainsboro;
	border: 1px solid gray;
}

td.RTL div.DisplayContent table.DataTable td
{
	padding-right: 2px;
	padding-left: 2px;
	padding-bottom: 2px;
	padding-top: 2px;
	text-align: center;
	border: 1px solid gray;
}

td.RTL div.DisplayContent table.DataTable td.MainCell
{
	font-weight: bold;
	background-color: whitesmoke;
}

td.RTL div.DisplayContent table.ContainerTable
{
	width: 100%;
}

td.RTL div.DisplayContent table.ContainerTable td.CaptionContainerCell
{
	border-right: #DDE56C 1px solid;
	border-top: #DDE56C 1px solid;
	border-left: #DDE56C 1px solid;
	border-bottom: #DDE56C 1px solid;
	background-color: #DDE56C;
	padding: 5px;
}
td.RTL div.DisplayContent table.ContainerTable td.CaptionContainerCell h4
{
	font-family: Arial;
	font-size: 12pt;
	margin: 0px;
}

td.RTL div.DisplayContent table.ContainerTable td.ContentsCell
{
	border-right: #DDE56C 1px solid;
	padding-right: 5px;
	border-top: #DDE56C 1px solid;
	padding-left: 5px;
	padding-bottom: 5px;
	border-left: #DDE56C 1px solid;
	padding-top: 5px;
	border-bottom: #DDE56C 1px solid;
}

td.RTL table.GridView tr.GridViewRow td
{
	text-align: center;
}
td.RTL table.GridView tr.Alternate td
{
	text-align: center;
}
td.RTL table.GridView tr.GridViweFooter td
{
	text-align: right;
}

td.RTL table.GridView tr.GridViewHeader th
{
	text-align: center;
}

td.RTL table.GridView tr.GridViewHeader, table.GridView tr.GridViewHeader a
{
	color: White;
}
td.RTL table.GridView td.SortColumn
{
	background-color: #A1BBE4;
}
td.RTL table.GridView tr.SelectedRow *
{
	background-color: #5BDD45;
	color: black;
}
td.RTL table.GridView tr.SelectedRow td
{
	border-bottom: 1px solid #ffffff;
	text-align: center;
}
td.RTL td.FormLabel, div.RightToLeftLoginInfo td.FormLabel
{
	text-align: left;
	padding-left: 10px;
}

td.RTL td.FormInput, div.RightToLeftLoginInfo td.FormInput
{
	text-align: right;
}

td.RTL div.InnerContainer
{
	padding: 10px;
	text-align: right;
}
td.RTL .ValidationSummary
{
	text-align: right;
	direction: rtl;
}
div.RightToLeftLoginInfo
{
	text-align: left;
}

div.GeneralContaierRTL #m-menu ul
{
	margin: 0;
	padding: 0 5px;
	list-style-type: none;
}
div.GeneralContaierRTL #m-menu ul li
{
	float: right;
}
div.GeneralContaierRTL #m-menu ul li a
{
	display: block;
	white-space: nowrap;
	padding: 0px;
	color: black;
	font-size: 8pt;
}
div.GeneralContaierRTL #m-menu ul li a span
{
	display: block;
	padding: 5px 5px 5px 5px;
}
div.GeneralContaierRTL #m-menu ul li a:hover
{
	background: transparent url( '/layout/images/menu-bg/bg-r.gif' ) no-repeat center right;
	color: black;
}
div.GeneralContaierRTL #m-menu ul li a:hover span
{
	background: transparent url( '/layout/images/menu-bg/bg-l.gif' ) no-repeat center left;
}
div.GeneralContaierRTL .default-align
{
	text-align: right;
}
div.GeneralContaierRTL .default-float
{
	float:left;
}
div.GeneralContaierRTL .default-margin
{
	float:left;
	margin-right:10px;
	margin-bottom:10px;
}

div.GeneralContaierRTL td.VeryLightGreen
{
	background-color: #D3E6EA;
}

.default-direction
{
	direction:rtl;
}
.opposite-direction
{
	direction:ltr;
}