:root {
  --bs-black: #121212;
  --bs-gray: var(--bs-gray-500);
  --bs-gray-dark: #343a40;
  --bs-gray-50: #F7FAFC;
  --bs-gray-100: #E3E8EE;
  --bs-gray-200: #C1C9D2;
  --bs-gray-300: #A3ACB9;
  --bs-gray-400: #8792A2;
  --bs-gray-500: #697386;
  --bs-gray-600: #4F566B;
  --bs-gray-700: #3C4257;
  --bs-gray-800: #2A2F45;
  --bs-gray-900: #1A1F36;
  --bs-primary: #159180;
  --bs-primary-100: #CEF9E3;
  --bs-primary-700: #0A6368;
  --bs-secondary: #C419C4;
  --bs-secondary-100: #FCD0EC;
  --bs-secondary-700: #760C8D;
  --bs-success: #59B530;
  --bs-success-100: #E1F8C8;
  --bs-success-700: #E1F8C8;
  --bs-info: #55A6F8;
  --bs-info-100: #DDF4FE;
  --bs-info-700: #2A60B2;
  --bs-warning: #FFC107;
  --bs-warning-100: #FFF7CD;
  --bs-warning-700: #B78103;
  --bs-danger: #DC3545;
  --bs-danger-100: #FDE1D6;
  --bs-danger-700: #9E1A3F;
  --bs-font-sans-serif: 'Manrope',system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  
}

body {
  background-color: var(--bs-gray-50) !important;
  color: var(--bs-gray-700) !important;
  font-family: var(--bs-font-sans-serif);
  font-size: 14px;
}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
  font-family: var(--bs-font-sans-serif) !important;
}

p, .p, .page_section p, .section-diagonal-left p, .section-diagonal-right p, a, .a {
  font-family: var(--bs-font-sans-serif) !important;
}




/* ------------------ Text Colours */

.text-muted {
  color: var(--bs-gray-400);
}

.text-light-grey {
  color: var(--bs-gray-200);
}

.text-secondary {
  color: var(--bs-secondary);
}

.text-success {
  color: var(--bs-success);
}


/* ------------------ Background Colours */

.bg-success-light {
  background-color: var(--bs-success-100);
}

.bg-gray-light {
  background-color: var(--bs-gray-100);
}

.bg-info-light {
  background-color: var(--bs-info-100);
}

.btn-default.active,.btn-default:active,.btn-default:hover,.open>.dropdown-toggle.btn-default {
  /* background-color: #D6E4FF; */
}

/* ------------------ Alerts */
.alert {
  border-radius: 8px;
}

.alert-info {
  background-color: var(--bs-info-100);
  border-color: transparent;
  color: var(--bs-info-700);
}

/* ------------------ Buttons */

.btn {
  border-radius: 6px !important;
  font-weight: 400 !important;
  font-family: var(--bs-font-sans-serif) !important;
  font-size: 16px !important;
}
.btn-default {
  padding: 8px 24px !important;
}

.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group>.btn, .input-group-btn:last-child>.dropdown-toggle, .input-group-btn:first-child>.btn:not(:first-child), .input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

.btn.clearlookupfield, .btn.launchentitylookup {
  padding: 5px 20px !important;
}

.btn.clearlookupfield {
  border-radius: 0 !important;
}

.btn-block {
  display: block !important;
  width: 100% !important;
}

.button2, .btn-hg {
  padding: 5px 20px !important;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: var(--bs-primary-700);
  border-color: var(--bs-primary-700);
}

/* ------------------ Forms Controls */

.form-control {
  color: var(--bs-gray-700) !important;
  border-radius: 4px;
  border: 1px solid var(--bs-gray-200) !important;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  background-color: #f0f5fa !important;
  padding: 6px 12px !important;
}

.form-control:focus {
  border-color: #69c !important;
  outline: 0 !important;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%) !important;
}

.crmEntityFormView, .entitylist, .modal-content, .popover-content {
  padding: 0 2rem;
  color: var(--bs-gray-700) !important;
}

.crmEntityFormView .tab-title {
  font-size: 24px;
  padding-bottom: 8px;
}

.crmEntityFormView .actions {
  border-top: none !important;
  margin: 0 20px 20px !important;
  padding: 0 !important;
}

/* ------------------ Quick Message & Loan Applications */

.quick-message .crmEntityFormView {
  padding: 2rem 0 0 0;
  border: 0;
}

.quick-message .crmEntityFormView .cell {
  padding: 0;
}

.quick-message .crmEntityFormView .tab {
  margin-bottom: 0;
}

.quick-message .crmEntityFormView .actions {
  border-top: none !important;
  margin: 0 !important;
}

.quick-message td.cell {
  padding: 10px 0 !important;
}

.quick-message table {
  border-bottom: none;
}

.quick-message-list .entitylist, .loan-applications-list .entitylist, .my-accounts-list .entitylist, .inspire-entity-list  {
  padding-top: 20px;
  padding-bottom: 20px;
  border: none;
}

.quick-message-list .entity-grid.entitylist, .loan-applications-list .entity-grid.entitylist, .my-accounts-list .entity-grid.entitylist, .inspire-entity-list .entity-grid.entitylist {
  padding: 0;
  border: none;
}

#loan-applications .entitylist {
  border: none;
  padding: 0;
}

/* ------------------ UI Elements */

.chip {
  display: inline-block;
  padding: 2px 16px;
  border-radius: 24px;
  font-weight: 700;
}

.chip-green {
  color: var(--bs-success);
  background-color: var(--bs-success-100);
}

.chip-red {
  color: var(--bs-danger);
  background-color: var(--bs-danger-100);
}

.chip-gray {
  color: var(--bs-gray-500);
  background-color: var(--bs-gray-100);
}

