/*
Theme Name: NMKT
Template: hello-elementor
*/

body {
    overflow-x:hidden !important;
    background: #f2f2f2 !important;
}

#content {
    min-height: 650px;
    margin-top: 50px;
    background: transparent;
}

header.elementor-location-header {
    background: transparent;
}

.page-header .entry-title {
    font-size: 2.7rem;
    color: #009de2;
}

html .regmenu .elementor-nav-menu--main .elementor-nav-menu a {
    font-family: "Roboto", Sans-serif;
    text-transform: lowercase;
    font-weight: 600;
    display: inline-block; 
    color: #000000;
    letter-spacing: 0.5 !important;

    padding-left: 60px !important;
    padding-right: 60px  !important;
    padding-top: 10px  !important;
    padding-bottom: 10px  !important;
}

html .regmenu .elementor-nav-menu--main .elementor-nav-menu a:hover {
    color: #1bcbf2 !important;
}

html .regmenu .elementor-nav-menu--main .elementor-nav-menu li {
    text-align: right;
    margin-bottom: 7px;
}

html .regmenu .elementor-nav-menu--main .elementor-nav-menu li.profile a,
html .login.nmr-logged-out.menu-item a {
     color: #000000 !important;
    background-color: #f2cb04;
    border-radius: 3px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.58);
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.58);
    -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.58);
}

html .regmenu .elementor-nav-menu--main .elementor-nav-menu li.profile a:hover,
html .login.nmr-logged-out.menu-item a:hover {
    background-color: #1bcbf2;
    color: #fff !important;
}

html .regmenu > nav {
    text-align: right;
}

html .regmenu > nav > ul {
    display: inline-block;
}

html .reg.nmr-logged-out.menu-item-75 a {
    color: #000 !important;
}

.yellow-text {
    color: #f2cb04 !important; 
}

.blue-text {
    color: #009de2 !important;
}

.red-text {
    color: #f24b77 !important;
}

.news-slider .jet-listing-grid__item {
    overflow:hidden !important
} 

.news-slider .jet-listing-dynamic-image {
    height: 250px;
}

.news-slider .jet-listing-dynamic-image__link {
    display: block;           
    width: 100%;
    height: 100%;
}

.news-slider .jet-listing-dynamic-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    display: block;   
    border-top-left-radius: 10px;   
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.news-slider .perex {
    font-size: 14px;
}

.news-slider .more-wrapper {
    margin-top: 10px;
    text-transform: lowercase;
    margin-bottom: 10px;
    color:#7c7c7c;
}

.home .jet-slick-dots li {  
    background:#999;
}

.home .jet-listing-grid__slider .jet-slick-dots li.slick-active, 
.home .jet-listing-grid__slider .jet-slick-dots li:hover {
    background:#f2cb04 !important;
}

.home .news-slider .jet-listing-grid__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* desktop: 3 stĺpce */
    gap: 20px; /* medzera medzi položkami */
}

@media (max-width: 768px) {
    .home .news-slider .jet-listing-grid__inner {
        grid-template-columns: repeat(2, 1fr); /* tablet: 2 stĺpce */
    }
}

@media (max-width: 480px) {
    .home .news-slider .jet-listing-grid__inner {
        grid-template-columns: 1fr; /* mobil: 1 stĺpec */
    }
}

.home .events-slider-wrapper /*.events-slider .jet-listing-grid__items */ {
        box-shadow:2px 2px 5px 0px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
}

.home .events-slider-wrapper .jet-listing-grid__item a.elementor-element:hover > div > div > div > div,
.home .events-slider-wrapper .jet-listing-grid__item a.elementor-element:hover > div:after  {
    color: #f2cb04 !important;
    transition: color ease 0.4s;
}

.home .edit-button.initialized {
    display: none;
}

.home .events-slider .jet-slick-dots {
    position: absolute;
    margin-top: 25px;
}

.slick-arrow {
    cursor: pointer;
}

.home .news-slider .jet-listing-grid__items,
.home .events-slider .jet-listing-grid__items {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

#grid-1 .jet-listing-grid__item {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#grid-1 .jet-listing-grid__item:last-of-type > div > div > div > div > div {
    border-bottom: 0 !important;
}

