/*  New Top Bars
  -------------------------------------------------- */

/* Wrapper for all top banners -------------------- */
div#top-stuff {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  text-align: left;
}
div#top-stuff div.topbar {
}
div#top-stuff div.topbar div.topbar-inner {
  width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 1005;
}
div#top-stuff div.fixed-container,
div#top-stuff div.topbar-container {
  width: 920px;
  margin: 0 auto;
}

/* Fixed to Top Banners -------------------- */
div#banners {
  text-align: left;
  line-height: 1;
}
div#banners div.fixed-container {
  width: 880px;
}
/* Email and employee alerts */
body.email-address-nag {
  padding-top: 105px !important;
}
div.employee-nag-banner {
  margin-top: 0;
  border-bottom: 0;
}
div.employee-nag-banner h4 {
  margin-top: 0;
}
div.email-address-nag-banner {
  background-color: #fff1d1;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff1d1), to(#ffeba7));
  background-image: -moz-linear-gradient(#fff1d1), #ffeba7);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff1d1', endColorstr='#ffeba7'); /* IE6,IE7 */
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff1d1', endColorstr='#ffeba7')"; /* IE8 */
  height: 30px;
  margin: 0;
  padding: 7px 0 8px;
  border-bottom: 0;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}
div.email-address-nag-banner p {
  margin: 0;
  line-height: 1;
}

/* New topbar -------------------- */
div.topbar {
  position: relative;
  width: 100%;
  height: 40px;
  color: #fff;
  font: 13px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* Gradient and box shadow positioned into the background */
div.topbar-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-color: #333;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333), to(#111)); /* Webkit */
  background-image: -moz-linear-gradient(#333, #111); /* FF3.6 */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#111111'); /* IE6,IE7 */
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#111111')"; /* IE8 */
  box-shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
  -moz-box-shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
}
div.topbar a {
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
}
div.topbar a#logo {
  /*background: url(../phoenix/img/twitter_logo_right.png) no-repeat 0 9px;*/
  display: block;
  width: 120px;
  height: 40px;
  margin: 0 5px 0 20px;
  float: left;
  text-indent: -999em;
}
div.topbar #global-nav {
  float: left;
  margin-left: 8px;
}
div.topbar ul {
  display: block;
  margin: 0;
}
div.topbar ul.secondary-nav {
  float: right;
  margin: 0 -10px 0 0;
}
div.topbar ul li {
  display: block;
  float: left;
  font-size: 13px;
}
div.topbar ul li a {
  display: block;
  float: none;
  padding: 10px 10px 11px;
  color: #bbb;
  line-height: 19px;
  text-decoration: none;
}
div.topbar ul li a:hover {
  color: #fff;
  text-decoration: none;
}
div.topbar ul li.active a {
  background-color: #111;
  background: rgba(0,0,0,0.7);
  font-weight: bold;
  color: #fff;
}

/* Search Form -------------------- */
#search-form {
  float: left;
  margin: 6px 0 0 0;
  *margin: 5px 0 0 0;
  opacity: 1;
  position: relative;
}
#search-form #search-query {
  background: #666;
  font: 13px Arial, sans-serif;
  width: 180px;
  padding: 6px 25px 4px 6px;
  color: #ccc;
  border: 1px solid black;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -webkit-box-shadow: 0 1px 0px #444;
  -moz-box-shadow: 0 1px 0px #444;
  box-shadow: 0 1px 0px #444;
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}
#search-form #search-query:hover {
  background: #777;
  color: #fff;
}
#search-form span.glass {
  display: block;
  position: absolute;
  cursor: pointer;
  display: block;
  right: 0;
  padding: 7px 8px 5px 8px;
}
#search-form span.glass i {
  /*background-image: url(../phoenix/img/sprite-icons.png);*/
  background-position: -224px -96px;
  width: 14px;
  height: 14px;
  display: block;
  font-size: 0;
}
#search-form #search-query:focus,
#search-form #search-query.focused {
  outline: none;
  background: #eee;
  color: #333;
  text-shadow: 0 1px 0 #fff;
  border: 1px solid #eee;
  -webkit-box-shadow: 0 0px 3px #000;
  -moz-box-shadow: 0 0px 3px #000;
}

