/**
 * Redakční systém JSR
 * datedit.css
 * Soubor s CSS styly pro date picker (datedit)
 *
 * @author Josef Šmíd <josef@skit.cz>
 * @copyright (c) 2007-2016 Josef Šmíd
 * @version 1.9.0
 */

/* button for displaying calender */
button.datedit 
{
  background: #E2E2E2 url('./button.png') center center no-repeat;
  width: 24px;
  height: 24px;
  cursor: pointer;
  vertical-align: middle;
  margin: 2px;
  border: none;
}

/* hide button text */
button.datedit span 
{
  display: none;
}

/* main calendar DIV */
div.datedit 
{
  background-color: #f9f1e7;
  border: 1px solid #776767;
  padding: 2px;
  text-align: center;
  font-size: 12px;
  width: 18em;  
  border-radius: 3px;
  color: #441f1f;
}

/* dont underline links in calendar */
div.datedit a 
{
  text-decoration: none;
}

/* calendar header */
div.datedit div.top 
{
  font-weight: bolder;
  padding: 2px;
}

/* month & year link */
div.datedit div.top a 
{
  
}

/* month & year link hover effect */
div.datedit div.top a:hover 
{
  text-decoration: underline;
}

/* previous / next month buttons */
div.datedit div.top a.navig 
{
  position: absolute;
  width: 16px;
  height: 16px;
  top: 3px;
}

/* previous month button */
div.datedit div.top a.prev 
{
  left: 4px;
  background: url('./prev_mon.png') no-repeat;
}

/* next month button */
div.datedit div.top a.next 
{
  right: 4px;
  background: url('./next_mon.png') no-repeat;
}

/* hide text in previous / next month buttons */
div.datedit div.top a.navig span 
{
  display: none;
}

/* month / year drop-down lists style */
ul.dateditSelector 
{
  position: absolute;
  z-index: 1;
  margin: 0;
  border: 1px solid #776767;
  background-color: #FFFFFF;
  line-height: 120%;
  text-align: left;
  padding: 0 0 2px 0;
  list-style-type: none;
  font-size: 12px;
  border-radius: 3px;
  color: #441f1f;
}

ul.dateditSelector li 
{
  padding: 0;
  margin: 0;
}

/* selected item highlight */
ul.dateditSelector li.sel a 
{
  background-color: #FFF0B3;
}

/* drop-down list header */
ul.dateditSelector li.head 
{
  text-align: center;
  font-weight: bolder;
  background-color: #f9f1e7;
  margin-bottom: 2px;
  padding: 4px 6px;
}

/* drop-down list item */
ul.dateditSelector a 
{
  display: block;
  text-decoration: none;
  color: #441f1f;
  padding: 2px 6px;
}

/* drop-down list item hover effect */
ul.dateditSelector a:hover,
ul.dateditSelector li.sel a:hover 
{
  background-color: #FFF0B3;
}

/* drop-down list item additional info */
ul.dateditSelector li a span 
{
  color: #808080;
  margin-left: 1em;
}

/* inner area of calendar */
div.datedit div.inner 
{
  background-color: #fff;
}

/* table cell padding */
.datedit td 
{
  padding: 0;
}

/* calendar content */
div.datedit div.inner table 
{
  padding: 0;
  margin: 0;
  line-height: 1;
  border-spacing: 2px;
  width: 100%;
  /* background: url('header.png') repeat-x left 3.4ex; */
}

/* cells size */
div.datedit div.inner table td,
div.datedit div.inner table th {
  width: 14.2857142857143%; /* = 100/7% */
  border-spacing: 0;
  text-align: right;
  overflow: hidden;
}

/* day item */
div.datedit div.inner table td a 
{
  display: block;
  color: #441f1f;
  padding: 5px 1px;
}

/* day item hover effect */
div.datedit div.inner table td a:hover,
div.datedit div.inner table td.weekend a:hover 
{
  background-color: #FFF0B3;
}

/* inactive day item (day of another month) */
div.datedit div.inner table td.inact 
{
  background-color: transparent;
  color: #A0A0A0;
  padding: 2px;
}

/* today day item */
div.datedit div.inner table td.today a 
{
  background-color: #FFF0B3
}

/* weekend day item */
div.datedit div.inner table td.weekend a 
{
}

/* selected day item */
div.datedit div.inner table td.sel a 
{
}

/* day item background */
div.datedit div.inner table td 
{
  background-color: #fff;
}

/* day names */
div.datedit div.inner table th {
  font-weight: bolder;
  text-align: center;
  line-height: 1.4;
  padding-bottom: 1ex;
}

/* time edit area */
div.datedit div.time 
{
  margin: 4px 2px;
  text-align: right;
}

/* time edit inputs */
div.datedit div.time input 
{
  width: 1.5em;
  font-size: 12px;
  background-color: #fff;
  border: 1px solid #776767;
  padding: 2px;
  height: 2.2ex;
  text-align: center;
}

/* up / down buttons area */
div.datedit div.time div 
{
  display: inline;
  position: relative;
  padding-right: 20px;
  vertical-align: bottom;
}

div.datedit div.time span 
{
  display: none;
}

/* up / down buttons */
div.datedit div.time button 
{
  position: absolute;
  width: 18px;
  height: 65%;
  padding: 0;
}

/* up / down buttons opera */
div.datedit div.time a 
{
  padding: 0 4px;
  cursor: hand;
}

/* up button */
div.datedit div.time .btn1 
{
  top: -4px;
  background: url('up.png') no-repeat center center;
}

/* down button */
div.datedit div.time .btn2 
{
  bottom: 0;
  background: url('down.png') no-repeat center center;
}
