/* ********************* */
/* for Loan Calculator css */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

@font-face {
	font-family: "PublicSans";
	src: url("../fonts/PublicSans-Regular.ttf");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

html,
body {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body#ch_v {
	font-family: 'Open Sans', 'Noto Sans TC', sans-serif;
}

table tr td {
  	font-size: 1.4rem;
}

.header-placeholder .navbar .navbar-inner .img-logo {
	width: 180px;
	clear: both;
}

.header-placeholder .navbar .navbar-inner .img-logo img.dual-lang-logo,
.header-placeholder .navbar .navbar-inner .img-logo img.single-lang-logo {
	float: left;
	width: 50%;
}

.header-placeholder.flp-type .menu-link:hover~dl.navbar-list.long {
	display: block;
}

body.loan-calc .promotion-box.full-width .carousel-promo .promotion-content {
	position: absolute;
	bottom: 62px;
}

img.desktop_banenr {
	object-fit: cover;
}

.promotion-box.full-width .carousel-promo .carousel-caption {
	max-width: 1024px;
	padding: 16px 0 48px;
}

.header-placeholder .navbar .navbar-inner .img-logo {
	margin-left: 0;
}

.header-placeholder {
	position: unset;
}

.mb_view {
	display: none;
}

input[type="text"], input[type="password"], textarea {
    position: relative;
    padding: 12px 10px 12px 8px;
    border: 0px solid silver;
    height: 40px;
    width: 100%;
    -webkit-appearance: none;
    border-radius: 0;
    text-align: right;
}


div#bodywrapper {
	margin-top: 0 !important;
}

body.loan-calc .promotion-box.full-width .carousel-promo .promotion-content span.banner_tag {
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: -0.25px;
	color: #6F7A81;
}

body.loan-calc .promotion-box.full-width .carousel-promo .promotion-content h1.h1-big {
	font-weight: 600;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: -0.75px;
	color: #172733;
}

body.loan-calc .promotion-box.full-width .carousel-promo .promotion-content p {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #455057;
	width: auto;
	margin-bottom: 8px;
}

body.loan-calc .promotion-box.full-width .carousel-promo .promotion-content a.banner_link {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #FF3E3E;
}

p.para_text {
	line-height: 27px;
}

.dark_gray_bg {
	background-color: #909090;
	color: #fff;
}

.light_gray_bg {
	background-color: #DCDCDC;
}

/* end for recommendation state of recommendation toggle */
/* Banner */
a.btn.btn-primary.mRight-16 {
	display: inline;
	align-items: center;
	padding: 14px 24px;
	background: #FF3E3E;
	box-shadow: inset 0px -1px 0px #cc0000;
	border-radius: 4px;
}

/* end for Banner   */
h2.head_title {
	font-style: normal;
	font-weight: 600;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: -0.75px;
	color: #17181A;
	padding: 16px 0;
}

.loan_wrapper {
	padding-top: 60px;
}

.loan_wrapper p {
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #f33;
}

.row.loancalc_row_1,
.loan-calculator,
.loancalc_table,
.loancalc_getstart,
.loancalc_process,
.loancalc_track,
.loancalc_repayment,
.loancalc_rating,
.loancalc_faq,
.loancalc_hotline,
.loancalc_related,
.loancalc_info,
.loancalc_readmore,
.survey-wrapper {
	max-width: 1024px;
	margin: 0 auto;
}

.loancalc_track:after,
.loan-calculator:after,
.survey-wrapper:after,
.loancalc_related:after {
	content: "";
	clear: both;
	display: table;
}

hr.loan-hr {
	border: 1px solid #DDE3E7;
	width: 1024px;
	margin: 60px auto;
}

/* ********************* */
/* Loan Calculator Subheader */
.loan_menu {
	box-shadow: 0px 2px 1px rgb(0 0 0 / 10%);
	background-color: #f3f3f3;
}

.loan_menu_content {
	max-width: 1024px;
	margin: 0 auto;
	max-height: 100px;
}

.loan_menu_content ul {
	display: block;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
}

.loan_menu_content ul li {
	text-align: center;
	padding: 0;
	margin: 0;
	display: block;
	min-height: 100px;
	/* height: 100px; */
	float: left;
	display: table;
	-webkit-transition: background-color 0.2s linear;
	-moz-transition: background-color 0.2s linear;
	-o-transition: background-color 0.2s linear;
	-ms-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
}

.loan_menu_content ul li#apply_now {
	display: none;
}

.loan_menu_content ul li a {
	/* display: table-cell; */
	font-weight: 500;
	color: #858F96;
	text-decoration: none;
	vertical-align: top;
	width: inherit;
	/* padding: 20px 4px 14px; */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100px;
}

.loan_menu_content ul li.subheader {
	width: calc(100% / 4);
	height: auto;
	min-height: auto;
}

.loan_menu_content ul li.active.subheader a {
	color: #172733;
}

/* .loan_menu_content ul li a {
padding: 38px 40px;
} */
li.active.subheader {
	border-bottom: 2px solid red;
}

.sticky {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 99;
	margin-bottom: 0;
	padding-bottom: 0;
}

.sticky+section.promotion-box.full-width.mb_view {
	padding-top: 60px;
}

