/*
 * heiling-media.hu: back to the look of the old Joomla 3 site (card bad3da1c, Krisz 2026-12-04, Zsolt's remark).
 * Reference: the real old site restored from the 2026-03-01 Akeeba backup (local hm-j3-0301, template
 * corporex_helix3 + preset5), not the static mirror the August migration used. Values come from its CSS.
 * The template's custom_css parameter is printed inline AFTER this file, so every rule here starts with
 * "html body" to outrank it at equal weight; !important only where that parameter uses !important itself.
 */

/* ---- Box: old .layout-boxed .body-innerwrapper = 1240 px with 50 px grey margin top and bottom;
        Bootstrap 3 container 1170 px with 15 px gutters, so content starts 65 px inside the box. ---- */
html body .body-innerwrapper { max-width: 1240px; margin: 50px auto; }
html body .body-innerwrapper .container,
html body .body-innerwrapper .sppb-container-inner,
html body .body-innerwrapper .sppb-row-container { max-width: 1170px; padding-left: 15px; padding-right: 15px; }
html body .body-innerwrapper .container-inner { padding-left: 0; padding-right: 0; }

/* Old body line height (corporex template.css: body { line-height: 24px }). */
html body { line-height: 24px; }

/* ---- Portfolio page: heading with a thin rule under it, filter buttons from the left (old layout) ---- */
html body #sp-main-body .page-header { padding-bottom: 20px; margin-bottom: 38px; border-bottom: 1px solid #eeeeee; }
html body .sp-simpleportfolio .sp-simpleportfolio-filter { text-align: left; }
html body .sp-simpleportfolio .sp-simpleportfolio-filter > ul { justify-content: flex-start; text-align: left; padding-left: 0; }

/* ---- Header row 1: white, 90 px, logo at natural size (290x38), facebook icon light grey ---- */
html body #sp-top-bar { background: #ffffff !important; padding: 0; border-bottom: 1px solid #f5f5f5; color: #cccccc; }
html body #sp-top-bar .row { min-height: 90px; }
html body #sp-top-bar .logo { margin: 0; }
html body #sp-top-bar .logo img, html body #sp-top-bar .logo-image { height: 38px !important; width: auto; max-height: none; }
html body #sp-top-bar .social-icons a, html body #sp-top-bar .social-icons a span { color: #cccccc !important; font-size: 15px; }
html body #sp-top-bar .social-icons a:hover, html body #sp-top-bar .social-icons a:hover span { color: #85c035 !important; }

/* ---- Header row 2: menu, old .sp-megamenu-parent (70 px line, 14 px, uppercase, 1 px spacing, #999,
        30 px between items, first item on the content line, active and hover green) ---- */
html body #sp-header { background: #ffffff; height: auto; box-shadow: none; border-bottom: 1px solid #f5f5f5; }
html body #sp-header .sp-megamenu-parent { margin-left: 0; }
html body #sp-header .sp-megamenu-parent > li { margin-right: 30px; padding: 0; }
html body #sp-header .sp-megamenu-parent > li > a,
html body #sp-header .sp-megamenu-parent > li > span {
  padding: 0 10px; line-height: 70px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: #999999; }
html body #sp-header .sp-megamenu-parent > li:first-child > a { padding-left: 0; }
html body #sp-header .sp-megamenu-parent > li.active > a,
html body #sp-header .sp-megamenu-parent > li:hover > a { color: #85c035; }

/* Search box at the right end of the menu row (old mod_search: 262 x 35 px, light frame). */
html body #sp-header .header-modules .sp-module { margin: 0; }
html body #sp-header .header-modules form { position: relative; margin: 0; }
html body #sp-header .header-modules input[type="search"],
html body #sp-header .header-modules input[type="text"] {
  width: 262px; height: 35px; border: 1px solid #eeeeee; border-radius: 0; padding: 4px 30px 4px 6px;
  font-size: 13px; color: #666666; box-shadow: none; }

/* ---- Home slider: full box width, 500 px high (old slideshow), arrows as two 36 px squares bottom right ---- */
html body #sp-page-builder .page-content > .sppb-section:first-child .sppb-container-inner { max-width: none; padding: 0; }
html body #sp-page-builder .page-content > .sppb-section:first-child .sppb-row { margin: 0; }
html body #sp-page-builder .page-content > .sppb-section:first-child [class*="sppb-col-"],
html body #sp-page-builder .page-content > .sppb-section:first-child .sppb-column { padding: 0; }
html body .addon-root-carousel .sppb-carousel .sppb-item img { width: 100%; height: 500px; object-fit: cover; display: block; }
/* Caption: old .sppb-slideshow-fullwidth-item-text = 47.4 % wide, 50 px from the left, top at 45 %, 40 px padding. */
html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption {
  left: 50px !important; top: 45% !important; bottom: auto !important; width: 47.4% !important; max-width: none !important;
  padding: 40px !important; }