.db-skladieb .jet-filter-label {
    text-transform: uppercase;
    color:#000;
    font-weight: bold;
    background: #cccccc;
    padding-left: 30px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
}

.dce-popup-container .jet-filter-label {
    text-transform: uppercase;
    color:#000;
    font-weight: bold;
    padding-left: 0px;
    padding-right: 20px;
    padding-top: 0px;
    padding-bottom: 10px;
    font-size: 14px;
}

.db-skladieb .jet-smart-filters-checkboxes.jet-filter {
    border-radius: 10px;
    box-shadow: 3px 2px 5px 0px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.dce-popup-container .jet-smart-filters-checkboxes.jet-filter {
    height: 100%;
}

.db-skladieb .jet-smart-filters-checkboxes .jet-checkboxes-list,
.dce-popup-container .jet-smart-filters-checkboxes .jet-checkboxes-list {
    background: #fff;
    padding-left: 30px;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-right: 20px;
    font-size: 14px;
}

.dce-popup-container .jet-smart-filters-checkboxes .jet-checkboxes-list {
    padding-left: 0px;
}

.db-skladieb .jet-smart-filters-checkboxes .jet-checkboxes-list .jet-checkboxes-list__button,
.dce-popup-container .jet-smart-filters-checkboxes .jet-checkboxes-list .jet-checkboxes-list__button {
    display: flex;
    align-items: center;
}

.db-skladieb .jet-smart-filters-checkboxes .jet-checkboxes-list .jet-checkboxes-list__decorator,
.dce-popup-container .jet-smart-filters-checkboxes .jet-checkboxes-list .jet-checkboxes-list__decorator,
.rf-dropdown .jet-radio-list__decorator,
.rfd-dropdown .jet-radio-list__decorator {
    margin-right:10px !important;
}

.db-skladieb .jet-smart-filters-checkboxes .jet-checkboxes-list .jet-checkboxes-list__label,
.dce-popup-container .jet-smart-filters-checkboxes .jet-checkboxes-list .jet-checkboxes-list__label {
    margin-top: 3px;
}

.dce-popup-container .ffc-horizontal-wrap {
    width: auto;
}

.dce-popup-container .ffc-horizontal-wrap > div {
    min-width: 250px;
    border-right: 1px solid #ddd;
}

.dce-popup-container .ffc-horizontal-wrap > div:last-of-type {
    border-right: 0;
}

.jet-filters-pagination__current .jet-filters-pagination__link {
    color: #f2cb04;
    font-family: "Roboto";
    font-weight: bold;
} 

.fs-sel {
    transition: color 0.3s ease;
    display: inline-block;
    color: #909090; /* Tvoja farba */
}

.fs-sel.is-changing { 
    color: #009de2;
    transform: scale(1.07); 
}

.fs-button > .elementor-button {
    width: 100% !important;
}

.fs-button > .elementor-button .elementor-button-content-wrapper {
    justify-content: flex-start;
    width: 100%;
}

.fs-button > .elementor-button .elementor-button-content-wrapper .elementor-button-text {
    width: 100%;
    margin-top: 2px;
}

.fs-button > .elementor-button .elementor-button-content-wrapper .elementor-button-text .nmkt-filter-counts {
    display: flex;
    justify-content: space-between;
}

.jet-remove-all-filters__button::before {
    content: "\f01e"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px; 
    display: inline-block;
    transition: transform 0.3s ease;
    position:relative;
    transform: rotate(0deg);
}

.jet-remove-all-filters__button:hover::before {
    transform: rotate(90deg);
} 

/** **/

.jet-listing-grid {
    position: relative;
    transition: opacity 0.3s ease;
}

.jet-listing-grid.jet-filters-loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(1px); 
    z-index: 100;
    display: block;
}

