/* compileCompressed: $1.css*/
$body-copy: #494949;
$brand-blue: #042553;
$brand-gold: #dea61b;
$brand-titles: #19355b;
$brand-links: #365ebe;
/*#2b5580;*/
$brand-buttons: $brand-links;
$color-blue-dark: $brand-titles;
$color-blue-medium: #2b5580;
$color-blue-light: $brand-buttons;
$color-blue-lighter: #d4dce5;
$color-grey-dark: $body-copy;
$color-grey-medium: #9D9D9D;
$color-grey-light: #d5d5d5;
$color-grey-lighter: #efefef;
$color-grey-lightest: #fdfdfd;
$color-green: #57b26a;
$color-green-light: #d9f6df;
$color-gold-light: #e6ca85;

$font-custom: Myriad-Pro, Calibri, Arial, Sans Serif;

@font-face {
	font-family: 'Myriad-Pro';
	src: url('../fonts/MyriadWebPro.ttf');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: $font-custom;
	font-size: 16px;
	line-height: 24px;
	color: $body-copy;
	background: $brand-blue;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-width: 768px;
	@media (min-width: 1920px) {
		font-size: 18px;
		line-height: 1.5;
	}
}

h1,
h2,
h3,
h4 {
	margin-top: 0;
	margin-bottom: 10px;

	i.fa {
		font-size: 24px;
		margin-right: 6px;
	}
}

h1 {
	font-weight: 600;
	line-height: 54px;
	color: $brand-blue;
	margin-bottom: 20px;

	small {
		font-size: 14px;
		font-weight: 700;
		text-transform: uppercase;
		color: $brand-blue;
		display: block;
		letter-spacing: 0.1em;
	}
}

h2 {
	font-weight: 600;
	font-size: 24px;
	line-height: 36px;
	color: $body-copy;
	margin-bottom: 20px;
}

h3 {
	font-weight: 400;
	font-size: 28px;
	line-height: 42px;
	color: $brand-titles;
	margin-top: 15px;
}

h4 {
	font-weight: 600;
	font-size: 18px;
	line-height: 27px;
	color: $brand-titles;
	text-transform: uppercase;
}

a {
	color: $brand-links;
	text-decoration: none;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;

	&:focus,
	&:hover {
		color: darken( $brand-links, 10% );
		text-decoration: underline;
		-webkit-transition: all 0.1s eease-in-out;
		transition: all 0.1s eease-in-out;
	}
}

.intro {
	font-size: 18px;
	line-height: 28px;
}

img {
	max-width: 100%;
	height: auto;
}

input[type='text'] {
	&.border-less-heading {
		border: none;
		color: $brand-titles;
		&:focus {
			box-shadow: none;
			outline: none;
		}
	}
}

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

	&.number-spinner {
		-moz-appearance: spinner;
		text-align: right;
	}

}

/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;

	&.number-spinner {
		-moz-appearance: spinner;
	}
}



/* Bootstrap Overrides*/
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
	padding: 12px 16px;
	vertical-align: top;
}

.fact-sheet-question{
	width: 50%;
}

.fact-sheet-answer {
	width: 25%;

	&[readonly] {
		color: #8c8c8c;
		background: #f2f2f2;
	}

	input, textarea {
		height: 25px;
		width: 100%;
		display: table-cell;
		border: none;
		resize: none;
		padding: 2px 2px;

		&:focus {
			box-shadow: none;
			outline: none;
		}

		&[readonly] {
			color: #8c8c8c;
			background: #f2f2f2;
		}
	}

	input {
		text-align: left;
	}
}

.fact-sheet-control {
	&[readonly] {
		color: #8c8c8c;
		background: #f2f2f2;
	}
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	font-size: 16px;

	a {
		color: #494949;
		i {
			color: #494949;
		}

		&:hover {
			text-decoration: none;
		}
	}

	&:hover {
		background: #d4dce5;
	}
}

.fact-sheet-button {
	a {
		padding-right: 6px;
		color: #494949;
		i {
			color: #494949;
			&:hover {
				color: #385dbc;
			}
		}
	}
}


.table-cell-active {
	border: 1px solid #66afe9;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.table > tbody > tr > td.list-builder-button {
	border: none;
}

.table > thead > tr.list-builder-header > th:last-child,
.table > tbody > tr > td:last-child not:first-child {
	width: 1px;
	white-space: nowrap;
}

#claimant_children > thead > tr > th:nth-last-child(-n+2),
#claimant_children > tbody > tr > td:nth-last-child(-n+2) {
	width: 1px;
	white-space: nowrap;
}

