/* Style the calendar custom widget */
.date-range {
	position:relative;
}
.date-range-field {
	/*height: 22px;*/
	overflow: hidden;
	position: relative;
	cursor:pointer;
	border: 1px solid #CCCCCC;
	border-radius: 5px 5px 5px 5px;
	background-color: white;
	margin-bottom: 10px;
}
.date-range-field a  {
	color:#D2D2D2;
	/*background-color:#F7F7F7;*/
	text-align:center;
	display: block;
	position: absolute;
	width: 26px;
	/*height: 23px;*/
	top: 0;
	right: 0;
	text-decoration: none;
	padding-top:2px;
	border-radius: 0 5px 5px 0;
}
.date-range-field span {
	font-size: 12px;
	font-weight: bold;
	color: #404040;
	position: relative;
	top: 0;
	/*height: 26px;
	line-height: 26px;
 */
	left: 5px;
	text-align: center;
}

#datepicker-dropdown, #datepickersingle-dropdown {
	position: absolute;
	top: 23px;
	left: 0;
	overflow: hidden;
	width: 528px;
	/*height:300px;*/
	background-color: #F7F7F7;
	border: 1px solid #c0c0c0;
	display:none;
	padding:5px;
	font-size: 12px;
	color: #000 !important;
	box-shadow: 0px 2px 13px -2px #404040;
}

/* Remove default border from the custom widget since we're adding our own.  TODO: rework the dropdown calendar to use the default borders */
#datepicker-dropdown div.datepicker, #datepickersingle-dropdown div.datepicker{
	background-color: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
}

.datepicker-calendar {
	float: left;
}

.datepicker-compare-calendar {
	clear: both;
	float: left;
}

/*.date-range-field span.comparison-divider, */
.date-range-field span.comparison {
	text-align: left;
	display: block;
	color: gray;
	font-weight: normal;
	font-size: 60%;
}

#datepicker-dropdown .right, #datepickersingle-dropdown .right{
	float:left;
}

.datepicker, .date-ranges-form {
	float: left;
}

.date-ranges-form {
	width:100%;
	margin:0px;
	margin-top:10px;
}

.dr1.active {
	border-color: #07C;
	background-color: #B0DEFF;
	color: #004A88;
}

.dr2.active {
	border-color: #86BE2B;
}

span.aggregation {
	background: #eee;
	border: #ccc 1px solid;
	border-radius: 4px;
	margin-right: 5px;
	margin-top: 4px;
	padding: 2px 3px 0 3px;
	float: left;
	height: 20px;
}