/*
Theme Name: Fegyvertár Hello Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: WPFegyvertár Hello Child Theme is a child theme of Hello Elementor, created by WPkurzus
Author: WPViking
Author URI: https://wpkurzus.hu/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ----------------- DESIGN ----------------- */
/* Selection */
::-moz-selection {
	color: #fff;
	background: var( --e-global-color-primary )
}

::selection {
	color: #fff;
	background: var( --e-global-color-primary )
}


/* Mark */
mark {
    background: var( --e-global-color-primary )
    color: #fff;
    font-weight: 700;
}



/* ----------------- BLOG ----------------- */

/* Bejegyzés kivonatok után 3 pont*/
.elementor-posts .elementor-post__excerpt p:after {
content: "..." !important;
}


/* =========================================================
   MOVIRA – LearnDash / JetPopup clean CSS
   ========================================================= */

:root {
    --movira-primary: #A15A74;
    --movira-dark: #2C3E3C;
    --movira-white: #ffffff;
}


/* =========================================================
   LEARNDASH – FOCUS MODE SIDEBAR TRIGGER
   ========================================================= */

.learndash-wrapper .ld-focus-sidebar-trigger,
.learndash-wrapper #ld-focus-sidebar-toggle,
.learndash-wrapper .ld-focus-sidebar-trigger:hover,
.learndash-wrapper #ld-focus-sidebar-toggle:hover,
.learndash-wrapper .ld-focus-sidebar-trigger:focus,
.learndash-wrapper #ld-focus-sidebar-toggle:focus,
.learndash-wrapper .ld-focus-sidebar-trigger:active,
.learndash-wrapper #ld-focus-sidebar-toggle:active {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
}


/* =========================================================
   LEARNDASH – PROGRESS / COMPLETION COLORS
   ========================================================= */

.learndash-wrapper .ld-accordion__item-attribute-icon--progress,
.learndash-wrapper .ld-accordion__item-attribute-icon--progress path {
    color: var(--movira-primary) !important;
    fill: var(--movira-primary) !important;
}

.learndash-wrapper .ld-progress-bar__meter-foreground,
.learndash-wrapper .ld-progress-bar-percentage.ld-secondary-background {
    background: var(--movira-primary) !important;
}

.learndash-wrapper .ld-progress-bar__label-icon--complete,
.learndash-wrapper .ld-progress-bar__label-icon--complete path {
    color: var(--movira-dark) !important;
    fill: var(--movira-dark) !important;
    stroke: var(--movira-dark) !important;
}

.learndash-wrapper .ld-navigation__icon--lesson-complete,
.learndash-wrapper .ld-navigation__icon--lesson-complete path {
    color: var(--movira-dark) !important;
    fill: var(--movira-dark) !important;
    stroke: var(--movira-dark) !important;
}


/* =========================================================
   LEARNDASH – LESSON TITLES
   ========================================================= */

.learndash-wrapper a.ld-accordion__item-title--lesson {
    color: var(--movira-primary) !important;
    text-decoration: none !important;
}

.learndash-wrapper a.ld-accordion__item-title--lesson:hover,
.learndash-wrapper a.ld-accordion__item-title--lesson:focus {
    color: var(--movira-dark) !important;
    text-decoration: none !important;
}


/* =========================================================
   LEARNDASH – FOCUS MODE HEADER / ACTIONS
   ========================================================= */

.learndash-wrapper .ld-focus .ld-content-actions a:has(.ld-icon-arrow-left) {
    display: none !important;
}

.learndash-wrapper .ld-focus-header button.learndash_mark_complete_button,
.learndash-wrapper .ld-focus-header input.learndash_mark_complete_button,
.learndash-wrapper .ld-focus-header .ld-navigation__progress-mark-complete-button {
    display: none !important;
}


/* =========================================================
   LEARNDASH – MARK COMPLETE / INCOMPLETE BUTTONS
   ========================================================= */

.learndash-wrapper button.learndash_mark_complete_button.ld-navigation__progress-mark-complete-button--lesson,
.learndash-wrapper button.learndash_mark_complete_button.ld-navigation__progress-mark-complete-button--lesson:hover,
.learndash-wrapper button.learndash_mark_complete_button.ld-navigation__progress-mark-complete-button--lesson:focus,
.learndash-wrapper button.learndash_mark_complete_button.ld-navigation__progress-mark-complete-button--lesson:active {
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    padding: 15px 30px !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 25px !important;
    transform: none !important;
}