li#apply_now a.apply {
	-ms-transform: translateY(50%);
	transform: translateY(50%);
	float: right;
	width: 123px;
	color: #fff;
	/* padding: 14px 16px; */
	height: auto;
}

li#apply_now a.apply:hover,
li#apply_now a.apply:focus {
	background: #f01714;
}


.repayment-buttons.button-row{
	display: flex;
    justify-content: center;
}

.disclaimer{
	font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #f33;
  	padding-top: 16px;
}


button#apply_now {
	display: none;
	float: left;
	clear: both;
	width: 20%;
	margin: 0;
}

.footer .footer-content {
	padding: 24px 0 24px;
}

.footer .footer-links ul li {
	font-size: 1.3rem;
}

#mb_nav_item {
	display: none;
}

.scroll {
	white-space: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	margin-bottom: 0;
}

#nav_item {
	box-shadow: 0px 2px 1px rgb(0 0 0 / 10%);
	background-color: #f3f3f3;
	padding: 0;
	margin: 0;
}

span.nav-item {
	width: calc(100% / 4);
	text-align: center;
}

.nav-item {
	padding: 0;
}

.nav-item,
.vertical-align-middle {
	display: inline-block;
	vertical-align: middle;
}

span.nav-item a {
	display: table-cell;
	font-weight: 500;
	color: #858F96;
	text-decoration: none;
	vertical-align: top;
	width: inherit;
	padding: 20px 20px 14px;
}

span.nav-item.active a {
	border-bottom: 2px solid red;
	color: #172733;
}

.scroll::-webkit-scrollbar {
	display: none;
}

span.nav-item button.apply {
	width: 150px;
	margin: auto 10px;
	padding: 12px 14px;
}

.topnav {
	overflow: hidden;
	background: #F3F3F3;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.05);
}

.topnav a {
	float: left;
	display: block;
	text-align: center;
	padding: 14px 24px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #858F96;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topnav a.active {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #172733;
}

.topnav .icon {
	background: url(../media/images/content_img/downArrow.svg) no-repeat;
	/* width: 50%; */
}

.topnav a:hover {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #172733;
}

/* ********************* */
/* loancalc_row_1 */
.loancalc_row_1 .why-we-think {
	width: 23%;
	float: left;
	box-shadow: 0 5px 5px rgb(0 0 0 / 5%);
	border-radius: 8px;
	height: 257px;
	margin-right: 2%;
	padding: 25px;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.loancalc_row_1 .why-we-think:last-child {
	margin-right: 0;
}

.why-we-think .img_reg {
	margin-bottom: 29px;
}

.why-we-think .img_reg img {
	height: 38px;
	width: auto;
}

.why-we-think p.d_text {
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 29px;
	color: #000000;
	margin-bottom: 0;
}

.why-we-think h3.m_text {
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 29px;
	color: #000000;
	margin-bottom: 0;
}

.why-we-think span.para_text {
	font-size: 14px;
	line-height: 20px;
	color: #6F7A81;
	padding: 10px 0 13px;
	clear: both;
	display: block;
}

.why-we-think a {
	font-weight: 600;
	font-size: 12px;
	line-height: 20px;
	color: #FF3E3E;
}

/* Popup box BEGIN */
.hover_terms_apply {
	background: rgba(0, 0, 0, .7);
	cursor: pointer;
	display: none;
	height: 100%;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 10000;
	left: 0;
}

.hover_terms_apply .helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.hover_terms_apply>div {
	display: inline-block;
	height: auto;
	min-height: 100px;
	vertical-align: middle;
	width: 50%;
	position: relative;
	background: #FFFFFF;
	border: 1px solid #C7CFD5;
	box-shadow: 0px 25px 32px rgb(23 39 51 / 10%), 0px 10px 64px rgb(23 39 51 / 10%);
	border-radius: 8px;
}

.popupCloseButton {
	cursor: pointer;
	display: inline-block;
	position: absolute;
	left: 0;
	font-size: 32px;
	width: 40px;
	height: auto;
	top: 8px;
	color: #9BA4AB;
}

.popupCloseButton:hover {
	background-color: unset;
}

.trigger_popup_terms {
	cursor: pointer;
}

.hover_terms_apply h2 {
	font-weight: 600;
	font-size: 16px;
	line-height: 16px;
	text-align: center;
	color: #172633;
}

.hover_terms_apply p {
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #666666;
	text-align: left;
	padding: 24px 24px 37px;
}

.hover_terms_apply header {
	height: 64px;
	padding: 24px;
	box-shadow: 0px 2px 4px rgb(23 38 51 / 8%);
}

/* Popup box BEGIN */
/* ********************* */
/* loan-calculator */
.loan-calculator,
.loancalc_table {
	margin-top: 60px;
}

.left_calc,
.right_calc {
	float: left;
	width: 50%;
	margin-bottom: 40px;
	margin-top: 40px;
}

.right_calc {
	box-shadow: 0px 0px 1px rgb(0 0 0 / 25%), 0px 4px 4px rgb(0 0 0 / 5%);
	border-radius: 10px;
	padding: 25px;
}

.right_calc p {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #6F7A81;
}

img.ic_info:hover~.top {
	display: block;
}

.right_calc h4 {
	font-weight: 700;
	font-size: 24px;
	line-height: 40px;
	letter-spacing: -0.75px;
	color: #172733;
}

.top {
	min-width: 236px;
	max-width: 96px;
	top: unset;
	transform: translate(41%, -120%);
	padding: 9px 16px;
	color: #ffffff;
	font-weight: normal;
	font-size: 14px;
	position: absolute;
	z-index: 99;
	display: none;
	background: #172733;
	border-radius: 4px;
}

.top.fee_ {
	transform: translate(41%, -139%);
}

#ch_v .top.fee_ {
	transform: translate(19%, -160%);
}

