
/* Hier beginnt die Navigation. */
.nav {
 background: #fafafa;
   margin: 0 auto;
   padding-left: .8em;
   padding-right: .5em;
   position: sticky;
   top: 0px;
    border-radius: 6px 6px 6px 6px;
   z-index: 1;
   box-shadow: 0 5px 5px grey;
   max-width: 1920px;
   z-index: 2;
}

.brand-home {
  background-color: rgba(250, 250, 250; 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 0.25em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
  border-top: 3px solid green;
  border-radius: 20px 8px 0 0;
}
.brand-vogtlandlied {
  background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 1em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
 
}
.brand-dasvogtland {
  background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 1em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
  max-width: 60px; height: 35px; box-shadow: 0 0 6px silver; border-radius: 1px;
}

.brand-gaestebuch {
  background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 0.6em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
 
}

.brand-kontakt {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 0.6em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand-sehenswertes {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 0.8em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand-geschichte {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 0.6em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand-uebermich {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: 0.6em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand-fotogallerie {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: .9em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand-fotogalleriewinter {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: .9em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand-fotogalleriesommer {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: .9em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}
.brand-fotogalleriebauwerke {
   background-color: rgba(250, 250, 250, 1);
  position: relative;
  float: left;
  margin-left:0.2em;
  margin-top: .9em;
  margin-bottom: 0em;
  text-transform: uppercase;
  font-size: 1.4em;
}


.brand a,
.brand a:visited {
  color: #999;
  background: rgba(250, 250, 250, 1);
  text-decoration: none;
}
.brand1 {
  position: relative;
  margin-top: 1.5em;
  margin-right:2px;
  margin-left: 8px;
  margin-bottom: 0.2em;
  float: left;
  color: darkgreen;
  text-transform: uppercase;
  font-size: 0.9em;
  background: rgba(250, 250, 250, 0);
  background: #137A0C;
        background: -webkit-linear-gradient(to right, #137A0C 0%, #C1C714 100%);
        background: -moz-linear-gradient(to right, #137A0C 0%, #C1C714 100%);
        background: linear-gradient(to right, #137A0C 0%, #C1C714 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
}

.brand5 {
  position: relative;
  margin-top: 1.4em;
  margin-right:2px;
  margin-left: 8px;
  margin-bottom: 0.2em;
  float: left;
  text-transform: uppercase;
  font-size: 0.7em;
  background: rgba(250, 250, 250, 1);
}


.brand6 {
    color: #888;
  position: relative;
  margin-top: 3em;
  margin-right: 0px;
  margin-left: -120px;
  float: left;
  background: rgba(250, 250, 250, 1);
  font-size: 0.6em;
  padding-bottom:1em;
}

.brand1 a,
.brand1 a:visited {
  color: #999;
  background: #1F690D;
  background: -webkit-linear-gradient(to right, #1F690D 0%, #CDDE31 100%);
  background: -moz-linear-gradient(to right, #1F690D 0%, #CDDE31 100%);
  background: linear-gradient(to right, #1F690D 0%, #CDDE31 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.brand2 {
    color: #888;
  position: relative;
  margin-top: 3.4em;
  margin-right: 0px;
  margin-left: -120px;
  float: left;
  background: rgba(250, 250, 250, 0);
  font-size: 0.8em;
  padding-bottom:1em;
}
.brand2 a,
.brand2 a:visited {
  color: darkgreen;
  background: rgba(0, 0, 0, 0);
  text-decoration: none;
}
nav#menu {
  font-size: 18px;
  max-width: 1440px;
  background: rgba(250, 250, 250, 0);
  margin-right: 1em;
  padding: 0 0.5em;
  margin-top: 0em;
  position: relative;
  height: 78px;
  overflow: hidden;
        

}
nav#menu ul {
  margin: 0em;
  padding: 7px;
  list-style-type: none;
  max-height: 120px;
  position: relative;
  background: rgba(250, 250, 250, 0);
}
nav#menu ul li {
  display: inline-block;
  padding-top: 0px;
  background: rgba(250, 250, 250, 0);
}
nav#menu ul li:last-child {
  position: absolute;
  right: 0;
  bottom: 54px;
  background: #fafafa;
  padding-left: 0.5em;
}
nav#menu ul li:nth-last-child(2) {
  display: none;
}
nav#menu ul li a {
  display: inline-block;
  padding: 0 .7vw;
  color: #2D6A35;
  text-shadow: 3px 3px 3px #D2B48C;
  font-style: normal;
  font-size: calc(20px + .1vw);
  font-weight: 300;
  text-decoration: none;
  letter-spacing: -.1px;
  white-space: nowrap;
  line-height: 59px;
  background: rgba(250, 250, 250, 0);
}
nav#menu ul li a:hover {
  background: rgba(250, 250, 250, 0);
  font-style: italic;
  color: #86CB8F;
}
nav#menu a.active{
  background: rgba(250, 250, 250, 0);
  font-style: normal;
  color: #86CB8F; 
}
nav#menu a.active:hover{
  background: rgba(250, 250, 250, 0);
  font-style: normal;
  color: #86CB8F; 
}
nav#menu:target { 
  height: auto;
  width: 100%;
  padding: 0; 
}
nav#menu:target ul {
  max-height: none;
    background: #fafafa;
     margin: auto;
}
nav#menu:target ul li {
 display: block;
 padding: 0;
}
nav#menu:target ul li:last-child {
  display: none;
}
nav#menu:target ul li:nth-last-child(2) {
    display: inline-block;
    position: absolute;
    top: .4em;
    right: -2em;
    margin: 0;
   font-style: normal;
}
nav#menu:target ul li a:hover:nth-last-child(2) {
  display: inline-block;
  position: absolute;
  top: .4em;
  right: -2em;
    color: red;
  margin: 0;

}
nav#menu:target ul li a {
  display: block;
  padding: 0 2em;
  background: rgba(250, 250, 250, 0);
 z-index: 2;
}
nav#menu:target ul li a:hover {
  color: #86CB8F;
}
nav#menu:target li[aria-current] a {
  color: #777;
}
.mobile-nav {
  margin-bottom: 0 !important;
}
  @media all and (max-width: 640px)
{
form.search-form > label {
  min-width: 120px;
}  
.logo {
  min-width: 160px;
}
nav#menu:target ul li:not(:first-child) {
  margin-top: 0;
}
.primary-navigation {
  margin-top: 1vw;}
}
/* Hier endet die Navigation. */

