menu {
  color: red;
}

navigation {
  background-color: #333 /* darkgrey */;
}

/* Base */
html {
  overflow-y: scroll;
}

body {
  /*font: 12px/1.5 Arial, Helvetica, sans-serif;*/
  font-family: '\5FAE\8F6F\96C5\9ED1', Tahoma, "Helvetica Neue", Helvetica, Arial;
  color: #4c4c4c;
}

.text-large {
  font-size: 16px;
}

/*
 Borrow form http://icomoon.io/app/#/select
 height: 12px;
 margin: 10;
 cols: 10;
*/
.icon-pencil,
.icon-eye-open,
.icon-envelope,
.icon-sort-by-attributes {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background: url(../image/icon-sprites.png) no-repeat;
}

.icon-pencil {
  background-position: 0 0;
}

.icon-eye-open {
  background-position: -22px 0;
}

.icon-envelope {
  background-position: -44px 0;
}

.icon-sort-by-attributes {
  background-position: -66px 0;
}

.icon-comments-alt {
  background: url(../image/bubbles.png) no-repeat;
  width: 20px;
  height: 20px;
}

.icon-eefocus,
.icon-cndzz,
.icon-eeboard,
.icon-d5 {
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background: url(../image/quicklink-icon.png) no-repeat;
}

.icon-eefocus {
  background-position: 0 0;
}

.icon-cndzz,
.icon-d5 {
  background-position: 0 -30px;
}

.icon-eeboard {
  background-position: 0 -60px;
}

/* Layout */

/* Header */
.pi-header {
  margin-bottom: 20px;
  border-bottom: 2px solid #ec6800;
  height: 40px;
  color: #fff;
  background-color: #0d78bb;
  background-image: -moz-linear-gradient(top, #0687c9, #126caf);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0687c9), to(#126caf));
  background-image: -webkit-linear-gradient(top, #0687c9, #126caf);
  background-image: -o-linear-gradient(top, #0687c9, #126caf);
  background-image: -ms-linear-gradient(top, #0687c9, #126caf);
  background-image: linear-gradient(top bottom, #0687c9, #126caf);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0687c9', endColorstr='#ff126caf', GradientType=0);
}

.pi-header-inner {
}

/* Logo */
.pi-logo {
  padding: 6px 0;
}

.pi-logo img {
  display: block;
}

/* User bar */
.pi-user-bar {
  padding: 8px 0;
  line-height: 24px;
  color: #fff;
}

.pi-user-bar a {
  color: #fff;
}

.pi-user-bar a:hover {
  color: #fff;
  text-decoration: none;
}

.pi-divider {
  margin: 0 10px;
  font-family: serif, sans-serif;
  color: #fff;
}

/* Main */
.pi-main {
}

.pi-main-inner {
}

.interest-checkbox,
.subscription-checkbox {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0 !important;
  width: 150px;
}

/* Rewrite avatar header background */
.user-avatar-header {

}

html {
  min-height: 100%;
  position: relative;
}

.pi-main-container {
  padding-top: 20px;
  /*padding-bottom: 80px;*/
}

/* Navbar */
.navbar-inverse {
  background-color: #1482be;
  border: none;
  border-bottom: 2px solid #ec6800;
  border-radius: 0;
  min-height: 40px;
}

.navbar-inverse .navbar-right {
  float: right;
  margin: 0 -10px 0 0 !important;
}

.navbar-inverse .navbar-nav > li {
  float: left;
}

.navbar-inverse .navbar-nav > li > a {
  padding: 9px 10px;
  color: #fff;
}

.navbar-inverse .navbar-brand {
  padding: 5px 15px;
  height: auto;
}

/* Footer */
.pi-footer {
  /*position: absolute;*/
  left: 0;
  right: 0;
  bottom: 0;
  color: #999;
}

.pi-footer .container {
  padding: 15px 0;
/*}*/

#pi-logger-output {
  position: relative;
  top: -60px;
}

/* ellipsis */
.pi-ellipsis {
  overflow: hidden;
  display: block;
  line-height: 1.5;
}

.pi-ellipsis-1 {
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pi-ellipsis-2 {
  max-height: 3em;
}

.pi-ellipsis-3 {
  max-height: 4.5em;
}

.pi-ellipsis-4 {
  max-height: 6em;
}

/* Bootstrap custom */
.nav-tabs {
  margin-bottom: 20px;
}

.form-group .form-inline {
  /*width: 120%;*/
}

.form-group .form-inline select[name="country"] {
  width: 30%;
  margin-right: 5%;
  display: inline-block;
}

.form-group .form-inline select[name="province"] {
  width: 30%;
  margin-right: 5%;
  display: inline-block;
}

.form-group .form-inline select[name="city"] {
  width: 30%;
  float: right;
  display: inline-block;
}

.page-header {
   margin: 20px 0;
}

/* Entrance */
.navbar-header-ef {
  position: relative;
  z-index: 1050;
  background: #fff;
  border-bottom: 1px solid #d3d0d1;
  height: 44px;
}

.navbar-header-ef > .container {
  position: relative;
}

.entrance-brand {
  float: left;
  width: 180px;
}

.entrance-brand:hover .nav-modules-container {
  display: block;
}

.entrance-brand a:hover {
  text-decoration: none;
}

.entrance-main-title {
  font-weight: bold;
  color: #4c4c4c;
  /*line-height: 41px;*/
  font-size: 18px;
  color: #4c4c4c;
}

.entrance-sub-title {
  font-size: 14px !important;
  line-height: 43px !important;
  color: #4c4c4c !important;
}

.nav-modules-container {
  position: absolute;
  top: 40px;
  left: 0;
  border: 1px solid #d9d9d9;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 4px;
  z-index: 1015;
  display: none;
}

.nav-modules-container:before {
  position: absolute;
  top: -9.5px;
  left: 164px;
  display: inline-block;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #d9d9d9;
  border-left: 8px solid transparent;
  content: '';
}

.nav-modules-container .nav-modules {
  margin: 0;
  padding: 0;
  max-width: 565px;
}

.nav-modules-container .nav-modules:before {
  position: absolute;
  top: -7.5px;
  left: 164px;
  display: inline-block;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  border-left: 8px solid transparent;
  content: '';
}

.nav-modules-container .nav-modules a {
  color: #4D4D4D;
}

.nav-modules-container .nav-modules a:hover {
  text-decoration: none;
  color: #4D4D4D;
}

.nav-modules-container .nav-modules .nav-module {
  display: inline-block;
  vertical-align: top;
  width: 140px;
  text-align: center;
  margin: 10px 0;
  height: 105px;
}

.nav-modules-container .nav-modules .nav-module .nav-module-link {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-modules-container .nav-modules .nav-module .nav-module-icon {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 140px;
  height: 70px;
  line-height: 15px;
}

.nav-modules-container .nav-modules .nav-module .nav-module-icon img {
  max-height: 63px;
  vertical-align: middle;
}

.nav-modules-container .nav-modules .nav-module .nav-module-title {
  margin-top: 4px;
  line-height: 15px;
}

.navbar-header-ef .navbar-nav {
  margin: 0;
  float: right;
}

.navbar-header-ef .navbar-nav > li {
  float: left;
}

.navbar-header-ef .navbar-nav > li > a {
  padding-top: 11px;
  padding-bottom: 12px;
  color: #555;
}
