/**************************************/
/* Ueberall gueltige Formatierangaben */
/**************************************/
body {
	 margin:0px;
	 padding: 0px;
	 max-width: 1400px;
	 background-color: transparent;
	 width:100%;
	 margin-left:auto;
	 margin-right:auto;
	 font-family: Verdana, Arial, Helvetica;
	 font-size: 100%;
	 line-height:1.4;
}
a {
  color: gray;
  text-decoration:none;
}
a:hover {
  color: red;
}
img {
  border-style:none;
}
.bild_gross {
  width: 10cm;
  border: red outset 5px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
dt { font-size: 1.2em; font-variant: small-caps; }
dd { font-size: 1em; }
div.nofloat {
  clear: both;
}
div.quote { 
  color:red; 
  font-size:300%; 
  font-family:Times Roman, Serif;
}
div.quote1 { 
  border:thin black solid; 
  padding: 0.2em 0.3em; 
  width:40%;
  font-size:100%;
  font-family:Times Roman, Serif;
}
span.zitat {
  font-style: italic;
  font-size:85%;
}

p {
  line-height:1.4;
}

/****************************************************************************/
/* Aufteilung der Seite: logo         titel                    "für alle"   */
/*                       ------------------------------------------------   */
/*                       Navigation   Hauptteil                Nebenebene   */
/*                                  fusszeile                               */
/****************************************************************************/
#logo {
  float:left;
  height: 120px;
  width: 18%;
  min-width: 120px;
  display: block;
  margin-top: 5px;
  margin-bottom: 1em;
  text-align: right;
}
#sp_logo {
  text-align: right;
  height: 100px;
  top: 0px;
  position: relative;
  background: transparent;
}
#sp_logo img {
  height: 90%;
  width: auto;
}
#logo_text {
  font-size: 80%;
  font-weight: bold;
  font-family: Arial, Verdana, Helvetica;
}

#kopf, #kopf_home {
  float: right;				
  width: 80%;
  margin-left: 2%;  
  height: 120px;
  vertical-align: middle;
}

#titel {
  float: left;
  width: auto;
  height: auto;
  max-width: 70%;
  font-size: 140%; 
  font-weight: bold;
  color: #333366;
  margin-top: 1.2em;
}
#kurztitel {
  display: none;
  float: left;
  width: auto;
  height: auto;
  font-size: 140%; 
  font-weight: bold;
  color: #333366;
  margin-left: 0.5em;
}
#fuer_alle {
  float:right; 
  color:white; 
  background-color:red; 
  padding: 1.5em 0.5em; 
  line-height:140%; 
  font-size:90%; 
  font-weight:600;
}
#menu_link {
  display:none;
  float:right; 
}

#nav_ruler {
  border-top:2px #fa1a3c solid; 
  width:100%;
  height: 1em;
}

#links, #main_navigation {
  float: left;
  width: 18%;
  min-width: 150px;
  margin-right: 2%;
  margin-left: 0px;
  margin-top: 0px;
  padding-top: 0px;
}
#main_navigation, .menulink, .submenu {
  padding-left: 0px;
  list-style-type: none;
}

.linklinks, .menulink {
  color: darkgray;
  padding: 8px 5px;
  text-indent:0px;
  margin-left:0px;
  border-bottom: solid red 1px;
  font-size: 80%;
  font-weight: bold;
}

.submenu {
  display: none;
  margin-left:0px;
}
.sublink {
  padding: 0.2em 2em;
}

#mitte {
  float: left;
  width: 52%;
  padding-left: 5px;
}

#rechts {
  float: right;
  width: 25%;
  min-width: 150px;
  font-size: 80%;
  padding: 0px 2px 5px 4px;
}

#inhalt {
  float: left;
  width: 80%;
  padding: 5px 0px;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

#fuss {
  text-align: center;
  padding: 0.5em 0px;
  font-style: italic;
  font-size: 70%;
  border-top: 1px solid #663D0D;
  clear: left;
}

div.quote_links, div.quote_rechts { 
  border:thin black solid; 
  padding: 0.2em 0.3em; 
  margin-top:0.3em;
  width:35%;
  font-family:Times Roman, Serif;
}
div.quote_links {
  float: left;
  margin-right: 0.5em;
}
div.quote_rechts {
  float: right;
  margin-left: 0.5em;
} 
span.zitat {
  font-style: italic;
  font-size:90%;
}

