html,
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 100%;
}

h1 {
	font-size: 1.8em;
	font-weight: 600;
	margin-top: 40px;
}

h2 {
	font-size: 1.1em;
	margin-top: 20px;
	font-weight: 300;
}

h4 {
	font-size: 1.3em;
	font-weight: 600;
}

a.phone-cta,
p.phone-cta {
	color: #ff8800;
	font-size: 2em;
	font-weight: 500;
	display: block;
}

#floatingChatLink {
	transition: opacity 0.3s;
	position: fixed;
	right: 10px;
	bottom: 0;
}

.floating-chat-button {
	width: 130px;
}

.main-content {
	min-height: calc(100vh - 90px);
}

.invalid-feedback {
	text-align: left;
}

.footer {
	background-color: #f6f6f6;
}

.footer-info {
	font-size: .9em;
	font-weight: 300;
}

.footer-legal {
	font-size: .7em;
	font-weight: 300;
}

.headlines {
	height: auto;
	transition: height 0.3s ease-out;
}

.part-two-headlines,
.dui-headlines {
	height: auto;
	transition: height 0.3s ease-out;
}

.dui-headlines {
	display: none;
	opacity: 0;
}

.percentage-text {
	text-align: center;
	font-size: .8em;
	margin-bottom: 0;
}

.thank-you-paragraph {
	font-weight: 300;
	font-size: .95em;
}

.logo-row {
	background-color: #fafafa;
	padding-top: 11px;
	padding-bottom: 11px;
	-webkit-box-shadow: 0 5px 6px 0px #ccc;
		 -moz-box-shadow: 0 5px 6px 0px #ccc;
					box-shadow: 0 5px 6px 0px #ccc;
}

.spinner-border.loading {
	border-top-color: #1e448f;
	border-bottom-color: #1e448f;
	border-left-color: #1e448f;
}

.tcpa-compliance {
	font-size: .7em;
	color: #aaa;
}

.footer-links ul {
	list-style: none;
	text-align: center;
	padding: 0;
}

.footer-links li {
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
}/* ie needs position:relative here*/

.footer-links a {
	text-decoration: none;
	color: #aaa;
	text-align: center;
	font-size: .7em;
	font-weight: 300;
}
.footer-links a:hover {
	color: #000;
}

.review-box {
	text-align: left;
	background-color: #fafafa;
	padding: 20px;
	margin-bottom: 15px;
}

.review-name {
	font-weight: 600;
	margin-bottom: 0;
}

.review-img img {
	max-width: 100px;
}

.review-date {
	text-align: right;
	float: right;
}

.review-text {
	font-weight: 300;
	font-size: .93em;
}

/* Images */

.logo {
	max-width: 280px;
}

.bbb-review-img {
	display: block;
	max-width: 200px;
	margin: 20px auto;
}

/* Form Elements */

.main-form {
	position: relative;
}

.question {
	margin-bottom: 100px;
}

.question,
.thank-you-headlines,
.thank-you-headlines-2,
.thank-you-headlines-accident {
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	transition: opacity 0.3s ease-out;
}

#prequalifier {
	transition: opacity 0.3s;
}

#headline-container {
	transition: opacity 0.3s;
}

.button-options {
	max-width: 400px;
	margin: 15px auto 0 auto;
}

.button-options .btn-group-toggle .btn-primary {
	width: 100%;
	margin-top: 15px;
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 1.2em;
	font-weight: 600;
	background-color: transparent;
	color: #1e448f;
	border-color: #1e448f;
	border-width: 1px;
}

.button-options .btn-group-toggle .btn-primary.btn-decline {
	font-size: 14px;
	padding-top: 8px;
	padding-bottom: 8px;
	border: 0;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):hover {
	background-color: #1e448f;
	color: #fff;
	cursor: pointer;
}

.btn-outline-primary.btn-next {
	min-width: 200px;
	margin-top: 15px;
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 1.2em;
	font-weight: 600;
	background-color: transparent;
	color: #1e448f;
	border-color: #1e448f;
	border-width: 1px;
}

