@charset "utf-8";

/********* element styles - after every change need to copy to editor.css *************/
body {
	background-color:#edefe0;
	text-align: center;
	margin: 0px;
	padding: 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
}

p,h1,h2 ,h3,h4 {
	margin:0px;
	padding:0px;
}

h1 {
	font-size:28px;
	line-height:28px;
	margin-bottom:5px;
}

h2 {
	font-size:16px;
}

h3	{
	font-size:14px;
}

h4 {
	font-size:14px;
	font-weight:normal;
}

p,li {
	line-height:18px;
}

img {
	border:none; /* otherwise imgs insid <a> get silly blue border */
}

a {
	text-decoration: underline;
	color:#000000;
}

a:hover {
	color:#74A324;
}

/*********** layout *****************/

#container {
	width:870px;
	margin:auto;
	background:url(images/bg_mid.gif) top center repeat-y;
}

#bg_top {
	background:url(images/bg_top.gif) top center no-repeat;
	height:6px;
	font-size:0px; /* on IE6 cancels the extra-height this div gets */
}

#bg_bot {
	background:url(images/bg_bot.gif) top center no-repeat;
	height:6px;
	font-size:0px;	font-size:0px; /* on mozilla and IE6 cancels the extra-height this div gets, which on IE6 caused #container to continue after #bg_bot */
}

/************************ menu ************************************/
#menu {
	width:828px;
	height: 31px;
	background:url(images/menu_bg.gif) top center repeat-x;
	margin:auto;
	margin-top:12px;
	margin-bottom:13px;
}

/* menu items */

#menu ul a {
	text-decoration: none;
	color: #7e3f98;
	font-weight:bold;
	font-size:14px;
	font-family:Arial, Helvetica, sans-serif;
	border-left:2px solid #f9f9f9;
	/*padding-top:14px; /* on IE6 this will make the border go up enough */
	/*padding-bottom:15px; /* on IE6 this will make the border go down enough */
	padding-left: 9px;
	padding-right: 9px;
	letter-spacing:0.05em;
	}

#menu ul .menu-last a{
	border: 0px;
}


#menu ul {
	list-style: none;
	margin:0px;
	padding:0px;
	position: relative;
	right:13px;
}

#menu li ul {
	display: none;
	position: absolute; 
	top: 31px; /* works only on IE6 !!! */
	right: 0px; /* works only on IE6 !!! */
}

#menu li {
	float: right;
	position: relative;
	line-height:31px; /* on IE6 this will make the border go up and down at all */
	height:31px;
	list-style:none; /* anti circle in mzilla */
}

#menu ul li a:hover, #menu ul li.over{
	color:#ffffff;
}

/* sub menus */

#menu ul ul { display:none; } /* hide sub menus */

/* sub menus items */

#menu li ul li {
	background: #c9d591; /* IE6 Bug */
	clear:right;
	width:110px;
	border: none;
	border-bottom: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	text-align:right;
	height:24px;
	padding-right:5px;
}

#menu li ul a {
	text-decoration: none;
	* background: #c9d591; /* to fix IE6 Bug, so hide from mozilla*/
	border: none;
	padding-right:1px; /* don't try without this line */
	height:15px;
	font-weight:normal;
} 

/* ul (sub menu) two ways of refering to. first class won't work on IE6, so second class is created with javascript */	

#menu ul li:hover ul, #menu ul li.over ul{ 
	display: block; 
}

#menu ul ul li:hover, #menu ul ul li.over{
	color: #ffffff;
}

#menu li ul li a:hover{ 
	color: #ffffff;
} 

/* fix bug that causes the <a> of the sub menu's title (like "articles") to stick to the top part, only for IE.
mozilla doesn't read these lines because of the *  before them!
*/

.menu-expand  {
	* padding-top:0px;
	* padding-bottom:13px;
}

/*********************** banner and search *******************************/
#banner {
/* background picture is set inside php file */
	height:274px;
	width:828px;
	text-align:left;
	margin:auto;
	margin-bottom:16px;
}

#banner_items {
	position:relative;
	top:231px;
	font-weight:bold;
	text-align:left;
}

#banner_items a {
	color:#b192c4;
	text-decoration:none;
}

