* {
    margin: 0;
    padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
} 
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.4em;
}
h1 {
    font-size: large;
    padding-top: 1em;
    padding-left: 2em;
}
h2 {
    font-size: medium;
}
p, ul, ol {
    margin-bottom: 0.7em;
}
li {
    margin-left: 1em; 
}
body {
    font-family: sans-serif;
    line-height: 1.4em;     /* immer em verwenden */
    background-color: silver;
    text-align: center; /* alles mittig zenieren */
    font-size: 12px;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}
a:link, a:visited {
  text-decoration: none;
}
.bildrechts {
    float: right;
    padding: 5px;
}
.bildlinks {
    float: left;
    padding: 5px;
}
.ListeVielAbstand li {
    margin-bottom: 2em;
    list-style-type: square;
}
a.anchor {
    display: block; 
    position: relative; 
    top: -50px; 
    visibility: hidden;
}
.headline {
  border-top: 3px solid #333333;
  border-bottom: 3px solid #333333;
  background: #333333 none repeat scroll 0% 50%;
  color: white;
  font-weight: bold;
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: center;
}
#Seitenbereich {
    background-color: #FFFFFF;
    width: 930px;
    margin: 10px auto; 
    text-align: left;
}
#Kopfzeile {
    text-align: right;
    padding-right: 10px;
    background-image: url(../icons/VfL.gif);
    background-repeat: no-repeat;
    line-height: 34px;
    height: 34px;
    margin-left: 10px;
}
#Kopfzeile a:link, #Kopfbereich a:visited, #KopfKarate a:visited {
    color: #000000;
}
/* Damit das grosse Hintergrundbild auf Smartphones nicht geladen wird. */ 
/* Siehe http://timkadlec.com/2012/04/media-query-asset-downloading-results/ */
@media all and (min-width: 701px) {
#Seitenbereich {
    background-color: #FFFFFF;
    height: 500px;
    width: 750px;    
}
}
#Kopfbereich p, #KopfKarate p {
    background-color: #FF0000;
    margin-top: 20px;
    margin-right: 20px;
    text-align: right;
}
#TopMenuBereich, #TopMenuBereich3 {
    background-color: #FFFFFF;
    list-style-type: none;
	margin-left: 10px;
}
#topmenu {
	position: relative;  /* dropup menu */
}
#topmenu {
	padding: 0;
	margin: 0;
	list-style: none;
	background-color: #FFFFFF; /* Hintergrund hinter den Elementen */
	height: 32px;   /* Höhe des Bereichs unter der ul */
}
#topmenu ul { /* für Dropup, sonst wie oben */
    position:absolute;                                          
    left:-999em;
	list-style: none;
	margin-left: -5px;
}
#topmenu a {
	display: block;
}
#topmenu li {
	float: left; 
    width: 152px;
    line-height: 30px;  /* die Höhe aller Listenelemente */    
	margin: 0px;
	text-align: center;
	border-style: solid;
 	border-width: 1px; 
	border-bottom-width: 0px;  
	border-left-width: 0px;
}	
#topmenu li ul {
	border-style: solid;
 	border-width: 1px;
 	border-right: 1px;
 	border-top: 1px;
 	border-bottom: 1px;
	position: absolute;
	left: -999em;
}
#topmenu li:hover ul {
	left: auto;
	position: absolute;
/*	bottom: 21px; /* für dropup menu notwendig */
	bottom: 24px; /* für dropup menu notwendig */
	margin-left: -1px;
}
#topmenu li:hover li, #topmenu li:hover a
 {
    float: none;
}
#topmenu li:hover, #topmenu li:hover > a, #topmenu a:hover,
#topmenu li:focus, #topmenu li:focus > a, #topmenu a:focus,
#topmenu li:active, #topmenu li:active > a, #topmenu a:active
 {
	background-color: #A30000;
}
.menueitem, .menueitem a, .submenueitem, .submenueitem a {
    color: #FFFFFF;
    background-color: #333333;
    font-weight: bold;
    list-style: none;
    display: block;
    padding-left: 0px;
    margin-left: 0px;
}
.submenueitem, .submenueitem a {
    font-weight: normal;
}
#Navibereich, #Navibereich3 {
    clear: left;
    background-color: #FFFFFF;
    text-align: center; 
    width: 150px;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
