@font-face {
    font-family: 'myriad-pro-regular';
    src: url('fonts/myriadpro-regular.eot');
    src: url('fonts/myriadpro-regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/myriadpro-regular.woff') format('woff'),
        url('fonts/myriadpro-regular.svg#MyriadPro-Regular') format('svg');
    font-weight: 400;
}

@font-face {
    font-family: 'myriad-pro-semibold';
    src: url('fonts/myriadpro-semibold.eot');
    src: url('fonts/myriadpro-semibold.eot?#iefix') format('embedded-opentype'),
        url('fonts/myriadpro-semibold.woff') format('woff'),
        url('fonts/myriadpro-semibold.svg#MyriadPro-Semibold') format('svg');
    font-weight: 600;
}

@font-face {
    font-family: 'myriad-pro-bold';
    src: url('fonts/myriadpro-bold.eot');
    src: url('fonts/myriadpro-bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/myriadpro-bold.woff') format('woff'),
        url('fonts/myriadpro-bold.svg#MyriadPro-Bold') format('svg');
    font-weight: 700;
}

@font-face {
    font-family: 'myriad-pro-light';
    src: url('fonts/myriadpro-light.eot');
    src: url('fonts/myriadpro-light.eot?#iefix') format('embedded-opentype'),
        url('fonts/myriadpro-light.woff') format('woff'),
        url('fonts/myriadpro-light.svg#MyriadPro-Light') format('svg');
    font-weight: 300;
}

@font-face {
    font-family: 'myriad-pro-bold-condensed';
    src: url('fonts/myriadpro-boldcond.eot');
    src: url('fonts/myriadpro-boldcond.eot?#iefix') format('embedded-opentype'),
        url('fonts/myriadpro-boldcond.woff') format('woff'),
        url('fonts/myriadpro-boldcond.svg#MyriadPro-BoldCond') format('svg');
    font-weight: 700;
}

.mrd-semibold {
    font-family: "myriad-pro-semibold", sans-serif;
}

.mrd-bold {
    font-family: "myriad-pro-bold", sans-serif;
}

.mrd-regular {
    font-family: "myriad-pro-regular", sans-serif;
}

.mrd-light {
    font-family: "myriad-pro-light", sans-serif;
}


:root {
    --white: #ffffff;
    --dark-grey: #282828;
    --greentext: #1b6c01;
    --yellowtext: #e9a400;
    --greenbtn: #32815d;
    --redbtn: #e34735;
    --redtext: #b91805;
    --bluetext: #027496;
    --bluebtn: #0271aa;
    --lightblue: #e8f1fb;

    --accent: #1e7ef7;
    --accent-dark: #0f5fd1;
    --text: #1b2430;
    --muted: #6b7686;
    --border: #e7eaf0;
}


body {
    padding-top: 0px;
    font-family: "myriad-pro-regular", sans-serif;
    padding-top: 66px;
}

body a {
    text-decoration: none;
}

body p {
    margin: 0;
}

.header-main {
    position: fixed;
    top: 0;
    background-color: var(--white);
    width: 100%;
    z-index: 999;
    border-bottom: 2px solid var(--dark-grey);
}

.header-contacts a {
    color: #000;
}

header nav.navbar {
    top: 0px;
    height: 66px;
}

nav.navbar {
    background-color: var(--white) !important;
    transition: all .3s ease-in-out;
    height: auto;
}

header.scrolled .navbar,
header.scrolled-sub .navbar {
    background-color: var(--white) !important;
}

nav.navbar {
    top: 0px;
    padding: 0;
}

li.nav-item {
    margin: 0;
}

a.nav-link {
    color: var(--dark-grey);
    font-size: 21px;
    padding: 0px 15px 0px 15px !important;
}

a.nav-link:hover {
    color: #ffb10a;
}

.navbar-nav {
    height: 100%;
}

ul li.nav-item {
    transition: all .3s ease-in-out;
}


ul li.nav-item:hover a {
    color: #ffb10a;
}

#main-top {
    padding: 100px 0 60px 0;
    background-image: url('../img/top-main-img.jpg');
    height: 785px;
    background-position: center center;
    background-repeat: no-repeat;
}

.mb-logo {
    display: none;
}

.svlogo {
    height: 54px;
}

.svlogo:first-child {
    margin-left: 50px;
}

.kek-cim {
    text-transform: uppercase;
    color: #0e8bfd;
    font-size: 24px;
}

.top-title {
    font-size: 95px;
    color: #050f31;
}

p.alcim {
    font-size: 30px;
    color: #050f31;
}

.top-kisbox {
    margin-top: 20px;
    gap: 20px;
}

.top-kisbox p {
    font-size: 20px;
    color: #050f31;
    line-height: 23px;
    font-family: 'mrd-semibold', sans-serif;
}

.top-kisbox div {
    gap: 12px;
    flex: 1;
}

