/*
@font-face {
    font-family: MMA_Mitra;
    font-style:  bold;
    font-weight: bold;
    src: url(../fonts/MMAMITR0.eot);
}
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin:0;
outline-style:none;
outline-width:0;
padding:0;
line-height:20px;
font-family:tahoma;
font-size:12px;}

body {width:90%; direction:rtl; text-align:right; background:#FFF;}

.ja-box-bl {
background:transparent url(../../images/box-bl.gif) no-repeat scroll left bottom;}

#ja-main .ja-box-tl {
padding-bottom:10px;
}

.main .inner {
padding-left:5px;
padding-right:5px;
}

.ja-content-main {
padding:10px 15px;}

#ja-current-content {
background:transparent url(../../images/border-r.gif) repeat-y scroll right 0;
}

#ja-breadcrums  .inner{
margin-left:0;
margin-right:0;
text-align:right;}

.ja-box-tl {
background:transparent url(../../images/box-tl.gif) no-repeat scroll left top;}

#ja-main .ja-box-tl {
padding-bottom:10px;
}

#ja-breadcrums .inner {
background:transparent url(../../images/h3-bg.gif) no-repeat scroll right center;
height:30px;
line-height:30px;
margin:0;
padding:0 10px 0 0;
padding-right:10px;
}

#ja-breadcrums {
background:transparent url(../../images/h3-bg.gif) no-repeat scroll left center;
font-size:110%;
height:30px;
line-height:30px;
padding:0 0 0 15px;
}

#ja-main .inner {
padding:0 !important;
}

html[xmlns] .clearfix {
display:block;
}

.ja-box-tr {
background:transparent url(../../images/box-tr.gif) no-repeat scroll right top;}

.ja-box-bl {
background:transparent url(../../images/box-bl.gif) no-repeat scroll left bottom;
min-height:380px;}

.ja-box-br {
background:#FFFFFF url(../../images/box-br.gif) no-repeat scroll right bottom;}

table.internal {
	border:#CEE1FA solid 1px;
}

th {
    font-weight:normal;
}

tr {
}

.hspacer {
	WIDTH:100%;
	HEIGHT: 0px;
	BORDER: NONE;
	BACKGROUND-COLOR: white;
}

td {
}

td.homepage {
	padding: 5px;
	font-weight:bold;
}

td.header {
	padding: 0 15px 0 0;
	text-align: right;
	font-weight:bold;
	background:url(../../images/bac_header.png) bottom repeat-x;
	height:27px;
	font-size: 12px;
	background-color:#FFFFF;
	border-bottom:#D8D8D8 solid 1px;
	border-top:#D8D8D8 solid 1px;
}
div.header {
	padding-right: 20px;
	text-align: right;
	font-weight:bold;
	border:#D8D8D8 solid 1px;
	background:url(../../images/bac_header.png) bottom repeat-x;
	font-size: 13px;
	line-height:27px;
}

td.content {
	PADDING: 10px;
	BORDER: none;
	vertical-align:top;
	height:auto;
    text-align:justify;
	color:#333333;

}

td.content_row {
	PADDING: 5px;
	BORDER: SOLID 1px;
	BORDER-COLOR:#CEE1FA;
}

textarea {
	direction: rtl;
}

td.pad {
	padding: 5px;
	border:solid 1px;
	border-color:#CEE1FA;
}

a:link {
	text-decoration: none;
	color:#333333;
}

a:active {
	text-decoration: none;
	color:#333333;

}

a:visited {
	text-decoration: none;
	color:#333333;

}

a:hover {
	text-decoration: none;
	color:#666666;
}

div {
}

h1 {
	font-weight:bold;
	font-size: 12px;
}

h2 {
}

h3 {
}

h4 {
}

h5 {
}

h6 {
}

hr {
	width: 100%;
	color: #CEE1FA;
	background-color: #CEE1FA
}

input {
	padding:2px;
	margin-right:20px;
}

img {
	border: 0px;
}

li {
	text-align: justify;
	margin-right:20px;
}

ol {
}

option {
}

p {
	text-align: justify;
}

ul {
}

/*
 * Display Tag CSS
 */