/*    height: 700px; */
    height: 680px;
}    
ul#Navi li {  /* ganze Liste */
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
    line-height: 30px;  /* die Höhe aller Listenelemente */
    margin-bottom: 1px;
}
ul#Navi li ul {  /* nur die maintopics */
    background-color: white;  /* Farbe der Spalte zwischen den subtopics */
    margin-bottom: 10px;      /* Abstand nach jeder Abteilung */
}
ul#Navi a {  /* ganze Liste */
    font-weight: bold;
}
ul#Navi li ul li a {  /* nur die subtopics */
    color: black;     /* Farbe der Schrift der subtopics */
    font-weight: normal;
}
.maintopic, .maintopic a {
    color: white; /* Farbe der Schrift der maintopics */
    background-color: #333333;  /* Farbe der maintopics */
    display: block;
}
.mainstatic, .mainstatic a {
    color: white; /* Farbe der Schrift der maintopics */
    background-color: #333333;  /* Farbe der maintopics */
    display: block;
}
.maincurrent, .maincurrent a {
    color: white; /* Farbe der Schrift der maincurrent */
    background-color: #9D9D9D;  /* Farbe der maincurrent */
    display: block;
}
.maintopic:hover > a, .maintopic:hover {
    background-color: #9D9D9D;
}
.mainsingle, .mainsingle a {
    color: white;   /* Farbe der Schrift der maintopics */
    background-color: #333333;  /* Farbe der maintopics */
    display: block;
}
.mainsingle:hover, .mainsingle:hover a {
    background-color: #9D9D9D;
}
#Navi li.mainsingle {  /* Abstand der mainsingle zum nächsten Element */
    margin-bottom: 10px;
}
.singlecurrent, .singlecurrent a {
    color: white;   /* Farbe der Schrift der maintopics */
    background-color: #9D9D9D;  /* Farbe der maintopics */
    display: block;
}
#Navi li.singlecurrent {  /* Abstand der mainsingle zum nächsten Element */
    margin-bottom: 10px;
}
.subtopic, .subtopic a {
    color: black;   /* Farbe der Schrift der subtopics */
    background-color: #D8D8DA; /* Farbe der subtopics */
    display: block;
}
.subcurrent, .subcurrent a {
    color: black; /* Farbe der Schrift der maincurrent */
    background-color: #F0F0F0;  /* Farbe der maincurrent */
    display: block;
}
.subtopic:hover, .subtopic:hover a {
    background-color: #F0F0F0;    
}
#counter {
/*    text-align: center; */
    width: 75%;
    font-size: 10px;
    line-height: 1.2em;
    padding-left: 5px;
    border-style: solid;
    border-width: thin;
    margin-left: auto;
    margin-right: auto;
}
#Inhalt, #InhaltWide { 
    background-color: #FFFFFF;
    margin-left: 170px;
    margin-right: 10px; 
    margin-top: 0px;
    min-height: 650px;
}
#InhaltMain {
    background-color: #FFFFFF;
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 100px;
}
#Seiteninfo {
    font-size: 10px;
    background-color: #FFFFFF;
    margin-top: 0px;
    margin-left: 170px;
    margin-right: 10px;
}
#Seiteninfo a:link, #Seiteninfo a:visited {
    color: #000000;
}
#Fussbereich {
    line-height: 30px;
    text-align: center;
    color: #808080;
    background-color: #FFFFFF;
    padding-top: 10px;
    padding-bottom: 5px;
    width: 750px;
    margin-top: 50px;
}
#Infobereich, #InfobereichMain {
    background-color: white;
    text-align: center;
    width: 150px;
    float:right;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 5px;
}
ul#Info li {  /* ganze Liste */
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
    line-height: 30px;  /* die Höhe aller Listenelemente */
    margin-bottom: 1px;
}
ul#Info li ul {  /* nur die maintopics */
    background-color: white;  /* Farbe der Spalte zwischen den subtopics */
    margin-bottom: 10px;      /* Abstand nach jeder Abteilung */
}
ul#Info a {  /* ganze Liste */
    font-weight: bold;
}
ul#Info li ul li a {  /* nur die subtopics */
    color: black;     /* Farbe der Schrift der subtopics */
    font-weight: normal;
}
.TableWhiteBorder1px {
    border: 1px solid white;
}
.Hpadding5px, .Hpadding5px td {
    padding-left: 5px;
    padding-right: 5px;
}
/* .Hpadding10px, */ 
.Hpadding10px td {
    padding-left: 10px;
    padding-right: 10px;
}
.Allpadding1px {
    padding: 1px;
}
.AllBorder5px {
    border: 5px solid white;
}
.BorderLeft3px {
    border-left: 3px solid white;
    border-color: transparent;
    border-top : 3px;
    border-bottom: 3px;
}
.BorderRight3px {
    border-right: 3px solid white;
    border-color: transparent;
    border-top : 3px;
    border-bottom: 3px;
}
.Newsbox, .Newsteaser, .LocalTeaser, .NewsboxWide, .NewsboxSingle {
    background-color: #FFFFFF;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
    margin-top: 0.3em;
    width: 100%;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;     
}
.NewsboxBetween {
    background-color: #FFFFFF;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
    margin-top: 0.3em;
    width: 80%;
    width: calc(100% - 170px);
    max-width: 900px;
    margin-left: auto;
    margin-right: 170px;
    border: 2px solid #333;
    border-color: hsla(0, 0%, 0%, 0.5);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.Newsbox:hover, .Newsteaser:hover, .LocalTeaser:hover, .NewsboxWide:hover, .NewsboxSingle:hover, .NewsboxBetween:hover {
    background-color: #E3E3E3;
}
.Newsbox h3, .LocalTeaser h3, .NewsboxWide h3, .NewsboxSingle h3 {
    font-style: italic;
    font-size: 12px;
    color: #6A6A6A;
}
.Newsteaser i {
/*    font-style: italic;
    font-size: 12px;
    font-weight: normal;   */
    color: #6A6A6A;
}
#Inhalt.LocalTeaser, #InhaltMain.Newsteaser, #Inhalt.Newsbox, #InhaltWide.NewsboxWide {
    width: 580px;
}
.NewsboxSingle {
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #333;
    border-color: hsla(0, 0%, 0%, 0.5);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#FupaDiv {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
} 
.Contentbox {
    background-color: #FFFFFF;
}
.Readmore {
	font-weight: bold;
	background: url(../icons/more.png) no-repeat left;
    margin-left: 10px;
    padding-left: 12px;
    white-space: nowrap;
}
/* .table ersetzt das <table>-Element */
.table { display:table; }
/* .tr ersetzt das <tr>-Element */
.tr { display:table-row; }
/* .td ersetzt das <td>-Element */
.td { display:table-cell; }
/* styles for desktop */
.tinynav { display: none }
.hidden  { display: none }
.mobileonly { display: none }
#TopMenuBereich label, #TopMenuBereich3 label {
    display: none;
}
#Navibereich label, #Navibereich3 label {
    display: none;
}
#Infobereich label, #InfobereichMain label {
    display: none;
}
.BigDesktopOnly {
    display: none;
}
#RightHead, #LeftHead {
    display: none;
}
/* Fuer Masonry-Effekt (pinterest-effect) */
.grid-item {
  float: left;
/*  background: #FFFFFF; */
  border: 2px solid #333;
  border-color: hsla(0, 0%, 0%, 0.5);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.grid-sizer, .grid-item {
/*    background-color: #FFFFFF; */
    width: -moz-calc(100% - 1em);
    width: -webkit-calc(100% - 1em);
    width: -o-calc(100% - 1em);
    width: calc(100% - 1em);
}
.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.masonry {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.masonry .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
      -ms-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}
/* Für den Karate-Tiger auf der Karateseite im Titelbild */
.LeftInsideHead {
    margin-right: 50%;
    padding-right: 222px;
    height: 100%;
}
/* Für das Zertifikat auf der Karateseite im Titelbild */
.RightInsideHead {
    margin-left: 50%;
    padding-left: 220px;
    height: 100%;
    margin-top: -325px;
}

/************** styles for mobile ***************/
/***** see http://tinynav.viljamis.com/ *********/ 
@media all and (max-width: 700px) {
.tinynav { display: block }
#topmenu { display: none }
#Navi    { display: none }
#Info    { display: none }
#counter { display: none }

#Seitenbereich {
#Seitenbereich { 
    width: 100%;
    min-width: 319px;
}
#Kopfzeile {
    background-image: none;
    text-align: center;
    line-height: 34px;
    height: 34px;
    margin-left: 10px;
    }  

