/**
 * @file
 * Styling for Google Nexus style menu in Responsive Menus module.
 */

.gn-menu-main {
  height: 44px;
  background: #2d2d2d;
  font-weight: 100;
  line-height: 44px;
  font-size: 14px;
}

.gn-menu-main ul {
  font-weight: 100;
  line-height: 43px;
}

.gn-menu-main ul li a {
  line-height: 43px;
}

.gn-menu-main .menu-top ul {
  background: #2d2d2d;
}

.gn-menu-main li.menu-top {
  float: right;
}

.gn-menu-main li.gn-trigger {
  float: left;
  width: auto;
  border-left: none;
}

.gn-menu-main li.gn-trigger > a {
  padding: 0 4px;
  font-weight: 100;
  text-transform: none;
}

.gn-menu li a {
  padding: 0;
  color: #5f6f81;
  font-size: 14px;
}

.gn-menu li a:before,
.menu-top li a:before {
  font-size: 1.5em;
  vertical-align: middle;
  display: inline-block;
  text-align: left;
}

.menu-top {
  border-right: none;
}

.menu-top li a {
  padding: 0 10px;
  color: white;
  font-size: 14px;
}

.gn-menu li a:before {
  padding: 0 11px 0 12px;
}

.menu-top li a:before {
  padding: 0 5px;
}

.gn-menu li a.google-mdi:before,
.menu-top li a.google-mdi:before {
  font-family: 'Material Icons';
  content: attr(data-content);
  text-transform: none;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  word-wrap: nomal;
  speak: none;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1;
}

.gn-menu .gn-submenu li a {
  padding-left: 20px;
  color: #5f6f81;
}

.gn-menu-main li.menu-top ul li {
  list-style: none;
  display: inline-block;
}

.gn-icon-menu.oc-menu:before,
.gn-icon-menu.oc-menu.selected:before {
  margin-left: 0;
  vertical-align: middle;
  background: url(./oc_white.png);
  box-shadow: none;
  height: 100%;
  width: 40px;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.no-touch .gn-menu-main a:hover,
.no-touch .gn-menu li.gn-search-item:hover,
.no-touch .gn-menu li.gn-search-item:hover a {
  background: #5f6f81;
}

.no-touch .gn-icon-menu:hover::before,
.no-touch .gn-icon-menu.gn-selected:hover::before {
  background: url(./oc_white.png);
  box-shadow: none;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}


.gn-icon-menu.oc-menu span {
  width: auto;
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  line-height: 44px;
  color: white;
}

.gn-scroller {
  background: none repeat scroll 0 0 #f4f4f4;
}


body.toolbar .gn-menu-main,
body.admin-menu .gn-menu-main {
  top: 29px;
}

.gn-menu-wrapper {
  box-shadow: 0 4px 8px rgba(0,0,0,.15);
  top: 44px;
}

.gn-menu-wrapper.gn-open-part {
  width: 44px;
}


body.toolbar .gn-menu-wrapper,
body.admin-menu .gn-menu-wrapper {
  top: 73px;
}

body.oc-responsive-menus-top .gn-menu-container {
  height: 44px;
}