.list-builder {
	@extend .table;
	border-collapse: initial;
	width: 100%;
	table-layout: fixed;
	margin-bottom: 48px;
}

.list-builder-compact {
	margin-bottom: 25px;
}

.list-builder-hide-column {
	display: none;
	border: none;
}

.child-item-row {
	height: 50px;
	// exclude last 2 columns because contain buttons
	&:hover td:not(:nth-last-child(-n+2)) {
		background: #d4dce5;
	}
}

.child-support-amount[readonly] {
	background: #f2f2f2;
}

div.dollar-prefix {
	position: relative;

	&:before {
		content: '$ ';
		top: 0;
		height: 100%;
		padding-left: 5px;
		position: absolute;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}

	input {
		text-align: right;
	}
}

div.percent-suffix {
	border: none;
	width: 100%;

	input {
		border: none;
		padding:0px;
		outline: none;
		width: 85%;
		text-align: right;
		display: inline;
	}
	label {
		width: 10%;
		display: inline;
		font-weight: normal;
	}
}

.money {
	text-align: right;
}

.container-wrapper {
	padding: 40px 0;

	&:nth-child(odd) {
		background: $color-grey-lightest;

		input {
			background: #ffffff;
		}
	}
}

.bg-danger {
	position: relative;
	padding: 30px 30px 30px 75px;
	border-radius: 10px;
	margin-bottom: 20px;
	background-color: #fcf8e3;

	&:after {
		content: "\f071";
		font-family: FontAwesome;
		font-style: normal;
		font-weight: normal;
		text-decoration: inherit;
		position: absolute;
		font-size: 24px;
		color: #f0ad4e;
		top: 30px;
		left: 27px;
	}

  &.add-top-margin {
    margin-top: 20px;
  }

	&.hard-stop {
		background-color: #faebe9;

		&:after {
			content: "\f05e";
			font-family: FontAwesome;
			font-style: normal;
			font-weight: normal;
			text-decoration: inherit;
			position: absolute;
			font-size: 24px;
			color: #d9534f;
			top: 30px;
			left: 27px;
		}
	}

  h2 {
    line-height: initial;
    margin-bottom: 10px;
  }

  p + h2 {
    margin-top: 20px;
  }

  #unselected_spouse_alert {
    margin-bottom: 20px;
  }
}

.checkmark {
	background: lighten($color-green, 10%);
	position: relative;
	padding: 22px 20px 20px 90px;
	color: #ffffff;
	border-radius: 10px;
	font-size: 32px;

	&:before {
		content: "\f00c";
		font-family: FontAwesome;
		font-style: normal;
		font-weight: normal;
		text-decoration: inherit;
		position: absolute;
		top: 0;
		bottom: 0;
		margin-top: auto;
		margin-bottom: auto;
		left: 24px;
		font-size: 42px;
		color: #ffffff;
		height: 60px;
	}
}
@media (max-width: 991px) {
	.container {
		width: 100%;
		min-width: 750px;
	}
}

.tooltip.in {
	opacity: 1;
}

.tooltip-inner {
	text-align: left;
	background-color: $brand-links;
	padding: 20px;
	font-size: 16px;
	line-height: 24px;
	max-width: 300px;
	border-radius: 10px;
	font-family: $font-custom;

	&b {
		font-size: 18px;
	}

	a {
		color: #ffffff;
		text-decoration: underline;

		&:focus,
		&:hover {
			color: $color-grey-light;
		}
	}
}

.tooltip-arrow {
	pointer-events: none;
	border-color: rgba(255,255,255,0);
	border-width: 12px !important;
}

.tooltip {
	&.top .tooltip-arrow {
		border-top-color: $brand-links;
		margin-bottom: -16px;
	}

	&.right {
		margin-left: 10px;

		.tooltip-arrow {
			border-right-color: $brand-links;
			margin-left: -12px;
			margin-top: -14px;
		}
	}

	&.bottom .tooltip-arrow {
		border-bottom-color: $brand-links;
		margin-top: -12px;
	}

	&.left {
		margin-left: -10px;

		.tooltip-arrow {
			border-left-color: $brand-links;
			margin-right: -12px;
			margin-top: -14px;
		}
	}
}

.tooltip-link {
	color: $brand-links;
	border-bottom: dotted 1px $brand-links;
	cursor: pointer;

	&:hover {
		color: $brand-blue;
		border-bottom-color: $brand-links;
	}
}