.chip-yellow {
  color: var(--bs-warning);
  background-color: var(--bs-warning-100);
}


/* ------------------ Sidebar Toggle Styles */
.menu-toggle i {
  font-size: 32px;
}

#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled {
  padding-left: 250px;
}

#sidebar-wrapper {
  z-index: 1000;
  position: fixed;
  left: 250px;
  width: 0;
  height: 100%;
  margin-left: -250px;
  overflow-y: auto;
  background-color: #FFF;
  border-right: solid 1px var(--bs-gray-100);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
  width: 250px;
}

#page-content-wrapper {
  width: 100%;
  position: absolute;
  padding: 0 20px;
}

#wrapper.toggled #page-content-wrapper {
  position: absolute;
  margin-right: -250px;
}

/* ------------------ Sidebar */

.sidebar-brand {
  background-color: var(--bs-gray-50)
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 16px;
}

.sidebar-nav li i {
  text-indent: 0px;
  margin-right: 6px;
}

.sidebar-nav li a {
  display: block;
  text-decoration: none;
  color: var(--bs-gray-700);
  font-size: 16px;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background-color: #163E8A;
}

.sidebar-nav li a:active,.sidebar-nav li a:focus,.sidebar-nav .active a {
  text-decoration: none;
  font-weight: 700;
  color: var(--bs-primary);
}

.sidebar-nav>.sidebar-brand {
  height: 65px;
  font-size: 18px;
  line-height: 60px;
  margin: 0 0 20px 0;
}

.sidebar-nav>.sidebar-brand a {
  color: #999999;
}

.sidebar-nav>.sidebar-brand a:hover {
  color: #fff;
  background-color: none;
}

@media(min-width:768px) {
  #wrapper {
    padding-left: 250px;
  }

  #wrapper.toggled {
    padding-left: 0;
  }

  #sidebar-wrapper {
    width: 250px;
  }

  #wrapper.toggled #sidebar-wrapper {
    width: 0;
  }

  #page-content-wrapper {
    padding: 0 20px;
    position: relative;
  }

  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
}

/* ------------------ Main Panel */

#main-navbar.navbar {
  border-bottom: solid 2px var(--bs-gray-100);
}

.panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: rgba(0,0,0,0.08) 0px 4px 10px 0px;
}

.panel-heading {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.panel-default {
  border-color: var(--bs-gray-100);
}

.panel-default>.panel-heading {
  color: var(--bs-gray-700) !important;
  background-color: #FFF !important;
  border-color: var(--bs-gray-100);
  min-height: 55px;
}

.panel-default > .panel-body, .list-group-item {
  color: var(--bs-gray-700) !important;
  background-color: #FFF !important;
}

.panel-title {
  font-weight: 600;
}

table {
  border-bottom: 1px solid #EBEEF1;
}

.profile-progress {
  background-color: #DDF4FE;
  border: 1px solid #99D4FC;
  border-radius: 8px;
  padding: 0 16px;
  margin-bottom: 24px;
}

.loan-summary,.loan-summary div{
  min-height: 56px;
}

/* ------------------ Laon Calculator */
.loan-calc-details {
  background-color: #ECFAF3;
  border-radius: 8px 0 0 8px;
  height: 100%;
}

#monthly-payment-display.monthly-payment {
  font-size: 4.5rem;
  font-weight: 700;
}

.currency {
  position: relative;
  top: -8px;
  left: 0;
}

.loan-calc-payments {
  border-radius: 0 8px 8px 0;
  border-left: none;
  border: 1px solid var(--bs-gray-100);
  height: 100%;
}

.loan-calc-results {
  display: flex;
}


/* ------------------  Sidebar Ad */

.inspire-ads-container {
  position: absolute;
  bottom: 0;
  padding: 2rem;
  width: 100%;
}

.inspire-ads {
  border: 1px solid var(--bs-gray-100);
  border-radius: 8px;
  box-shadow: rgba(0,0,0,0.2) 0px 4px 10px 0px;
  overflow: hidden;
}

/* ------------------ Utilities */

/* .row.row-flex {
  display: flex;
  flex-wrap: wrap;
}

.row.row-flex > [class*='col-'] {
display: flex;
flex-direction: column;
} */

.row-flex {
  display: flex;
  flex-flow: row wrap;
  
  &::before {
      display: block;
  }
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.v-middle {
  vertical-align: middle !important;
}

/* ------------------ Font Size */

.fs-1 {
  font-size: 2.5rem!important;
}

.fs-2 {
  font-size: 2rem!important;
}

.fs-3 {
  font-size: 1.75rem!important;
}

.fs-4 {
  font-size: 1.5rem!important;
}

.fs-5 {
  font-size: 1.25rem!important;
}

.fs-6 {
  font-size: 1rem!important;
}


/* ------------------ Font Weight */

.fw-normal {
  font-weight: 400 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.mx-5 {
  margin-right: 3rem;
  margin-left: 3rem;
}

.mr-1 {
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 2rem;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-2 {
  margin-left: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-0 {
  margin-bottom: 0;
}

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

.mb-2 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 4rem;
}


.pt-0 {
  padding-top: 0;
}

.pr-1 {
  padding-right: 1rem;
}

.pr-2 {
  padding-right: 2rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pb-2 {
  padding-bottom: 2rem;
}

.pb-3 {
  padding-bottom: 3rem;
}

.px-0 {
  padding: 0;
}

.px-1 {
  padding-right: 1rem;
  padding-left: 1rem;
}

.px-2 {
  padding-right: 2rem;
  padding-left: 2rem;
}

.py-1 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-3 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-4 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ------------------ Responsive Styles */

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
  .form-control {
    display: inline;
  }
  .loan-calc-results {
    display: block;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
  .loan-calc-results {
    display: block;
  }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {}