ul.menu {
  padding: 8px 0;
  min-width: 112px;
  border-radius: 3px;
  background: #fff;
  overflow: hidden;

  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .12), 0 1px 6px rgba(0, 0, 0, .12);
          box-shadow: 0 1px 6px rgba(0, 0, 0, .12), 0 1px 6px rgba(0, 0, 0, .12);
}
ul.menu a {
  display: block;
  font-size: 14px;
}
ul.menu a:not(.action) {
  padding: 13px;
  line-height: 1;
}
ul.menu a.action {
  padding-right: 8px; padding-left: 40px;
  height: 32px;
  border-radius: 0;
  line-height: 32px;
  text-transform: none;
}
ul.menu a.action.ic svg { left: 8px; }
ul.menu a:hover {
  background: rgba(0, 0, 0, .05);
}
ul.menu a.active {
  background: #008ac9;
  color: #fff;
}
ul.menu > li.separate {
  border-top: 1px solid #f4f2f1;
  margin-top: 8px; padding-top: 8px;
}
ul.menu > li.separate:first-child {
  border-top: none;
  margin-top: 0; padding-top: 0; 
}
ul.menu-hidden {
  opacity: 0;

  -webkit-transform-origin: top right;
     -moz-transform-origin: top right;
      -ms-transform-origin: top right;
          transform-origin: top right;

  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);

  -webkit-transition: all .25s;
          transition: all .25s;
  
  -webkit-backface-visibility: hidden;
     -moz-backface-visibility: hidden;
          backface-visibility: hidden;
}


ul.actions {
  float: right;
  font-size: 0;
  white-space: nowrap;
}
ul.actions > li {
  position: relative;
  display: inline-block;
  padding: 8px 0 8px 8px;
  height: 48px;
  vertical-align: middle;
  font-size: 16px;
}
ul.actions > li.hidden { display: none; }
ul.actions a.action.ic {
  vertical-align: middle;
}
ul.actions input { vertical-align: top; }
ul.actions input.search-q {
  width: 300px;
}
ul.actions input.search-q + a.action { margin-left: -4px; }
ul.actions ul.menu {
  position: absolute; top: 0; right: 0;
}
div.company-select.active ul.menu,
ul.actions > li.active ul.menu {
  z-index: 51;
  opacity: 1;

  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}
ul.actions-compact > li { padding-left: 0; }


ul.nav {
  border-top: 1px solid #f4f2f1;
  padding-top: 8px;
}
ul.nav li {
  position: relative; z-index: 1;
  padding: 0 8px 0 16px;
  height: 48px;
  line-height: 48px;
}
ul.nav a {
  display: block;
  margin: 0 -8px 0 -18px; padding: 0 8px 0 16px;
  height: 48px;
  color: #333;
  text-decoration: none;
}
ul.nav a:hover { background-color: rgba(127, 127, 127, .1); }
ul.nav a.ic { padding-left: 56px; }
ul.nav a.ic svg {
  position: absolute; top: 50%; left: 16px;
  margin-top: -12px;
}
ul.nav a.active {
  background-color: rgba(127, 127, 127, .2);
  color: #000;
}
ul.nav i.badge {
  position: absolute; top: 50%; right: 16px;
  margin-top: -8px;
}
ul.nav + ul.nav { margin-top: 8px; }

ul.tabs {
  background-color: #9E9E9E;
  font-size: 0;
}
ul.tabs,
ul.tabs a,
ul.tabs li {
  height: 48px;
}
ul.tabs a {
  display: block;
  padding: 0 16px;
  color: #fff;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  line-height: 48px;
}
ul.tabs a:hover,
ul.tabs a.active { color: #fff; }
/* TODO */
ul.tabs a:after {
  content: '';
  display: block;
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: #ffc107;

  -webkit-transition: all .3s cubic-bezier(0.35,0,0.25,1);
          transition: all .3s cubic-bezier(0.35,0,0.25,1);
}
ul.tabs a.active:after { left: 0; right: 0; }
ul.tabs li {
  display: inline-block;
  position: relative; z-index: 1;
  padding: 0 5px;
  font-size: 14px;
}


div.menu-plus {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 30;
  background: rgba(238, 238, 238, .8);
  overflow: hidden;
}
div.menu-plus a { display: block;}
div.menu-plus span.ic,
div.menu-plus span.figure {
  margin-left: 26px;
  width: 40px; height: 40px;
  vertical-align: middle;

  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, .23), 0 3px 10px rgba(0, 0, 0, .16);
          box-shadow: 0 3px 10px rgba(0, 0, 0, .23), 0 3px 10px rgba(0, 0, 0, .16);
}
div.menu-plus span.ic {
  display: inline-block;
  border-radius: 40px;
  background: #9e9e9e;
  padding: 8px;
}
div.menu-plus span.ic svg {
  fill: #fff;
  opacity: 1;
}
div.menu-plus b {
  display: inline-block;
  padding: 0 8px;
  height: 26px; max-width: 162px;
  background: #FFF;
  color: #777;
  line-height: 26px;
  border-radius: 3px;
  font-size: 12px;
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;

  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .12), 0 1px 6px rgba(0, 0, 0, .12);
          box-shadow: 0 1px 6px rgba(0, 0, 0, .12), 0 1px 6px rgba(0, 0, 0, .12);
}
div.menu-plus ul {
  position: absolute; bottom: 88px; right: 18px;
  font-size: 0;
  /*visibility: hidden;*/ /*Old android bug*/
}
div.menu-plus ul li {
  padding: 8px;
  text-align: right;
  white-space: nowrap;
}
div.menu-plus b,
div.menu-plus span.ic,
div.menu-plus span.ic svg,
div.menu-plus span.figure,
div.menu-plus span.figure img {
  -webkit-transition: all ease-in-out 200ms;
          transition: all ease-in-out 200ms;
}
div.menu-plus b {
  -webkit-transform-origin: right center;
          transform-origin: right center; 
  -webkit-transform: scale(0);
          transform: scale(0);
}
div.menu-plus span.ic,
div.menu-plus span.ic svg,
div.menu-plus span.figure,
div.menu-plus span.figure img {
  -webkit-transform-origin: center center;
          transform-origin: center center; 
  -webkit-transform: scale(0);
          transform: scale(0);
}
div.menu-plus.animate b,
div.menu-plus.animate span.ic,
div.menu-plus.animate span.ic svg,
div.menu-plus.animate span.figure,
div.menu-plus.animate span.figure img {
  -webkit-transform: scale(1);
          transform: scale(1);
}



div.content-tabs {
  padding: 12px;
}
div.content-tabs > .content-tab { display: none; }
div.content-tabs > .content-tab.active { display: block; }