.tooltip-no-link {
	@extend .tooltip-link;
	border-bottom: none;
}

.collapse-trigger {
	& > div {
		color: $color-blue-light;
		border-bottom: solid 1px $color-blue-light;
		display: inline;
		cursor: pointer;

		.tooltip-link {
			border: 0;

			&:hover {
				color: inherit;
			}
		}

		&:after {
			font-family: FontAwesome;
			font-weight: normal;
			font-style: normal;
			display: inline-block;
			text-decoration: inherit;
			padding-left: 10px;
			content: "\f077";
			-webkit-transform-origin: 65% 50%;
			transform-origin: 65% 50%;
			-webkit-transition: all 0.1s ease-in-out;
			transition: all 0.1s ease-in-out;
		}

		&:focus,
		&:hover {
			color: darken( $brand-links, 10% );
			border-bottom: solid 1px darken( $brand-links, 10% );
			-webkit-transition: all 0.1s ease-in-out;
			transition: all 0.1s ease-in-out;
		}
	}
	margin-bottom: 12px;

	&.collapsed div:after {
		-webkit-transform: rotate(-180deg);
		transform: rotate(-180deg);
		-webkit-transform-style: preserve-3D;
		transform-style: preserve-3D;
		-webkit-transform-origin: 65% 50%;
		transform-origin: 65% 50%;
	}
}

.collapse > div,
.collapsing > div {
	margin-bottom: 25px;
}

select.form-control {
	font-size: 16px;
	height: 42px;
}

.form-group input.form-control,
.input-group input.form-control:first-child {
	margin-top: 12px;
	border-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	height: inherit;
	width: inherit;
	float: inherit;
	font-size: inherit;
	padding: 12px 15px;
	line-height: 1em;
  	display: inline;

	&.input-wide {
		width: 70%;
	}
}
/* Buttons & Icons*/
.btn {
	line-height: initial;
	padding: 12px 15px;
}

.btn-primary {
	background: $brand-buttons;

	&:hover {
		background-color: darken($brand-buttons, 20%);
	}
}

i.fa {
	color: $brand-links;

	&.circle {
		border-radius: 50%;
		padding: 10px;
		border: solid 1px $brand-links;
	}
}

i.fa.fa-question-circle {
	margin-left: 5px;
}

.form-buttons {
	margin: 30px 0;

	.btn {
		font-size: 18px;
		border: none;
		border-radius: 10px;
		padding: 12px 15px;
		background-color: $brand-buttons;
		color: #ffffff;
		margin-bottom: 12px;
		-webkit-transition: all 0.1s ease-in-out;
		transition: all 0.1s ease-in-out;

		&:hover {
			background-color: darken($brand-buttons, 20%);
			-webkit-transition: all 0.1s ease-in-out;
			transition: all 0.1s ease-in-out;
		}

		i.fa {
			color: #ffffff;
		}

		&.btn-success {
			background-color: $color-green;
			margin-left: 12px;
			-webkit-transition: all 0.1s ease-in-out;
			transition: all 0.1s ease-in-out;

			&:hover {
				background-color: darken($color-green, 20%);
				-webkit-transition: all 0.1s ease-in-out;
				transition: all 0.1s ease-in-out;
			}
		}
	}
}

