/* body {background-color:red !important;} */

.right_icons { display:flex; padding-right:20px;}
.right_icons, .left_icons {margin-top:5px;}

.head_search_form label,
.head_search_form input {
 padding :5px;
}

/* Floating label for the header search field. */
.head_search_form > div {
	position: relative;
}
.mejs-overlay-button {
 background-color: #c10c08 !important;
}
.wp-video {
    border: 1px solid black !important;
}
article .entry-content a {
font-weight: 600;
}
.lh-sidebar{
    display: flex;
    flex-direction: column;
}

.head_search_form .et_pb_s {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	flex: 1 1 auto;
	height: 36px;
	min-height: 36px;
	padding: .35rem .7rem !important;
	line-height: 1.2;
}

.head_search_form .ia-search-floating-label {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: .7rem;
	width: max-content !important;
	margin: 0;
	padding: 0 .25rem;
	color: #333;
	background: #fff;
	font-size: .9rem;
	font-weight: 400;
	line-height: 1;
	text-transform: none !important;
	white-space: nowrap;
	transform: translateY(-50%);
	transition: top .15s ease, transform .15s ease, font-size .15s ease;
	pointer-events: none;
}

.head_search_form:has(.et_pb_s:focus) .ia-search-floating-label,
.head_search_form .et_pb_s:not(:placeholder-shown) + .ia-search-floating-label {
	top: 0;
	font-size: .75rem;
	font-weight: 700;
	transform: translateY(-50%);
}

/* Keep keyboard focus visibly on the YouTube thumbnail/play control. */
.youtube-facade .youtube-facade__button:focus-visible {
	outline: 4px solid #005fcc !important;
	outline-offset: -4px !important;
	box-shadow: none !important;
}
input.et_pb_s {
    padding-top: 7px !important;
    padding-bottom: 6px !important;
    height: auto;
    min-height: 0;
}
/* divis videok 100% a wrapperbe pld. lathassam/zoomtext oldal */
.fluid-width-video-wrapper {
    position: relative;
    height: 0;
    max-width: 100%;
    overflow: hidden;
}

.fluid-width-video-wrapper iframe,
.fluid-width-video-wrapper object,
.fluid-width-video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* The legacy video wrapper collapses to height:0; let the facade size itself. */
.fluid-width-video-wrapper:has(> .youtube-facade) {
    height: auto;
    overflow: visible;
    padding-top: 0 !important;
}

.fluid-width-video-wrapper > .youtube-facade {
    position: relative;
}

/* Látható fókusz billentyűzetes navigációnál. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
iframe:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #272da9 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 2px #fff !important;
}




.et_pb_searchform:before, .widget_search::before

 {
    content: '';
    width: 32px;
    height: 32px;
    background: #579b1b url(/wp-content/themes/IA-theme/img/icon_search.png) no-repeat right;
    position: absolute;
    z-index: 1;
    right: 0;
    padding-left: 10px;
}
.article_img{float:right;}
label.wpa-screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
#secondary .widget{
	background-color:transparent !important;
}
.more-link,
.read-more-blogfeed a {
    display: inline-block;
    padding: 0.65rem 1rem !important;
    border: 2px solid #0b4500;
    border-radius: 0.25rem;
    background-color: #167000;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    min-width: 5.5rem;
    box-sizing: border-box;
}

/* Leave room for the focus ring below archive read-more buttons. */
.blogposts-list {
    overflow: visible;
}

.blogposts-list .content-wrapper {
    padding-bottom: 0.75rem;
}

.blogposts-list .more-link,
.blogposts-list .read-more-blogfeed a {
    margin-bottom: 0.25rem;
}

/* A single focus box around a wrapped title also behaves consistently in Firefox. */
.blogposts-list .content-wrapper h2.entry-title a,
.blogposts-list .content-wrapper h2.entry-title a:focus-visible {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    vertical-align: top;
}

.more-link:hover,
.more-link:focus-visible,
.read-more-blogfeed a:hover,
.read-more-blogfeed a:focus-visible {
    background-color: #0b4500;
    color: #fff !important;
}
.article_title{
    font-size: large;
    font-weight: bold;
	a {color: #333 !important;padding:0 !important;}
}
#iasupporterscontent{display:flex;opacity:.8;}

.sidebar {font-size:14px;}
article.right{
	padding-left:20px;
}
.sidebar {
    h3 {font-size: 20px;}
    h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Franklin', Helvetica, Arial, Lucida, sans-serif;

    color: #333;
    font-weight: 500;
    line-height: 1em;
  }

  p {
    font-family: "Libre Franklin", Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    font-weight: 500;
   }
}

.map-directions{
    position: absolute;
    left: 20px;
    top: 20px;
    width: 30%;
}

.map-placeholder {
    display: block;
    position:relative;
    width: 100%;
    height: 300px;
    background-image: url('/wp-content/themes/IA-theme/img/infoalap-map.avif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
    overflow: hidden;
  }

  .map-placeholder:hover {
    transform: scale(1.01);
  }

@media screen and (max-width: 782px) {

   article h2 {
    font-size: 21px !important;
}
.info_wp_hirek-wrapper article {
    border-bottom: 1px solid black;
     width: 100% !important; 
}
}

  @media (min-width: 768px) {
    .map-placeholder {
      height: 400px;
    }
  }

  @media (min-width: 1024px) {
    .map-placeholder {
      height: 450px;
    }
  }

/* tamogatok scroll */
.scroller {
  max-width: 100%;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
  gap: 1rem;
}

.scroller[data-animated="true"] {
  overflow: hidden;
 /* -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  */
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}




#form_hirkuldese{
    input {padding:5px  !important;}
}

button.send_email_form {
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 4px;
    color: inherit;
    cursor: pointer;
    font: inherit;
    min-height: 44px;
    min-width: 44px;
    padding: .6rem 1rem;
    text-decoration: none;
}

button.send_email_form:hover {
    background: rgba(0, 0, 0, .08);
}

button.send_email_form:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Keep sidebar links visually separated and comfortable to tap. */
#sidebar-1 .ia-highlights > ul {
    list-style: none;
}

#sidebar-1 .ia-highlights > ul li {
    display: block;
    float: none;
    margin: 0 0 .5rem;
    padding: 0;
}

#sidebar-1 .ia-highlights > ul li a,
#sidebar-1 .ia-highlights > p > a:not(:has(> img)) {
    align-items: center;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-flex;
    line-height: 1.4;
    margin: 0;
    min-height: 44px;
    padding: .6rem .75rem;
    text-decoration: none;
}

#sidebar-1 .ia-highlights > ul li a:hover,
#sidebar-1 .ia-highlights > p > a:not(:has(> img)):hover {
    background: rgba(255, 255, 255, .9);
}

#sidebar-1 .ia-highlights > ul li a:focus-visible,
#sidebar-1 .ia-highlights > p > a:not(:has(> img)):focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Post navigation is navigation, not an action button. */
.entry-content > p > a[href="/hirek"] {
    align-items: center;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 4px;
    display: inline-flex;
    line-height: 1.4;
    margin: .5rem 0 1rem;
    min-height: 44px;
    padding: .6rem .85rem;
    text-decoration: none;
}

.entry-content > p > a[href="/hirek"]:hover {
    background: rgba(0, 0, 0, .06);
}

.entry-content > p > a[href="/hirek"]:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.post-navigation {
    align-items: stretch;
    border-top: 1px solid rgba(0, 0, 0, .2);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-inline: -0.35rem;
    overflow: visible !important;
    padding: 1rem 0.35rem 0.75rem;
}

.post-navigation .previous,
.post-navigation .next {
    display: flex;
    flex: 1 1 0;
}

.post-navigation .next {
    justify-content: flex-end;
    text-align: right;
}

.post-navigation a {
    align-items: center;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 4px;
    display: flex;
    line-height: 1.4;
    min-height: 44px;
    padding: .6rem .85rem;
    text-decoration: none;
}