/* Top right nav links */
div.topbar ul.secondary-nav {
  margin-right: 8px;
}

div.topbar ul.primary-nav {
  margin-left: 5px; /*erik: added for align to left the icons in primary-var at topbar */
}


/* New Tweet Icon */
#new-tweet {
  display: block;
  width: 16px;
  height: 21px;

  /* Ok, so we give this padding to all */
  padding: 9px 10px;
  /* But, in IE7, it needs to be 13px on top */
  *padding-top: 13px;
  /* But that also affected IE6, where we want the original 9px... */
  _padding-top: 9px; /* FML */

  cursor: pointer;
  float: right;
}

#new-tweet span {
  margin-top: 4px;
  *margin-top: 13px;
  width: 14px;
  display: block;
  height: 14px;
  text-indent: -9999px;
  /*background-image: url("../phoenix/img/sprite-icons.png");*/
  background-position: -176px -96px;
  font-size: 0;
}
#new-tweet:hover span {
  background-position: -192px -96px;
}
/*
.tipsy {
}
.tipsy-inner {
  padding: 4px 8px;
  line-height: 1;
  font: normal 10px/1 "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
*/

/* Username and avatar in top right */
div.topbar ul li.account {
  position: relative;
}
div.topbar ul li.account a.user-photo img {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-top: -3px;
  margin-right: 6px;
  border: none;
  cursor: pointer;
}

div.topbar ul li.account a.user-actions img { /*erik:  img on menu link*/
  display: inline-block;
  vertical-align: middle;
  width: 20px; /* <---- erik: here, img on menu link */
  height: 210x;
  margin-top: -1px;
  margin-right: 6px;
  border: none;
  cursor: pointer;
}


/* Sign-in, sign-out */
#session {
  display: inline-block;
  padding: 10px 12px;
  height: 20px;
  vertical-align: top;
  cursor: pointer;
}

#top-bar .dropdown { /* this is used in both logged_in and logged_out modes! check both before committing changes! */
  clear: both;
  position: absolute;
  right: 0;
  z-index: 0;
  top: -999px; /* offscreen */
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #121212;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  zoom: 1;
  min-width: 160px;
  max-height: 350px;
  overflow-x: hidden;
}
#top-bar .active .dropdown {
  top: 40px;
}

#top-bar ul.user-dropdown {
  font-size: 12px;
  width: 100%;
}

#top-bar ul.user-dropdown li {
  clear: both;
  display: block;
  width: 100%;
  background: #333;
  background: rgba(255,255,255,0.1);
}

#top-bar ul.user-dropdown li:last-child,
#top-bar ul.user-dropdown li:last-child a {
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

#top-bar ul.user-dropdown li a,
#top-bar ul.user-dropdown li h2 {
  clear: both;
  display: block;
  background-image: none;
  padding: 6px 15px;
}

#top-bar ul.user-dropdown li span {
  clear: both;
  display: block;
  background-image: none;
  background: #222;
  padding: 6px 15px;
  -moz-box-shadow: 0 -1px #333;
  border-top: 1px solid #000;
  cursor: default;
  color: #666 !important;
}

#top-bar ul.user-dropdown li:last-child h2 {
  display: none;
}

#top-bar ul.user-dropdown li a:hover {
  background: #666;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

#top-bar #session.active,
#top-bar #session:hover {
  color: #fff;
  background: #666;
  background: rgba(255,255,255,0.1);
}

#top-bar #session.active span {
  color: #fff;
}

#session * {
  outline: none;
}

#session #screen-name {
  color: #bababa;
  cursor: pointer;
  font-weight: normal;
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.ru #session #screen-name {
  max-width: 100px;
}

body.ja #session #screen-name {
  max-width: 100px;
}

#session #screen-name-dropdown {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: transparent url(../img/sprite-icons.png) no-repeat scroll -79px -68px;
  vertical-align: top;
  margin-top: 8px;
  margin-left: 1px;
}

#session:hover #screen-name,
#session:hover #signup-link,
#session:hover #signin-link,
.active #signin-link {
  color: #fff;
}