.top i {
	position: absolute;
	top: 99%;
	left: 30%;
	margin-left: -15px;
	width: 30px;
	height: 15px;
	overflow: hidden;
}

.right_calc td .top i::after {
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	background-color: #1A2935;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.right_calc td:first-child .top p {
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: -0.25px;
	color: #FFFFFF;
}

span.montly_val {
	font-size: 32px;
}

.right_calc td {
	border: unset;
	font-weight: 600;
	font-size: 20px;
	line-height: 32px;
	letter-spacing: -0.25px;
	color: #17181A;
	padding: 0;
}

.right_calc hr {
	border: 1px solid #DDE3E7;
	margin: 16px 0;
}

.right_calc td:first-child,
.right_calc td:first-child p {
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.25px;
	color: #455057;
}

.right_calc img.ic_info {
	margin-left: 4px;
}

.right_calc td:last-child {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	text-align: right;
	letter-spacing: -0.75px;
	color: #172733;
}

.range-slider {
	margin: 10px 0 20px;
}

.range-slider {
	width: 97%;
	display: inline-block;
	padding: 10px 13px 10px 0;
}

.range-slider label {
	letter-spacing: -0.25px;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #455057;
}

.range-slider label span {
	opacity: 0.5;
}

.range-slider__range {
	-webkit-appearance: none;
	width: calc(100% - (73px));
	height: 10px;
	border-radius: 5px;
	background: #d7dcdf;
	outline: none;
	padding: 0;
	margin: 0;
}

input[type=range]::-webkit-slider-thumb {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1.5px solid #000000;
	box-sizing: border-box;
	box-shadow: 0px 2px 4px rgba(23, 39, 51, 0.11);
	cursor: pointer;
}

.range-slider__range::-moz-range-thumb {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1.5px solid #000000;
	box-sizing: border-box;
	box-shadow: 0px 2px 4px rgba(23, 39, 51, 0.11);
	cursor: pointer;
}

.range-slider__value {
	font-size: 17px;
	line-height: 24px;
	letter-spacing: -0.5px;
	color: #172733;
	font-weight: 600;
}

::-moz-range-track {
	background: #d7dcdf;
	border: 0;
}

input::-moz-focus-inner,
input::-moz-focus-outer {
	border: 1.5px solid #000000;
}

input.range-slider__range {
	height: 6px;
}

small.small {
	float: right;
	width: 120px;
	text-align: right;
	margin-bottom: 15px;
	border: 1px solid #C7CFD5;
	border-radius: 4px;
	padding: 8px 14px;
}

small.small input {
	padding: 0;
	float: right;
	width: 70%;
	height: unset;
	text-align: right;
	border: none;
}

small.small input#period {
	float: left;
	width: 45%;
	text-align: left;
}

small.small input#period:focus-visible {
	outline: none;
}

span.left,
span.right {
	margin-top: 13px;
	float: left;
	font-weight: 400;
	font-size: 12px;
	line-height: 24px;
	display: flex;
	align-items: center;
	text-align: right;
	letter-spacing: -0.25px;
	color: #6F7A81;
}

span.right {
	float: right;
}

.error {
	font-size: 12px;
	color: red;
	bottom: 0;
	z-index: 1;
	display: inline-block;
	width: 100%;
}

div#repayment_table {
	transition: opacity 1s ease-out;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	clear: both;
	animation: scale-display 0.3s;
}

.accordion_table {
	display: block;
	clear: both;
	width: 65%;
	text-align: left;
	margin: 0 auto;
}

.accordion_table table {
	border: 1px solid #DDE3E7;
	border-radius: 4px;
	margin-top: 35px;
}

.accordion_table table th {
	background: #F5F7F9;
	padding: 20px 16px;
	border-right: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #172733;
}

.accordion_table table td {
	padding: 20px 16px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #172733;
}

.accordion_table label {
	font-weight: 400;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #59656D;
	width: 100%;
}

.accordion_table select {
	padding: 12px 15px;
	border: 1px solid #C7CFD5;
	border-radius: 4px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #172733;
	width: 100%;
	background: url(../media/images/content_img/downArrow.svg) no-repeat right;
	-webkit-appearance: none;
	background-position-x: 39em;
}

select#borrow option {
	visibility: visible !important;
	display: block;
	border-top: 1px solid #EDF2F5;
	padding: 12px 0;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #59656D;
}

select#borrow option:checked {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.5px;
	color: #172733;
}

.accordion_table select:focus-visible {
	outline: unset;
}

p.borrow {
	display: block;
	clear: both;
	width: 65%;
	text-align: left;
	margin: 32px auto 0;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #455057;
}

