@import url("chrome://global/skin/");
@import url("chrome://yasearch-platform-style/content/alerts/alerts.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url(http://www.w3.org/1999/xhtml);

grid {
  margin: 0.3em 0;
  color: #000;
}

rows, row {margin:0; padding:0}

.bold {
  font-weight: bold;
}

html|div.content-background {
  height: 1px;
  overflow: hidden;
  -moz-box-flex: 1;
}

html|div.content-background > image {
  list-style-image: url("chrome://yasearch/skin/dialogs/images/dialog/content.bg.png");
  width: 100%;
  height: 175px;
}

window {
  font-size: 9pt;
  line-height: 11pt;
  font-weight: normal;
  font-family: Arial, sans-serif;
}

window,
#alertBox {
  color: #000 !important;
  background-color: rgb(255, 216, 146) !important;
}

#alertBox[class="changed"] *|*.changedAgain,
#alertBox[class="changedAgain"] *|*.changed {
  display: none;
}

#contentHolder {
  min-width: 360px;
  max-width: 360px;
  padding: 12px 0;
}

#alertImageBox {
  width: 58px;
  height: 58px;
}

#alertImage {
  list-style-image: url("chrome://yasearch/skin/images/bar-logo-48.png");
  width: 48px;
  height: 48px;
}

#alertTextBox {
  padding: 0 10px 0 0;
}

html|h2, html|p {
  margin: 0;
  padding: 0;
}

html|h2 {
  margin-right: 48px;
  font-weight: bold;
  font-size: 12pt;
  line-height: 14pt;
  color: #a82e17;
}

html|p {
  margin: 0.4em 0;
}

html|div#changesHelp[moreHelpShowed="true"] html|span#showMore,
html|div#changesHelp:not([moreHelpShowed="true"]) > html|div {
  display: none;
}

html|span#showMore,
html|a {
  cursor: pointer;
  color: #1455D6;
  text-decoration: underline;
  outline: none;
}

html|a:hover {
  color: #424F63;
}

.footerHolder {
  margin: 0 58px;
  -moz-box-align: start;
  -moz-box-pack: center;
}

button {
  margin: 0;
  min-width: 9em;
}

#alertTextBox > html|p:last-child {
   margin-bottom: -0.4em;
}

checkbox {
  margin: 0 0 3px 0 !important;
  padding: 0 !important;
  -moz-padding-start: 0 !important;
  -moz-padding-end: 0 !important;
  -moz-margin-start: 0 !important;
  -moz-margin-end: 0 !important;
}

html|div.titleHolder {
  position: relative;
}

html|div#closeButton {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background: transparent url("chrome://yasearch/skin/dialogs/images/button/close.png") 0 0 no-repeat;
}

html|div#closeButton:hover {
  background-position: -15px 0;
}

html|div#closeButton:active {
  background-position: -30px 0;
}