/* THE BEIS CSS
Copyright 2007 Shimon Lyons
*/

body{
  background: #D7D7D7 /*url('/images/page-background.gif') repeat-y*/;
  margin: 0;
  text-align: left;
  padding: 0;
  font-family: Lucida Grande, Lucida Sans Unicode, Verdana, Helvetica, Arial, sans-serif;
  font-size: 83%;
}

div#container{
  width: 940px; /*744px;*/
/*  margin-left: 28px;*/
  margin: auto;
  background-color: #FFF;
  text-align: left;
  padding: 0;
}

div#header {
   padding-top: 0.5em;
	background: url(/images/header.png) repeat-x;
	text-align: center;
	color: yellow;
	font-family: Arial, sans-serif;
	font-size: 16pt;
	height: 4em;
}

div#navbar {
	padding-top: 0.3em;
	padding-left: 200px;
	background: url(/images/navbar.png) repeat-x center;
	color: white;
	font-size: large;
	text-align: left;
   height: 1.8em;
	vertical-align: middle;
	margin-bottom: 0;
}

div#nav{
    width: 85%;
    float: left;
    vertical-align: middle;
}

div#GMBox{	/*What is this?*/
	padding-left: 10px;
	padding-top: 0px;
	padding-bottom: 10px;
}

#nav a{
	color: white;
	text-decoration: none;
	border-bottom: none;
}

#nav .current{
	font-style: oblique;
	font-weight: bold;
}
	
#nav a:hover{
	background: #dddddd;
	color: black;
}

#nav a:active{
	background: yellow;
}

#bsd{
	direction:rtl;   
   float: right;
   text-align: right;
   padding-left: 0;
   padding-right: 12px;
   vertical-align: middle;
	color: yellow;
}

img#logo{
	background-color: transparent;
	float: left;
	clear: none;
	left: 15px;
	margin-bottom: -20px;
	position: relative;
	height: 112px;
	width: 172px;
}

img#oldlogo{
	background-color: transparent;
	clear: right;
	float: right;
	right: 0;
	top: -0.5em;
	position:relative;
	margin-bottom: -2em;
	height: 4.5em;
	box-shadow: -5px 0 5px #999
}


/* ===Various divs and their contents===*/


div#main-content {
   line-height: 160%;
   color: #3f3f3f;
	background: #fffaf0 url(/images/downshadow.gif) repeat-x;
   padding: 15px 35px;
	margin-top: 0;
	text-align: justify;
}
  
div#footer{
    margin-top: 2em;
    background: lightgray;
    padding: 1em 35px;
    color: #7f7f7f;
}
div.callout{
	background-color: #E3F6CE;
	padding: 15px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border-right: 1px solid rgb(208, 218, 211);
	border-bottom: 1px solid rgb(208, 218, 211);
  float: right;
  width: 50%;
}

.callout h2{
	line-height:100%
}

div#shiurim{
	float: right;
	width: 30%;
	text-align: left;
	right: 0;
	background-color: #b0e0e6;
	margin-right: -35px;
	margin-left: 20px;
	padding-left: 15px;
	padding-right: 15px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomleft: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
}


/* ===Various imgs=== */


img.fixIE{	/*Damn you IE6! Yes I know this makes the CSS illegal*/
	behavior: url("/pngbehavior.htc");
}

img{
	border: 0pt none;
}

img#mainphoto{
	width: 100%;
}
    
#photo{
    width: 100%;
    display: block;
    border: 2px inset gray;
}
    
a.photo, a:visited.photo{
    display: block;
    border-style: none;
}

.thumbnail, :visited.thumbnail, :hover.thumbnail{
	vertical-align: middle;
	border-bottom: none;
	margin-top: 5px;
	margin-bottom: 5px;
    margin-right: 5px;
    background: none;
}

a img,:link img,:visited img {border: none;}

sub{
	font-size: 70%;
	font-style: italic;
}

#header abbr{
	text-decoration: none;
	border-bottom: 0 none;
	cursor: help;
}


/* ===Text styles=== */

.rtl {
	direction: rtl;
}

.red {
	color: red;
}

.center{
   text-align: center;
}


/* ===general styles: headings=== */



h1, h2, h3, h4, h5, h6, p.description {
   font-family: Lucida Grande, Lucida Sans Unicode, Verdana, Helvetica, Arial, sans-serif; 
}

h1 {
   font-size: 160%;
   font-weight: bold;
   color: black;
   border-bottom: 1px solid #b3e6e6;
   padding-bottom: 0.2em;
   display: inline; /* so that the underline spans only text width, and not the entire page */
   line-height: 200%; /* for padding below, the above line took away other possibilities */
}

h1#page-title {
   font-size: 220%;
   font-weight: normal;
   color: #125ebc;
   letter-spacing: -1px;
   display: block;
   border: 0em;
   padding: 0em;
   margin: 0em;
   line-height: 100%;
}

