/* ==========================================================================
   Reproduction du rendu Protostar (Joomla 3) du site
   culturefruitierehautebruche.fr sur Protostar J4/J5 (JoomlaTema 1.3)
   Réglages J3 d'origine : couleur #0d0d0d, fond #e6faea, police Open Sans
   ========================================================================== */

/* --- Police Open Sans hébergée localement (au lieu de Google Fonts) ---- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/open-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --j3-color: #0d0d0d;          /* "Couleur du template" J3 */
  --j3-bg: #e6faea;             /* "Couleur de fond" J3 */
  --j3-text: #333333;
  --j3-title: #001a27;
  --j3-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --j3-heading-font: "Open Sans", sans-serif;
  --protostar-color-primary: #0d0d0d;
  --protostar-color-link: #0d0d0d;
  --protostar-color-hover: #000000;
  --link-color: #0d0d0d;
  --body-font-family: var(--j3-font);
}

/* --- Page --------------------------------------------------------------- */
html { font-size: 16px; }
body.site {
  margin: 0;
  padding: 20px;
  border-top: 3px solid var(--j3-color);
  background: var(--j3-bg);
  color: var(--j3-text);
  font-family: var(--j3-font);
  font-size: 13px;
  line-height: 18px;
  min-height: 0;
  display: block;
}
body.site a { color: var(--j3-color); text-decoration: none; }
body.site a:hover, body.site a:focus { color: var(--j3-color); text-decoration: underline; }
body.site p { margin: 0 0 9px; }

/* Boîte blanche centrée (940px de contenu comme Bootstrap 2) */
body.site .wrapper > .container {
  max-width: 982px;
  width: auto;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, .05);
}
body.site.wrapper-fluid .wrapper > .container { max-width: none; }

/* --- Titres (Open Sans gras) --------------------------------------------- */
body.site h1, body.site h2, body.site h3, body.site h4, body.site h5, body.site h6,
body.site .site-title {
  font-family: var(--j3-heading-font);
  font-weight: 700;
  color: var(--j3-text);
  margin: 9px 0;
}
body.site h1 { font-size: 26px; line-height: 28px; margin: 12px 0; }
body.site h2 { font-size: 22px; line-height: 24px; margin: 12px 0; }
body.site h3 { font-size: 18px; line-height: 20px; }
body.site h4 { font-size: 14px; line-height: 16px; }
body.site h5 { font-size: 13px; line-height: 18px; }
body.site h6 { font-size: 11.9px; line-height: 18px; }
body.site h1 a, body.site h2 a, body.site h3 a { color: var(--j3-color); }

