/* # Figure out why this isn't working on the style.css side' */
.menu-item-has-children .sub-menu {
  background: white;
}

@media (max-width: 430px) {
  .main-navigation .menu-toggle .mobile-menu {
    display: inline-flex;
    text-transform: uppercase;
    font-weight: 500;
  }
}

.px-ep-footer {
  gap: 20px;
}

button.menu-toggle {
  background-color: transparent !important;
}

.px-ep-title-underline,
.archive .page-title {
  position: relative;
  padding-bottom: 10px;
}

.px-ep-title-underline::after,
.archive .page-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 2px;
  background-color: var(--primary);
  margin-right: auto;
  margin-left: auto;
}

.archive a {
  text-decoration: none;
}

.nav-links {
  text-align: center;
}

.read-more,
.archive .page-numbers {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-color: rgba(0, 0, 0, 0);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  display: inline-flex;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 30px;
  margin-top: 16px;
  text-decoration: none;
}

.archive .page-numbers.current {
  color: white;
  background: var(--button-secondary);
}

.read-more:hover,
.archive .page-numbers:hover {
  background-color: #004CA2;
  color: var(--base-3);
}

.site-header {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10);
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  border-bottom: 2px solid var(--primary);
}

.main-navigation .main-nav ul .sub-menu li:not([class*="current-menu-"]):hover > a {
  background-color: var(--primary);
  color: #ffffff;
}

.main-navigation .main-nav ul .sub-menu li[class*="current-menu-"] > a {
  background-color: var(--primary);
  color: #ffffff !important;
}

input[type="submit"] {
  background-color: var(--button-secondary);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-color: rgba(0, 0, 0, 0);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: var(--base-3);
  display: inline-flex;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 30px;
}

input[type="submit"]:hover {
  background-color: #004CA2;
  color: var(--base-3);
}

.category-recepten .site-main {
  display: grid;
  align-items: start;
}

.category-recepten .recipe-archive-facets {
  grid-column: 1;
  margin-top: 75px;
}

.category-recepten .site-main > .generate-columns-container {
  grid-column: 2;
  min-width: 0;
}

.recipe-archive-facets__title {
  margin-top: 0;
}

.facet-wrap {
  margin-bottom: 1.5rem;
}

.facet-wrap h3 {
  font-size: 1rem;
  margin: 0 0 .5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .category-recepten .site-main {
    display: block;
  }
  .category-recepten .recipe-archive-facets {
    margin-bottom: 2rem;
  }
}

.recipe-archive-facets__title::after {
  border-top: 2px solid var(--primary);
  content: "";
  display: block;
  height: 0;
  margin: 12px auto 0 0;
  padding-bottom: 10px;
  width: 150px;
}

/* Flyout FacetWP */
.recipe-flyout-trigger {
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 780px) {
  .recipe-flyout-trigger {
    display: none;
  }
}

@media (max-width: 779px) {
  .category-recepten .site-main {
    display: block;
  }
  .category-recepten .recipe-archive-facets {
    display: none;
  }
}