.button_calc {
	display: inline-block;
	clear: both;
	width: 100%;
	text-align: center;
	margin-top: 50px;
}

.button_calc button {
	cursor: unset;
}

a.key {
	border: 1px solid #FF3E3E;
	border-radius: 4px;
	background: unset;
	padding: 14px 16px;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: -0.005em;
	color: #FF3E3E;
}

a.apply {
	background: #FF3E3E;
	box-shadow: inset 0px -1px 0px #cc0000;
	border-radius: 4px;
	padding: 14px 16px;
	border: unset;
	margin-left: 10px;
	color: #fff;
}

.loan_menu_content ul li button a {
	padding: 0;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	letter-spacing: -0.005em;
	color: #FFFFFF;
}

a.apply {
	color: #FFFFFF;
}

a.key,
a.apply {
	font-size: 16px;
}

.button_calc a.apply:hover {
	text-decoration: none;
	color: #FFFFFF !important;
	background: #f01714;
}

a.key:hover {
	text-decoration: none;
}

.select-wrapper {
	position: relative;
	user-select: none;
	width: 100%;
}

.select {
	position: relative;
	display: flex;
	flex-direction: column;
}

.select__trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	border-width: 2px 0 2px 0;
	border-style: solid;
	border-color: #394a6d;
	padding: 12px 15px;
	border: 1px solid #C7CFD5;
	border-radius: 4px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #172733;
	width: 100%;
	background: url(../media/images/content_img/downArrow.svg) no-repeat right;
	-webkit-appearance: none;
	background-position-x: 39em;
}

.custom-options {
	position: absolute;
	display: block;
	top: 100%;
	left: 0;
	right: 0;
	border-top: 0;
	transition: all 0.5s;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 2;
	background: #FFFFFF;
	border: 1px solid #C7CFD5;
	box-shadow: 0px 2px 4px rgb(23 39 51 / 11%);
	border-radius: 4px;
	margin-top: 7px
}

.select.open .custom-options {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

.custom-option {
	position: relative;
	display: block;
	padding: 12px 22px;
	cursor: pointer;
	transition: all 0.5s;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #59656D;
	border-bottom: 1px solid #EDF2F5;
}

.custom-option:hover {
	cursor: pointer;
	background-color: #b2b2b2;
}

.custom-option.selected {
	font-weight: 600;
	letter-spacing: -0.5px;
	color: #172733;
}

.arrow {
	position: relative;
	height: 15px;
	width: 15px;
}

.arrow::before,
.arrow::after {
	content: "";
	position: absolute;
	bottom: 0px;
	width: 0.15rem;
	height: 100%;
	transition: all 0.5s;
}

.arrow::before {
	left: -5px;
	transform: rotate(45deg);
	background-color: #394a6d;
}

.arrow::after {
	left: 5px;
	transform: rotate(-45deg);
	background-color: #394a6d;
}

.open .arrow::before {
	left: -5px;
	transform: rotate(-45deg);
}

.open .arrow::after {
	left: 5px;
	transform: rotate(45deg);
}

/* ********************* */
/* Monthly Repayment Table */
.conversation-start {
	position: relative;
	width: 100%;
	margin-bottom: 27px;
	text-align: center;
}

.conversation-start span {
	display: inline-block;
	background: #fff;
	border-radius: 35px;
	padding: 10px 40px;
	box-shadow: 0 5px 5px rgb(0 0 0 / 5%);
	border: 1px solid rgba(0, 0, 0, 0.1);
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.005em;
	color: #172733;
	height: 36px;
	cursor: pointer;
}

.conversation-start span:before {
	left: 0;
}

.conversation-start span:after {
	right: 0;
}

.conversation-start span:before,
.conversation-start span:after {
	position: absolute;
	top: 18px;
	display: inline-block;
	width: 48%;
	height: 1px;
	content: "";
	background-color: #e0e0e0;
	z-index: -1;
}

i#arrow {
	border: solid #FF3E3E;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
	margin-left: 10px;
	margin-bottom: 0px;
}

p#monthly_text {
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.005em;
	color: #172733;
	float: left;
}

/* ********************* */
/* Before You get started */
.loancalc_getstart p,
.loancalc_getstart ul li {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #455057;
}

.loancalc_getstart table {
	margin: 20px 0;
}

.loancalc_getstart td {
	border: unset;
	font-weight: 600;
	font-size: 20px;
	line-height: 32px;
	letter-spacing: -0.25px;
	color: #17181A;
	padding: 10px 0;
}

.loancalc_getstart table ul li {
	font-weight: 600;
	font-size: 16px;
	line-height: 35px;
	letter-spacing: -0.75px;
	color: #172733;
}

.loancalc_getstart .top {
	margin-left: 85px;
	margin-top: -24px;
}

#ch_v .loancalc_getstart .top {
	margin-left: 6px;
}

.loancalc_getstart img.ic_info {
	margin-left: 10px;
	margin-top: -4px;
}

.loancalc_getstart .top p {
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: -0.25px;
	color: #FFFFFF;
}

/* ********************* */
/* Loan Process  */
.loancalc_process img.media-object {
	margin: 0 auto 50px;
	width: 65%;
}

.loancalc_process p {
	text-align: center;
	font-size: 19px;
	font-weight: 500;
	margin-top: 60px;
}