.btn-radio {
	color: $brand-titles;
	background-color: $color-blue-lighter;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	padding: 20px 0;
	width: 60px;
	height: 60px;
	border-radius: 30px;
	border: 3px solid $color-blue-lighter;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.btn-radio.active,
.btn-radio:active,
.btn-radio:focus,
.btn-radio:hover,
.open .dropdown-toggle.btn-radio {
	color: #FFFFFF;
	background-color: $brand-links;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.btn-radio.active,
.btn-radio:active,
.open .dropdown-toggle.btn-radio {
	background-image: none;
}

.btn-radio.disabled,
.btn-radio.disabled.active,
.btn-radio.disabled:active,
.btn-radio.disabled:focus,
.btn-radio.disabled:hover,
.btn-radio[disabled],
.btn-radio[disabled].active,
.btn-radio[disabled]:active,
.btn-radio[disabled]:focus,
.btn-radio[disabled]:hover,
fieldset[disabled] .btn-radio,
fieldset[disabled] .btn-radio.active,
fieldset[disabled] .btn-radio:active,
fieldset[disabled] .btn-radio:focus,
fieldset[disabled] .btn-radio:hover {
	background-color: $brand-buttons;
	border-color: $brand-buttons;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.btn-radio + .btn-radio {
	margin-left: 15px;
}

.btn-radio-group {
	margin-bottom: 20px;

	.btn.active.focus,
	.btn.active:focus,
	.btn.focus,
	.btn:active.focus,
	.btn:active:focus,
	.btn:focus {
		outline: none;
	}

	.btn-radio-long {
		width: auto;
		white-space: normal;
		text-transform: none;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		line-height: 1em;
		max-width: 500px;
		display: -webkit-inline-box;
		display: -ms-inline-flexbox;
		display: inline-flex;
		text-align: left;
		padding: 0 20px;
	}
}
/* Form Elements*/
input {
	border-radius: 4px;
	color: #494949;
	padding: 12px 15px;
	border: solid 1px $color-grey-light;
	line-height: 1em;

	&:focus {
		outline: 0;
		box-shadow: inset 0 1px 1px rgba($color-grey-dark,.075), 0 0 4px rgba($color-grey-medium,.5);
	}

	&+i.fa {
		margin-left: 10px;
	}

	&.form-block {
		display: block;
		margin-bottom: 16px;
	}

	&.input-wide {
		width: 70%;
	}

	&.input-narrow {
		max-width: 100px;
	}

	&.input-inline {
		padding: 5px 20px;
		border-radius: 5px;
		margin-left: 5px;
	}

	&.radio-centered {
		margin-top: 15px;
	}
}

.checkbox label,
.radio label {
	margin-bottom: 8px;
	font-weight: 700;

	&.tight-spacing {
		margin-bottom: 2px;
	}
}
.radio p, .checkbox p {
	margin-bottom: 8px;
	margin-left: 21px;
}
.radio .radio-with-textbox {
	display: flex;
	align-items: baseline;
	margin-bottom: 16px;

	input.form-block {
		margin-bottom: 0;
		margin-right: 8px;
	}
}

textarea {
	width: 100%;
	border-radius: 10px;
	color: #494949;
	padding: 12px 15px;
	border: solid 1px $color-grey-light;
	line-height: 24px;
	resize: none;
}
/* Customizations*/
#top_banner {
	background-color: $brand-blue;
	border-bottom: 2px solid $brand-gold;
	padding: 5px 20px 10px;

	.top_banner-logo img {
		width: 148px;
		height: auto;
		float: left;
	}

	p {
		color: #ffffff;
		font-size: 16px;
		line-height: 1em;
		margin-top: 20px;
		margin-left: 35px;
		float: left;

		.beta {
			border: solid 1px #ffffff;
			padding: 4px 8px 3px;
			margin-left: 10px;
			font-size: 12px;
			text-transform: uppercase;

			&.environment-type {
				background-color: #B200FF;
			}
		}
	}

	.top_banner-user {
		color: #fff;
		font-size: 14px;
		float: right;
		margin-top: 16px;

		a {
			color: #ffffff;

			&:active,
			&:hover {
				color: #fcfcfc;
			}
		}
	}
}

#mid_banner {
	background-color: $color-blue-medium;
	font-size: 14px;
	font-weight: 600;

	.mid_banner-dash {
		float: left;
		margin-left: -20px;
	}

	.mid_banner-dash a,
	.mid_banner-link a,
	.more_information-link a {
		padding: 10px 16px;
		float: right;
		margin-left: 6px;

		&.active,
		&:hover {
			color: #fff;
			background-color: $brand-gold;
			text-decoration: none;

			i {
				color: #fff;
			}
		}
	}

	.mid_banner-dash a {
		margin-left: 24px;
	}

	i {
		color: #ffffff;
		padding: 0 10px 0 0;
	}

	a {
		color: #ffffff;
		text-decoration: none;
	}
}

#form_navigation {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;

	form {
		margin-right: 10px;
	}
}

.success-buttons {
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-line-pack: justify;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;

	.flex-row {
		width: 45%;
	}
}


