.amo-header {
  font-family: "Trebuchet MS", sans-serif;
  margin-bottom: 25px;
  /* Log in link loader */
}
.amo-header a.loading-submit:before {
  background-image: url("../../img/zamboni/loading-white.gif");
  content: "";
  display: block;
  height: 16px;
  left: -20px;
  margin-right: 10px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  width: 16px;
}
#masthead {
  padding-top: 45px;
  max-width: 600px;
}
#masthead h1 {
  font: normal 40px/40px MetaBlack;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
#aux-nav {
  float: right;
}
.html-rtl #aux-nav {
  float: left;
}
.site-title img {
  float: left;
  margin-right: 10px;
}
.html-rtl .site-title img {
  float: right;
  margin: 0 0 0 12px;
}
.site-title {
  margin-bottom: 7px;
}
.site-title a {
  color: #333;
  text-decoration: none;
}
.site-title a small {
  color: #333;
  display: block;
  font-size: 0.6em;
  line-height: 0.5em;
}
.site-title a:hover,
.site-title a:focus {
  color: #043b84;
  text-shadow: 0 0 40px #fff, 0 0 20px #fff, 0 0 10px #fff;
}
.site-title.prominent a,
.site-title strong {
  color: #D64203;
}
.site-title.prominent a:hover,
.site-title strong:hover {
  text-shadow: 0 0 #fff;
}
/** site navigation */
.menu-nav {
  font-size: 12px;
  margin-left: 64px;
  z-index: 50;
}
.menu-nav.no-img {
  margin-left: 0;
}
.menu-nav li.slim:hover:after {
  display: none;
}
.menu-nav li.slim:hover > a {
  border-radius: 3px;
}
.menu-nav > ul > li {
  float: left;
  position: relative;
}
.menu-nav > ul > li > a {
  position: relative;
  font-weight: bold;
  z-index: 60;
  border-style: solid;
  border-radius: 3px 3px 0 0;
  border-color: transparent;
  border-width: 1px 1px 0;
}
.menu-nav > ul > li:hover > a {
  background: #fff;
  border-color: #98B2C9 #98B2C9 #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
.menu-nav > ul > li:hover > ul,
.menu-nav > ul > li:hover > div {
  display: block;
}
.menu-nav > ul > li:hover:after {
  content: "";
  width: 200px;
  z-index: 62;
  height: 5px;
  background: #fff;
  position: absolute;
  top: 18px;
  left: 1px;
}
.menu-nav > ul > li > ul,
.menu-nav > ul > li > div {
  display: none;
  position: absolute;
  z-index: 59;
}
.menu-nav > ul > li > ul {
  width: 190px;
  top: 17px;
  z-index: 59;
  padding: 8px;
  background: #fff;
  border: 1px solid #98B2C9;
  border-radius: 0 3px 3px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4), 0 -2px 0 rgba(152, 178, 201, 0.3) inset;
  -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4), 0 -2px 0 rgba(152, 178, 201, 0.3) inset;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4), 0 -2px 0 rgba(152, 178, 201, 0.3) inset;
}
.menu-nav > ul > li > ul a {
  text-decoration: none;
  display: block;
  padding: 6px 8px;
  word-wrap: break-word;
}
.menu-nav > ul > li > ul a:hover {
  background: #ebf4fe;
}
.menu-nav > ul > li > ul.two-col {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-gap: 8px;
  -moz-column-gap: 8px;
  -webkit-column-gap: 8px;
  width: 340px;
}
.menu-nav > ul em a:hover {
  background: #e1edfb;
}
.menu-nav hr {
  border: 0;
  margin: 6px 8px;
  border-top: 1px dotted #ccc;
}
.menu-nav em {
  background: #F4F8FC;
  display: block;
  font-weight: bold;
}
.html-rtl .menu-nav {
  margin-left: 0;
  margin-right: 64px;
}
.html-rtl .menu-nav > ul > li {
  border-left: 0 !important;
  border-right: 1px solid #9FA7AF;
  float: right;
  left: auto;
  right: -9px;
}
.html-rtl .menu-nav > ul > li:hover:after {
  left: auto;
  right: 1px;
}
#site-nav > ul > li {
  border-left: 1px solid #9FA7AF;
  left: -9px;
}
#site-nav > ul > li:first-child {
  border: 0;
}
#site-nav > ul > li > a {
  padding: 4px 8px;
  line-height: 12px;
  text-transform: uppercase;
}
#site-nav #themes ul.two-col {
  height: 216px;
  padding-bottom: 39px;
}
#site-nav #themes ul.two-col + div {
  top: 250px;
}
#site-nav a.complete-themes {
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  color: #666;
  display: block;
  line-height: 28px;
  margin: 0 1px 1px 1px;
  padding: 0 8px;
  text-align: center;
  width: 190px;
}
#site-nav a.complete-themes b {
  color: #447BC4;
}
#site-nav a.complete-themes:hover {
  background-color: #eee;
  color: #333;
  text-decoration: none;
}
#site-nav a.complete-themes:hover b {
  color: #3363a2;
}
#site-nav .two-col + div a.complete-themes {
  width: 340px;
}
#aux-nav > ul > li:not(:first-child):before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 32px;
  background: linear-gradient(#9FA7AF, transparent);
  background-size: 1px 100%;
}
#aux-nav > ul > li {
  margin-left: 1px;
}
#aux-nav > ul > li > a {
  display: block;
  line-height: 32px;
  height: 32px;
  padding: 0 1em;
  border-radius: 0;
  outline: none;
}
#aux-nav > ul > li > a:after {
  display: inline-block;
  vertical-align: middle;
  top: 12px;
  left: 4px;
  margin: 0 0 0 4px;
  content: "\00a0";
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-style: solid;
  border-top-color: #666;
}
#aux-nav > ul > li:hover {
  z-index: 63;
}
#aux-nav > ul > li:hover:after {
  left: auto;
  right: 1px;
}
#aux-nav > ul > li:after {
  top: 32px;
}
#aux-nav > ul > li > ul {
  top: 31px;
  right: 0;
}
#aux-nav > ul > li.nomenu a {
  display: inline-block;
}
#aux-nav > ul > li.nomenu a:after {
  display: none;
}
#aux-nav > ul > li.nomenu:hover a {
  background: transparent;
  box-shadow: 0 0 inset;
  -moz-box-shadow: 0 0 inset;
  -webkit-box-shadow: 0 0 inset;
  border-color: transparent;
}
#aux-nav > ul > li.nomenu:hover:after {
  display: none;
}
#aux-nav > ul > li.logout:before,
#aux-nav > ul > li.login:before {
  background: 0;
}
#aux-nav > ul > li.logout a,
#aux-nav > ul > li.login a {
  font-weight: normal;
}
#aux-nav > ul > li.logout.legacy a,
#aux-nav > ul > li.login.legacy a {
  padding-left: 0.5em;
}
#aux-nav > ul > li.logout.legacy a:first-child,
#aux-nav > ul > li.login.legacy a:first-child {
  padding-right: 0.5em;
}
#aux-nav .other-apps a {
  padding-left: 24px;
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: 2px 6px;
}
#aux-nav .firefox a {
  background-image: url(../../img/icons/firefox.png);
}
#aux-nav .thunderbird a {
  background-image: url(../../img/icons/thunderbird.svg);
}
#aux-nav .seamonkey a {
  background-image: url(../../img/app-icons/med/seamonkey.png);
}
#aux-nav .android a {
  background-image: url(../../img/app-icons/med/android.png);
}
.html-rtl #aux-nav > ul > li:hover:after {
  left: 1px;
  right: auto;
}
.html-rtl #aux-nav > ul > li.legacy a {
  padding: 0 0.5em 0 1em;
}
.html-rtl #aux-nav > ul > li.legacy a:first-child {
  padding: 0 1em 0 0.5em;
}
.html-rtl #aux-nav > ul > li > a:after {
  margin: 0 4px 0 0;
  right: 4px;
  left: auto;
}
.html-rtl #aux-nav > ul > li > ul {
  left: 0;
  right: auto;
}
.html-rtl #aux-nav .other-apps a {
  padding-left: 0;
  padding-right: 24px;
}
.html-rtl #aux-nav .firefox a {
  background-position: right 5px;
}
.html-rtl #aux-nav .thunderbird a {
  background-position: right -28px;
}
.html-rtl #aux-nav .sunbird a {
  background-position: right -92px;
}
.html-rtl #aux-nav .seamonkey a {
  background-position: right -60px;
}
.html-rtl #aux-nav .android a {
  background-position: right -124px;
}
/** search box */
.header-search {
  position: absolute;
  top: 63px;
  right: 0;
  background: #1B5898;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#2E89CA), to(#1B5898));
  background-image: linear-gradient(#2E89CA, #1B5898);
  background-image: -webkit-linear-gradient(#2E89CA, #1B5898);
  border-radius: 5px;
  box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.5) inset, 0 2px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.5) inset, 0 2px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.5) inset, 0 2px 0 rgba(0, 0, 0, 0.1);
  padding: 5px 7px 7px;
  width: 280px;
}
.header-search #search-q,
.header-search .search-button {
  height: 30px;
}
.html-rtl .header-search {
  left: 0;
  right: auto;
}
button.search-button {
  background: #84C63C url(../../img/icons/go-arrow.png) center no-repeat;
  background-image: url(../../img/icons/go-arrow.png), linear-gradient(#84C63C, #489615);
  background-image: url(../../img/icons/go-arrow.png), -webkit-linear-gradient(#84C63C, #489615);
  border: 0;
  float: right;
  cursor: pointer;
  width: 36px;
  border-radius: 6px;
  box-shadow: 0 1px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset;
  -moz-box-shadow: 0 1px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset;
  -webkit-box-shadow: 0 1px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset;
}
.html-rtl button.search-button {
  float: left;
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}
.header-search input {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url(../../img/icons/search.png) no-repeat 8px 50% #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) inset;
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) inset;
  float: left;
  font: 14px "Trebuchet MS", sans-serif;
  text-overflow: ellipsis;
  padding: 6px 6px 6px 32px;
  width: 238px;
  width: -moz-calc(100% - 42px);
  width: -webkit-calc(100% - 42px);
  width: calc(100% - 42px);
}
.html-rtl .header-search input {
  background-position: 96% 50%;
  float: right;
  padding: 6px 32px 6px 6px;
}
.site-tip,
.site-balloon {
  border: 2px solid #e3873b;
  border-radius: 10px;
  display: none;
  font: 14px/16px Arial, sans-serif;
  position: relative;
  margin-top: 22px;
}
.site-tip h3,
.site-balloon h3,
.site-tip p,
.site-balloon p {
  display: inline;
}
.site-tip p a,
.site-balloon p a {
  font-weight: bold;
}
.site-tip {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: #c9ddf2;
  color: #666;
  padding: 10px 45px 10px 15px;
}
.site-balloon {
  background-color: #fcefb7;
  color: #333;
  padding: 15px 45px 15px 15px;
}
.site-balloon h3,
.site-balloon strong {
  font-weight: bold;
}
.site-balloon:before,
.site-balloon:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  border-left: 18px solid #E3873B;
  border-top: 18px solid transparent;
}
.site-balloon:before {
  left: 34px;
  top: -18px;
}
.site-balloon:after {
  left: 36px;
  top: -13px;
  border-left-color: #FCEFB7;
}
.site-balloon p a {
  color: #c40000;
}
#site-notice {
  display: block;
}
.site-balloon .close,
.site-tip .close,
#lightbox .close,
.is-impala .modal .close {
  position: absolute;
  overflow: hidden;
  right: 1em;
  top: 1em;
  width: 25px;
  height: 25px;
  margin: 0;
  border-radius: 4px;
  background: url(../../img/impala/banner-close.png) no-repeat 0 0;
  text-indent: -1000em;
  cursor: pointer;
}
.site-balloon .close:hover,
.site-tip .close:hover,
#lightbox .close:hover,
.is-impala .modal .close:hover {
  background-color: #c40000;
  background-position: -25px 0;
}
.site-balloon .cancel,
.site-tip .cancel,
#lightbox .cancel,
.is-impala .modal .cancel {
  position: static;
  background: none;
  text-indent: 0;
}
.site-balloon .cancel:hover,
.site-tip .cancel:hover,
#lightbox .cancel:hover,
.is-impala .modal .cancel:hover {
  background-color: transparent;
}
.site-balloon .close,
.site-tip .close {
  margin: auto;
  top: 0;
  bottom: 0;
}
.html-rtl .site-balloon,
.html-rtl .site-tip,
.html-rtl #lightbox,
.html-rtl.is-impala .modal {
  padding: 15px 15px 15px 45px;
}
.html-rtl .site-balloon:before,
.html-rtl .site-tip:before,
.html-rtl #lightbox:before,
.html-rtl.is-impala .modal:before,
.html-rtl .site-balloon:after,
.html-rtl .site-tip:after,
.html-rtl #lightbox:after,
.html-rtl.is-impala .modal:after {
  border-color: transparent;
  border-right: 18px solid #E3873B;
  border-top: 18px solid transparent;
  left: auto;
}
.html-rtl .site-balloon:before,
.html-rtl .site-tip:before,
.html-rtl #lightbox:before,
.html-rtl.is-impala .modal:before {
  right: 34px;
  top: -18px;
}
.html-rtl .site-balloon:after,
.html-rtl .site-tip:after,
.html-rtl #lightbox:after,
.html-rtl.is-impala .modal:after {
  right: 36px;
  top: -13px;
  border-right-color: #FCEFB7;
}
.html-rtl .site-balloon .close,
.html-rtl .site-tip .close,
.html-rtl #lightbox .close,
.html-rtl.is-impala .modal .close {
  right: auto;
  left: 15px;
}
/* All Manner of Banner */
.firstvisit #site-welcome {
  display: block;
}
#mobile-banner {
  font-size: 1.3em;
}
@media (max-width: 500px) {
  #mobile-banner {
    display: inline-block;
  }
}
.badbrowser #site-welcome,
.badbrowser #mobile-banner {
  display: none !important;
}
.developer-hub .site-balloon,
.developer-hub .site-tip {
  display: none !important;
}