/* ********************* */
/* Keep track of your loan effortlessly */
.track {
	width: 47%;
	float: left;
	margin: 48px 0 0;
}

.track_left.track {
	margin-right: 6%;
}

.track img.media-object {
	margin-bottom: 15px;
	width: 100%;
}

.track p {
	font-weight: 600;
	font-size: 20px;
	line-height: 40px;
	letter-spacing: -0.75px;
	color: #17181A;
	margin-bottom: 0;
}

.track span {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #6F7A81;
}

/* ********************* */
/* Repayment  */
.loancalc_repayment span {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #455057;
}

/* Popup box BEGIN */
.hover_schedule {
	background: rgba(0, 0, 0, .7);
	cursor: pointer;
	display: none;
	height: 100%;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 10000;
	left: 0;
}

.hover_schedule .helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.hover_schedule .popupCloseButton {
	top: 0;
}

.hover_schedule>div {
	display: inline-block;
	height: auto;
	min-height: 100px;
	vertical-align: middle;
	width: 34%;
	position: relative;
	background: #FFFFFF;
	border: 1px solid #C7CFD5;
	box-shadow: 0px 25px 32px rgb(23 39 51 / 10%), 0px 10px 64px rgb(23 39 51 / 10%);
	border-radius: 8px;
}

div#hover_body1 img {
	width: 100%;
	margin: 0 auto;
}

.trigger_popup_schedule {
	cursor: pointer;
}

.hover_schedule h2 {
	font-weight: 600;
	font-size: 16px;
	line-height: 16px;
	text-align: center;
	color: #172633;
}

.hover_schedule p {
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	color: #666666;
	text-align: left;
	padding: 24px 24px 37px;
}

.hover_schedule header {
	height: 40px;
	padding: 24px;
	box-shadow: 0px 2px 4px rgb(23 38 51 / 8%);
}

/* Popup box BEGIN */
/* <!-- start Why customers choose us  --> */
.gallery {
	margin-top: 35px;
}

button.flickity-button.flickity-prev-next-button svg {
	display: none;
}

button.flickity-button.flickity-prev-next-button.previous {
	top: 37%;
	left: -15px;
	box-shadow: 0px 4px 12px rgb(0 0 0 / 12%);
	background: url(../media/images/content_img/prev.png) no-repeat center #FAFAFA;
}

button.flickity-button.flickity-prev-next-button.previous:disabled,
button.flickity-button.flickity-prev-next-button.previous[disabled],
button.flickity-button.flickity-prev-next-button.next:disabled,
button.flickity-button.flickity-prev-next-button.next[disabled] {
	display: none;
}

button.flickity-button.flickity-prev-next-button.next {
	box-shadow: 0px 4px 12px rgb(0 0 0 / 12%);
	right: -15px;
	top: 37%;
	background: url(../media/images/content_img/back_Arrow.svg) no-repeat center #FAFAFA;
}

.flickity-viewport {
	transition: height 0.2s;
	height: 335px !important;
}

.loancalc_rating .flickity-viewport {
	height: 320px !important;
}

.rate_star {
	width: 100%;
	clear: both;
	display: inline-block;
}

p.star {
	float: left;
	font-size: 26px !important;
	color: #FF3E3E;
	margin-bottom: 0;
}

.flickity-slider {
	left: -1px !important;
}

.gallery-cell {
	width: 31.6%;
	height: auto;
	margin-right: 16px;
	padding: 16px;
	counter-increment: gallery-cell;
	background: #FFFFFF;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	min-height: 253px;
}

.gallery-cell h3 {
	content: "";
	clear: both;
	display: inline-block;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.75px;
	color: #455057;
	margin: 8px 0;
}

.gallery-cell .description p {
	font-weight: 400;
	font-size: 13px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #858F96;
	margin-bottom: 0;
}

.gallery-cell .description {
	position: relative;
	padding-bottom: 0.5em;
}

.gallery-cell .description:not(.open)>* {
	display: none;
}

.gallery-cell .description:not(.open)>p:first-child {
	display: block;
}

.gallery-cell .description>.toggler {
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
	width: 100%;
	background: #fff;
	text-align: center;
	cursor: pointer;
}

.gallery-cell .description>.toggler::after {
	content: "\\25bc";
}

.gallery-cell .description.open>.toggler::after {
	content: "\\25b2";
}

a.rate_link {
	font-weight: 400;
	font-size: 12px;
	line-height: 24px;
	letter-spacing: -0.25px;
	text-decoration-line: underline;
	color: #455057;
	width: 100%;
	display: inline-block;
}

span.rate_date {
	font-weight: 600;
	font-size: 12px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #858F96;
	width: 100%;
	text-align: right;
	position: absolute;
	bottom: 16px;
	right: 16px;
}

/* ********************* */
/* FAQs */
.faq_row {
	border: 1px solid #DDE3E7;
	border-radius: 4px;
	padding: 20px;
	margin-top: 25px;
}

/* ********************* */
/* accordion FAQ  */
.accor_dion {
	cursor: pointer;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 15px;
	transition: 0.4s;
	background: transparent;
	height: auto;
	display: inline-block;
	padding: 0px;
	position: relative;
}

button.accor_dion.active {
	border-bottom: none;
}