#banner_items a:hover {
	color:#bbc687;
}

.kav { /* between "home" and "daf habait" */
	font-weight:bold;
	color:#c9d591;
	margin-right: 5px;
	margin-left: 5px;
}

/* search */
#frontend_search, #frontend_search form, #frontend_search form fieldset{
	border:0px;
	margin:0px;
	margin-top:6px;
	text-align:left;
	padding:0px;
}

.search_button {/* default search button anywhere */
	font-size:12px;
	color:#7e3f98;
	border: 1px solid #ccd796;
	background-color:#fef9e8;
	width: 54px;
	height:19px;
}

.search_string { /* default search textfield anywhere */
	font-size:12px;
	border: 1px solid #b192c4;
	background-color:#ffffff;
	height:14px;
	width:125px;
	direction:rtl;
	text-align:right;
}

/***************************** main ********************************/

#main{
	width:828px;
	margin:auto;
	margin-top:10px;
	margin-bottom:30px
}

#main_left, #main_right {
	width:206px;
	/*direction:rtl; currently there is a bug on  IE8 beta, when the direction is rtl it doesn't show divs backgorunds */
	float:left;
}

#main_right {
	text-align:right;
}

#main_left {
	text-align:left;
}

#main_center_scans {
	direction:rtl;
	width: 828; /* padding*/
	margin:auto;
	/*padding-right:36px;
	padding-left:28px; /*remember that though left and right columns are 206pixels, the graphics on the left one is only 199px */
	*/
	line-height:18px;
}

#main_center ul {
	margin-right:0px;
	padding-right:16px;
}

/**************** news - subject of the month *****/
#news {
	height:317px;
	width:199px;
	background:url(images/b_month.gif) top center no-repeat;
	padding:0px;
	margin: 0px;
}

#news_content {
	direction:rtl;
	text-align:right;
	margin:0px;
	padding:15px;
	padding-top:50px;
	padding-right:20px;
	padding-left:20px;
	height:240px;
	width:150px;
}

#news_content h1, #news_content h2, #news_content h3, #news_content a, #news_content p {
		font-size:13px;
		line-height:18px;
		color:#000000;
}

/* english page mirpaot menu */
#box_english_mirpaot {
	width:199px;
	height:640px;
	background:url(images/b_english_mirpaot.gif) top center no-repeat;
}

#mirpaot_english_menu {
	padding-top:42px;
	padding-left:10px;
	padding-right:10px;
	font-size:11px;
	line-height:14px;
}


#mirpaot_english_menu p {
	margin-bottom:11px;
	line-height:14px;
}

#links_to_hebrew_site{
	font-size:10px;
	text-align:center;
}

#mirpaot_english_menu a {
	text-decoration:none;
	color:#7e3f98;
	font-weight:bold;
	font-size:13px;
}

#mirpaot_english_menu a:hover {
	color:#bbc687;
}

#we_are_here_for_you{
	font-size:14px;
	font-weight:bold;
	text-align:center;
}


/**************** inner banner */
#box_inner {
	width:199px;
	height:612px;
	background:url(images/b_inner.gif) top center no-repeat;
	text-align:center;
}

#formulot_banner_frame {
	width:162px;
	height:600px;
	margin:0px;
	padding:0px;
	margin-top:90px;
}

/**************** mirpaot box and menu */
#box_mirpaot {
	width:206px;
	height:253px;
	background:url(images/b_mirpaot.gif) top center no-repeat;
}

#mirpaot_menu {
	padding-top:42px;
	padding-right:30px;
}

#mirpaot_menu a {
	text-decoration:none;
	color:#7e3f98;
	font-weight:bold;
	font-size:14px;
	line-height:22px;
}

#mirpaot_menu a:hover {
	color:#bbc687;
}

.mirpaa {
	font-weight:normal;
}

/************* homepage right column boxes with iframes (their css is on their own template) ****************/
#b_join_newsletter {
	width:200px;
	height:141px;
	background:url(images/b_newsletter.gif) top center no-repeat;
}

#b_ask {
	width:199px;
	height:236px;
	background:url(images/b_expert.gif) top center no-repeat;
}
/* placements of iframes inside boxes */
#b_join_newsletter, #b_ask {
	direction:rtl;
	text-align:right;
	margin-top:25px;
}