/* --- En-tête -------------------------------------------------------------- */
body.site .container-header {
  display: block;
  padding: 0;
  margin: 0;
  background: none;
  box-shadow: none;
  z-index: 20;
}
body.site .container-header .grid-child { padding: 0; max-width: none; }
body.site .container-header .container-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0 18px;
  margin: 0 0 10px;
}
body.site .container-header .navbar-brand {
  flex: 1 1 100%;
  display: block;
  margin: 0;
  padding: 0;
  white-space: normal;
  font-family: var(--j3-heading-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: var(--j3-title);
}
body.site .container-header .navbar-brand a,
body.site .container-header .navbar-brand a:hover,
body.site .container-header .navbar-brand a:focus {
  color: var(--j3-title);
  text-decoration: none;
}
body.site .container-header .navbar-brand img { width: auto; min-width: 0; }

/* Champ de recherche (aligné à droite, arrondi) */
body.site .container-header .container-search { margin: 0 0 0 auto; }
body.site .container-header .mod-finder { display: block; flex: none; }
body.site .container-header .mod-finder .awesomplete { display: block; }
body.site .container-header .mod-finder input.js-finder-search-query,
body.site .container-header .mod-finder input[type="search"],
body.site .container-header .mod-finder input[type="text"] {
  width: 232px;
  height: 28px;
  padding: 4px 14px;
  font-family: var(--j3-font);
  font-size: 13px;
  line-height: 18px;
  color: #555;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 15px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
body.site .container-header .mod-finder input:focus {
  border-color: rgba(82, 168, 236, .8);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(82, 168, 236, .6);
}
body.site .container-header .mod-finder .input-group { display: block; width: auto; }
body.site .container-header .mod-finder .input-group > .btn { display: none; }

/* --- Menu principal (nav-pills) ------------------------------------------- */
body.site .container-header .container-nav {
  display: block;
  margin: 0 0 10px;
  padding: 5px 0;
  border-top: 1px solid rgba(0, 0, 0, .075);
  border-bottom: 1px solid rgba(0, 0, 0, .075);
}
body.site .container-header nav,
body.site .container-header .navbar { margin: 0; padding: 0; }
body.site .container-header .mod-menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--j3-color);
}
body.site .container-header .mod-menu > li,
body.site .container-header .mod-menu > li + li,
body.site .container-header .mod-menu li.nav-item.deeper.parent { margin: 0; padding: 0; position: relative; }
body.site .container-header .mod-menu > li::after,
body.site .container-header .mod-menu li.nav-item.deeper.parent::after { display: none !important; content: none !important; }
body.site .container-header .mod-menu > li > a,
body.site .container-header .mod-menu > li > span {
  display: block;
  margin: 2px 2px 2px 0;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 14px;
  color: var(--j3-color);
  border-radius: 5px;
  text-decoration: none;
}
body.site .container-header .mod-menu > li > a:hover,
body.site .container-header .mod-menu > li > a:focus { background: #eee; text-decoration: none; }
body.site .container-header .mod-menu > li.active > a,
body.site .container-header .mod-menu > li.active > a:hover,
body.site .container-header .mod-menu > li.active > a:focus {
  color: #fff;
  background: var(--j3-color);
  text-decoration: none;
}

/* Sous-menus : menu déroulant blanc comme les .nav-child de Protostar J3 */
body.site .container-header .mod-menu .parent > ul.mod-menu__sub,
body.site .container-header .mod-menu .parent > ul.mod-menu__sub.show-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 160px;
  margin: 2px 0 0;
  padding: 5px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  animation: none;
}
body.site .container-header .mod-menu .parent > ul.mod-menu__sub.show-menu { display: block; }
body.site .container-header .mod-menu .parent > ul.mod-menu__sub > li,
body.site .container-header .mod-menu .parent > ul.mod-menu__sub.show-menu > li { padding: 0; }
body.site .container-header .mod-menu .mod-menu__sub a {
  display: block;
  padding: 3px 20px;
  font-size: 13px;
  line-height: 18px;
  color: var(--j3-text);
  white-space: nowrap;
  text-decoration: none;
}
body.site .container-header .mod-menu .mod-menu__sub a:hover,
body.site .container-header .mod-menu .mod-menu__sub li.active > a {
  color: #fff;
  background: var(--j3-color);
  text-decoration: none;
}

/* Bouton « hamburger » mobile façon Bootstrap 2 */
body.site .container-header .navbar-toggler {
  margin: 0 0 0 5px;
  padding: 7px 10px;
  color: #333;
  background: #f5f5f5 linear-gradient(to bottom, #fff, #e6e6e6);
  border: 1px solid #ccc;
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
}
body.site .container-header .navbar-toggler .icon-menu { font-size: 18px; }

/* --- Zone principale ------------------------------------------------------ */
body.site .site-grid { display: block; margin: 0; }
body.site .site-grid > .grid-child { padding: 0; max-width: none; }
body.site .container-component > * { max-width: 100%; }
body.site .container-component > *,
body.site .container-component > * + *,
body.site .container-component main { margin-top: 0; }
body.site .container-component main > :first-child,
body.site .container-component main .page-header:first-child { margin-top: 0; }
body.site .container-component .card,
body.site .container-sidebar-right .card,
body.site .container-sidebar-left .card { border: 0; background: none; }
body.site .container-component .card-body { padding: 0; }
body.site .container-component main { overflow-wrap: break-word; }
body.site .container-component img { max-width: 100%; height: auto; }
body.site .container-component table { max-width: 100%; }
body.site .mod-custom p:last-child { margin-bottom: 0; }

/* Avec colonnes latérales (si des modules position-7 / position-8 sont publiés) */
@media (min-width: 768px) {
  body.site.has-sidebar-right .site-grid,
  body.site.has-sidebar-left .site-grid { display: flex; gap: 20px; }
  body.site.has-sidebar-right .container-component,
  body.site.has-sidebar-left .container-component { flex: 1 1 auto; min-width: 0; }
  body.site .container-sidebar-left { order: -1; }
  body.site .container-sidebar-right,
  body.site .container-sidebar-left { flex: 0 0 220px; }
}