/************************/
/* Sektion Start Seiten */
/************************/
#rechts a, #eingang a {
  color: #666699;
}
#rechts a:hover {
  color: #666699;
  text-decoration: underline;
}	
#mitte {
  font-size: 80%;
}
#eingang li {
  margin-bottom: 10px;
}
.titel, .erster_titel {
  color: #333366;
  font-weight: bold;
  font-size: 120%;  /* 120 von 80% */
  padding-top: 1em;
  margin-bottom: 0.5em;
}
div.titel + p {
  margin-top: 0;
  padding-top: 0;
}
#eingang #titel {
  height: auto;
}
#rechts .titel, #rechts .erster_titel {
  color: #333366;
  font-weight: bold;
  font-size: 100%; /* 120 von 80% */
  padding-top: 0.2em;
}
#eingang .erster_titel, #rechts .erster_titel, #mitte .erster_titel {
  padding-top: 0em;
  margin-top: 0em;
}
#rechts p {
  margin-top: 0.3em;
}
p.fett {
  font-weight: bold;
}
#eingang ul, #rechts ul {
   list-style-image: url(/images/sp_bullet.jpg);
   padding-left: 0px;
   display:block;
   margin-left: 2em;
}
#eingang li {
   margin-bottom: 0.4em;
}
#eingang ul.enge_liste li {
   margin-bottom: 0.2em;
}
#eingang ul.eingang h4 {
  float: left; 
  width:20%;
  margin: 0px;
  font-size:100%;
  color: #333366;
}
#eingang ul.eingang div.position {
  float: left; 
  width:75%;
  font-size: 100%;  
}
#eingang ul.eingang li {
  clear: both; 
  padding-left: 0px;
  margin-left: 0px;
  list-style: none;
  list-style-image: none;
}
#eingang ul.eingang + * { clear:both; }

#rechts h2 {
  font-size:120%;
  font-weight:bold;
  background-color:#666699;
  color:white;
  padding:5px 10px;
  margin-bottom:0.8em;
}
#rechts h3 {
	color: #333366;
	font-size:100%;
	margin-bottom: 0px;
}
#rechts p.blog {
	margin: 0px;
	padding: 0.2em 0px;
}

#wahlbilder img {
   width: 180px;
   padding: 0.7em;
}

/* ************************ */
/* Agenda und Archiv Seiten */
/* ************************ */
#agenda, #archiv {
  border-spacing: 0px;
  border: solid 1px #666699;
  border-collapse: collapse;
  width: 100%;
}
#agenda td, #archiv td {
  border: solid 1px #666699;
  padding: 5px 8px;
  font-size: 80%;
  vertical-align: top;
}
#agenda th, #archiv th {
  border: solid 1px #666699;
  border-right: solid 1px white;
  padding: 5px 10px;
  background-color: #666699;
  color: white;
  font-size: 80%;
  font-weight: bold;
  text-align: left;
}
.agenda_titel, .archiv_titel {
  font-weight: bold;
}
.agenda_text, .archiv_text{
  font-weight: normal;
}
.agenda_wo, .verantwortlich {
  font-weight: normal;
}
.datum {
  font-weight: bold;
}
.zeit {
  font-weight: normal;
}
#agenda td p, #archiv td p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 0px 0.3em;
}
#agenda td a, #archiv td a { 
  color: #666699; 
  text-decoration: none;
}
#agenda td a:hover, #archiv td a:hover {
  color: red;
}
#agenda ul, #archiv ul {
  margin-top: 4px;
  padding-left: 20px;
  list-style: square;
} 
.abstimmungen  {
  font-weight: bold;
  text-indent: 4px;
}
.abstimmungen li {
  font-weight: normal;
  text-indent: 0px;
}
.parole {
  color: red;
  text-transform: uppercase;
}

/*******************/
/* Portrait Seiten */
/*******************/
#portrait .titel {
  color: #333366;
  font-weight: bold;
  font-size: 120%;  /* 120 von 80% */
  padding-top: 0em;
}
#portrait li {
  margin-bottom: 0.2em;
  }
#portrait a { 
  color: #666699; 
  text-decoration: none;
}
#portrait a:hover {
  color: red;
}

