
/* For the details, see: http://flowplayer.org/tools/dateinput/index.html#skinning */

/* the input field */
/* 
.date1 {
	border:1px solid #ccc;
	font-size:18px;
	padding:4px;
	text-align:center;
	width:194px;
	
	-moz-box-shadow:0 0 10px #eee inset;
	-webkit-box-shadow:0 0 10px #eee inset;
}
*/

/* calendar root element */
#calroot {
	/* place on top of other elements. set a higher value if nessessary */
	z-index:10000;
	color: #fff;
	margin-top:-1px;
	width:181px;
	padding:2px;
	background-color:#3b3b3b;
	font-size:11px;
	border:1px solid #4a4a4a;
	
	/*-moz-border-radius:5px;
	-webkit-border-radius:5px;
	
	-moz-box-shadow: 0 0 15px #666;
	-webkit-box-shadow: 0 0 15px #666;	*/
}

/* head. contains title, prev/next month controls and possible month/year selectors */
#calhead {	
	padding:2px 0;
	height:22px;
} 

#caltitle {
	font-size:14px;
	color:#0150D1;	
	float:left;
	text-align:center;
	width:141px;
	line-height:20px;
	text-shadow:0 1px 0 #ddd;
}

#calnext, #calprev {
	display:block;
	width:20px;
	height:20px;
	background:transparent url(prev.png) no-repeat scroll center center;
	float:left;
	cursor:pointer;
}

#calnext {
	background-image:url(next.png);
	float:right;
}

#calprev.caldisabled, #calnext.caldisabled {
	visibility:hidden;	
}

/* year/month selector */
#caltitle select {
	font-size:10px;	
	outline: none;
}

/* names of the days */
#caldays {
	height:20px;
	border-bottom:1px solid #4a4a4a;
}

#caldays span {
	display:block;
	float:left;
	width:25px;
	text-align:center;
}

/* container for weeks */
#calweeks {
	background-color:#3b3b3b;
	margin-top:4px;
}

/* single week */
.calweek {
	clear:left;
	height:22px;
}

/* single day */
.calweek a {
	display:block;
	float:left;
	width:24px;
	height:20px;
	text-decoration:none;
	font-size:11px;
	margin-left:1px;
	text-align:center;
	line-height:20px;
	color:#ffffff;
	-moz-border-radius:3px;
	-webkit-border-radius:3px; 		
} 

/* different states */
.calweek a:hover, .calfocus {
	background-color:#1e1e1e;
}

/* sunday */
a.calsun {
	color:red;		
}

/* offmonth day */
a.caloff {
	color:#888888;		
}

a.caloff:hover {
	background-color:#1e1e1e;		
}


/* unselecteble day */
a.caldisabled {
	/*background-color:#efefef !important;*/
	color:#555555	!important;
	cursor:default;
}

a.caldisabled:hover{
	background-color:#3b3b3b;		
}

/* current day */
#calcurrent {
	background-color:#666666;
	color:#fff;
}

/* today */
#caltoday {
	/*background-color:#333;*/
	/*color:#fff;*/
}

/* validate error message */
label.validate_error {
	color: red;
  font-weight: bold;
  padding-left: 10px;
}

label.validate_valid {}

input.validate_error {
  border:solid 1px red;
}

input.validate_valid {
  border:solid 1px green;
}

textarea.validate_error {
  border:solid 1px red;
}

textarea.validate_valid {
  border:solid 1px green;
}

.error {
	color: red;
  font-weight: bold;
}