.btn-outline-primary.btn-next:hover {
	background-color: #1e448f;
	color: #fff;
	cursor: pointer;
}

.btn-outline-primary.btn-green {
	min-width: 200px;
	margin-top: 15px;
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 1.2em;
	font-weight: 700;
	background-color: #448f1e;
	color: #fff;
	border-color: #448f1e;
	border-width: 1px;
}

.btn-outline-primary.btn-green:hover {
	background-color: transparent;
	border-color: #448f1e;
	color: #448f1e;
	cursor: pointer;
}

.custom-select-lg {
	font-size: 1em;
	padding-left: 12px;
}

.was-validated .form-control.is-invalid { /* classes need to take priority */
		border-color: #dc3545 !important;
		background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") !important;
		background-repeat: no-repeat !important;
		background-position: center right calc(.375em + .1875rem) !important;
		background-size: calc(.75em + .375rem) calc(.75em + .375rem) !important;
}

.was-validated .form-control.is-invalid:focus {
	box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important;
}

/* Floating Labels */

.form-label-group {
	position: relative;
	margin-bottom: .6rem;
}

.form-label-group > input,
.form-label-group > label {
	height: 3.125rem;
	padding: .75rem;
	text-align: left;
}

.form-label-group > label {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	margin-bottom: 0; /* Override default `<label>` margin */
	line-height: 1.5;
	color: #495057;
	pointer-events: none;
	cursor: text; /* Match the input under the label */
	border: 1px solid transparent;
	border-radius: .25rem;
	transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
	color: transparent;
}

.form-label-group input:-ms-input-placeholder {
	color: transparent;
}

.form-label-group input::-ms-input-placeholder {
	color: transparent;
}

.form-label-group input::-moz-placeholder {
	color: transparent;
}

.form-label-group input::placeholder {
	color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
	padding-top: 1.25rem;
	padding-bottom: .25rem;
}

.form-label-group input:not(:placeholder-shown) ~ label {
	padding-top: .25rem;
	padding-bottom: .25rem;
	font-size: 12px;
	color: #777;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
	.form-label-group > label {
		display: none;
	}
	.form-label-group input::-ms-input-placeholder {
		color: #777;
	}
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.form-label-group > label {
		display: none;
	}
	.form-label-group input:-ms-input-placeholder {
		color: #777;
	}
}

@media screen and (max-width: 767px) {
	h1 {
		font-weight: 400;
		font-size: 1.4em;
		margin-top: 24px;
	}

	h2 {
		font-size: 1em;
		margin-top: 10px;
	}

	h4 {
		font-size: 1.1em;
		font-weight: 600;
	}

	.logo {
		max-width: 240px;
	}
}

[v-cloak] {
  display: none;
}

/* Vue Transitions */
.slide-fade-enter-active,
.slide-fade-leave-active {
	transition: all .3s ease;
}
.slide-fade-enter, .slide-fade-leave-to {
	transform: translateY(-10px);
	opacity: 0;
}
.question-fade-enter-active,
.question-fade-leave-active {
	transition: all .4s ease;
}
.question-fade-enter {
	/*transform: translateX(150px);*/
	opacity: 0;
}

.question-fade-leave-to {
	/*transform: translateX(-250px);*/
	opacity: 0;
}

@media (hover: none) {
	.btn-primary:not(:disabled):not(.disabled):hover {
		background-color: #fff;
		color: #1e448f;
	}

	.btn-primary:not(:disabled):not(.disabled):active,
	.btn-primary:not(:disabled):not(.disabled):focus {
		background-color: #1e448f;
		color: #fff;
	}
}

.modal-link,
.tcpa-compliance a {
	color: #1e448f;
}

.modal-link:hover {
	text-decoration: underline;
}

.modal {
	display: unset;
}

.modal-body {
	max-height: 500px;
	max-height: 80vh;
	overflow: scroll;
}