/* sizes of iframes */
#join_newsletter, #ask {
	float:right; /* for mozilla */
	width:174px;
	margin-top:45px;
	padding-right:12px; /* if using margin, IE6 gets it too much */
}

#join_newsletter {
	margin-top:56px;
	height: 80px;
}

#ask {
	height: 180px;
}

/* header of ask form */
#ask_title {
	font-size:13px;
	font-weight:bold;
	color:#6e6f72;
	margin:0px;
	padding:0px;
	text-align:center;
	position:relative;
	top:44px;
}

/************** staff table *********************/
#staff p img {
	margin-left:10px;
	margin-top:5px;
}

#staff td {
	padding-bottom:18px;
}

#staff h3 {
	font-weight:bold;
	font-size:14px;
	color: #7e4098;
	margin:0px;
	padding:0px;
}

/************** FAQ *********************/

.questions_list a{
	text-decoration:none;	
}

.questions_list{
	margin-top:0px;
}

.questions_details {

}

/************** Articles_List *********************/
.category_name {
	margin-top:8px;
	clear:right;

}
.article_details {
	clear:right;
	margin-bottom:18px;
	direction:rtl;
	text-align:right;
	font-size:12px;
}

.article_details a {
	text-decoration:none;
}

.article_title {
	font-weight:bold;
	text-decoration:underline;
	margin-bottom:3px;
	line-height:14px;
}
.article_author{
	color:#7e4098;
	text-decoration:none;
	line-height:17px;
}

.article_abstract{
	text-decoration:none;
	word-wrap: break-word; 
	line-height:14px;
}

/************** Store *********************/
/* 
.category_name - for now it is the same as in artices_list, above 
*/

.item_details {
	clear:right;
	margin-bottom:18px;
	direction:rtl;
	text-align:right;
	line-height:13px;
	font-size:12px;
}
.item_title {
	font-weight:bold;
}
.item_abstract{
	text-decoration:none;
	word-wrap: break-word; 
}

#formulot_order_form label {
float: right;
text-align: right;
display: block;
width:100px;
}

#formulot_order_form input {
	width:210px;
	font-size:12px;
	height:15px;
	float:left;
	margin-bottom:5px;
}

#formulot_order_form .formulot_send_button {
	font-size:12px;
	color:#7e3f98;
	border: 1px solid #ccd796;
	background-color:#fef9e8;
	width: 64px;
	height:19px;
	clear:both; /* for mozilla */
}


/************** index mahalot encyclopedia *********************/
#encyclopedia_combo {
	width:350px;
	}

.encyclopedia_top {
	font-size:11px;}	

.term_details{
	margin-bottom:16px;
}
.term_title {
	margin-bottom:0px;}
.term_abstract{}


/************* bottom part of page *************/
#contact {
	direction:rtl;
	color:#875197;
	font-weight:bold;
	padding-top:5px;
	background:url(images/contact_bg.gif) top center no-repeat;
	height:29px;
	clear:left; /*otherwise the 'float' of the 3 main collumns do not push the whith height in mozilla */
}

#menu_bot {
	direction:rtl;
	text-align:center;
	padding-bottom:10px;
	font-weight:bold;
	font-size:12px;
}

#menu_bot a {
	text-decoration:none;
	color:#6d7452;
}

#menu_bot a:hover {
	color:#bbc687;
}

#footer {
	direction:rtl;
	text-align:center;
	font-size:11px;
}

/************ refuot colors  - after every change need to copy to editor.css ***********************/
h1,h4,.refuot_purple {color:#7e4098}
h2, .refuot_green {color:#8aa556}
h3 {color:#b192c4;}
.refuot_meditaf {color:#B06FB4}
.refuot_ortopedia {color:#ED1458}
.refuot_briut {color:#B0AC34}
.refuot_bereshit {color:#B61E74}
.refuot_daat {color:#F47C3B}
.refuot_shanan {color:#007DAD}
.refuot_tzuna {color:#A08850}
.refuot_yair {color:#00A886}
.refuot_hormonia {color:#E6A1A3}