/*********************/
/* Positionen Seiten */
/*********************/
div.positionen_titel {
  color: #333366;
  font-weight: normal;
  font-size: 120%;  /* 120 von 80% */
  padding-top: 0em;
  padding-bottom:0.7em;
}
.slogan {
  float: left;
  width: 24%;
  font-family: "Arial Narrow", Helvetica;
  font-size: 100%;
  font-weight: normal;
  color: black;
  margin-bottom: 1em;
}
.position {
  float: left;
  width: 75%;
  margin-left: 1%;
  font-size: 80%;
  margin-bottom: 1em;
}
p.first {
  margin-top:0px;
}
p.p_vor_ul {
  margin-bottom: 0em;
}
p.p_nach_ul {
  margin-top: 0.3em;
}
.position ul {
   list-style-image: url(/images/sp_bullet.jpg);
   padding-left: 0px;
   margin:0px;
   margin-left: 2em;
}
.position li {
   padding-top: 0.3em;
}
span.sowohl_als_auch {
  font-style: italic;
}

/**************/
/* Link Seite */
/**************/
#linkliste {
  margin-left: 2%;
}
#linkliste .linktitel {
  font-size: 90%; 
  font-weight: bold;
  margin-top: 1em;
}
#linkliste a {
  font-size:90%;
  text-decoration: none;
}

/**********************/
/* KR-Fraktion Seiten */
/**********************/
#KR_taetigkeit td {
  padding: 0.3em 0.4em;
}
#KR_taetigkeit .datum {
  font-weight: normal;
  vertical-align: top;
}
.KR_titel {
  font-weight: bold;
  color: black;
  margin-top: 0px;
  margin-bottom: 0px;
}
.KR_text {
   font-weight: normal;
   margin-top: 0px;
   margin-bottom: 0px;
}

/*******************/
/* Vorstand Seiten */
/*******************/
.person, .kandidat {
  padding-bottom: 0.5em;
  font-size: 80%;
  margin-top: 0px;
}
.person + .person, .kandidat + .kandidat {
  border-top: solid red 1px;
}
.person img {
  float: left;
  width: 18%;
  margin-right: 2%;
  margin-top: 0.7em;
  background-color:rgba(255,255,255,0);
}
.person .kontakt {
  float: left;
  width: 37%;
  margin-right: 2%;
  margin-top: 0.7em;
}
.person .arbeit {
  float: left;
  width: 39%;
}
.wahlen .person .arbeit {
  float: none;
  width: auto;
}
.person a {
  color: #666699;
}
.person .name, .kandidat .name {
  font-size: 120%;
  font-weight: bold;
}
.person .adresse, .kandidat .adresse {
   margin-top: 0.7em;
   margin-bottom: 0.7em;
}
.person h5, .wahlen h5, .kandidat h5 {
  font-weight: bold;
  font-size: 100%;
  margin-top: 0.7em;
  margin-bottom: 0px;
}
/*
.ortsgruppe, .amt {
  width: 100%;
  font-size: 100%;
  font-weight: bold;
  padding-top: 2em;
}
*/

/************/
/*  Aemter  */
/************/
#amt_container, #er_container {
  width: 100%;
}
#amt_container .kontakt {
   float: left;
   width: 80%;
}
#er_container .kontakt {
   float: left;
   width: 60%;
}
#er_container .breitbild {
   border-style: none;
   width: 30%; 
}
.gr_er, .ortsgruppe, .amt_kat h3 {
   font-size: 100%;
   font-weight: bold;
   margin-top: 2em;
   padding-top: 0.1em;
   padding-bottom: 0.1em;
   border-top: solid red 2px;
   border-bottom: solid red 2px;
}
.amt_kat {
	display:none;
}
.amt_kat .person img {width:28%; margin-right:2%;}
.amt_kat .person .kontakt {width:30%; margin-right:2%;}
.amt_kat .person .arbeit {width:36%;}
	
#er_container .rechts {
   margin-top: 0.5em;
} 
#kontakt_container .person {
   border-bottom: none;
}
.person .amtfunktion {
   margin-top: 0.7em;
}

/*****************/
/* Bildergalerie */
/*****************/
#galerie img {
   padding: 8px;
   border: 1px solid #333;
   background-color: #FFF;
}
#galerie div.thumbnail {
	width: 80px;
	height: 80px;
   background-position: center center;
   background-repeat: no-repeat;
}
#galerie div.rahmen {
	float: left;
	width: 80px;
	height: 80px;
   padding: 6px;
   margin: 4px;
   border: 1px solid #333;
}
#galerie h3.titel {
   font-weight: bold;
   color: grey;
   font-size: 90%;
   margin-bottom: 0.7em;
   margin-top: 0.7em;
   padding:0px 2em;
   cursor: pointer;
}
div#galerie_rechts #fotodiv {
   margin:0px; 
}
#galerie_rechts #foto {
	z-index: 2;
}
#galerie_rechts #foto2 {
	z-index: 1;
}

