/* Narva Aleksandri kogudus GHJ_MJrahuAD*/
body, html {
padding: 0;
margin: 0;
border: 0;
color: #000; 
font-family: Verdana, Arial, Tahoma, sans-serif;
height:100%;
background: url(../i/left-bg.gif) repeat-y #fff;  
}
body {
font-size:80%;
min-width:760px;
}
p {
padding: 7px 0 7px 0;
}
a {
color: #000099;
}
a:hover{
color: #0000FF;
text-decoration: none;
}
h1, h2, h3 {
font-weight: bold;
padding-bottom: 5px;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.4em;
}
h3 {
font-size: 1.2em;
}
.clear { clear: both; }
#mainContainer {
min-height: 100%;
min-width: 875px;
background: url(../i/right-bg.gif) 100% 0 repeat-y; 
/*parempoolse tulba bg, pilti saab lisada lisades top repeat-y*/
}
* html #mainContainer {
height: 100%; /*IE-le*/
}
* html img.avalehekeskpilt {
display:block;
position:relative;
float:right;
border:0;
}
/*PÄIS*/
#ylaban {
background:url(../i/YlabanBg.jpg) top repeat-x #1e5796;
width:100%;
height:192px;
padding:0;
float:right;
}
#ylaban #YlabVasakVapp {
display:block;
float:left;
width:156px;
height:192px;
padding:0;
}
.Logotxt{
	padding:19px 0 0 2%;
	display:block;
	position:relative;
	float:left;
	z-index:3;
}
.Ylaban_pyhaNM{
	display:block;
	position:absolute;
	float:right;
	top:32px;/*14*/
	padding-left:0;
	right:9em;/*IEle*/
	z-index:9;
}
.NM_Ylaban01AD2008{
	border:0;
	display:block;
	position:relative;
	top:19px;
	padding:0 9%;
	z-index:9;/*!imp!*/
}
.aPildid0{
	border:0;
}
.YlabanAdreKr{
	padding:0 0 4px 9%;
	display:block;
	position:relative;
	float:left;
	z-index:2;
}
/*SISU ja TULBAD*/
.outer {
padding-left: 165px; /* sama mismargin-left float-wrap div -l*/
padding-right: 100px; /*paremtulba laius*/
}
.inner {
width: 100%;
padding-bottom: 45px; /*sama väärtus mis jaluse sügavus*/
}
.float-wrap {
float: left;
width: 100%;
margin-left:-165px; 
/*sama .outer padding-left kuid neg*/
}
#content {
float: right;
margin-right: -165px; 
/*sama .outer padding-left kuid neg*/
width: 100%;
background: url(../i/t-2.gif) 100% 0 no-repeat;/*parempoolne sisunurk*/
border-top: 10px solid #F1F1F1;
position: relative; /*IE-le*/
}

.contentWrap{
padding: 5px 70px 5px 5px;
}
.contentWrap p{
	max-width:650px;
}
.contentWrap ol, .contentWrap ul {
margin: 3px 0 5px 35px;
}
.contentWrap li {
padding-bottom: 2px;
}
/*VASAK TULP vasak div on float wrap is on neg marginina vasakule*/
#left {
float: left;
width: 155px;
padding:5px;/*imp vasaknurk!*/
border-top: 10px solid #F1F1F1; /*** We have used border top here to push the left column content down, but other solutions can also be used ***/
background: url(../i/t-1.gif) 100% 0 no-repeat; /*** Our upper left rounded image to create the rounded content look ***/
position:relative;/*IEle*/
}
* html #left {

}
#left ul {
list-style: none;
padding-bottom: 4px;
}
#left li {
padding-bottom: 2px;
}
#important_links {
margin: 0 0 20px 0;
}
#important_links li{
padding: 8px;
margin-left: -4px;
display: inline;
background: #C8D6E5;
}
#important_links li a{
line-height: 26px;
color: #000;
text-decoration: none;
}
#important_links li a:hover{
text-decoration: underline;
}

/*PAREM TULP*/
#right {
float: right; 
width: 100px;
padding: 0px 0 0 10px;
position: relative; /* IE-le*/
margin-right: -100px; /*sama mis parema tulba laius kuid neg*/
/*border-top: 10px solid #F1F1F1;*/
position: relative; /* IE-le*/
}
#ylaban #ParemTulpPilt{
	margin: 40px 20px 0 0;
	float:right;
}
#right ul {
list-style: none;
padding-bottom: 4px;
}
#right li {
padding-bottom: 2px;
}
/*JALUS*/
#footer {
height: 45px;/*see lahendus ei toeta jaluse fleksibiilsust*/
min-width: 875px;
margin-top: -45px;/*...vältimaks jaluse kerimisriba*/
text-align: center;
background: url(../i/b-bg.gif) repeat-x #F1F1F1;/*sisu ümarserv alumine pool*/
}
#footerLeft, #footerRight {
height: 15px; 
background: #F1F1F1;
}
#footerLeft {
float: left; 
width: 165px; /*sama .outer padding-left*/
background: url(../i/b-1.gif) 100% 0 no-repeat #F1F1F1; /*vasak alune nurk*/
}
#footerRight {
float: right;
width: 115px;/* sama mis paremtulp +px** kui tekib horisontaal kerimisriba muuda seda väärtust*/
background: url(../i/b-2.gif) no-repeat #F1F1F1; /*parem alune nurk*/
}
#footer p {
clear: both;
background:#F1F1F1;
padding:0;
margin:0;
/*IE7 ja Operale MJ*/
}
