/* Start of CMSMS style sheet 'Layout: DT Top menu + 2 columns' */
/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
  margin: 0;
  padding: 0;
}
/*Set initial font styles*/
body {
  text-align: left;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 75.01%;
  line-height: 1em;
  
}
/*set font size for all divs, this overrides some body rules*/
div {
  font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
  border: 0;
}
/*default link styles*/
/* set all links to have underline and bluish color */
a, a:link a:active {
  text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
  background-color: inherit;
  color: #9e0044;
}
a:visited {
  text-decoration: underline;
  background-color: inherit;
  color: #9e5675;
/* a different color can be used for visited links */
}
/* remove underline on hover and change color */
a:hover {
  text-decoration: none;
  background-color: inherit;
  color: #ce0059;
}


.author {
text-align:right;
font-family: serif;
}

/*****************basic layout *****************/
body {
  margin: 0;
  padding: 0;
/* default text color for entire site*/
  color: #333;
/* you can set your own image and background color here */
  background: #f4f4f4 url(uploads/ngrey/body.png) repeat-x left top;
  background: url(uploads/dt_top_m/sinagoga_hgr_pattern.gif); 
}

div#background {
  background: url(uploads/dt_top_m/sinagoga_hgr_top.gif) repeat-x;
  margin-top:0px;
}

div#pagewrapper {
  width: 980px;
  margin: 0px auto 20px auto;
  padding: 10px 0;
  /* background-color: #f2f2f2; */
}

div#top {
  background: url(uploads/dt_top_m/sinagoga_top.gif) no-repeat;
  height: 11px;
}

 


div#topbar {
  background: #fff;
  height: 28px;
  padding-top:0px;

}

* html div#topbar {

  /* margin-top: -3px;  */
}


/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
  height: 140px;
  margin: 0;
  padding: 0;
  /* you can set your own image here, will go behind h1 a image */
  background: #f4f4f4 url(uploads/dt_top_m/sinagoga_header.gif) repeat-x left top;
/* border just the bottom */
  /* border-bottom: 1px solid #D9E2E6; */
}
div#header h1 a {
/* you can set your own image here */
/*  background: url(uploads/ngrey/logoCMS.png) no-repeat left top;*/
/* this will make the "a" link a solid shape */
  display: block;
/* adjust according your image size */
  height: 100px;
/* this hides the text */
  text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
  text-decoration: none;
}
div#header h1 {
  margin: 0;
  padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
  line-height: 0;
  font-size: 0;
/* this will keep IE6 from flickering on hover */
/*  background: url(uploads/ngrey/logoCMS.png) no-repeat left top;*/
}
div#header h2 {
/* this is where the site name is */
  float: right;
  line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
  font-size: 1.5em;
/* keeps the size uniform */
  margin: 35px 65px 0px 0px;
/* adjust according your text size */
  color: #f4f4f4;
}

.headerlink {
display: block;
cursor: pointer;
/* width: 400px;
height: 140px; */
}

div#sv1,
div#sv2 {
width: 22px;
height: 22px;
position: absolute;
}

div#sv1 {
margin-left: 830px;
margin-top: 72px;
}

div#sv2 {
margin-left: 882px;
margin-top: 70px;
}

div#topmenu {
height: 30px;
background-color: #cbbdd9;
}


div.crbk {
/* sets all to 0 */
  margin: 0;
  padding: 0;
/* you can set your own image here */
  background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
  padding:4px 0 0 10px;
  float:left;
  width: 480px;
  font-family: tahoma;
  display:inline;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
  font-size: 80%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
  margin: 0px;
/* you can set your own image here */
/*  background: url(uploads/ngrey/mainleftup.gif) no-repeat left bottom; */
  color: #999;
}
div.breadcrumbs span.lastitem {
  font-weight: bold;
}
div#search {
/* position for the search box */
  float: left;
/* enough width for the search input box */
  width: 480px;
  display:inline;
  text-align: right;
  padding: 0 0 0.2em 0;
  margin: 0;
  font-size: 85%;
  line-height:2em;  
}


div#search form {
width: 20em;
float:right;
margin-right: 10px;
}


input#cntnt01searchinput {
border: 1px solid #999;
height: 17px;
width: 100px;
-moz-border-radius: 4px;

}

form#cntnt01moduleform_1 {

/* display:inline; */
}

* html form#cntnt01moduleform_1 {
float:none;
}

div#toplinks {
display:inline;
float:right;
width: 20em;
}

/* a class for Submit button for the search input box */
input.search-button {
  border: none;
  height: 22px;
  width: 53px;
  margin-left: 5px;
  padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
  cursor: pointer;
/* you can set your own image here */
  background: url(uploads/dt_top_m/search.gif) no-repeat center center;
}



div#contentwrapper {
/* making a background */
background-color: #fcfcfc;
margin: 0;
padding-top: 16px;

}

* html div#contentwrapper {
/* Hack for fucking IE6 */
padding-top: 16px;

}



div#content {
/* some air above and under menu and content */
  margin: 0 205px 0 210px;
  padding: 0px 10px;
  line-height: 1.7em;
}

