html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  list-style-position: outside
}
body { 
  /*line-height: 1.5;*/
  font-family:Verdana, Arial, Helvetica, sans-serif; 
}
/* Tables still need 'cellspacing="0"' in the markup. */
/*table { border-collapse: separate; border-spacing: 0; }*/
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: top; }

/* Remove possible quote marks (/assets/i/") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }
/*******************LAYOUT**********************/
#outwrap, #wide_outwrap {height:100%; min-width:990px; margin:0; padding:0}
#outwrap {background:url(/assets/i/fsbg.png) repeat-y 100% 0;}
html, body {height: 100%;}
body {background:url(/assets/i/pbg.png)}
#pagebody { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto; /* the bottom margin is the negative value of the footer's height */}
#pagebody {background:url(/assets/i/fsbg.png) repeat-y 0 0;}
#header {height:188px; background:url(/assets/i/fbg_dbl.png) repeat-x bottom; position:relative; z-index:4}
#header #hinner{height:91px; background:url(/assets/i/hbg_sh.png) repeat-x; text-align:center; padding-top:15px}
#header #hinner #church {position:absolute; right:3%; top:15px}
#header #hinner #logo {position:absolute; left:15px; top:15px}
#header #tm {height:30px}

#trow .adress {background:#e56901; color:#fff; border:#fff solid 2px; width: 350px; float:right; margin:20px 3% 0 0; font-family:Tahoma; font-size:13px; text-align:right; padding:3px 6px}
#trow .adress .phone {font-weight:bold; font-size:14px}
#trow #logo {float:left; margin:0 0 0 8%}
#bottom {height: 132px; background:url(/assets/i/fbg_dbl.png) repeat-x top; margin:-132px auto; clear:both; overflow:hidden; position:relative; z-index:5}
#bottom p {padding:25px 10px 0} .copyright{float:left} .counters {float:right; padding:15px 10px 0}
#bottom .binner {margin:60px 0 0}
#bottom .binner .counters p {float:right; padding:0; margin:0 0 0 5px}

#wide_contbl {
  padding-left: 230px;  /* RC fullwidth + CC padding */
  padding-bottom: 130px;
  clear:both;
}

#contbl {
  padding-left: 230px;   /* LC fullwidth */
  padding-right: 230px;  /* RC fullwidth + CC padding */
  padding-bottom: 130px;
  clear:both;
}
#wide_contbl .column, #contbl .column {
  position: relative;
  float: left;
}
#center {
  padding:0;    /* CC padding */
  width: 100%;
}

#center .inner {
  /*background:url(/assets/i/tfn2.png);*/
  margin:20px 20px 15px;
}
#center .inner .text {
  background:url(/assets/i/tfn.png);
  /*background:#fff;*/
  margin:10px 0 0;
  padding:10px 10px 30px;
}

#left {
  width: 210px;          /* LC width */
  padding: 20px 10px;       /* LC padding */
  right: 230px;          /* LC fullwidth + CC padding */
  margin-left: -100%;
}
#right {
  width: 230px;          /* RC width */
  padding: 20px 0px;       /* RC padding */
  margin-right: -230px;  /* RC fullwidth + CC padding */
}
#right .inner {text-align:center}
  
