/* ---------------------------------------
   GLOBAL RESETS
--------------------------------------- */
body {
  background: transparent !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* REMOVE STACKING CONTEXTS */
html, body {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  isolation: auto !important;
}

/* ---------------------------------------
   NAVBAR
--------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 9999;   /* navbar stays above layout content */
  background-color: #5f788a;
}

/* ---------------------------------------
   PAGE CONTENT
--------------------------------------- */
/* Push content down to avoid navbar overlap */
.page-content {
  padding-top: 80px; /* exact navbar height */
}

/* Prevent .page-content from creating stacking contexts */
.page-content {
  position: static !important;
  z-index: auto !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  isolation: auto !important;
}

/* ---------------------------------------
   BOOTSTRAP CONTAINERS
--------------------------------------- */
.container,
.container-fluid {
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;

  /* Prevent container stacking contexts */
  position: static !important;
  z-index: auto !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  isolation: auto !important;
}

/* ---------------------------------------
   NAV LINKS
--------------------------------------- */
.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

/* ---------------------------------------
   SHARED WINE ITEM STYLES
--------------------------------------- */
.wine-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.wine-item div {
  flex: 1;
}

.wine-item form {
  margin-left: 10px;
}

/* General content section */
.content-section {
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

/* Headings & article styling */
.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3;
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-heading {
  font-size: 2.5rem;
}