div#content ul li {
 list-style-image: url(/uploads/images/icons/bullet_pink.png);
}


div#content img {
 padding: 6px;
}

div#content .contentblock {
margin: 0px 0 20px;
padding:0 0 10px;
border-bottom:1px solid #DBCAE7;
clear: left;
}


div#content .contentblock h2 {
background: url(uploads/dt_top_m/cont_header_01.gif) no-repeat;
height:42px;
font-size: 1.1em;
padding: 6px 0 0 10px;
color:#88679F;

}

table.form_table,
.shabat_time {
width: 38em;
background: #eee;
margin: 10px 0 4px;
padding: 6px;
}

td.td1 {
width: 29em;
}
td.td2 {
width: 16em;
}


td.td3 {
vertical-align: top;
padding: 10px 10px 10px 20px;
border: 1px solid #aaa;
}

div#dateconv {

margin: 15px 0 10px 0;
}

table.converter {
width: 100%;
border-collapse:collapse;

}

.shabat_time {
background: #E3D9E7;
}



table.form_table input[type=text],
table.form_table input[type=button],
table.form_table select,
.shabat_time input[type=text]{
border: 1px solid #aaa;
margin-left: 6px;
}

.zmaninput1, .zmaninput2 {
color:red;
font-size: 180%;
text-align: center;

}

.zmaninput {
text-align: center;

}

/* this gets all the outside calls that were used on the div#main before  */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
  margin-left: 29%;
/* and some air on the right */
  margin-right: 2%;
/* you can set your own image here */
  background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
  float: right;
  width: 69%;
/* and we take this out or it will stop at the bottom  */
  margin-left: 0%;
/* and some air on the right */
  margin-right: 10px;
/* you can set your own image here */
  background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
div.back2 {
/* you can set your own image here */
  background: url(uploads/ngrey/mainleft1.gif) no-repeat left top;
}
div.back3 {
/* you can set your own image here */
  background: url(uploads/ngrey/wbtmleft.gif) no-repeat left bottom;
}
div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
  padding: 10px 15px;
/* you can set your own image here */
  background: url(uploads/ngrey/rtup.gif) no-repeat right bottom;
}
div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
  float: left;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
  width: 210px;
/* FIX IE double margin bug */
  display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
  margin: 0px 0px 0;
  padding: 0px 0px 0 10px;
/* you can set your own image here */
/*  background: url(uploads/ngrey/mainrt.gif) no-repeat right top; */
}


div#sidebar p, 
div#sidebar_right p {
line-height: 1.3em;
}

 
div#sidebar_right h2 a,
div#sidebar_right h2 a:hover {
color: #fff;
text-decoration: none;
}

div#sidebar_right {
float: right;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
  width: 185px;
/* FIX IE double margin bug */
  display: inline;
  padding: 0px 10px 0 10px;
  font-size: 90%;

  
}

.contblock1 {
/* width: 185px; */
padding: 0 0 40px 0px;
background: #f2f2f2 url(uploads/dt_top_m/sinagoga_subheader1_footer.gif) no-repeat center bottom;
margin:0 0 20px;
}

.contblock2,
.contblock3  {
/* width: 185px; */
padding: 0 0 20px 0px;
background: #f2f2f2;
margin:0 0 20px;
}

div#sidebar_right .contblock1 h2,
div#sidebar_right .contblock2 h2,
div#sidebar_right .contblock3 h2 {
/* sidebar width, if you change this change div.back and/or div.back1 margins */
  font-size: 20px;
  font-family: Times, serif;
  font-weight: normal;
  line-height: 1.5em;
  color: #f5f5f5;
  text-align: center;
  height:38px;
  padding: 7px 0px 0px 0px;
  background: url(uploads/dt_top_m/sinagoga_subheader1.gif) no-repeat center top; 
}

div#sidebar_right .contblock3 h2 {
  background: url(uploads/dt_top_m/sinagoga_subheader3.gif) no-repeat center top;
}

div#sidebar_right p {
  padding: 8px 10px 4px 10px;
  margin:0;
}



div#sidebarb {
  padding: 10px 15px 10px 20px;
/* this one is for sidebar with content and no menu */
  background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}

div#sidebarb div#news {
/* less margin surrounding the news, sidebarb has enough */
  margin: 10px 10px 10px 10px;
}

div#news h2 a {
display: block;
height: 42px;
}

div#sidebara {
  padding: 10px 15px 15px 0px;
/* this one is for sidebar with menu and no content */
  background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
  
}



.calendar_table {
font-size: 9px;
width: 168px;
border-collapse:collapse;
}

.calendar_table td {
border: 1px solid #ccc;
}

.calendar_table tr {
border-bottom: 1px solid #ccc;
}

.civcolor,
.civday {
color: green;
text-align: left;
}

.hebcolor,
.hebday {
color: #753D97;
text-align: right;
}

.civday, .hebday {
/* height: 14px; */
padding: 0 0 2px 1px;
}

.cal_subhdr {
color: #222;
font-weight: bold;
}

