/* 
  synagoga.ru main stylesheet
*/

* {
  margin:0px;
  padding:0px;
}

html, body {
  font-size:small;
  font-family: "Verdana", sans-serif;
/*   color: #797043;
  font-size: 11px; */
  background: #4F4C39;
  margin: 0;
  padding: 0;
  text-align: center;
  min-width: 990px;
}

img {
  border: 0;
}

#container {
  border: 1px #7B7F51 solid;
  border-top: 0px;
  background: url(/images/cbg.png) repeat-y;
  width: 950px;
  margin: 0 auto;
}

td {
  text-align: left;
  vertical-align: top;
}

td.left_mid {
  text-align: left;
  vertical-align: middle;
}

td.mi {
  height: 22px;
  vertical-align: top;
}

td.bl {
  font-size: 10px;
  font-weight: bold;
  color: #1F0D0D;
}

td.ftr {
  font-size: 9px;
  color: white;
  padding-bottom: 20px;
  padding-top: 20px;
  vertical-align: bottom;
}

.hb_first {
  text-align: right; 
  padding-right: 15px;
}

.dashes {
  background: url(/images/dd.png) repeat;
}

td.hb {
  font-size: 12px;
  font-weight: bold;
  color: #2E281D;
  color: #38312B;
}

td.hb1 {
  font-size: 10px;
  font-weight: bold;
  line-height: 18px;
  color: #2E281D;
}

td.rtl {
  direction:rtl;
}

td.hr {
  vertical-align: bottom;
  height: 20px;
  font-size: 9px;
  font-weight: bold;
  color: #2e281d;
}

.wh, .wh a {
  font-size: 11px;
  color: #fcf4df;
}

td.wh {
  padding-bottom: 5px;
  vertical-align: bottom;
}

td.wh a:hover {
  color: #f3e0ac;
}

a.wh1 {
  font-size: 12px;
  color: #fcf4df;
}

a.wh1:hover {
  color: #f3e0ac;
}

/* Links */
a.ne {
  font-size: 10px;
  color: #fcf4df;
  text-decoration: none;
}

a.ne:hover {
  color: #fff0d0;
  text-decoration: none;
}

a.wl {
  font-size: 10px;
  color: #fff;
  text-decoration: underline;
}

a.wl:hover {
  color: #FFCC66;
  text-decoration: none;
}

a.wl1 {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  color: #fff;
  text-decoration: underline;
}

a.wl1:hover {
  color: #FFCC66;
  text-decoration: none;
}

/* Tora chapter */
.gl {
  vertical-align: middle;
}
.gl a {
  font-size: 10px;
  font-weight: bold;
  color: #2E281D;
}
.gl a:hover {
  color: #F3E0AC;
}

/* Menu */
td.mc {
  text-align: center;
  background: url('/images/mbg.jpg') no-repeat;
}
.menu_frame {
  height: 243px;
  padding: 20px 0 0 14px;
  text-align: left;
}

.menu_frame li {
  font-size: 10pt;
  list-style: none;
  line-height: 1.2em; 
  padding: 4px 0 0 0;
}

a.mina {
  color:#2D2A22;
  padding-left: 16px;
}

a.mina:hover {
  color:#9B512B;
}

a.mina_sel {
  color:#9B512B;
  padding-left: 16px;
  background: url('/images/menu_sel.gif') no-repeat;
}

a.mina_sel:hover {
  color:#FFF;
}

/* First page text blocks at right */
.text_block1, .text_block2, .text_block3 {
  background: url(/images/pbg2.jpg) repeat-y;
}

.text_block1 {
  font-size: 7.5pt;
  color: #FFF;  
}

.text_block1, .text_block3 {
  padding-left: 10px;
  padding-right: 10px;
}

.text_block3 a {
  padding-left:30px;
}

.text_block1 img {
  float: left;
  margin-right: 5px;
}