#kiemelt-esemenyek {
    padding: 60px 0;
    background-color: #edf6fe;
}

h2.title {
    font-size: 50px;
    line-height: 53px;
    color: #050f31;
    text-transform: uppercase;
    margin-bottom: 30px;
}

h2.title span {
    color: #0d8bfd;
}

p.txt {
    font-size: 20px;
    line-height: 23px;
    margin: 20px 0;
    color: #000;
}

.kiemelt-esemeny-box {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e0e9f2;
    margin-top: 40px;
}

.kiemelt-esemeny-kep {
    height: 220px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 15px;
}

div.ptipus {
    border-radius: 15px;
    font-size: 20px;
    line-height: 23px;
    color: #050f31;
    text-transform: uppercase;
    padding: 7px 10px;
    text-align: center;
}

.esemeny-kep div.ptipus {
    top: 15px;
    color: #fff;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 10px;
    left: 15px;
    width: auto;
    position: absolute;
}

.kiemelt-esemeny-also {
    padding: 15px;
    background-color: #fff;
    height: 389px;
    position: relative;
}

.kiemelt-esemeny-also a.reszletes-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: auto;
    right: 15px;
}

.kiemelt-esemeny-also p.cime {
    font-size: 24px;
    line-height: 27px;
    margin: 0 0 15px 0;
    height: 82px;
    overflow: hidden;
}

.kiemelt-esemeny-also .ikon {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 4px 0;
}

a.reszletes-btn {
    border-radius: 15px;
    font-size: 20px;
    line-height: 23px;
    background-color: #1991fd;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    text-transform: uppercase;
    margin-top: 15px;
}

a.reszletes-btn img {
    margin-left: 10px;
}

a.reszletes-btn-lg {
    font-size: 24px;
    line-height: 27px;
    padding: 15px 30px;
    width: auto;
    margin-top: 60px;
}


#kozelgo-esemenyek {
    padding: 60px 0;
}