a#signup-link,
a#signin-link {
  color: #BABABA;
  position:relative;
}
a#signup-link em, /* new to ss? */
a#signin-link em { /* have an account? */
  font-style: normal;
  font-size:10px;
  margin-right: 4px;
}
a#signup-link strong { /* Sign up */
  color:#fc0;
}
a#signin-link strong { /* Sign in */
  color:#fff;
}

a#signin-link i {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  background: transparent url(../img/toggle_down_light.png) no-repeat;
  position:relative; /* needed for IE6 ... */
  left: 4px;
  top: -1px;
}
.active a#signin-link i {
  background-image: url(../img/toggle_up_light.png);
}

#signin-dropdown form {
  padding:10px;
  background: #333;
  background: rgba(255,255,255,0.1);
  cursor:auto;
  _width:215px; /* IE6... */
}
#signin-dropdown .textbox span {
  color: #BABABA !important;
}
#signin-dropdown .textbox input {
  width: 200px;
}
#signin-dropdown .subchck {
  *width: 212px; /* IE7 needs the help */
}
#signin-dropdown p a {
 color:#0084B4;
}

body.ja #signin-dropdown a.mobile {
  display:none;
}

/* Vertical rule */
div.topbar ul li.vr {
  border-left: 1px solid #040404;
  border-right: 1px solid #2F2F2F;
  height: 26px;
  margin: 6px 3px 1px 3px;
}

/* Dropdown menus */
div.topbar ul li.account a.menu {
  padding-left: 6px; /*erik: paddings left and right of menu label or icon*/
  padding-right: 4px;
}
div.topbar ul li a.menu:hover {
  background-color: rgba(255,255,255,.1);
}

div.topbar ul li a.active {
  background-color: rgba(255,255,255,.1);
}

div.topbar ul li a.menu span.menu-label {
}
div.topbar ul li a.menu span.menu-label:after {
  width: 7px;
  height: 7px;
  display: inline-block;
  /*background: transparent url(../phoenix/img/sprite-icons.png) no-repeat scroll -79px -68px;*/
  content: "&darr;";
  text-indent: -99999px;
  vertical-align: top;
  margin-top: 8px;
  margin-left: 1px;
}
div.topbar ul li ul {
  background: #121212;
  float: left;
  display: none;
  position: absolute;
  top: 40px;
  min-width: 160px;
  max-width: 220px; /*erik: max width for menu items*/
  width: 160px;
  margin-left: 0;
  padding: 0;
  text-align: left;
  border: 0;
  zoom: 1;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
div.topbar ul.primary-nav li ul {
  left: 0;
}
div.topbar ul.secondary-nav li ul {
  right: 0;
}
div.topbar ul.rtl-secondary-nav li ul {
  left: 0;
}
div.topbar ul li ul li {
  float: none;
  clear: both;
  display: block;
  background: #333;
  background: rgba(255,255,255,0.1);
  font-size: 12px;
}
div.topbar ul li ul li a {
  display: block;
  padding: 6px 15px;
  clear: both;
  font-weight: normal;
  line-height: 19px;
  color: #bbb;
}
div.topbar ul li ul li a:hover {
  background-color: rgba(255,255,255,.1);
  color: #fff;
}
div.topbar ul li.open a {
  font-weight: normal;
  color: #bbb;
}
div.topbar ul li.open a.menu {
  color: #fff;
  font-weight: normal;
}
div.topbar ul li.open a.menu,
div.topbar ul li.open a:hover {
  background-color: #333;
  background-color: rgba(255,255,255,.1);
}
div.topbar ul li.open ul {
  display: block;
}
div.topbar ul li.open ul li a {
  background-color: transparent;
}
div.topbar ul li ul li a:hover {
  background-color: #333;
  background-color: rgba(255,255,255,.1);
  color: #fff;
}
/* Divider in dropdowns */
div.topbar ul li ul li.divider {
  height: 1px;
  overflow: hidden;
  background: #111;
  border-bottom: 1px solid #333;
  margin: 5px 0;
}
/* Section separaters */
div.topbar ul li ul li span {
  clear: both;
  display: block;
  background: #222;
  padding: 6px 15px;
  cursor: default;
  color: #666;
  border-top: 1px solid #000;
}

/* Logged out Corporate Bar -------------------- */
div#corpBar div.topbar-bg {
  background-color: #142F3C;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#142F3C), to(#307190)); /* Webkit */
  background-image: -moz-linear-gradient(top, #0085bf 0%, #003954 100%); /* FF3.6 */
  /*background-image: -moz-linear-gradient(#677C89 , #1D4558); *//* FF3.6 */
  /*erik: modified backgournd colors in topbar, but just for FF, we need todo for others; 
  original: #00a0d1, #008db8 */  


  /*background: -moz-linear-gradient(center top , #444D5E 0pt, #4D5B76 45px, #E5E5E5 46px, #F7F7F7 47px, #FFFFFF 48px) repeat-x scroll center top #6C7A95;*/


  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#142F3C', endColorstr='#307190'); /* IE6,IE7 */
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#142F3C', endColorstr='#307190')"; /* IE8 */
}
div#corpBar ul li a {
  color: #fff;
}
div#corpBar a#logo {
  background-image: url(../images/_logo_header-2.png);
}
div#corpBar ul li.vr {
  border-left-color: #008db8;
  border-right-color: #00a0d1;
}
div#corpBar ul li ul {
  background: #142f3c;
}
div#corpBar ul li ul li {
  background: none;
}
/* Divider in dropdowns: color change */
div#corpBar ul li ul li.divider {
  border-top-color: #0b232d;
  border-bottom-color: #274450;
}
/* Section separaters: color change */
div#corpBar ul li ul li span {
  border-top-color: #0b232d;
  background: #0b232d;
  /* border-bottom-color: #274450; */
}
/* Temporarily make the width of the containers for here a fixed width, no elastic */
div#top-stuff div#corpBar div.topbar-inner,
div#top-stuff div#corpBar div.fixed-container,
div#top-stuff div#corpBar div.topbar-container {
  width: 980px;
  min-width: 980px;
  max-width: 980px;
}
div#top-stuff div#corpBar div.fixed-container,
div#top-stuff div#corpBar div.topbar-container {
  margin: 0;
}
/* Hide the little arrow that used to sit above the white container */
div.content-bubble-arrow {
  display: none;
}

