/* NOTE
 * ALL CSS will assume a min width of 890px in order to support older versions of IE as elegently as possible
 * Media Queries will change the css based on browser width
 */
a.logoLink {
	width: 400px;
	max-width: 100%;
	margin: 0 auto;
	display: block;
	text-align: center
}

div.steps {
	text-align: center;
}

div.steps, div.container {
	width: 390px;
	margin: 0 auto;
	font-size: 13px;
	max-width: 100%;
}

div.container {
	margin-top: 3rem;
}

div.steps img.spacer {
	width: 62px;
	height: 4px;
	margin-top: -122px;
	margin-left: -18px;
	margin-right: -18px;
	position:relative;
	z-index: 10;
}

.form-group .btn {
	height: 48px;
}

a.btn {
	padding-top: 14px;
}

span.buypathSprite {
	background-image: url("/assets/images/2.0/course/etrainu-buy-pathway-image-sprite.png");
	background-repeat: no-repeat;
	background-size: 1022px 254px;
	display: inline-block;
}

div.steps > span {
	width: 94px;
	height: 95px;
	position:relative;
	z-index: 1; /* Ensures the span is behind the spacer */
}

span.buypathSprite.loginOrCreate {
	background-position: -30px -28px;
}

span.buypathSprite.create {
	background-position: -155px -28px;
}

span.buypathSprite.login {
	background-position: -155px -142px;
}

span.buypathSprite.loginComplete {
	background-position: -285px -142px;
}

span.buypathSprite.createComplete {
	background-position: -285px -28px;
}

span.buypathSprite.purchase {
	background-position: -408px -28px;
}

span.buypathSprite.purchaseActive {
	background-position: -535px -28px;
}

span.buypathSprite.purchaseComplete {
	background-position: -661px -28px;
}

span.buypathSprite.startTraining {
	background-position: -784px -28px;
}

span.buypathSprite.warning {
	width: 27px;
	height: 25px;
	background-position: -63px -180px;
}

span.buypathSprite.startTrainingActive {
	background-position: -909px -28px;
}

span.buypathSprite.info {
	background-position: -559px -180px;
	width: 15px;
	height: 15px
}
div.steps {
display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */  display: -ms-flexbox;      /* TWEENER - IE 10 */  display: -webkit-flex;     /* NEW - Chrome */  display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}
.step {
	flex-grow: 0;
	flex-shrink: 0;
	width: 10vw;
	max-width: 80px;
	max-height: 80px;
	min-width: 50px;
	min-height: 50px;
	position: relative;
	/* Allows the step to be centred in a space-between container */
	margin: auto;
}
.step .step-circle {
	width: 10vw;
	height: 10vw;
	font-size: 18px;
	color: #dad9dd;
	border: 2px solid #dad9dd;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
	max-width: 80px;
	max-height: 80px;
	min-width: 50px;
	min-height: 50px;
	position: relative;
	margin: 0 auto;
}
.step.complete .step-circle .icon-checkmark {
	position: absolute;
	top: 0;
	right: 0;
	background: #bece23;
	font-size: 8px;
	color: #fff;
	padding: 6px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	font-weight: bold;
}
.step.active .step-circle {
	border: 2px solid #bece23;
	color: #bece23;
}
.step .step-label {
	font-size: 10px;
	text-transform: uppercase;
	text-align: center;
	position: absolute;
	bottom: -10%;
	transform: translateY(100%);
	width: 100%;
}
.step.active .step-label {
	color: #3b677c;
}
.step-between {
	flex-grow: 1;
	flex-shrink: 1;
	background: #dad9dd;
	height: 2px;
	margin-left: 5px;
	margin-right: 5px;
}

.step .step-circle {
	display: flex;
	align-items: center;
	justify-content: center;
}

.container.lms-dialogue-large {
	padding: 2.5rem;
}

.container.lms-dialogue-large .row {
	margin: 0;
}

.container .promo-code-container {
	display: flex;
}

.container.lms-dialogue-large .form-group input {
	width: 100%;
}

.form-group div.select2-container .select2-choice {
	border: none;
	background: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-radius: 0;
	margin-top: 5px;
	color: #898989;
	display: flex;
    align-items: flex-end;
}

.credit-card-container{
	display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.credit-card-container .select2 {
	width: fit-content;
}

.payment-container.lms-dialogue-large {
	width: fit-content;
    margin: auto;
    margin-top: 3rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.payment-container.lms-dialogue-large .payment-header {
	margin-top: 0;
}

@media screen and (max-width: 439px) {
	.step.complete:after {
		top: -3px;
		right: -4px;
	}
}

@media screen and (min-width: 768px) {
	.step .step-circle {
		font-size: 24px;
	}
	.step.complete:after {
		top: 0;
		right: 0;
	}
	.container .button-back {
		padding-top: 1em;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min--moz-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 240dpi) {
	span.buypathSprite {
		background-image: url("/assets/images/2.0/course/etrainu-buy-pathway-image-sprite@2x.png");
	}
}
