*
{
  margin: 0px;
  padding: 0px;
}
body
{
   text-align: center;
   min-width: 1000px;
   background-color: grey;
   color: black;
   font-family: sans-serif;
}
p{margin: 2px;   font-size: 11px;  }
h3{font-size:15px}
form{display: inline;}
.top
{
   position:relative;
   width:950px;
   height: 110px;
   margin:0px auto;
   text-align: left;
   display: block;
   margin-top:50px;
   padding:25px;

   color:white;
   background-color: black;
   opacity: .8;
	 filter: alpha(opacity=80);
}
.logo {font-size:100px;float:left;}
.shabbos {background-repeat: no-repeat;
          float:right;padding-top:5px;text-align:right; font-size: 11px;}
.middle
{
    position:relative;
    display: block;
    width:950px;
    margin:0 auto;
    text-align: left;
    background-color: black;
    opacity: .8;
	filter: alpha(opacity=80) ;
    padding:25px;

}
#shulname {display:none;}
#main
{ 
   display:block;
   position:relative;
   width: 950px;
   overflow: auto;
   margin: 0px;
   padding: 0px;
   height:410px;
   opacity: 1.0;
   filter: alpha(opacity=100);
   font-size: 11px;
}
strong
{
  font-weight: 900;
}
.footer
{
  position: relative;
  display: block;
  top:-14px;
  width: 1000px;
  margin:0px auto;
  text-align:right;
  padding-right: 10px;
  font-size:11px;
  color: white;  
}

.footer a{ text-decoration: none;color: white;}
.footer a:hover{ text-decoration: underlined;color: white;}
.footer a:visited{ color: white;}
a
{
  color: black;
  text-decoration:none;
}
a:hover
{
  text-decoration:underline;
  color: black;
}
a:visited
{
  color: black;
}
#load
{
  z-index:3;
  position: fixed;
  display:block;
  top:2px;
  right:2px;
  background: red;
  color: white;
  font-size:18px; 
  visibility: hidden;
  padding:5px;
}

#formwait
{
  display:inline;
  top:2px;
  right:2px;
  background: red;
  color: white;
  font-size:15px; 
  visibility: hidden;
  padding:5px;
}


#popup
{
  position:fixed;
  width: auto;
  height: auto;
  background-color: white;
  z-index: 100;
  display: none;
}
.submitbutton {margin-left:150px;}
/*info box for showing information*/
.infobox
{
  color: #191970;
  font-weight:600;
  /*background-image:url("pics/info.gif");
  background-repeat: no-repeat;
  padding-left: 40px;
  height:50px;*/
  padding-left: 10px;
  /*width: auto;*/
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.infobox h3 {font-size:15px;}
/* Box showing error info, like if permissions dont allow access */
.errorbox
{
  /*background-color:black;*/
  padding:10px;
  color: #8B0000;
  font-weight:600;
  font-size: 15px;
  /*border: thick solid red;
  width: auto;*/
  text-align: center;

}

/* used when needing to show an error */
.error
{
  /*background-color:red;*/
  color: #8B0000;
  font-weight: 600;
  padding:2px;
}

/* error input forms */
.errorformbox{display:block;margin:2px;padding:0px;padding-bottom:5px;}
.errorformtitle {width:150px;text-align:right;display:block;float:left;padding-right:5px;}
.errorforminput{display:inline;width:200px;}
.errorformerror{width:200px;text-align:left;display:inline;}

/* table classes */
.tablestartrow{display:block;width:900px;float:left;}
.tableheader{padding:4px;padding-bottom:0px;text-align:center;display:block;
           float:left;background-color:black;color:white}
.tableheader a{color: yellow;}
.tablecell{padding:4px;text-align:center;display:block;
            float:left;border-top: 2px black solid;}

/* for checkbox selection div */
#checkboxselect{color:black;background-color:white;overflow:auto;padding:4px;border:1px solid black;}


/* #### menu stuff ### */
.anylinkcss{
position:absolute;
visibility: hidden;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height: 18px;
z-index: 100;
background-color: white; /*changeble stuff*/
width: 205px; /*changable stuff*/
}

.anylinkcss a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
text-indent: 5px;
}