/* body #container { margin-top: 10px !important; } */
body.sessions div#top-stuff div#corpBar div.fixed-container,
body.sessions div#top-stuff div#corpBar div.topbar-container {
  width: 733px;
  padding: 0;
}
body.sessions div#corpBar ul { /* hide top right links on login page */
  display: none;
}

div.topbar form.turn-phx-off-form button.turn-phx-off-button {
  background: none;
  border: 0;
  color: #BABABA;
  font-family: 'Helvetica Neue', Arial, Helvetica, 'Liberation Sans', FreeSans, sans-serif;
  font-size: 12px;
  padding: 6px 15px;
  text-align: left;
}

div.topbar form.turn-phx-off-form button::-moz-focus-inner {
  padding: 0;
}

div.topbar form.turn-phx-off-form:hover {
  background: #666;
  background: rgba(255,255,255,0.1);
}

div.topbar form.turn-phx-off-form:hover,
div.topbar form.turn-phx-off-form button:hover {
  cursor: pointer;
  color: #fff;
}

div.topbar img {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-top: -4px;
  margin-right: 6px;
  border: none;
  cursor: pointer;
}


















































.logged-in #top-stuff {
  visibility: hidden;
}

.logged-in #global-nav {
  visibility: hidden; /* will be unhidden by JavaScript once language data is loaded */
}


#top-bar-outer {
  width: 100%;
  height: 40px;
  display: block;
  text-align: center;
  position: relative;
}

/* Needed because filter breaks overflow in an IE bug (for IE7/8, 7 just uses bg color) */
#top-bar-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #111;
  background: -webkit-gradient(linear, left top, left bottom, from(#333), to(#111));
  background: -moz-linear-gradient(top, #333, #111);
  background: transparent\9;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#111111');
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

#top-bar {
  margin: 0 auto;
  width: 1000px;
  text-align: left;
}

#top-bar .top-bar-inside {
  width: 920px;
  margin: 0 40px;
  position: relative;
}


#top-bar ul {
  float: left;
  list-style-type: none;
  margin: 0;
}

