/* NOTE: Always ensure variables.css is loaded before this stylesheet. */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

html, body {
  width: auto;
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--d2dRobotoFont);
  font-weight: 200;
  font-size: 17.5px;
  justify-content: space-between;
  line-height: 28px;
  text-wrap: pretty;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-family: "Playfair Display", Palatino, Georgia, serif;
  margin-bottom: 1rem;
}
a {
  color: var(--d2dOrange);
  text-decoration: none;
}
a:hover, a:focus {
  color: #a62307;
  text-decoration: underline;
}

.visually-hidden {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.visually-hidden-focusable:not(:focus):not(:active) {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.btn {
  font-weight: 200;
  font-size: 18px;
  font-family: "Roboto Condensed", Verdana, Geneva, sans-serif;
}

.page-anchor {
  position: relative;
  display: block;
  top: -113px;
  visibility: hidden;
}

@media (max-width: 767px) {
  .page-anchor {
    top: -33px;
  }
}
.alert-danger {
  background-color: #ffdfd5;
  border-color: #ff9b7b;
  color: var(--d2dOrange);
}

.has-error .form-control {
  border-color: var(--d2dOrange);
}
.has-error .form-control:focus {
  border-color: var(--d2dOrange);
}

input[type=text], input[type=email], input[type=password] {
  border-bottom: 2px solid var(--d2dOrange);
}
.content-header {
  border-bottom: 2px solid black;
  font-size: 42px;
  padding-bottom: 15px;
  margin-top: 1em;
  margin-bottom: 25px;
}

.recaptcha_terms-of-service {
  color: gray;
}
.grecaptcha-badge {
  visibility: hidden;
}

div.cart-tag-wrapper {
  display: inline;
}
div.cart-tag-wrapper a.cart-tag-href {
  display: inline-block;
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
}

div.cart-tag-wrapper a.cart-tag-href span {
  display: inline-block;
  margin-left: 3px;
  margin-right: 3px;
  vertical-align: middle;
}

div.cart-tag-item-count {
  display: inline-block;
  background-color: #FFA000;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  top: -3px;
  position: relative;
  margin-left: 5px;
  text-align: center;
}

.cart-tag-num-items {
  position: relative;
  top: 4px;
  color: black;
}
.cart-tag-wrapper > a {
    color: #ffffff;
    position: relative;
    display: block;
    font-family: "Roboto Condensed", Verdana, Geneva, sans-serif;
}
.cart-tag-wrapper > a > span {
    vertical-align: inherit !important;
}
.cart-tag-wrapper > a > span:hover {
    border-bottom: 2px solid var(--d2dOrange);
}
#temporary_redirect_banner {
  display:flex;
  justify-content: center;
  align-items: center;
  background-color: #FFA000;
  border-style: solid;
  border-width: 3px;
  border-color: #FFA000;
  border-radius: 11px;
  color: #fff;
  font-family: "Roboto", Verdana, Geneva, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  height: auto;
  line-height: 1;
  margin: 10px;
  max-height: 30px;
  padding: 0 30px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
/* For now suppress the short message version, we'll see if we need it. */
#temporary_redirect_banner.short {
  display: none;
  color: white;
  text-decoration: none;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
#temporary_redirect_banner a {
    font-weight: normal;
}

.news-callout {
    color: #fff;
    font-family: "Roboto", Verdana, Geneva, sans-serif;
    border-style: solid;
    border-width: 3px;
    border-color: #FFA000;
    border-radius: 11px;
    background-color: rgb(255, 160, 0);
    padding: 0 5px;
}

/* PAGE HEADER -- Shared page header for outer pages */
header.page-header {
  display: flex;
  flex-direction: column;
  background-color: var(--pageHeaderBackground);
  color: var(--pageHeaderTextColor);
}
header.page-header .navbar-nav a {
  color: var(--pageHeaderTextColor);
  font-weight: 200;
  text-decoration: none;
}
header.page-header .navbar-nav a:not(.red-button):hover,
header.page-header .navbar-nav a:not(.red-button):focus {
  text-decoration: none;
  border-bottom: 2px solid var(--d2dOrange);
}
header.page-header ul.navbar-nav {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}
header.page-header .navbar-nav li {
  /* display: inline-block; */
  padding: 15px 10px;
}
header.page-header .navbar-mobile {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  height: 3rem;
}
header.page-header .navbar-mobile .phone-logo {
  height: 40px;
  margin-top: 4px;
}
button#menu-toggle {
  background-color: transparent;
  border: none;
}
header.page-header .fa-bars {
  font-size: 2em;
  margin-top: 4px;
  color: var(--pageHeaderTextColor);
  background-color: transparent;
}
header.page-header .navbar-collapse {
  display:grid;
}
header.page-header .navbar-collapse.collapse {
  display: none;
}
header.page-header .navbar-top-piece {
  padding: 0 1rem;
}
header.page-header .navbar-bottom-piece {
  display: none;
}
header.page-header .navbar-tail {
  display:flex;
  flex-grow: 1;
  justify-content: flex-end;
}
/* DESKTOP HEADER */
@media (min-width: 768px) {
  header.page-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  header.page-header .navbar-mobile {
    display: none;
  }
  header.page-header .navbar-collapse.collapse {
    /* Only collapses on mobile */
    display: flex;
    justify-content: space-between;
  }
  header.page-header .navbar-top-piece {
    margin-left: auto;
    min-height: 30px;
    padding: 0;
  }
  header.page-header .navbar-top-piece ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    gap: 1.3em;
    padding: 0 1rem;
  }
  header.page-header .navbar-top-piece ul li {
    padding: 0 10px;
  }
  .navbar-logo-lg {
    display: none; /* Under 960, use the small logo to leave room for links */
  }
  header.page-header .navbar-bottom-piece {
    align-items: center;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-basis: 100%;
    font-family: var(--d2dMenuFont);
    font-size: 17px;
    justify-content: space-between;
    padding: 0 1rem;
  }
  header.page-header .navbar-bottom-piece .navbar-brand .navbar-logo-lg {
    height: 100%;
    width: auto;
    max-height: 70px;
    padding-top: 20px;
    padding-bottom: 10px;
  }
  header.page-header .navbar-bottom-piece ul {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    align-items: center;
  }
  #temporary_redirect_banner {
    margin: 0 10px;
  }
}
@media (min-width: 960px) {
  .navbar-logo-lg {
    display: block; /* Over 960, use the large logo */
  }
  .navbar-logo-sm {
    display: none; /* Over 960, use the large logo */
  }
}