button.accor_dion i.icon_faq {
	float: right;
	background: url(../media/images/content_img/faq_down.svg) no-repeat right;
	font-size: 0;
	width: 2%;
	height: 12px;
}

button.accor_dion.active i.icon_faq {
	background: url(../media/images/content_img/faq_up.svg) no-repeat right;
}

.panel_p {
	padding: 0 0 0 16px;
	display: none;
	background-color: white;
	overflow: hidden;
}

.retirement-calculator_wrap .faq-hr {
	border-bottom: solid 1px #c0c0c0;
	margin: 16px 0;
}

button.accor_dion .txt-lbl {
	font-weight: 600;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.1225px;
	color: #17181A;
}

.panel_p p {
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.1225px;
	color: #455057;
	border-top: 1px solid #DDE3E7;
	margin-top: 25px;
	padding-top: 25px;
	padding-right: 9em;
}

/* accordion FAQ  */
/* ********************* */
/* Help HotLine  */
.loancalc_hotline {
	margin-top: 60px;
}

.line_left {
	width: 100px;
	float: left;
}

.line_right {
	float: left;
}

.loancalc_hotline p {
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 27px;
	letter-spacing: -0.75px;
	color: #17181A;
}

.loancalc_hotline span {
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #6F7A81;
	display: block;
}

.loancalc_hotline a {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	color: #FF3E3E;
	display: block;
	margin-top: 8px;
}

.loancalc_hotline span a {
	float: left;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.25px;
	display: block;
	margin-top: unset;
}

/* ********************* */
/* Related Loans */
.related-loan {
	box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
	border-radius: 4px;
	width: 32%;
	float: left;
	margin-right: 2%;
}

.loancalc_related .flickity-viewport {
	transition: height 0.2s;
	height: 470px !important;
}

.related-loan:last-child {
	margin-right: 0;
}

.related-loan img {
	width: 100%;
}

.related-loan .des_reg {
	padding: 16px 0 3em 16px;
}

.related-loan h3.m_text {
	font-weight: 600;
	font-size: 18px;
	line-height: 22px;
	color: #000000;
}

.related-loan span.para_text {
	font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	text-transform: uppercase;
	color: #9BA4AB;
}

.related-loan a {
	font-weight: 600;
	font-size: 15px;
	line-height: 16px;
	text-decoration-line: underline;
	color: #17181A;
	padding-left: 16px;
	padding-bottom: 25px;
	display: block;
}

/* ********************* */
/* Loan Information  */
.loancalc_info {
	margin-top: 60px;
	padding-right: 11em;
}

.loancalc_info h3 {
	font-weight: 600;
	font-size: 20px;
	line-height: 40px;
	letter-spacing: -0.75px;
	color: #17181A;
	margin-bottom: 10px;
}

.loancalc_info p {
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: -0.75px;
	color: #455057;
}

.loancalc_info ul {
	padding-inline-start: 20px;
}

.loancalc_info ul li {
	font-weight: 400;
	font-size: 16px;
	line-height: 30px;
	letter-spacing: -0.75px;
	color: #455057;
}

/* ********************* */
/* ********************* */
/* Read More  */
.desktop_readmore {
	display: block;
}

.mb_readmore {
	display: none;
}

.gallery.mb_readmore {
	margin-top: 0;
}

.mb_readmore .flickity-viewport {
	transition: height 0.2s;
	height: 450px !important;
}

.loancalc_readmore .media-left {
	width: 32%;
	float: left;
	margin-right: 2%;
	margin-top: 33px;
}

.loancalc_readmore .media-left:last-child {
	margin-right: 0;
}

.loancalc_readmore .media-left img {
	width: 100% !important;
	margin-bottom: 20px;
}

.loancalc_readmore .media-left a {
	font-weight: 600;
	font-size: 16px;
	line-height: 16px;
	text-decoration-line: underline;
	color: #17181A;
}

.loancalc_readmore .media-left h3 {
	margin-bottom: 30px;
}

.loancalc_readmore .media-left h3 a {
	font-weight: 600;
	font-size: 18px;
	line-height: 22px;
	color: #000000;
	text-decoration-line: unset;
}

.loan_wrapper a:hover {
	color: #f01714 !important;
}

/* ********************* */
/* Survey  */
.survey-wrapper {
	margin-bottom: 5em;
}

.survey,
.topics-wrapper {
	float: left;
	width: 50%;
}

.survey span {
	margin-right: 24px;
	font-size: 16px;
	color: #656565;
	float: left;
}

button#feedback-yes,
button#feedback-no {
	width: 30px;
	height: 30px;
	padding: 0;
	background: unset;
	border: unset;
	display: inline-block;
	vertical-align: middle;
	margin: 0 5px;
}

.survey .button {
	width: 200px;
	float: left;
}

.survey form {
	display: none;
	width: 100%;
	clear: both;
}

.survey form h5.br-heading-4 {
	margin: 0;
	padding: 0 0 5px 0;
	font-size: 16px;
	color: #656565;
}

.survey form textarea {
	color: #909090;
	position: relative;
	padding: 12px 10px 12px 8px;
	border: 1px solid silver;
	height: 82px;
	width: 80%;
	-webkit-appearance: none;
	border-radius: 0;
	font-size: 14px;
	box-sizing: border-box;
	resize: none;
	outline: 0;
}