#top-bar ul li {
  margin: 0;
  padding: 0;
  float: left;
}

#top-bar ul li a {
  color: #bababa;
  padding: 10px 10px;
  display: block;
  font-weight: normal;
}

body.ja #top-bar ul li a,
body.ru #top-bar ul li a {
  padding: 10px 8px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  #top-bar ul li a {
    padding: 10px 10px 11px 10px;
  }
}

#top-bar ul li a:hover {
  text-decoration: none;
}

#logo {
  float: left;
}

#logo a {
  text-indent: -9999px;
  background: transparent url(../img/_logo_right.png) no-repeat 20px 9px;
  display: block;
  color: #fff;
  height: 40px;
  width: 140px;
  margin-right: 5px;
  outline: none;
}

body.jp #logo a,
body.ru #logo a {
  margin-right: 0;
}

.topbar-inner .active-links {
  position: absolute;
  right: 68px;
  top: 0;
}

.topbar-inner .static-links {
  float: left;
}

#global-nav {
  float: left;
  margin-left: 8px;
}

#global-nav li a {
  margin-right: 1px;
  outline: none;
}

#global-nav li a:hover {
  color: #fff;
}

#global-nav li:first-child a {
  border-left: none;
}

#global-nav li:last-child a {
  border-right: none;
}

#global-nav .active a {
  color: #fff;
  background-color: #111;
  background: rgba(0,0,0,0.7);
  font-weight: bold;
}

#global-nav .new a {
  background-image: url(../img/light.png);
  background-repeat: no-repeat;
  background-position: center bottom;
}

#session {
  display: inline-block;
  padding: 10px 12px;
  height: 20px;
  vertical-align: top;
  cursor: pointer;
}

#new-tweet {
  display: inline-block;
  width: 16px;
  height: 14px;
  padding: 13px 16px;
  vertical-align: top;
  cursor: pointer;
}

#new-tweet:hover {
  text-decoration: none;
}

#new-tweet span {
  display: block;
  width: 14px;
  height: 14px;
  vertical-align: top;
  text-indent: -9999px;
  background-image: url(../img/sprite-icons.png);
  background-position: -176px -96px;
  font-size: 0;
}

#new-tweet:hover span {
  background-position: -192px -96px;
}

#top-bar .vr {
  border-left: 1px solid #040404;
  border-right: 1px solid #2F2F2F;
  height: 26px;
  display: inline-block;
  margin: 6px 3px 1px 3px;
}

#session a.profile-links:hover,
#session a:hover {
  text-decoration: none !important;
}

#session img {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: top;
  margin-right: 6px;
  border: none;
  cursor: pointer;
}

#session .promotional {
  color: black;
  padding: 3px 6px 3px 5px;
  font-size: 12px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-box-shadow: 0 1px 0 #000;
  -webkit-box-shadow: 0 1px 0 #000;
  border: 0;
  margin-top: -2px;
  outline: none;
}

#search-form {
  float: left;
  margin: 6px 0 0 0px;
  *margin: 5px 0 0 0px;
  opacity: 1;
  position: relative;
}

#search-form #search-query {
  border: 1px solid black;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  font: 13px Arial, sans-serif;
  width: 180px;
  padding: 6px 25px 4px 6px;
  color: #ccc;
  background: #666;
  -webkit-box-shadow: 0 1px 0px #444;
  -moz-box-shadow: 0 1px 0px #444;
  box-shadow: 0 1px 0px #444;
}

#search-form #search-query:hover {
  background: #777;
  color: #fff;
}

#search-form span.glass {
  display: block;
  position: absolute;
  cursor: pointer;
  display: block;
  right: 0;
  padding: 7px 8px 5px 8px;
}

#search-form span.glass i {
  background-image: url(../img/sprite-icons.png);
  background-position: -224px -96px;
  width: 14px;
  height: 14px;
  display: block;
  font-size: 0;
}

#search-form #search-query:focus,
#search-form #search-query.focused {
  outline: none;
  background: #eee;
  color: #333;
  text-shadow: 0 1px 0 #fff;
  border: 1px solid #eee;
  -webkit-box-shadow: 0 0px 3px #000;
  -moz-box-shadow: 0 0px 3px #000;
  box-shadow: 0 0px 3px #000;
}

