/* Start of CMSMS style sheet 'icon_css' */
@font-face {
    font-family: 'IzhitsaC';
    src: url('uploads/layout/font/izhit8-wf.eot');
    src: url('uploads/layout/font/izhit8-wf.eot?#iefix') format('embedded-opentype'),
         url('uploads/layout/font/izhit8-wf.woff') format('woff'),
         url('uploads/layout/font/izhit8-wf.ttf') format('truetype'),
         url('uploads/layout/font/izhit8-wf.svg#IzhitsaCRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
* {
margin: 0;
padding: 0;
border: none;
}

html, body {
height: 100%;
	font-family : Arial, Helvetica, sans-serif;
	font-size : 14px;
	margin : 0;
	padding : 0;
}

html {
	background: url(uploads/layout/bg.jpg) repeat;
}

body.mceContentBody  {
width: 97%;
text-align: left;
padding: 0 10px;
}

hr {
background-color: gray;
}

/* DIV-Container */
#page {
    width: 1188px;
    min-height: 100%;
    position: relative;
    overflow: hidden; /* обрезаем все ненужное */
    margin: 0 auto;
	background : #235379;
/*	background: url(uploads/layout/sidebar_1px.png) repeat-y scroll 0 0 transparent;

	padding: 0 6px;
*/
}

#page {
	-moz-box-shadow:  5px 5px 15px -3px #112, -5px 5px 15px -3px #112;
	-webkit-box-shadow:  5px 5px 15px -3px #112, -5px 5px 15px -3px #112;
	box-shadow: 5px 5px 15px -3px #112, -5px 5px 15px -3px #112;

	behavior: url(uploads/layout/pie/PIE.htc);
zoom: 1;
/*	filter: 
               progid:DXImageTransform.Microsoft.shadow(direction=90, color=#000000, strength=5)
               progid:DXImageTransform.Microsoft.shadow(direction=-90, color=#000000, strength=5);
*/

}
/*
#footer {
	filter: 
               progid:DXImageTransform.Microsoft.shadow(direction=90, color=#000000, strength=5)
               progid:DXImageTransform.Microsoft.shadow(direction=-90, color=#000000, strength=5);
}
*/
#header {
	background: #d7dabd url(uploads/layout/header_ru.jpg) no-repeat;
	height: 182px;
width: 1188px;
text-align: center;
}
body#lang_lv #header {
background: #d7dabd url(uploads/layout/header_lv.jpg) no-repeat;
}

/* Color Header-Text */
#header a{
	color : #ffffff;
text-decoration: underline;
}

#navcontainer {
    background: url("uploads/layout/tenj_sleva.png") repeat-y scroll right center #235379;
    float: left;
/*    margin-bottom: -29900px; *//* нижнее поле для меню */
    margin-bottom: -29930px; 
    padding-bottom: 30000px;
    width: 203px;

}

#rightdiv {
    width: 250px;
    float: left;
    /*margin-bottom: -29900px;  поле */
    margin-bottom: -29930px; 
    background: url("uploads/layout/tenj_sprava.png") repeat-y scroll left center #235379;
padding: 15px 16px 30000px;  /* отступ */
}

#donate {
width: 250px;
height: 110px;
text-align: center;
-moz-box-shadow:  5px 5px 15px -3px darkgray, -5px 5px 15px -3px darkgray;;
-webkit-box-shadow:  5px 5px 15px -3px darkgray, -5px 5px 15px -3px darkgray;
box-shadow: 5px 5px 15px -3px darkgray, -5px 5px 15px -3px darkgray;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
background-color: #F2EAC8;
margin-bottom: 10px;
}

#donation-form {
margin: 0 auto;
width: 240px;
}

.don-but:hover {
cursor: pointer;
font-weight: bold;
}


#donate h2 {
padding-top: 15px;
padding-bottom: 10px;
}

#donate .payments {
background: url("/images/cms/payments.png") no-repeat;
margin: 0 auto;
height: 22px;
width: 166px;        
}

