﻿* { padding: 0; margin: 0; }

body
{
	font-family:Arial;
	width:100%;
	height:100%;
}

#back_div
{
	width:100%;
	position:absolute;
}

#background
{
	width:900px;
	height:1030px;
	margin:auto;
	_margin:0;
	display:block;
	//z-index:-1;
}

*:first-child+html #background 
{
	margin:0;
	padding:0;
}

#container
{
	width:900px;
	margin:auto;
	position:relative;
	background:url(../images/normal_background.jpg) repeat-x top right;
}

#donations #container
{
	margin:-500px auto 0 auto;
	padding-top:500px;
}

#recommendations #container
{
	margin:-250px auto 0 auto;
	padding-top:250px;
}

#main_page #container
{
	background-image:none;
	height:1040px;
}

.clearer
{
	clear:both;
}

a:link, a:visited, a:active 
{
	color:Black;
	text-decoration:none;
}

a:hover
{
	color:#E5BE74;
	text-decoration:underline;
}

#top 
{
	background:url(../images/top_background.gif) no-repeat top right;
	width:100%;
	height:160px;
	direction:rtl;
}

#top #logo
{
	float:right;
	margin:15px 10px 0 0;
}

#top #title
{
	margin:20px -5px 0 0;
}

#top #title_text
{
	text-align:justify;
	font-size:0.7em;
	margin-right:120px;
	width:300px;
	line-height:1.5em;
}

#top #english_link
{
	float:left;
	background-color:white;
	display:block;
	position:absolute;
	top:0;
	left:20px;
	padding:4px;
}

#donations #english_link
{
	top:500px;
}

#recommendations #english_link
{
	top:250px;
}

.square 
{
	border:solid 3px #E3D37E;
	padding:3px;
	background-color:White; 
	text-align:center;
}

.black
{
	border-color:Black;
}

.square a
{
	font-weight:bold;
}

#square_first
{
	position:absolute;
	top:125px;
	left:20px;
	width:210px;
	height:75px;
}

#square_second
{
	position:absolute;
	top:220px;
	left:130px;
	width:210px;
	height:75px;
}

#square_first p.first, #square_second p.first
{
	margin-top:10px;
}

#menu 
{
	margin:30px 20px 0 0;
	direction:rtl;
	padding-left:10px;
}

#donations #menu, #recommendations #menu 
{
	border-left:solid 3px #ECE0A9;
	height:540px;
}

#donations #menu 
{
	height:370px;
}

#menu ul
{
	list-style-type:none;
}

#menu ul li
{
	width:170px;
	height:30px;
	margin-bottom:15px;
	text-align:center;
	padding-top:2px;
}

#menu ul li a 
{
	background:url(../images/menu_button.gif) no-repeat top right;
	width:170px;
	height:30px;
	padding-top:3px;
	display:block;
	color:White;
}

#menu ul li a:hover
{
	background-image:url(../images/menu_button_current.gif);
	color:Black;
}

#menu ul .current a
{
	background-image:url(../images/menu_button_current.gif);
	color:Black;
}

#boxes
{
	padding:0 5px 0 5px;
}

#boxes .outer_box 
{
	margin-top:50px;
	text-align:center;
	width:220px;
	height:160px;
	padding:10px;
}

#right_box 
{
	float:right;
}

#left_box 
{
	float:left;
}

#center_box 
{
	margin:30px auto 0 auto;
	text-align:center;
	width:363px;
	height:250px;
}

#boxes #right_box #img_right
{
	margin-top:10px;
}

#copyrights
{
	width:100%;
	position:relative;
	z-index:3;
	background-color:White;
}

#copyrights a
{
	display:block;
	text-align:center;
	margin:auto;
	font-size:0.8em;
	direction:rtl;
}

#copyrights a:hover
{
	color:Black;
	text-decoration:none;
}

a img
{
	border:0;
}

.float 
{
	float:right;
}

#images_presentation
{
	width:375px;
	height:250px;
	float:right;
	margin:30px 40px 0 0;
	_margin-right:10px;
}

#prsnt_title
{
	background-color:#E4D47F;
	width:375px;
	_width:370px;
	height:20px;
	text-align:center;
}

#talmud #prsnt_title
{
	_width:375px;
}

#images_presentation #images
{
	border:solid 2px #E4D47F;
	margin-top:3px;
	height:225px;
	width:371px;
	text-align:center;
}

#about
{
	float:left;
	margin-left:10px;
	text-align:justify;
	height:280px;
	width:220px;
	overflow:hidden;
	direction:rtl;
	font-size:0.7em;
	font-weight:bold;
}

#about_title
{
	text-decoration:underline;
	margin-bottom:10px;
	text-align:center;
}

.center 
{
	width:100%;
	margin:30px auto 0 auto;
	text-align:center;
}

.center ul
{
	margin:auto;
	list-style-type:none;
	width:900px;
	_width:920px;
}

.center ul li
{
	float:right;
	margin:0 20px 30px 30px;
	width:250px;
	height:190px;
	direction:rtl;
}

#structure
{
	margin:auto;
	text-align:center;
	width:100%;
}

#structure img
{
	margin:auto;
	width:100%;
	_width:925px;
}

#contact
{
	float:left;
	margin-left:20px;
	width:650px;
}

.contact_square
{
	padding:0 10px 10px 0;
	_padding:0;
	background-color:White; 
	text-align:center;
	border:solid 5px #7EA8C0;
}

.contact_square div
{
	border:solid 5px #E3D37E;
	width:100%;
	height:100%;
}

.contact_square div p
{
	direction:rtl;
}

.square_title
{
	font-size:1.3em;
}

.right
{
	width:300px;
	_width:270px;
	height:100px;
	margin-bottom:20px;
	_margin-right:20px;
	float:right;
}

.left
{
	width:280px;
	height:380px;
	float:left;
}

.left label
{
	float:right;
	margin:0 20px 0 0;
	text-align:left;
	width:70px;
}

#submit_button
{
	background-color:#E3D37E;
	border:solid 2px #7EA8C0;
	font-weight:bold;
	padding:2px;
}

.left input, .left textarea
{
	border:solid 1px black;
	background-color:White;
}

.left textarea
{
	margin:auto;
	display:block;
}

.left p
{
	margin-bottom:8px;
}

#rec_images
{
	height:350px;
	width:500px;
	float:right;
	margin:10px 20px 0 0;
}

#rec_images img
{
	width:450px;
	height:560px;
	float:right;
}

#images_links
{
	float:left;
	margin:-380px 0 0 10px;
	_margin-top:-580px;
	text-align:center;
	width:180px;
	_width:160px;
	direction:rtl;
	font-size:0.8em;
	font-weight:bold;
}

#images_links img
{
	margin:5px 0 20px 0;
}

#images_links a
{
	cursor:pointer;
}

.pdf, .word
{
	padding:5px;
}

.pdf 
{
	border:solid 1px black;
	float:left;
	margin:10px 0 0 10px;
}

.word
{
	border:solid 1px black;
	float:right;
	margin:10px 10px 0 0;
}

.padding-top
{
	padding-top:8px;
}

#arrows
{
	float:right;
	margin:40px 15px 0 0;
}
