/* Habillage minimal du datepicker jQuery UI, sans dépendance au thème jQuery UI. */

.sdi-rc .ui-datepicker {
	width: 19em;
	padding: .4em;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	background: #fff;
	font-size: .95em;
}

.sdi-rc .ui-datepicker-header {
	position: relative;
	padding: .5em 0;
	text-align: center;
	font-weight: 700;
}

.sdi-rc .ui-datepicker-prev,
.sdi-rc .ui-datepicker-next {
	position: absolute;
	top: .35em;
	width: 2em;
	height: 1.8em;
	cursor: pointer;
	text-align: center;
	line-height: 1.8em;
	border-radius: 4px;
	overflow: hidden;
	text-indent: -9999px;
}

.sdi-rc .ui-datepicker-prev { left: .2em; }
.sdi-rc .ui-datepicker-next { right: .2em; }

.sdi-rc .ui-datepicker-prev::after,
.sdi-rc .ui-datepicker-next::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-indent: 0;
}

.sdi-rc .ui-datepicker-prev::after { content: "‹"; font-size: 1.5em; line-height: 1.2em; }
.sdi-rc .ui-datepicker-next::after { content: "›"; font-size: 1.5em; line-height: 1.2em; }

.sdi-rc .ui-datepicker-prev:hover,
.sdi-rc .ui-datepicker-next:hover { background: #f0f0f0; }

.sdi-rc .ui-datepicker-prev.ui-state-disabled,
.sdi-rc .ui-datepicker-next.ui-state-disabled { opacity: .25; cursor: default; }

.sdi-rc .ui-datepicker table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.sdi-rc .ui-datepicker th {
	padding: .4em .2em;
	border: 0;
	background: none;
	font-size: .8em;
	font-weight: 600;
	text-align: center;
	color: #777;
}

.sdi-rc .ui-datepicker td {
	padding: 1px;
	border: 0;
	background: none;
	text-align: center;
}

.sdi-rc .ui-datepicker td span,
.sdi-rc .ui-datepicker td a {
	display: block;
	padding: .5em .2em;
	border-radius: 4px;
	text-decoration: none;
	color: #bbb;
}

.sdi-rc .sdi-rc-day--open a {
	background: #eaf4ec;
	color: #1b5e20;
	font-weight: 600;
}

.sdi-rc .sdi-rc-day--open a:hover {
	background: #2e7d32;
	color: #fff;
}

.sdi-rc .sdi-rc-day--closed span {
	color: #ccc;
	text-decoration: line-through;
}

.sdi-rc .ui-datepicker td.ui-datepicker-current-day a,
.sdi-rc .ui-datepicker a.ui-state-active {
	background: #2e7d32;
	color: #fff;
}
