@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:24px;
	line-height:26px;
	margin-bottom:4px;
}

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: 6px;
	padding-right: 6px;
	letter-spacing:1px;
	}

#menu ul .menu-last a{
	border: 0px;
}


#menu ul {
	list-style: none;
	margin:0px;
	padding:0px;
	position: relative;
	right:12px;
	* right:16px; /* IE onlu */
}
#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 */
	padding:0px;
	margin:0px;
}

#menu li ul {
	display: none;
	position: absolute; 
	top: 31px;
	right: 0px;
	*right:-6px; /* IE only */
}



#menu ul li a:hover, #menu ul li.over{
	color:#ffffff;
}

/* sub menus */

#menu ul ul {/* hide sub menus */
	display:none;
} 
/* sub menus items */

#menu li ul li {
	background: #c9d591; /* IE6 Bug */
	clear:right;
	width:104px;
	border: none;
	border-bottom: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	text-align:right;
	height:24px;
	padding-right:6px; /* space between text and right border, not the location of the box */
}

#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;
}

#english_link {
	color: #7e4098;
	text-decoration:none;
}
#hebrew_link {
	color:#b192c4;
	text-decoration:none;
}

#banner_items a:hover {
	color:#bbc687;
}




.kav { /* between "English" 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;
	cursor: pointer;
}

.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_formulot { /*used only in formulot page, where there is no left column */
width:586px;
float:left;
padding-right:36px;
text-align:right;
direction:rtl;
}

#formulot_order {/* the text of the second page of formulot */
	width:352px;
	direction:rtl;
	padding-right:36px;
	text-align:right;
	direction:rtl;
	float:left;
}

#formulot_left {/* where the box is - included not in the template but in store view.php */
	width:199px;
	height:236px;
	background:url(images/b_formulot_ask.gif) top center no-repeat;
	clear:left;
	float:left;
}

/* header of formulot_ask cube */
#formulot_ask_title {
	font-size:13px;
	font-weight:bold;
	color:#7e4098;
	margin:0px;
	padding:0px;
	padding-right:11px;
	padding-left:11px;
	text-align:center;
	position:relative;
	top:6px;
}

#formulot_text, #formulot_order {
	width:352px;
	float:right;
}

#formulot_list {
	clear:right;
}

#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 {
	direction:rtl;
	text-align:right;
	width: 352px;/* 828-206-206= 416px - padding*/
	float:left;
	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;
	padding-top:0px;
	margin-top:0px;
}

/**************** news - subject of the month (not the scrolling news) *****/
#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;
}

/************** news_window = the scrolling news ***************/
#news_window {
	width:199px;
	height:270px;
	background:url(images/b_news_window.gif) top center no-repeat;
	margin-top:25px;
	text-align:right;
	direction:rtl;
}

#news_window_content {
	width:160px;
	font-size:12px;
	direction:rtl;
	text-align:right;
	padding-top:46px;
	overflow:hidden;
	margin:auto;
}

#news_window_content, #news_window_content p {
	line-height:15px;
}

/* 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:12px;
	line-height:14px;
}


#mirpaot_english_menu p {
	margin-bottom:12px;
	line-height:15px;
}

#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{
	padding-top:3px;
	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:25px; /* was 22px before removing hormonia */
}

#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:183px;
	background:url(images/b_newsletter.gif) top center no-repeat;
}

#b_ask {
	width:199px;
	height:270px;
	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, #ask_formulot {
	float:right; /* for mozilla */
	width:174px;
	margin-top:48px;
	padding-right:12px; /* if using margin, IE6 gets it too much */
}

#join_newsletter {
	margin-top:56px;
	height: 80px;
}

#ask {
	height: 180px;
}

#ask_formulot {
	margin-top:25px;
}

/* header of ask form */
#ask_title, #join_newsletter_title {
	font-size:13px;
	font-weight:bold;
	color:#6e6f72;
	margin:0px;
	padding:0px;
	text-align:center;
	position:relative;
	top:44px;
}

.newsletter_note {
	margin-top:5px;
	font-size:11px;
	font-weight:normal;
	color:#000000;
	line-height:11px;
	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;
	float: right;
	width:100%;
}

.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 *********************/

#store_form h2 {
	padding-top:16px;
	margin-top:0px;
}

.store_category_name {
	font-size:16px;
	font-weight:bold;
	color:#8aa556;
	margin-top:8px;
	margin-bottom:4px;
	}

.item_details { /* not used in store, where the <p> has become <div class="item_div"> */
	clear:right;
	margin-bottom:18px;
	direction:rtl;
	text-align:right;
	line-height:13px;
	font-size:12px;
}

.item_div_wrapper {
	float:right;
}

.item_div {
	height:325px;
	width:175px;
	margin-right:-8px;
	margin-left:22px;
	background:url(images/store_bg.gif) top center no-repeat;
	text-align:center;
	position:relative;
}

.item_title {
	margin-top:9px;
	font-weight:bold;
	color:#B06FB4;
	margin-top:14px;
	
}
.item_abstract{
	width:150px;
	text-decoration:none;
	word-wrap: break-word;
	font-size:12px;
	line-height:15px;
	color: #58595b;
	margin:auto;
	margin-top:0px;
}

.item_amount {
	position:absolute;
	top:290px;
	left:-15px;
	width:140px;
	color:#7e4098;
	font-weight:bold;
}

.store_button {
	font-size:11px;
	font-weight:bold;
	color:#7e3f98;
	border: 1px solid #ccd796;
	background-color:#ffffff;
	width: 44px;
	height:19px;
}

.store_submit {
	font-size:15px;
	font-weight:bold;
	color:#7e3f98;
	border: 3px solid #ccd796;
	background-color:#ffffff;
	width: 54px;
	height:25px;
	cursor:pointer;	/* cursor:hand worls only on IE */
}

#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_radio input {
	float:right;
	width:15px;
	height:12px;	
	margin-bottom:0px;
	margin-left:3px;
	margin-top:2px;
}

#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 *************/
#mozilla_spacer { /* for some reason, in some of the pages the main div has no margin-bottom to the footer */
	height:7px;
	clear:left;
}
#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}