﻿/* Datepicker */
.datepicker
{
	padding: 0 0 0 8px;
	float: left;
}

/* Calendaris */
.datepicker .calendars
{
	display: inline-block;
	text-align: center;
	margin: 0;
	width: 815px;
	float: left;
	padding: 6px 0 18px 0;
}

.datepicker table td.img
{
	padding: 5px;
	width: auto;
	background: transparent url(../images/buttons/image-button-middle.png) repeat-x 0 -1px;
}

/** Calendars **/
.datepicker .calendars ul#calendars_controls
{
	list-style-type: none;
	font-weight: bold;
	margin: auto;
	padding: 0 0 22px;
	width: 108px;
}

.datepicker .calendars ul#calendars_controls li
{
	display: inline;
}

.datepicker .calendars ul#calendars_controls li a
{
	display: inline-block;
	height: 20px;
	padding: 2px 0 0;
	text-decoration: none;
	width: 30px;
}

.datepicker .calendars #calendars_container, 
.datepicker .calendars a.prev, 
.datepicker .calendars a.next
{
	float: left;
}

.datepicker .calendars a.prev,
.datepicker .calendars a.next
{
	text-decoration: none;
	width: 18px;
	height: 18px;
	position: relative;
	z-index: 10;
}

.datepicker .calendars a.next
{
    margin-left: 2px;
	background: url(    '../images/buttons/datepicker-right.png' ) no-repeat 0 0;
}
.datepicker .calendars a.prev
{
	margin-right: 2px;
	background: url(    '../images/buttons/datepicker-left.png' ) no-repeat 0 0;
}

/** Calendars Table **/
.datepicker .calendars table
{
	display: inline;
	display: inline-block;
	font-size: 12px;
	float: left;
	background: #fff;
	border-collapse: collapse;
	
	margin: 0 5px;
}

.datepicker .calendars table caption
{
	background-color: #EFEFEF;
	color: #868686;
	padding-bottom: 1px;
	margin-left: -1px;
	font-size: 16px;
	line-height: 18px;
	vertical-align: middle;
}

.datepicker .calendars .weekdays table
{
	margin: 0;
}

.datepicker .calendars .weekdays th,
.datepicker .calendars table tbody td
{
	margin: 0;
	padding: 1px;
	text-align: center;
	font-size: 15px;
	width: 22px;
	line-height: 22px;
}

.datepicker .calendars .weekdays
{
	padding-bottom: 1px;
}

.datepicker .calendars .weekdays th
{
	color: #868686;
	font-weight: normal;
	border: 1px solid #868686;
}

.datepicker .calendars table tbody td
{
	border-top: 1px solid white;
	border-left: 1px solid white;
	cursor: pointer;
}

/* Seleccions */
.datepicker .calendars table tbody td.active
{
	border-top: 1px solid #EFEFEF;
	border-left: 1px solid #EFEFEF;
	color: #868686;
}

.datepicker .calendars table tbody td.unselectable
{
	color: #ccc;
	cursor: default;
}

.datepicker .calendars table tbody td.selected
{
	background-color: #0079B2;
	color: white;
}

/* Ranges */

.datepicker .calendars table tbody td.beyond
{
	color: #ccc;
}

.datepicker .calendars table tbody td.beyond_selected
{
	background-color: #99C8EB;
	color: #fff;
}

.datepicker .calendars table tbody td.startendrange
{
	background-image: url(    '../images/dropdowns/datepicker-selection.png' );
	background-position: 0 0;
	background-repeat: no-repeat;
}

/* Controls */
.datepicker .controls
{
	float: left;
	position: relative;
	margin-left: -25px;
}

.datepicker .controls .today-button {
    cursor: pointer;
    margin-top: 58px;
}

.datepicker .controls .export-button {
    cursor: pointer;
    margin-top: 18px;
}