#other_names_fields,
#reconciliation_period_fields {
	.form-inline {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;

		.form-group {
			display: block;
			width: 100%;
			margin-bottom: 5px;
			@media (min-width: 992px) {
				-webkit-box-flex: 1;
				-ms-flex: 1;
				flex: 1;
			}
		}

		.form-control {
			display: inline-block;
			width: auto;
			vertical-align: middle;
			height: 34px;
			margin-top: 0;
			padding: 8px 15px;
		}
		margin-bottom: 10px;
		padding: 10px;
		background: $color-grey-lighter;
		border-radius: 5px;

		label {
			min-width: 45px;
			margin-right: 10px;
			text-align: right;
		}

		&:before {
			display: table;
			content: " ";
		}

		select.response-dropdown {
			margin-right: 5px;
			-webkit-box-flex: 0;
			-ms-flex: 0 0 180px;
			flex: 0 0 180px;
			@media (min-width: 1px) and (max-width: 1199px) {
				margin-bottom: 5px;
				-webkit-box-flex: 0;
				-ms-flex: 0 0 100%;
				flex: 0 0 100%;
			}
		}

		input.response-textbox {
			margin-right: 5px;
			-webkit-box-flex: 1;
			-ms-flex: 1;
			flex: 1;
		}

		input.btn {
			padding: 8px 15px;
			@media (min-width: 992px) {
				-webkit-box-flex: 0;
				-ms-flex: 0 0 70px;
				flex: 0 0 70px;
			}
		}
	}
}

.footer {
	background-color: $brand-blue;
	border-top: 3px solid $brand-gold;
	padding: 15px;

	.footer-container ul {
		list-style-type: none;

		li {
			float: left;
			padding: 2px 10px;
			position: relative;

			a {
				display: block;
				text-align: center;
				color: #ffffff;
				font-size: 13px;
				font-weight: 600;
			}

			&+li {
				border-left: 1px solid #4b5e73;
			}
		}
	}
}

.question-well {
	min-height: 20px;
	padding: 25px;
	margin-top: 25px;
	border: 1px solid $color-grey-light;
	border-radius: 10px;
	background: #ffffff;

	&.hasFocus {
		border: 1px solid $color-blue-light;
		-webkit-transition: 0.1s ease-in-out all;
		transition: 0.1s ease-in-out all;
	}

	h3 {
		margin-top: 0;
	}

	p {
		max-width: 90%;
		margin-bottom: 20px;
	}

	.fact-sheet-table-inline-question {
		margin-bottom: 48px;
	}
}

.question-well-border-less {
	min-height: 20px;
	padding: 25px 25px 0 0;
	margin-top: 25px;
	background: #ffffff;

	h3 {
		margin-top: 20px;
	}

	p {
		max-width: 90%;
	}
}

.review-well {
	border-radius: 10px;
	min-height: 20px;
	margin-bottom: 10px;
	border: 1px solid $color-grey-light;
	background: #ffffff;

	.review-well {
		margin: 0 40px 5px;
	}

	.collapse-trigger {
		padding: 20px 15px;
	}

	.collapse,
	.collapsing {
		border-top: 1px solid $color-grey-light;
		padding: 24px 47px;
	}

	.collapse > div,
	.collapsing > div {
		margin-bottom: 0;
	}

	.review-buttons {
		float: left;
		padding: 0 15px 20px;
		margin: 0 0 0 32px;
		@media (min-width: 991px) {
			float: right;
			padding: 10px 15px;
			margin: 0;
		}

		.fa {
			color: white;
			margin-right: 6px;
		}
	}

	.collapse-trigger {
		margin-bottom: 0;
		display: inline-block;
		width: 100%;
		@media (min-width: 991px) {
			width: initial;
		}

		& > div {
			border-bottom: none;
			font-size: 18px;
			font-weight: 600;
			padding-left: 8px;
			position: relative;

			&:before {
				font-family: FontAwesome;
				font-weight: normal;
				font-style: normal;
				position: absolute;
				text-decoration: inherit;
				left: 0;
				/* padding-right: 10px;*/
				content: "\f077";
				-webkit-transform-origin: 50%;
				transform-origin: 50%;
				-webkit-transition: all 0.1s ease-in-out;
				transition: all 0.1s ease-in-out;
			}

			span {
				display: inline-block;
				margin-left: 24px;
			}

			&:after {
				display: none;
			}
		}

		&.empty {
			display: block;
			border-top: 1px solid $color-grey-light;

			div:before {
				display: none;
			}
		}

		&.collapsed div:before {
			-webkit-transform: rotate(-180deg);
			transform: rotate(-180deg);
			-webkit-transform-style: preserve-3D;
			transform-style: preserve-3D;
			-webkit-transform-origin: 50%;
			transform-origin: 50%;
		}
	}

	.collapse.empty {
		display: inline-block;
		border-top: none;
	}
}

.review-well-no-icon {
	padding-left: 47px;
}