.post-navigation a:hover {
    background: rgba(0, 0, 0, .06);
}

.post-navigation a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

@media screen and (max-width: 600px) {
    .post-navigation {
        flex-direction: column;
    }

    .post-navigation .next {
        justify-content: flex-start;
        text-align: left;
    }

    .post-navigation a {
        width: 100%;
    }
}
#subcribe_to_newsletter {

  input {padding:5px  !important;
	width:80%;
	}
}

#iasupporterscontent {
margin-bottom:10px;
overflow-x: scroll;
    padding-bottom: 17px; /* Increase/decrease this value for cross-browser compatibility */
    box-sizing: content-box;
}
#iasupporterscontent {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
}
#iasupporterscontent::-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}

.supporterdiv {
    width: 250px;
    margin: 10px;
    padding: 20px;
    background-color: rgb(20 22 22 / 5%);
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width:200px;

}

.ds-icon-search .et_pb_searchform:before, .widget_search::before {
    content: '';
    width: 32px;
    height: 32px;
	background: url(/wp-content/themes/IA-theme/img/icon_search.png) no-repeat right;
    /*  background: #579b1b url(/wp-content/themes/IA-theme/img/icon_search.png) no-repeat right;
  position: absolute;*/
    z-index: 1;
    right: 20px;
    padding-left: 10px;
}
.et_pb_s{
padding-top: 7px !important;
    padding-bottom: 6px !important;
    height: auto;
    min-height: 0;
    padding-bottom: 6px !important;
    height: auto;
    min-height: 0;
    line-height: 1;
    margin: 0 23px 0 5px;
 }
.et_pb_searchsubmit {display:none;}

/* Keep the header search icon in its own area instead of overlapping the field. */
.ds-icon-search .head_search_form {
    position: relative;
    display: block;
    width: 100%;
}

.ds-icon-search .head_search_form > div {
    display: block !important;
}

.ds-icon-search .head_search_form::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 2px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: #579b1b url(/wp-content/themes/IA-theme/img/icon_search.png) no-repeat center;
    transform: translateY(-50%);
    pointer-events: none;
}

.ds-icon-search .head_search_form input.et_pb_s {
    display: block;
    width: calc(100% - 54px);
    box-sizing: border-box;
    margin: 0 0 0 10px;
    padding-right: 8px !important;
}

/* Align the three-item licence list with the sidebar content edge. */
.featured-sidebar ul.ulorszaglicense {
    margin-left: 0;
    padding-left: 0;
}

/* Preserve the flag's 32 px touch/focus target while the search field flexes. */
.right_icons .flag_en {
    flex: 0 0 36px;
    width: 36px;
}

.right_icons .flag_en a.ia-icon-link {
    flex: 0 0 32px;
    width: 32px;
    margin: 0 2px;
}

.right_icons .flag_en img {
    flex: 0 0 32px;
    width: 32px;
    max-width: 32px;
}

.right_icons .ds-icon-search {
    flex: 1 1 auto;
    min-width: 0;
}

/* Give the header jump controls a clear 5 px separation. */
.latasSerult-controls .left_icons a.ia-icon-link {
    margin-right: 5px;
}

/* Főoldali, szemantikusan elkülönített tartalmi részek. */
.ia-home-section {
    display: flow-root;
    margin-block: 2rem;
}

.main-hirek-cimsor,
.ia-home-section-heading {
    display: flow-root;
    padding: 0.35rem 0.5rem;
    background-color: #167000;
    color: #fff;
}

.main-hirek-cimsor a,
.ia-home-section-heading a {
    color: #fff !important;
}

#block-19 .btn-primary {
    color: #fff;
    background-color: #0056b3;
    border-color: #004a99;
}

#block-19 .btn-primary:hover,
#block-19 .btn-primary:focus-visible {
    color: #fff;
    background-color: #003f80;
    border-color: #00366d;
}

.ia-heading-icon {
    float: right;
    margin-left: 0.5rem;
    max-height: 2.25rem;
    width: auto;
}

