i {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
}

@font-face {
    font-family: 'AllianzNeo-Regular';
    src: url('/fonts/AllianzNeo-Regular.woff2') format('woff2');
    font-display: fallback;
}
@font-face {
    font-family: 'AllianzNeo-Bold';
    src: url('/fonts/AllianzNeo-Bold.woff2') format('woff2');
    font-display: fallback;
}
@font-face {
    font-family: 'AllianzNeo-Light';
    src: url('/fonts/AllianzNeo-Light.woff2') format('woff2');
    font-display: fallback;
}


:root {
    --MainFont: "AllianzNeo-Regular", system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    --MainFont-Bold: "AllianzNeo-Bold", system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    --MainFont-Light: "AllianzNeo-Light", system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;

    --COL_NAVBAR_BORDER:  #959595;
    --BASIC_BACKGROUND_COLOR: white;
    --BASIC_BACKGROUND_2_COLOR: #f5f5f5;
    --MAX_CONTENT_WIDTH: 1240px;
    --primary-brand-color: #003781;
    --COL_LIGHTER_BLUE:  #3592A4;
    --COL_ALLIANZ_BACKGR: #c1ebfb;

    --COL_ALLAINZ_LIGHT_BLUE: #006192;
    --COL_DANGER: #bd362f;
    --COL_DANGER_HOVER: #931912;
    --COL_FOOTER_BACKGR: #96dcfa;

    --COLOR_BASIC_FONT: var(--primary-brand-color)
}

body {
    font-family: var(--MainFont);
    background-color: var(--COL_ALLIANZ_BACKGR);
    color:  var(--COLOR_BASIC_FONT);
}

.logo_class {
    height: 80px;
    margin-left: 40px;
    margin-right: 60px;
    cursor: pointer;
}

#wrapper {
    width: 100%;
    margin: 90px auto 0 auto; /* Hozzáadtuk a felső margót */
    background-color: white;
    padding-bottom: 0;
    margin-bottom: 0;
}

#navbar {
    box-shadow: rgba(0, 0, 0, 0.5) 0 1px 5px 1px;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-brand-color);
    z-index: 1000;
    border-bottom: 1px var(--COL_NAVBAR_BORDER) solid;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

#navbar_nav {
    max-width: var(--MAX_CONTENT_WIDTH);
    width: 100%;
}

#footer_section {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer {
    max-width: var(--MAX_CONTENT_WIDTH);
    width: 100%;
}

.navbar-brand {
    width: 100%;
    display: block;
    margin-right: 0;
}

.container-fluid-2 {
    flex-direction: column;
    align-items: stretch;
}

#navbarSupportedContent {
    width: 100%;
}

.navbar-nav {
    width: 100%;
}

.nav-link {
    text-align: left !important;
}


.nav-item-li-main {
    height: 20px !important;
    padding-top: 2px !important;
}

#nav-item-id-1 {
    width: 90px;
}
#nav-item-id-2 {
    width: 90px;
}
#nav-item-id-3 {
    width: 130px;
}
#nav-item-id-4 {
    width: 120px;
}
.nav-item-li-main-hover {
    background-color: var(--BASIC_BACKGROUND_2_COLOR);
    cursor: pointer;
    font-family: var(--MainFont);
    color: var(--COLOR_BASIC_FONT) !important;
}

.nav-link {
    font-family: var(--MainFont);
    padding-top: 2px;
    color: white  !important;
}

.nav-link:hover {
    font-family: var(--MainFont);
    color: white  !important;
}

.nav-link-hover-alli {
    font-family: var(--MainFont);
    color: white  !important;
}

.nav-link-admin:hover {
    font-family: var(--MainFont);
    color: white  !important;
}

.navbar-toggler-icon {
    color: white  !important;
}

.nav-link-active {
    color: white  !important;
    border-bottom: 4px solid white;
}

.nav-link-active>.nav-link {
    /*color: var(--primary-brand-color) !important;*/
}

.dropdown-toggle::after {
    border: none!important;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f107" !important; /* the desired FontAwesome icon */
    vertical-align: 0; /* to center vertically */
}

