html {
  scroll-behavior: smooth;
}

.hidden.menu {
  display: none;
}

.masthead.segment {
  min-height: 700px;
  padding: 1em 0em;
}
.masthead .logo.item img {
  margin-right: 1em;
}
.masthead .ui.menu .ui.button {
  margin-left: 0.5em;
}
.masthead h1.ui.header {
  margin-top: 3em;
  margin-bottom: 0em;
  font-size: 4em;
  font-weight: normal;
}
.masthead h2 {
  font-size: 1.7em;
  font-weight: normal;
}

.mobile-only, .mobile-only.menu
{
  display: none !important;
}

.ui.vertical.menu.sidebar
{
  font-size: 1.5rem;
}

.ui.vertical.menu.sidebar .item:before
{
  content: none;
}

.ui.vertical.menu .active.item
{
  background: white;
  border-left: 3px solid var(--primary-color);
  border-bottom: none;
}

.fixed.menu
{
  border: none !important;
}

.fixed.menu .button {
  margin-top: -3px !important;
}

.fixed.menu .item
{
  padding: 1.6rem 1.2rem 1.4rem 1.2rem !important
}

.fixed.menu .header.item
{
  padding: 2px !important;
  padding-right: 20px !important;
}

.fixed.menu .item:hover
{
  background: none !important;
}

.fixed.menu .item.active
{
  font-weight: normal !important;
}

.fixed.menu .header.item img
{
  height: 40px;
  width: auto;
}

.fixed.menu .right.menu .item
{
  padding: 14px !important;
}

/* === Following menu === */

.ui.secondary.inverted.menu.following {
  background-color: white;
  border: none;
  border-bottom: 2px solid white !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

/* Ensure header logo is never marked as active */
.ui.menu a.item.header-logo.active {
  border-color: transparent !important;
}

.ui.secondary.inverted.menu.following a.item, .ui.secondary.inverted.menu .item {
  color: var(--text-color) !important;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

.ui.inverted.menu.following .item, .ui.inverted.menu.following .item>a:not(.ui)
{
  color: var(--text-color) !important;
}

.ui.secondary.inverted.menu.following a.item:hover {
  background: none;
  color: var(--primary-hover-color) !important;
}

.ui.secondary.inverted.pointing.menu.following .active.item
{
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.ui.menu.secondary .right.menu .ui.button:hover {
  background-color: var(--primary-hover-color);
}

.ui.secondary.inverted.menu .item {
  transition: color 0.3s ease, border-color 0.3s ease;
}

.ui.secondary.inverted.pointing.menu .active.item {
  transition: color 0.3s ease, border-color 0.3s ease;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.ui.secondary.inverted.menu.following .item {
  transition: color 0.3s ease, border-color 0.3s ease;
}

@media only screen and (max-width: 700px) {
  .mobile-only
  {
    display: block !important;
  }
  .mobile-only.menu
  {
    display: flex;
  }
  .computer-only, .computer-only.menu
  {
    display: none !important;
  }

  .fixed.menu .item
  {
    padding: initial;
  }
  
  .ui.left.sidebar.menu .button {
    width: 100%;
  }
  
  .masthead.segment {
    min-height: 350px;
  }
  .masthead h1.ui.header {
    font-size: 2em;
    margin-top: 1.5em;
  }
  .masthead h2 {
    margin-top: 0.5em;
    font-size: 1.5em;
  }
}
.ui.large.secondary.inverted.pointing.menu{
  border: none;
}