div#galerie { 
   float: left;
   padding-top: 8px;
   width:30%; 
}
div#galerie_rechts {
  float: right;
  min-width: 120px;
  width: 48%;
}
p.galerie_untertitel {
  margin: -0.7em 0em 0em 2em; 
  font-size:90%;
}
#galerie ul { margin:0; padding:0; }
#galerie li { list-style:none; display:inline; margin:0px; }
#galerie img { width: 120px; }

#galerie h3.open_gallery {
  background: url(/icon/arrow_open.png) top left no-repeat;
}
#galerie h3.close_gallery {
  background: url(/icon/arrow_close.png) top left no-repeat;
}
#galerie_rechts p.control {
	display: none;
	width: 98%;
	background: url(/icon/silver_ribbon) center left repeat-x;
	margin: 0 0.8em 1em 0;
	padding: 0.5em 0.4em 0.7em 0.4em;
	color: white;
	font-size: 85%;
}
#galerie_rechts p img { 
  width: 1.5em; 
}

/*********************/
/* Bildergalerie 2022*/
/*********************/
div#photodiv {
   margin:0px;
   width:95%;
   height:auto;
}
#photodiv img {
   padding: 8px;
   border: 1px solid #333;
   background-color: #FFF;
   width:100%;
   height:auto;
   position:relative;
   top:0;
   left:0;
}
#photodiv #photo {
	z-index: 2;
	opacity:100;
}
#photodiv #photo2 {
	z-index: 1;
	opacity:0;
}

#galerie2 h3 {
   font-weight: bold;
   color: inherit;
   font-size: 90%;
   margin-bottom: 0.7em;
   margin-top: 0.7em;
   padding:0px 2em;
   cursor: pointer;
}
#galerie2 h3:hover {
	color: maroon;
}
#galerie2 h3.active_gallery {
  color: red;
  background: url(/images/sp_bullet.jpg) left no-repeat;
}
#galerie2 h3.active_gallery:hover {
	color: red;
}

#galerie2 ul { margin:0; padding:0; }
#galerie2 li { list-style:none; display:inline; margin:0px; }


/****************/
/* alle_termine */
/****************/
#alle_termine_titel {
  color: #333366;
  font-size: 120%;  /* 120 von 80% */
  padding-top: 0em;
  padding-bottom: 0.6em;
}

#alle_termine {
  border: none;
  font-size: 80%;
}
#alle_termine tr {
  display: none;
}
.kurz_termin {
}
.kurz_termin_sektion {
}

/***********/
/* wahlen  */
/***********/

div.bild_wahlen {
   float:right;
   width:45%;
   margin-left: 4%;
/*   margin-bottom: 2em; */
}
.bild_wahlen img{
   width:100%;
   padding-bottom: 2em;
}
div.kontakt.wahlen {
   float:left;
   width:50%;
   border:none;
}
div.wahlen {
   font-size:90%;
}
.wahlen h3 {
   font-size:120%;
   font-weight: normal;
   color: #333366;;
   margin-top: 0.8em;
   margin-bottom: 0.3em;
}
h3.erster_titel {
   margin-top: 0px;
}
.wahlen h3 + p, .wahlen h3 + ul {
   margin-top: 0px;
}
p.wahlaufruf {
   color: red;
   font-size:160%;
}
.wahlen .kand {
   color: black;
   font-variant: small-caps;
   width: 100%;
   text-align: center;
}
.wahlen ul {
   list-style-image: url(/images/sp_bullet.jpg);
   padding-left: 0px;
   display:block;
   margin-left: 2em;
}
.wahlen {
   line-height: 1.3;
}
.kandidat .bild_kontakt {
  float: left;
  width: 48%;
  margin-right: 1%;
}
.kandidat img {
  float: left;
  width: 40%;
  border: 0px;
  margin-right: 4%;
  margin-top: 0.9em;
}
.kandidat .kontakt {
  float: left;
  width: 55%;
}
.kandidat .arbeit {
  float: left;
  width: 50%;
}
.kandidat .kontakt .name { 
  margin-top: 0.7em;
}
.kandidat .kandidatur {
  font-size:150%;
  font-weight: normal;
  color: gray;
  padding-bottom: 4px;
  float:left;
  width:100%;
  padding-top:10px;
}
.kandidatur + .kandidatur {
   padding-top:0px;
}
.kandidat ul {
   list-style-image: url(/images/sp_bullet.jpg);
   padding-left: 0px;
   display:block;
   margin-left: 2em;
}

