/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is Sun Microsystems code.
 *
 * The Initial Developer of the Original Code is Sun Microsystems.
 * Portions created by the Initial Developer are Copyright (C) 2006
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Michael Buettner <michael.buettner@sun.com>
 *   Markus Adrario <Mozilla@Adrario.de>
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

/*--------------------------------------------------------------------
 *   Event dialog toolbar buttons
 *-------------------------------------------------------------------*/

.cal-toolbarbutton-2 {
    -moz-box-orient: vertical;
    min-width: 0px;
    list-style-image: url("chrome://calendar/skin/calendar-event-dialog-toolbar.png");
}

toolbar[mode="full"] .cal-toolbarbutton-2 {
    min-width: 55px;
}

/*--------------------------------------------------------------------
 *   Event dialog toolbar buttons - small
 *-------------------------------------------------------------------*/

toolbar[iconsize="small"] .cal-toolbarbutton-2 {
    -moz-box-orient: vertical;
    list-style-image: url("chrome://calendar/skin/calendar-event-dialog-toolbar.png");
}

/*--------------------------------------------------------------------
 *   invite attendees button
 *-------------------------------------------------------------------*/

#button-attendees {
    -moz-image-region: rect(0px 48px 24px 24px);
}
#button-attendees[disabled="true"],
#button-attendees[disabled="true"]:hover,
#button-attendees[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 48px 72px 24px);
}
#button-attendees:hover {
    -moz-image-region: rect(24px 48px 48px 24px);
}
#button-attendees:hover:active {
}

/*--------------------------------------------------------------------
 *   spellcheck button
 *-------------------------------------------------------------------*/

#button-spellcheck {
    -moz-image-region: rect(0px 72px 24px 48px);
}
#button-spellcheck[disabled="true"],
#button-spellcheck[disabled="true"]:hover,
#button-spellcheck[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 72px 72px 48px);
}
#button-spellcheck:hover {
    -moz-image-region: rect(24px 72px 48px 48px);
}
#button-spellcheck:hover:active {
}

/*--------------------------------------------------------------------
 *   documents button
 *-------------------------------------------------------------------*/

#button-url {
    -moz-image-region: rect(0px 96px 24px 72px);
}
#button-url[disabled="true"],
#button-url[disabled="true"]:hover,
#button-url[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 96px 72px 72px);
}
#button-url:hover {
    -moz-image-region: rect(24px 96px 48px 72px);
}
#button-url:hover:active {
}

/*--------------------------------------------------------------------
 *   privacy button
 *-------------------------------------------------------------------*/

#button-privacy {
    -moz-image-region: rect(0px 120px 24px 96px);
}
#button-privacy[disabled="true"],
#button-privacy[disabled="true"]:hover,
#button-privacy[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 120px 72px 96px);
}
#button-privacy:hover {
    -moz-image-region: rect(24px 120px 48px 96px);
}
#button-privacy:hover:active {
}

/*--------------------------------------------------------------------
 *   save button
 *-------------------------------------------------------------------*/

#button-save {
    -moz-image-region: rect(0px 144px 24px 120px);
}
#button-save[disabled="true"],
#button-save[disabled="true"]:hover,
#button-save[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 144px 72px 120px);
}
#button-save:hover {
    -moz-image-region: rect(24px 144px 48px 120px);
}
#button-save:hover:active {
}

/*--------------------------------------------------------------------
 *   delete button
 *-------------------------------------------------------------------*/

#button-delete {
    -moz-image-region: rect(0px 408px 24px 384px);
}
#button-delete[disabled="true"],
#button-delete[disabled="true"]:hover,
#button-delete[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 408px 72px 384px);
}
#button-delete:hover {
    -moz-image-region: rect(24px 408px 48px 384px);
}
#button-delete:hover:active {
}

/*--------------------------------------------------------------------
 *   print button
 *-------------------------------------------------------------------*/

