/* ***** 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): Garth Smedley <garths@oeone.com>
 *                 Mike Potter <mikep@oeone.com>
 *                 Matthew Willis <mattwillis@gmail.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 ***** */



/*-------------------------------------------------------------------
 *   Time field and button (modified from skin/eventDialog.css)
 *-------------------------------------------------------------------*/

.timepicker-box-class {
}

.timepicker-text-class {
}

.timepicker-button-class {
  background-image : url("chrome://calendar/skin/datetimepickers/clock_up.png");
  background-repeat: no-repeat;
  background-position : left center;
}

.timepicker-button-class[disabled="true"],
.timepicker-button-class[disabled="true"]:hover,
.timepicker-button-class[disabled="true"]:hover:active {
  background-image: url("chrome://calendar/skin/datetimepickers/clock_disabled.png");
}

.timepicker-button-class:hover,
.timepicker-button-class:hover:active {
  background-image: url("chrome://calendar/skin/datetimepickers/clock_hover.png");
}

.menu-right {
  visibility : hidden;
}

/*-------------------------------------------------------------------
 *   popup (from timepicker/timepicker.css
 *-------------------------------------------------------------------*/

/* Box that occupies whole window */

#timepicker-grids {
  background-color : #F8F8F8;
  font-size        : 8pt;
  margin-bottom    : 1px;
  margin-right     : 1px;
}

/* Box that holds the am/pm boxes */

#oe-time-picker-ampm-controls-box {
  border: 1px solid #2060c7; 
}

/* Style for selected am/pm box */

.oe-time-picker-am-pm-box-class[selected="true"] {
  background-color : #6699CC;
}

.oe-time-picker-am-pm-box-class {
  -moz-box-pack : center;
}


/* Grid for hours */

#oe-time-picker-hour-grid {
  border-top  : 1px solid #2060c7; 
  border-left : 1px solid #2060c7; 
  margin-top  : 1px;
}

/* Box in each cell of the grid for hours */

.oe-time-picker-hour-box-class {
  -moz-box-align : center;
  border-right   : 1px solid #2060c7; 
  border-bottom  : 1px solid #2060c7; 
}

.oe-time-picker-hour-box-class:hover {
  color: #ff0000;
  cursor: pointer;
}

/* selected hour box */

.oe-time-picker-hour-box-class[selected="true"] {
  background-color : #6699CC;
}

.oe-time-picker-hour-name-class:hover {
  color: #ff0000;
  cursor: pointer;
}

/* box around five minute grid */

#oe-time-picker-five-minute-grid-box {
  min-width   : 195px;
  margin-left : 1px;
}

/* five minute grid */

#oe-time-picker-five-minute-grid {
  margin-top       : 2px;
  margin-right     : 2px;
  border-top       : 1px solid #003399; 
  border-left      : 1px solid #003399; 
  border-right     : 1px solid #003399; 
  background-color : #e7eeec;
}


/* box in five-minute grid elements */

.oe-time-picker-five-minute-box-class {
  -moz-box-align : center;
}

.oe-time-picker-five-minute-box-class:hover {
  color: #ff0000;
  cursor: pointer;
}

/* selected five-minute grid element box */

.oe-time-picker-five-minute-box-class[selected="true"] {
  background-color : #6699CC;
}

.oe-time-picker-five-minute-number-class:hover {
  color: #ff0000;
  cursor: pointer;
}

/* box around one minute grid */

#oe-time-picker-one-minute-grid-box {
  min-width   : 195px;
  margin-left : 1px;
}

/* one minute grid */

#oe-time-picker-one-minute-grid {
  margin-top       : 2px;
  margin-right     : 2px;
  border-top       : 1px solid #003399; 
  border-left      : 1px solid #003399; 
  border-right     : 1px solid #003399; 
  background-color : #e7eeec;
}

/* box in one-minute grid elements */

.oe-time-picker-one-minute-box-class {
  -moz-box-align : center;
}

.oe-time-picker-one-minute-box-class:hover {
  color: #ff0000;
  cursor: pointer;
}

/* selected one-minute grid element box */

.oe-time-picker-one-minute-box-class[selected="true"] {
  background-color : #6699CC;
}

.oe-time-picker-one-minute-number-class:hover {
  color: #ff0000;
  cursor: pointer;
}

.oe-time-picker-more-control-label {
  background-color : #6699CC;
  color            : #ffffff;
  font-weight      : bold;
  padding          : 2px 4px;
  min-width        : 40px;
  margin           : 0px;
  border-top       : 1px solid #003399; 
  border-right     : 1px solid #003399; 
  text-align       : center;
}

.oe-time-picker-more-control-label:hover {
   background-color : #477eb7;
}

.oe-time-picker-more-control-label:hover:active {
   background-color       : #2063a8;
}

/* line across the bottom of the minute boxes, made to line up with more & less tabs */

.oe-time-picker-minutes-bottom {
   background-color : #e7eeec;
   border-bottom    : 1px solid #003399; 
   border-left      : 1px solid #003399; 
   border-right     : 1px solid #003399; 
   margin-right     : 2px;
}

