/* -------------------------------------------------------------- 
  
   Seitsemastaivas.fi
   
-------------------------------------------------------------- */

* 		{ margin: 0; padding: 0; }
a img 	{ border: none; }

body {
	background: #3ac9ff;
	color: #000;
	font-family: arial, verdana, serif;
	font-size: 12px;
	font-weight: normal;
}

img, div { behavior: url(/js/iepngfix.htc); }

a { color: #000; }

#recycled-bg { width: 100%; z-index: 1; position: absolute; top: 0; right: 0; min-height: 768px; _height: 768px; background: green; }

#container {
	background: #fff url(/pics/iso_etusivun_bg.jpg) no-repeat 0 0;
	width: 980px;
	position: relative;
	z-index: 5;
}

#logo img { margin: 63px 0 0 12px; }

#logo h1,
#logo h2 { text-indent: -999em; }

#total_navi { float: left; margin-right: 10px; width: 260px; }

.navi_heading {
	color: #3ac9ff;
	height: 33px;
}

.navi_heading h2 {
	color: #3ac9ff;
	font-family: Lucida Sans;
	font-size: 16px;
	font-weight: normal;
	margin: 0 0 0 19px;
	padding-top: 8px;
}

#subnaviLinks ul {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

#subnaviLinks ul li ul {
	margin: 5px 0 5px 10px;
}

#subnaviLinks ul li {
    padding: 0;
	margin: 0 0 5px;
	zoom: 1;
}

#subnaviLinks ul li a {
	background: transparent url(/pics/listmark.gif) no-repeat 10px 5px;
	color: #000;
	font-weight: bold;
	display: block;
	padding: 0 0 0 20px;
	text-decoration: none;
}

#subnaviLinks ul li a:hover,
#subnaviLinks ul li a#s {
	background: transparent url(/pics/listmark-s.gif) no-repeat 10px 5px;
	color: #ef4136;
}

#page {
	margin-top: 60px;
}

#content {
	float: left;
	margin-left: 10px;
	margin-top: 45px;
	min-height: 200px;
	width: 435px;
	padding: 20px 0;
}

#content_login {
	float: left;
	height: 250px;
	margin-left: 200px;
	margin-top: 45px;
	width: 435px;
}

#content_form {
	float: left;
	margin-left: 20px;
	margin-top: 45px;
	width: 435px;
}

#content_form div {
	margin-bottom: 5px;
}

#textarea_long {
	margin-top: 20px;
	width: 620px;
}

#banneri {
	margin: 10px 0;
}

#banneri_pysty {
	margin-top: 20px;
}

#archive {
	background: #fff550 url(/pics/listmark.gif) no-repeat 8px 7px;
	height: 18px;
	margin-top: 50px;
	padding-top: 2px;
	width: 90px;
}

#archive a {
	color: #000;
	padding-left: 16px;
}

#archive1 {
	background: #fff550 url(/pics/listmark.gif) no-repeat 8px 7px;
	height: 18px;
	margin-bottom: 10px;
	margin-left: 15px;
	padding-top: 2px;
	width: 120px;
}

#archive1 a {
	color: #000;
	padding-left: 16px;
}

#congregations {
	float: right;
	padding: 30px 0 0 80px;
	width: 180px;
	margin-top: -291px;
}

a.congregation-navblock:hover 	{ background-position: bottom left; }
a.congregation-navblock 		{ text-indent: -999em; display: block; width: 150px; height: 60px; background-repeat: no-repeat; background-position: top left; }

.navblock-tuomiokirkko 	{ background-image: url(/pics/Seurakunnat/tuomiokirkko-hover.gif); }
.navblock-henrikki 		{ background-image: url(/pics/Seurakunnat/henrikki-hover.gif); }
.navblock-kaarina 		{ background-image: url(/pics/Seurakunnat/kaarina-hover.gif); }
.navblock-katariina 	{ background-image: url(/pics/Seurakunnat/katariina-hover.gif); }
.navblock-maaria 		{ background-image: url(/pics/Seurakunnat/maaria-hover.gif); }
.navblock-martti 		{ background-image: url(/pics/Seurakunnat/martti-hover.gif); }
.navblock-mikael 		{ background-image: url(/pics/Seurakunnat/mikael-hover.gif); }
.navblock-paattinen 	{ background-image: url(/pics/Seurakunnat/paattinen-hover.gif); }
.navblock-piikkio	 	{ background-image: url(/pics/Seurakunnat/piikkio-hover.gif); }
.navblock-svenska 		{ background-image: url(/pics/Seurakunnat/svenska-hover.gif); }