.review-well-child {
	display: inline-block;
	width: 100%;

	.review-buttons {
		margin: 0;
		padding-left: 8px;
		@media (min-width: 991px) {
			margin: initial;
			padding-left: initial;
		}
	}

	.collapse-trigger {
		padding-left: 0;

		& > div {
			color: $color-grey-dark;
			font-weight: normal;
		}
	}
}

.review-child-heading {
	background-color: #D4DCE5;
}

.review-table-spacer {
	&::before  {
		content: '';
	  	display: block;
	  	height: 25px;
	}
}
.print-form-action {
	display: inline-block;
	float: right;

	a {
		text-decoration: none;
	}

	&:after {
		display: none;
	}
}

.step-review {
	.collapse-trigger {
		font-size: 24px;
		display: inline-block;

		&.collapsed {
			margin-bottom: 0;
			-webkit-transition: 0.5s ease-out all;
			transition: 0.5s ease-out all;
		}
	}

	table {
		margin-bottom: 0;

		thead tr {
			background-color: $brand-blue;
			color: #fff;
		}
	}

	.collapse > div,
	.collapsing > div {
		margin-bottom: 0;
	}

	.review-buttons {
		float: right;
		padding: 0 15px 10px;
		margin: 0;
	}
}
/* Column Grid in flexbox */
.row-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 100%;
    overflow: hidden;
    background: #fdfdfd;
    position: relative;

    .col {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        box-sizing: border-box;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;

        &.shroud {
            &:before {
                content: "";
                position: absolute;
                width: 100%;
                display: block;
                height: 100%;
                background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 90%);
                //z-index: 1;
            }
        }
    }

    .content-column {
        /* max-width: 800px;*/
        /* padding: 35px 50px 50px 50px;*/
        max-width: 1280px;
        padding: 36px 6% 50px;
        position: relative;
    }

    .progress-column {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 280px;
        flex: 0 0 280px;
        background-color: $color-grey-lighter;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .dashnav-column {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 280px;
        flex: 0 0 280px;
        background-color: $brand-titles;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .more_information-column {
        background-color: $color-grey-lighter;
        box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.1);
        padding: 20px 45px;
        font-size: 14px;
        line-height: 21px;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        height: auto;

        @media (min-width: 1920px) {
            font-size: 16px;
            line-height: 1.5;
        }

        .more_information-close {
            float: right;
            font-size: 24px;
            margin-top: 3px;

            i.fa {
                color: $brand-blue;
            }
        }

        h2 {
            color: $brand-blue;
            padding-right: 25px;
        }

        h3 {
            font-size: 21px;
            line-height: 28px;
        }
    }

    @media (min-width: 992px) {
        .more_information-column {
            padding: 45px 20px;
            -webkit-box-ordinal-group: 5;
            -ms-flex-order: 4;
            order: 4;
            -webkit-box-flex: 0;
            -ms-flex: 0 0 306px;
            flex: 0 0 306px;
        }
    }

    &.intro-page {
        background: $color-blue-medium url("../img/bg-edivorce__landing.jpg") no-repeat top center fixed;
        background-size: cover;

        .content-column {
            margin: 54px auto 100px;
            max-width: 840px;
            padding: 0 20px;
            text-align: center;
            color: #ffffff;
            position: relative;

            h1,
            h2,
            h3 {
                color: #ffffff;
            }

            h2 {
                font-size: 30px;
                font-weight: 600;
                margin: 42px 0 0;

                &.shaded-box {
                    padding-top: 28px;
                    border-top-left-radius: 8px;
                    border-top-right-radius: 8px;
                }
            }

            .intro {
                font-size: 24px;
                line-height: 36px;
                margin: 0 100px;
            }

            a {
                color: #ffffff;
                text-decoration: none;
            }

            a:focus,
            a:hover {
                text-decoration: underline;

                &.btn {
                    text-decoration: none;
                }
            }

            .btn-group-lg > .btn,
            .btn-lg {
                padding: 12px 40px;
                margin: 10px;
            }

            .flex-wrapper {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                margin: 20px 0;
                text-align: left;
                -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                justify-content: space-between;
                font-size: 18px;

                .flex-column {
                    width: 45%;
                }

                &.shaded-box {
                    padding-top: 22px;
                    padding-bottom: 50px;
                    margin-top: 0;
                    border-bottom-left-radius: 8px;
                    border-bottom-right-radius: 8px;

                    .flex-column {
                        &.left {
                            padding-left: 30px;
                        }

                        &.right {
                            padding-right: 30px;
                        }

                    }
                }

                span.number-circle {
                    border: solid 2px white;
                    padding: 0;
                    border-radius: 40px;
                    width: 40px;
                    height: 40px;
                    display: inline-block;
                    text-align: center;
                    margin-right: 10px;
                    font-size: 21px;
                }
            }
        }
    }
}
/* Side Progress Navigation */
.dashnav-column,
.overview-progress,
.progress-column {
	h4 {
		color: $color-grey-dark;
		padding: 0 18px;
		margin-top: 36px;
		font-size: 14px;
		letter-spacing: 0.1em;
	}

	.progress-question {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		height: 72px;
		margin-bottom: 12px;
		padding: 0 18px;

		.progress-icon {
			-webkit-box-flex: 0;
			-ms-flex: 0 0 46px;
			flex: 0 0 46px;

			i {
				font-size: 20px;
				border: solid 1px $color-grey-dark;
				padding: 8px;
				border-radius: 36px;

				&.fa:before {
					width: 20px;
					text-align: center;
					display: block;
					height: 20px;
				}
			}
		}

		.progress-content {
			width: 190px;
			font-size: 14px;
			line-height: 1.3;
			color: $body-copy;
			@media (min-width: 1920px) {
				font-size: 16px;
				width: 190px;
			}

			small {
				font-size: 11px;
				text-transform: uppercase;
				font-weight: 700;
				letter-spacing: 0.1em;
			}
		}

		.progress-status {
			width: 28px;
			text-align: right;

			i {
				float: right;
			}
		}

		i {
			color: $color-grey-dark;
		}

		&.complete {
			i,
			span {
				color: $color-green;
				border-color: $color-green;
			}
		}

		&:focus,
		&:hover {
			background-color: $color-gold-light;
			text-decoration: none;

			i,
			span {
				color: #ffffff;
				border-color: #ffffff;
			}
		}

		&.active {
			background-color: $brand-gold;
			text-decoration: none;

			i,
			span {
				color: #ffffff;
				border-color: #ffffff;
			}
		}
	}

	.progress-sub-menu {

		list-style-type: none;

		li {
			display:inline-block;
    		padding: 5px 10px 5px 22px;
			border-left:2px solid $brand-gold;
			width: 100%;
		}


		.progress-sub-question {
			width: 190px;
			font-size: 14px;
			line-height: 1.3;
			color: $body-copy;

			@media (min-width: 1920px) {
				font-size: 16px;
				width: 190px;
			}

			.progress-content {
				width: 190px;
				font-size: 14px;
				line-height: 1.3;
				@media (min-width: 1920px) {
					font-size: 16px;
					width: 190px;
				}
			}

			&:focus,
			&:hover {
				color: $brand-gold;
				text-decoration: none;
				font-weight: 700;
			}

			&.active {
				color: $brand-gold;
				text-decoration: none;
				font-weight: 700;
			}
		}
	}
}

