/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
  height: 100%;

}

form {
  margin: 1;
  padding: 1;
}

body {
         font-family: times new roman;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 17px;
	color: #c4136e;
         text-align: right;
		 direction:rtl;
font-weight: bold;
}



a.mainlevel:link, a.menu:visited, ul.menu, ul.menu:link, li.item1, ul.item1, item1.menu, span.menu, span.item1{
	text-decoration: none;
}

a.menu_style1:link, a:hover, a:visited {
	font-size: 10px;
	text-decoration: none;
	font-weight: bold;
	color: #c4136e;
}


a:link, a:hover, a:visited {
	font-size: 17px;
	text-decoration: none;
	font-weight: bold;
	color: #c4136e;
}
#active, #current  {
	color: #fa8ab2;
  background: url(images/cpm_28.jpg) top right no-repeat ;
 padding-right: 25px;


 }
#item4  {
	color: #fa8ab2;
  background: url(images/cpm_28.jpg) top right no-repeat ;
 padding-right: 25px;


 }

a:hover {
	text-decoration: underline;
}
contentpane, table.contentpane, .contentpane { direction: rtl; text-align: right;}

td.breadcrumbs_pathway, .breadcrumbs_pathway, breadcrumbs_pathway, td.breadcrumbs pathway, .breadcrumbs pathway, breadcrumbs _pathway {direction: rtl; 	color: #ddd;}





input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; }

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
	padding: 10px 0;
	margin-bottom: 1px;
}

.sectiontableentry1, .sectiontableentry2 {dir:rtl; text-align: right; margin-right: 5px; height:15px;}


div.center {
  text-align: center;
}

div#wrapper {
	margin-left: auto;
	margin-right: auto;
}

body.width_medium div#wrapper {
	width: 950px;
}

body.width_small div#wrapper {
	width: 773px;
}

body.width_fmax div#wrapper {
	min-width: 750px;
	max-width: 1050px;
}

div#header_l {
	position: relative;
}

div#header_r {
	height: 90px;
	padding-left: 370px;
	padding-right: 30px;
	padding-top: 25px;
	overflow: hidden;
	text-align: left;
}

div#logo {
	position: absolute;
	left: 0;
	top: 0;
	float: right;
	width: 298px;
	height: 75px;
	background: url(../images/mw_joomla_logo.png) 0 0 no-repeat;
	margin-left: 30px;
	margin-top: 25px;
}

div#newsflash {
	width: auto;
	margin-left: 350px;
	margin-right: 30px;
	border: 1px solid #00f;
}

div#tabarea {
	background: #f7f7f7 url(../images/mw_header_b.png) 0 0 repeat-x;
	margin: 0 11px;

}

div#tabarea_l {
	background: url(../images/mw_header_l_b.png) 0 0 no-repeat;
	padding-left: 32px;
}

div#tabarea_r {
	height: 42px;
	background: url(../images/mw_header_r_b.png) 100% 0 no-repeat;
	padding-right: 1px;
}


#pathway, .pathway, pathway {



	text-align: right;
        direction: rtl;
}

#search {
	float: right;
	width:auto;
	margin-top: 0px;
	margin-right: 0px;
	height: 40px;
	overflow: hidden;
	text-align:left;
}

form#searchForm input {
	vertical-align: middle;
}

form#searchForm table {
	border-collapse: collapse;
}

form#searchForm td {
	padding:0;
}

#mod_search_searchword {
	padding-left: 3px;
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
}

table.nopad td.middle_pad {
	width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
  display: block;
  margin: 0 20px;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
}

/* headers */

table.blog {
  direction: rtl;
}

contentheading, td.contentheading, .contentheading   {
  background: url(http://www.cpmjbeil.org/home/images/cross.gif) top right no-repeat;
  font-size: 20pt;  
  font-weight: bold;
  padding-bottom: 10pt;
  padding-right: 25pt;
  line-height: 20pt;
}



table.contentpaneopen, tr.contentpaneopnen, td.contentpaneopen, .contentpaneopen, contentpaneopen{


align: center;
}

h4 {
	font-family: tahoma;
	color: #333;
}

h3, .componentheading, table.moduletable th, legend {

margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 22pt;
font-weight: bold;
  padding-left: 0px;
	margin-bottom: 25px;
	text-align: left;
background-image:url(images/background_title.jpg);
background-repeat:no-repeat; height: 85px;
background-position: right ; background-margin: 10px ; 
}


	background: url(../images/mw_readon.png) top right no-repeat;
background-repeat:no-repeat; height: 75px;

a.readon {
	margin-top: 10px;
	display: block;
	float: right;

	padding-right: 20px;
	line-height: 12px;
	height: 16px;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


menu, .menu, #menu, a.mainlevel:link, a.mainlevel:visited, .mainlevel, mainlevel.menu {
/* menu links */

	padding-left: 5px;
        color: #666;
direction: rtl;
}

a.mainlevel:hover {

}

/* spacers */
span.article_separator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 5px;
}

.column_separator {
	border-left: 1px dashed #e0e0e0;
	padding-left: 10px;
}

td.buttonheading, div.buttonheading, table.buttonheading, buttonheading {
        direction: rtl;
        align: right;
}

td.buttonheading img {
	border:none;
}

table.contenttoc td {
  padding: 0 5px;
}

div.moduletable, div.module {
  margin-bottom: 25px;
}
/* module control elements */
/*customstyle*/
div.module_topmenu {
font-family: Courier;
font-size: 13px;
font-weight: bold;
color: #c393a2;
text-transform: capitalize;
text-align: left;
}

div.module_topmenu h3 {
font-family: Courier;
color: #c393a2;
}
div.module_menu h3 {
	font-family: Tahoma;
	font-size: 10px;
	color: #eee;
	margin: -23px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
}

div.module_menu {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}

div.module_menu div div div {
	padding: 10px;
	padding-top: 30px;
	padding-bottom: 15px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;


/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 15px 0 10px 0;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding-left: 20px; }

form#com-form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#com-form-login ul { padding-left: 20px; }



/* WebLinks */
span.description {
	display:block;
	padding-left: 30px;
}

padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}

/* Tooltips */





/* Component Specific Fixes */

#component-contact table td {


text-align: right;
  padding-bottom: 10pt;

   line-height: 20pt;


}
