#jogi h1,
#jogi h2,
#jogi h3,
#jogi h4,
#jogi h5,
#jogi h6 {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
}

#jogi p,
#jogi li,
#jogi span,
#jogi div {
    font-size: inherit;
    line-height: inherit;
}

.modal-header-grid {
    overflow: hidden;
}

#accordionFlushProducts .accordion-img,
.intro-slide-img {
    flex: 0 0 30%;
}

#accordionFlushProducts .product-accordion-btn,
.intro-slide-text {
    flex: 0 0 70%;
}

/* Calculator compact sizing - remove this section to restore original dimensions. */
#KTHTab .nav-link {
    font-size: 1.5rem;
    padding: 0.75rem;
}

#KTHTabContent > .tab-pane > .col-12,
#SubscribeCalcWrapper > .row > div > .row > .col-12 {
    padding: 2rem !important;
}

#KTHTabContent .form-control-lg,
#KTHTabContent .form-select,
#SubscribeCalcWrapper .form-control-lg {
    min-height: 3rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-size: 1rem;
}

#KTHTabContent .input-group-text {
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
}

#KTHTabContent .form-label,
#SubscribeCalcWrapper .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.9375rem;
}

#KTHTabContent .mb-3,
#SubscribeCalcWrapper .mb-3 {
    margin-bottom: 0.75rem !important;
}

#KTHTabContent .mt-4,
#SubscribeCalcWrapper .mt-4 {
    margin-top: 1.25rem !important;
}

#KTHTabContent .mt-5,
#SubscribeCalcWrapper .mt-5 {
    margin-top: 1.75rem !important;
}

#KTHTabContent .mb-4,
#SubscribeCalcWrapper .mb-4 {
    margin-bottom: 1.25rem !important;
}

#KTHTabContent .mb-5,
#SubscribeCalcWrapper .mb-5 {
    margin-bottom: 1.75rem !important;
}

#KTHTabContent .btn-lg,
#SubscribeCalcWrapper .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.875rem;
}

#KTHTabContent .h2,
#SubscribeCalcWrapper .h2 {
    font-size: 1.75rem;
}

#hitel_osszeg .h2 {
    font-size: 2.5rem;
}

#SubscribeCalcWrapper .h3,
#SubscribeCalcWrapper h3 {
    font-size: 1.5rem;
}

#loanForm {
    --bs-gutter-y: 0.75rem;
}

#loanForm .strong.h2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0.75rem 1.25rem !important;
}

#loanForm > .col-md-12.mt-5 {
    margin-top: 1.75rem !important;
}

#hitel_osszeg,
#clpse {
    padding: 1.5rem !important;
}

#SubscribeCalcWrapper {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
}

#SubscribeCalc {
    --bs-gutter-y: 0.75rem;
    margin-top: 1.5rem !important;
}

#SubscribeCalcWrapper .form-check-label {
    font-size: 0.875rem;
    line-height: 1.4;
}

#SubscribeCalcWrapper .gap-4 {
    gap: 1rem !important;
}

@media (max-width: 767.98px) {
    #KTHTab .nav-link {
        min-height: 3.5rem;
        padding: 0.625rem;
        font-size: 0.75rem !important;
    }

    #KTHTabContent > .tab-pane > .col-12,
    #SubscribeCalcWrapper > .row > div > .row > .col-12 {
        padding: 1.25rem !important;
    }

    #KTHTabContent .h2,
    #SubscribeCalcWrapper .h2 {
        font-size: 1.5rem;
    }

    #hitel_osszeg,
    #clpse {
        padding: 1.25rem !important;
    }
}
/*end of calculator resize*/

#pressTabs button[role="tab"] {
    border: 1px solid #334CBB;
    padding: 1rem;
    color: #334CBB;
}

#pressTabs li button[role="tab"] {
    border-radius: 0;
}

#pressTabs li:first-child button[role="tab"] {
    border-radius: 1rem 0 0 0;
    border-top-left-radius: 1rem !important;
}

#pressTabs li:last-child button[role="tab"] {
    border-radius: 0 1rem 0 0;
    border-top-right-radius: 1rem !important;
}

#pressTabs button[role="tab"] svg path {
    fill: #334CBB;
    transition: 0.15s;
}

#pressTabs button[role="tab"].active svg path,
#pressTabs button[role="tab"]:hover svg path {
    fill: #fff;
}

.tab-elem {
    display: flex;
    width: 100%;
    column-gap: 1.5em;
    row-gap: 1em;
    align-items: center;
    color: #fff;

    .tab-img img {
        border-radius: 5px;
    }

    .tab-img {
        width: 20%;
    }

    .tab-text {
        width: 100%;

        .tab-title {
            font-family: 'Archivo_SemiExpanded-Bold' !important;
            font-size: 22px;
        }

        .tab-desc {
            font-size: 18px;
        }
    }

    .tab-action .tab-btn {
        text-decoration: none;
        color: #1F2B85;
        width: max-content;
    }
}