.facetwp-flyout-open {
  background: var(--accent, #1e73be);
  color: #fff;
  border: 0;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .px-ep-search {
    flex-grow: 1;
  }
}

.px-ep-print-button {
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-bottom: 30px;
}

@media print {
  body.px-ep-print-mode > *:not(.px-ep-print-holder) {
    display: none !important;
  }

  body.px-ep-print-mode .px-ep-print-holder .px-ep-print-button,
  body.px-ep-print-mode .px-ep-print-holder [data-px-ep-print],
  body.px-ep-print-mode .px-ep-print-holder .ERSSavePrint {
    display: none;
  }
}

/* Legacy EasyRecipe markup — plugin disabled. Matches both ER* (older
   plugin) and ERS* (EasyRecipe Plus) class prefixes since recipes
   were saved under both versions. */
div.easyrecipe {
  font: 12px Verdana, Arial, Geneva, sans-serif;
  color: #666;
  background: #fff;
  border: 1px dashed #666;
  padding: 10px;
  margin: 0 0 1.5rem;
  overflow: hidden;
}

div.easyrecipe div.ERName,
div.easyrecipe div.ERSName {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

div.easyrecipe div.ERTopRight,
div.easyrecipe div.ERSTopRight {
  position: relative;
  z-index: 2;
  float: right;
  width: 40%;
  max-width: 215px;
  margin: 0 0 10px 15px;
  text-align: center;
}

div.easyrecipe div.ERTopRight img,
div.easyrecipe div.ERSTopRight img {
  display: inline-block;
  width: 205px;
  max-width: 96%;
  height: auto;
  border: 2px solid #999;
}

div.easyrecipe div.ERSavePrint,
div.easyrecipe div.ERSSavePrint {
  margin-top: 10px;
  text-align: center;
}

div.easyrecipe span.ERPrintBtnSpan,
div.easyrecipe span.ERSPrintBtnSpan {
  display: inline-block;
}

div.easyrecipe a.ERPrintBtn,
div.easyrecipe a.ERSPrintBtn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
  border-radius: 3px;
}

div.easyrecipe a.ERPrintBtn:hover,
div.easyrecipe a.ERPrintBtn:focus,
div.easyrecipe a.ERSPrintBtn:hover,
div.easyrecipe a.ERSPrintBtn:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

div.easyrecipe div.ERTimes,
div.easyrecipe div.ERSTimes {
  width: 60%;
  padding: 5px 0;
  margin: 0 0 10px;
  border-top: 1px dotted #666;
  border-bottom: 1px dotted #666;
  overflow: hidden;
}

div.easyrecipe div.ERTimes div.ERTime,
div.easyrecipe div.ERSTimes div.ERSTime {
  width: 33%;
  text-align: center;
  float: left;
  font-weight: bold;
  font-size: 18px;
}

div.easyrecipe div.ERTimes div.ERTime div.ERTimeHeading,
div.easyrecipe div.ERSTimes div.ERSTime div.ERSTimeHeading {
  margin-bottom: 4px;
}

div.easyrecipe div.ERTimes div.ERTimeItem,
div.easyrecipe div.ERSTimes div.ERSTimeItem {
  font-size: 10px;
  font-weight: normal;
}

div.easyrecipe div.ERTimes div.ERTimeRight,
div.easyrecipe div.ERSTimes div.ERSTimeRight {
  border-left: 1px solid #ccc;
}

div.easyrecipe div.divERHeadItems,
div.easyrecipe div.divERSHeadItems {
  margin: 0 0 10px;
  font-size: 14px;
  color: #666;
}

div.easyrecipe div.ERAuthor,
div.easyrecipe div.ERServes,
div.easyrecipe div.ERSAuthor,
div.easyrecipe div.ERSServes {
  font-weight: bold;
  margin-bottom: 4px;
}

div.easyrecipe div.ERIngredients div.ERIngredientsHeader,
div.easyrecipe div.ERInstructions div.ERInstructionsHeader,
div.easyrecipe div.nutrition div.ERNutritionHeader,
div.easyrecipe div div.ERNotesHeader,
div.easyrecipe div.ERSIngredients div.ERSIngredientsHeader,
div.easyrecipe div.ERSInstructions div.ERSInstructionsHeader,
div.easyrecipe div.nutrition div.ERSNutritionHeader,
div.easyrecipe div div.ERSNotesHeader {
  font-size: 20px;
  font-weight: 700;
  clear: both;
  margin-top: 1em;
  margin-bottom: 1em;
}

div.easyrecipe div.ERIngredients,
div.easyrecipe div.ERSIngredients {
  margin-bottom: 15px;
}

div.easyrecipe div.ERIngredients ul,
div.easyrecipe div.ERSIngredients ul {
  list-style: disc;
  margin: 0 0 0 20px;
  padding: 0;
}

div.easyrecipe div.ERIngredients li.ingredient,
div.easyrecipe div.ERSIngredients li.ingredient {
  margin-bottom: 4px;
  line-height: 1.5;
}

div.easyrecipe div.ERInstructions,
div.easyrecipe div.ERSInstructions {
  margin-bottom: 10px;
}

div.easyrecipe div.ERIngredients div.ERSectionHead,
div.easyrecipe div.ERInstructions div.ERSectionHead,
div.easyrecipe div.ERSIngredients div.ERSSectionHead,
div.easyrecipe div.ERSInstructions div.ERSSectionHead {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: bold;
  color: #333;
}

div.easyrecipe div.ERInstructions ol,
div.easyrecipe div.ERSInstructions ol {
  list-style: decimal;
  margin: 0 0 10px 22px;
  padding: 0;
}

div.easyrecipe div.ERInstructions li.instruction,
div.easyrecipe div.ERSInstructions li.instruction {
  margin-bottom: 6px;
  line-height: 1.5;
}

div.easyrecipe div.ERClear,
div.easyrecipe div.ERClearLeft,
div.easyrecipe div.ERSClear,
div.easyrecipe div.ERSClearLeft {
  clear: both;
}

div.easyrecipe div.endeasyrecipe {
  display: none;
}