#button-print {
    -moz-image-region: rect(0px 456px 24px 432px);
}
#button-print[disabled="true"],
#button-print[disabled="true"]:hover,
#button-print[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 456px 72px 432px);
}
#button-print:hover {
    -moz-image-region: rect(24px 456px 48px 432px);
}
#button-print:hover:active {
}

/*--------------------------------------------------------------------
 *   help button
 *-------------------------------------------------------------------*/

#button-question {
    -moz-image-region: rect(0px 576px 24px 552px);
}
#button-question[disabled="true"],
#button-question[disabled="true"]:hover,
#button-question[disabled="true"]:hover:active {
    -moz-image-region: rect(48px 576px 72px 552px);
}
#button-question:hover {
    -moz-image-region: rect(24px 576px 48px 552px);
}
#button-question:hover:active {
}

/*--------------------------------------------------------------------
 *   Event dialog statusbar images
 *-------------------------------------------------------------------*/

.cal-statusbar-1 {
    -moz-box-orient: vertical;
    min-width: 0px;
    list-style-image: url("chrome://calendar/skin/calendar-event-dialog.png");
}

/*--------------------------------------------------------------------
 *   privacy "public" image
 *-------------------------------------------------------------------*/

#button-privacy-public {
    -moz-image-region: rect(0px 28px 16px 0px);
}
#button-privacy-public:hover:active {
}
#button-privacy-public[disabled="true"] {
}

/*--------------------------------------------------------------------
 *   privacy "private" image
 *-------------------------------------------------------------------*/

#button-privacy-private {
    -moz-image-region: rect(0px 56px 16px 28px);
}
#button-privacy-private:hover:active {
}
#button-privacy-private[disabled="true"] {
}

/*--------------------------------------------------------------------
 *   privacy "confidential" image
 *-------------------------------------------------------------------*/

#button-privacy-confidential {
    -moz-image-region: rect(0px 84px 16px 56px);
}
#button-privacy-confidential:hover:active {
}
#button-privacy-confidential[disabled="true"] {
}

/*--------------------------------------------------------------------
 *   importance "low" image
 *-------------------------------------------------------------------*/

#button-importance-low {
    -moz-image-region: rect(0px 100px 16px 84px);
}
#button-importance-low:hover:active {
}
#button-importance-low[disabled="true"] {
}

/*--------------------------------------------------------------------
 *   importance "medium" image
 *-------------------------------------------------------------------*/

#button-importance-medium {
    -moz-image-region: rect(0px 116px 16px 100px);
}
#button-importance-medium:hover:active {
}
#button-importance-medium[disabled="true"] {
}

/*--------------------------------------------------------------------
 *   importance "high" image
 *-------------------------------------------------------------------*/

#button-importance-high {
    -moz-image-region: rect(0px 132px 16px 116px);
}
#button-importance-high:hover:active {
}
#button-importance-high[disabled="true"] {
}

/*--------------------------------------------------------------------
 *   Recurrence dialog preview border
 *-------------------------------------------------------------------*/
#preview-border {
    border: none;
    padding: 0px;
}

#calendar-summary-dialog {
  min-width: 35em;
}

listbox[disabled="true"] {
  color: -moz-FieldText;
}

.headline {
  font-weight: bold;
}

.headline[align=end],
.headline[align=right]{
  text-align: right;
}

.default-spacer {
  width: 1em;
  height: 1em;
}

.default-indent {
  -moz-margin-start: 1.5em;
}

.status-icon {
  margin: 0 3px;
  display: none;
  list-style-image: url("chrome://calendar/skin/calendar-event-dialog-attendees.png");
}

.status-icon[status="ACCEPTED"] {
  display: inline;
  -moz-image-region: rect(0px 12px 14px 0px);
}

.status-icon[status="DECLINED"] {
  display: inline;
  -moz-image-region: rect(0px 24px 14px 12px);
}

.status-icon[status="NEEDS-ACTION"] {
  display: inline;
  -moz-image-region: rect(0px 36px 14px 24px);
}

.status-icon[status="TENTATIVE"] {
  display: inline;
  -moz-image-region: rect(0px 48px 14px 36px);
}
