* {
	box-sizing: border-box;
}
body {
	font-family: soleil, sans-serif;
	-webkit-font-smoothing: antialiased !important;
}


.hero-bg {
	background-image: url(../images/bg.jpg);
	background-size: cover;
	background-position: top center;
}

.img-logo {
	max-width: 200px;
	padding: 20px 0;
}

h2.main-heading {
	font-size: 3em;
	text-align: center;
	margin: 130px auto 40px auto;
	color: #fff;
	font-weight: 300;
}

h2.form-heading {
	font-size: 1.8em;
	font-weight: 300;
	text-align: center;
	max-width: 600px;
	margin: 0 auto 50px auto;
	line-height: 1.3;
	color: #222;
}

.main-form {
	background-color: rgba(255,255,255,.3);
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 300px;
}

.form-bg {
	min-height: 600px;
	min-height: 90vh;
	background-color: #f8f8f8;
	padding-top: 50px;
}

.form-label-row {
	text-align: right;
}

.form-label {
	line-height: 40px;
	font-size: 1em;
	font-weight: 300;
}

.nextsteps-field {
	position: relative;
	top: 30px;
	left: 0;
	opacity: 0;
	visibility: hidden;
	height: 0;
	width: 100%;
	padding: 10px 20px 33px;
	transition-property: all;
	transition-duration: 0.2s;
	transition-timing-function: linear;
	transition-delay: 0s;
	margin-bottom: 50px;
}

.nextsteps-field.active {
	height: auto;
	opacity: 1;
	visibility: visible;
	transition-property: all;
	transition-duration: 0.2s;
	transition-timing-function: linear;
	transition-delay: 0s;
	top: 0;
}

.select-row {
}

.custom-select {
	width: 300px;
}

.toggles {
	border: 1px solid #54544F;
	border-radius: 2px;
	overflow: hidden;
}

.toggles input[type=radio] {
	display: none;
}

.toggles label {
	display: inline-block;
	background-color: #fff;
	padding: 5px 0;
	width: 50%;
	float: left;
	text-align: center;
	font-size: 2em;
	font-weight: bold;
	color: #afd0d6;
	margin: 0;
	position: relative;
	z-index: 1;
	cursor: pointer;
}

.toggles input:checked + label {
	background-color: #577399;
	color: #fff;
	z-index: 999;
	box-shadow: 0px 0px 12px 0px #555;
}

.radio-icon {
	max-width: 17px;
	margin-top: -6px;
}

.custom-textinput {
	font-size: 1.3em;
	font-weight: 400;
	color: #222;
	padding: 13px 25px;
	height: auto;
	border-radius: 2px;
	border: 1px solid #54544F;
}

.form-label {
	font-size: 1.2em;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
	background-color: #FE5F55;
	border: 0px;
	display: block;
	width: 100%;
	text-align: center;
	font-weight: 700;
	color: #fff;
	font-size: 1.5em;
	letter-spacing: 1px;
	font-style: italic;
	padding: 11px 20px;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
	background-color: #647FA6;
	text-transform: uppercase;
	border: 0px;
	display: block;
	width: 290px;
	text-align: center;
	font-weight: 700;
	color: #fff;
	font-size: 1.5em;
	letter-spacing: 1px;
	font-style: italic;
	padding: 11px 20px;
	margin: 0 auto;
}

.hr-container {
	position: relative;
}
div.hr {
	width: 100%;
	margin: 60px auto 40px auto;
	height: 2px;
	background: #bbb;
}
div.hr:after {
	content:'';
	position: absolute;
	border-style: solid;
	border-width: 15px 15px 0;
	border-color: #f8f8f8 transparent;
	display: block;
	width: 0;
	z-index: 1;
	top: 0;
	left: 50%;
	left: calc(50% - 15px);
}
div.hr:before {
	content:'';
	position: absolute;
	border-style: solid;
	border-width: 15px 15px 0;
	border-color: #bbb transparent;
	display: block;
	width: 0;
	z-index: 1;
	top: 2px;
	left: 50%;
	left: calc(50% - 15px);
}

