.datepicker {
	border: 1px solid @color-gray-3;
	border-radius: @global-radius;
	.box-shadow(none);
	top: 0;
	left: 0;
	margin-top: 1px;
	z-index: 9999;
	.typography-rule(1,@family-weight-regular);
	.generate-spacing-rule(1,padding,all);
	&:before {
		content: '';
		display: inline-block;
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		border-bottom: 7px solid @color-gray-3;
		border-top: 0;
		border-bottom-color: @color-gray-3;
		position: absolute;
	}
	&:after {
		content: '';
		display: inline-block;
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-bottom: 6px solid white;
		border-top: 0;
		position: absolute;
	}
	&.datepicker-orient-left {
		&:before {
			left: 6px;
		}
		&:after {
			left: 7px;
		}
	}
	&.datepicker-orient-right {
		&:before {
			right: 6px;
		}
		&:after {
			right: 7px;
		}
	}
	&.datepicker-orient-bottom {
		&:before {
			top: -7px;
		}
		&:after {
			top: -6px;
		}
	}
	&.datepicker-orient-top {
		&:before {
			bottom: -7px;
			border-bottom: 0;
			border-top: 7px solid @color-gray-3;
		}
		&:after {
			bottom: -6px;
			border-bottom: 0;
			border-top: 6px solid white;
		}
	}
	> div {
		display: none;
	}
	table {
		width: 100%;
		margin: 0;
		tr {
			border: 0 !important;
		}
	}
	td,
	th {
		border-radius: @global-radius;
		text-align: center;
		width: 30px;
		height: 30px;
	}
	td {
		color: @color-gray-5;
		&.day {
			&.disabled {
				color: @color-gray-7;
				&:hover {
					color: @color-gray-7;
					background: none;
					cursor: default;
				}
			}
			&:hover {
				background: @color-gray-9;
				cursor: pointer;
			}
		}
		&.range-start,
		&.range-end {
			color: white !important;
			background: @color-gray-7;
			&:hover {
				background: @color-gray-7;
			}
		}
		&.range {
			background: @color-gray-9;
			border-radius: 0;
			&:hover {
				background: @color-gray-9;
			}
		}
		&.old,
		&.new {
			color: @color-gray-7;
		}
		&.active,
		&.active:hover {
			color: white;
			background: @color_main;
		}
		span {
			border-radius: @global-radius;
			line-height: 54px;
			display: block;
			float: left;
			width: 47px;
			height: 54px;
			margin: 2px;
			cursor: pointer;
			&:hover {
				background: @color-gray-9;
			}
			&.active {
				color: white;
				background: @color_main;
			}
			&.old {
				color: @color-gray-9;
			}
		}
	}

	th {
		color: @color-gray-2;
		&.switch {
			width: 145px;
		}
		&.next,
		&.prev {
			.typography-rule(1,@family-weight-regular);
			&:hover {
				color: white;
				background: @color_main;
			}
		}
	}

	thead {
		.datepicker-switch {
			.typography-rule(1,light);
		}
		tr {
			&:first-of-type {
				th {
					cursor: pointer;
				}
			}
			&:last-of-type {
				th {
					.generate-spacing-rule(0,padding,all);
					.generate-spacing-rule(2,padding,bottom);
				}
			}
		}
	}

	.today,
	.clear {
		color: @color-gray-6;
		&:hover {
			background: @color-gray-9;
			cursor: pointer;
		}
	}
}