/* Eingangsseite : Slides von SP Schweiz */
 
#eingang div.slides {
	margin-top: 0px;
}
ul#teaser_text {
	display: block;
	float: left;
	width: 34%;
	height: 300px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
ul#teaser_text li {
	float: none;
	width: 100%;
	height: 100px;
	margin: 0;
	padding: 1em;
	line-height: 1.6;
	font-size: 1.2em;
	font-family: Verdana;
	cursor: pointer;
	list-style: none outside none;
	box-sizing: border-box;
	position: relative;
	display: block;
}
ul#teaser_text li + li {
	border-top: 3px solid white;
}
ul#teaser_text li.active_teaser {
	background-color: #e4022d;
	color: white;
}
ul#teaser_text li.inactive_teaser {
	background-color: #c6ced5;
	color: #242424;
}
ul#teaser_text li.active_teaser_unused:after {
	content: '';
	position: absolute;
	top: 50%;
	left: -20px;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	background: url(/icon/red_left_arrow2.png);
}

ul#teaser_text li.inactive_teaser a {
	color: #242424;
}
ul#teaser_text  li.active_teaser a {
	color: white;
}

#teaser_image {
	width: 66%;
	height: auto;
	float: left;
	margin: 0;
}
#teaser_image img {
	width:100%;
}
#teaser_image .inactive_teaser img {
	display: none;
}

@media only screen and (max-width:480px) {
ul#main_navigation {display:none; }	
div#mitte { width:97%; margin:0.5em; }
div#rechts { width:97%; margin-left:0.5em; }
div#inhalt { width:97%; margin-left:0.5em; }
#logo { display:none; }
#kopf { float:none; margin-left:0; width:100%; height:100px; }
#fuer_alle { display:none; }
#menu_link { display: block; }
#titel { display:none; }
#kurztitel { display:block; }
div#inhalt a.slogan { float:none; width:100%; font-family:inherit; margin-bottom:0.7em; display:block; }
div#inhalt a.position { float:none; width:100%; }
}

@media only screen and (min-width:481px) and (max-width:600px) {
ul#main_navigation { display:none;}	
div#mitte { width:97%; margin:0.5em; } 
div#rechts { width:97%; margin-left:0.5em; }
div#inhalt { width:97%; margin-left:0.5em; }
#logo { display:none; }
#kopf { float:none; margin-left:0; width:100%; height:100px; }
#fuer_alle { display:none; }
#menu_link { display: block; }
#titel { display:none; }
#kurztitel { display:block; }
div#inhalt a.slogan { float:none; width:100%; font-family:inherit; margin-bottom:0.7em; display:block; }
div#inhalt a.position { float:none; width:100%; }
}

@media only screen and (min-width:601px) and (max-width:840px) {
ul#main_navigation { display:none;}	
div#mitte { width:70%; }
div#rechts{ width:24%; margin:0.44%; }
div#inhalt { width:97%; margin-left:0.5em; }
#logo { display:none; }
#kopf { float:none; margin-left:0; width:100%; height:100px; }
#fuer_alle { display:none; }
#menu_link { display: block; }
#titel { margin-top:0px; padding-left:0.5em; }
}

@media only screen and (max-width:480px) {
.person,
.kontakt,
.arbeit { width:100%; }
}

@media only screen and (max-width:600px) {
  #teaser_image {
	width: 100%;
	height: auto;
	float: none;
	margin: 4px;
  }
  ul#teaser_text {
	float:none;
	width:100%;
	height:20vw;
  }
  ul#teaser_text li.active_teaser {
	display: block;
	float: none;
	width: 100%;
	height: 20vw;
	padding: 4px;
	text-align:center;
	box-sizing: border-box;
	color: #242424;
	background-color: #c6ced5;
  }
  ul#teaser_text li.inactive_teaser {
	display: none;
  }	
}


