@charset "utf-8";

#amortizationTable {
	color: #434345;
	font-family: Montserrat;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.brAmortizationHeader {
	background:rgb(29, 135, 90);
	color:#fff;
	font-weight: 700;
}

.brAmortizationHeader > div {
	padding: 1rem;
}

#amortizationTable .brTableRow {
	background: #f9f9f9;
}
#amortizationTable > div.brAmortizationHeader {
	background:rgb(29, 135, 90);
	color:#fff;
	font-weight: 700;
}

/* #amortizationTable .brAmortizationHeader > div {
	padding: 1rem;
} */

#amortizationTable .brTableRow > div {
	text-align: right;
	border-bottom: 1px solid #ced4d5;
}

#amortizationTable .brTableRow > div:first-child {
	text-align: center;
}

.brAmortizationCell {
	padding: 2px 16px;
}

#amortizationOptions {
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 5px;
	color: #333;
	font-family: Montserrat;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 21px;
	overflow: visible;
}

#amortizationOptions > div {
	flex: 1 1 0px;
}

.amortizationOptionsTitle {
	color: #333;
	text-align: center;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px;
	padding-bottom: 16px;
}

.amortizationOptionsSubTitle {
	color: #333;
	font-family: Montserrat;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 21px;
	text-align: center;
}

#amortizationOptions > div > div {
	padding: 16px 0;
	border-bottom: 1px solid #CED4D5;
}

#amortizationOptions > div:first-child > div:first-child,
#amortizationOptions > div:last-child > div:first-child {
	padding: 0;
	border-bottom: 0px;
}

#amortizationOptions > div:last-child > div:last-child {
	padding: 16px 0;
	border-bottom: 0px;
}

/* Amortization Custom select */
.amortizationOptionsSelect {
	position: relative;
	color: #434345;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	border: 1px solid #ced4d5;
}

.select-skin .amortizationOptionsDisplay {
	padding-top: 8px;
}

.radio-tabs {
	max-width: 500px;
	width: 78%;
}

.radio-tab {
	max-width: 160px;
	width: 100%;
}

.radio-container .radio-glider {
	width: 32.3% !important; /*31.9%;*/
}

.text-right {
	text-align: right;
}

.width-95 {
	width: 95px;
}

.rowspacer {
	height: 18px;
}

.flex-frame-232 {
	max-width: 600px;
    width: 100%;
    margin: 0 auto;
	padding: 0 20px;
}

#amortizationOptions > div > div.compare-line-dark {
	border-bottom:#000 2px solid;padding:8px 0;
}

#amortizationOptions > div:first-child > div:first-child.amortizationOptionsSelected {
	position: relative;
    color: #434345;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
	text-align: center;
	padding: 17.8px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ****************************************************************************** */
/* Amortization Custom Select */
.amortizationOptionsSelect select {
	display: none; /*hide original SELECT element: */
}

.select-selected, .select-selected-disabled {
	/* background-color: DodgerBlue; */
	background-color: #fff;
	display: flex;
	align-items: center;
	width: 100%; /*95%;*/
}

/* Style the arrow inside the select element: */
.select-selected:after {
	position: absolute;
	content: url("../img/svg/green-dropdown-down-icon.svg");
	/* top: 28px; */
	/* top: 18px; */
	right: 10px;
	top: 50%;
	margin-top: -12px;
	/* width: 0;
	height: 0;
	border: 6px solid transparent; */
	/* border-color: #fff transparent transparent transparent; */
	/* border-color: #434345 transparent transparent transparent; */
}

.select-selected-disabled:after {
	position: absolute;
	content: url("../img/svg/grey-dropdown-down-icon.svg");
	/* top: 28px; */
	top: 18px;
	right: 10px;
	/* width: 0;
	height: 0;
	border: 6px solid transparent; */
	/* border-color: #fff transparent transparent transparent; */
	/* border-color: #434345 transparent transparent transparent; */
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
	/* border-color: transparent transparent #fff transparent; */
	/* transform: rotate(90deg);
	top: 12px;
	right: 14px; */
	transform: rotate(180deg);
	top: 9px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected,.select-selected-disabled {
	/* color: #ffffff; */
	color: #434345;
	/* padding: 16px 16px 16px 25px; */
	padding: 16px 16px 16px 16px;
	border: 1px solid transparent;
	border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
	cursor: pointer;
}

/* Style items (options): */
.select-items {
	position: absolute;
	/* background-color: DodgerBlue; */
	background-color: #fff;
	top: -200%; /*  vertical position of the custom dropdown */
	left: 0;
	right: 0;
	z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
	/* display: none; */
	top: -10000px !important;
}

.select-items div {
	position: relative;
	padding-left: 36px;
	border: 1px 1px 0 1px;
	border-style: solid;
	border-color: #ced4d5;
}

/* .select-items div:hover, .same-as-selected { */
.select-items div:hover, .tabbed {
	background-color: rgba(0, 0, 0, 0.1);
}

.same-as-selected:before {
	position: absolute;
	content: url("../img/svg/green-dropdown-check-icon.svg");
	/* top: 28px; */
	top: 16px;
	left: 10px;
}

.chartLegendTable {
	margin-left:calc(50% - 40px);
}

#chartLegendRow {
	padding: 0;
}

.toolRightCol #chartLegendRow span {
	font-size: 12px;
}

/* ****************************************************************************** */

/* =================== MEDIA QUERIES (MEDIUM DEVICES) ======================== */
@media screen and (max-width: 1024px) {
	.radio-tabs {
		width: 88%;
	}
}

/* =================== MEDIA QUERIES (MEDIUM DEVICES) ======================== */
@media screen and (max-width: 885px) {
	#amortizationTable .brTableRow.brTableHeader > div {
		vertical-align: middle;
		text-align: center;
	}
}

/* =================== MEDIA QUERIES (MEDIUM DEVICES) ======================== */
@media screen and (max-width: 767px) {
	#amortizationTable .brTableRow.brTableHeader > div {
		text-align: right;
	}
}

/* =================== MEDIA QUERIES (SMALL DEVICES) ======================== */
@media screen and (max-width: 600px) {
	div.results .mortgage-details {
		padding: 5px;
		padding-top: 24px;
	}

	.brAmortizationHeader > div {
		padding: 0.4rem;
	}

	.brAmortizationCell {
		padding: 2px 8px;
	}
}

#amortizationOptions div.amortizationOptionsDataRow {
	margin:0 auto;
	display:block;
	text-align:center;
}

#amortizationOptions div.amortizationOptionsDataRow span {
	margin:0 auto;
	display:block;
	/*text-align:right;
	width:12ex;
	*/
}

/* =================== MEDIA QUERIES (MEDIUM DEVICES) ======================== */
@media screen and (max-width: 387px) {
	#amortizationTable .brTableRow.brTableHeader > div {
		text-align: center;
	}
}