/* Protostar-style centered boxed container */
body.site {
  background-color: #f4f6f7;
  padding: 20px 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
}

body.site > header.container-header,
body.site > .site-grid,
body.site > footer.container-footer {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff !important;
  background-image: none !important;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

body.site > header.container-header {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid #e5e5e5;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 16px 20px 10px 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  color: #333333;
}

body.site > .site-grid {
  padding: 16px 20px 20px 20px;
}

body.site > footer.container-footer {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 14px 20px;
  color: #666666;
}

.container-header .grid-child {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.container-header .navbar-brand {
  padding-top: 0;
  padding-bottom: 10px;
}

.container-header .navbar-brand img {
  max-height: 54px;
  width: auto;
}

/* Top navigation bar styled like Protostar's nav-pills */
.container-header .mod-menu {
  gap: 6px;
  padding-bottom: 4px;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button {
  color: #0088cc !important;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > button:hover {
  background-color: #eeeeee;
  color: #005580 !important;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  background-color: #0088cc !important;
  color: #ffffff !important;
}

/* Breadcrumb bar matching Protostar's #f5f5f5 well */
.container-breadcrumbs {
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 6px 14px;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 13px;
}

/* Protostar-style side-by-side intro image + text on Featured Articles */
.blog-item {
  display: block !important;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.blog-item .item-image {
  float: left !important;
  margin: 4px 18px 10px 0 !important;
  max-width: 140px;
}

.blog-item .item-image img {
  max-width: 100%;
  height: auto;
}

.blog-item .item-content {
  overflow: hidden;
}

.blog-item::after {
  content: "";
  display: table;
  clear: both;
}

/* Right sidebar modules styled like Protostar's .well boxes */
.container-sidebar-right .sidebar-right > div {
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Article headings in Protostar blue */
.page-header h1,
.page-header h2,
.item-title a {
  color: #0088cc;
  font-weight: normal;
  font-size: 22px;
  text-decoration: none;
}

.item-title a:hover {
  color: #005580;
  text-decoration: underline;
}

/* Joomla 5 Cassiopeia sidebar-right Protostar-style well boxes */
.container-sidebar-right > div,
.sidebar-right > div,
.sidebar-right .moduletable {
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.container-sidebar-right h3,
.sidebar-right h3 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: #333333;
}