.learndash-wrapper input.learndash_mark_incomplete_button.learndash_mark_complete_button {
    box-sizing: border-box !important;
    width: auto !important;
    min-height: 48px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    color: var(--movira-white) !important;
    background-color: var(--movira-primary) !important;

    border: 1px solid var(--movira-primary) !important;
    border-radius: 25px !important;

    padding: 15px 30px !important;
    margin: 0 !important;

    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5) !important;
    transform: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease !important;
}

.learndash-wrapper input.learndash_mark_incomplete_button.learndash_mark_complete_button:hover,
.learndash-wrapper input.learndash_mark_incomplete_button.learndash_mark_complete_button:focus,
.learndash-wrapper input.learndash_mark_incomplete_button.learndash_mark_complete_button:active {
    color: var(--movira-white) !important;
    background-color: var(--movira-dark) !important;
    border-color: var(--movira-dark) !important;
    text-decoration: none !important;
    transform: none !important;
}


/* =========================================================
   LEARNDASH – BOTTOM NAVIGATION
   ========================================================= */

.learndash-wrapper .ld-navigation__back-to-course-link,
.learndash-wrapper .ld-navigation__previous-link,
.learndash-wrapper .ld-navigation__next-link,
.learndash-wrapper .ld-navigation__back-to-course-link:hover,
.learndash-wrapper .ld-navigation__previous-link:hover,
.learndash-wrapper .ld-navigation__next-link:hover,
.learndash-wrapper .ld-navigation__back-to-course-link:focus,
.learndash-wrapper .ld-navigation__previous-link:focus,
.learndash-wrapper .ld-navigation__next-link:focus,
.learndash-wrapper .ld-navigation__back-to-course-link:active,
.learndash-wrapper .ld-navigation__previous-link:active,
.learndash-wrapper .ld-navigation__next-link:active {
    box-sizing: border-box !important;

    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    margin: 0 !important;
    padding: 15px 30px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;

    white-space: nowrap !important;
    flex-wrap: nowrap !important;

    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 25px !important;
    box-shadow: none !important;
    outline: none !important;

    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    rotate: none !important;

    transition: none !important;
    animation: none !important;
}

.learndash-wrapper .ld-navigation__back-to-course-link,
.learndash-wrapper .ld-navigation__back-to-course-link:link,
.learndash-wrapper .ld-navigation__back-to-course-link:visited,
.learndash-wrapper .ld-navigation__previous-link,
.learndash-wrapper .ld-navigation__previous-link:link,
.learndash-wrapper .ld-navigation__previous-link:visited,
.learndash-wrapper .ld-navigation__next-link,
.learndash-wrapper .ld-navigation__next-link:link,
.learndash-wrapper .ld-navigation__next-link:visited {
    color: var(--movira-primary) !important;
}

.learndash-wrapper .ld-navigation__back-to-course-link:hover,
.learndash-wrapper .ld-navigation__previous-link:hover,
.learndash-wrapper .ld-navigation__next-link:hover,
.learndash-wrapper .ld-navigation__back-to-course-link:focus,
.learndash-wrapper .ld-navigation__previous-link:focus,
.learndash-wrapper .ld-navigation__next-link:focus,
.learndash-wrapper .ld-navigation__back-to-course-link:active,
.learndash-wrapper .ld-navigation__previous-link:active,
.learndash-wrapper .ld-navigation__next-link:active {
    color: var(--movira-dark) !important;
}

.learndash-wrapper .ld-navigation__back-to-course-link svg,
.learndash-wrapper .ld-navigation__previous-link svg,
.learndash-wrapper .ld-navigation__next-link svg,
.learndash-wrapper .ld-navigation__back-to-course-link svg path,
.learndash-wrapper .ld-navigation__previous-link svg path,
.learndash-wrapper .ld-navigation__next-link svg path {
    color: currentColor !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}


/* =========================================================
   LEARNDASH – SMALL CONTENT CLEANUPS
   ========================================================= */

.learndash-wrapper .ld-progress-bar__last-activity {
    display: none !important;
}

.learndash-wrapper .ld-navigation__label--completed,
.learndash-wrapper .ld-navigation__icon--lesson-complete {
    display: none !important;
}


/* =========================================================
   LEARNDASH – LABEL REPLACEMENTS
   A NEXT feliratot NEM írjuk át CSS-sel.
   A Finish állapotot a functions.php JS kezeli.
   ========================================================= */

.learndash-wrapper .ld-navigation__label--previous.ld-navigation__label--long {
    font-size: 0 !important;
    text-decoration: none !important;
}