.kozelgo-datum {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 40px;
    line-height: 46px;
    height: 100%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.kozelgo-datum span.kozel-nap {
    font-size: 18px;
    font-family: 'mrd-semibold', sans-serif;
    line-height: 35px;
    margin-top: 10px;
    padding: 1px 18px 0 18px;
    text-transform: uppercase;
    color: #1890fd;
    background-color: #edf6fe;
    border-radius: 10px;
    display: inline-block;
}
.kozelgo-kep {
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

a.kozelgo-cim {
    font-size: 24px;
    line-height: 27px;
    color: #050f31;
    margin-bottom: 15px;
    display: block;
}

.kozelgo-ikon {
    padding: 15px 0;
    align-items: flex-start;
    gap: 40px;
    font-size: 20px;

}

.kozelgo-ikon .ikon {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 33%;
    line-height: 22px;
}

.kozelgo-ikon .ikon p span {
    color: #0d8bfd;
    font-size: 20px;
    display: inline-block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.kozelgo-right {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top: 1px solid #e0e9f2;
    border-right: 1px solid #e0e9f2;
    border-bottom: 1px solid #e0e9f2;
    position: relative;
    padding-bottom: 15px;
    padding-left: 40px !important;
}

.kozelgo-right a.reszletes-btn {
    margin-top: 0;
    width: auto;
}

#naptar {
    padding: 60px 0;
}

.search-wrap {
    max-width: 100%;
    margin: 212px auto 0 auto;
    position: relative;
    z-index: 2;
}

.search-bar {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(20, 40, 90, .12);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    overflow-x: auto;
}

.field {
    flex: 1 1 0;
    min-width: 150px;
    padding: 2px 14px;
}

.field+.field {
    border-left: 1px solid var(--border);
}

.field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: #050f31;
    margin-bottom: 10px;
}

.field label svg {
    width: 16px;
    height: 16px;
    color: #0951d1;
    flex-shrink: 0;
}

.field select {
    border: 0;
    padding: 0;
    font-size: 18;
    color: #050f31;
    background: transparent;
    width: 100%;
    cursor: pointer;
}

.field select:focus {
    outline: none;
    box-shadow: none;
}

.field.date-field {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.date-value {
    font-size: .92rem;
    font-weight: 500;
    color: var(--text);
}

.date-field input.date-value {
    border: 0;
    background: transparent;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

.date-field input.date-value:focus {
    outline: none;
    box-shadow: none;
}

.date-field input.date-value::placeholder {
    color: var(--text);
    opacity: 1;
}

/* natív böngésző date input naptár ikonjának színezése */
.date-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(40%) sepia(90%) saturate(1500%) hue-rotate(190deg);
    cursor: pointer;
}

.search-btn {
    flex: 0 0 auto;
    border: 0;
    background: #2794fd;
    color: #fff;
    font-size: 20px;
    letter-spacing: .02em;
    padding: 22px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 10px 22px rgba(30, 126, 247, .35);
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(30, 126, 247, .45);
    color: #fff;
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

footer {
    background: #edf6fe;
    padding: 50px 0;
}

.nav-link-footer {
    color: #050f31;
    font-size: 20px;
    display: inline-block;
    padding: 0 0 20px 15px;
}

p.copyright {
    font-size: 14px;
    color: #050f31;
    text-align: center;
    padding: 10px 0;
}

#event_page {
    padding: 50px 0;
    min-height: 75vh;
}

#event_page .esemeny-kep {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}
#event_page h2.event-title {
    font-size: 38px;
    line-height: 41px;
}
.esemeny-kekbox {
    background-color: #a9ddf5;
    border-radius: 15px;
    padding: 35px 40px;
    gap: 35px;
    position: absolute;
    bottom: 0;
}

.esemeny-kekbox div.buttons {
    text-align: center;
}
.esemeny-kekbox div.buttons a {
    width: 75%;
}

.esemeny-kekbox div.ikonok {
    width: 33%;
    align-items: flex-start;
}
.esemeny-kekbox div.ikonok img {
    flex: 0 0 auto;  /* ne nőjön, ne zsugorodjon */
  width: auto;
  height: auto;
  max-width: none; /* ha valami (pl. Bootstrap) korlátozza */
}
.esemeny-kekbox div.ikonok p, p.eventcontent {
    text-transform: uppercase;
    font-size: 22px;
    line-height: 25px;
}
.esemeny-kekbox div.ikonok p span {
    text-transform: none;
}

.article-content * {
    font-family: 'myriad-pro-regular', sans-serif;
    font-size: 18px;
    line-height: 23px;
}

.dd {
    display: inline-block;
}

.dm {
    display: none;
}

@media (max-width: 900px) {
    .search-bar {
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .field {
        flex: 1 1 45%;
        border-left: none !important;
        border-bottom: 1px solid var(--border);
        padding: 10px 6px;
    }

    .search-btn {
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* Tablet (kb. 768px - 1024px között) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* tablet stílusok */
}

/* Mobil (768px alatt) */
@media (max-width: 767px) {
    .search-btn {
        margin-bottom: 20px;
    }
    .dd {
        display: none;
    }

    .dm {
        display: inline-block;
    }

    .kozelgo-right a.reszletes-btn {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .top-title {
        font-size: 42px;
    }

    .top-kisbox {
        flex-direction: column;
    }

    .svlogo:first-child {
        margin-left: 15px;
    }

    img.svlogo {
        height: 32px;
    }

    .navbar-collapse {
        position: fixed;
        top: 66px;
        background-color: #fff;
        left: 0;
        right: 0;
        z-index: 1050;
    }

    .navbar-collapse a.nav-link {
        padding: 10px 15px !important;
    }

    .kek-cim {
        font-size: 22px;
    }

    p.alcim {
        font-size: 24px;
    }

    #main-top {
        padding: 40px 0;
        height: auto;
        background-size: cover;
        background-position: 30%;
    }

    .search-wrap {
        margin-top: 15px;
    }
.search-btn {
    padding: 9px 0 8px 0;
    font-size: 24px;
}
    .top-kisbox div {
        margin: 5px 0;
    }

    .field {
        flex: 1 1 100%;
    }

    #kiemelt-esemenyek {
        padding: 30px 0;
    }

    h2.title {
        font-size: 42px;
        line-height: 48px;
    }

    #kiemelt-esemenyek h2.title {
        margin-bottom: 20px;
    }

    .kiemelt-esemeny-box {
        margin-top: 20px;
    }

    .kozelgo-left {
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
    }

    .kozelgo-datum {
        border-top-left-radius: 15px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .kozelgo-right {
        border-top-right-radius: 0;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 15px;
        border: 0;
        padding-top: 0 !important;
    }
    .kozelgo-ikon .ikon {
        width: 100%;
    }
    .kozelgo-kep {
        height: 260px;
    }

    .kozelgo-middle {
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }

    #kozelgo-esemenyek,
    #naptar {
        padding: 30px 0;
    }


    .kiemelt-esemeny-also {
        height: auto;
        padding-bottom: 70px;
    }

    .kiemelt-esemeny-also p.cime {
        height: auto;

    }
    .kozelgo-ikon {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    .kz-b {
        padding: 15px;
        border-left: 1px solid #e0e9f2;
        border-right: 1px solid #e0e9f2;
        border-bottom: 1px solid #e0e9f2;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    
    .top-kisbox {
        align-items: flex-start !important;
        gap: 10px;
    }
    .top-kisbox img {
        width: 60px;
    }
        
    .esemeny-kekbox {
        position: relative;
        flex-direction: column;
    }
    #event_page h2.event-title {
        font-size: 36px;
        line-height: 39px;
        margin: 20px 0;
    }
    .esemeny-kekbox div.buttons a {
        width: 100%;
    }
    .esemeny-kekbox div.ikonok {
        width: 100%;
    }
}