/* Pretty Radio Buttons */

.inputGroup {
  display: block;
  margin: 10px 0;
  position: relative;
}

.inputGroup label {
	font-size: 1.2em;
	font-weight: 800;
	border-radius: 2px;
  padding: 15px 20px 17px 55px;
  width: 300px;
  display: block;
  text-align: left;
  color: #577399;
  border: 1px solid #577399;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.inputGroup label:before {
  width: 28px;
  height: 28px;
  content: "";
  border: 1px solid #d1d7dc;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
  background-repeat: no-repeat;
  background-position: 2px 3px;
  border-radius: 50%;
  z-index: 2;
  position: absolute;
  left: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
  transition: all 200ms ease-in;
}

.inputGroup input:checked ~ label:before {
  background-color: #476aa4;
  border-color: #476aa4;
}

.inputGroup input {
  width: 28px;
  height: 28px;
  order: 1;
  z-index: 2;
  position: absolute;
  left: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
  visibility: hidden;
}

.textinput-border {
	border: 1px solid #ced4da;
	border-radius: .25rem;
}

.input-container {
	width: 50%;
	float: left;
	position: relative;
}

.input-container-weight {
	position: relative;
}

.input-container:after,
.input-container-weight:after {
	position: absolute;
	right: 15px;
	top: 11px;
	font-size: 1.2em;
	color: #888;
}

input.height {
	border: 0px;
	width: 100%;
	padding-right: 40px;
	padding-top: 11px;
	padding-bottom: 13px;
	padding-left: 30px;
	height: auto;
	position: relative;
	font-size: 1.2em;
	background-image: none !important;
}

input.weight {
	width: 100%;
	padding-right: 40px;
	padding-top: 11px;
	padding-bottom: 13px;
	padding-left: 30px;
	height: auto;
	position: relative;
	font-size: 1.2em;
	background-image: none !important;
}

.large-textinput {
	padding-top: 11px;
	padding-bottom: 13px;
	height: auto;
	font-size: 1.2em;
}

input.height-ft {
	border-radius: .25rem 0 0 .25rem;
}

.input-container-ft:after {
	content: 'ft.';
}

input.height-in {
	border-radius: 0 .25rem .25rem 0;
}

.input-container-in:after {
	content: 'in.';
}

.input-container-weight:after {
	content: 'lbs.';
}

.contact-container {
	max-width: 600px;
	margin: 0 auto;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

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

.invalid-feedback-lg {
	font-size: 1em;
	font-weight: bold;
	color: #fff;
	background-color: red;
}

.thankyou-paragraph {
	font-size: 18px;
	max-width: 650px;
	margin-left: auto;
	margin-right: auto;
}

/* How it works */

.how-it-works {
	padding-top: 50px;
	padding-bottom: 50px;
}

.how-it-works-headline {
	text-align: center;
	color: #4d4d4d;
}

.step:before {
	content: attr(data-step);
	display: block;
	position: relative;
	left: 45%;
	left: calc(50% - 24px);
	width: 48px;
	height: 48px;
	border: 2px solid #577399;
	border-radius: 50%;
	font-size: 1.3em;
	padding-top: 7px;
	margin-bottom: 16px;
}

.step {
	text-align: center;
	margin-top: 40px;
}

/* Footer */

.footer {
	background-color: #54544F;
	color: #ccc;
	padding: 40px 0 10px 0;
}

.footer p {
	font-size: .8em;
	text-align: center;
}

.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: #ccc;
	text-align: center;
	font-size: .9em;
	font-weight: 300;
}
.footer-links a:hover {
	color: #aaa;
}

@media screen and (max-width: 767px) {
	.form-label-row {
		text-align: center;
	}

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

	h2.main-heading {
		font-size: 2em;
		margin: 80px auto 40px auto;
	}

	h2.form-heading {
		margin: 0 auto 30px auto;
	}

	.form-bg {
		padding-top: 30px;
	}

	.sm-mb {
		margin-bottom: 8px;
	}

	.sm-mb-3 {
		margin-bottom: 1rem;
	}
}