@media only screen and (min-width: 768px) {
@charset "utf-8";
/*** ESSENTIAL STYLES ***/


.sf-menu, .sf-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sf-menu li {
  position: relative;
}
.sf-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}
.sf-menu > li {
  float: left;
}
.sf-menu li:hover > ul, .sf-menu li.sfHover > ul {
  display: block;
}
.sf-menu a {
  display: block;
  position: relative;
}
.sf-menu ul ul {
  top: 0;
  left: 100%;
}
.sf-menu > li:nth-child(5) > ul   {
  /* border-left:#fff solid 10px; */
  /* right: 100%; */
     left: -60% !important;
    right: 0 !important;
  /* width: 12em; */
}
/*** 2. Ebene Unternavi usrichten links oder rechts beu best.Element  ***/
.sf-menu > li:nth-child(5) > ul > li > ul  {    
  left:-100%;
}
 
/*** DEMO SKIN ***/
.sf-menu {
  float: left;
  margin-bottom: 0;
  width: 100%;
  z-index: 1000;
  /* background: red; */
  padding: 0;
}
.sf-menu ul {
  box-shadow: 2px 2px 6px rgba(0,0,0,.6);
  min-width: 12em;/* allow long menu items to determine submenu width */
*  width: 12em;/* no auto sub width for IE7, see white-space comment below */
 min-width: 100%;
}
.sf-menu a {
  padding: 0.3125rem 0rem;
  margin: 0 auto;
  font-size: 1.5rem;
  text-decoration: none;
  zoom: 1;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
  font-weight: 400;
  transition: all 0.9s;
  background: #0f2b40;
  /* background: rgba(34,51,71,.88); */
}
.sf-menu a:hover {
  color: #fff;
  transition: all 0.9s;
  /* color: #626262; */
  background: #6e9d7d;
  opacity: 1;
}
.sf-menu li a .spacing {
  padding-left: 1rem;
}
.sf-menu a.act {
  
color: #fff;
  
background: #6e9d7d;
  
transition: all 0.9s;
}
.sf-menu li:first-child a {
  border-left: none;
}
.sf-menu li:last-child a {
  border-right: none;
}
.sf-menu li {
  white-space: nowrap;/* no need for Supersubs plugin */
*
  white-space: normal;/* ...unless you support IE7 (let it wrap) */
  -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  transition: background 0.5s;
  text-align: center;
  overflow: visible;
  width: 16.666666%;
  background: #fff;
  border-right: 1px solid #fff;
  /* font-size: 1.25rem; */
  /* padding-top: 2.5rem; */
  /* padding-bottom: 2.5rem; */
}
.sf-menu li:last-child {
  border-right: none;
}
.menuakt {
  background: #494848;
}
.sf-menu ul li {
  background: rgba(51,53,56,.75);
  width: 100%;
  text-align: left;
  border-top: none;
  background-image: none;
  border-top: 1px solid #969696;
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.9s;
  border-right: none;
}
.sf-menu ul li:hover {
  background: rgba(51,53,56,.85);
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.9s;
}
.sf-menu ul li:first-child {
  border-top: none
}
.sf-menu ul li ul li {
  background: #fff;
  width: 100%;
  text-align: left;
  border-top: none;
  background-image: none;
  border-top: 1px solid #969696;
}
.sf-menu ul li ul li:first-child {
  border-top: none
}
.sf-menu ul li a {
  border: none;
  padding: 0.8125rem .6rem;
  font-size: 1.125rem;
  text-decoration: none;
  zoom: 1;
  color: #fff;
  border: none;
  font-weight: 400;
  text-transform: none;  
  /*background: rgba(15,43,63,.7);*/
}
.sf-menu ul li a:hover {
  background: rgba(110,157,125,.7);
}
#logo {
  /* width: 70%; */
  /* max-width: 312px; */
  /* height: auto; */
  /* float: left; */
  /* width: 60%; */
  /* width: 21.5%; */
  /* float: left; */
}
#logosp {
/* float: left; */
   /* width: 90%; */
   /* margin-top: 95px; */
   /* position: absolute; */
   /* bottom: 0px; */
   /* max-width:460px; */
}
#navi.reduced {
  position: fixed;
  width: 100%;
  max-width: 1260px;
  padding-top: 0;
  margin-top: 0;
  top: 0;
  z-index: 10000;
}
#navi.reduced .sf-menu a {
  /* font-weight: 500; */
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: all 1s;
}

