/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

html {
  position: relative;
  min-height: 100%;
}

main {
  display: flex;
  flex-wrap: nowrap;
  height: max-content;
  overflow-x: hidden;
  overflow-y: hidden;
}

body {
  position: relative;
  width: 100%;
  min-width: 300px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  color: #505050;
}

.container-outer-wrapper {
  padding-left: 210px;
}

.container-inner-wrapper {
  min-width: 400px;
  max-width: 700px;
}

.mhr-logo-icon {
  height: 100px;
  width: 100px;
}

.bottom-bar .copyright {
  line-height: 1.8;
}

a {
  color: #009fe3;
  text-decoration: none;
}

a:hover {
  color: #009fe3;
  text-decoration: underline;
}

li.nav-item.p-1:focus {
  background-color: #f4f4f4;
}

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

.app-sidepanel {
  position: fixed;
  min-height: 100vh;
  height: 100%;
  left: 0;
  top: 0;
  border-right: 1px solid #e7e9ed;
}

.app-sidepanel .sidepanel-inner {
  position: relative;
  z-index: 10;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 8px 15px;
  width: 210px;
  height: 100%;
}

.app-sidepanel-footer {
  padding-bottom: 20px;
}

.app-wrapper {
  width: 100%;
  box-sizing: content-box;
}

/*--------------------------------------------------------------
# MHR Branding Colours
--------------------------------------------------------------*/

/* Colour for negative actions */
.mhr-deep-red {
  background-color: #680404;
  color: #fff;
}

.mhr-mid-red {
  background-color: #a1162c;
  color: #fff;
}

/* Colour for positive actions */
.mhr-eco-green {
  background-color: #7aca50;
  color: #fff;
}

.mhr-light-red {
  background-color: #ff2a54;
  color: #fff;
}

.mhr-itrent-blue {
  background-color: #009fe3;
  color: #fff;
}

.mhr-bg {
  background-color: #f4f4f4;
}

.mhr-su-bg {
  background-color: #fafafa;
}

.mhr-action-button {
  background-color: #c8192e;
  color: #f4f4f4;
}

.btn-download {
  width: 175px;
}

.mhr-logo-red {
  background-color: #d30023;
  color: #f4f4f4;
}

.mhr-log-red:hover {
  color: #f4f4f4;
}

.mhr-action-button:hover {
  color: #f4f4f4;
}

.teachers-pensions {
  background-color: #1e7a98;
  color: #f4f4f4;
}

.teachers-pensions:hover {
  background-color: #1e7a98;
  color: #f4f4f4;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  padding-bottom: 40px;
}

.section-header h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  margin: 0;
  color: #4154f1;
  text-transform: uppercase;
}

.section-header p {
  margin: 10px 0 0 0;
  padding: 0;
  font-size: 38px;
  line-height: 42px;
  font-weight: 700;
  color: #012970;
}

@media (max-width: 768px) {
  .section-header p {
    font-size: 28px;
    line-height: 32px;
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

.header.header-scrolled {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}

.header .logo {
  line-height: 0;
}

.header .logo img {
  max-height: 45px;
  margin-right: 6px;
}

.header .logo span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #012970;
  font-family: 'Montserrat', sans-serif;
  margin-top: 3px;
  align-items: center;
}

.fixed-top {
  top: -25px;
  left: 10px;
}

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

.btn:hover {
  text-decoration: underline;
}

.btn-mhr-info {
  width: 210px;
  text-align: left;
}

button.no-pointer {
  cursor: default;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.mhr-navbar {
  padding: 0.7rem 0.5rem 2rem 2rem;
  color: #f4f4f4;
  height: 30px;
  background-color: #0a2433;
}

.footer-menu {
  padding-left: 1rem;
}

footer > div > small.software-version {
  text-align: end;
}

.navbar ul {
  list-style: none;
  align-items: center;
  padding-right: 10px;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  padding: 1.5em;
  font-weight: 600;
  color: #505050;
}

.navbar a i,
.navbar a:focus i {
  font-size: 14px;
  line-height: 0;
  margin-left: 5px;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: -7.25rem;
}

.navbar .dropdown ul {
  background: #fff;
}

.navbar .dropdown ul li {
  min-width: 120px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
}

.nav-link {
  color: #c8102e;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

.dropdown-menu-dark .dropdown-item {
  color: #505050;
}

#menu-accordion > li.nav-item {
  padding-left: 1rem;
}

#menu-accordion > li.nav-item.active {
  background-color: #f4f4f4;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
  color: #3d2555;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(1, 22, 61, 0.9);
  transition: 0.3s;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #012970;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #3d2555;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 210px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #3d2555;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/* Lists */

ul.no-bullets {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Icons */

.bs-icon {
  padding-right: 8px;
  font-size: 1.1rem;
}

/* Errors */

.mhr-alert {
  padding: 1rem 1rem 0.1rem;
}

.error-feedback {
  font-weight: 450;
  font-size: 10pt;
  color: red;
  margin-bottom: 0;
}

.error-link {
  color: white;
}

.error-link:hover {
  color: white;
  text-decoration: underline;
}

/* HTMX */

.htmx-indicator {
  color: red;
}

/* Report Output */

#report-output.htmx-added {
  opacity: 0;
}

#report-output {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
  appearance: inherit;
}

/* Popovers */
.bi-trash-fill:hover {
  color: #dc3545;
}

.mhr-popover {
  max-width: fit-content;
  display: inline-block;
  font-size: 13px;
}

.mhr-popover:hover {
  color: #676767;
}

/* Modals List group items */
.list-group-item {
  padding: 0.1rem;
  font-size: small;
  color: black;
}

/* Search */

.search-input-wrapper {
  position: relative;
}

.search-input-icon {
  position: absolute;
  top: 50%;
  left: 0.6rem;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: #6c757d;
  pointer-events: none;
  line-height: 1;
}

.search-input-wrapper input.form-control-sm {
  padding-left: 2rem;
}

.tbl-summary {
  box-sizing: border-box;
  color: rgb(80, 80, 80);
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 24px;
  line-height: 24px;
  overflow-wrap: break-word;
  text-align: start;
  text-size-adjust: 100%;
  unicode-bidi: isolate;
  width: 375.164px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*--------------------------------------------------------------
# Superuser
--------------------------------------------------------------*/

.su-container-inner-wrapper {
  min-width: 475px;
  max-width: 1024px;
}