#footer {
	clear: both;
	margin-top: 25px;
}

#footer img {
	vertical-align: top;
}

#footer p {
	color: #fff;
	font-family: Lucida Sans;
	font-size: 18px;
	padding: 13px 0 0 16px;
	margin: 0;
}

#bm2 {
	width: 500px;
}

#bm2 h1 a {
	text-decoration: none;
}

#bm2 td {
	height: 20px;
}

#bm2 td small {
	vertical-align: top;
}

#bm2 td span {
	margin-left: 15px;
}

#bm2 td a {
	text-decoration: none;
}

#bm2 a:hover span {
	text-decoration: underline;
}

p.time {
	font-size: 10px;
}

#total_navi ul.events {
	margin: 10px 0 0 19px;
}

#total_navi ul.events li {
	background: none;
	list-style-type: none;
	margin: 0 0 10px;
}

#total_navi ul.events li a {
	color: #000;
	text-decoration: none;
}

#total_navi ul.events li a:hover span {
	text-decoration: underline;
}

#total_navi ul.events li a small {
	margin-left: 0;
	padding: 0;
}

.padding {
	margin-left: 250px;
	margin-top: 50px;
	width: 435px;
}

blockquote {
	margin-left: 40px;
}

blockquote blockquote {
	margin-left: 40px;
}

blockquote blockquote blockquote {
	margin-left: 40px;
}

blockquote blockquote blockquote blockquote {
	margin-left: 40px;
}

blockquote blockquote blockquote blockquote blockquote {
	margin-left: 40px;
}

/* seurakunnat */

.seurakunnat #page { margin-top: 20px; }
.seurakunnat #container { background-image: url(/pics/iso_alasivun_bg.gif); padding-right: 10px; width: 970px; }
.seurakunnat #header { background: #fff; position: relative; margin-bottom: 20px; }
.seurakunnat #logo { margin: 0; padding: 0; float: left; display: inline; text-align: center; width: 259px; height: 300px; border-right: 1px solid #fff; background: #000 url(/pics/logo-bg.gif) 0 0 no-repeat; }
.seurakunnat #logo img,
.seurakunnat #logo h1,
.seurakunnat #logo h2 { padding: 0; margin: 0; }
.seurakunnat #logo h1,
.seurakunnat #logo h2 { display: none; }
.seurakunnat #gfx { position: absolute; top: 0; right: 0; z-index: 99; height: 300px; width: 710px; }
.seurakunnat #navigation { padding: 0 15px; font-size: 18px; text-transform: uppercase; line-height: 35px; color: #eee; clear: both; border-top: 1px solid #fff; height: 35px; background: #000 url(/pics/navi_bg_srk.png) 0 0 no-repeat; }
.seurakunnat #navigation ul { margin: 0; padding: 0; list-style: none; }
.seurakunnat #navigation li { margin: 0; padding: 0 12px 0 8px; display: inline; zoom: 1; white-space: nowrap; background: transparent url(/pics/navi_srk_dot.gif) right no-repeat; }
.seurakunnat #navigation a:hover,
.seurakunnat #navigation #selected { text-decoration: underline; }
.seurakunnat #navigation a { color: #eee; text-decoration: none; padding: 0; }
.seurakunnat #logo-srk { margin-top: 25px; }

.seurakunnat #total_navi { margin-right: 20px; width: 260px; }

.seurakunnat #content 		{ margin-left: 0; margin-right: 10px; margin-top: 0; width: 430px; padding-bottom: 20px; }
.seurakunnat .content-wide 	{ width: 680px; margin: 0; }

.seurakunnat #column-right { width: 250px; float: left; }

.seurakunnat #blogista { padding: 0 10px 0 20px; }
.seurakunnat #oikopolut { padding: 0 10px 20px 20px; }
.seurakunnat #oikopolut ul { margin: 0; padding: 0; list-style: none; }
.seurakunnat #oikopolut ul li { margin: 0 0 3px; padding: 0 0 0 7px; background: transparent url(/pics/oikopolut-bullet.gif) left no-repeat; }
.seurakunnat #oikopolut a:hover { color: #000; text-decoration: underline; }
.seurakunnat #oikopolut a { text-decoration: none; font-weight: bold; color: #aa272f; }

