/* Styles for the example page */
.formcustom {
	z-index: 10;
}
.FormElement6 {
	z-index: 50;
}
/* Date picker specific styles follow */

a.date-picker {

	width: 37px;
	height: 21px;
	border: none;
	color: #fff;
	padding: 0;
	margin: 0;
	float: left;
	overflow: hidden;
	cursor: pointer;
	background-image: url(/sw/backend/cal/calendar.gif);
	background-position: top right;
	background-repeat: no-repeat; 
}
a.date-picker span {
	margin: 0 0 0 -2000px;
}
div.date-picker-holder, div.date-picker-holder * {
	margin: 0;
	padding: 0;
}
div.date-picker-holder {
 	xborder: 1px solid blue;
	position: relative;
	z-index: 9999;
}
div.date-picker-holder input {
	float: left;
}
div.popup-calendar {
	display: none;
	position: absolute;
	z-index: 9999;
	top: 0;
	xleft: -16px; /* value for IE */
	margin-left: 3px;
	margin-top: 4px;
	padding: 2px;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	overflow:hidden;
	width: 163px;
}



html>body div.popup-calendar {
	xleft: 99px; /* value for decent browsers */
}
div.popup-calendar div.link-close {
	float: right;
}
div.popup-calendar div.link-prev {
	float: left;
}
div.date-picker-holder div.popup-calendar-wrapper
{
  xz-index: 9999; xposition: absolute; xtop: 0px; xleft: 148px;
  xleft: 0; xmargin-left: 148px;
  xborder: 1px solid red;
  float: left;
}
div.popup-calendar h3 {
	font-size: 1.1em;
	margin: 2px 0 4px 3px;
}
div.popup-calendar div.link-next {
	float: right;
}
div.popup-calendar div a {
	padding: 1px 2px;
	color: #000;
	z-index: 9999;
}
div.popup-calendar div a:hover {
	background-color: #000;
	color: #fff;
}
div.popup-calendar table {
	margin: 0;
}
* html div.popup-calendar table {
	display: inline;
}
div.popup-calendar table th, div.popup-calendar table td {
	background: #eee;
	width: 21px;
	height: 14px;
	text-align: center;
}
div.popup-calendar table td.inactive {
	color: #aaa;
	padding: 1px 0 0;
}
div.popup-calendar table th.weekend, div.popup-calendar table td.weekend {
	background: #f6f6f6;
}
div.popup-calendar table td a {
	display: block;
	border: 1px solid #eee;
	width: 18px;
	height: 12px;
	text-decoration: none;
	color: #333;
	z-index: 9999;
}
div.popup-calendar table td.today a {
	border-color: #aaa;
}
div.popup-calendar table td a.selected, div.popup-calendar table td a:hover {
	background: #333; 
	color: #fff;
}

.date-holder
{
	float:left;
	width: 118px;
}

.date-seperator
{
	float: left;
	width: 20;
	text-align: center;
}


.formcustom div.popup-calendar
{
	xposition: static;
}