/**
 * MENU TOGGLE TYPE
 *
 * Use a Hamburger Icon or a Navigation bar.
 * Please note the slightly different HTML markup (demos).
 *
 */
/**
 * LABEL FORM
 */
/**
 * COLORS
 *
 * You can assign different colors to the first level and the sublevels,
 * e.g. a transparent bar and colored sublevels (see hamburger demo).
 */
/* first menu level */
/* menu sublevels */
/* active page */
/* miscellaneous */
/**
 * MEASURES
 */
/**
 * MENU TOGGLE TYPE
 */
#toggle-menu {
  /*background-color: #424254;*/
  color: #fff;
  display: block;
  /*padding: 0.75em 1em;*/
  position: relative;
}

/**
 * MENU ARROWS
 */
.topnavi__arrow {
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 6px solid #fff;
  display: inline-block;
  vertical-align: middle;
  height: 0;
  width: 0; }

.topnavi__arrow--sub {
  border-top: 6px solid #fff;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  display: inline-block;
  vertical-align: middle;
  height: 0;
  width: 0; }
  @media (min-width: 910px) {
    .topnavi__arrow--sub {
      border-right: none;
      border-bottom: 6px solid transparent;
      border-top: 6px solid transparent;
      border-left: 6px solid #fff; } }

/**
 * MOBILE VIEW
 */
.topnavi__lvl--first {
  background-color: #424254; }
  .topnavi__lvl--first::after {
    clear: both;
    content: "";
    display: table; }

.topnavi__lvl--first,
.topnavi__lvl--sub {
  margin: 0;
  padding: 0; }

.topnavi__lvl--first,
.topnavi input[type="checkbox"] {
  display: none; }

#toggle:checked + .topnavi__lvl--first,
.topnavi input[type="checkbox"]:checked + .topnavi__lvl--sub {
  display: block; }

.topnavi__item {
  color: #fff;
  display: block;
  position: relative; }
  .topnavi__item a {
    display: block;
    position: relative;
    text-decoration: none; }
    .topnavi__item a:hover, .topnavi__item a:focus {
      text-decoration: none; }

/*.topnavi__item--header {
  background-color: #424254;
  color: #7abcb2;
  display: block;
  font-size: 0.75em;
  padding: 1.5em 1.25em 0.25em; }*/

.topnavi__link--first {
/*  background-color: #424254;
  color: #fff;*/
  padding: 0.75em 1em;
  padding-right: 42px; }
  .topnavi__link--first:hover {
  /*  background-color: #64908A;*/
    color: #fff; }

.topnavi__lvl--sub {
  display: none;
  padding-left: 1em; }

.topnavi__link--sub {
/*  background-color: #424254;*/
  color: #fff;
  padding: 0.75em 1em;
  padding-right: 42px; }
  .topnavi__link--sub:hover {
    background-color: #64908A;
    color: #fff; }

.topnavi__link--active {
/*  background-color: #64908A;*/
  color: #fff;
  padding: 0.75em 1em;
  padding-right: 42px; }

ul span.topnavi__label {
  display: none; }

/**
 * DESKTOP VIEW
 */
@media only screen and (min-width: 910px) {
  .topnavi {
    /*background-color: #424254;*/ }

  .topnavi__lvl--first {
    background-color: transparent; }

  #toggle-menu,
  .topnavi input[type="checkbox"]:checked + .topnavi__lvl--sub {
    display: none; }

  .topnavi__lvl--first,
  .topnavi__item:hover > input[type="checkbox"] + .topnavi__lvl--sub {
    display: block; }

  .topnavi__item {
    float: left; }

  .topnavi__link--first {
    /*background-color: #424254;*/
    color: #fff;
    padding: 0.75em 0.6em 0.75em 0;
    /*padding-right: 42px;*/ }
    .topnavi__link--first:hover {
     /* background-color: #64908A;*/
      color: #fff; }

  .topnavi__link--active {
    /*background-color: #64908A;*/
    color: #fff; }

  .topnavi__lvl--sub {
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 12em;
    z-index: 3000; }
    .topnavi__lvl--sub .topnavi__item {
      float: none; }
    .topnavi__lvl--sub .topnavi__lvl--sub {
      top: 0;
      left: 100%; } }
/**
 * LABELS
 */
.topnavi__label:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.topnavi__label {
  /*background-color: #a02a3c;*/
  height: 100%;
  padding: 0 .5em;
  /*position: absolute;*/
  cursor: pointer;
  right: 0;
  top: 0; }

@media only screen and (max-width: 910px) {
    .topnavi__label {position: absolute;}
}

/*.topnavi {
  border-bottom: 1px solid #64908A; }

#toggle-menu {
  border-bottom: 1px solid #64908A; }

.topnavi__lvl--sub {
  border-top: 1px solid #64908A; }*/
  .topnavi__lvl--sub .topnavi__item:last-child {
    border-width: 0; }

.topnavi__item {
  /*border-bottom: 1px solid #64908A;*/ }

.topnavi__item--header {
  letter-spacing: 0.2em;
  text-transform: uppercase; }

.topnavi__item a {
  transition: all .125s ease-in-out;
  -webkit-transition: all .125s ease-in-out; }

@media only screen and (min-width: 910px) {
  .topnavi__item {
    border-width: 0 1px 0 0; }

  .topnavi__lvl--sub {
    border-width: 0; }

  .topnavi__lvl--sub .topnavi__item {
    border-width: 0 0 1px; } }

/* ############# Navigation Symbol Mobil ############### */

.topnavi .container {
	padding: 25px;
	cursor: pointer;
}

.topnavi .bar1,
.topnavi .bar2,
.topnavi .bar3
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}


.topnavi .change .bar1 {
    -webkit-transform: rotate(45deg) translate(0, -2px);
    transform: rotate(45deg) translate(0, -2px);
	/*background: #fff;*/
}

.topnavi .change .bar2 {opacity: 0;}

.topnavi .change .bar3 {
    -webkit-transform: rotate(-45deg) translate(0, -2px);
    transform: rotate(-45deg) translate(0, -2px);
	/*background: #fff;*/
}

.topnavi__item {text-align: center;}
