@import url("chrome://global/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url(http://www.w3.org/1999/xhtml);

yawintitle {
  -moz-binding: url("chrome://yasearch/content/yasearch.xml#yawintitle");
}

window {
  width: 319px;
  height: 514px;
  border: 1px solid #d0d0d0;
}

yaclickscrollbox {
  min-width: 319px;
}

#yasearch-blogger-window {
  color: #000;
}

window[yashadow="window"] {
  width: 351px;
  height: 538px;
  border: none;
  background-color: transparent !important;
  background-image: none !important;
  -moz-appearance: none !important;
}

window[yashadow="window"] > #yasearch-blogger-window {
  -moz-box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  margin: 0 16px 24px 16px !important;
  background-color: rgb(236,233,216);
}

#yasearch-blogger-window,
#yasearch-blogger-window > vbox {
  -moz-box-flex: 1;
}

#yasearch-blogger-content > vbox:not([id="yasearch-blogger-content-2"]) {
  font-size: 1.05em;
}

#yasearch-blogger-window > stack {
  width: 319px;
  height: 514px;
  -moz-box-flex: 1;
}

#yasearch-blogger-window > stack > image {
  list-style-image: url("chrome://yasearch/skin/dialogs/images/dialog/content.bg.a45.png");
  width: 100%;
  height: 100%;
}

#yasearch-blogger-window image.throbber {
  list-style-image: url("chrome://yasearch/skin/browser-icons/throbber/throbber.gif");
  opacity: 0.5;
  margin-bottom: 0.6em;
}

yaclickscrollbox > hbox {
  padding: .6em 5px .6em 11px;
  cursor: pointer;
}

yaclickscrollbox > hbox * {
  cursor: pointer;
}

yaclickscrollbox > hbox > vbox:first-child {
  margin: .3em 0;
  width: 25px;
  height: 25px;
  overflow: hidden;
}

.ya-blogger-text label,
.ya-blogger-text description {
  margin-left: 5px;
  margin-right: 5px;
}

.ya-blogger-user {
  font-weight: bold;
  text-decoration: underline;
}

.ya-blogger-time {
  text-align: right;
}

.ya-blogger-snipp {
  color: #555;
}

yaclickscrollbox > hbox:hover {
  background-color: #fff4de;
  color: #9f1d0b;
}

yaclickscrollbox > hbox:hover .ya-blogger-snipp {
  color: #710000;
}

html|div.yasearch-blogger-content-error {
  text-align: center;
  padding: 0 1em;
}

html|div.yasearch-blogger-content-error html|p:first-child {
  margin-bottom: 2.5em;
}

html|div.yasearch-blogger-content-error html|a {
  text-decoration: underline;
  color: #cf530b;
}

#yasearch-blogger-getmore-link {
  padding: 11px 0 17px 0;
}

#yasearch-blogger-getmore-link label {
  cursor: pointer;
  text-decoration: underline;
  color: #cf530b;
  font-size: 1.1em;
}

yaclickscrollbox {
  -moz-binding: url("chrome://yasearch/content/dialogs/scrollbox.xbl#custom-arrowscrollbox-clicktoscroll");
  -moz-box-flex: 1;
  -moz-box-orient: vertical;
}

yaclickscrollbox > arrowscrollbox > *:not(scrollbox) {
  display: none;
}

yaclickscrollbox > box {
  -moz-box-pack: center;
  -moz-box-orient: horizontal;
  padding: 11px 0 10px 12px;
}

yaclickscrollbox > box:not([disabled="true"]):hover {
  background-color: #ffd692;
}

yaclickscrollbox > box > image {
  list-style-image: url("chrome://yasearch/skin/dialogs/images/button/arrow/arrow.png");
}

yaclickscrollbox > box[anonid="buttonup"] {
  border-bottom: 1px solid #ffc663;
}

yaclickscrollbox > box[anonid="buttondown"] {
  border-top: 1px solid #ffc971;
}

yaclickscrollbox > box[anonid="buttonup"] > image {
  -moz-image-region: rect(0px, 15px, 15px, 0px);
}

yaclickscrollbox > box[anonid="buttondown"] > image {
  -moz-image-region: rect(15px, 15px, 30px, 0px);
}

yaclickscrollbox > box[anonid="buttonup"]:hover > image {
  -moz-image-region: rect(0px, 30px, 15px, 15px);
}

yaclickscrollbox > box[anonid="buttondown"]:hover > image {
  -moz-image-region: rect(15px, 30px, 30px, 15px);
}

yaclickscrollbox > box[anonid="buttonup"]:active > image {
  -moz-image-region: rect(0px, 45px, 15px, 30px);
}

yaclickscrollbox > box[anonid="buttondown"]:active > image {
  -moz-image-region: rect(15px, 45px, 30px, 30px);
}

yaclickscrollbox > box[anonid="buttonup"][disabled="true"] > image {
  -moz-image-region: rect(0px, 15px, 15px, 0px);
  opacity: 0.5;
}

yaclickscrollbox > box[anonid="buttondown"][disabled="true"] > image {
  -moz-image-region: rect(15px, 15px, 30px, 0px);
  opacity: 0.5;
}