/* datepicker */

.datepicker {
	table tr td span,
	&.dropdown-menu {
		border-radius: 0;
	}
	table tr td,
	table tr th {
		font-size: 12px;
		&:hover {
			.border-radius(0);
		}
		&.old,
		&.new {
			color: #bbb;
		}
	}
	table tr:nth-child(2) th {
		border-width: 0 1px 1px 0;
		border-style: solid;
		border-color: #e8e8e8;
		font-weight: normal;
		color: #2574A9;
		&:last-child {
			border-right: none;
		}
	}
	table tr td {
		border-width: 0 1px 1px 0;
		border-style: solid;
		border-color: #e8e8e8;
		padding: 0;
		&:last-child {
			border-right: none;
		}
		&.active,
		.active{
			background: #2574A9 !important;
			border: none !important;
			.box-shadow(inset 0 0 0 1px darken(#2574A9, 12%)) !important;
			.border-radius(0) !important;
		}
		&.selected,
		.selected {
			background: #2574A9 !important;
			border: none !important;
			.box-shadow(inset 0 0 0 1px darken(#2574A9, 12%)) !important;
			.border-radius(0) !important;
		}
        &.range,
        &.range:hover {
            background: #f2f8fc;
        }
	}
	
	table tr:last-child td {
		border-bottom: none;
	}
	table tr td span {
		width: 25%;
		margin: 0;
		border-width: 0 1px 1px 0;
		border-style: solid;
		border-color: #e8e8e8;
		&:nth-child(4n) {
			border-right: none;
		}
		&:nth-last-child(-n+4) {
			border-bottom: none;
		}
	}
	&.datepicker-inline {
		border: 1px solid #eee;
	}
}

.open .dropdown-toggle.datepicker {
	table tr td {
		&.active,
		.active {
			background: #2574A9 !important;
			border: none !important;
			.box-shadow(inset 0 0 0 1px darken(#2574A9, 12%)) !important;
			.border-radius(0) !important;
		}
		&.selected,
		.selected {
			background: #2574A9 !important;
			border: none !important;
			.box-shadow(inset 0 0 0 1px darken(#2574A9, 12%)) !important;
			.border-radius(0) !important;
		}
		
	}	
}