.dropdown-toggle::after {
    transition: transform 0.15s ease-in-out;
}

.dropdown-toggle[aria-expanded="true"]::after {
    content: "\f107" !important; /* felfelé mutató nyíl */
    transform: rotate(180deg);
}

.dropdown-menu {
    top: 30px !important;
    left: 1px !important;
    border-color: lightgray;
    background-color: #003781 !important;
    border-radius: 4px !important;
    width: 220px;
}

.dropdown-item  {
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #003781 !important;
    color: white  !important;
    font-family: var(--MainFont);
}

.dropdown-item:hover {
    background-color: #326dbd !important;
    color: var(--COL_LIGHTER_BLUE);
}

.main_content_section {
    display: flex;
    align-items: start;
    justify-content: center;
    background-color: var(--COL_ALLIANZ_BACKGR);
    min-height: calc(100vh - 210px);
    color: var(--COLOR_BASIC_FONT);
}

.main_content {
    max-width: var(--MAX_CONTENT_WIDTH);
    width: 100%;
    border: none;
}

input:focus {
    color: var(--COL_ALLAINZ_LIGHT_BLUE) !important;
}

.datum-param {
    max-width: 135px !important;
    min-width: 120px !important;
}

.params_div {
    border: 1px solid var(--primary-brand-color);
    border-radius: 5px;
}

    @media (min-width: 992px) {
    .animate {
        animation-duration: 0.15s;
        -webkit-animation-duration: 0.15s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
    }
}

    @keyframes slideIn {
        0% {
            transform: translateY(1rem);
            opacity: 0;
        }

        100% {
            transform: translateY(0rem);
            opacity: 1;
        }

        0% {
            transform: translateY(1rem);
            opacity: 0;
        }
    }

    @-webkit-keyframes slideIn {
        0% {
            -webkit-transform: transform;
            -webkit-opacity: 0;
        }

        100% {
            -webkit-transform: translateY(0);
            -webkit-opacity: 1;
        }

        0% {
            -webkit-transform: translateY(1rem);
            -webkit-opacity: 0;
        }
    }

    .slideIn {
        -webkit-animation-name: slideIn;
        animation-name: slideIn;
    }


    /* Popup container */
    .popup {
        position: relative;
        display: inline-block;
        cursor: pointer;
        top: -26px;
    }

    /* The actual popup (appears on top) */
    .popup .popuptext {
        visibility: hidden;
        width: 180px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -80px;
    }

    /* Popup arrow */
    .popup .popuptext::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 38%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

    /* Toggle this class when clicking on the popup container (hide and show the popup) */
    .popup .show {
        visibility: visible;
        -webkit-animation: fadeIn 1s;
        animation: fadeIn 1s
    }

    /* Add animation (fade in the popup) */
    @-webkit-keyframes fadeIn {
        from {opacity: 0;}
        to {opacity: 1;}
    }

    @keyframes fadeIn {
        from {opacity: 0;}
        to {opacity:1 ;}
    }


    h1 {
        font-family: var(--MainFont-Bold);
        color: var(--COLOR_BASIC_FONT);
        line-height: 70px;
        font-weight: bold;
    }

    h2 {
        font-family: var(--MainFont-Bold);
        color: var(--COLOR_BASIC_FONT);
    }

    h3 {
        font-family: var(--MainFont-Bold);
        color: var(--COLOR_BASIC_FONT);
    }

    h4 {
        font-family: var(--MainFont-Bold);
        color: var(--COLOR_BASIC_FONT);
    }

    .btn-allianz-danger {
        background-color: var(--COL_DANGER);
        color: white;
    }

    .btn-allianz-danger:hover {
        background-color: var(--COL_DANGER_HOVER);
        color: white;
    }

    .card-header-login {
        height: 112px;
        display: flex;
        align-items: center;
        justify-content: start
    }

    .card-menu-login {
        height: 38px;
        color: var(--COL_ALLAINZ_LIGHT_BLUE);
        font-family: AllianzNeo-Bold;
        font-size: 18px;
    }

    .card-menu-underlined {
        padding-bottom:8px;border-bottom: 4px solid var(--COL_ALLAINZ_LIGHT_BLUE);
    }

    #errorBox {
        display: none; /* Alapértelmezetten rejtve */
        position: absolute;
        top: 10px;
        right: 10px;
        height: 70px;
        /*transform: translateX(-50%);*/
        background-color: var(--COL_DANGER);
        color: white;
        padding: 10px 20px;
        border-radius: 3px;
        z-index: 1000;
    }

    /* Lábléc */

    #footer_section {
        font-family: var(--MainFont);
        background-color: var(--COL_FOOTER_BACKGR);
        padding-top: 2em !important;
        padding-bottom: 2.25em !important;
        min-height: 100px;
        color: var(--primary-brand-color);
    }

    #footer h4 {
        letter-spacing: 0.5px;
        color: white;
        font-weight: bold;
        font-size: 1em;
    }

    #footer a {
        margin-top: 6px;
        color: var(--primary-brand-color);
        text-decoration: none;
    }

    /* Generic */
    img {
        max-width: 100%;
    }

    .only-mobile-2 {
        display: none !important;
    }

    .btn-info:hover {
        border: 1px solid gray !important;
    }

    .btn-primary:hover {
        background-color: rgba(13, 22, 63, 0.90) !important;
    }

    #penzugyi_adatok {
        width: 145px;
    }
    #elerhetoseg {
        width: 110px;
    }
    #kapcsolattarto {
        width: 133px;
    }

    .spacer {
        min-height: 30px;
    }

    .spacer_smaller {
        min-height: 15px;
    }

    .login_div1 {
        position: relative;
        background-color: white;
        /*border: 1px solid #bcbcbc;*/
        border: 1px solid var(--primary-brand-color);
        padding: 40px;
        border-radius: 6px;
       /* background: linear-gradient(to bottom, #f8f4f2 0px, #f8f4f2 190px, white 190px, white 100%);*/
        background: linear-gradient(to bottom, #96dcfa 0px, #96dcfa 190px, white 190px, white 100%);
    }

    .login_div2 {
        padding: 40px 25px;
        padding-bottom: 0;
        background-color: transparent;
        border: none; /* 0px solid #c0ddbd; */
    }

    .registration_link, .forgot_password_link {
        color: var(--COL_ALLAINZ_LIGHT_BLUE);
        font-weight: bold;
        text-decoration: none;
    }

    .login_button {
        padding: 12px 30px;
        background-color: var(--COL_ALLAINZ_LIGHT_BLUE);
        border-color: var(--COL_ALLAINZ_LIGHT_BLUE);
        font-family: 'AllianzNeo-Bold', sans-serif;
        letter-spacing: 1.5px;
        border-radius: 4px;
    }
    .login_button:hover {
        background-color: #003781 !important;
    }

    .forgot_passw_button {
        padding: 12px 30px;
        background-color: white;
        font-family: 'AllianzNeo-Bold', sans-serif;
        color: var(--COL_ALLAINZ_LIGHT_BLUE);
        border-color: var(--COL_ALLAINZ_LIGHT_BLUE);
        border-width: 2px;
        letter-spacing: 1.5px;
        border-radius: 4px;
    }
    .forgot_passw_button:hover {
        background-color: #003781 !important;
        color : white;
    }

    .torles_button {
        background-color: white;
        color: var(--COL_ALLAINZ_LIGHT_BLUE);
        border-color: var(--COL_ALLAINZ_LIGHT_BLUE);
        border-width: 2px;
        letter-spacing: 1.5px;
        border-radius: 4px;
        font-size: 16px;
    }
    .torles_button:hover {
        background-color: #003781 !important;
        color : white;
    }

    .fo_div1 {
        background-color: white;
        /*border: 1px solid #bcbcbc;*/
        border: 1px solid var(--primary-brand-color);
        padding: 40px;
        border-radius: 6px;
        /*background: linear-gradient(to bottom, #f8f4f2 0px, #f8f4f2 125px, white 125px, white 100%);*/
        background: linear-gradient(to bottom, #96dcfa 0px, #96dcfa 125px, white 125px, white 100%);
        min-height: 300px;
    }

    .card-header-fo {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: start
    }

    .card-fo {
        margin-top: 62px;
        line-height: 1.7;
    }

    fieldset {
        /*border: 1px solid #adb5bd;*/
        border: 1px solid var(--primary-brand-color);
        margin-top: 25px;
        position: relative;
        padding-top: 20px; /* Helyet csinál a legend felett */
        padding-left: 20px;
        padding-bottom: 10px;
    }

    legend {
        position: absolute;
        top: -15px; /* A fieldset keret fölé helyezi */
        left: 10px; /* Igazítás a bal oldalra */
        background: white; /* Fehér háttér, hogy ne lógjon bele a keretbe */
        padding: 0 10px;
        font-weight: normal;
        font-size: 17px;

    }

    .szerzodesek_div1{
        background-color: white;
        /*border: 1px solid #bcbcbc;*/
        border: 1px solid var(--primary-brand-color);
        padding: 40px;
        border-radius: 6px;
        /*background: linear-gradient(to bottom, #f8f4f2 0px, #f8f4f2 125px, white 125px, white 100%);*/
        background: linear-gradient(to bottom, #96dcfa 0px, #96dcfa 125px, white 125px, white 100%);
        min-height: 272px;
    }

    .card-szerzodesek {
        margin-top: 62px;
        line-height: 1.8;
    }


    .fiokadatok_div1{
        background-color: white;
        border: 1px solid var(--primary-brand-color);
        padding: 40px;
        border-radius: 6px;
        background: linear-gradient(to bottom, #96dcfa 0px, #96dcfa 125px, white 125px, white 100%);
        min-height: 272px;
    }

    .card-fiokadatok {
        margin-top: 82px;
        line-height: 1.8;
    }

    .telephelyek_div1{
        background-color: white;
        border: 1px solid var(--primary-brand-color);
        padding: 40px;
        border-radius: 6px;
        background: linear-gradient(to bottom, #96dcfa 0px, #96dcfa 125px, white 125px, white 100%);
        min-height: 272px;
    }

    .card-telephelyek {
        margin-top: 62px;
    }

    .telephelyek_div {
        display: grid;
        gap: 15px;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }


    .telephely_div {
        border: 1px solid var(--primary-brand-color);
        padding: 10px;
        line-height: 1.6;
    }


    .tranzakciok_div1{
        background-color: white;
        border: 1px solid var(--primary-brand-color);
        padding: 40px;
        border-radius: 6px;
        background: linear-gradient(to bottom, #96dcfa 0px, #96dcfa 125px, white 125px, white 100%);
        min-height: 272px;
    }

    .card-tranzakciok {
        margin-top: 62px;
        display: grid;
        gap: 15px;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }

    .tranzakciok_div {
        border: 1px solid var(--primary-brand-color);
        padding: 10px;
        line-height: 1.6;
    }


    .utalasok_div1{
        background-color: white;
        border: 1px solid var(--primary-brand-color);
        padding: 40px;
        border-radius: 6px;
        background: linear-gradient(to bottom, #96dcfa 0px, #96dcfa 125px, white 125px, white 100%);
        min-height: 272px;
    }

    .card-utalasok {
        margin-top: 62px;
        display: grid;
        gap: 15px;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }

    .utalasok_div {
        border: 1px solid var(--primary-brand-color);
        padding: 10px;
        line-height: 1.6;
    }

    @media only screen and (max-width: 767px) {
        .main_content_section {
            padding-top: 15px;
            padding-bottom: 15px;
            background-image: none;
        }
        .login_button {
            width: 100% !important;
        }
        .forgot_passw_button {
            width: 100% !important;
        }

        .tranzakciok_div1 {
            padding-left: 15px !important;
        }

        .utalasok_div1 {
            padding-left: 15px !important;
        }

    }

    .buttonClass1 {
        background-color: var(--COL_ALLAINZ_LIGHT_BLUE);
        color: white;
        height: 34px;
        font-size: 16px;
    }

    .buttonClass1:focus {
        background-color: var(--COL_ALLAINZ_LIGHT_BLUE) !important;
        color: white !important;
    }

    .buttonClass1:active {
        background-color: rgba(13, 22, 63, 0.90) !important;
        color: white !important;
    }

    .buttonClass1:hover {
        background-color: rgba(13, 22, 63, 0.90) !important;
        color: white !important;
    }

    .buttonClass1:visited {
        background-color: var(--COL_ALLAINZ_LIGHT_BLUE) !important;
        color: white !important;
    }


    .tooltip-container {
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

    .tooltip-text {
        visibility: hidden;
        background-color: white;
        color: var(--primary-brand-color);
        padding: 3px 5px;
        border-radius: 3px;
        font-size: 14px;
        font-weight: normal;
        border: 1px solid var(--primary-brand-color);
        position: absolute;
        bottom: 0%;
        left: 50%;
        transform: translateX(10px);
        white-space: nowrap;
        z-index: 100;
    }

    .tooltip-container:hover .tooltip-text {
        visibility: visible;
    }

    @media only screen and (min-width: 768px) {
        .main_content_section {
            padding-top: 40px;
            padding-bottom: 40px;
        }
    }

    @media only screen and (min-width: 992px) {
        .desktophidden {
            display: none !important;
        }
        .modal-content-hu {
            min-width: 530px;
        }
        h2 {
            font-size: 36px !important;
        }
        h3 {
            font-size: 28px !important;
        }
        h4 {
            font-size: 20px !important;
        }

    }

    @media only screen and (max-width: 1199px) {
    }


    /* Mobil méretezés - ver 2*/
    @media only screen and (max-width: 1192px) {
        .mobilehidden-2 {
            display: none;
        }
        .only-mobile-2 {
            display: block !important;
        }
    }

    /* Mobil méretezés - igazából ez tableteknél is használt */
    @media only screen and (max-width: 991px) {
        .logo_class {
            height: 50px;
            margin-left: 40px;
        }

        .mobil-p-2 {
            padding: 2em !important;
        }

        .mobil-p-2b {
            padding-left: 3em !important;
            padding-top: 1em !important;
            padding-bottom: 1em !important;
        }

        .mobil-ms-0 {
            margin-left: 0 !important;
        }


        .adaptive-width {
            width: 60%;
        }

        margin-top:80px;

        h2 {
            font-size: 26px !important;
        }
        h3 {
            font-size: 20px !important;
        }
        h4 {
            font-size: 18px !important;
        }

        #navbarSupportedContent {
            background-color: #003781;
            border: 1px solid var(--primary-brand-color);
            padding-left: 15px;
            margin-top: -5px;
            max-width: 200px;
        }

        #navbar-button{
            margin-top: 0;
        }

    }

    @media only screen and (max-width: 600px) {
        .adaptive-width {
            width: 98% !important;
        }

    }

    @media (min-width: 393px) {
        .mobil-not-small-shown {
            display: inline !important;
        }
        .mobil-small-shown {
            display: none !important;
        }

    }

    @media (max-width: 392px) {
        .mobil-not-small-shown {
            display: none !important;
        }
        .mobil-small-shown {
            display: inline !important;
        }
        .mobil-smaller {
            width: 98px !important;
        }
        .mobil-small-ps {
            padding-left: 5px !important;
        }
        .card-telephelyek {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }
    }


    /* Csak a hamburger menü pozicionálása mobilon */
    @media (max-width: 991.98px) {
        .navbar-toggler {
            margin: 10px 0;
        }

        .card-fo {
            margin-top: 72px !important;
        }
        .card-szerzodesek {
            margin-top: 72px !important;
        }
        .card-fiokadatok {
            margin-top: 72px !important;
        }
        .card-telephelyek {
            margin-top: 72px !important;
        }

        .tranzakcio_table {
            font-size: 12px !important;
        }
        .utalasok_table {
            font-size: 12px !important;
        }

        .mobile-small-font {
            font-size: 13px !important;
        }

    }

    @media (max-width: 1260px) {
        #navbar_nav {
            padding-left: 8px !important;
        }
    }