.anylinkcss a:hover{ /*hover background color*/
background-color: black;
color: white;
}

/* ####TOP BAR STUFF #####*/
.topbar
{
   height:20px;
   background-color: black;
   position: relative;
   opacity: .8;
	 filter: alpha(opacity=80);
   text-align: left;
   display: block;
   width:950px;
   padding-left: 25px;
   padding-right: 25px;
   margin:0px auto;
   font-weight: 400;
   color: white;
   border-bottom: 1px solid white;
   padding-bottom:3px;
   font-size: 11px;

}
/*.topbar * {position:relative;display:inline}*/
.topbarlink
{
  display: inline;
  /*border-left: 1px solid white;
  border-right: 1px solid white;
  background-color: black;*/
  color: white;
  /*height:100%;*/
  padding: 0px 6px 0px 6px;
}
.topbarlink a 
{
  color: white;
  text-decoration: none;
}
.topbarlink a:hover
{
  text-decoration: underline;
}
.topbarsignin {display:inline; float:right;}
.loginform {display: inline;}
.topbarleft {display:inline; float:left;}
.logininfo {display: inline; color: #B0C4DE;font-weight:600;}
.loginerror {display: inline; color:#F08080;font-weight:600;}
/** #### THE rounded corner box ####*/
.box
{
   position:relative;
   display: block;
   
}
.boxtopcorner
{
  background-image: url("pics/topcorner.gif");
  width: 10px;
  height: 10px;  
  display:block;
  float:left;
   opacity: 1.0;
	 filter: alpha(opacity=100);
}
.boxbottomcorner
{
  background-image: url("pics/bottomcorner.gif");
  width: 10px;
  height: 10px;  
  display:block;
  float: left;
}
.boxbar
{
  background-color:white;
  height: 10px;
  margin-left: 10px; 
}

.boxmain
{  
   position:relative;
   padding:0px;
   padding-left:10px;
   background-color:white;
   opacity: 1.0;
	 filter: alpha(opacity=100);

}
.boxheader
{
   font-size:24px;
   color: black;
   margin-bottom:10px;
}
.boxstuff {padding-right:5px;position:relative; overflow:auto; height:330px; display:block;}
.boxbottom {position:relative;top:5px; font-size: 10px; text-align: right;}
.boxbottom a{ text-decoration:none; color: black; }
.boxbottom a:hover{text-decoration:underline; color:black; }


/** SUB BOX **/
.subbox
{
  position:relative;
  margin: 0px;
  padding: 4px;
  background-color: #c0c0c0;
  margin-bottom:10px;
  margin-right:4px;
  
}
.subboxheader {font-size:18px; font-weight:400;color:black;}
.subboxheader a {text-decoration: none; font-size:18px; color:black;}
.subboxheader a:hover {font-weight:bold;}

.subboxtopinfo
{
  font-size:9px;
}
.subboxtext
{
  margin-top: 2px;
  position:relative;
  display: block;
  padding: 3px;
  background-color: white;
  font-family:sans-serif;
  font-size:10px;
  color:black;
}
.subboxtextinfo
{
  font-size:9px;
  font-style: italic;
  color:grey;
}
.subboxbottom {display:block;text-align: right;padding-top:2px;}
.subboxbottom a{text-decoration:none; color:black; font-size:9px;}
.subboxbottom a:hover {text-decoration:underline;}

/** front page stuff **/
.news
{
  position:relative;
  width: 462px;
  display: block;
  float: left;
  height:410px;
}

.events
{
  position:relative;
  width: 462px;
  display: block;
  height:300px;
  /*overflow: auto;
  /background-color: black;*/
  float: right;
  /*margin-left:23px;*/
}
.birthdays
{
  position:relative;
  width: 462px;
  display: block;
  height:100px;
  float: right;
  font-size: 11px;
}

.birthdays h1{font-size:18px; color:black;}