.survey form button {
	color: #fff;
	background-color: #f33;
	border: 1px solid #ee1818;
	min-width: 60px;
	height: 25px;
	font-size: 1.2rem;
	padding: 4px 7px;
	display: inline-block;
	text-align: center;
	cursor: pointer;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.topics-wrapper h3 {
	margin-right: 20px;
	font-size: 16px;
	color: #656565;
	float: left;
}

.topics-wrapper a.tag {
	border: unset;
	background: #e4edf5;
	color: #000;
	padding: 4px 16px;
	margin: 0 10px 0 0;
	float: left;
	border-radius: 50px;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	-khtml-border-radius: 50px;
	font-size: 12px;
}

.topics-wrapper a.tag em {
	font-style: normal;
	font-weight: 500;
	color: #656565;
}

.topics-wrapper a.tag em:hover {
	color: #f01714;
	text-decoration: none;
}

/* ********************* */
@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-moz-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-o-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-ms-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fade-in {

	0%,
	90% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes Slide_Up {
	0% {
		transform: translateY(50px);
	}

	100% {
		transform: translateY(0);
	}
}

@keyframes Slide_Down {
	0% {
		transform: translateY(0);
	}

	100% {
		transform: translateY(50px);
	}
}

.promotion-box .carousel-promo {
	max-height: unset;
}

.main-calculator-wrapper {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
	/* Space between sections like tabs and the main calculator container */
}

.loan-calculator-container {
	display: flex;
	/* flex-wrap: wrap; */
	/* Allow wrapping on smaller screens */
	background-color: #fff;
	padding: 30px;
	border-radius: 8px;
	width: 100%;
	/* Take full width of its parent */
	gap: 30px;
	/* Space between input and results sections */
}

.loan-input-section {
	flex: 1;
	min-width: 300px;
	padding-right: 20px;
	
}

.loan-results-section {
	flex: 1;
	
	display: flex;
	flex-direction: column;
}

/* Tab Navigation Styling */

.tab-navigation-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px; /* Adjust margin as needed */
    overflow: hidden; /* Hide overflowing content to properly manage scroll */
}

.tab-navigation {
    display: flex;
    justify-content: space-around;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    justify-content: flex-start; /* Align items to the start so they don't justify-space-around when overflowing */
    flex-grow: 1; /* Allow tab-navigation to take available space */
    scroll-behavior: smooth; /* Smooth scroll when buttons are clicked */
}

.tab-navigation::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a cleaner look */
}


.scroll-arrow {
    background-color: #fff; /* White background for the arrows */
    border: 0px;
    padding: 10px 5px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    color: #555;
    display: none; /* Hidden by default, shown on mobile */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 100%; /* Make arrows span the height of the tab navigation */
   
    align-items: center;
    justify-content: center;
    width: 30px; /* Width of the arrow button */
}

.scroll-arrow.left-arrow {
    left: 0;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.scroll-arrow.right-arrow {
    right: 0;
    border-left: none;
    border-radius: 0 4px 4px 0;
}

.scroll-arrow:hover {
    background-color: #f0f0f0;
}

/* Arrow icons (you can replace with SVG or image if preferred) */
.scroll-arrow.left-arrow::before {
    content: '❮'; /* Left arrow character */
}

.scroll-arrow.right-arrow::before {
    content: '❯'; /* Right arrow character */
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .tab-navigation-wrapper {
        padding: 0 30px; /* Add padding to make space for arrows */
    }

    .scroll-arrow {
        display: flex; /* Show arrows on mobile */
    }

    .scroll-arrow.left-arrow {
        left: 0;
    }

    .scroll-arrow.right-arrow {
        right: 0;
    }
}



.tab-button {
    background-color: transparent;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    flex-shrink: 0; /* Prevent buttons from shrinking */
    white-space: nowrap; /* Ensure text stays on one line */
    min-width: fit-content; /* Allow content to dictate minimum width */
    position: relative;
    z-index: 5; /* Ensure tabs are above arrows if needed */
}

.tab-button:hover:not(.active) {
    color: #ee1818;
}

.tab-button.active {
    color: #ee1818;
    border-bottom: 2px solid #ee1818;
}

.btn.btn-primary {
    color: #fff;
    background-color: #f33;
    border: 1px solid #ee1818;
    font-size: 1.4rem;
}

.tab-button:hover:not(.active) {
	color: #ee1818;
}

.tab-button.active {
	color: #ee1818;
	border-bottom: 2px solid #ee1818;
}

.tab-content {
	padding-top: 20px;
}

.tab-content.hide {
	display: none !important;
}

.loan-type-title {
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 20px;
	color: #333;
}

.loan-form,
.repayment-calculator-form {
	padding: 0;
	border: none;
	background-color: transparent;
	margin-bottom: 0;
}

.form-group {
	margin-bottom: 30px;
}

.form-group label {
	display: block;
	margin-bottom: 15px;
	letter-spacing: -0.25px;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #455057;
}

.input-with-label-and-value {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 5px 10px;
	margin-bottom: 10px;
}

.input-with-label-and-value span {
	color: #666;
	margin-right: 5px;
}

.input-with-label-and-value input[type="number"] {
	flex-grow: 1;
	border: none;
	padding: 5px 0;
	font-size: 16px;
	background-color: transparent;
	text-align: right;
	width: auto;
	margin-bottom: 0;
}

.input-with-label-and-value input[type="number"]::placeholder {
	color: #aaa;
}

.form-group input[type="range"] {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	height: 6px;
	background: transparent;
	/* Make the default background transparent */
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
	border-radius: 3px;
	margin-bottom: 5px;
	/* Define a CSS variable for the fill percentage */
	--value: 0%;
}

/* WebKit (Chrome, Safari) specific track styling */
.form-group input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, rgb(69, 80, 87) var(--value), rgb(215, 220, 223) var(--value));
	/* Dynamic gradient */
	border-radius: 3px;
}

