.gbt-setup-wizard
{
	margin: 100px auto 24px;
	box-shadow: none;
	padding: 0;
	background: #F1F1F1;
	color: #444;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	margin: 45px auto 75px;
	padding: 0 20px 10px;
	max-width: 700px;
	text-align: center;

	// General
	a
	{
		text-decoration: none;
		color: #B1B0B0;
		font-size: 14px;
		line-height: 28px;
		transition: color .3s;

		&.wc-return-to-dashboard
		{
			&:hover
			{
				color: #00a0d2;
			}

			.dashicons {
				font-size: 14px;
				line-height: 28px;
				margin-right: 8px;
				width: 14px;
			}
		}
	}

	img
	{
		max-width: 100%;
	}

	h1
	{
		margin: 0;
		font-size: 24px;
		font-weight: 500;
		line-height: 31px;
		color: #666666;
	}

	.button
	{
		text-decoration: none;
		border: 1px solid #CCCCCC;
		border-radius: 3px;
		box-shadow: inset 0 -2px 0 0 #CCCCCC;
		background-color: #F7F7F7;
		color: #FFFFFF;
		font-size: 20px;
		color: #555555;
		line-height: 23px;
		padding: 7px 25px 11px;
		display: inline-block;
		transition: all .5s;

		&.install
		{
			background-color: #FF7657;
			color: #FFF;
			box-shadow: inset 0 -2px 0 0 #D7654B;
			border: 1px solid #D7654B;
			padding: 8px 18px 11px 25px;

			&:after
			{
				content: "\f345";
				display: inline-block;
				font: 400 20px/1 dashicons;
				margin-left: 5px;
				speak: none;
				vertical-align: middle;
				margin-top: -5px;
			}

			&.doing-ajax
			{
				background-color: inherit;
				color: #555555;
				box-shadow: inset 0 -2px 0 0 #CCCCCC;
				border: 1px solid #CCCCCC;

				&:after
				{
					content: "";
				}
			}

			&.done-ajax,
			&.failed-ajax
			{
				&:after
				{
					content: "";
				}
			}
		}

		&:hover
		{
			opacity: .9;
		}


		&.doing-ajax
		{
			pointer-events: none;
			opacity: 0.5;

			&:before
			{
				width: 16px;
				height: 16px;
				margin-right: 8px;
				margin-top: -4px;
				display: inline-block;
				vertical-align: middle;
				background: url(../images/spinner.gif);
				content: "";
				background-size: contain;
				background-repeat: no-repeat;
			}
		}

		&.done-ajax
		{
			pointer-events: all;
			background: #81B536;
			color: #FFF;
			box-shadow: inset 0 -2px 0 0 #68ab37;
			border: 1px solid #68ab37;
		}

		&.failed-ajax
		{
			background: #DD322A;
			color: #FFF;
			box-shadow: inset 0 -2px 0 0 #a72d27;
			border: 1px solid #a72d27;
		}

	}

	.button-primary
	{
		color: #FFFFFF;
		background-color: #FF7657;
		border: 1px solid #D7654B;
		box-shadow: inset 0 -2px 0 0 #D7654B;
	}

	.wrapper
	{
		box-shadow: 0 1px 3px rgba(0,0,0,.13);
		text-align: center;
		padding: 79px 0 100px;
		margin-bottom: 24px;
		background: #FFF;

		.content-info
		{
			margin-bottom: 20px;
			color: #666666;
			line-height: 28px;
			text-align: left;

			h1
			{
				font-size: 24px;
				font-weight: 500;
				line-height: 28px;
				margin: 0;
			}

			p
			{
				font-size: 16px;
			}

		}

		.buttons
		{
			text-align: right;
			font-size: 0;

			.button
			{
				&.skip
				{
					margin-right: 20px;
				}
			}
		}

		// Wizard Introduction
		&.wizard-introduction
		{
			display: flex;
			align-items: center;
			justify-content: center;
			height: 425px;
			width: 100%;
			padding: 0;

			img
			{

			}

			h1
			{
				color: #FFF;
				font-size: 20px;
				font-weight: bold;
				line-height: 26px;
				margin-bottom: 26px;
			}

			p
			{
				font-size: 13px;
				line-height: 19px;
				color: #FFF;
				margin: 0;
				font-weight: 500;
			}

			.button
			{
				background: #FFF;
				color: #FF7657;
				font-size: 20px;
				font-weight: bold;
				width: 260px;
				padding: 0;
				line-height: 54px;
				margin-bottom: 23px;
			}

		}

		// Plugins
		&.wizard-plugins
		{
			box-sizing: border-box;
			padding: 69px 75px;

			@media (max-width: 640px)
			{
				padding: 30px;
			}

			.recommended-plugins-title
			{
				font-size: 12px;
				font-weight: bold;
				margin: 0;
				border: 0;
				padding: 0;
				color: #666;
				clear: none;
				text-align: left;
				text-transform: uppercase;
			}

			.plugins
			{
				border-bottom: 1px solid #eee;
				margin-top: 0;
				padding: 30px 0;

				li.recommended
				{
					list-style: none;
					text-align: left;
					margin: 1em 0 2em;

					h3
					{
						color: #666666;
						font-size: 11px;
						text-transform: uppercase;
					}
				}

				.plugin
				{
					list-style: none;
					padding-bottom: 2px;
					font-size: 14px;
					line-height: 1.5;
					position: relative;

					&.loading
					{
						.plugin-overlay
						{
							opacity: 1;
							visibility: visible;
							transition: all .2s ease-in-out;
						}
					}

					&:last-child label
					{
						margin-bottom: 0;
					}

					.plugin-overlay
					{
						opacity: 0;
						visibility: hidden;
						position: absolute;
						width: 100%;
						height: 100%;
						background-color: rgba(255, 255, 255, 0.5);
						transition: all .2s ease-in-out;
						z-index: 1;
					}

					.plugin-image
					{
						border: 1px solid #fff;
						border-radius: 15px;
						height: 4em;
						margin-right: 1em;
						margin-left: 4px;
						padding: .3em;
					}

					.plugin-description-container
					{
						width: 100%;
						text-align: left;

						h3
						{
							font-size: 15px;
							font-weight: bold;
							letter-spacing: 0.5px;
							margin: 0;
							border: 0;
							padding: 0;
							color: #666;
							clear: none;
						}

						p
						{
							margin-top: 0;
							line-height: 1.5em;
						}
					}


					input[type="checkbox"]
					{
						opacity: 0;
						position: absolute;
						left: -9999px;
					}

					label
					{
						position: relative;
						padding-left: 28px;
						display: -webkit-box;
						display: flex;
						-webkit-box-align: center;
						align-items: center;
						margin-bottom: 1.5em;

						&:before,
						&:after
						{
							position: absolute;
							content: "";
							display: inline-block;
						}

						&:before
						{
							height: 16px;
							width: 16px;
							left: 0px;
							top: auto;
							border: 1px solid #aaa;
							background-color: #fff;
							border-radius: 3px;
						}

						&:after
						{
							height: 5px;
							width: 9px;
							border-left: 2px solid;
							border-bottom: 2px solid;
							transform: rotate(-45deg);
							left: 4px;
							top: auto;
							margin-top: -1.5px;
							color: #fff;
						}
					}

					input[type="checkbox"] + label::after
					{
						content: none;
					}

					input[type="checkbox"]:checked + label::after
					{
						content: "";
					}

					input[type="checkbox"]:checked + label::before
					{
						background: #FF7657;
						border-color: #FF7657;
					}

					input[type="checkbox"]:checked + label.required::before
					{
						background: #efa999;
						border-color: #efa999;
					}

					.plugin-install
					{
						font-size: 0;
						font-weight: 500;
						width: 55px;

						label,
						span
						{
							font-size: 14px;
							line-height: 21px;
						}

						input
						{
							margin-right: 10px;
							margin-left: 0;
						}

						.plugin-status
						{
							display: inline-block;
							padding-left: 10px;
							vertical-align: middle;

							span.state
							{
								width: 28px;
								height: 28px;
								opacity: 0;
								visibility: hidden;
								transition: all .4s ease-in-out;

								&.state-loading
								{
									mask: url(../images/state-icons/loading.svg) no-repeat 100% 100%;
									background-color: #7d7d7d;
									animation: spin 1.3s infinite linear;
								}

								&.state-success
								{
									mask: url(../images/state-icons/success.svg) no-repeat 100% 100%;
									background-color: #7bbf5e;
								}

								&.state-error
								{
									mask: url(../images/state-icons/error.svg) no-repeat 100% 100%;
									background-color: #f35c5c;
								}

								&.state-loading,
								&.state-success,
								&.state-error
								{
									mask-size: cover;
									display: inline-block;
									opacity: 1;
									visibility: visible;
									transition: all .4s ease-in-out;
								}

								@keyframes spin {
									0%  {-webkit-transform: scaleX(-1) rotate(0deg);}
									100% {-webkit-transform: scaleX(-1) rotate(-360deg);}
								}
							}
						}

						label
						{
							display: inline-block;
							vertical-align: middle;
							margin-left: 4px;
						}

						.plugin-description
						{
							display: block;
							padding-left: 30px;
							color: #9B9B9B;
							font-weight: 500;
						}
					}
				}
			}

			.buttons
			{
				clear: both;
			}

		}

		//demo content import
		&.wizard-demo-import
		{
			padding:  72px 75px;

			@media (max-width: 640px)
			{
				padding: 30px;
			}


			.content-info
			{
				margin-bottom: 35px;

				h1
				{
					// color: #FF7657;
				}
			}

			.demo-icon
			{
				background-color: #FF7657;
				background: url(../images/cncstore-setup.jpg) center center no-repeat;
				background-size: cover;
				padding: 0;
				height: 280px;
				text-align: center;
				margin-bottom: 55px;
				position: relative;
				display: flex;
				align-items: center;
				justify-content: center;

				&.error
				{
					background: #FF7657;

					p.error-info
					{
						color: #FFF;
						font-size: 16px;
						font-weight: 500;
						line-height: 22px;
						max-width: 366px;
						margin: 10px auto 0;
					}
				}


				img
				{
					width: 72px;
				}
			}
		}

		&.wizard-ready
		{
			padding: 0;
			text-align: center;

			.content-done {
				display: flex;
				align-items: center;
				justify-content: center;
				height: 425px;
				width: 100%;
				padding: 0;
				background-repeat: no-repeat;

				img
				{

				}

				h1
				{
					color: #FFF;
					font-size: 20px;
					font-weight: bold;
					line-height: 26px;
					margin-bottom: 26px;
					margin-left: auto;
					margin-right: auto;
					width: 65%;
				}

				p
				{
					font-size: 13px;
					line-height: 19px;
					color: #FFF;
					margin: 0;
					font-weight: 500;
				}

				.button
				{
					background: #FFF;
					color: #FF7657;
					font-size: 20px;
					font-weight: bold;
					width: 260px;
					padding: 0;
					line-height: 54px;
					margin-bottom: 23px;
				}
			}

			.content-info
			{
				text-align: center;
				padding: 35px 94px 49px;
				margin-bottom: 0;

				@media (max-width: 640px)
				{
					padding: 30px;
				}

				h1
				{
					margin: 0 0 15px;
				}

				p
				{
					margin: 0;
				}
			}

			.further-info
			{
				background-color: #F5F5F5;
				text-align: left;
				padding: 52px 64px;

				@media (max-width: 640px)
				{
					padding: 30px;
				}

				&:after
				{
					content: "";
					display: block;
					clear: both;
				}

				h2
				{
					font-size: 18px;
					font-weight: 600;
					line-height: 21px;
					color: #666666;
					margin: 0 0 4px 0;
				}

				.column
				{
					width: 50%;
					vertical-align: top;
					float: left;

					@media (max-width: 640px)
					{
						width: 100%;
						float: none;
					}


					.button
					{
						padding: 15px 89px 16px;
						display: inline-block;
						line-height: 23px;
						font-size: 20px;
					}

					&.last
					{
						width: 40%;
						padding-left: 30px;

						@media (max-width: 640px)
						{
							width: 100%;
							float: none;
							padding: 30px 0 0;
						}
					}
				}

				ul
				{
					list-style-type: none;
					padding: 0;

					li
					{
						a
						{
							color: #FF7657;
							font-weight: 600;
							display: inline-block;

							span
							{
								font-size: 18px;
								margin-right: 10px;
								vertical-align: middle;

							}
						}
					}
				}

			}
		}
	}
}