/* Fil d'Ariane */
body.site .mod-breadcrumbs__wrapper { margin: 10px 0 0; }
body.site .mod-breadcrumbs.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 8px 15px !important;
  list-style: none;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 13px;
  line-height: 18px;
}
body.site .mod-breadcrumbs__here { color: #333; padding-right: 4px; }
body.site .mod-breadcrumbs .breadcrumb-item a { color: var(--j3-color); text-decoration: none; }
body.site .mod-breadcrumbs .breadcrumb-item + .breadcrumb-item { padding-left: 0; }
body.site .mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  float: none;
  padding: 0 8px 0 10px;
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #f39200;
  margin: 0 10px 2px 10px;
  padding: 0;
}
body.site .mod-breadcrumbs .breadcrumb-item.active { color: #555; }

/* En-têtes de page et d'articles */
body.site .page-header {
  margin: 2px 0 10px;
  padding: 0 0 5px;
  border-bottom: 1px solid #eee;
}
body.site .com-content-category-blog > .page-header h1,
body.site .item-page > .page-header h1,
body.site .com-content-article .page-header h1 { font-size: 26px; line-height: 28px; }
body.site .com-content-article .page-header h1 { font-size: 22px; line-height: 24px; }
body.site .blog-item .page-header h2,
body.site .com-content-category-blog__item .page-header h2 { font-size: 22px; line-height: 24px; }
body.site .blog-item .page-header h2 a,
body.site .com-content-category-blog__item .page-header h2 a { color: var(--j3-color); text-decoration: none; }
body.site .blog-item .page-header h2 a:hover { text-decoration: underline; }

/* Infos article (Détails / Publication / Affichages) */
body.site .article-info {
  margin: 13px 0 18px;
  font-size: 13px;
  line-height: 18px;
  color: #999 !important;
}
body.site .article-info dt { font-weight: 700; margin: 0; }
body.site .article-info dd { margin: 0 0 0 10px; }
body.site .article-info [class^="icon-"], body.site .article-info [class*=" icon-"] { color: #999; }

/* Articles du blog : séparation */
body.site .com-content-category-blog__items.blog-items .blog-item,
body.site .blog-items .blog-item { margin-bottom: 0; }
body.site .blog-items, body.site .com-content-category-blog__items { margin-bottom: 0; }
body.site .blog-items.items-leading .blog-item { border: 0; }
body.site .com-content-category-blog__item,
body.site .blog-item { background: none; box-shadow: none; }
body.site .blog-item .item-content { padding: 0; }

/* Liste « Plus d'articles » (style nav-tabs nav-stacked de J3) */
body.site .items-more { padding: 15px 0; }
body.site .items-more ol,
body.site .com-content-blog__links ol,
body.site ol.com-content-blog__links {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
body.site .com-content-blog__links li,
body.site .items-more li { margin: 0 0 -1px; padding: 0; }
body.site .com-content-blog__links li a,
body.site .items-more li a {
  display: block;
  padding: 8px 12px;
  color: var(--j3-color);
  border: 1px solid #ddd;
  text-decoration: none;
}
body.site .com-content-blog__links li:first-child a { border-radius: 4px 4px 0 0; }
body.site .com-content-blog__links li:last-child a { border-radius: 0 0 4px 4px; }
body.site .com-content-blog__links li a:hover { background: #eee; text-decoration: none; }

/* Pagination (style Bootstrap 2) */
body.site .com-content-category-blog__navigation,
body.site .pagination__wrapper { margin: 18px 0; }
body.site .pagination {
  display: inline-flex;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
body.site .pagination .page-item .page-link {
  padding: 4px 12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--j3-color);
  background: #fff;
  border: 1px solid #ddd;
  border-left-width: 0;
  border-radius: 0;
  margin: 0;
}
body.site .pagination .page-item:first-child .page-link { border-left-width: 1px; border-radius: 4px 0 0 4px; }
body.site .pagination .page-item:last-child .page-link { border-radius: 0 4px 4px 0; }
body.site .pagination .page-item.active .page-link { color: #999; background: #f5f5f5; }
body.site .pagination .page-item.disabled .page-link { color: #999; background: #fff; }
body.site .pagination .page-link:hover { background: #f5f5f5; }
body.site .com-content-category-blog__counter,
body.site .counter { display: inline-block; float: right; margin: 5px 0; color: #333; }

/* Boutons (Précédent / Suivant, Lire la suite, formulaires) */
body.site .btn {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  line-height: 18px;
  color: #333;
  background: #f5f5f5 linear-gradient(to bottom, #fff, #e6e6e6);
  border: 1px solid #ccc;
  border-bottom-color: #b3b3b3;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
  text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
}
body.site .btn:hover { background: #e6e6e6; color: #333; text-decoration: none; }
body.site .btn-primary {
  color: #fff;
  background: var(--j3-color);
  border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
}
body.site .btn-primary:hover { color: #fff; background: #000; }
body.site .pagenavigation .pagination { box-shadow: none; display: flex; justify-content: space-between; width: 100%; }
body.site .pagenavigation .btn {
  padding: 7px 14px;
  border-radius: 15px;
  background: #fff;
  font-size: 13px;
}
body.site .pagenavigation .btn [class^="icon-"] { font-weight: 900; }

/* Formulaire de contact (aligné comme ALFContact / form-horizontal J3) */
body.site .com-contact .contact-form fieldset { border: 0; margin: 0; padding: 0; }
body.site .com-contact .contact-form legend { display: none; }
body.site .com-contact .control-group { display: flex; margin: 0 0 18px; }
body.site .com-contact .control-label { flex: 0 0 160px; padding-top: 5px; padding-right: 20px; text-align: right; }
body.site .com-contact .controls { flex: 0 1 auto; }
body.site .com-contact .controls .form-control,
body.site .com-contact input[type="text"],
body.site .com-contact input[type="email"],
body.site .com-contact textarea {
  width: 220px;
  max-width: 100%;
  padding: 4px 6px;
  font-size: 13px;
  line-height: 18px;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
body.site .com-contact textarea { height: 118px; }
body.site .com-contact .form-check-input { margin-top: 4px; }
body.site .com-contact .control-group:last-child,
body.site .com-contact .com-contact__form .controls:last-child { margin-bottom: 0; }
body.site .com-contact .contact-form .control-group:has(button) {
  margin: 18px 0;
  padding: 17px 20px 18px 180px;
  background: #f5f5f5;
  border-top: 1px solid #e5e5e5;
}

/* Masquage des astérisques « champs requis » trop visibles */
body.site .star { color: #333; }

/* --- Pied de page (hors de la boîte blanche) ------------------------------ */
body.site .footer-j3 {
  max-width: 940px;
  margin: 0 auto;
  padding: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--j3-text);
  background: none;
}
body.site .footer-j3 hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #fff;
  opacity: 1;
}
body.site .footer-j3 p { margin: 0 0 9px; }
body.site .footer-j3 a { color: var(--j3-color); }

/* --- Mobile -------------------------------------------------------------- */
@media (max-width: 767.98px) {
  body.site .container-header .navbar-brand {
    font-size: 24px;
    line-height: 48px;
    text-align: center;
  }
  body.site .container-header .container-search { margin: 0; width: 100%; }
  body.site .container-header .mod-finder input.js-finder-search-query,
  body.site .container-header .mod-finder input[type="search"],
  body.site .container-header .mod-finder input[type="text"] { width: 100%; }
  body.site .container-header .navbar { display: block; }
  body.site .container-header .mod-menu { flex-direction: column; }
  body.site .container-header .mod-menu .parent > ul.mod-menu__sub { position: static; box-shadow: none; border: 0; }
  body.site .com-contact .control-group { display: block; }
  body.site .com-contact .control-label { text-align: left; padding: 0 0 5px; }
  body.site .com-contact .contact-form .control-group:has(button) { padding-left: 20px; }
  body.site .container-component table { width: 100% !important; }
}
@media (max-width: 480px) {
  body.site { padding: 20px; }
  body.site .footer-j3 .float-end { float: none !important; }
}

/* --- Phoca Gallery 5 : vignettes encadrées comme sur l'ancien site ------- */
body.site #phocagallery { font-size: 11px; line-height: 14px; }
body.site #phocagallery .pg-top-icons { text-align: right; }
body.site #phocagallery .pg-top-icons .ph-si { width: 16px; height: 16px; }
body.site #phocagallery .pg-categories-items-box,
body.site #phocagallery .pg-category-items-box { gap: 10px; padding: 4px; }
body.site #phocagallery .pg-item-box,
body.site #phocagallery .pg-category-box {
  width: 122px;
  min-height: 162px;
  margin: 0;
  padding: 10px 10px 6px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 2px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, .3);
}
body.site #phocagallery .pg-category-box { min-height: 0; }
body.site #phocagallery .pg-item-box-image,
body.site #phocagallery .pg-category-box-image {
  width: 100px !important;
  max-width: 100px !important;
  height: 100px;
  aspect-ratio: auto !important;
  margin: 0 auto;
  overflow: hidden;
}
body.site #phocagallery .pg-item-box-image img,
body.site #phocagallery .pg-category-box-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

body.site #phocagallery .pg-item-box-info,
body.site #phocagallery .pg-category-box-info { padding: 6px 0 0; }
body.site #phocagallery .pg-item-box-title,
body.site #phocagallery .pg-category-box-title {
  display: block;
  margin: 0;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.site #phocagallery .pg-item-box-title a,
body.site #phocagallery .pg-category-box-title a { display: inline; color: #333; font-weight: 400; }
body.site #phocagallery .pg-item-box-title .ph-si-image { display: none; }
body.site #phocagallery .pg-category-box-title .ph-si { width: 14px; height: 14px; margin: 0 3px 0 0; }
body.site #phocagallery .pg-category-box-count { color: #ccc; font-size: 10px; }
body.site #phocagallery .pg-item-box-icons-box { float: right; margin-top: 3px; }
body.site #phocagallery .pg-item-box-icons-box svg.ph-si { width: 16px; height: 16px; margin: 0 0 0 4px; }
body.site #phocagallery select.form-select,
body.site #phocagallery select { width: auto; padding: 2px 28px 2px 6px; font-size: 13px; height: 28px; }
body.site #phocagallery .pg-item-box-image.pg-svg-box { display: flex; align-items: center; justify-content: center; }
body.site #phocagallery .pg-item-box-image.pg-svg-box { background: none; }
body.site #phocagallery .pg-item-box-image.pg-svg-box svg.ph-si { width: 100px !important; height: 100px !important; margin: 0 !important; box-shadow: none; }
body.site #phocagallery select { min-width: 70px; }
body.site #phocagallery .pg-category-items-box + * { margin-top: 15px; }
body.site .com-contact .com-contact__form > h2,
body.site .com-contact .contact-form h2 { display: none; }


/* ===== Menu principal sous l'image (module menu en position-3, après l'image) ===== */
body.site .container-header .container-logo { margin-bottom: 0; }
body.site .site-grid nav.navbar {
  position: relative; z-index: 20; margin: 10px 0; padding: 5px 0;
  border-top: 1px solid rgba(0,0,0,.075); border-bottom: 1px solid rgba(0,0,0,.075);
}
body.site .site-grid nav.navbar .mod-menu { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
body.site .site-grid nav.navbar .mod-menu > li { position: relative; margin: 0; padding: 0 !important; }
body.site .site-grid nav.navbar .mod-menu > li::after { display: none !important; content: none !important; }
body.site .site-grid nav.navbar .mod-menu > li > a {
  display: block; margin: 2px 2px 2px 0; padding: 8px 12px; font-size: 13px; line-height: 14px;
  color: #0d0d0d; border-radius: 5px; text-decoration: none;
}
body.site .site-grid nav.navbar .mod-menu > li > a:hover { background: #eee; }
body.site .site-grid nav.navbar .mod-menu > li.active > a { color: #fff; background: #0d0d0d; }
body.site .site-grid nav.navbar .mod-menu .parent > ul.mod-menu__sub {
  display: none; position: absolute; top: 100%; left: 0; z-index: 1000; min-width: 160px;
  margin: 2px 0 0; padding: 5px 0; list-style: none; background: #fff;
  border: 1px solid rgba(0,0,0,.2); border-radius: 6px; box-shadow: 0 5px 10px rgba(0,0,0,.2); animation: none;
}
body.site .site-grid nav.navbar .mod-menu .parent > ul.mod-menu__sub.show-menu { display: block; }
body.site .site-grid nav.navbar .mod-menu .mod-menu__sub > li { padding: 0 !important; }
body.site .site-grid nav.navbar .mod-menu .mod-menu__sub a {
  display: block; padding: 3px 20px; font-size: 13px; line-height: 18px; color: #333; white-space: nowrap; text-decoration: none;
}
body.site .site-grid nav.navbar .mod-menu .mod-menu__sub a:hover { color: #fff; background: #0d0d0d; }
body.site .site-grid nav.navbar .navbar-toggler {
  padding: 7px 10px; color: #333; background: #f5f5f5 linear-gradient(to bottom, #fff, #e6e6e6);
  border: 1px solid #ccc; border-radius: 4px;
}
@media (min-width: 768px) {
  body.site .site-grid nav.navbar .navbar-collapse { display: flex !important; }
  body.site .site-grid nav.navbar .mod-menu { flex-direction: row; }
}
@media (max-width: 767.98px) {
  body.site .site-grid nav.navbar .mod-menu { flex-direction: column; }
  body.site .site-grid nav.navbar .mod-menu .parent > ul.mod-menu__sub { position: static; box-shadow: none; border: 0; }
}