.displayTable {
    background: #FFFFFF none repeat;
    border: 1px solid #D8D8D8;
    border-collapse: collapse;
    color: #000000;
    font-size: 1em;
    margin: 20px 0px 20px 0px;
	width:100%;
}

div.list {
	overflow-y: scroll;
	overflow-x:hidden;
}

.displayTable thead th, .displayTable thead td, .displayTable tfoot th, .displayTable tfoot td, .contribTable displayTable.tableHeaderTable {
	background:#F0F0F0;
    border:#D8D8D8 solid 1px;
	border-bottom:1px solid #999999;
    padding:2px;
	padding-right:10px;
	font-family:Tahoma;
	font-size:12px;
	font-weight:bold;
	text-align:center;

}

.displayTable th {
    font-weight: normal;
    line-height: normal;
    padding: 0.25em 0.5em;
    text-align: right;
}

.displayTable td {
    border:1px solid #DFDFDF;
    padding:5px;
	padding-right:15px;
}

.displayTable tr.over {
    border-bottom: 1px solid #C0C0C0;
    border-top: 1px solid #C0C0C0;
    color: #000000;
    cursor: pointer;
}

th.sorted a, th.sortable a {
    display: block;
}

.displayTable th.order1 {
    background-image: url( ../../images/arrow_down.png ) !important;
    background-position: 10px;
    background-repeat: no-repeat;
}

.displayTable th.order2 {
    background-image: url( ../../images/arrow_up.png ) !important;
    background-position: 10px;
    background-repeat: no-repeat;
}

.displayTable th.sorted {
    background-color: #ffd;
    color: #000000;
}

.displayTable th.sorted a, .displayTable th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    display: block;

}