.hheb {
background: #CEB5DF;
}

.hciv {
background: #AEDFB5;
}

.curday {
background: #DFDBAE;

}


#calendar_control {
text-align: center;
vertical-align: middle;
line-height:28px;
}

#calendar_control input  {
height: 20px;
border: 1px solid #666;
font-size: 85%;
/* margin-top:6px; */
vertical-align:middle;
}

#calendar_control select {
height: 20px;
margin-top:0px;
}


#calendar_control .year {
width: 56px;
font-size: 85%;
}

.tabheader {
padding-bottom: 8px;
}

.year,
.holidays,
.month 
{
border: 1px solid #666;
}

.holispan {

}

.holidays {
width: 69px;
font-size: 85%;

}

.month {
width: 64px;
font-size: 85%;

}

div#Calendar2 {
padding:10px;
}


.banner1 {
margin: 5px 0 10px;

}


div.footback {
/* keep footer below content and menu */
  clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
  padding: 0px 10px 0px 0px;
/* you can set your own image here */
  background: url(uploads/ngrey/wfootrt.gif) no-repeat right top;
}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
  padding: 0px 0px 0px 10px;
  margin: 0px 0 0 0;
  clear:both;
/* color of text, the link color is set below */
  color: #595959;
/* you can set your own image here */
  height: 46px;
  font-size: 85%;
  background: #b9b9b9 url(uploads/dt_top_m/sinagoga_footer_bott.gif) no-repeat center bottom;
}

div#footrt {
text-align: right; 
padding: 20px;
}

div.leftfoot {
  float: left;
  width: 30%;
  margin-left: 20px
}
div#footer p {
/* sets different font size from default */
  font-size: 0.8em;
/* some air for footer */
  padding: 1.5em;
/* centered text */
  text-align: center;
  margin: 0;
}
div#footer a  {
/* footer link would be same color as default we want it same as footer text */
  color: #F7F7F7;
}
/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
  height: 1px;
  padding: 1em;
  border-bottom: 1px dotted black;
  margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
  width: 70%;
}
div.right49 {
  float: right;
  width: 29%;
/* set right to keep text on right */
  text-align: right;
}


/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
  font-size: 24px;
/*  line-height: 2em; */
  font-family: Times, serif;
  margin: 10px 0 10px 0;
  color: #c96aab;
}
div#content h2 {
  color: #8457AF;
/* font size for h2 the higher the h number the smaller the font size, most times */
  font-size: 1.2em;
  text-align: left;
/* some air around the text */
  padding-bottom: 1px;
/* set borders around header */
/* a larder than h1 line height */
  line-height: 1.4em;
/* and some air under the border */
  margin: 10px 0 6px 0;
}

div#content h3 {
  color: #A76D96;
  font-size: 1.1em;
  line-height: 1.3em;
  margin: 10px 0 0.5em 0;
}
div#content h4 {
  color: #294B5F;
  font-size: 1.1em;
  line-height: 1.4em;
  margin: 0 0 0em 0;
}
div#content h5 {
  color: #294B5F;
  font-size: 1.1em;
  line-height: 1.3em;
  margin: 0 0 0.25em 0;
}
h6 {
  color: #294B5F;
  font-size: 1em;
  line-height: 1.3em;
  margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
  font-size: 1em;
/* some air around p elements */
  margin: 0 0 0.9em 0;
  line-height: 1.55em;
  padding: 0;
}
blockquote {
  border-left: 10px solid #ddd;
  margin-left: 10px;
  padding:0 0 0 10px;
}
strong, b {
/* explicit setting for these */
  font-weight: bold;
}
em, i {
/* explicit setting for these */
  font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
  white-space: pre-wrap;
/* Mozilla, since 1999 */
  white-space: -moz-pre-wrap;
/* Opera 4-6 */
  white-space: -pre-wrap;
/* Opera 7 */
  white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
  word-wrap: break-word;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
}
pre {
/* black border for pre blocks */
  border: 1px solid #000;
/* set different from surroundings to stand out */
  background-color: #ddd;
  margin: 0 1em 1em 1em;
  padding: 0.5em;
  line-height: 1.5em;
  font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
  margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#contentwrapper ul,
div#contentwrapper ol,
div#contentwrapper dl {
  font-size: 1.0em;
  line-height: 1.4em;
  margin: 0 0 1.5em 0;
}
div#contentwrapper ul li,
div#contentwrapper ol li {
  margin: 0 0 0.25em 3em;
}

div#contentwrapper ul li li,
div#contentwrapper ol li li {
  font-size: 90%;
}



/* definition lists topics on bold */
div#contentwrapper dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
div#contentwrapper dl dt {
  font-weight: bold;
  margin: 0 0 0 1em;
}
div#contentwrapper dl dd {
  margin: 0 0 1em 1em;
}

#comments {
margin-top: 20px;
}

/* END LISTS */



div.icon32 {
float: left;
width: 30px;
margin: 4px 0 0 10px;
}

.pagination {
font-size: 90%;
color: #999;
}
/* End of 'Layout: DT Top menu + 2 columns' */