/*******************STYLES**********************/
.lmenu {background:url(/assets/i/mbg.png); width:auto}
.lmenu li {list-style-type:none; height:22px; width:auto}
.lmenu li a {padding:3px 2px 0 20px; background:url(/assets/i/pimp.png) no-repeat 2px 0; height:19px; color:#871c18 !important; text-decoration:none; display:block; font-size:14px; width:auto}
.lmenu li a:hover, .lmenu li a.active {color:#fff !important; background:#871c18 url(/assets/i/pimp.png) no-repeat 2px -22px;}
.ltopmenu {margin-left:210px; float:left}
.ltopmenu li {list-style-type:none; height:30px; /*width:auto;*/ float:left; margin-right:10px}
.ltopmenu li a {color:#f8f1f1 !important; display:block; height:22px; padding:6px 3px 2px; text-decoration:none; text-transform:uppercase; font-size:14px; /*width:auto*/}
#center table {margin-bottom:20px}
#breadcrumbs {margin-bottom:10px}
/*******************TYPOGAPHY**********************/
body {color:#871c18; font-family:Arial, Helvetica, sans-serif; font-size:16px}
a {color:#838971}

#center ul, #center ol {padding-left:15px; margin-bottom:10px}
#center ul li, #center ol li {margin-bottom:4px}

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #871c18; text-align:center; text-transform:uppercase; padding:3px 0 }
h1 span,h2 span,h3 span,h4 span,h5 span,h6 span {background:url(/assets/i/hpbg.png) no-repeat 0 50%; padding-left:20px; margin-left:-20px}

h1 { font-size: 1.4em; line-height: 1; margin-bottom: 0.5em; background-color:#e6bd87; }
h2 { font-size: 1.2em; margin-bottom: 0.75em; }
h3 { font-size: 1em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

p  { margin: 0 0 1.5em; }
#hinner h1 {margin-left:-999em; background:none}
#hinner #headimg {margin-top:-2.5em}
#right h4 {height:18px; padding:2px 0 2px 22px; background:#cfa392 url(/assets/i/pimp.png) no-repeat 3px 1px; text-align:left !important}
#right h4 span {font-size:14px; padding:0; margin-left:0; display:block; background:none}
/*************** Calendar *************************/
.calendar {border-top:1px solid #E6BD87; border-right:1px solid #E6BD87; margin:0 auto}
.calendar caption {color:#fff; background:#E6BD87; border:solid #871c18; border-width:0px; padding:3px; text-align:center}
.calendar caption a, .calendar td a {text-decoration:none !important}
.calendar th {padding:3px; background:#cfa392; font-size:14px; font-weight:bold; color:#fff}
.calendar td {padding:2px}
.calendar td a {display:block; font-weight:bold}
.calendar td.cur, .calendar td.cur a {color:#871c18 !important; font-weight:bold}
.calendar td.curDay{background:#E6BD87}
.calendar td.cur {background:#cfa392}
.calendar td.cal_link {background:#eee}
.calendar th, .calendar td {/*background:#fff;*/ border-bottom:1px solid #E6BD87; border-left:1px solid #E6BD87; text-align:center}
.calendar th.wend {color:#CC0000 !important}

#daycal {background:url(/assets/i/cal/calbg.png) no-repeat 0 0; height:209px; width:208px; margin:-10px auto 22px; text-align:center; padding:50px 0 0}
#daycal ul {padding:0 !important; margin:0}
#daycal ul li {list-style-type:none; text-transform:uppercase; margin:0 !important}
#daycal ul li.r1 {height:26px; padding-top:8px; color:#fff; font-size:13px; font-weight:700}
#daycal ul li.r2 {height:72px}
#daycal ul li.r2 span {display:block}
#daycal ul li.r2 span.day {font-size:48px; height:48px; font-weight:bold}
#daycal ul li.r2 span.wday {font-size:14px; height:16px; font-weight:bold; text-transform:lowercase}  
/*************** WSIG *************************/
.justifyfull {text-align: justify}
/*************** SEARCH *************************/
#ajaxSearch_form {padding:3px 10px 0 0}
#ajaxSearch_input {width:110px; height:16px; background:#e1e1e1; font-size:11px; border:1px solid #871C18; padding:0 2px 2px;
margin:1px 0 0;}
#ajaxSearch_submit {margin:2px 0 5px 0; font:bold 11px Arial, Sans-serif; background:#E6BD87; padding:1px 3px; color:#333;
border:0px solid #871C18; cursor:pointer}
#ajaxSearch_form label {display:block; float:left;}
/*************** ADDED FROM GREG *************************/
.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
   }
.rightimg  {
    float: right; /* Выравнивание по правому краю  */ 
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
   }

