.loading {
	color: @color_main;
	text-align: center;
	display: none;
	align-self: center;
	position: relative;
	clear: both;
	.typography-rule(2);
	.generate-spacing-rule(3,padding,top,20px);
	.generate-spacing-rule(2,margin,center);
	span {
		position: absolute;
		top: 0;
		left: 50%;
		margin: 0 0 0 -12px;
		.animation(spin 1.5s infinite linear);
	}
	svg {
		stroke: @color_main;
	}
}

.loading--circle {
	border: 6px solid @loading-overlay-icon-border-color;
	border-left-color: @loading-overlay-icon-border-left-color;
	border-radius: 50%;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	transform: translateZ(0);
    .animation(spin 1.1s infinite linear);
	&:after {
		content: "";
		border-radius: 50%;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}
}

.loading--circle--main {
	border: 3px solid @color-gray-9;
	border-left-color: @color_main;
	position: static;
	margin: 0 auto;
}

.loading_state {
	text-align: center;
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	.translate(-50%,-50%);
	&:before,
	&:after,
	span {
		background: white;
		border-radius: 50%;
		display: inline-block;
		width: 6px;
		height: 6px;
	    .animation(button_loading_state 1.4s infinite ease-in-out);
	}
	&:before,
	&:after {
		content: "";
		position: relative;
	}
	&:before {
		.animation-delay(-0.32s);
	}
	span {
		.animation-delay(-0.16s);
		.generate-spacing-rule(1,margin,left);
		.generate-spacing-rule(1,margin,right);
	}
}

.suggestion--loading {
	&:before,
	&:after {
		content: "";
		background: white;
		border-radius: 50%;
		display: block;
		position: absolute;
		top: 10px;
		right: 15px;
		width: 30px;
		height: 30px;
	}
	&:before {
		border: 3px solid @color-gray-3;
		border-left-color: white;
		transform: translateZ(0);
		.animation(spin 1.1s infinite linear);
		z-index: 1;
	}
	input {
		padding-right: 55px;
	}
}