/* ***** 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 OEone Calendar Code, released October 31st, 2001.
 *
 * The Initial Developer of the Original Code is
 * OEone Corporation.
 * Portions created by the Initial Developer are Copyright (C) 2001
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Matthew Willis (mattwillis@gmail.com)
 *   Philipp Kewisch <mozilla@kewis.ch>
 *   Christian Jansen <christian.jansen@sun.com>
 *   Berend Cornelius <berend.cornelius@sun.com>
 *
 * 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 ***** */

minimonth {
  background-color: #FFFFFF;
  border: 0px;
  padding: 4px;
}

.minimonth-month-box {
  background-color: #F5F5F6;
  border: 1px dotted #C0C0C0;
}

.minimonth-month-name {
  font-weight: bold;
  padding: 0px;
  -moz-user-focus: normal;
}

.minimonth-month-name-readonly {
  text-align: right;
  font-weight: bold;
}

.minimonth-year-name {
  min-width: 4em;
  font-weight: bold;
  padding: 0px;
  -moz-user-focus: normal;
}

.minimonth-year-name-readonly {
  min-width: 4em;
  font-weight: bold;
  -moz-padding-start: 4px;
}

.minimonth-month-name > .toolbarbutton-text {
  text-align: right;
}

.minimonth-month-name > .toolbarbutton-icon,
.minimonth-year-name > .toolbarbutton-icon {
  display: none;
}

.minimonth-nav-btns > .toolbarbutton-icon {
  margin: 1px;
}

.minimonth-nav-btns {
  padding: 0px;
  list-style-image: url("chrome://calendar/skin/widgets/nav-buttons.png");
  -moz-user-focus: normal;
}

.minimonth-nav-btns > .toolbarbutton-text  {
  display: none;
}

.minimonth-nav-btns[dir="-1"],
.minimonth-nav-btns[dir="1"][chromedir="rtl"] {
  -moz-image-region: rect(0px 5px 13px 0px);
}

.minimonth-nav-btns[dir="-1"]:hover,
.minimonth-nav-btns[dir="-1"]:hover:active,
.minimonth-nav-btns[dir="1"][chromedir="rtl"]:hover,
.minimonth-nav-btns[dir="1"][chromedir="rtl"]:hover:active {
  -moz-image-region: rect(13px 5px 26px 0px);
}

.minimonth-nav-btns[dir="-1"][disabled],
.minimonth-nav-btns[dir="1"][disabled][chromedir="rtl"] {
  -moz-image-region: rect(26px 5px 39px 0px);
}

.minimonth-nav-btns[dir="0"] {
  -moz-image-region: rect(0px 16px 13px 5px);
}

.minimonth-nav-btns[dir="0"]:hover,
.minimonth-nav-btns[dir="0"]:hover:active {
  -moz-image-region: rect(13px 16px 26px 5px);
}

.minimonth-nav-btns[dir="0"][disabled] {
  -moz-image-region: rect(26px 16px 39px 5px);
}

.minimonth-nav-btns[dir="1"],
.minimonth-nav-btns[dir="-1"][chromedir="rtl"] {
  -moz-image-region: rect(0px 21px 13px 16px);
}
.minimonth-nav-btns[dir="1"]:hover,
.minimonth-nav-btns[dir="1"]:hover:active,
.minimonth-nav-btns[dir="-1"][chromedir="rtl"]:hover,
.minimonth-nav-btns[dir="-1"][chromedir="rtl"]:hover:active {
  -moz-image-region: rect(13px 21px 26px 16px);
}

.minimonth-nav-btns[dir="1"][disabled],
.minimonth-nav-btns[dir="1"][disabled][chromedir="rtl"] {
  -moz-image-region: rect(26px 21px 39px 16px);
}

.minimonth-row-header {
  text-align: center;
}

.minimonth-day {
  color: #2E4E73;
  text-align: center;
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #F0F0F0;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  background-color: #F0F0F0;
  min-height: 16px;
}

.minimonth-day[othermonth="true"] {
  color: #b2b2b2;
  background-color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.minimonth-day[today="true"] {
  background-color: #dfeaf4;
  border-top: 1px solid #BAC4CC;
  border-bottom: 1px solid #E8F5FF;
  border-left: 1px solid #BAC4CC;
  border-right: 1px solid #E8F5FF;
}

.minimonth-day[selected="true"] {
  background-color: #FFE79C;
  color: #2E4E73;
  border: 1px solid #D9C585;
}

.minimonth-day[busy] {
  font-weight: bold;
}

.minimonth-day:hover[interactive] {
  cursor: pointer;
  border: 1px solid Highlight;
}

.minimonth-day:active[interactive] {
  background-color: Highlight;
  color: HighlightText;
}

.minimonth-list {
  -moz-padding-start: 1em;
  -moz-padding-end: 1em;
}

.minimonth-list[current="true"] {
  font-weight: bold;
}

.minimonth-list:hover {
  background-color: Highlight;
  color: HighlightText;
  cursor: pointer;
}