html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption h1,
html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption h2,
html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption h3 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption p,
html body .addon-root-carousel .sppb-carousel .sppb-carousel-text { font-size: 14px; line-height: 24px; }
html body .addon-root-carousel .sppb-carousel-arrow {
  position: absolute; top: auto; bottom: 31px; width: 36px; height: 36px; line-height: 34px; margin: 0;
  border: 1px solid rgba(255,255,255,.6); background: transparent; color: #ffffff; font-size: 12px; text-align: center;
  transform: none; opacity: 1; }
html body .addon-root-carousel .sppb-carousel-arrow.left { left: auto; right: 71px; }
html body .addon-root-carousel .sppb-carousel-arrow.right { left: auto; right: 31px; }

/* ---- "Tevékenységeink": no frame, equal height, green with white text on hover (old preset5) ---- */
html body #sp-main-body .sppb-addon-feature { border: 0 !important; padding: 0; }
html body #sp-page-builder .sppb-section .sppb-section-title { margin-bottom: 0; }
html body .sppb-addon-feature .sppb-addon-content { border: 0; padding: 40px 28px 30px; transition: 400ms; height: 100%; }
html body .sppb-addon-feature .sppb-addon-content:hover { background-color: #85c035; }
html body .sppb-addon-feature .sppb-addon-content:hover,
html body .sppb-addon-feature .sppb-addon-content:hover h3,
html body .sppb-addon-feature .sppb-addon-content:hover i,
html body .sppb-addon-feature .sppb-addon-content:hover .sppb-addon-text { color: #ffffff !important; }

/* ---- "Rólunk" box: framed, with a green title bar (old sptab look) ---- */
html body .addon-root-module .sppb-addon-module { border: 1px solid #ebebeb; padding: 20px 25px 30px 20px; }
html body .addon-root-module .sppb-addon-module > .sppb-addon-content > .sppb-addon-title {
  display: block !important; width: auto !important; background: #85c035; color: #ffffff; font-size: 14px;
  text-transform: uppercase; line-height: 44px; padding: 0 21px; margin: 0 0 16px 40px; }
html body .addon-root-module .mod-custom h3 { font-size: 24px; margin-bottom: 12px; }
html body .addon-root-module .mod-custom a { color: #85c035; }

/* ---- Accordion next to "Rólunk": separate light-framed panels 10 px apart, normal weight, + / - on the right
        (old .sppb-addon-accordion rules), the open one stays green with white text ---- */
html body .sppb-addon-accordion .sppb-panel { border: 0 !important; margin-bottom: 10px; box-shadow: none; }
html body .sppb-addon-accordion .sppb-panel-heading { border: 1px solid #f5f5f5; padding: 12px 40px 12px 15px; position: relative; }
html body .sppb-addon-accordion .sppb-panel-heading .sppb-panel-title { font-weight: 400 !important; font-size: 14px; }
html body .sppb-addon-accordion .sppb-panel-heading .sppb-panel-title i { padding-right: 5px; }
html body .sppb-addon-accordion .sppb-panel-heading.active { border-color: #85c035; }
html body .sppb-addon-accordion .sppb-toggle-direction i { display: none; }
html body .sppb-addon-accordion .sppb-toggle-direction { transform: translateY(-50%) !important; position: absolute; right: 15px; top: 50%; }
html body .sppb-addon-accordion .sppb-toggle-direction::before {
  content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 14px; color: #333333; }
html body .sppb-addon-accordion .sppb-panel-heading.active .sppb-toggle-direction::before { content: "\f068"; color: #ffffff; }
html body .sppb-addon-accordion .sppb-panel-body { border: 1px solid #f5f5f5; border-top: 0; padding: 15px; }
html body .sppb-addon-accordion .sppb-panel-body .sppb-addon-content { padding: 0; }
html body .sppb-addon-accordion .sppb-panel-heading:not(.active) { background: #ffffff !important; }
html body .sppb-addon-accordion .sppb-panel-body .sppb-section,
html body .sppb-addon-accordion .sppb-panel-body .sppb-container-inner,
html body .sppb-addon-accordion .sppb-panel-body .sppb-row-column,
html body .sppb-addon-accordion .sppb-panel-body .sppb-column { padding: 0 !important; margin: 0 !important; }

/* ---- "Ajánlás" arrows: two small squares under the text, right side (old testimonial-pro) ---- */
html body .addon-root-testimonialpro .sppb-testimonial-pro { position: relative; padding-bottom: 50px !important; }
html body .addon-root-testimonialpro .sppb-carousel-arrow,
html body .addon-root-testimonialpro .sppb-carousel-control {
  position: absolute; top: auto; bottom: 14px; width: 26px; height: 26px; line-height: 24px; margin: 0;
  border: 1px solid #e5e5e5; background: #ffffff; color: #666666; font-size: 12px; text-align: center;
  transform: none; opacity: 1; }
html body .addon-root-testimonialpro .sppb-carousel-arrow.left,
html body .addon-root-testimonialpro .sppb-carousel-control.left { left: auto; right: 40px; }
html body .addon-root-testimonialpro .sppb-carousel-arrow.right,
html body .addon-root-testimonialpro .sppb-carousel-control.right { left: auto; right: 9px; }

/* ---- Footer: white, old column titles (18 px uppercase #333) and small uppercase links ---- */
html body #sp-bottom { background: #ffffff !important; color: #666666; padding: 40px 0 50px; }
html body #sp-bottom .sp-module-title { color: #333333 !important; font-size: 18px !important; font-weight: 400 !important; text-transform: uppercase; margin-bottom: 25px; }
html body #sp-bottom ul.menu li { padding: 0; margin-bottom: 11px; }
html body #sp-bottom ul.menu li a { color: #666666 !important; font-size: 12px; text-transform: uppercase; }
html body #sp-bottom ul.menu li a:hover { color: #85c035 !important; }
html body #sp-footer { background: #f9f9f9 !important; color: #666666; font-size: 12px; padding: 30px 0; }
html body #sp-footer .container-inner { border-top: 0 !important; padding-top: 0; }
html body #sp-footer .sp-copyright { color: #666666; text-transform: uppercase; }
html body #sp-footer ul.menu { display: flex; justify-content: flex-end; gap: 25px; margin: 0; padding: 0; }
html body #sp-footer ul.menu li { margin: 0; padding: 0; }
html body #sp-footer ul.menu li a { color: #666666 !important; text-transform: uppercase; padding: 0; }
html body #sp-footer ul.menu li a:hover { color: #85c035 !important; }

/* ---- Green breadcrumb bar: text on the content line, not at the box edge ---- */
html body #sp-breadcrumb { padding-left: 50px !important; padding-right: 50px !important; }

/* ---- Smaller screens (old breakpoints: no box margin under 1200 px, caption 70 % under 768 px) ---- */
@media (max-width: 1199px) {
  html body .body-innerwrapper { margin: 0 auto; }
}
@media (max-width: 991px) {
  html body .sppb-addon-feature .sppb-addon-content { padding: 30px 10px 20px; }
  html body .sppb-addon-feature .sppb-feature-box-title { font-size: 15px !important; word-break: break-word; }
  html body #sp-breadcrumb { padding-left: 15px !important; padding-right: 15px !important; }
}
@media (max-width: 767px) {
  html body .addon-root-carousel .sppb-carousel .sppb-item img { height: 380px; }
  html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption {
    left: 15px !important; right: 15px !important; top: auto !important; bottom: 60px !important;
    width: auto !important; padding: 15px 18px !important; }
  html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption h1,
  html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption h2,
  html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption h3 { font-size: 20px; }
  html body .addon-root-carousel .sppb-carousel .sppb-carousel-caption p,
  html body .addon-root-carousel .sppb-carousel .sppb-carousel-text { font-size: 13px; line-height: 19px; }
  html body .addon-root-carousel .sppb-carousel-arrow { bottom: 12px; }
  html body .addon-root-carousel .sppb-carousel-arrow.left { right: 55px; }
  html body .addon-root-carousel .sppb-carousel-arrow.right { right: 15px; }
  /* The "Rólunk" text carries an inline padding-left: 290px next to a floated photo; on a phone stack them. */
  html body .addon-root-module .mod-custom img { float: none !important; width: 100% !important; height: auto !important; }
  html body .addon-root-module .mod-custom h3,
  html body .addon-root-module .mod-custom p { padding-left: 0 !important; }
  html body .addon-root-module .sppb-addon-module > .sppb-addon-content > .sppb-addon-title { margin-left: 0; }
}