#content {
   
    width: 703px;
    float: left;
    padding-bottom: 30000px; /* отступ */
 /*   margin-bottom: -29900px;  поле */
    margin-bottom: -29930px; 
	-moz-box-shadow:  5px 5px 15px -3px darkgray, -5px 5px 15px -3px darkgray;;
	-webkit-box-shadow:  5px 5px 15px -3px darkgray, -5px 5px 15px -3px darkgray;
	box-shadow: 5px 5px 15px -3px darkgray, -5px 5px 15px -3px darkgray;
	-webkit-border-radius: 20px 20px 0 0;
	-moz-border-radius: 20px 20px 0 0;
	border-radius: 20px 20px 0 0;
 background-color: #F2EAC8;

	behavior: url(uploads/layout/pie/PIE.htc);
 zoom: 1;
z-index: 10;
position: relative;

}


#menu li {
	margin : 0;
	text-align : left;
	list-style-type : none;
padding: 8px 10px;
line-height: 20px;
}

#menu li a {
	display: block;
	vertical-align: bottom;
font-family: times New Roman;
font-weight: bold;
font-size: 18px;
color: #FFFCA5;
}

body#lang_ru #menu li a {
font-family: IzhitsaC;
font-weight: normal;
}

#menu > li > span{
	display: block;
	vertical-align: bottom;
font-family: times New Roman;
font-size: 18px;
font-weight: bold;
color: #FFFCA5;
}

body#lang_ru #menu > li > span {
font-family: IzhitsaC;
font-weight: normal;
}


#menu li a:hover {
	color : #7bb7ff;
	text-decoration : none;
}

#menu li ul {
	margin-left: 1.5em;
	text-align: left;
list-style-image: url(uploads/layout/triangle.gif);
list-style-position: outside;
}

#menu li ul li {
	padding: 0;
border: none;
}

body#lang_ru #menu li ul li a  {
    font-size: 14px;
font-family: Arial, Helvetica, Sans-serif;
}

#menu li ul li a {
    margin-left: -3px;   
    font-size: 14px;
padding: 0;
font-family: Arial, Helvetica, Sans-serif;
color: #FFF;
border: none;
}

li#separator {
	background-color : red;
}

span.sectionheader {
	background-color : yellow;
}

#menu li div.findbydateform{
    background-image: url("uploads/layout/archive-bg.png");
    display: block;
    height: 59px;
    text-align: center;
    vertical-align: middle;
    width: 176px;
    margin-top: 20px;
}

#menu li div.findbydateform .yearfield{
    display: inline-block;
    line-height: 40px;
}

#menu li div.findbydateform .submit a{
font-family: Arial, Helvetica, Sans-serif;
    font-size: 14px;
}

.findbydateform .monthpicker {
padding: 0.5em 0;
}

body#lang_ru #menu li div.findbydateform .submit a {
font-family: Arial, Helvetica, Sans-serif;
}
#maincontent {
	padding: 10px;
}

#maincontent ul {
	list-style-image : url(uploads/layout/bullet.png);
}

#rightdiv > div{
}
#rightdiv > div.banner{
padding: 10px 0;
}


#rightdiv img {
	padding : 1px;
}

#rightdiv .banner a{
display: block;
text-align: center;
}

#rightdiv .banner img {
border: none;
padding: 0;
width: 250px;
height: 136px;
margin: 0 auto;
}

#news {
	margin : 0 auto;
	width : 100%;
}

.clear {
    clear: both;
}

#footer {
    width: 1188px;
     height: 32px;
    position: absolute;
    bottom: 0;
	background-color: #3c79a5;
	color: #fff;
	font-size : 90%;
	margin : 0 auto;
	padding : 10px 0;
	text-align : center;
z-index: 20;
}

/* Class */
.box-blue {
	background : url("uploads/layout/search-bg.png") no-repeat scroll 0 0 transparent;
	text-align : left;
	margin: 0 auto;
position: relative;
width: 152px;
padding: 12px;
}

.box-blue p {
	margin-bottom : 10px;
	margin-top : 10px;
}

.underline {
	border-bottom : 2px solid #ffb93f;
	padding-bottom : 3px;
	width : 180px;
}

.subheading {
	font-weight : bold;
}

div.menu {
margin-bottom: 10px;
}

