.pte-mega-menu-trigger {
    position: absolute;
    top: 0;
    right: 0;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #fff;
    cursor: pointer;
    z-index: 10020;
    line-height: 1;
    transition: 0.3s ease;
    background: transparent;
    border: none;
}

.pte-mega-menu-trigger.is-open {
    background: #fff;
    color: #003087;
}

.pte-mega-menu-trigger:hover {
    opacity: 0.95;
}
.pte-mega-overlay-container {
    height: 0;
    width: 100%;
    position: fixed !important;
    z-index: 10000;
    top: var(--pte-mega-header-offset, 0px);
    left: 0;
    background-color: #003087 !important;
    overflow: hidden;
    transition: height 0.4s ease;
}

.pte-mega-overlay-content-flex {
    display: flex;
    height: 100%;
    position: relative;
}

#pte-mega-shared-bg-layer {
    position: absolute;
    top: 0;
    left: 24%;
    right: 0;
    width: auto;
    height: 100%;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    transition: background 0.4s ease;
    z-index: 1;
}

.pte-mega-menu-col {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.pte-mega-main-col {
    flex: 0 0 24%;
    max-width: 24%;
    padding: 110px 32px 40px;
}

.pte-mega-sub-l2-col {
    flex: 0 0 28%;
    max-width: 28%;
    padding: 110px 32px 40px;
}

.pte-mega-sub-l3-col {
    flex: 0 0 28%;
    max-width: 28%;
    padding: 110px 32px 40px;
}

.pte-mega-overlay-container a {
    text-decoration: none;
    display: block;
    position: relative;
    transition: 0.3s;
}

.pte-mega-main-link {
    font-size: 36px;
    padding: 10px 0;
    font-weight: 500;
    line-height: 1.05;
    font-family: "Pte serif", serif;
    margin-bottom: 14px;
    color: rgb(255 255 255 / 60%) !important;
}

.pte-mega-sub-item {
    margin-bottom: 18px;
    margin-top: 10px;
}

.pte-mega-sub-link {
    font-size: 20px;
    color: rgb(255 255 255 / 60%) !important;
    font-weight: 400;
    line-height: 200%;
}

.pte-mega-sub-title {
    display: inline;
}

.pte-mega-sub-desc {
    display: block;
    margin-top: 6px;
    font-weight: 300;
    line-height: 1.35;
    font-size: 15px;
    color: rgb(255 255 255 / 60%);
    max-width: 34ch;
}

.pte-mega-sub-desc:empty {
    display: block;
}

.pte-mega-sub-l3-col .pte-mega-sub-link {
    font-size: 20px;
    color: #fff !important;
    font-weight: 400;
    line-height: 1.7;
    line-height: 200%;
}

.pte-mega-main-link:hover,
.pte-mega-main-link.is-active,
.pte-mega-sub-link:hover,
.pte-mega-sub-link.is-active {
    color: #fff !important;
}

.pte-mega-sub-content {
    display: none;
    width: 100%;
    animation: pte-mega-fadeIn 0.25s ease-out;
}

.pte-mega-sub-content.is-open {
    display: block;
}

.pte-mega-sub-link.is-parent::after {
    content: none;
}

.pte-mega-sub-link.is-parent .pte-mega-sub-title {
    display: inline-flex;
    align-items: center;
}

.pte-mega-sub-link.is-parent .pte-mega-sub-title::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 3px solid rgb(255 255 255 / 60%);
    border-top: 3px solid rgb(255 255 255 / 60%);
    transform: rotate(45deg);
    margin-left: 8px;
}
.pte-mega-sub-link:hover .pte-mega-sub-title::after,
.pte-mega-sub-link.is-active .pte-mega-sub-title::after {
    border-right-color: #fff;
    border-top-color: #fff;
}

@keyframes pte-mega-fadeIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 992 alatt teljes tiltás */
@media screen and (max-width: 991px) {
    .pte-mega-menu-trigger,
    .pte-mega-overlay-container {
        display: none !important;
    }
}

/* laptop / kompakt desktop */
@media screen and (min-width: 992px) and (max-width: 1599px) {
    #pte-mega-shared-bg-layer {
        display: none;
    }

    .pte-mega-overlay-content-flex {
        align-items: flex-start;
    }

    .pte-mega-main-col {
        flex: 0 0 24%;
        max-width: 24%;
    }

    .pte-mega-sub-l2-col {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .pte-mega-sub-l3-col {
        flex: 0 0 28%;
        max-width: 28%;
    }

    .pte-mega-menu-col {
        padding: 60px 24px 32px;
    }

    .pte-mega-main-link {
        font-size: 24px;
        line-height: 1.05;
        padding: 8px 0;
        margin-bottom: 12px;
    }

    .pte-mega-sub-link {
        font-size: 17px;
        line-height: 1.45;
    }

    .pte-mega-sub-l3-col .pte-mega-sub-link {
        font-size: 17px;
        line-height: 1.45;
    }

    .pte-mega-sub-item {
        margin-bottom: 12px;
    }

    .pte-mega-sub-desc {
        display: block;
    }

}
@media (max-height: 900px) {
  .pte-mega-main-link{
      margin-bottom:8px;
      font-size:24px;
  }
}
/* nagy desktop */
@media screen and (min-width: 1600px) {
    #pte-mega-shared-bg-layer {
        display: block;
    }

    .pte-mega-main-col {
        flex: 0 0 24%;
        max-width: 24%;
    }

    .pte-mega-sub-l2-col {
        flex: 0 0 28%;
        max-width: 28%;
    }

    .pte-mega-sub-l3-col {
        flex: 0 0 28%;
        max-width: 28%;
    }

    .pte-mega-menu-col {
        padding: 110px 32px 40px;
    }

    .pte-mega-sub-desc {
        display: block;
    }
}