/* Your colours */
:root {
  --cassiopeia-color-primary: #0d3684;
  --cassiopeia-color-link: #0d3684;
  --cassiopeia-color-hover: #0a2862;
}

/* Page background */
body {
  background-color: #f4f6f7;
}

/* Light header instead of the blue gradient, like Protostar */
.container-header {
  background: #f4f6f7;
  background-image: none;
  color: #0d3684;
  padding-left: 0;
  padding-right: 0;
}

/* Larger logo with more space */
.container-header .navbar-brand {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.container-header .brand-logo img {
  height: 90px;   /* adjust the logo height here */
  width: auto;
  max-width: 100%;
}

/* Menu in the header: text in your template colour */
.container-header a,
.container-header .site-description,
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #0d3684;
}

/* Mobile menu button visible on a light background */
.container-header .navbar-toggler {
  color: #0d3684;
  border-color: #0d3684;
}

/* Buttons in your template colour */
.btn-primary {
  background-color: #0d3684;
  border-color: #0d3684;
}
.btn-primary:hover {
  background-color: #0a2862;
  border-color: #0a2862;
}

/* === Main menu === */

/* Menu item: text and triangle side by side */
.container-header .metismenu.mod-menu > li {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  border-radius: 4px;
  color: #0d3684;
  transition: background-color 0.2s, color 0.2s;
}

/* Text of the menu items */
.container-header .metismenu.mod-menu > li > a,
.container-header .metismenu.mod-menu > li > span,
.container-header .metismenu.mod-menu > li > button.mm-toggler-nolink {
  padding: 0.6rem 1rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
}

/* Triangle: small, directly right of the text, no own box */
.container-header .metismenu.mod-menu > li > button.mm-toggler-link {
  background: none;
  border: 0;
  margin: 0 0 0 -0.6rem;
  padding: 0 0.8rem 0 0.2rem;
  color: inherit;
  align-self: stretch;
}

/* Hover and active item: whole item in your template colour */
.container-header .metismenu.mod-menu > li:hover,
.container-header .metismenu.mod-menu > li.active {
  background-color: #0d3684;
  color: #ffffff;
}

/* Open submenu on hover (desktop) */
@media (min-width: 992px) {
  .container-header .metismenu.mod-menu > li:hover > ul.mm-collapse {
    display: block;
  }
}

/* Dropdown panel */
.container-header .metismenu.mod-menu .mm-collapse {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  padding: 0.4rem 0;
  min-width: 14rem;
}

/* Items in the dropdown */
.container-header .metismenu.mod-menu .mm-collapse a {
  display: block;
  color: #0d3684;
  padding: 0.5rem 1rem;
  text-decoration: none;
}
.container-header .metismenu.mod-menu .mm-collapse a:hover {
  background-color: #f4f6f7;
}