.menu ul {
	list-style : none;
	margin : 0;
	padding : 1px;
}

#menu li a.currentpage{ /* menu */
	color: #7bb7ff;
}

li#separator{ /* menu */
   background-color:red;
}

span.sectionheader{ /* menu */
   background-color:yellow;
}



img {
	border : medium none;
}

* html #container {
	overflow : visible;
}

* html #content {
	height : 380px;
	overflow : visible;
}

* html #navcontainer {
	height : 380px;
	overflow : visible;
}

.mainheading {
	font-size : 123%;
	font-weight : bold;
}

/* Links */
a {
	color : #755c0a;
	font-weight : normal;
	text-decoration : none;
}

a:hover {
	color : #fca00e;
	text-decoration : underline;
}

/* Fonts */
h1 {
	color : #006a3d;
	font-family : Arial;
	font-size : 120%;
	font-style : normal;
	font-variant : normal;
	font-weight : bold;
	line-height : normal;
	margin-top : 0;
	padding-top : 0;
}

h2 {
	color : #5c94bf;
	font-family : arial;
	font-size : 150%;
	font-style : normal;
	font-variant : normal;
	font-weight : bold;
	line-height : normal;
	margin-top : 0;
	padding-top : 0;
}

li {
list-style-type: none;
}

/** search **/
.search-button {
background: url(uploads/layout/search.gif) no-repeat #FFFFFF;
    height: 20px;
    position: absolute;
    right: 11px;
    width: 20px;
}

.search-input {
height: 20px;
width: 133px;
}

div#church-calendar {
    font-size: 0.85em;
    text-align: left;
color: #fff;
margin-bottom: 15px;
}
div#church-calendar a {
color: #b1d0ed;
text-decoration: underline;
}


div#church-calendar img {
border: none;
}

/*banners*/
div.midbanner {
    text-align: center;
    border-bottom: 1px solid #DECF94;
    border-top: 1px solid #DECF94;
    padding: 10px;
}

div.midbanner img {
margin 0 auto;
position: relative;
width: 468px;
height: 60px;
}

div.hidden {display: none;}

#lang-selector {
/*    float: right;
    margin-right: 187px;
    margin-top: 5px;
*/
position: absolute;
top: 30px;
left: 170px;
}
#lang-selector a {
color: #FFF;
}

a#header-link {
    display: block;
    width: 100%;
    height: 100%;
}

.question-form-field {
    margin: 10px 0;
    overflow: hidden;
}

.question-form-field .cms_textfield {
    width: 270px;
    height: 17px;
}

.question-form-field .cms_textarea {
width: 680px;
height: 90px;
padding: 5px;
}

.question-form-field label {
    margin-left: 10px;
    color: #a28525;
    font-size: 13px;
}
.qa-form-message {
    margin-left: 24px;
    display: inline;
}
#qa-form-captcha-inp {
    float: left;
    width: 560px;
}
#qa-form-captcha-inp .cms_textfield {
    margin-left: 10px;
    margin-top: 10px;
width: 110px;
}
#qa-form-submit {
    float: right;
}

#qa-form-submit .cms_submit {
    color: #a28525;
    border: 1px outset #a28525;;
    background-color: #FFF;
}
#qa-form-captcha-image {
    float: left;
}
#qa_form_section, #qa_text_section {
    overflow: hidden;
    margin-top: 1px;
}
#qa_form_section {
    border-top: 1px solid #ded095;
}
.qa-author-name {
color: #a28525;
}

.qa-message-container {
    border-top: 1px solid #ded095;
    border-bottom: 2px solid #ded095;
position: relative;
padding: 0 5px;

}
.qa-message-answer {
margin-left: 100px;
margin-top: 20px;
overflow: hidden;
}
.qa-message-answer-text {
display: none;
text-align: justify;
}
.qa-message-hide, .qa-message-show {
float: right;
margin-bottom: 15px;
}
h1.underlined {
    padding-bottom: 8px;
    border-bottom: 2px solid #ded095;
}

div.separator{
background: url("uploads/layout/separator.jpg") no-repeat center center;
  height: 15px;
clear: both;
}
/* End of 'icon_css' */