.red-button {
  color: white;
  background-color: var(--d2dOrange);
  font-weight: 200;
  text-transform: uppercase;
  text-wrap: nowrap;
}
a.red-button {
  padding: 12px 22px 10px; /* Shim for Firefox, see @supports below */
  text-decoration: none;
}
@supports(text-box-trim: trim-both) {
  /* Because we're transforming to uppercase, we don't need space below for descenders. */
  a.red-button {
    padding: 10px 22px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
  }
}
a.red-button:hover, a.red-button:focus {
  background-color: #be2808;
  border: none;
  color: white;
  text-decoration: none;
}

/* PAGE FOOTER */
footer.page-footer {
  align-items: center;
  background-color: var(--pageFooterBackground);
  color: var(--pageFooterTextColor);
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 200;
  justify-content: center;
  padding: 1rem 0;
}
footer.page-footer .footer-links {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  list-style-type: none;
  padding-left: 0;
}
footer.page-footer .footer-links li {
  padding: 1rem;
}
footer.page-footer a {
  color: var(--pageFooterTextColor);
  text-align: center;
  text-decoration: none;
  text-wrap: nowrap;
}
footer.page-footer a:hover,
footer.page-footer a:focus {
  text-decoration: underline;
}
footer.page-footer .social-media-wrapper {
  align-items: center;
  display:flex;
  gap: .5rem;
  justify-content: center;
  list-style-type: none;
  padding: 1rem 0 2rem 0;
}
footer.page-footer .copyright {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  padding: 60px 0 100px 0;
  text-align: center;
  width: 100%;
}
@media (min-width: 768px) {
  footer.page-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
  }
}

main.main-content {
  flex-grow: 1;
  padding: 0 8.3333%;
}