.jet-listing-grid.jet-filters-loading::after {
    content: "";
    position: absolute;
    top: 100px;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 3px solid #ccc;
    border-top-color: #000; 
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 101;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.jet-checkboxes-list .jet-checkboxes-list__item .jet-checkboxes-list__input:checked+.jet-checkboxes-list__button .jet-checkboxes-list__decorator {
    background-color: #000 !important
}

.jet-listing-not-found {
    padding-top: 30px;
    padding-bottom: 30px;
    background: #fff;
}

.rf-dropdown .jet-radio-list-wrapper,
.rfd-dropdown .jet-radio-list-wrapper {
    display: block;
    width: auto !important;
    min-width: max-content !important;
}

html .rf-dropdown .jet-radio-list,
html .rf-dropdown .jet-filter-items-dropdown__body,
html .rf-dropdown .jet-filter-items-dropdown__label {
    min-width: 260px !important;
}

html .rf-dropdown .jet-radio-list {
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

html .rfd-dropdown .jet-radio-list {
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.rf-dropdown .jet-filter-items-dropdown__body,
.rfd-dropdown .jet-filter-items-dropdown__body {
    width: auto !important;
    min-width: 100% !important;
}

.rf-dropdown .jet-filter-items-dropdown,
.rfd-dropdown .jet-filter-items-dropdown {
    width: fit-content !important;
    min-width: max-content !important;
    display: inline-block;
}

.rf-dropdown .jet-filter-items-dropdown__label,
.rfd-dropdown .jet-filter-items-dropdown__label {
    display: flex !important;
    width: auto !important;
    min-width: 100% !important;
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 5px;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.28);
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.28);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.28);
    font-size: 14px;
}

.rf-dropdown .jet-radio-list__label,
.rfd-dropdown .jet-radio-list__label {
    white-space: nowrap !important;
    font-size: 14px;
}

.rf-dropdown .jet-filter-items-dropdown__body,
.rfd-dropdown .jet-filter-items-dropdown__body {
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.28);
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.28);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.28);
    z-index: 10000;
}

.rf-dropdown .jet-filter-items-dropdown,
.rfd-dropdown .jet-filter-items-dropdown {
    cursor: pointer
}

.active-sort-hdl .elementor-heading-title {
    font-weight: 800 !important; 
}

/* --- ZÁHLAVIA (Headings) --- */
.active-sort.compositor-hdln h6,
.active-sort.composition-hdln h6,
.active-sort.country-hdln h6,
.active-sort.created-hdln h6,
.active-sort.added-hdln h6 {
    font-weight: 600 !important;
    color: #000;
}

/* --- TELO LISTINGU (Dynamic Fields) --- */
.active-sort.compositor-bdy .elementor-shortcode,
.active-sort.created-bdy .jet-listing-dynamic-field__content,
.active-sort.added-bdy .jet-listing-dynamic-field__content {
    font-weight: 600 !important;
    color: #000;
}

.active-sort.compositor-bdy .elementor-shortcode {
    text-align: left;
}
/* --- ŠPECIÁLNE PRE KRAJINU (Shortcode widget) --- */
.active-sort.country-bdy .elementor-shortcode {
    font-weight: 600 !important;
    color: #000;
}

.active-sort.composition-bdy .elementor-shortcode .ntitle {
    font-weight: 600 !important;
}

html .rfd-dropdown .jet-radio-list,
html .rfd-dropdown .jet-filter-items-dropdown__body,
html .rfd-dropdown .jet-filter-items-dropdown__label {
    min-width: 100px !important;
}

html .compositor-bdy > div > div > div  {
    text-transform:capitalize
}

html .country-bdy > div {
    text-align: right;
}

.composition-bdy .ntitle {
    color: #009de2;
    cursor: pointer;
}

#grid-1 .jet-listing-grid__item:hover > div > div > .e-con-inner > div {
    background: #eee !important;
}

html .popup-composition-content .elementor-shortcode {
    font-size: 14px;
}

html .popup-composition-content .elementor-shortcode > div span[class$="content"] {
    font-weight: bold;
}

html .popup-composition-content .elementor-shortcode > div span.a_content {
    font-weight: 400;
}

.ct_content, .diff_content, .cu_content {
    text-transform: lowercase;
}

