/*
   Windows XP Theme for Echofon

   Copyright (c) 2009 Kazuho Okui / naan studio, Inc. ALL RIGHTS RESERVED.
*/

radio[pane=paneAdvanced] {
  list-style-image: url("chrome://echofon/content/images/pref.png") !important;
  -moz-image-region: rect(0px, 91px, 30px, 62px);
}

radio[pane=paneMain] {
  list-style-image: url("chrome://echofon/content/images/pref.png") !important;
  -moz-image-region: rect(0px, 62px, 30px, 32px);
}

.echofon-tabs-closebutton {
  margin: 0px !important;
  padding: 0px !important;
}

.echofon-status[highlighted="true"] {
  background: #ecf7fe;
}

.echofon-link-tooltip,
.echofon-link-tooltip:hover {
  margin: 0px;
  padding: 0px;
  text-decoration: none;
}

echofon-popup-content[FF3="true"] {
  border-radius: 0px !important;
  -moz-border-radius: 0px !important;
}

echofon-notice[FF3="true"] {
  border-radius: 0px !important;
  -moz-border-radius: 0px !important;
}

.echofon-notification
{
  border-top: 1px solid #999;
}

.echofon-compose-bar-char-count {
  font-size: 12px !important;
}

/*
 Load preference icons
*/
.paneSelector {
  list-style-image: url("chrome://browser/skin/preferences/Options.png");
  padding: 5px 3px 1px;
}


.echofon-compose-in-reply-to {
   font-weight:bold;
  color: #333;
  text-shadow: #fff 0px 1px;
}

#echofon-add-search-button
{
  background-image: -moz-linear-gradient(center bottom, #c1c4c6 0%, #dbdcdd 100%) !important;
  border:none !important;
}

 #echofon-add-search-button:hover
{
  background-image: -moz-linear-gradient(center bottom, #abafb2 0%, #cdced0 100%) !important;
}

/*ff3 win*/

/* overwrites styles in user-view.css */
.user-details toolbar#user_tabs toolbarbutton{width:154px;}
.user-details toolbar#user_tabs toolbarbutton:last-child{width:155px;}



/* FF4 window */
#echofon-titlebar {
  -moz-appearance: -moz-window-titlebar;
  /* we only need to the middle section, hide the edges of the
  theme background beyond the window frame. */
  margin-left: -15px;
  margin-right: -15px;
}

#echofon-window[sizemode="maximized"] > #echofon-titlebar {
  -moz-appearance: -moz-window-titlebar-maximized;
}

#echofon-titlebar-content {
  margin-left: 15px;
  margin-right: 15px;
  -moz-box-align: start;
}

@media all and (-moz-windows-classic) {
  #echofon-window[sizemode="normal"] > #echofon-titlebar > #echofon-titlebar-content > #echofon-appmenu-button-container {
    margin-top: 4px;
  }
}

#echofon-titlebar-buttonbox {
  -moz-appearance: -moz-window-button-box;
}

#echofon-window[sizemode="maximized"] > #echofon-titlebar > #echofon-titlebar-content > #echofon-titlebar-buttonbox {
  -moz-appearance: -moz-window-button-box-maximized;
}

/* titlebar command buttons */

#echofon-titlebar {
  -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
}

#echofon-titlebar-spacer {
  pointer-events: none;
}

#appmenu-button-container,
#titlebar-buttonbox {
  position: relative;
}

#echofon-titlebar-min {
  -moz-appearance: -moz-window-button-minimize;
}

#echofon-titlebar-max {
  -moz-appearance: -moz-window-button-maximize;
}

#echofon-window[sizemode="maximized"] > #echofon-titlebar > #echofon-titlebar-content > #echofon-titlebar-buttonbox > #echofon-titlebar-max {
  -moz-appearance: -moz-window-button-restore;
}

#echofon-titlebar-close {
  -moz-appearance: -moz-window-button-close;
}

@media not all and (-moz-windows-classic) {
  #echofon-titlebar-min,
  #echofon-titlebar-max {
    -moz-margin-end: 2px;
  }
}

@media all and (-moz-windows-classic) {
  #echofon-titlebar-close {
    -moz-margin-start: 2px;
  }
}

#echofon-appmenu-button {
  -moz-appearance: none;
  background: -moz-linear-gradient(rgb(247,182,82), rgb(215,98,10) 95%);
  background-clip: padding-box;
  border-radius: 0 0 4px 4px;
  border: 1px solid rgba(83,42,6,.9);
  border-top: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
              0 0 0 1px rgba(255,255,255,.25) inset;
  color: white;
  text-shadow: 0 0 1px rgba(0,0,0,.7),
               0 1px 1.5px rgba(0,0,0,.5);
  font-weight: bold;
  padding: .1em 1.5em .15em;
  margin: 0;
}

#echofon-appmenu-button:-moz-window-inactive {
  background-image: none;
  border-color: rgba(0,0,0,.4);
}

#echofon-appmenu-button:hover:not(:active):not([open]) {
  background-image:
    -moz-radial-gradient(center bottom, farthest-side, rgba(111,209,247,.5) 10%, rgba(111,209,247,0) 70%),
    -moz-radial-gradient(center bottom, farthest-side, rgba(111,209,247,.5), rgba(111,209,247,0)),
    -moz-linear-gradient(#4cadeb, #126edc 95%);
  border-color: rgba(83,42,6,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset,
              0 0 1.5px 1px rgba(255,255,255,.5) inset,
              0 -1px 0 rgba(255,255,255,.3) inset;
}

#echofon-appmenu-button:hover:active,
#echofon-appmenu-button[open] {
  background-image:
    -moz-radial-gradient(center bottom, farthest-side, rgba(111,209,247,.5) 10%, rgba(111,209,247,0) 70%),
    -moz-radial-gradient(center bottom, farthest-side, rgba(111,209,247,.5), rgba(111,209,247,0)),
    -moz-linear-gradient(#4cadeb, #126edc 95%);
  border-radius: 0;
  box-shadow: 0 2px 3px rgba(0,0,0,.4) inset,
              0 1px 1px rgba(0,0,0,.2) inset;
}

#echofon-appmenu-button > .button-box {
  border-style: none;
  padding: 0;
}

#echofon-appmenu-button > .button-box > .button-menu-dropmarker {
  list-style-image: url("chrome://echofon/content/images/window.png");
  -moz-image-region: rect(94px, 95px, 101px, 86px);
  padding: 0;
  margin: 0;
  -moz-margin-start: .5em;
}

#echofon-window[sizemode="normal"] > #echofon-titlebar > #echofon-titlebar-content > #echofon-appmenu-button-container {
  margin-top: 1px;
}

#echofon-appmenu-button {
  border: 2px solid;
  border-top: none;
  -moz-border-left-colors: rgba(255,255,255,.5) rgba(83,42,6,.9);
  -moz-border-bottom-colors: rgba(255,255,255,.5) rgba(83,42,6,.9);
  -moz-border-right-colors: rgba(255,255,255,.5) rgba(83,42,6,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
              0 0 2px 1px rgba(255,255,255,.25) inset;
}

#echofon-appmenu-button:-moz-window-inactive {
  -moz-border-left-colors: rgba(255,255,255,.4) rgba(0,0,0,.5);
  -moz-border-bottom-colors: rgba(255,255,255,.4) rgba(0,0,0,.5);
  -moz-border-right-colors: rgba(255,255,255,.4) rgba(0,0,0,.5);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset;
}

#echofon-appmenu-button {
  background: -moz-linear-gradient(rgb(82,182,220), rgb(22,98,230) 95%);
}