/* Header */
.head {
  height:157px;
}
.head_left {
  background: url('/images/hbg1.jpg');
}
.head_left a {
  display: block;
  margin: 28px 0 0 32px;
}
.head_long {
  background: url('/images/hbg2.jpg');
  padding-top: 18px;
  font-style: italic;
}
.head_right {
  background:url('/images/hbg4.jpg');
}
.head_right table {
  margin-left: 6px;
}

.prayer_sched {
  font-size: 8pt;
  color: white;
  height: 30px;
  vertical-align: top;
}

.ar {
  text-align: right;
}

/* Content */
td.blocks table {
  margin: 10px 0 50px 20px;
}

div.cnt_block {
  font-size:11px;
  margin: 0 0;
  height: 280px;
}

div.cnt_block *, td.blocks * {
  color: #FFF;
}

div.cnt_block h2, td.blocks h2 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: bold;
  font-style: italic;
}

div.cnt_block img {
  margin: 0 5px 5px 0;
  border: 0;
  float: left;
}

div.cnt_block p {
  margin: 0 0 8px;
}

div.cnt_block p a {
  text-decoration: none;
}

div.cnt_block h2 a {
  text-decoration: underline;
}

div.cnt_block a:hover, td.blocks a:hover {
  color: #FFCC66;
}

.ccontent1 {
  width: 691px;
  margin: 0 78px 10px 12px;
  background: #ECD9AD url('/images/ccont_bg.jpg') 0 0 repeat-y;
}

.ccontent2 {
  background: url('/images/ccont_bot.jpg') 0 100% no-repeat;
}

.ccontent3 {
  padding: 90px 72px;
  background: url('/images/ccont_top.jpg') 0 0 no-repeat;
  font-size: 10pt;
  color: #000;
}

.ccontent3, .ccontent3 * {
  font-size: 10pt;
  color: #000;
}

.ccontent3 p {
  margin: 5px 0 10px;
}

/* Calendar styles */
form.calendar_form table {
  margin: 8px 0;
}

form.calendar_form td {
  vertical-align: top;
  padding: 2px;
  font-size: 10pt;
}

#calendar_input td {
  text-align: center;
}

#calendar_report input {
  background: #DDD;
  padding-left: 2px;
}

/* List item styles */
.item_block {
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
}

/* Music albums page */
.ccontent2_music {
  background: url('/images/ccont_bot_music.jpg') 0 100% no-repeat;
}

.ccontent3 h1 {
  font-size: 130%;
  margin: 20px 30px 10px;
  color: #2D2A22; 
}

.music ul {
  list-style: none; 
  margin: 0 0 120px;
}

.music li {
  margin: 0.3em 0;
}

.ccontent3 a {
  color: #2D2A22; 
}

.ccontent3 a:hover {
  color: #9B512B; 
}

.ccontent3 .bottom_link {
  display: block;
  clear: both;
  font-style: italic;
}

/* Photoalbum */
.large_photo {
  margin: 10px 0 30px;
  text-align: center;
}

.photo_list {
  padding: 10px 0 30px;
  overflow: hidden;
  width: 100%;
  list-style: none;
}

.photo_list li {
  float: left;
  overflow: hidden;
  margin: 5px 0;
  width: 260px;
}

.photo_list li a {
  display: block;
  margin: 0 5px;
}

.photo_list li table td {
  vertical-align: middle;
}

.photo_list li table td.photo_preview {
  text-align: center;
  width: 83px;
  height: 66px;
  background: url('/images/photo_preview.png') 0 0 no-repeat;
}

/* Prayer order form */
.error {
  background: #F00;
}

.info {
  background: #080;
}

.note_line {
  margin: 8px 24px;
  padding: 3px;
  height: 1.5em;
  color: #FFF;
  font-weight: bold;
}

.prayer_form label {
  display: block;
  margin: 10px 0 0;
}

.prayer_form .form_send {
  padding: 8px 0 0 160px;
}

/* Brochure */
#brochure {
  text-align: center;
  padding: 10px 0;
}

.brochure_img {
  margin-bottom: 15px;
}

#brochure a {
  margin: 0 20px;
}
