:root {
  --black: #000000;
  --white: #fcfbfa;

  --ui-2: #f3eeea;
  --ui-3: #eee8e2;
  --ui-4: #dccdbf;

  --lt-dark-blue: #00395a;
  --lt-blue: #31a2ac;
  --lt-orange: #ffa52c;
  --lt-cream: #e5e7eb;
  --lt-green: #57b538;
  --lt-red: #cc3a4d;

  --lt-green-hover: #67c538;
  --lt-orange-hover: #ca8a04;
  --lt-black-hover: #374151;
  --lt-red-hover: #dd444d;
}

html,
body {
  font-family: "Rubik", sans-serif;
  padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", sans-serif;
}

.content-header h2 {
  font-weight: bolder;
}

.header {
  margin-bottom: 10px;
}

#logout-link {
  color: lightgray;
}

#logout-link > a {
  display: inline-block;
}

.alert-primary {
  color: var(--white);
  background-color: rgba(87, 181, 56, 0.8);
}

.nav-link {
  color: var(--lt-green);
}

.nav-link:focus,
.nav-link:hover {
  color: var(--lt-blue);
}

.btn {
  border-radius: 0.25rem;
}

.btn-orange {
  font-weight: 600;
  color: var(--black);
  background-color: var(--lt-orange);
}

.btn-orange:hover {
  background-color: var(--lt-orange-hover);
}

.btn-orange:active {
  background-color: var(--lt-orange-hover);
}

.btn-red {
  font-weight: 600;
  color: var(--black);
  background-color: var(--lt-red);
}

.btn-red:hover {
  color: var(--black);
  background-color: var(--lt-red-hover);
}

.centerFlex {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100%;
  flex-direction: column;
}

.card {
  border: none;
}

.card-border {
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.heart {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 10rem;
}

.checkbox-label {
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
}

.btn-login {
  width: 100%;
}

#login-form {
  padding: 2rem;
}

#login-form .checkbox {
  padding-bottom: 10px;
}

#login-form p {
  text-align: center;
}

.login-container-wrapper {
  position: relative;
  height: 100%;
}

.login-container {
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.login-wrapper {
  border-radius: 8px;
  padding: 12px;
  background-color: rgba(220, 205, 191, 0.3);
}

.login {
  background-color: var(--white);
  padding: 120px;
  border-radius: 8px 0 0 8px;
}

.login input[type="checkbox"] {
  display: grid;
  place-content: center;

  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  appearance: none;
  /* For iOS < 15 to remove gradient background */
  background-color: #fff;
  /* Not removed via appearance */
  margin: 0;

  font: inherit;
  color: var(--lt-green);
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid var(--lt-green);
  border-radius: 0.15em;
  transform: translateY(-0.075em);
}

.login input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--lt-green);
}

.login input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.login .form-control {
  border-radius: 8px;
  background-color: var(--lt-cream);
  /* prevent things from changing size when we add a border */
  border: solid 2px transparent;
}

.login .form-control:hover {
  border-width: 2px;
  border-color: var(--lt-orange);
}

.login .form-control:focus {
  border-radius: 8px;
  border-width: 2px;
  border-color: var(--lt-orange);
  outline: 0 !important;
  box-shadow: none !important;
  background-color: var(--lt-cream);
}

.custom-switch .custom-control-label::after {
  top: 0.4rem;
  left: -2.1rem;
}

.milestone-card {
  cursor: pointer;
  width: 100%;
}

.milestone-card.active {
  background-color: var(--lt-green);
  color: var(--black);
}

.same-height {
  align-items: stretch;
}

.flex {
  display: flex;
  flex: 1;
}

.btn-green {
  font-weight: 600;
  color: var(--white);
  background-color: var(--lt-green);
  border-color: var(--lt-green);
}

.btn-green:hover {
  color: var(--white);
  background-color: var(--lt-green-hover);
  border-color: var(--lt-green-hover);
}

.info-item {
  cursor: pointer;
}

.tabbo {
  padding: 10px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-item .page-link {
  background-color: var(--lt-cream);
  color: var(--black);
}

.page-item.active .page-link {
  background-color: var(--lt-orange);
  border: none;
  color: var(--black);
}

.page-link:hover {
  cursor: pointer;
  background-color: var(--lt-orange);
  color: var(--black);
}

.x {
  position: relative;
  float: right;
  font-size: 2rem;
  padding-right: 10px;
}

.x:hover {
  cursor: pointer;
  text-shadow: 0 0 5px white;
}

.copyable:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
}

.wrapper {
  display: flex;
  width: 100%;
}

/* Sidebar */
#sidebar {
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 999;
  background: var(--lt-dark-blue);
  color: #fff;
  transition: all 0.3s;
  overflow: hidden;
}

#sidebar.active {
  margin-left: -250px;
}

#sidebar .sidebar-header {
  padding: 20px;
  background: var(--lt-dark-blue);
}

#sidebar ul.components {
  padding: 20px 0;
  border-bottom: 1px solid var(--lt-dark-blue);
}

#sidebar ul p {
  color: #fff;
  padding: 10px;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
  text-decoration: none;
  color: var(--lt-cream);
}
#sidebar ul li a:hover {
  background: var(--lt-green);
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
  color: #fff;
  background: var(--lt-green);
}

.mCSB_inside > .mCSB_container {
  margin-right: 0 !important;
}

#dismiss {
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: #7386d5;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

#dismiss:hover {
  background: #fff;
  color: #7386d5;
}

#content {
  width: calc(100% - 250px);
  min-height: 100vh;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.02);
}

.content-inner {
  padding: 40px;
  height: calc(100vh - 100px);
}

.content-header {
  background-color: white;
  padding: 10px 40px;
}

ul ul a {
  font-size: 0.9em !important;
  padding-left: 30px !important;
  background: var(--lt-dark-blue);
}

a[data-bs-toggle="collapse"] {
  position: relative;
}

#content.active {
  width: 100%;
}

@media (max-width: 768px) {
  #sidebar {
    margin-left: -250px;
  }
  #sidebar.active {
    margin-left: 0;
  }
  #content {
    width: 100%;
  }
  #content.active {
    width: calc(100% - 250px);
  }
  #sidebarCollapse span {
    display: none;
  }
}
