/* SCHNIPSEL */
/* background-color: rgba(27, 27, 27, 0.80);*/
/*background-color: rgba(79,174,50, 0.95);*/ /* Grün*/
/*background-color: rgba(168,168,168, 0.85); /*Grau*/

/* STICKYNAV FÜRS TOPMENU */
#cssmenu.sticky {
	transition: background-color 0.4s ease; 
	position: fixed;
	top: 0px;
	max-width:1200px;
  width:auto;
	z-index:110;
    margin: 0 0 0 0px !important;
    padding: 0 2px 0 2px;
    background-color: rgba(168,168,168, 0.85); /*Grau*/
}
/* ################################################*/
/* STICKYNAV FÜRS SUBMENU */

#submenu {
    padding: 0;
    line-height: 0;
    font-family: 'PT Sans', sans-serif;
    z-index:109;
  /*  -webkit-transition: 1s ease all;
    -moz-transition: 1s ease all;
    -ms-transition:  1s ease all;
    -o-transition:  1s ease all;
    transition:  1s ease all;*/
    background-color:  rgba(79,174,50, 0.95);
   /*visibility: hidden;*/
}

#submenu.sticky {
	background-color: rgba(79,174,50, 0.9);  
	position: fixed;
	max-width:1200px;
	width:100%;
	z-index: 109;
 visibility: visible;

}

#submenu.slide { /* aktuell nicht verwendet */
 top: 0px !important;
   /*-webkit-transition: 1s ease all;
    -moz-transition: 1s ease all;
    -ms-transition:  1s ease all;
    -o-transition:  1s ease all;
    transition:  1s ease all;*/
    background-color:  rgba(79,174,50, 0.95);
}

#submenu.align-center > ul {
	text-align:center;
}
#submenu.align-center > ul > li {
    float: none;
    display: inline-block;
}
#submenu > ul > li {
    width: auto;
    float: left;
}
#submenu ul li {
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
}
#submenu  ul  li:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  z-index: 108;
  background-color: #ffffff;
  -webkit-transition: height .3s;
  -moz-transition: height .3s;
  -ms-transition: height .3s;
  -o-transition: height .3s;
  transition: height .3s;
}
#submenu > ul > li > a {
    display: block;
    color: #333;
    padding: 15px 20px;
    /*font-weight: 700;*/
    /* letter-spacing: 1px; */
    /*text-transform: uppercase;*/
    font-size: 14px;
    z-index: 109;
    position: relative;
}

#submenu ul li a {
    text-decoration: none;
    display: block;
    margin: 0;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#submenu ul li:hover > a,
#submenu ul li.active > a {
 color: black;
}
#submenu ul li:hover:after,
#submenu ul li.active:after {
  background-color: #ffffff;
}


#submenu > ul > li:hover:after,
#submenu > ul > li.active:after {
  height: 100%;
}
#submenu > ul > li:hover > a,
#submenu > ul > li.active > a {
  /*background-color: rgba(255,255,255,1);*/
  color:#333;
}
#submenu > ul > li:hover > a:after,
#submenu > ul > li.active > a:after {
  background: red;
}
#submenu > ul > li:hover > a:before,
#submenu > ul > li.active > a:before {
  background-color: rgba(255,255,255,1);
}
/* ###############################################*/
/* STICKY NAV ENDE
// Content-Klassen */

/* Blockschrift im Content. Alle P-Absätze mit Klasse block */
p.block { 
	text-align:justify;
	}

/* für Aufzählungen in <li class='content'>*/
.content { 
	/*list-style-type: circle ;*/
	margin-left: 10%;
}

/* Schrifteinstellungen für den Kompletten Content-Bereich (Banner - Navi - CONTENT - Footer) */


@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  
  #cssmenu.scrollbar { /* soll das Menü scrollbar machen*/
    overflow:auto !important;
    height:100%;
    
    
  }

  #cssmenu > ul {
    max-height: 0;
    -webkit-transition: max-height 0.35s ease-out;
    -moz-transition: max-height 0.35s ease-out;
    -ms-transition: max-height 0.35s ease-out;
    -o-transition: max-height 0.35s ease-out;
    transition: max-height 0.35s ease-out;
  }

  #cssmenu.sticky {
	transition: background-color 0.4s ease; 
	position: fixed;
	top: 0px;
	max-width:1200px;
	width:100%;
	z-index:110;
    margin: 0 0 0 0 !important;
    background-color: #4fae32;
  }

#submenu.sticky{
  max-width:1200px;
}

}

 @media only screen and (min-width: 960px) and (max-width: 1199px) {
    #cssmenu.sticky {
    max-width:960px;
     padding: 0 0 0 0;
           }

    #submenu.sticky{
     max-width:960px;
    }


    }  
    
 


    @media only screen and (min-width: 768px) and (max-width: 959px) {
    #cssmenu.sticky {
    max-width:768px;
     padding: 0 0 0 0;
      }

     #submenu.sticky{
       max-width:768px;
    }


    }    

@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #submenu.sticky{
    visibility:hidden;
  }
}

    @media only screen and (max-width: 767px) {
    
        .RefItem {
            min-width:250px;
            max-width: 250px ;
            display:inline-block;
            text-align:left;
            margin:0 0 3px 0;
        }

        #submenu.sticky{
            visibility:hidden;
          }

 
    }
