* {
	margin: 0px;
	padding: 0px;
	text-decoration: none;
}
html, body {
	margin: 0px;
	padding: 0px;
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
	background: #f2f2f2;
	background-image: url(main/bgbody.png);
	background-repeat: repeat-x;
	-webkit-text-size-adjust: 100%; /* wichtig gegen iPhone Textvergrösserung */

}

/****************************************************************************************************************/
/* Rahmen und Hintergrund für den gesamaten Inhalt */

#wrap {
	margin: 0px;
	padding: 0px;
	background: transparent;
}
#frame1 {
	width: 920px;
	margin: 0px auto 0px auto;
	padding: 0px;
	background-image: url(main/frame1.png);
}
#frame2 {
	width: 920px;
	padding: 0px;
	background-image: url(main/frame2.png);
	background-position: bottom;
	background-repeat: no-repeat;
	background-color: transparent;
}
#frame3 {
	width: 920px;
	padding: 0px;
	background-image: url(main/frame3.png);
	background-repeat: repeat-x;
	background-color: transparent;
}


/****************************************************************************************************************/
/* Haupt-Box beinhaltend Titel, Menü, Inhalt  */

#container {
	width: 880px;
	min-height: 600px; /* ! IE6 */
	margin: 0px auto 0px auto;
	background: transparent;
}

#closecontent {  /* Abschluss-Box von container */
	clear: both;
	width: 800px;
	height: 30px;
	padding: 0px 50px 0px 30px;
}


/****************************************************************************************************************/
/* Titel  */

#header1 {   /******** Titelbereich grau ********/
	width: 800px;
	height: 50px;
	margin-top: 0px;
	padding: 30px 40px 0px 10px;
	background: transparent;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-style: italic;
	color: #4F0027;
}

#header1 a {   /******** Titelbereich grau ********/
	color: #CC0000;
}
#header1 a:hover {
	color: #ffffff;
	background-color: #fc8822;
}
#header1 a.header1main {
	padding: 1px 33px 5px 0px;
	background: url(main/bg-header1main.png) top right no-repeat;
}
#header1 a.header1main:hover {
	color: #701028;
	background-color: transparent;
}


#header1 h4 {
	font-size: 18px;
}

#header2 {   /******** Titelbereich rot ********/
	width: 840px;
	height: 110px;
	margin-top: 5px;
	padding: 0px 30px 0px 10px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
	color: #ffffff;
}
#header2 h2 {
	font-size: 18px;
}
#header2 h4 {
	padding-top: 22px;
	font-size: 21px;
}
#header2 h1 { /* neu alternativer Header h1 für mehr Gewicht, aber gleiches Aussehen wie h4 plus etwas Schatten */
	padding-top: 22px;
	font-size: 21px;
	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.5);
}

/******** HEADER2 HAUPTSEITE ********/

#header2main { 
	width: 880px; 
	height: 110px;
	margin-top: 5px;
	padding: 0px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
	color: #ffffff;
}
#header2main #header2a { /* Hilfsbox */ 
	float: left;
	width: 320px;
	padding-top: 20px;
}
#header2main #header2b { /* Hilfsbox */ 
	float: left;
	height: 110px;
	width: 560px;
	margin-top: 1px;
	margin-bottom: -1px;
	background-color: transparent;
	background: url(main/brief-austritt-kirche.png) no-repeat;
}
#header2main h4 {
	font-size: 24px;
}
#header2main h4 .shad {
	text-shadow: 2px 2px 1px #703011;
}

/****************************************************************************************************************/
/* Menü-Box */

.sidebar {   /******** Menu-Box ********/
	width: 170px;
	padding: 10px 15px 20px 15px;
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
}
.sidebar ul {
	margin: 0px;
	padding: 0px;
}
.sidebar ul li {
	width: 165px;
	background-color: transparent;
	list-style-type: none;
	line-height: 125%;
	font-size: 11px;
	font-weight:bold;
	border-bottom: 1px solid #b0a0b0;
}
.sidebar ul li a { 
	display: block;
	width: 165px;
	padding: 7px 0px 8px 2px;
	text-decoration: none;
	color: #4f0027;
}
.sidebar ul li a.sub { 
	padding: 5px 0px 5px 2px;
}
.sidebar ul li a:hover {
	color: #ffffff;
	background-color: #a8a0a4;
}
.sidebar ul a.on {
	color: #ffffff;
	background-color: #770927;
}
.sidebar .menutitle {
	margin: 0px;
	padding: 0px;
	width: 170px;
	background-color: #e3e2e0;
	font-size: 11px;
	font-weight:bold;
	border-bottom: 1px solid #b0a0a0;
	padding: 12px 0px 2px 0px;
	color: #a89898;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	font-style: italic;
	font-size: 18px;
}

/****************************************************************************************************************/
/* Inhalt-Box */