.dashnav-column .progress-question {
	height: 60px;
}

.overview-progress {
	border: solid 1px $color-grey-lighter;
	border-radius: 10px;
	background: #ffffff;

	.progress-question {
		margin-bottom: 0;
		border-bottom: solid 1px $color-grey-lighter;

		&:last-of-type {
			border-bottom: none;
		}

		.progress-icon {
			-webkit-box-flex: 0;
			-ms-flex: 0 0 52px;
			flex: 0 0 52px;
		}

		.progress-content {
			font-size: 16px;
			font-weight: 600;
			-webkit-box-flex: 2;
			-ms-flex: 2;
			flex: 2;
		}

		.progress-status {
			font-size: 14px;
			font-weight: 600;
			-webkit-box-flex: 1;
			-ms-flex: 1;
			flex: 1;

			i {
				float: none;
				margin-right: 5px;
			}
		}

		&.complete {
			background-color: rgba($color-green, .2);

			.progress-content,
			.progress-icon i,
			.progress-icon i:before,
			.progress-status,
			.progress-status i {
				color: $color-green;
			}

			.progress-icon i {
				border: solid 1px $color-green;
			}
		}

		.progress-content,
		.progress-icon i,
		.progress-icon i::before,
		.progress-status,
		.progress-status i {
			color: $brand-blue;
		}

		.progress-icon i {
			border: solid 1px $brand-blue;
		}

		&:focus,
		&:hover {
			background-color: rgba($brand-blue, .3);
			text-decoration: none;

			.progress-content,
			.progress-icon i,
			.progress-icon i::before,
			.progress-status,
			.progress-status i {
				color: $brand-blue;
				border-color: $brand-blue;
			}
		}

		&:first-child:hover {
			border-top-left-radius: 7px;
			border-top-right-radius: 7px;
		}

		&:last-child:hover {
			border-bottom-left-radius: 7px;
			border-bottom-right-radius: 7px;
		}

		a {
			transition: 0.1s background ease-in-out;
			-webkit-transition: 0.1s background ease-in-out;
		}
	}
}