#Seiteninfo {
    margin-left: 0.5em;
    margin-right: 0.5em;
}
#Inhalt, #InhaltWide {
    margin-left: 0.5em;
    margin-right: 0.5em;    
    margin-top: 0em;
    width: 96%;  /* fallback for browsers without support for calc() */
    width: -moz-calc(100% - 1em);
    width: -webkit-calc(100% - 1em);
    width: -o-calc(100% - 1em);
    width: calc(100% - 1em);
    min-height: 320px;
    clear: left;
}
#InhaltMain {
    margin-left: 0.5em;
    margin-right: 0.5em;
    margin-top: 0em;
    width: 96%;  /* fallback for browsers without support for calc() */
    width: -moz-calc(100% - 1em);
    width: -webkit-calc(100% - 1em);
    width: -o-calc(100% - 1em);
    width: calc(100% - 1em);
    clear: left;
}
#TopMenuBereich {
    float: left;
    width: 50%;
    height: 4.5em;
    vertical-align: middle;
    margin-left: 0px;
    margin-right: 0px;    
    text-align: center;
}
#TopMenuBereich3 {
    float: left;
    width: 33%;
    height: 4.5em;
    vertical-align: middle;
    margin-left: 0px;
    margin-right: 0px;
    text-align: center;
}
#TopMenuBereich select, #TopMenuBereich3 select {
    width: 90%;
    height: 2.5em;
    vertical-align: middle;
    margin-left: 5%;
}
#TopMenuBereich label, #TopMenuBereich3 label {
    color: #808080;
    display: inline;
}
#Navibereich {
    clear: none;
    float: left;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    width: 50%;
    height: 4.5em;
    vertical-align: middle;
}
#Navibereich3 {
    clear: none;
    float: left;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    width: 33%;
    height: 4.5em;
    vertical-align: middle;
}
#Navibereich select, #Navibereich3 select {
    width: 90%;
    margin-left: 5%;
    height: 2.5em;
    vertical-align: middle;
}
#Navibereich label, #Navibereich3 label {
    color: #808080;
    display: inline;
}
#Infobereich, #InfobereichMain {
    float: left;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    width: 33%;
    height: 4.5em;
    vertical-align: middle;
}
#Infobereich select, #InfobereichMain select {
    width: 90%;
    margin-left: 5%;
    height: 2.5em;
    vertical-align: middle;
}
#Infobereich label, #InfobereichMain label {
    color: #808080;
    display: inline;
}
#Fussbereich {
    line-height: 1em;
    padding-top: 10px;
    padding-bottom: 5px;
}
.DesktopOnly {
    display: none;
}
.mobileonly {
    display: block;
}
.Karte {
    width: 100%;
    height: 400px;
}
.NewsboxSingle {
    width: 100%;
}
.NewsboxBetween {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
}
