/*=============================================================================================================== jQuery Tools =====*/

/*==================================================================================== dateinput =====*/
#flight, .active, #calroot {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
}

#flight {
	padding: 0;
/*	color: #fff;*/
}

#flight label {
	display: block;
}

#flight #dateinput_box label {
	padding-left: 40px;
}

#flight .active {
	border-bottom:0;
}

.active input {
}

/* date input */
.date {
	background-color: transparent;
	border: 1px solid #bdbcbd;
	color: #bdbcbd;
	cursor: pointer;
	display: block;
	float: left;
	margin-right: 5px;
	padding: 2px 2px 1px 2px;
	text-align: center;
	width: 130px;
}

/* date input trigger element */
.caltrigger {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: url(../images/calendar.png) no-repeat 0 0;
	display: block;
	float: left;
	height: 21px;
	margin-top: -1px;
	width: 30px;
}

.active .caltrigger {
	background-position: 0 -21px;		
}

/* calendar root element */
#calroot {
	/* place on top of other elements. set a higher value if nessessary */
	background-color: #fff;
	border: 1px solid #ccc;
	border-width: 0 1px 1px;
	display: none;
	height: 180px;
	margin: 0 0 0 -7px;
	padding-top: 10px;
	width: 227px;	
	z-index: 10;
}

/* 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:160px;
	line-height:20px;
}

#calnext, #calprev {
	display:block;
	width:20px;
	height:20px;
	background:transparent url(../images/prev.gif) no-repeat scroll center center;
	float:left;
	cursor:pointer;
	margin-left:9px;
}

#calnext {
	background-image:url(../images/next.gif);
	float:right;
	margin-right:9px;
}

#calprev.caldisabled, #calnext.caldisabled {
	visibility:hidden;	
}

/* year/month selector */
#caltitle select {
	font-size:10px;	
}

/* names of the days */
#caldays {
	height:14px;
	border-bottom:1px solid #ddd;
}

#caldays span {
	display:block;
	float:left;
	width:32px;
	text-align:center;
	font-size:11px;
}

/* container for weeks */
#calweeks {
	background-color:#fff;
	margin-top:4px;
}

/* single week */
.calweek {
	clear:left;
	height:22px;
}

/* single day */
.calweek a {
	display:block;
	float:left;
	width:31px;
	height:20px;
	text-decoration:none;
	font-size:11px;
	margin-left:1px;
	text-align:center;
	line-height:20px;
	color:#666;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
} 

/* different states */
.calweek a:hover, .calfocus {
	background-color:#ddd;
}

/* sunday */
a.calsun {
	color:red;		
}

/* offmonth day */
a.caloff {
	color:#ccc;		
}

a.caloff:hover {
	background-color:rgb(245, 245, 250);		
}

/* unselecteble day */
a.caldisabled {
	background-color:#efefef !important;
	color:#ccc	!important;
	cursor:default;
}

/* current date */
#calcurrent {
	background-color:#498CE2;
	color:#fff;
}

/* today */
#caltoday {
	background-color:#999;
	color:#fff;
}

