.txt-white {
  color: #fff;
}

.txt-blue {
  color: #0068B6;
}

.bg-grey {
  background-color: #F1F2F6;
}

.bg-white {
  background-color: #fff;
}

.bg-blue {
  background-color: #0068B6;
}

.border-radius-20 {
  border-radius: 20px;
}

.hero-calc-banner {
  background: url("../img/home/home-bg-v2.jpg") no-repeat center center;
  background-size: cover;
  padding: 100px 0;
  color: #0068b6;
}
.hero-calc-banner h1 {
  color: #0068b6;
}
.hero-calc-banner .hero-calc-container {
  border: 2px solid #0068b6;
  border-radius: 10px;
  padding: 30px;
  background: #fff;
}

#services .service-btn-row {
  box-shadow: 5px 4px 15.4px 0px rgba(0, 0, 0, 0.0509803922);
}

#mortgage-plans .cta-img {
  right: 4rem;
  bottom: 0;
  max-width: 150px;
}
#mortgage-plans .mortgage-plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-summary h3 {
  margin-bottom: 0.75rem;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-summary p {
  margin-bottom: 0;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-summary .mortgage-plan-tag {
  padding: 5px 20px;
  background: #EDF6FC;
  color: #0068B6;
  border-radius: 5px;
  margin-right: 10px;
}
#mortgage-plans .mortgage-plan-card .rates-row > div {
  border-right: 2px solid #e4e4e4;
}
#mortgage-plans .mortgage-plan-card .rates-row > div:last-child {
  border-right: none;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-card__figure {
  font-size: 25px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-card__figure-txt {
  font-size: 16px;
  color: #4a4a4a;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details {
  max-height: 0;
  background: #F8F8F8;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .highlight-title {
  position: relative;
  padding-left: 15px;
  font-size: 18px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .highlight-title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 5px;
  height: 100%;
  background: #0068B6;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .highlight-footnote {
  font-size: 12px;
  color: #4a4a4a;
  margin-top: 15px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details p {
  font-size: 15px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details ul {
  padding-left: 0px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .mortgage-plan-chart table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .mortgage-plan-chart table th,
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .mortgage-plan-chart table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .mortgage-plan-chart table th {
  font-weight: 600;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-details .mortgage-plan-chart table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}
#mortgage-plans .mortgage-plan-card.expanded .mortgage-plan-details {
  max-height: 1000px;
  opacity: 1;
}
#mortgage-plans .mortgage-plan-card .summary__header-btn {
  border-radius: 5px;
  padding: 10px 25px;
  height: 40px;
  border: none;
  line-height: 1;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-toggle {
  background: #D2D2D2;
  color: #4e4e4e;
  height: 40px;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-toggle:hover {
  background: #C1C1C1;
}
#mortgage-plans .mortgage-plan-card .mortgage-plan-toggle:focus {
  outline: none;
}

#latest-promotion img {
  max-width: 160px;
}

#about_us .about_us__card {
  position: relative;
  height: 250px;
}
#about_us .about_us__card .about_us__card-content {
  position: relative;
  z-index: 99;
  color: #fff;
}
#about_us .about_us__card .about_us__card-content h3 {
  color: #fff;
}
#about_us .about_us__card .about_us__card-mask {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.calc-wrapper {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  font-family: -apple-system, system-ui, sans-serif;
}
.calc-wrapper .calc-tabs {
  display: flex;
}
.calc-wrapper .calc-tabs .calc-tab {
  flex: 0 1 auto;
  text-align: center;
  padding: 6px 12px;
  min-width: 160px;
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  transition: all 0.2s ease;
  overflow: hidden;
  border: 1px solid #19B6D8;
  margin-right: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.calc-wrapper .calc-tabs .calc-tab.active {
  transition: 0.5s !important;
  background-size: 200% auto;
  color: white !important;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px #eee;
  display: inline-block;
  background-image: linear-gradient(to right, #77A1D3 0%, #79CBCA 51%, #77A1D3 100%);
  background-position: left center;
}
.calc-wrapper .calc-content {
  display: none;
  padding: 40px 20px 20px;
  background-color: #0068B6;
  color: #fff;
  position: relative;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.calc-wrapper .calc-content.active {
  display: block;
}
.calc-wrapper .calc-content .calc-main {
  display: flex;
  gap: 20px;
  flex-direction: row;
}
@media (max-width: 600px) {
  .calc-wrapper .calc-content .calc-main {
    flex-direction: column;
  }
}
.calc-wrapper .calc-content .calc-main .calc-inputs {
  flex: 2;
  padding-bottom: 20px;
}
.calc-wrapper .calc-content .calc-main .calc-res-sidebar {
  flex: 1;
  padding: 10px 24px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
}
.calc-wrapper .calc-content .calc-main .calc-res-sidebar .calc-res-row {
  margin-bottom: 15px;
  padding-bottom: 12px;
}
.calc-wrapper .calc-content .calc-main .calc-res-sidebar .calc-res-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.calc-wrapper .calc-content .calc-main .calc-res-sidebar .calc-res-row .calc-res-label {
  font-size: 15px;
}
.calc-wrapper .calc-content .calc-main .calc-res-sidebar .calc-res-row .calc-res-label-xl {
  font-size: 20px;
  color: #ffffff;
  border-bottom: 2px solid #fff;
}
.calc-wrapper .calc-content .calc-main .calc-res-sidebar .calc-res-row .calc-res-val {
  font-weight: 700;
}
.calc-wrapper .calc-content .calc-main .calc-res-sidebar .calc-res-row .calc-res-val.highlight-val {
  font-size: 2em;
}
.calc-wrapper .calc-content .calc-input-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: row;
}
.calc-wrapper .calc-content .calc-input-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  margin-right: 20px;
}
.calc-wrapper .calc-content .calc-input-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d1d6;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
}
.calc-wrapper .calc-content .calc-input-group .input-group-unit {
  margin-left: 15px;
}
.calc-wrapper .calc-content a.calc-link-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #D40E19;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.calc-wrapper .calc-content a.calc-link-btn:hover {
  opacity: 0.9;
}
.calc-wrapper .calc-msg-box {
  margin-top: 15px;
  font-size: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #fff3cd;
  color: #856404;
  display: none;
}
