/* menu && navbar
-------------------------------------------------------------*/

.navbar {
  display: block;
  width: 100%;
  height: 55px; /* same as a element line-height */
  background: #fff;
  z-index: 99;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.menu li {
  list-style: none;
  position: relative;
  margin-bottom: 0;
  vertical-align: middle;
}

.navbar .menu {
  margin-bottom: 0;
}

/* Initial menus should be inline-block so that they are horizontal */
.navbar .menu li,
.menu.horizontal li {
  display: inline-block;
  *display: inline;
  zoom: 1;
}

/* Submenus should still be display: block; */
.navbar .dropdown li,
.menu.horizontal .dropdown li {
  display: block;
}

.menu .item {
  display: block;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  padding: 0 15px;
  line-height: 55px;  /* same as a .navbar line-height */
  color: #222;
}

.menu > .item:first-child,
.menu > li:first-child > .item:first-child {
  padding-left: 0;
}

.menu > .item:last-child,
.menu > li:last-child > .item:last-child {
  padding-right: 0;
}

.dropdown .menu .item,
.menu.visible .item {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/*
.menu .button,
.menu button {
  margin-right: 25px;
}
*/

.menu a:hover,
.menu a:focus {
  color: #1EAEDB;
}

.menu a:active,
.menu a.active,
.menu .active a {
  color: #33C3F0;
}

.menu .button:hover {
  color: inherit;
}

@media (max-width: 900px) {
  .menu.visible,
  .menu:target {
    position: absolute;
    top: 100%;
    float: none !important; /* without this it pushes below */
    /*right: 25px;*/
    z-index:1;
  }

  .menu.right.visible {
    right: 0;
    text-align: right;
  }

  .visible.menu li {
    min-width: 150px;
    background: #fff;
    display: block; /* or inherit */
  }

  .visible.menu .item {
    padding: 0 25px !important;
  }

  .dark.navbar .menu li {
    background: #1b1b1b;
  }
}
@media (max-width: 600px) {
  .menu.visible,
  .menu:target {
    display: inherit;
    /*width: 100%;*/
    top: 0;
    margin-left: -25px;
    margin-right: -25px;
    clear: both;
    position: relative;
    z-index: 1;
  }
}