/* Hier beginnt die Sidebar */

.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    grid-gap: .8em;
    padding: 5px;
}

.grid2 div {
   background: #ffffff;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
    box-shadow: 0 0 4px #999;
    border-radius: 4px;
}
.grid2 h3 {
   text-align: center;
  color: maroon;   
}
.grid2 p {
    color: teal;
    text-decoration: none;
    font-style: normal;
    margin: .3em;
}

/* Hier beginnt der Fuß */

.footer {
  clear: both; /* Damit #main mindestens so hoch ausgedehnt wird wie aside, falls aside länger sein sollte. */
  background: #F5F5F5;
  height: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1440px;
  margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
  border-radius: 10px;  
}
footer .copy span {
  margin:0 auto;
  display:block;
    
}
.flex-container {
  margin: 0 auto;
  margin-top: .1em;
  margin-bottom: .1em;

  margin-right: 1.5;
  display: flex;
    
 
  justify-content: space-around; 
  align-items: center;
 
    text-align: center;
}
.flex-item {
  border: 0px solid;
  margin: .1em;
  padding: .2em;
  background: #F5F5F5;
}
.no {
  flex-wrap: nowrap;
}
.wrap {
  flex-wrap: wrap;
}
.wrap-reverse {
  flex-wrap: wrap-reverse;
}
p.flex-item {
  font-weight: bold;
  text-align: center;
  width: 100%;
  height: auto;
}
.flex-item:nth-of-type(2) {
  background: #F5F5F5;
}
.flex-item:nth-of-type(3) {
  background: #F5F5F5;
}
.flex-item:nth-of-type(4) {
  background: #F5F5F5;
}
.flex-item:nth-of-type(5) {
  background: #F5F5F5;
}
img {
  max-width:100%;
}
.clear {
  clear: both;
}

.onlex_counter {
        color: maroon;
        
    }