h2 {
	font-size: 120%;
   font-weight: bold;
   color: black;
   border-bottom: 1px solid #b3e6e6;
   padding-bottom: 0.2em;
   display: inline; /* so that the underline spans only text width, and not the entire page */
   line-height: 200%; /* for padding below, the above line took away other possibilities */
}

h3 {
   font-size: 110%;
   font-weight: bold;
   border-bottom: 1px solid #b3e6e6;
   padding-bottom: 0.2em;
   color: black;
   display: inline; /* so that the underline spans only text width, and not the entire page */
   line-height: 300%; /* for padding below, the above line took away other possibilities */
}

h4 {
   font-size: 100%;
   font-weight: bold;
   border-bottom: 1px solid #b3e6e6;
   padding-bottom: 0.2em;
   color: black;
   display: inline; /* so that the underline spans only text width, and not the entire page */
   line-height: 200%; /* for padding below, the above line took away other possibilities */
}

h5 {
   font-size: 100%;
   font-weight: bold;
   color: black;
   display: inline;
}

h6 {
   font-size: 100%;
   font-weight: normal;
   color: black;
   display: inline;
}

hr {
   background: white;
   height: 1px;
   border: 0;
   border-top: 1px solid #b3e6e6;
   margin: 1em 0;
}


/* ===general styles: links=== */


a {
	color: #125ebc;
	text-decoration: none;
	border-bottom: 1px solid #125ebc; /* this underline is further away from the text = more legibility */
}
  
a:hover{
	background: #125ebc;
	color: white;
}
  
a:visited {
   color: #638bbc;
   text-decoration: none;
   border-bottom: 1px solid #638bbc; /* this underline is further away from the text = more legibility */
}
  
a.noline {
	border-bottom: none;
}
  
a.noline img{
	margin:0;
	padding:0;
}
  	
a.jump{
	border-bottom-style: dotted;
}

/* ===general styles: lists=== */

ul, ol {
   margin-left: 1.8em;
   padding: 0em;
}

dt {
   margin-left: 1.8em;
}

blockquote {
   margin-left: 1.8em;
}

/* ===general styles: tables=== */

table {
   border-collapse: collapse;
   margin-top: 0.25em;
   margin-bottom: 1em;
   margin-left: -0.6em;
   margin-right: -0.6em;
}

table td,table th {
   padding: 0 0.6em;
   vertical-align: bottom;
   text-align: left;
	line-height: 165%;
 }
  
table.top td, table.top th{
	vertical-align: top;
}
  
table th {
   border-bottom: 1px solid #b3e6e6;
}

table caption {
   text-align: left;
   font-weight: bold;
   color: #4FBBBB;
   padding: 0em;
   _padding: 0em 0.6em; /* hack for IE6: it understands padding differently here*/
}

table.gridlines tr{
	border-top: solid;
	border-top-width: 1;
}

/* ===Polls=== */

div.poll{}

.poll table{
	margin-left: 0;
	margin-right: 0;
	border-spacing: 0;
	width:100%;
}

.poll td{
	vertical-align: bottom;
}

.poll td table{
	margin:0;
	padding:0;
}

.poll td td{
	padding:0;
}

div.poll fieldset{
	background:white;
}

div.poll_res{
	padding:0;
	margin:0;
	margin-top:5px;
	background:green;
	height:100%;
	min-height:10px;
	width:0;
	float:left;
}

div.poll_res_top{
	background:red;
}

div.poll_pc{
	float:left;
	max-width:30px;
	padding-left:3px;
}

input.poll_rad{
	float:left;
}

input.poll_disabled{
	display:none;
}

col.poll_col1{
	width:30%;
	min-width:90px;
	max-width:250px;
}

td.poll_res_holder{
	vertical-align:middle;
}

/* AV voting */

div.ballot{
	background: white;
	border:  1px solid black;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 20pt;
	font-weight: bold;
	color: black;
	padding: 10px;
	box-shadow: 5px 5px 5px #bbb;
}

div.ballot table{
  margin: auto;
  width: 100%;
}

div.ballot td{
  border: 5px solid black;
}

div.ballot td.small{
  font-size: 12pt;
	line-height: 100%;
}

div.ballot input[type="text"]{
  width: 70%;
	font-size: 20pt;
	border: 1px solid black;
}

div.ballot select{
  width: 100%;
	font-size: 20pt;
	font-weight: bold;
}

div.ballot input[type="submit"], div.ballot input[type="reset"]{
  font-size: 20pt;
}

.center{
  text-align: center;
}

/* Home page ad banner */ 

div#banner{
	width: 100%;
	height: 110px;
	margin-top: 15px;
	margin-bottom: 15px;
	background-color: #FFEB91;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-topright: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	box-shadow: 0 0 10px 3px gray, 0 0 1px gray inset;
}

img#bannerLogo{
	padding: 10px 20px 5px 10px;
	float: left;
}

div#banner h1{
	display: block; 
	border-bottom: none; 
	padding-bottom: 0; 
	padding-top: 10px; 
	line-height: 100%;
}

div#banner a.mainLink{
	color: #D10000; 
	font-weight: bold; 
	font-size: 150%; 
	border: none;
}