#top-bar .dropdown { /* this is used in both logged_in and logged_out modes! check both before committing changes! */
  clear: both;
  position: absolute;
  right: 0;
  z-index: 0;
  top: -999px; /* offscreen */
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #121212;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.6);
  zoom: 1;
  min-width: 160px;
  max-height: 350px;
  overflow-x: hidden;
}
#top-bar .active .dropdown {
  top: 40px;
}

#top-bar ul.user-dropdown {
  font-size: 12px;
  width: 100%;
}

#top-bar ul.user-dropdown li {
  clear: both;
  display: block;
  width: 100%;
  background: #333;
  background: rgba(255,255,255,0.1);
}

#top-bar ul.user-dropdown li:last-child,
#top-bar ul.user-dropdown li:last-child a {
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

#top-bar ul.user-dropdown li a,
#top-bar ul.user-dropdown li h2 {
  clear: both;
  display: block;
  background-image: none;
  padding: 6px 15px;
}

#top-bar ul.user-dropdown li span {
  clear: both;
  display: block;
  background-image: none;
  background: #222;
  padding: 6px 15px;
  -moz-box-shadow: 0 -1px #333;
  border-top: 1px solid #000;
  cursor: default;
  color: #666 !important;
}

#top-bar ul.user-dropdown li:last-child h2 {
  display: none;
}

#top-bar ul.user-dropdown li a:hover {
  background: #666;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

#top-bar #session.active,
#top-bar #session:hover {
  color: #fff;
  background: #666;
  background: rgba(255,255,255,0.1);
}

#top-bar #session.active span {
  color: #fff;
}

#session * {
  outline: none;
}

#session #screen-name {
  color: #bababa;
  cursor: pointer;
  font-weight: normal;
  display: inline-block;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.ru #session #screen-name {
  max-width: 100px;
}

body.ja #session #screen-name {
  max-width: 100px;
}

#session #screen-name-dropdown {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: transparent url(../img/sprite-icons.png) no-repeat scroll -79px -68px;
  vertical-align: top;
  margin-top: 8px;
  margin-left: 1px;
}

a#signup-link {
  display: none;
}

#session:hover #screen-name,
#session:hover #signup-link,
#session:hover #signin-link,
.active #signin-link {
  color: #fff;
}

a#signup-link,
a#signin-link {
  color: #BABABA;
  position:relative;
}
a#signup-link em, /* new to ss? */
a#signin-link em { /* have an account? */
  font-style: normal;
  font-size:10px;
  margin-right: 4px;
}
a#signup-link strong { /* Sign up */
  color:#fc0;
}
a#signin-link strong { /* Sign in */
  color:#fff;
}

a#signin-link i {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  background: transparent url(../img/toggle_down_light.png) no-repeat;
  position:relative; /* needed for IE6 ... */
  left: 4px;
  top: -1px;
}
.active a#signin-link i {
  background-image: url(../img/toggle_up_light.png);
}

#signin-dropdown form {
  padding:10px;
  background: #333;
  background: rgba(255,255,255,0.1);
  cursor:auto;
  _width:215px; /* IE6... */
}
#signin-dropdown .textbox span {
  color: #BABABA !important;
}
#signin-dropdown .textbox input {
  width: 200px;
}
#signin-dropdown .subchck {
  *width: 212px; /* IE7 needs the help */
}
#signin-dropdown p a {
 color:#0084B4;
}

body.ja #signin-dropdown a.mobile {
  display:none;
}

#top-bar form.turn-phx-off-form button.turn-phx-off-button {
  background: none;
  border: 0;
  color: #BABABA;
  font-family: 'Helvetica Neue', Arial, Helvetica, 'Liberation Sans', FreeSans, sans-serif;
  font-size: 12px;
  padding: 6px 15px;
  text-align: left;
}

#top-bar form.turn-phx-off-form button::-moz-focus-inner {
  padding: 0;
}

#top-bar form.turn-phx-off-form:hover {
  background: #666;
  background: rgba(255,255,255,0.1);
}

#top-bar form.turn-phx-off-form:hover,
#top-bar form.turn-phx-off-form button:hover {
  cursor: pointer;
  color: #fff;
}