/* Hlavný flex kontajner */
.nmkt-download-flex-container {
    display: flex;
    flex-wrap: wrap; /* Umožní zalomenie na mobile */
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

/* Stĺpce */
.nmkt-flex-col {
    flex: 1; /* Budú sa snažiť zdieľať priestor */
    min-width: 200px; /* Keď bude menej ako 200px, zalamujú sa pod seba */
    min-height: 39px;
    display: flex;
    align-items: center;
}

/* Checkbox stĺpec */
.nmkt-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.nmkt-checkbox-label input {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

/* Button stĺpec */
.nmkt-col-btn {
    display: flex;
    justify-content: flex-start;
}

/* Tlačidlo - čistý look */
.download-trigger-btn {
    background-color: #F2CB04 !important;
    color: #000 !important;
    font-weight: 600 !important;
    font-size: 14px;
    padding: 12px 24px !important;
    text-decoration: none;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    transition: all 0.4s;
}

html .download-trigger-btn:hover {
    background-color:#009de2 !important;
    color: #fff !important;
}

/* Tenšia ikonka (optický trik) */
.nmkt-thin-icon {
    font-size: 14px;
    opacity: 1;
    margin-right: 10px;
}

/* Mobile fix */
@media (max-width: 600px) {
    .nmkt-flex-col {
        flex: 0 0 100%; /* Na mobile zaberú celú šírku */
    }
    .nmkt-checkbox-label {
        white-space: normal;
    }
}

.nmkt-download-success {
    font-weight: 600;
    color: #28a745; /* Jemná zelená pre úspech */
    padding: 15px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 4px;
    text-align: center;
    width: 100%;
}

.news-slider .jet-listing-grid__item > div > div .elementor-heading-title a {
    color: #000;
    transition: color ease .4s;
}

.news-slider .jet-listing-grid__item > div > div .more-wrapper a {
    color: inherit;
    transition: color ease .4s;
}

.news-slider .jet-listing-grid__item > div > div .elementor-heading-title a:hover,
.news-slider .jet-listing-grid__item > div > div .more-wrapper a:hover {
    color: #f1cb02;
    transition: color ease .4s;
}

html .jet-team-member__socials {
    display: none !important;
}

html .jet-team-member__button-container {
     display: none !important;
}

.nmkt-custom-content {
    line-height: 1.6;
    margin-bottom: 15px;
}

.nmkt-custom-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.event-dates-wrapper .label {
    font-weight: bold;
    color: #555;
    margin-right: 5px;
}
.event-start, .event-end {
    margin-bottom: 5px;
}

.nmkt-custom-content-full .wp-block-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #F2CB04; /* Tvoja žltá farba */
    margin: 20px 0;
    gap: 15px;
}

.nmkt-custom-content-full .wp-block-file a:not(.wp-block-file__button) {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    flex-grow: 1;
    transition: color 0.3s;
}

.nmkt-custom-content-full .wp-block-file a:not(.wp-block-file__button):hover {
    color: #000;
}

.nmkt-custom-content-full .wp-block-file__button {
    background-color: #F2CB04 !important; 
    color: #000 !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none !important;
}

.nmkt-custom-content-full .wp-block-file__button:hover {
    background-color: #009de2 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Ikona pred názov súboru (voliteľné cez CSS pseudo-element) */
.nmkt-custom-content-full .wp-block-file a:not(.wp-block-file__button)::before {
    content: "\f15b"; /* FontAwesome ikona súboru */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #888;
}

/* Responzivita pre mobil */
@media (max-width: 600px) {
    .nmkt-custom-content-full .wp-block-file {
        flex-direction: column;
        align-items: flex-start;
    }
    .nmkt-custom-content-full .wp-block-file__button {
        width: 100%;
        text-align: center;
    }
}

/* Hlavný obal */
.event-lecturers-wrapper {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
}

/* Ikona */
.event-meta-icon {
    margin-right: 12px;
    color: #F2CB04;
    width: 20px;
    text-align: center;
    padding-top: 3px;
}

/* Telo (Label + Zoznam) */
.event-meta-body {
    display: flex;
    flex-wrap: wrap; /* Umožní zalomenie na nový riadok ak treba */
    column-gap: 5px;
}

/* Zoznam lektorov */
.event-lecturers-list {
    display: flex;
    flex-direction: column; /* Toto ich hodí pod seba */
}

/* Jednotlivý lektor */
.event-lecturer-item {
    line-height: 1.5;
    white-space: nowrap; /* Meno sa nezalomí uprostred */
}

/* Ak chceš, aby label "Lektori:" bol vždy v samostatnom riadku nad menami (voliteľné):
.event-meta-body { flex-direction: column; }
*/

.event-lecturer-item {
    color:#009de2;
    font-weight: 500;
}

.pum-content .nmkt-lecturer-name {
    font-size: 24px;
    font-weight: bold;
}

.pum-content .nmkt-custom-content-full {
    font-size: 16px;
    width: 80%;
}

@media only screen and (max-width: 1024px) {

    .pum-content .nmkt-custom-content-full {
        width: 100%;
    }
}

.jet-listing-grid__item:nth-child(even) .e-nrow {
    flex-direction: row-reverse !important;
}

@media (min-width: 1025px) {
    .jet-listing-grid__item:nth-child(even) .e-nrow {
        flex-direction: row-reverse !important;
    }
}

#nmkt-popover-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.58);
    padding: 3px; 
    z-index: 9999;
    width: 280px; 
}

.nmkt-custom-popover-menu {
    border-radius: 5px; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#nmkt-popover-container::before {
    content: '';
    position: absolute;
    top: -6px; 
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.nmkt-menu-item {
    display: flex;
    flex-direction: column;
    padding: 20px 23px; 
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.nmkt-menu-item:hover {
    opacity: 0.9;
}

.nmkt-menu-item:nth-child(1) {
    background-color: #009de2 !important;
}
.nmkt-menu-item:nth-child(1) .nmkt-menu-title,
.nmkt-menu-item:nth-child(1) .nmkt-menu-desc {
    color: #ffffff !important;
}

.nmkt-menu-divider {
    height: 3px; 
    background: #fff;
}

.nmkt-menu-item:nth-child(3) {
    background-color: #f24b78 !important; 
}
.nmkt-menu-item:nth-child(3) .nmkt-menu-title,
.nmkt-menu-item:nth-child(3) .nmkt-menu-desc {
    color: #ffffff !important;
}

.nmkt-menu-title {
    font-weight: 800;
    font-size: 18px; 
    /*font-family: "ManuPro-Emphasis";*/
    /*text-transform: uppercase;*/
    margin-bottom: 5px;
    line-height: 1.1;
    margin-bottom: 5px;
}

.nmkt-menu-desc {
    font-size: 14px;
    line-height: 1.3;
}

.app-status.wfapp {
    color:#ff0000;
}

.app-status.app {
    color:#009de2;
}

html .page-id-1597 .jet-form-builder__field.agree + span:before,
html .page-id-2211 .jet-form-builder__field.agree + span:before {
    margin-right: 10px !important;
}

html .page-id-1597 .jet-form-builder__field.agree + span,
html .page-id-2211 .jet-form-builder__field.agree + span {
    width: 75%;
    align-items: flex-start !important;
}

@media only screen and (max-width:1024px) {

    html .page-id-1597 .jet-form-builder__field.agree + span,
    html .page-id-2211 .jet-form-builder__field.agree + span {
        width: 100%;
    }

}

html .page-id-1597 .jet-form-builder__field-label.for-checkbox,
html .page-id-2211 .jet-form-builder__field-label.for-checkbox {
    align-items: flex-start;
}

html .smbt-reg-user {
    background:#f2cb04;
    border: 0;
    color: #000;
}

html .smbt-reg-user:hover {
    background:#009de2;
    color: #fff;
}

html .jet-form-builder__field.select-field {
    background: #fff;
}

html .role-type {
    text-transform: lowercase;
}

/*1. Príprava kontajnera pre overlay */
.jet-tabs form.jet-form-builder.is-loading {
    position: relative;
    min-height: 200px; /* Zabezpečí výšku, ak by bol formulár krátky */
}

/* 2. Biely nepriehľadný overlay */
.jet-tabs  form.jet-form-builder.is-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.65); /* Silnejšie krytie */
    backdrop-filter: blur(4px); /* Rozmazanie pozadia pre moderný vzhľad */
    z-index: 9999;
    border-radius: 5px;
}

/* 3. Animovaný kruh (Spinner) */
.jet-tabs  form.jet-form-builder.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border: 6px solid #f3f3f3; /* Svetlosivý podklad kruhu */
    border-top: 6px solid #009de2; /* Tmavozelená z vášho HTML (alebo zmeňte na vašu modrú) */
    border-radius: 50%;
    z-index: 10000;
    animation: nmk-spin 1s linear infinite;
}

