.tooltip {
	max-width: 300px;
	padding: 0 !important;
	z-index: 9997;
	&.in {
		opacity: 1;
		filter: alpha(opacity=100); 
	}
	&.top {
		top: -100%;
		margin-top: -5px !important;
		.tooltip-inner {
			&:after,
			&:before {
				top: 100%;
				left: 50%;
			}
			&:after {
				border-top-color: white;
				margin-left: -7px;
			}
			&:before {
				border-top-color: @color-gray-9;
				margin-left: -10px;
			}
		}
	}
	&.bottom {
		.tooltip-inner {
			&:after,
			&:before {
				bottom: 100%;
				left: 50%;
			}
			&:after {
				border-bottom-color: white;
				margin-left: -7px;
			}
			&:before {
				border-bottom-color: @color-gray-9;
				margin-left: -10px;
			}
		}
	}
	&.right {
		.tooltip-inner {
			&:after,
			&:before {
				top: 50%;
				right: 100%;
			}
			&:after {
				border-right-color: white;
				margin-top: -7px;
			}
			&:before {
				border-right-color: @color-gray-9;
				margin-top: -10px;
			}
		}
	}
	.tooltip-inner {
		color: @color-gray-3;
		background: white;
		border: 1px solid @color-gray-9;
		border-radius: 0;
		text-align: center;
		position: relative;
		.typography-rule(0);
		.generate-spacing-rule(1,padding,all);
		&:before,
		&:after {
			content: "";
			border: solid transparent;
			position: absolute;
			pointer-events: none;
		}
		&:after {
			border-color: rgba(255,255,255,0);
			border-width: 7px;
		}
		&:before {
			border-color: rgba(255,255,255,0);
			border-width: 10px;
		}
	}
}