body {
    font-family: 'DM Sans';
}

h6, h5, h4, h3, h2, h1 {
  font-family: "DM Serif Display";
}

.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

/*
  * Sidebar
  */

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: black;
  background-color: #f7f7fa;
}

.sidebar .nav-link.active {
  background-color: #3e70e6;
  color: white;
}

.sidebar .nav-link:hover {
  background-color: #dbdbe0;
}

.sidebar-nav {
  background-color: #f7f7fa;
}

@media (min-width: 768px) {
  .sidebar-nav {
    min-height: 92vh;
  }
}

.sidebar-heading {
  font-size: .75rem;
}

/*
  * Navbar
  */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
}

.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

/*
  * Sidebar
  */

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: gray;
  font-size: 1.1rem;
}

.sidebar .nav-link.active {
  background-color: #3e70e6;
  color: white;
}

.sidebar-heading {
  font-size: .75rem;
}

/*
  * Navbar
  */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.nav .form-control {
  padding: .75rem 1rem;
}

.nav .nav-item a {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.sidebar .viewing-unit {
  color: black;
}

.header-top-row {
    margin-top: 100px;
}

.hidden {
    display: none;
}

.error-div {
    color: red;
}

footer {
    margin-top: 100px;
}

.loader-img {
    max-width: 60px;
}

#submit_loader {
    max-width: 20px;
    display: none;
}

.select-unit-row {
  padding-top: 15px;
  padding-bottom: 15px;
  border: 1px solid lightgray;
  margin-bottom: 5px;
  cursor: pointer;
}

.select-unit-row:hover {
  background-color: rgba(243, 244, 246);
}

.account-info .header-table {
  border: 1px solid lightgray;
  box-shadow: 0px 2px lightgray;
}

.account-info .header-table .range-item{
  margin-right: 40px;
  padding: 10px 10px 10px 10px;
  cursor: pointer;
}

.account-info .header-table .range-item:hover{
  background-color: rgba(243, 244, 246);
}

.account-info .range-active{
  color: rgba(59, 130, 246);
  border-bottom: 3px solid rgba(59, 130, 246);
}

.overview-details .overview-title {
  color: rgba(107,114,128);
}

.overview-details .overview-balance {
  font-size: 1.2rem;
}

.overview-details .overview-link {
   text-decoration: none;
}

.overview-details .overview-payment-link {
   background-color: #1e40af;
}

.unit-select-icon {
  max-width: 30px;
}

.account-balance-table {
  width: 100%;
}

.make-payment .form-check-input {
  transform: scale(1.7);
  margin-right: 20px;
}

.edit-unit-select {
  text-decoration: none;
}

.edit-unit-select svg {
  width: 1rem;
  height: 1rem;
}

.card-type-img {
  max-width: 45px;
}

.email_manager_textarea {
  min-height: 150px !important;
}

.account-preferences .change-pw-row {
  cursor: pointer;
}

.make-payment .select-autopay-checkbox {
  transform: scale(1.7);
  margin-right: 0px;
}

.main_header #nav-icon1 {
    width: 25px;
    height: 14px;
    transform: rotate(0deg);
    cursor: pointer;
    transition: 0.5s ease-in-out;
    padding: 0px;
  
}

.main_header #nav-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #0B192D;
  border-radius: 3px;
  opacity: 1;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}
.main_header #nav-icon1 span:nth-child(1) {
  top: 0px;
}
.main_header #nav-icon1 span:nth-child(2) {
  top: 10px;
}
.main_header #nav-icon1 span:nth-child(3) {
  top: 20px;
}
.main_header #nav-icon1.open span:nth-child(1) {
  top: 10px;
  transform: rotate(130deg);
}
.main_header #nav-icon1.open span:nth-child(2) {
  display: none;
}

.main_header #nav-icon1.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-130deg);
}

#hamburger {
  margin-top: 15px;
}