@import url("chrome://global/skin/");

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.toolbarbutton-menu-dropmarker {

    list-style-image: none;

}
.toolbarbutton-1 {
  -moz-box-orient: vertical;
  min-width: 0px;
  list-style-image: url("messengercompose/compose-toolbar.png");
}

.toolbarbutton-1[type="menu-button"]
{
  min-width: 57px;
}

toolbar[mode="icons"] .toolbarbutton-text {
  display: none;
}

toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
toolbar[mode="text"] .toolbarbutton-icon {
  display: none;
}

toolbar[mode="text"] .toolbarbutton-text {
  padding: 0 !important;
  margin: 3px 5px !important;
}


#main-toolbar toolbarbutton {
margin: 4px;
min-width:50px;
}
/* ::::: primary toolbar buttons ::::: */

.toolbarbutton-1 {
  -moz-box-orient: vertical;
  min-width: 47px;
  list-style-image: url("icons/mail-toolbar.png");
}

.toolbarbutton-1[type="menu-button"]
{
  min-width: 57px;
}

.toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
  display: none;
}

toolbar[mode="icons"] .toolbarbutton-text {
  display: none;
}

toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
toolbar[mode="text"] .toolbarbutton-icon {
  display: none;
}

toolbar[mode="text"] .toolbarbutton-text {
  padding: 0 !important;
  margin: 3px 5px !important;
}

#button-getmsg {
  -moz-image-region: rect(0px 30px 30px 0px);
}

#button-getmsg:hover {
  -moz-image-region: rect(30px 30px 60px 0px);
}

#button-getmsg[disabled] {
  -moz-image-region: rect(60px 30px 90px 0px) !important;
}



.toolbarbutton-1 {
  -moz-box-orient: vertical;
  min-width: 0px;
  list-style-image: url("icons/mail-toolbar.png");
}

#button-newmsg {
  -moz-image-region: rect(0px 60px 30px 30px);
}

#button-newmsg:hover {
  -moz-image-region: rect(30px 60px 60px 30px);
}

#button-newmsg[disabled] {
   -moz-image-region: rect(60px 60px 90px 30px) !important;
}

#button-address {
  -moz-image-region: rect(0px 90px 30px 60px);
}

#button-address:hover {
  -moz-image-region: rect(30px 90px 60px 60px);
}

#button-address[disabled="true"] {
  -moz-image-region: rect(60px 90px 90px 60px) !important;
}

#button-reply {
  -moz-image-region: rect(0px 120px 30px 90px);
}

#button-reply:hover {
  -moz-image-region: rect(30px 120px 60px 90px);
}

#button-reply[disabled] {
  -moz-image-region: rect(60px 120px 90px 90px) !important;
}

#button-replyall {
  -moz-image-region: rect(0px 150px 30px 120px);
}

#button-replyall:hover {
  -moz-image-region: rect(30px 150px 60px 120px);
}

#button-replyall[disabled] {
  -moz-image-region: rect(60px 150px 90px 120px) !important;
}

#button-forward {
  -moz-image-region: rect(0px 180px 30px 150px);
}

#button-forward:hover {
  -moz-image-region: rect(30px 180px 60px 150px);
}

#button-forward[disabled] {
  -moz-image-region: rect(60px 180px 90px 150px) !important;
}

#button-delete {
  -moz-image-region: rect(0px 210px 30px 180px);
}

#button-delete:hover {
  -moz-image-region: rect(30px 210px 60px 180px);
}

#button-delete[disabled] {
  -moz-image-region: rect(60px 210px 90px 180px) !important;
}

#button-junk {
  -moz-image-region: rect(0px 240px 30px 210px);
}

#button-junk:hover {
  -moz-image-region: rect(30px 240px 60px 210px);
}

#button-junk[disabled="true"] {
  -moz-image-region: rect(60px 240px 90px 210px) !important;
}

#button-print {
  -moz-image-region: rect(0px 270px 30px 240px);
}

#button-print[buttonover] {
  -moz-image-region: rect(30px 270px 60px 240px);
}

#button-print[buttondown] {
  -moz-image-region: rect(30px 270px 60px 240px);
}

#button-print[disabled] {
  -moz-image-region: rect(60px 270px 90px 240px) !important;
}

#button-stop {
  -moz-image-region: rect(0px 300px 30px 270px);
}

#button-stop:hover {
  -moz-image-region: rect(30px 300px 60px 270px);
}

#button-stop[disabled="true"] {
  -moz-image-region: rect(60px 300px 90px 270px) !important;
}

vbox, hbox, iframe, tree {margin: 0; padding: 0;}

#MailBoxTree treechildren:-moz-tree-row {
	height: 24px;
}

#MailBoxTree treechildren:-moz-tree-cell-text {
	margin-left: 5px;
	margin-top: 2px;
}

#button-move, #button-copy {
  -moz-image-region: rect(0px 330px 30px 300px);
}

#button-move[buttonover], #button-copy[buttonover] {
  -moz-image-region: rect(30px 330px 60px 300px);
}

#button-move[buttondown], #button-copy[buttondown] {
  -moz-image-region: rect(30px 330px 60px 300px);
}

#button-move[disabled], #button-copy[disabled] {
  -moz-image-region: rect(60px 330px 90px 300px) !important;
}

#msgTree treechildren:-moz-tree-row {
	height: 18px;
}