/*   @media only screen and (min-width: 768px) {   */
.sf-menu > li:first-child {
  width: 22%;
  background-image: none;
  margin-left: 0%;
}
.sf-menu > li:nth-child(2) {
  width: 32%;
}
.sf-menu > li:nth-child(3) {
  width: 18%;
}
.sf-menu > li:nth-child(4) {
  width: 15%;
  /* height: 60px; */
  /* overflow: hidden; */
}
.sf-menu > li:nth-child(5) {
  width: 13%;
  /* text-align: right; */
}
.sf-menu a {
  font-size: 1.5rem;
}
.sf-menu a {
  /* font-weight: 400; */
  font-size: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
#headpic {
  max-width: inherit;
  width: 55%;
  /* background: red; */
  position: relative;
}
#logo {
/* width: 70%; */
    /* max-width: 312px; */
    /* height: auto; */
    /* float: left; */
    /* width: 60%; */
}
#logosp {
/* float: left; */
   /* width: 85%; */
   /* margin-top: 5px; */
   /* position: relative; */
   /* bottom: 0px; */
   /* max-width:460px; */
}
}

@media only screen and (min-width: 870px) {
.sf-menu a {
  font-size: 1.125rem;
}
#headpic {
  max-width: inherit;
  /* width: 58%; */
  /* background: red; */
  position: relative;
}
#sliding {
  /* margin-top: 40px; */
}
#logo {
/* width: 42%; */
    /* max-width: 312px; */
    /* height: auto; */
}
#logosp {
/* float: left; */
   /* width: 66%; */
   /* margin-top: 95px; */
   /* position: absolute; */
   /* bottom: 0px; */
   /* max-width:460px; */
}
.sf-menu > li:nth-child(5) > ul   {
  /* border-left:#fff solid 10px; */
  /* right: 100%; */
  left: -100%;
  /* width: 12em; */
}
}

@media only screen and (min-width: 985px) {
#headpic {
  max-width: inherit;
  /* width: 62%; */
  /* background: red; */
  position: relative;
}
.sf-menu a {
  font-size: 1.1875rem;
}
#sliding {
  /* margin-top: 45px; */
}
.sf-menu > li:nth-child(5) > ul   {
  left: -75%; 
}
}

@media only screen and (min-width: 1080px) {
.sf-menu a {
  font-size: 1.25rem;
}
#headpic {
  max-width: inherit;
  width: 50%;
}
#logo {
/* width: 42%; */
    /* max-width: 312px; */
    /* height: auto; */
}
#logosp {
/* width: 80%; */
   /* position: absolute; */
   /* bottom: 0px; */
   /* max-width:460px; */
}
}

@media only screen and (min-width: 1150px) {
.sf-menu a {
  font-size: 1.25rem;
}
.sf-menu > li:nth-child(5) > ul   {
  left: -40% !important;
}
}

@media only screen and (min-width: 1250px) {
#navi {
  clear: both;
  float: right;
  /* margin-top: 0rem; */
    /* width: 100%; */
  display: block;
  background: transparent;
  z-index: 10;
  /* position: relative; */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;/* margin-top: -61px; */
    /* text-align: right; */
    /* float: left; */
}
#sliding {
  margin-top: 0;
  border-top: 0px solid green;
}
.sf-menu > li:nth-child(5) > ul   {
  left: -35%; 
}
}

@media only screen and (min-width: 1280px) {
.sf-menu > li:first-child {
  width: 22%;
  background-image: none;
  margin-left: 0%;
}
.sf-menu > li:nth-child(2) {
  width: 32%;
}
.sf-menu > li:nth-child(3) {
  width: 18%;
}
.sf-menu > li:nth-child(4) {
  width: 15%;
  /* height: 60px; */
  /* overflow: hidden; */
}
.sf-menu > li:nth-child(5) {
  width: 13%;
  /* text-align: right; */
}
.sf-menu a {
  font-size: 1.5rem;
}
}

@media only screen and (min-width: 1350px) {
.sf-menu a {
  font-size: 1.375rem;
  font-weight: 400;
  /* padding: 2rem 0; */
  padding-top: 1.3125rem;
  /* padding-top: 1.375rem; */
  padding-bottom: 1.375rem;
  transition: all 0.9s;
}
#navi {
/* width: 100%; */
}
#navi.reduced {
  position: fixed;
  width: 100%;
  max-width: 1256px;
  padding-top: 0;
  margin-top: 0;
  top: 0;
  z-index: 10000;
}
#navi.reduced .sf-menu a {
  font-weight: 400;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: all 1s;
}
}


@media only screen and (min-width: 1700px) {
/*** 2. Ebene Unternavi usrichten links oder rechts beu best.Element  ***/
.sf-menu > li:nth-child(5) > ul > li > ul  {    
  left:100%;
}
}