/* 4. Pridanie textu pod spinner (voliteľné, ale odporúčané) */
/* Keďže nemôžeme pridať ďalší pseudo-element, môžeme spinneru pridať tieň, ktorý vyzerá ako žiara */
.jet-tabs  form.jet-form-builder.is-loading::after {
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* 5. Definícia animácie rotácie */
@keyframes nmk-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Zablokovanie interakcie so všetkým vo vnútri počas načítavania */
.jet-tabs  form.jet-form-builder.is-loading * {
    pointer-events: none; 
    user-select: none;
}

/* uprava formlarov pre hierarchicke zoznamy */
 
/* Odsadenie pre texty s hĺbkou */
.jet-tabs  .jet-form-builder__field-label span .nmkt-depth-1 {
    display: inline-block;
    padding-left: 15px;
    position: relative;
}


/* Rodičia tučným písmom */
.jet-tabs  .jet-form-builder__field-label span .nmkt-depth-0 {
    display: inline-block;
  /*  margin-top: 5px;*/
}

/* Odstránenie default paddingu z JFB, aby to lícovalo */
.jet-tabs  .jet-form-builder__field-label.for-checkbox {
    display: flex;
    align-items: center;
}

.page-id-79 .jet-form-builder__label,
.page-id-2205 .jet-form-builder__label {
    margin-bottom: 15px;
}

.separ {
    margin-top: 20px  !important;
    margin-bottom: 20px  !important;
    border: 0 !important;
}

html .elementor-79 .elementor-element.elementor-element-a8af31a > .elementor-widget-container > .jet-tabs > .jet-tabs__control-wrapper,
html .elementor-2205 .elementor-element.elementor-element-a8af31a > .elementor-widget-container > .jet-tabs > .jet-tabs__control-wrapper {
    background: transparent;
}

html .elementor-79 .elementor-element.elementor-element-a8af31a > .elementor-widget-container > .jet-tabs > .jet-tabs__control-wrapper > div,
html .elementor-2205 .elementor-element.elementor-element-a8af31a > .elementor-widget-container > .jet-tabs > .jet-tabs__control-wrapper > div {
    background: #fff;
    margin-right: 7px !important; 
}

/* Zameriame sa na label, ktorý obsahuje náš span s hĺbkou */

.jet-tabs  .jet-form-builder__field-wrap:has(.nmkt-depth-1) {
    margin-left: 15px !important;
    margin-bottom: 2px;
}

.jet-tabs  .jet-form-builder__field-wrap:has(.nmkt-depth-2) {
    margin-left: 60px !important;
}

.jet-tabs  .nmkt-depth-0 {
    display: block;
    margin-top: 0px;
    margin-bottom: 2px;
}


.jet-tabs  .jet-form-builder__field-label span .nmkt-depth-1 {
    padding-left: 0px;
}

/* Kontajner */
.nmkt-grid-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: inherit;
}