.displayTable tr.even {
    background: #F9F9F9;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

.displayTable tr.odd {
    background: #fff;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

/* highlight .table row onmouseover */
.displayTable tr.over {
    border-bottom: 1px solid #C0C0C0;
    border-top: 1px solid #C0C0C0;
    color: #000000;
    cursor: pointer;
}

.displayTable tr.over:hover {
    background: #E8FFFF;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

.displayTable tr.odd:hover {
    background: #E8FFFF;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}
.detail th {
    text-align: right;
}

/*
 * Display Tag CSS mohammad
 */
.displayTable_m {
    background: #FFFFFF none repeat;
    border: 1px solid #D8D8D8;
    border-collapse: collapse;
    color: #000000;
    margin: 0px 0px 0px 0px;
	width:100%;
}

.displayTable_m thead th, .displayTable_m thead td, .displayTable_m tfoot th, .displayTable_m tfoot td, .contribTable displayTable_m.tableHeaderTable {
	background:#F0F0F0;
    border:#D8D8D8 solid 1px;
	border-bottom:1px solid #999999;
    padding:2px;
	padding-right:10px;
	font-family:Tahoma;
	text-align:center;

}

.displayTable_m th {
    font-weight: normal;
    line-height: normal;
    padding: 0.25em 0.5em;
    text-align: right;
}

.displayTable_m td {
    border:1px solid #DFDFDF;
    padding:5px;
	padding-right:15px;
}

.displayTable_m tr.over {
    border-bottom: 1px solid #C0C0C0;
    border-top: 1px solid #C0C0C0;
    color: #000000;
    cursor: pointer;
}

th.sorted a, th.sortable a {
    display: block;
}

.displayTable_m th.order1 {
    background-image: url( ../../images/arrow_down.png ) !important;
    background-position: 10px;
    background-repeat: no-repeat;
}

.displayTable_m th.order2 {
    background-image: url( ../../images/arrow_up.png ) !important;
    background-position: 10px;
    background-repeat: no-repeat;
}

.displayTable_m th.sorted {
    background-color: #ffd;
    color: #000000;
}

.displayTable_m th.sorted a, .displayTable_m th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    display: block;

}

.displayTable_m tr.even {
    background: cornsilk;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

.displayTable_m tr.odd {
    background: bisque;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

/* highlight .table row onmouseover */
.displayTable_m tr.over {
    border-bottom: 1px solid #C0C0C0;
    border-top: 1px solid #C0C0C0;
    color: #000000;
    cursor: pointer;
}

.displayTable_m tr.over:hover {
    background: #E8FFFF;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

.displayTable_m tr.odd:hover {
    background: #E8FFFF;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

/**
 * Messages
 */

div.message {
    background:#DBEEFD;
    border:2px solid #0066FF;
    color:#666666;
    font-family: Tahoma;
    margin:0px;
	margin-top:4px;
    padding:5px;
    text-align: right;
    vertical-align: middle;
	width:99%;
    direction:rtl;
}

div.error, span.error, li.error {
    background: #FFFF66;
    border:2px solid red;
    color:#666666;
    font-family: Tahoma;
    margin:0px;
    padding:5px;
    text-align: right;
    vertical-align: middle;
	width:99%;
    direction:rtl;}

/* For Spring MVC */
span.error {
    display: block;
}

div.pagelinks {
    direction:ltr;
	margin-left:15px;
}

label.error {
    display: none; /* Replace the label in error with the validation message */
}

/* IE fix, followed by the rest of the world fix */
li.error {
    padding: 3px !important;
}

ul>li.error {
    padding: 0 !important;
}

div.message p {
    margin-bottom: 0;
}

img.validationWarning, div.error img.icon, div.message img.icon, li.error img.icon {
    border: 0 !important;
    width: 14px;
    height: 13px;
    vertical-align: middle;
    margin-right: 3px;
    background: transparent !important;
    /* important added because some themes define div#main img */
}

/* Replaces label with validation error */
div li img.validationWarning {
    float: right;
    margin-top: 5px;
    margin-left: 3px;
}
/* hides the icon when message is below input fields */
li div p img.validationWarning {
    /*margin-top: -17px; float: right*/
    display: none
}

div.message a {
    background: transparent;
    color: #0000FF;
}

div.message a:visited {
    background: transparent;
    color: #0000FF;
}

div.message a:hover {
    background: transparent;
    color: #008000;
}

div.message a:active {
    text-decoration: underline overline;
}

div.message img.icon {
    vertical-align: middle;
}

img.calIcon {
    vertical-align: middle;
    padding-bottom: 6px;
}

span.fieldError, .errorMessage {
    color: red;
    display: block;
}

/* Tapestry-specific messages: http://tapestry.apache.org/tapestry4.1/usersguide/clientside-validation.html */
.fieldMissing {
    background: #FFCA7A !important;
}

.fieldInvalid {
    background: #FF887A !important;
}

.alertDialog {
    width: 30em;
    border: 2px solid red;
    padding: 2em;
    text-align: right;
    background: #fff;
    -moz-border-radius: 10px;
}

.alertContent .alertButton {
    float: left;
    position: relative;
    bottom: .75em;
}

.missingList, .invalidList {
    padding-bottom: 1em;
    padding-top: 0.2em;
    padding-left: 0.1em;
    padding-right: 0.2em;
    margin: 0;
}

.missingList {
    border-top: 4px solid #FFCA7A;
}

.invalidList {
    border-top: 4px solid #FF887A;
}

.missingList li, .invalidList li {
    list-style: none;
    line-height: 1.2;
}


/*
 * Form CSS
 */

/* A CSS Framework by Mike Stenhouse of Content with Style */
/* ----- CLASSIC WUFOO FORM ----- */
form {
}

li#buttonBar div {
    display:inline;
    padding: 3px;
}

form ul {
    position: relative;
    list-style: none;
    /*width: 100%;*/
    padding: 0;
}

/* Fixes for forms around everything in JSF */
form ul.glassList {
    list-style: url(../../images/aquadot.jpg) disc outside;
    vertical-align: top;
    line-height: 1.2em;
    margin-left: 40px;
}

form ul.glassList li {
    line-height: 1.1em;
    padding: 2px 0 3px 0;
}

form .pagebanner, form .exportlinks, form .table {
}
/* End of JSF fixes */

form li {
    line-height: 2em;
    margin: 0;
    padding: 1px 1px 6px 5px;
}

form li.focused {
    background-color: #fff7c0 !important;
}

form li p {
    line-height: 13px;
    color: #444;
}

form[id] li {
    display: block;
}

form[id] ul.glassList li {
    display: list-item;
}

form li div {
    display: inline-block;
}

form li div.group {
    display: block !important;
    background-color: #f7f7f7;
    padding: 10px;
    width: 355px;
}

form li div.group p, form div.group p label {
    text-align: right;
}

form li div.group input.large, form li div.group textarea.large, form li fieldset {
    width: 339px;
}

form[id] li div {
    display: inline;
}

form .left{
    float: left !important;
    margin: 0;
}

form .right{
    float: right !important;
    margin: 0;
}

form .clear{
    clear: both;
}

form li div {
    margin-bottom: 0;
}

form li div p {
    margin: 0 0 5px 0;
}

form div.left{
    margin-right: 2px !important;
}

form div.left[class]{
    margin-right: 4px !important;
}

form div.left img{
    margin: 0 0 -2px 0;
}

/* ----- INFO ----- */
form h2{
    font-size: 1.8em;
    clear: left;
}

form .info{
    display: inline-block;
    margin: 0 0 4px 0;
    padding: 0 0 4px 0;
    border-bottom: 1px dotted #ccc !important;
    text-align: right;
}

form .info[class]{
    display: block;
    text-align:right;
}

form .info p{
    line-height: 1.3em;
    margin: 0 0 8px 0;
}

/* ----- SECTIONS ----- */
form .section{
    display: inline-block;
    border-top: 1px dotted #ccc !important;
    margin-top: 15px !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
}

form .section[class]{
    display: block;
}

form .first{
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 1px !important;
}

form .section h3{
    font-size: 1.25em;
}

form .section p{
    line-height: 13px;
}

/* ----- FIELDS AND LABELS ----- */

select {
    margin:0;
    padding:1;
	margin-right:20px;
	width:186px;
}

label.desc {
    margin: 4px 0 3px 0;
    border: 0;
    color: #444;
	margin-right:25px;
    font-size: 1em;
    line-height: 1.3em;
    display: block;
	font-weight:bold;
}

/* wwlbl is from Struts and this is needed to make things work properly with IE 7 */
div.wwlbl { display: block !important }

p label {
}

input.text, input.number, input.url, input.email, input.password, input.file,
textarea.textarea, select.select{
    border: 1px solid #B0BEC7;
    /*border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-right: 1px solid #c3c3c3;
    border-bottom: 1px solid #ddd;*/
    /*background: #fff url(../../images/fieldbg.gif) repeat-x top;*/
    /*color: #333;*/
}

input.file
{
	
}

input.text, input.number, input.url, input.email, input.password{
    padding: 2px;
	margin-right:20px;
	width:180px;
}

input.currency{
    text-align: right;
}

input.checkbox, input.radio{
    display: block;
    margin: 5px;
    width: 13px;
    height: 13px;
}

input.focus, textarea.focus {
    background: #ffd;
    color: #000;
}

label.choice {
    display: block;
    line-height: 1.4em;
    margin: -25px 45px 5pt 10px;
    padding: 4px 0 5px 0;
    color: #444;
    width: 80%;
}

textarea.textarea{
    margin-bottom: 1px;
}

textarea.textarea[class]{
}

select.select{
    padding: 1px 0 0 0;
    margin: 1px 0 3px 0;
}

select.select[class]{
    margin:0;
    padding:1;
	margin-right:20px;
	width:186px;
}

/* ----- SIZES ----- */
form .small{
    width: 70px;
}

form .medium{
    width: 170px;
}

form .state{
    width: 160px;
}

form .large, form textarea.textarea{
    width: 349px;
	margin-right:20px;
}

form .tags{
    width: 320px;
}

form textarea.small{
    height: 5.5em;
}

form textarea.medium{
    height: 10em;
}

form textarea.large{
    height: 20em;
}

/* ----- ERRORS ----- */
form li.error{
    background-color: #FFDFDF;
    margin: 3px 0 !important;
}

input.error, textarea.error{
    background: #FFCA7A;
}

p.error, li.error label.desc{
    color: red !important;
}

p.error{
    margin: 1px 0;
}

/* ----- REQUIRED ----- */
.req {
    color: #f90;
}

/* ----- Fieldsets ----- */
fieldset {
    margin: 0 0 5px 0;
    padding: 10px 10px 5px 10px;
    color: #B0BEC7;
}

/* Firefox and others, don't apply to IE or it will put a border under each input element */
li>fieldset, form>fieldset { border: 1px solid silver }

fieldset.choices{
    padding: 10px 5px 10px 10px;
}

fieldset.fieldset{
    padding: 0 0 10px 0;
}

legend{
    margin: 0 0 0 0;
    color: #444;
}

#formProperties[id] legend, .choices[class] legend{
    margin: 0 0 0 -5px;
}

.fieldset legend{
    margin: 0;
}

.fieldset[class] legend{
    margin: 0 0 0 5px;
}

#formProperties fieldset div{
    margin-bottom: 7px;
}

fieldset div .number{
    margin: 7px 15px 0 0;
}

fieldset p{
    margin: 10px;
}

/* ----- Choices ----- */
.choices input{
    width: 200px;
    margin-right: 3px;
}

.choices ol{
    margin: 10px 0 0 0;
}

.choices[class] ol{
    margin: 0 !important;
}

.choices img{
    margin: 0 0 1px 0;
}

fieldset ol li {
    display: list-item !important;
    margin: 0 5px 2px 3px !important;
    padding: 0 !important;
    list-style: inside decimal;
}

/* ----- Buttons ----- */
input.button, button {
    /*padding: 2px 2px 0 0; */   /* fix for IE */
    padding:2px;
	padding-left:15px;
	padding-right:15px;
	margin-top:5px;
	
}

/* revert to normal for Firefox */
li>input.button, li>button, input.button>input.button, button>button, span>input.button, div>input.button {
    padding: 2px;
}

/* pickList for roles in Spring and WebWork */
table.pickList {
    padding: 0;
    border-spacing: 0;
}

table.pickList th.pickLabel {
    text-align: center;
}

table.pickList td {
    text-align: center;
    vertical-align: middle;
}

table.pickList td label {
    vertical-align: middle;
}

table.pickList td button {
    padding-bottom: 2px;
}

table.pickList td select {
    width: 130px;
}

/* END FORM ELEMENTS */

/* Specific forms */

#loginForm fieldset {
    width: 300px;
    padding: 10px 30px;
    margin: 0 auto;
}

#loginForm li {
    text-align: right;
    padding: 0;
}

table.header {
	background:url(../../images/header_middle.png) repeat-x left top;
	height:77px;
	margin-top:0px;
}

td.header_tight {
	background:url(../../images/header_right.png) no-repeat right top;
	height:77px;
}

td.header_left {
	background:url(../../images/header_left.png) no-repeat left top;
	height:77px;
}


table.footer {
	background:url(../../images/bg_bot.png) repeat-x left bottom;
}

td.footer_tight {
	background:url(../../images/bg_bot_right.png) no-repeat right bottom;
}

td.footer_left {
	background:url(../../images/bg_bot_left.png) no-repeat left bottom;
}
.back_menu {
	margin:-30px 40px 0 40px;
}

.header_user_name {float:left; padding-left:20px; height:26px; min-width:20%; margin-top:-25px; text-align:left; font-weight:bold;}


.ajaxPanel {
    border:1px solid #CEE1FA;
    padding:5px;
    margin-right:20px;
}

.ajaxPanelHead {
    border:1px solid #CEE1FA;
    padding:5px;
    margin-right:20px;
    background-color:#D8D8D8;
}

.border_right {
	background: #F6F6F6 url(../../images/border_right.png) repeat-y right top;
}

.border_left {
	background: url(../../images/border_left.png) repeat-y left top;
}