.dashnav-column {
	h4 {
		color: #ffffff;
	}

	.progress-question {
		.progress-icon {
			-webkit-box-flex: 0;
			-ms-flex: 0 0 36px;
			flex: 0 0 36px;

			i {
				font-size: 20px;
				border: none;
				padding: 0;
			}
		}

		.progress-content {
			width: 180px;
			color: #ffffff;
			font-weight: 600;
		}

		i {
			color: #ffffff;
		}

		&:focus,
		&:hover {
			background-color: $brand-gold;
		}
	}
}

.has-warning-box {
	border: 3px solid #a94442;
	padding-top: 8px;
	padding-left: 8px;

	#terms_warning {
		color: #a94442;
	}
}
/* Modals */
.modal-dialog {
	width: 780px;
}

.modal-header {
	border: 0;
	padding-bottom: 0;
	padding-top: 24px;
}

.modal-title {
	font-size: 32px;
	font-weight: normal;
}

.modal-body {
	padding: 0 64px 36px;

	p {
		font-size: 18px;
		margin-top: 12px;
	}
}

.modal-footer {
	background: #f5f5f5;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.footnote-marker {
    font-size: 18px;
    top: -10px;
    position: relative;
    display: inline-block;
    left: 1px;
    margin-right: 1px;
}

.footnote {
	margin-top: 40px;
	margin-bottom: 52px;
	font-size: 16px;

    h5 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    &.shaded-box {
        border-radius: 8px;
        padding: 25px 80px 25px 80px;
    }
}

.shaded-box {
    background-color: rgba(0,0,0,0.35);
}

#delete_child_modal,
#info_modal,
#questions_modal,
#terms_modal {
	margin-top: 112px;
	font-size: 18px;

	.modal-header {
		text-align: center;

		i {
			background-color: $brand-links;
			color: #ffffff;
			height: 80px;
			width: 80px;
			border-radius: 40px;
			font-size: 40px;
			padding: 20px;
			margin-bottom: 15px;
		}
	}

	.modal-body {
		padding: 36px 64px;

		p {
			font-size: 18px;
			margin-top: 12px;
		}
	}

	.modal-footer {
		text-align: center;
		border: none;
		padding-bottom: 18px;
	}
}

#delete_child_modal {
	text-align: center;
	vertical-align: middle;
	margin-top: 112px;
	font-size: 18px;

	.modal-footer {
		text-align: center;
		border: none;
		padding-bottom: 18px;
	}
}

/* Spinner */
div#progress-overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	background: rgba(0,0,0,0.35);
}

div#progress-overlay-spinner {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 5000;
}
/* Prequalification hard-stop indicator */
span.hard-stop {
	font-size: 2.8em;
	display: inline-block;
	float: left;
	margin: 3px 10px 0 0;
}
/* Datepicker */
.date-picker-group {
	.input-group-addon {
		display: inline-block;
		background-color: inherit;
		border: none;
	}
}
/* Transitions & Transforms */
.on-canvas {
	@media (min-width: 1px) and (max-width: 991px) {
		display: block;
	}
	@media (min-width: 992px) {
		-webkit-transition: 0.2s ease-out all;
		transition: 0.2s ease-out all;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

.off-canvas {
	@media (min-width: 1px) and (max-width: 991px) {
		display: none;
	}
	@media (min-width: 992px) {
		-webkit-transition: 0.2s ease-out all;
		transition: 0.2s ease-out all;
		-webkit-transform: translateX(306px);
		transform: translateX(306px);
	}
}

.margin-right {
	@media (min-width: 1px) and (max-width: 991px) {
		margin-right: 0;
	}
	@media (min-width: 992px) {
		-webkit-transition: 0.2s ease-out all;
		transition: 0.2s ease-out all;
		margin-right: -306px;
	}
}

.no-margin-right {
	@media (min-width: 1px) and (max-width: 991px) {
		margin-right: 0;
	}
	@media (min-width: 992px) {
		-webkit-transition: 0.2s ease-out all;
		transition: 0.2s ease-out all;
		margin-right: 0;
	}
}