/* Definícia Gridu pre riadky */
.nmkt-grid-row {
    display: grid;
    grid-template-columns: 2fr 1fr 100px 100px; /* Upravte pomer stĺpcov tu */
    align-items: center;
}

/* Bunky všeobecne */
.nmkt-grid-cell {
    padding: 15px;
}

/* Záhlavie */
.nmkt-grid-header {
    background-color: #e3f2fd; /* Bledomodrá farba */
    font-weight: normal;
    color: #333;
    border-radius: 5px 5px 0 0;
}

/* Telo tabuľky */
.nmkt-grid-body .nmkt-grid-row {
    background-color: #ffffff;
    transition: background 0.2s ease;
}

/* Alternatívne riadky (Zebra efekt bez borderov) */
.nmkt-grid-body .nmkt-grid-row:nth-child(even) {
    background-color: #f9f9f9;
}

.nmkt-grid-body .nmkt-grid-row:hover {
    background-color: #f0f7ff; /* Jemná modrá pri hoveri */
}

/* Centrovane ikonky */
.cell-icon {
    display: flex;
    justify-content: center;
}

.status-active .dashicons-yes { color: #46b450; }
.status-active .dashicons-no-alt { color: #dc3232; }
.status-approved .dashicons-yes-alt { color: #46b450; }
.status-approved .dashicons-dismiss { color: #dc3232; }

/* Linky */
.cell-title a {
    text-decoration: none;
    color: #009de2 !important;
    font-weight: 400;
}

.cell-title a:hover {
    color: #f2cb04 !important;
}

/* Responzivita - na mobile sa to zmení na stĺpec */
@media (max-width: 768px) {
    .nmkt-grid-row {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .nmkt-grid-header {
        display: none; /* Na mobile hlavičku skryjeme */
    }
    .nmkt-grid-cell {
        padding: 5px 0;
    }
    .cell-title { font-weight: bold; font-size: 1.1em; }
    .cell-icon { justify-content: flex-start; }
}

/* Stránkovanie */
.nmkt-grid-pagination {
    margin-top: 20px;
    display: flex;
    gap: 8px;
}
.nmkt-grid-pagination .page-numbers {
    padding: 8px 12px;
    background: #eee;
    text-decoration: none;
    border-radius: 4px;
    color: #333;
}
.nmkt-grid-pagination .current {
    background: #2b5b14;
    color: #fff;
}

/* 1. Hlavný kontajner uploadu */
.jet-tabs .jet-form-builder-file-upload__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background-color: #f9f9fb; /* Jemne odlišné pozadie */
    border: 2px dashed #b4b9be; /* Prerušovaný okraj */
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jet-tabs .jet-form-builder-file-upload__input {
    width: 100% !important;
}

/* Zmena farby pri hoveri alebo pretiahnutí súboru */
.jet-tabs .jet-form-builder-file-upload__content:hover {
    border-color: #2b5b14; /* Vaša zelená farba */
    background-color: #f0f4ef;
}

/* 2. Pridanie IKONY (Cloud upload) */
.jet-tabs .jet-form-builder-file-upload__content::before {
    content: '\f306'; /* Dashicons ikona cloudu */
    font-family: Dashicons;
    font-size: 40px;
    color: #009de2;
    margin-bottom: 10px;
    display: block;
}

/* 3. Pridanie TEXTU (Inštrukcie) */
.jet-tabs .jet-form-builder-file-upload__content::after {
    content: 'Presuňte súbory sem alebo kliknite pre výber';
    display: block;
    font-size: 14px;
    color: #009de2;
    font-weight: 500;
    text-align: center;
}

/* English version */
html[lang="en-US"] .jet-tabs .jet-form-builder-file-upload__content::after {
    content: 'Drag and drop files here or click to select';
}


/* 4. Úprava, aby text a ikona nezmizli, keď sa už nahrajú súbory */
/* Ak chcete, aby po nahraní prvého súboru inštrukcia zmizla, použite tento selektor: */
.jet-tabs .jet-form-builder-file-upload__content:has(.jet-form-builder-file-upload__file)::before,
.jet-tabs .jet-form-builder-file-upload__content:has(.jet-form-builder-file-upload__file)::after {
    display: none;
}

/* 5. Upratovanie defaultného JFB loaderu, aby nezavadzal v strede */
.jet-tabs .jet-form-builder-file-upload__loader {
    z-index: 10;
}

/* 6. Skrytie pôvodného inputu, aby neprekrýval dizajn (JFB ho má vnútri) */
.jet-tabs .jet-form-builder-file-upload__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.jet-tabs .jet-form-builder-file-upload__message {
    margin-top: 10px;
}

.admin-form-static div {
    color: #000;
}

.castup-bdy .jet-listing-dynamic-field__content {
    text-transform: lowercase;
}

.loader {
    font-size: 14px;
}


/* Container pre overlay */
#nmkt-loading-overlay-hp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Polopriehľadná biela */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999; /* Musí byť nad všetkým, aj nad menu */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Keď je aktívny */
#nmkt-loading-overlay-hp.active {
    visibility: visible;
    opacity: 1;
}

/* Kruhový preloader */
.nmkt-spinner-hp { 
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #F2CB04; /* Tvoja žltá farba */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

 