/*
################################################################################
1200
################################################################################
*/

@media (min-width: 1200px) {

  /* ---------- LAYOUT ---------- */
  .container {
    width: 1133px;
  }

}

/*
################################################################################
992
################################################################################
*/

@media (max-width: 992px) {

  /* ---------- TOP NAV / SEARCH / NAVIGATION ---------- */
  .nd-2025 header .head-logo { align-self: flex-start; }
  .nd-2025 .megaMenu ul.menu-mobile-trigger li { width: 2.5em; height: 40px; }
  .nd-2025 .megaMenu ul.menu-mobile-trigger li i.fa { width: 2.5em; height: 2.5em; background: var(--secondary-color); color: #fff; border-radius: 8px; }
  .nd-2025 .megaMenu ul.menu-mobile-trigger li i.fa:hover { background: var(--primary-color); }
  .nd-2025 header .head-nav .megaMenu ul.menu-links { height: 40px; color: #fff; flex-wrap: wrap; background: none; transition: all 300ms ease-in-out; }
  .nd-2025 header .head-nav .megaMenu.collapse_hide ul.menu-links { height: auto; background: var(--primary-color); }
  .nd-2025 header .head-nav .megaMenu ul.menu-links > li { border: none; }
  .nd-2025 header .head-nav .megaMenu ul.menu-links > li > a { font-size: 14px; line-height: 40px; padding-left: 20px; color: rgba(255, 255, 255, 0); transition: all 300ms ease-in-out; }
  .nd-2025 header .head-nav .megaMenu.collapse_hide ul.menu-links > li > a { color: #fff; }
  .nd-2025 header .head-nav .megaMenu.collapse_hide ul.menu-links > li > a:hover { background: var(--secondary-color); }
  .nd-2025 header .head-nav .megaMenu:not(.collapse_hide) ul.menu-links > li > a:hover { color: rgba(255, 255, 255, 0); pointer-events: none; }
  .nd-2025 header .head-nav .megaMenu ul.menu-links > li > a::after { background: none; }

  /* ---------- THEME SETUP / DEFAULT FORMATTING / LAYOUT ---------- */
  .nd-2025 .main-content > .container > .row { flex-direction: column; }
  .nd-2025 .main-content > .container > .row > div:last-child,
  .nd-2025 .main-content > .container > .row > div:first-child { width: 100%; margin: 0; }
  .nd-2025 .article-list.article-col article { width: calc((100% / 2) - (10px / 2)); }

  /* ---------- LAYOUT 1 / Friss hírek / ---------- */
  .nd-2025 .article-list.article-layout-1 article:first-child { width: 100%; }

  /* ---------- LAYOUT 3 / Fontos hírek az elmúlt hónapokból / ---------- */
  .nd-2025 .article-list.article-layout-3 article { width: 100%; }

  /* ---------- SLIDER ---------- */
  .nd-2025 #myCarousel { width: 100%; }

  /* ---------- SLIDER SIDE NAVIGATION ---------- */
  .nd-2025 .slider-nav-container { flex-direction: column; row-gap: 20px; }
  .nd-2025 .slide-side-nav { width: 100%; }
  .nd-2025 .slide-side-nav .links { flex-flow: row wrap; justify-content: flex-start; row-gap: 15px; }
  .nd-2025 .slide-side-nav .links > a { width: calc(100% / 2); }
  .nd-2025 .slide-side-nav .links .separator { display: none; }

  /* ---------- SIDEBAR ---------- */
  .nd-2025 .main-content > .container > .row > #sidebar aside { display: flex; flex-wrap: wrap; gap: 20px; }
  .nd-2025 #sidebar .widget.widget { flex: 0 0 calc((100% - 20px) / 2); overflow: hidden; margin: 0; }

  /* ---------- IMAGE - TEXT 2 COLUMN BLOCKS - BIG AND SMALL ---------- */
  .nd-2025 .img-text-block { gap: 40px; }
  .nd-2025 .img-block,
  .nd-2025 .text-block { flex-basis: calc((100% - 40px) / 2); }
  .nd-2025 .text-block .title { font-size: 26px; margin-bottom: 20px; }
  .nd-2025 .text-block .separator { margin-bottom: 20px; }

  .nd-2025 .img-text-blocks.small-blocks a { flex: 0 0 calc((100% - 25px) / 2); }

  /* ---------- FOOTER CONTACT FORM ---------- */
  .nd-2025 .footer-contact > .container > .row { margin-right: 0; margin-left: 0; }
  .nd-2025 .footer-contact .contact-form .form-row { flex-wrap: wrap; margin-bottom: 20px; }
  .nd-2025 .footer-contact .contact-form .form-cell { flex-basis: 100%; }
  .nd-2025 .footer-contact .contact-form .form-cell:first-child { margin-bottom: 20px; }
  .nd-2025 .contact-form .form-privacy-submit { flex-wrap: wrap; }
  .nd-2025 .contact-form .form-privacy-submit .form-submit { margin: 20px auto 0; }
}

/*
################################################################################
768
################################################################################
*/

@media (max-width: 768px) {

  /* ---------- THEME SETUP / DEFAULT FORMATTING / LAYOUT ---------- */
  .nd-2025 .row { padding-right: 25px; padding-left: 25px; }

  /* ---------- IMAGE - TEXT 2 COLUMN BLOCKS - BIG AND SMALL ---------- */
  .nd-2025 .img-text-blocks.small-blocks a { flex-basis: 100%; }

  /* ---------- FOOTER CONTACT FORM ---------- */
  .nd-2025 .footer-contact { background: none; }
  .nd-2025 .footer-contact > .container > .row { padding: 0; }
  .nd-2025 .footer-contact .footer-contact-inner { flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
  .nd-2025 .footer-contact .footer-contact-inner h2 { margin-top: 0; }
  .nd-2025 .footer-contact .contacts { flex-basis: 100%; padding: 50px 30px; }
  .nd-2025 .footer-contact .contact-form { flex-basis: 100%; padding: 50px 30px 100px; }

}

/*
################################################################################
590
################################################################################
*/

@media (max-width: 590px) {

  /* ---------- HEADER LAYOUT / LOGO ---------- */
  .nd-2025 header::before { background-size: 200%; }
  .nd-2025.frontpage header { height: auto; }
  .nd-2025 header > .container > .row { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .nd-2025 header .head-logo { margin-right: 0; }
  .nd-2025 header .head-content {  }

  /* ---------- TOP NAV / SEARCH / NAVIGATION ---------- */
  .nd-2025 header .top-nav { display: none; }
  .nd-2025 header .top-search { margin: 0; }
  .nd-2025 header .top-search input { height: 40px; padding-right: 15px; padding-left: 15px; }
  .nd-2025 header .top-search button[type="submit"] { height: 40px; flex-basis: auto; }
  .nd-2025 header .top-search button[type="submit"] > div { display: none; }
  .nd-2025 header .top-search button[type="submit"] img { margin-left: 15px; }
  .nd-2025 header .head-nav .megaMenu ul.menu-links { height: 0; }
  .nd-2025 header .head-nav .megaMenu.collapse_hide ul.menu-links { background: rgba(255, 255, 255, 0); }
  .nd-2025 .megaMenu .sticky-container,
  .nd-2025 .megaMenu .nav-container { background: transparent; }
  .nd-2025 .megaMenu ul.menu-mobile-trigger { width: auto; height: auto; margin-top: 20px; position: unset; }
  .nd-2025 .megaMenu ul.menu-mobile-trigger li { width: 100%; text-align: center; float: none; }
  .nd-2025 .megaMenu ul.menu-mobile-trigger li i.fa { width: 120px; float: none; position: unset; }

  /* ---------- SLIDER ---------- */
  .nd-2025 #myCarousel { display: none; }

  /* ---------- SLIDER SIDE NAVIGATION ---------- */
  .nd-2025 .slider-nav-container {margin-top: 30px; }
  .nd-2025 .slide-side-nav .links { flex-direction: column; }
  .nd-2025 .slide-side-nav .links > a { width: 100%; }

  /* ---------- ARTICLE LIST / SIDEBAR ---------- */
  .nd-2025 .article-list.article-col article { width: 100%; }

  /* ---------- LAYOUT 3 / Fontos hírek az elmúlt hónapokból / ---------- */
  .nd-2025 .article-list.article-layout-3 article { flex-direction: column; }
  .nd-2025 .article-list.article-layout-3 article > div { width: 100%; }
  .nd-2025 .article-list.article-layout-3 article .article-image a img { display: block; }
  .nd-2025 .article-list.article-layout-3 article .article-image-bg { display: none; }

  /* ---------- SIDEBAR ---------- */
  .nd-2025 #sidebar .widget.widget { flex-basis: 100%; }

  /* ---------- MAINPAGE ---------- */

  /* ---------- DEBRECENI BERUHÁZÁSOK ---------- */
  .nd-2025 .beruhazas-container .beruhazas-header { flex-wrap: wrap; row-gap: 15px; }
  .nd-2025 .beruhazas-container .beruhazas-header .text { text-align: left; }
  .nd-2025 .beruhazas-container .beruhazas-header br { display: none; }

  /* ---------- IMAGE - TEXT 2 COLUMN BLOCKS - BIG AND SMALL ---------- */
  .nd-2025 .img-text-blocks:not(.small-blocks) .img-text-block { flex-wrap: wrap; }
  .nd-2025 .img-text-blocks:not(.small-blocks) .img-block,
  .nd-2025 .img-text-blocks:not(.small-blocks) .text-block { flex-basis: 100%; }
  .nd-2025 .img-text-blocks:not(.small-blocks) .text-block > div { text-align: center; }
  .nd-2025 .text-block .button { margin: 0 auto 40px auto; }
  .nd-2025 .text-blocks a:last-child .button { margin-bottom: 0; }
  .nd-2025 .text-block .separator { width: 30%; margin-right: auto !important; margin-left: auto !important; }
  .nd-2025 .img-text-blocks:not(.small-blocks) a:hover .text-block .separator { width: 80%; margin-right: auto !important; margin-left: auto !important; }

  /* ---------- FOOTER CONTACT FORM ---------- */
  .nd-2025 .footer-content { column-gap: 15px; }
  .nd-2025 .footer-content > a { margin-top: 15px; }
  .nd-2025 .footer-content .footer-logo { width: 100px; height: 100px; text-align: center; }
  .nd-2025 .footer-content .footer-logo img { width: 85%; }

}