/* Make strong text better visible with our font */
strong {
  font-weight: 900;
}

/* Remove padding below menu */
#tc4-nav .container-fluid {
   padding-bottom: 0;
}

/* Remove margin between menu and submenu */
.metismenu.mod-menu .metismenu-item:not(.level-1) > ul,
.metismenu.mod-menu .metismenu-item:not(.level-2) > ul {
   margin-top: 1rem;
}

/* Place menu a bit higher on mobile devices. */
@media only screen and (max-width: 991px) {
   #tc4-nav ul.mod-menu_dropdown-metismenu {
      padding-top: 75px;
   }  
}

/* Remove some whitespace below breadcrumbs */
.breadcrumbs {
   padding-bottom: 0;
}

/* Remove some whitspace above every first header of the page.
 * This reduces the whitespace between breadcrumbs and the headers.
 */
.content .com-content-category-blog .category-desc > h1,
.content .com-content-article h1:first-of-type {
   margin-top: 0.25em;
}

/* Link color on news module */
#tc4-news h4 a {
   color:  white;
   text-decoration: none;
}

/* TODO: test */
/* Don't limit module's to only 4 lines */
#tc4-featured .featurednews p {
  -webkit-line-clamp: none;
}

/* TODO: test */
/* Hide featured image for Scouting Featured module */
h3.hide-image + div.featuredimage {
  display: none;
}

/* Improve date display in calendar list */
.mod-dpcalendar-upcoming .mod-dpcalendar-upcoming-icon__date {
   font-style: normal;
}

/* Add space between login description and form */
.com-users-login .com-users-login__description {
   margin-bottom: 2em;
}

/* Hide "Forgot XXX" links from login because we members all have the same password */
.com-users-login .com-users-login__reset,
.com-users-login .com-users-login__remind {
  display: none;
}

/* Align "Remember me" checkbox with it's label */
.com-users-login #remember {
   margin-top: 8px;
}

/* Remove Webauthentication login because it is a big black ugly button */
.com-users-login .plg_system_webauthn_login_button {
   display: none;
}

/* Add some spacing between login button and rest of the form */
.com-users-login .com-users-login__submit .btn-primary {
   margin-top: 1em;
}

/* Reset font for login module on photos page */
#tc4-breadcrumbs .mod-custom p {
   font-size: 1.125rem;
   line-height: 1.9em;
   color: #222;
}

/** Hide edit icons for registered users */
.jmodedit {
  display: none;
}

/* Header on mobile */
@media only screen and (max-width: 575px) {
    .navbar .navbar-brand .eigenlogo {
      top: -28px;
      left: -8px;
    }

    .navbar .container-fluid {
      padding-left: 0;
      padding-right: 0;
    }

    .smaller-header .navbar-nav {
      padding-top: 45px;
    }

    .smaller-header .mainbody {
      padding-top: 48px;
    }

   .smaller-header .navbar-brand .eigenlogo {
      max-height: 38px;
      top: -19px;
   }

   .smaller-header #tc4-buttons {
      height: 32px;
   }

   .smaller-header #tc4-buttons a ,
   .smaller-header #tc4-buttons button {
      padding-top: 0px;
   }

   .smaller-header #tc4-buttons button {
      padding-top: 7px;
   }

   .navbar-brand .eigenlogo {
      transition: max-height 0.3s, top 0.3s, left 0.3s;
   }
}

/* Frontpage news module */
ul.newsflash-vert {
  padding: 0;
  list-style: none;
}

#tc4-news ul.newsflash-vert h3 {
  padding-left: 0px;
  color: #00a551;
}

ul.newsflash-vert h3 a {
  color: inherit;
}