.tab-elem:not(:last-child) {
    border-bottom: 1px dotted rgba(26, 39, 102, 1);
    padding-bottom: 1.5rem !important;
}

.eligible-badge {
    text-align: center;
    padding: 1.5em 1em;
    color: #1F2B85;
    font-family: 'Archivo_SemiExpanded-Bold' !important;

    a {
        color: rgba(252, 95, 33, 1);
        font-family: 'Archivo_SemiExpanded-Regular' !important;
    }
}

.custom-blue {
    color: #1F2B85;
}

.loan-purpose p,
.loan-purpose {
    font-size: 1.0607em;
}

.loan-purpose {
    opacity: 0;
}

.accordion-item.is-open .loan-purpose{
    opacity: 1;
}

.loan-main {
    background-color: #2c6c8f;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.5em;

    .loan-info {
        padding: 0 0.5em;
    }

    .loan-info :first-child {
        font-size: 1.1em;
        font-family: 'Archivo_SemiExpanded-Bold' !important;
    }

    .loan-info :nth-child(2) {
        font-family: 'Archivo_SemiExpanded-Regular' !important;
        font-size: 1.8em;
    }

    .loan-info:not(:last-child) {
        border-right: 1px dotted #fff;
    }
}

.loan-other {
    row-gap: 2em;

    .loan-info :first-child {
        font-size: 1.1em;
        font-family: 'Archivo_SemiExpanded-Bold' !important;
    }
}

@media (max-width: 991.98px) {
    .loan-info :nth-child(2) {
        font-size: 1.3em;
    }

    .tab-elem {
        flex-direction: column;

        & .tab-img {
            width: 100%;
            max-width: 350px;
            margin: 0 auto;
        }
    }

    #pressTabs .nav-link b {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .loan-main {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 1.5em;
    }

    .loan-info:not(:last-child) {
        border-right: none !important;
    }

    .loan-info :nth-child(2) {
        font-size: 1em;
    }
}

@media (max-width: 991px) {
    #accordionFlushProducts .accordion-body .p-3.align-items-end {
        padding-left: 1rem !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 600px) {
    .accordion-button {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .loan-other {
        & .loan-info :first-child {
            font-size: .9em;
        }
    }
}

.accordion-item.is-open .accordion-close {
    right: 1rem;
    bottom: 1rem;
    position: relative;
}

p {
    font-size: 1.125rem;
}

@media (max-width: 600px) {
    p {
        font-size: 1rem;
    }
}

.lead {
    font-size: 1.375rem;
    padding: 1.4em !important;
}

@media (min-width: 768px) {
    .h3b {
        font-size: 2rem;
    }
}

#gyik .accordion-text b {
    font-size: 1.364em;
}

#gyik .accordion-text {
    font-size: 0.9167em;
}

.finance-data {
    padding: 1.1em;
    background-color: #2e43a6;
    border-radius: 10px;
    position: relative;
    margin-top: 1em;
    margin-bottom: 1em;
}

.finance-data > svg {
    position: absolute;
    top: 1em;
    right: 1em;
}

#KTHTabContent .btn-lg {
    padding: 0.75rem 3rem !important;
}

#reszlet-tab-pane .loan-main {
    background: #1A276640;
    padding: 1em;
    border-radius: 10px;
}

.conditions .strong,
.question-filter {
    font-size: 24px;
}

.conditions,
#preFilterForm .form-check-label {
    font-size: 22px;
}

.tab-elem {
    .tab-action .tab-btn {
        font-size: 18px !important;
    }
}

#pressTabs .nav-link {
    font-size: 22px !important;
}

#financial_data_title {
    font-size: 18px;
}

.futamido-label {
    font-size: 22px;
}

.futamido-duration {
    font-size: 30px;
}

@media (max-width: 575.98px) {
    .conditions .strong,
    .question-filter {
        font-size: 18px;
    }

    .conditions,
    #preFilterForm .form-check-label {
        font-size: 16px;
    }

    .tab-elem {
        .tab-text {
            .tab-title {
                font-size: 20px;
            }

            .tab-desc {
                font-size: 16px;
            }
        }
    }

    .tab-elem {
        .tab-action .tab-btn {
            font-size: 16px !important;
        }
    }

    #pressTabs .nav-link {
        font-size: 18px !important;
    }


    .futamido-label {
        font-size: 17px;
    }

    .futamido-duration {
        font-size: 23px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .conditions .strong,
    .question-filter {
        font-size: 20px;
    }

    .conditions,
    #preFilterForm .form-check-label {
        font-size: 18px;
    }

    #pressTabs .nav-link {
        font-size: 20px !important;
    }


    .futamido-label {
        font-size: 20px;
    }

    .futamido-duration {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .conditions .strong,
    .question-filter {
        font-size: 22px;
    }

    .conditions,
    #preFilterForm .form-check-label {
        font-size: 20px;
    }
}