.learndash-wrapper .ld-navigation__label--previous.ld-navigation__label--long::after {
    content: "Előző lecke";
    display: inline-block;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

.learndash-wrapper .ld-progress-bar__label--complete {
    font-size: 0 !important;
    text-decoration: none !important;
}

.learndash-wrapper .ld-progress-bar__label--complete::after {
    content: "Lecke befejezve";
    display: inline-block;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--movira-dark) !important;
    text-decoration: none !important;
}


/* =========================================================
   LEARNDASH – BACK TO COURSE LINK
   ========================================================= */

.learndash-wrapper a.ld-navigation__back-to-course-link,
.learndash-wrapper a.ld-navigation__back-to-course-link:hover,
.learndash-wrapper a.ld-navigation__back-to-course-link:focus,
.learndash-wrapper a.ld-navigation__back-to-course-link:active {
    font-size: 0 !important;
    line-height: 0 !important;

    white-space: nowrap !important;
    text-decoration: none !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.learndash-wrapper a.ld-navigation__back-to-course-link svg {
    display: inline-block !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 6px 0 0 !important;
    vertical-align: middle !important;
}

.learndash-wrapper a.ld-navigation__back-to-course-link::after,
.learndash-wrapper a.ld-navigation__back-to-course-link:hover::after,
.learndash-wrapper a.ld-navigation__back-to-course-link:focus::after,
.learndash-wrapper a.ld-navigation__back-to-course-link:active::after {
    content: "TANFOLYAM FŐOLDAL" !important;
    display: inline-block !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.learndash-wrapper a.ld-navigation__back-to-course-link::after {
    color: var(--movira-primary) !important;
}

.learndash-wrapper a.ld-navigation__back-to-course-link:hover::after,
.learndash-wrapper a.ld-navigation__back-to-course-link:focus::after,
.learndash-wrapper a.ld-navigation__back-to-course-link:active::after {
    color: var(--movira-dark) !important;
}

.learndash-wrapper a.ld-navigation__back-to-course-link svg,
.learndash-wrapper a.ld-navigation__back-to-course-link svg path {
    color: var(--movira-primary) !important;
    fill: var(--movira-primary) !important;
    stroke: var(--movira-primary) !important;
}

.learndash-wrapper a.ld-navigation__back-to-course-link:hover svg,
.learndash-wrapper a.ld-navigation__back-to-course-link:focus svg,
.learndash-wrapper a.ld-navigation__back-to-course-link:active svg,
.learndash-wrapper a.ld-navigation__back-to-course-link:hover svg path,
.learndash-wrapper a.ld-navigation__back-to-course-link:focus svg path,
.learndash-wrapper a.ld-navigation__back-to-course-link:active svg path {
    color: var(--movira-dark) !important;
    fill: var(--movira-dark) !important;
    stroke: var(--movira-dark) !important;
}


/* =========================================================
   LEARNDASH – CERTIFICATE ALERT
   ========================================================= */

/* Kék keret eltávolítása */
.learndash-wrapper
.ld-alert--modern:has(.ld-alert__button[href*="/certificates/"]) {
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Kék pipa eltávolítása */
.learndash-wrapper
.ld-alert--modern:has(.ld-alert__button[href*="/certificates/"])
.ld-alert__icon {
    display: none !important;
}

/* Tanúsítvány letöltése gomb */
.learndash-wrapper .ld-alert__button[href*="/certificates/"] {
    box-sizing: border-box !important;
    min-height: 48px !important;

    padding: 15px 30px !important;

    color: var(--movira-white) !important;
    background: var(--movira-primary) !important;

    border: 1px solid var(--movira-primary) !important;
    border-radius: 25px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;

    box-shadow: none !important;
    transform: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease !important;
}

/* Letöltés ikon fehér */
.learndash-wrapper .ld-alert__button[href*="/certificates/"] svg,
.learndash-wrapper .ld-alert__button[href*="/certificates/"] svg path {
    color: var(--movira-white) !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* Hover */
.learndash-wrapper .ld-alert__button[href*="/certificates/"]:hover,
.learndash-wrapper .ld-alert__button[href*="/certificates/"]:focus,
.learndash-wrapper .ld-alert__button[href*="/certificates/"]:active {
    color: var(--movira-white) !important;
    background: var(--movira-dark) !important;
    border-color: var(--movira-dark) !important;
    text-decoration: none !important;
}


/* =========================================================
   MOVIRA DIFFICULTY – LABEL + STARS
   ========================================================= */

.movira-difficulty-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;
    width: fit-content;

    color: var(--movira-white);
    line-height: 1.4;

    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;

    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
    box-sizing: border-box;
}

.movira-difficulty-label {
    color: var(--movira-white);
    white-space: nowrap;

    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: var(--e-global-typography-text-font-size, inherit);
    font-weight: var(--e-global-typography-text-font-weight, inherit);
    line-height: var(--e-global-typography-text-line-height, 1.4);
    text-transform: var(--e-global-typography-text-text-transform, none);
    font-style: var(--e-global-typography-text-font-style, normal);
    text-decoration: var(--e-global-typography-text-text-decoration, none);

    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
}

.movira-difficulty-stars {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    gap: 4px;

    padding: 0 !important;
    margin: 0 !important;
}

.movira-star {
    display: inline-flex;
    width: 14px;
    height: 14px;
}

.movira-star svg {
    width: 100%;
    height: 100%;

    fill: transparent;
    stroke: var(--movira-white);
    stroke-width: 1.8;
}

.movira-star.is-filled svg {
    fill: var(--movira-white);
    stroke: var(--movira-white);
}


/* =========================================================
   JETPOPUP – CLOSE BUTTON
   ========================================================= */

.jet-popup__close-button,
.jet-popup__close-button:hover,
.jet-popup__close-button:focus {
    right: 5px !important;
    top: 5px !important;
    left: auto !important;

    z-index: 99999 !important;
    opacity: 1 !important;
    visibility: visible !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.jet-popup__close-button,
.jet-popup__close-button i,
.jet-popup__close-button svg,
.jet-popup__close-button svg *,
.jet-popup__close-button span {
    color: var(--movira-white) !important;
    fill: var(--movira-white) !important;
    stroke: var(--movira-white) !important;
}

/* ==================================================
   MOVIRA – ELŐFIZETÉSEK ÜRES ÁLLAPOT
   ================================================== */

.no_subscriptions.woocommerce-info {
    background: #fff !important;
    border-top-color: var(--e-global-color-primary) !important;
    color: inherit !important;
}

/* WooCommerce info ikon / pipa */
.no_subscriptions.woocommerce-info::before {
    color: var(--e-global-color-primary) !important;
}

/* Gomb */
.no_subscriptions .woocommerce-Button {
    background-color: var(--e-global-color-accent) !important;
    color: #fff !important;

    border: none !important;
    border-radius: 25px !important;

    padding: 12px 20px !important;

    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;

    transition: all 0.25s ease !important;
}

/* Hover */
.no_subscriptions .woocommerce-Button:hover {
    background-color: var(--e-global-color-secondary) !important;
    color: #fff !important;
}

.woocommerce-EditAccountForm .form-row-last {
    display: block !important;
}


/* ==================================================
   MOVIRA – FIÓKOM CHECKBOX SZÍNE
   ================================================== */

#update_all_subscriptions_addresses,
#update_all_subscriptions_billing_contact {
    accent-color: var(--e-global-color-primary) !important;
}


/* ==================================================
   MOVIRA – TANÚSÍTVÁNYAIM
   ================================================== */

.movira-certificates {
    width: 100%;
}


/* Egy tanúsítvány sora */
.movira-certificate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: 100%;
    padding: 16px 0;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


/* Kurzus neve */
.movira-certificate-title {
    margin: 0 !important;
    flex: 1 1 auto;
}


/* Gomb konténere */
.movira-certificate-action {
    flex: 0 0 auto;
}


/* Tanúsítvány megtekintése gomb */
.movira-certificate-item .ld-certificate-link,
.movira-certificate-item .movira-certificate-action a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background-color: var(--e-global-color-primary) !important;
    color: #fff !important;

    border: 1px solid var(--e-global-color-primary) !important;
    border-radius: 25px !important;

    padding: 12px 20px !important;

    text-decoration: none !important;
    line-height: 1.2;
    white-space: nowrap;

    box-shadow: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease !important;
}


/* Hover */
.movira-certificate-item .ld-certificate-link:hover,
.movira-certificate-item .ld-certificate-link:focus,
.movira-certificate-item .movira-certificate-action a:hover,
.movira-certificate-item .movira-certificate-action a:focus {
    background-color: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary) !important;
    color: #fff !important;
    text-decoration: none !important;
}


/* Ha nincs tanúsítvány */
.movira-certificates-empty {
    margin-top: 15px;
    margin-bottom: 0;
}


/* Mobil */
@media only screen and (max-width: 767px) {

    .movira-certificate-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .movira-certificate-action {
        width: 100%;
    }
}