@import url("chrome://global/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

button[dlgtype="back"], button[dlgtype="next"] { display:none; }

button[dlgtype] label {
  -moz-binding: url("chrome://yasearch/content/yasearch.xbl#locale-dialog-button-labels");
}

#yasearch-first-start-wizard {
  min-height: 44em;
  min-width: 53em;
}

#licenseFrame {
  -moz-appearance: none;
  margin: 2px 4px;
  border: 2px solid;
  -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  background-color: -moz-Field;
  color: -moz-FieldText;
}

button + spacer[style] {display:none;}

#yasearch-first-start-wizard[yaHiddenLicense="true"] {
  min-height: 15em !important;
  height: auto;
}

#yasearch-first-start-wizard[yaHiddenLicense="true"] * {
  overflow: hidden;
}

#yasearch-first-start-wizard[yaHiddenLicense="true"] #licenseGroupbox,
#yasearch-first-start-wizard[yaHiddenLicense="true"] button[dlgtype="cancel"],
#yasearch-first-start-wizard[yaHiddenLicense="true"] .wizard-header-description {
  display: none;
}