.ia-home-about-image {
    float: right;
    width: min(50%, 570px);
    height: auto;
    margin: 0 0 1rem 1rem;
}

.info_wp_hirek-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ia-responsive-embed {
    width: 100%;
    margin-block: 1rem;
}

.ia-responsive-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

#subcribe_to_newsletter[hidden] {
    display: none !important;
}

/* Restore the native open/closed marker for content accordions. */
.entry-content details > summary {
    display: list-item;
    cursor: pointer;
    font-weight: 700;
}

.entry-content details {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    padding-inline: 0.5rem;
}

/* Accessible contact-form disclosure. The native details/summary control works without JavaScript. */
.iaforms-contact-disclosure {
    margin-block: 1rem;
}

.iaforms-contact-disclosure > summary.iaforms-contact-toggle {
    display: inline-block;
    cursor: pointer;
    list-style: none;
}

.iaforms-contact-disclosure > summary.iaforms-contact-toggle::-webkit-details-marker {
    display: none;
}

.iaforms-contact-disclosure > summary.iaforms-contact-toggle:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

.iaforms-message {
    margin-block: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid #000;
}

.iaforms-errors {
    color: #7a0000;
    background: #fff4f4;
}

.iaforms-success {
    color: #064d1a;
    background: #effff2;
}

.iaforms-field-error {
    color: #7a0000;
    font-weight: 600;
}

.iaforms-recipient-options {
    border: 0;
    margin-block: 1rem;
    padding: 0;
}

.iaforms-recipient-options__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.scroller[data-animated="true"]:hover .scroller__inner,
.scroller[data-animated="true"]:focus-within .scroller__inner {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroller[data-animated="true"] .scroller__inner {
        width: auto;
        flex-wrap: wrap;
        transform: none;
        animation: none;
    }
}

@media screen and (max-width: 600px) {
    .ia-home-about-image {
        float: none;
        width: 100%;
        margin: 0 0 1rem;
    }
}

/* Link underlines are an optional visual aid controlled by the header icon. */
html.ia-links-underlined a {
    text-decoration: underline !important;
}

a {
    text-decoration-line: underline;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.15em;
}

/* Make sidebar text links distinct and comfortable to activate by touch. */
#sidebar-1 a:not(:has(> img)) {
	display: block;
	box-sizing: border-box;
	min-height: 44px;
	margin: .5rem 0 0;
	padding: .75rem 1rem;
	border: 1px solid rgba(0, 0, 0, .28);
	border-radius: .25rem;
	background-color: rgba(255, 255, 255, .72);
	line-height: 1.3;
	text-decoration: none !important;
}

/* The saved sidebar content uses <br> between links; the block links replace it. */
#sidebar-1 a:not(:has(> img)) + br {
	display: none;
}

#sidebar-1 a:not(:has(> img)):hover,
#sidebar-1 a:not(:has(> img)):focus-visible {
	background-color: rgba(255, 255, 255, .95);
}

/* The header control's saved preference is the only underline switch. */
html.ia-links-underlined #sidebar-1 a:not(:has(> img)) {
	text-decoration: underline !important;
}

/* Give inline text links a little more weight for easier visual scanning. */
article .entry-content p a:not(:has(> img)) {
    font-weight: 600;
}

/* Make form-control borders distinguishable from the white page background. */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="tel"],
input[type="search"],
textarea {
    border-color: #666 !important;
}

/* Keep the WPFront back-to-top control visible against light backgrounds. */
#wpfront-scroll-top-container {
    background: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 50%;
    box-sizing: border-box;
    padding: 2px !important;
}

#wpfront-scroll-top-container img {
    filter: grayscale(1) brightness(0);
}

#wpfront-scroll-top-container:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
}

/* Keep archive pagination text readable on every page. */
.page-numbers li a {
    background: #7A5A00 !important;
    color: #fff !important;
    border: 1px solid #000;
}

.page-numbers.current {
    background: #fff !important;
    color: #000 !important;
    opacity: 1;
    border: 1px solid #000;
}

