﻿/* DATE PICKER CONTROL */

/* The "button" created beside each input for non-static datePickers */
a.date-picker-control:link,
a.date-picker-control:visited,
a.date-picker-control:hover,
a.date-picker-control:active,
a.date-picker-control:focus {
  display: -moz-inline-stack;
	border: 0;
	padding: 0;
	margin: 0 0 0 4px;
	background: transparent url(../img/icon-16x16-calendar.gif) top left no-repeat;
	width: 16px;
	height: 20px;
	line-height: 1;
	cursor: pointer;
	visibility: visible;
	text-decoration: none;
	vertical-align: middle;
}

/* Feed IE6 the following rule, IE7 should handle the min-width declared above */
* html a.date-picker-control {
	width: 16px;
}
a.date-picker-control {
	/* IE, Safari & Opera. Seperate CSS rule seems to be required. */
  display:inline-block;
}

a.date-picker-control span {
	display: block;
	width: 16px;
	height: 16px;
	margin: auto 0;
}

/* DATE PICKER OVERLAY */

div.datePicker {
	position: absolute;
	width: 200px;
	z-index: 9999;
	text-align: center;

	background: transparent;
	background: White;

/* Change the font-size to suit your design's CSS. The following line is for the demo that has a 12px font-size defined on the body tag */
	font-family: arial, sans-serif;
	font-size: 10px;
	line-height: 10px;

	/* Mozilla & Webkit extensions to stop text-selection. Remove if you wish to validate the CSS */
  -moz-user-select: none;
	-khtml-user-select: none;

}

/* Styles for the static datePickers */
div.staticDP {
	position: relative;
	top: 5px;
	left: 0;
}

/* The iframe hack to cover selectlists in Internet Explorer <= v6 */
iframe.iehack {
	position:absolute;
	background:#fff;
	z-index:9998;
	padding:0;
	border:0;
	display:none;
	margin:0;
}

/* TABLE */

div.datePicker table {
	position: relative;
	margin: 0;
	padding: 0;
	border: 1px solid #999;
	background:#fff;
	text-align:center;
	width:100%;
	border-spacing: 1px;
	table-layout: fixed;
	border-collapse: separate;
}

/* TABLE HEAD */

/* title */
div.datePicker table thead th.date-picker-title {
	width: auto;
	height: auto;
	padding: 0.4em 0;
}

div.datePicker th span.month-display, div.datePicker th span.year-display {
	font-family: arial, sans-serif;
	font-size: 12px;
	font-weight:bold;
	line-height: 12px;
	cursor:default;
}

/* today button */
div.datePicker th span.today-but {
	text-align:center;
	margin:0 auto;
	font-size: 12px;
	font-weight: bold;
	line-height: 12px;
	width:100%;
	text-decoration: none;
	text-transform: none;
	color: #06c;
	cursor: pointer !important
}

/* The next & previous buttons */
div.datePicker th span.prev-but,
div.datePicker th span.next-but {
	display: inline;
	padding: 0;
	margin: 0;
	color: Black;
	font-family: arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 12px;
	text-align: center;
	border-width: 0;
	background: transparent;
	cursor: pointer;
	color: #06c; 
}

div.datePicker th span.date_from-prev-year.but,
div.datePicker th span.date_from-next-year.but {
	display: none;
}

/*
div.datePicker th span.prev-but, 
div.datePicker th span.next-but {
	font-size: 12px;
	line-height: 18px;
	font-weight: bold;
	cursor: pointer !important;
	color: #06c; 
}*/

div.datePicker thead th span.fd-disabled {
	color: #aaa; !important;
	cursor: default !important;
}

/* day headers */
div.datePicker table th.date-picker-day-header {
	text-transform: uppercase;
	width: 100%;
	text-align: left;
/*	background: #ccc; */
	padding: 5px 5px 5px 5px; /*BORG*/
	color: #aaa;
	font-weight: normal;
	text-align: center;
	/*display: none;*/
}

div.datePicker table th.date-picker-day-header span {
	display: block;
}

/* TABLE BODY */

div.datePicker table td {
	border: 1px solid #d0e8f9;
	padding: 0;

/*	text-align: center;
	vertical-align: middle; */

	text-align: left;
	vertical-align: top;
	padding: 2px 4px;

	/* Opera requires a line-height bigger than 1em in order to redraw properly */
	cursor: pointer;
	width: 20px;
	height: 20px !important;
	outline: none;
	background: #d0e8f9;
	
	font-size: 12px;
	line-height: 1.2em;
	font-weight: bold;
	color: #06c;
}

div.datePicker table th {
	border:0 none;
	padding:0;
	line-height:1em;
	font-weight:bold;
	color:#222;
	text-align: center;
	vertical-align:middle;
}

/* UNUSED */

div.datePicker table td.date-picker-unused {
	background: White;
	border-color: White;
	padding: 0;
	cursor: default !important;
}



/* SELECTED DATE */
div.datePicker table td.date-picker-selected-date {
/*	color: #06c !important; */
	border-color:#06c !important;
}

/* The date "out of range" style */
div.datePicker table td.out-of-range {
	background: White !important;
	color: #999 !important;
	cursor: default !important;
}

/* The "disabled days" style */
div.datePicker table td.day-disabled {
	color: #aaa !important;
	background: transparent !important;
	cursor: default !important;
}

/* hover */
div.datePicker table tbody td.date-picker-hover {
	background: #06c;
	color: White;
	cursor: pointer;
	border-color: #06c;
}

/* TODAY */
div.datePicker table td.date-picker-today { }

/* SATURDAY & SUNDAY */
td.date-picker-highlight {
}

/* Remove the images for Internet Explorer <= v6 using the "* html" hack */
* html div.datePicker table td {
	background-image: none;
}
* html div.datePicker table td.date-picker-unused {
	background: #f2f2f2;
}

/* yearbuttons */
div.datePicker th span.prev-but, div.datePicker th span.next-but{
font-weight:bold; 
font-size:30px;
display:block;
width: 35px;
}