.gbt-wizard-logo
{
	margin-bottom: 45px;

	img
	{
		width: 74px;
	}
}

ol.gtb-wizard-menu
{
	padding: 0 0 37px;
	margin: 0;
	list-style: none;
	overflow: hidden;
	color: #ccc;
	width: 100%;
	display: inline-flex;

	li
	{
		width: 100px;
		float: left;
		padding: 0 0 .8em;
		margin: 0;
		text-align: center;
		position: relative;
		border-bottom: 4px solid #ccc;
		line-height: 1.4em;
		color: #CCCCCC;
		font-size: 14px;
		line-height: 20px;

		&.active,
		&.done
		{
			border-bottom: 4px solid #FF7657;;

			span
			{
				color: #FF7657;
				font-weight: 500;
			}

			&:before
			{
				border: 4px solid #FF7657;
				background: #FF7657;
			}

		}

		&.done
		{
			&:before
			{
				background: #FF7657;
			}
		}

		&:first-child,
		&:last-child
		{
			width: 300px;
		}

		&:first-child
		{
			text-align: right;

			&:before
			{
				right: 50px;
				left: inherit;
				z-index: 99;
			}

			> span
			{
				padding-right: 30px;
			}
		}

		&:last-child
		{
			text-align: left;

			&:before
			{
				left: 50px;
				right: inherit;
				z-index: 99;
			}

			> span
			{
				padding-left: 30px;
			}
		}


		&:before
		{
			content: '';
			border: 4px solid #ccc;
			border-radius: 100%;
			width: 4px;
			height: 4px;
			position: absolute;
			bottom: 0;
			left: 50%;
			margin-left: -6px;
			margin-bottom: -8px;
			background: #fff;
		}
	}
}