#content {
	width: 610px; /* fixe Breite */
	padding: 10px 15px 10px 15px;
	font-family: verdana, arial, sans-serif;
	font-size: 14px;
	line-height: 19px;
	text-decoration: none;
	color: #4f0027;
}
#content h2 {
	padding: 8px 0px 5px 0px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	font-style: italic;
	font-size: 20px;
}
#content a, a#sidebarlink, a.sidebarlink {
	font-weight: bold;
	text-decoration: none;
	color: #990000;
}
a#yellowlink {
	background-color: #fff200;
}
a#lightlink, a.lightlink {
	background-color: #fffbf2;
}
a#sidebarlink, a.sidebarlink {
	background-color: #f7f7f7;
}
#content a:hover, a#sidebarlink:hover, a.sidebarlink:hover {
	font-weight: bold;
	text-decoration: underline;
	color: #ffffff;
	background-color: #fa9944;
}
#content ul {
	margin: 0px;
	padding: 0px;
}
#content ul li {
	width: 350px;
	background-color: transparent;
	list-style-type: none;
	font-size: 11px;
	font-weight: normal;
	border-bottom: 1px solid #b0a0b0;
}
#content ul li a { 
	display: block;
	width: 350px;
	padding: 2px 0px 0px 0px;
	text-decoration: none;
	color: #4f0027;
	font-weight: normal;
}
#content ul li a:hover {
	color: #ffffff;
	background-color: #a8a0a4;
	text-decoration: none;
	}

/* Link im Text ohne Hervorhebung */
a.atext, a.atext:link, a.atext:visited {
	color: #4f0027 !important;
	font-weight: 400 !important;
	text-decoration: none !important;
}
a.atext:hover, a.atext:active {
	text-decoration: underline !important;
	background-color: transparent !important;
}

/* Link nicht fett */
a.W400 {
	font-weight: 400 !important;
}

/****************************************************************************************************************/
/* Spezieller Inhalt */

a#kirchensteueraustritt {
	display: block;
	margin: 14px 0px 22px 110px;
	width: 350px;
	height: 47px;
	background: #e6e5e3 url('main/abmeldung-kirchensteuern.png') no-repeat;
}
a#kirchensteueraustritt:hover {
	background: #e6e5e3 url('main/abmeldung-kirchensteuern-h.png') no-repeat;
}

/****************************************************************************************************************/
/* Linkliste Kantone  */

p.link-kantone {
	padding-top: 4px;
	font-size:10px;
	color: #a9a6a0;
	letter-spacing:-1px; 
}
p.link-kantone a, p.link-kantone a:visited  {
	font-size:10px;
	color: #999690;
}
p.link-kantone a:hover  {
	font-size:10px;
	color: #797670;
}

/****************************************************************************************************************/
/* Fusszeilen-Box (unterhalb von container)  */

#footer {
	width: 880px;
	height: 20px;
	margin: 0px auto 0px auto;
	padding: 0px;
	font-family: verdana, arial, sans-serif;
	font-size: 10px;
	text-align: right;
	color: #aaaaaa;
}
#footer a, #footer a:visited, #footer a:focus {
	text-decoration: none;
	color: #a8a0a0;
}
#footer a:hover {
	text-decoration: underline;
}
#date-last-change {
	width: 880px;
	height: 20px;
	margin: 0px auto 0px auto;
	padding: 0px 25px 0px 0px;
	font-family: verdana, arial, sans-serif;
	font-size: 8px;
	text-align: right;
	color: #b4b4b4;
}

/****************************************************************************************************************/
/* Rahmen für Menü-Box Breite fix 200px gegeben durch *.png */

.sidebarwrap {
	float: left;
	margin: 10px 0px 0px 12px; /* ! IE6 */
	padding: 0px;
	background: transparent;
}
.sidebarframe1 {
	padding: 0px;
	background-image: url(main/menuframe1.png);
}
.sidebarframe2 {
	padding: 0px;
	background-image: url(main/menuframe2.png);
	background-position: bottom;
	background-repeat: no-repeat;
	background-color: transparent;
}
.sidebarframe3 {
	padding: 0px;
	background-image: url(main/menuframe3.png);
	background-repeat: no-repeat;
	background-color: transparent;
}


/****************************************************************************************************************/
/* Rahmen für Content-Box Breite fix 640px gegeben durch *.png*/

#contentwrap {
	float: right;
	margin: 10px 12px 0px 12px; /* ! IE6 */
	padding: 0px;
	background: transparent;
}
#contentframe1 {
	padding: 0px;
	background-image: url(main/contentframe1.png);
}
#contentframe2 {
	padding: 0px;
	background-image: url(main/contentframe2.png);
	background-position: bottom;
	background-repeat: no-repeat;
	background-color: transparent;
}
#contentframe3 {
	padding: 0px;
	background-image: url(main/contentframe3.png);
	background-repeat: no-repeat;
	background-color: transparent;
}


/****************************************************************************************************************/
/* Link-Box für Info-Seiten */

.ibox {
	width: 848px; /* 878 - 15 - 15 = 848 */
	margin: 0px auto 15px auto;
	padding: 10px 15px 10px 15px;
	background: #f4f4f4;
	border: 2px solid #ff9922;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-webkit-box-shadow: 0px 0px 12px 6px rgba(221,221,221,1);
	-moz-box-shadow: 0px 0px 12px 6px rgba(221,221,221,1);
	box-shadow: 0px 0px 12px 6px rgba(221,221,221,1);
	font-family: verdana,arial,sans-serif;
	font-size: 13px;
	line-height: 100%;
	color: #333333;
}
.iboxheader {
	background-color:#dddddd;
	margin-bottom: 5px;
	padding: 3px 12px 4px 12px;
}
.ibox a {
	display: block;
	margin: 4px 0 0 0;
	padding: 4px 0 4px 7px;
	border-left: 5px solid #dddddd;
	text-decoration: none;
	color: #555555;
}
.ibox a:hover {
	color: #000000;
	border-left: 5px solid #f99333;
}