.page-numbers li a:focus-visible,
.page-numbers.current:focus-visible {
	outline: 3px solid #000;
	outline-offset: 2px;
}

/* Keep archive Previous/Next controls visible at high zoom. */
.search-results .pag-wrapper {
	margin-bottom: 2rem;
}

.archive-pagination .page-numbers {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.archive-pagination .page-item { max-width: 100%; }
.archive-pagination .page-item-next { margin-left: auto; }
.archive-pagination a {
	display: inline-block;
	max-width: 100%;
	box-sizing: border-box;
	padding: .75rem 1rem;
	white-space: normal;
}
@media (max-width: 480px) {
	.archive-pagination .page-numbers { gap: .5rem; }
	.archive-pagination a { padding: .65rem .75rem; }
}

/* Keep data-table captions visible as titles above their headers. */
table caption {
    caption-side: top;
    text-align: left;
    font-weight: 700;
    padding: 0.5rem 0;
}

/* Keep newsletter validation errors readable on the dark newsletter panel. */
.iaforms-newsletter-error {
    /* Light red on the dark footer: 10.4:1 contrast. */
    color: #ffd6d6 !important;
    background-color: #333;
    padding: 0.5rem 0.75rem;
}

.iaforms-newsletter-message.iaforms-newsletter-error {
	background: #333 !important;
	border: 1px solid #ffd6d6 !important;
	color: #ffd6d6 !important;
	font-size: .85rem;
}

/* This status message receives programmatic focus only for announcement. */
.iaforms-newsletter-message.iaforms-message--autofocus:focus-visible {
	outline: 0 !important;
	box-shadow: none !important;
}

/* Newsletter field errors appear inside the dark footer panel. */
#subcribe_to_newsletter .iaforms-field-error {
    color: #ffd6d6 !important;
    background-color: #333 !important;
    border: 1px solid #ffd6d6;
    padding: 0.5rem 0.75rem;
}

.iaforms-newsletter-info {
    color: #b3d9ff !important;
    background-color: #333;
    padding: 0.5rem 0.75rem;
}

.iaforms-newsletter-success {
    color: #b8f2b8 !important;
    background-color: #333;
    padding: 0.5rem 0.75rem;
}

/* Show icon descriptions to sighted keyboard users without duplicating screen-reader labels. */
.latasSerult-controls a.ia-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 0.15rem;
}

/* Keep footer widget content and focus outlines inside the visible layout. */
.site-footer .footer-column-three .widget {
    box-sizing: border-box;
    overflow: visible;
    padding: 0 1rem 1rem;
}

.site-footer .footer-column-three .widget h2 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .7);
}

.site-footer .footer-column-three .widget a:focus-visible {
    outline-color: #fff;
}

/* Software downloads page: keep the semantic H1 > H2 > H3 hierarchy visible. */
body.blog .page-title {
    text-align: center;
}

body.page-id-7409 .entry-content > h2 {
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.25;
    margin-top: 1.6rem;
    margin-bottom: 0.75rem;
}

body.page-id-7409 .entry-content > h3 {
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.3;
    margin-top: 1.35rem;
    margin-bottom: 0.6rem;
}

/* Keep the mobile mega-menu aligned with the desktop palette. */
@media (max-width: 750px) {
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link,
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
        background: linear-gradient(#fff, #9c9191) !important;
        color: #000 !important;
        border-color: #fff !important;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
        background: rgba(130, 205, 44, .2) !important;
        /*color: #666 !important;*/
        color: #000 !important;
        
        border-color: transparent !important;
    }

    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:hover,
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:focus-visible,
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover,
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:focus-visible {
        background: #82cd2c !important;
        color: #000 !important;
    }

}

/* Max Mega Menu marks these parents as "hide arrow"; keep their indicators visible. */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item-has-children.mega-hide-arrow > a.mega-menu-link > span.mega-indicator {
    display: inline-block !important;
    float: right;
    color: inherit !important;
}
