/* Utility Classes */

.text-center {
	text-align: center;
}

.u-text-small {
	color: #636363;
	font-size: 15px;
}


/* Page specific */

.congrats__page.congrats__page--ysam {
	background: #fff;
	font-family: 'Lato', sans-serif;
}

.congrats__header {
	border: 1px solid #ced4da;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

.congrats__header>img {
	max-height: 35px;
    object-fit: contain;
}

.congrats__logo--image {
	margin: 0;
	padding: 5px 0;
}

.congrats__disclaimer .u-text-small {
	font-size: 14px;
}

.congrats__frame-text-wrapper {
	background: #fff;
	border-radius: 0;
	margin: 1.5em auto;
	padding: 0;
	position: relative;
}

.congrats__offer {
	-webkit-box-shadow: none;
	        box-shadow: none;
	max-width: 800px;
}

.congrats__offer-content {
	max-width: 620px;
	margin: 0 auto;
}

.congrats__frame-title,
.congrats__frame-sub-title {
	text-shadow: none;
	font-size: 21px;
}

.congrats__frame-title {
	color: #333;
	font-family: 'Caveat', cursive;
	font-weight: bold;
	font-size: 28px;
	line-height: 1;
}

.congrats__frame-sub-title {
	color: #3a3a3a;
	font-family: 'Lato', sans-serif;
}

.offer-count {
	color: #006eba;
	border-radius: 9px;
	background-color: #e8f1ff;
	font-weight: bold;
	padding: 0px 3px;
	margin: 0px 3px;
}

.offer-text h2 {
	font-size: 24px;
	font-weight: normal;
	margin-top: 0;
}

.offer-text .u-text-small {
	padding: 0px 10px;
}

.congrats__disclaimer {
	padding: 0 0 40px 0;
}

.offer-link {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	border: none;
	margin: 20px 0;
	font-family: "Lato", sans-serif;
	font-weight: bold;
	display: block;
	background: #0061ae;
	border-radius: 36px;
	-webkit-box-shadow: 0 3px 10px 0 rgba(99, 99, 99, 0.25);
	        box-shadow: 0 3px 10px 0 rgba(99, 99, 99, 0.25);
	text-shadow: 0 1px 2px rgba(74, 43, 28, 0.75);
	color: white;
	font-size: 28px;
	text-decoration: none;
	padding: 0.65em 0;
	width: 100%;
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
	-webkit-transition: 0.5s background-color;
	-o-transition: 0.5s background-color;
	transition: 0.5s background-color;
}

.offer-link:hover,
.offer-link:focus {
	cursor: pointer;
	background-color: #0061aebd;
	-webkit-transition: 0.5s background-color;
	-o-transition: 0.5s background-color;
	transition: 0.5s background-color;
}

.spacer {
	margin: 60px 0;
}

.custom-width-1 {
	max-width: 470px;
	margin-left: auto;
	margin-right: auto;
	line-height: 21px;
}

.custom-width-2 {
	max-width: 285px;
	margin: 0 auto;
	line-height: 21px;
}

.congrats__frame-sub-title {
    opacity: 0;
	-webkit-animation-name: fadeInOpacity;
	        animation-name: fadeInOpacity;
	-webkit-animation-timing-function: linear;
	        animation-timing-function: linear;
	-webkit-animation-duration: 1s;
	        animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-delay: 2s;
            animation-delay: 2s;
	position: relative;
}

.congrats__frame-loader {
    background-image: url('../images/congrats-loading.gif');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	    transform: translateX(-50%);
	-webkit-animation-name: OutOpacity;
	        animation-name: OutOpacity;
	-webkit-animation-timing-function: step-end;
	        animation-timing-function: step-end;
	-webkit-animation-duration: 2s;
	        animation-duration: 2s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@-webkit-keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@-webkit-keyframes OutOpacity {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@keyframes OutOpacity {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}


/* Page 2 specific styles */

.congrats__page--ysam-2 .congrats__frame-sub-title {
	display: none;
}

.congrats__page--ysam-2 .congrats__frame-title {
	margin-bottom: 0;
}

.congrats__page--ysam-2 .congrats__offer-content {
	max-width: 430px;
}

.input-wrapper {
	max-width: 200px;
	margin: 0 auto 30px auto;
	text-align: left;
}

.label__credit-score {
	color: #8f8f8f;
	font-weight: bold;
	font-size: 14px;
}

.input__credit-score {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	outline: none;
	margin-top: 5px;
	padding: 15px;
	width: 200px;
	height: 56px;
	font-size: 24px;
	border-radius: 3px;
	-webkit-box-shadow: 0 2px 5px 0 rgba(99, 99, 99, 0.2);
	        box-shadow: 0 2px 5px 0 rgba(99, 99, 99, 0.2);
	border: solid 1px #636363;
	-webkit-transition: 0.5s border;
	-o-transition: 0.5s border;
	transition: 0.5s border;
}

.input__credit-score:active,
.input__credit-score:focus,
.input__credit-score:hover {
	border: 1px solid #0061ae;
	-webkit-transition: 0.5s border;
	-o-transition: 0.5s border;
	transition: 0.5s border;
}

.offer-list {
	padding-left: 0;
	list-style-position: inside;
	list-style-type: disclosure-closed;
}

.offer-list li {
	margin: 1rem;
	font-weight: 600;
}

.offer-list li::marker {
	content: '\2713\0020';
}

@media (min-width: 600px) {
	.congrats__header {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row;
	}
	.congrats__header>img {
		max-height: 50px;
	}
	.congrats__logo--image {
		margin: 0 20px 0 0;
		padding: 10px 0;
	}
	.congrats__frame-text-wrapper {
		margin: 35px auto;
	}
	.congrats__frame-title {
		font-size: 36px;
	}
	.congrats__frame-sub-title {
		font-size: 24px;
	}
	.congrats__disclaimer {
		padding-top: 40px;
	}
	.offer-text h2 {
		font-size: 32px;
	}
	.u-text-small {
		font-size: 16px;
	}
	.offer-link {
		padding: 0.5em 0;
	}
	.congrats__page--ysam-2 .offer-link {
		max-width: 270px;
	}
    .input-wrapper {
        margin-bottom: 40px;
    }
}