.seurakunnat #shoutbox { color: #fff; position: relative; padding-top: 20px; background: transparent url(/pics/shoutbox-bg.gif) no-repeat top; }
.seurakunnat #shoutbox h1,
.seurakunnat #shoutbox h2,
.seurakunnat #shoutbox h3,
.seurakunnat #shoutbox h4,
.seurakunnat #shoutbox h5,
.seurakunnat #shoutbox h6 { color: #fff; }
.seurakunnat #shoutbox-wrapper { padding: 10px 10px 20px 10px; background: #fff url(/pics/shoutbox-bg.gif) no-repeat bottom; }
.seurakunnat #shoutbox #megafoni { position: absolute; top: 10px; right: 0; }
.seurakunnat #shoutbox h2 { color: #fff; margin: 0; padding: 0; }
.seurakunnat #shoutbox .shoutbox-divider { margin: 5px 0; }
.seurakunnat #shoutbox .shoutbox-date { color: #7f7f7f; font-weight: normal; }
.seurakunnat #shoutbox .shoutbox-form { }

.seurakunnat #recycle-bg { margin-bottom: 10px; text-align: center; }

.seurakunnat #gallery-latest { margin-bottom: 5px; }
.seurakunnat #gallery-latest .gallery-thumbnail { float: left; border-top: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #fff; }
.seurakunnat #gallery-latest .last 				{ border-right: 1px solid #fff; }
.seurakunnat .gallery-thumbnails 				{ float: left; width: 140px; height: 200px; margin: 0 10px 30px 0; padding-right: 10px; border-right: 1px solid #555; }

.seurakunnat #videos-latest { margin-bottom: 5px; }
.seurakunnat #videos-latest .dialog 		{ float: left; width: 200px; margin-right: 5px; display: inline; }
.seurakunnat #videos-latest .dialog img 	{ border: 1px solid #fff; }
.seurakunnat #videos-latest .last 			{ margin-right: 0; }

.seurakunnat #blogi-login { padding: 10px 1.5em; }
.seurakunnat #blogi-writers { padding: 0 20px; }
.seurakunnat #blogi-writers ul { list-style: none; margin: 0 0 1.5em; padding: 0; }
.seurakunnat #blogi-writers ul li { }
.seurakunnat #blogi-writers li a { }

.seurakunnat #videos-pagination { }
.seurakunnat #videos-pagination ul { margin: 0; padding: 0; list-style: none; }
.seurakunnat #videos-pagination li { margin: 0; padding: 0; display: inline; }

.block-link {
	background: #fff550 url(/pics/listmark.gif) no-repeat 8px 7px;
	height: 18px;
	display: block;
	padding-top: 2px;
	padding-left: 18px;
	width: 120px;
}

#total_navi .block-link { margin-left: 18px; }

.dialog {
	color: #fff;
	margin: 0 auto .5em 12px;
	max-width: 760px;
	min-width: 8em;
	position: relative;
	z-index: 1;
}
.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
	background: transparent url(/pics/dialog.png) no-repeat top right;
	_background-image: url(/pics/dialog.gif);
}
.dialog .content {
	padding: 12px 12px 0 0;
	position: relative;
	zoom: 1;
	_overflow-y: hidden;
}
.dialog .t {
	background-position: top left;
	height: 100%;
	left: 0;
	margin-left: -12px;
	position: absolute;
	top: 0;
	width: 12px;
	_height: 1600px;
}
.dialog .b {
	background-position: bottom right;
	position: relative;
	width: 100%;
}
.dialog .b,
.dialog .b div {
	font-size: 1px;
	height: 12px;
}
.dialog .b div {
	background-position: bottom left;
	margin-left: -12px;
	position: relative;
	width: 12px;
}
.dialog .hd,
.dialog .bd,
.dialog .ft {
	position: relative;
}
.dialog .wrapper {
	max-height: 1000px;
	overflow: auto;
	position: static;
}

label       { font-weight: bold; }
fieldset    { padding: 1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size: 1.2em; }

input.text, input.title,
textarea, select {
  margin: 0.5em 0;
  border: 1px solid #bbb;
}

input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border: 1px solid #666;
}

input.text, 
input.title   { width: 150px; padding: 5px; }
input.title   { font-size: 1.5em; }
textarea      { width: 290px; height: 150px; padding: 5px; }

hr {
  background: #111; 
  color: #111;
  clear: both; 
  float: none; 
  width: 100%; 
  height: .1em;
  margin: 0 0 1.45em;
  border: none; 
}
hr.space {
  background: #fff;
  color: #fff;
}

.small,
small	    { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.float-left		{ float: left; }
.float-right	{ float: right; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

.clear { clear:both; }