/*******************************************************************************
 * Aikar's Minecraft Timings Parser
 * Written by Aikar <aikar@aikar.co>
 * http://aikar.co
 * http://starlis.com
 *
 * @license MIT
 ******************************************************************************/

#history-selector {
	#tps-graph {
		width: 98%;
		height: 200px;
	}
	padding: 10px;
	text-align: center;

	width: 69.5%;

	#time-selector {
		height: 20px;
		width: auto;
		margin-left: 5px;

		text-align: center;
		padding: 0;
		position: relative;

	}

	canvas {
		height: 220px !important;
	}
}

.canvas-wrapper {
	width: 100%;
	margin: auto;
}

.rc-slider {
	position: relative;
	height: 18px;
	padding: 5px 0;
	width: 100%;
	border-radius: 6px;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.rc-slider * {
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.rc-slider-rail {
	position: absolute;
	width: 100%;
	background-color: $theme-color;
	height: 4px;
	margin-top: 2px;
}

.rc-slider-track {
	position: absolute;
	left: 0;
	height: 8px;
	border-radius: 6px;
	background-color: $theme-color-light;
}

.rc-slider-handle {
	position: absolute;
	margin-left: -7px;
	margin-top: -5px;
	width: 18px;
	height: 18px;
	cursor: pointer;
	border-radius: 50%;
	border: solid 1px darken($theme-accent, 10);
	background-color: $theme-accent;
}

.rc-slider-handle:hover {
	border: solid 1px darken($theme-accent, 10);
	background-color: darken($theme-accent, 10);
}

.rc-slider-handle-active:active {
	border-color: $theme-color;
	box-shadow: 0 0 5px $theme-accent;
}

.rc-slider-mark {
	position: absolute;
	top: 18px;
	left: 0;
	width: 100%;
	font-size: 12px;
}

.rc-slider-mark-text {
	position: absolute;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	color: #999;
}

.rc-slider-mark-text-active {
	color: #666;
}

.rc-slider-step {
	position: absolute;
	width: 100%;
	height: 4px;
	background: transparent;
}

.rc-slider-dot {
	position: absolute;
	bottom: -5px;
	margin-left: -4px;
	width: 10px;
	height: 10px;
	border: 2px solid $theme-background-alt;
	background-color: $theme-background;
	cursor: pointer;
	border-radius: 50%;
	vertical-align: middle;
}

.rc-slider-dot:first-child {
	margin-left: -4px;
}

.rc-slider-dot:last-child {
	margin-left: -4px;
}

.rc-slider-dot-active {
	background-color: $theme-accent;
	border-color: $theme-accent;
}

.rc-slider-disabled {
	background-color: #e9e9e9;
}

.rc-slider-disabled .rc-slider-track {
	background-color: #ccc;
}

.rc-slider-disabled .rc-slider-handle,
.rc-slider-disabled .rc-slider-dot {
	border-color: #ccc;
	background-color: #fff;
	cursor: not-allowed;
}

.rc-slider-disabled .rc-slider-mark-text,
.rc-slider-disabled .rc-slider-dot {
	cursor: not-allowed !important;
}

.rc-slider-vertical {
	width: 14px;
	height: 100%;
	padding: 0 5px;
}

.rc-slider-vertical .rc-slider-rail {
	height: 100%;
	width: 4px;
}

.rc-slider-vertical .rc-slider-track {
	left: 5px;
	bottom: 0;
	width: 4px;
}

.rc-slider-vertical .rc-slider-handle {
	margin-left: -5px;
	margin-bottom: -7px;
}

.rc-slider-vertical .rc-slider-mark {
	top: 0;
	left: 18px;
	height: 100%;
}

.rc-slider-vertical .rc-slider-step {
	height: 100%;
	width: 4px;
}

.rc-slider-vertical .rc-slider-dot {
	left: 2px;
	margin-bottom: -4px;
}

.rc-slider-vertical .rc-slider-dot:first-child {
	margin-bottom: -4px;
}

.rc-slider-vertical .rc-slider-dot:last-child {
	margin-bottom: -4px;
}

.rc-slider-tooltip-zoom-down-enter,
.rc-slider-tooltip-zoom-down-appear {
	-webkit-animation-duration: .3s;
	animation-duration: .3s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	display: block !important;
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
}

.rc-slider-tooltip-zoom-down-leave {
	-webkit-animation-duration: .3s;
	animation-duration: .3s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	display: block !important;
	-webkit-animation-play-state: paused;
	animation-play-state: paused;
}

.rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
.rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
	-webkit-animation-name: rcSliderTooltipZoomDownIn;
	animation-name: rcSliderTooltipZoomDownIn;
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

.rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
	-webkit-animation-name: rcSliderTooltipZoomDownOut;
	animation-name: rcSliderTooltipZoomDownOut;
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

.rc-slider-tooltip-zoom-down-enter,
.rc-slider-tooltip-zoom-down-appear {
	-webkit-transform: scale(0, 0);
	transform: scale(0, 0);
	-webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
	animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

.rc-slider-tooltip-zoom-down-leave {
	-webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
	animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
}

@-webkit-keyframes rcSliderTooltipZoomDownIn {
	0% {
		opacity: 0;
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(0, 0);
		transform: scale(0, 0);
	}
	100% {
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(1, 1);
		transform: scale(1, 1);
	}
}

@keyframes rcSliderTooltipZoomDownIn {
	0% {
		opacity: 0;
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(0, 0);
		transform: scale(0, 0);
	}
	100% {
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(1, 1);
		transform: scale(1, 1);
	}
}

@-webkit-keyframes rcSliderTooltipZoomDownOut {
	0% {
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(1, 1);
		transform: scale(1, 1);
	}
	100% {
		opacity: 0;
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(0, 0);
		transform: scale(0, 0);
	}
}

@keyframes rcSliderTooltipZoomDownOut {
	0% {
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(1, 1);
		transform: scale(1, 1);
	}
	100% {
		opacity: 0;
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		-webkit-transform: scale(0, 0);
		transform: scale(0, 0);
	}
}

.rc-slider-tooltip {
	position: absolute;
	left: -9999px;
	top: -9999px;
	visibility: visible;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.rc-slider-tooltip * {
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.rc-slider-tooltip-hidden {
	display: none;
}

.rc-slider-tooltip-placement-top {
	padding: 4px 0 8px 0;
}

.rc-slider-tooltip-inner {
	padding: 6px 2px;
	min-width: 24px;
	height: 24px;
	font-size: 12px;
	line-height: 1;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: #6c6c6c;
	border-radius: 6px;
	box-shadow: 0 0 4px #d9d9d9;
}

.rc-slider-tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}

.rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
	bottom: 4px;
	left: 50%;
	margin-left: -4px;
	border-width: 4px 4px 0;
	border-top-color: #6c6c6c;
}