.form-group input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: white;
	cursor: pointer;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	margin-top: -5px;
	/* Adjust this value as needed to align the thumb vertically */
}

.form-group input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: white;
	cursor: pointer;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	margin-top: -5px;
	/* Adjust this value as needed to align the thumb vertically */
}

.form-group input[type="range"]::-moz-range-track {
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, rgb(69, 80, 87) var(--value), rgb(215, 220, 223) var(--value));
	/* Dynamic gradient */
	border-radius: 3px;
}

/* For Internet Explorer/Edge (optional, if needed) */
.form-group input[type="range"]::-ms-fill-lower {
	background: rgb(69, 80, 87);
	border-radius: 3px;
}

.form-group input[type="range"]::-ms-fill-upper {
	background: rgb(215, 220, 223);
	border-radius: 3px;
}

.slider-min-max {
	display: flex;
	justify-content: space-between;
	font-size: 0.9em;
	color: #777;
}

/* Result Display Styling */
.loan-result-display {
	box-shadow: 0px 0px 1px rgb(0 0 0 / 25%), 0px 4px 4px rgb(0 0 0 / 5%);
	border-radius: 8px;
	padding: 24px;
	min-height: 250px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	margin-bottom: 20px;
}

.result-item-main {
	text-align: left;
	margin-bottom: 20px;
}

.result-item-main .result-label {
	margin-bottom: 5px;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	color: #6F7A81;
}

.result-item-main .result-value-large {
	font-weight: 700;
	font-size: 24px;
	line-height: 40px;
	letter-spacing: -0.75px;
	color: #172733;
}

.result-item {
	
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid #DDE3E7;
}

.result-item:last-child {
	border-bottom: none;
}

.result-item .result-label {
	display: flex;
	align-items: center;
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.25px;
	color: #455057;
}

.result-item .result-value {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	text-align: right;
	letter-spacing: -0.75px;
	color: #172733;
}

.info-icon {
	margin-left: 5px;
	font-size: 0.9em;
	color: #888;
	cursor: help;
}

.repayment-schedule-container {
	width: 100%;
	margin-top: 20px;
	overflow-x: auto;
	/* Enable horizontal scrolling */
	-webkit-overflow-scrolling: touch;
	/* Smooth scrolling on iOS */
}

.repayment-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 15px;
	margin-bottom: 25px;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	border-radius: 5px;
	overflow: hidden;
	
	/* Adjust this value based on your table content to ensure it overflows */
	/* Alternatively, if you have many columns, remove min-width and let content determine width */
	/* Or set specific column widths to ensure a minimum total width */
}

.repayment-table th,
.repayment-table td {
	border: 1px solid #e0e0e0 !important;
	padding: 10px;
	text-align: center;
}

.repayment-table th {
	background-color: #f2f2f2;
	font-weight: bold;
	color: #333;
}

.repayment-table tfoot td {
	font-weight: bold;
	background-color: #e9ecef;
	color: #333;
}

.repayment-table tfoot tr td:first-child {
	text-align: center;
}

.hide {
	display: none !important;
}

.button-group {
	display: inline-block;
	clear: both;
	width: 100%;
	text-align: right;
	margin-top: 50px;
}

.button-group button {
	flex: 1;
	margin-top: 0;
	border: 1px solid #FF3E3E;
	border-radius: 4px;
	background: unset;
	padding: 8px 16px;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: -0.005em;
	color: #FF3E3E;
	
}

.secondary-btn {
	background-color: #6c757d;
}

.secondary-btn:hover {}

.repayment-calculator-form {

	padding: 20px;

}

.repayment-calculator-form h2 {
	margin-top: 0;
}

.repayment-calculator-form .form-group {
	margin-bottom: 15px;
}

.form-group input[type="number"].error {
	border-color: red;
	box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

@media (max-width: 768px) {
	.loan-calculator-container {
		flex-direction: column;
      	padding: 12px;
	}

	.loan-input-section {
		border-right: none;
		border-bottom: 1px solid #eee;
		padding-bottom: 20px;
	}
  
  .btn.btn-primary {
    color: #fff;
    background-color: #f33;
    border: 1px solid #ee1818;
    font-size: 1.2rem;
}
  
 .loan-input-section {
    padding-right: 0px;
} 
  
.repayment-schedule-container {
    overflow-x: inherit;
  
}
 .repayment-table,
 .repayment-table th,
 .repayment-table td {
        font-size: 1rem;
    }
   .tab-button {
     font-size: 16px;
   }
}