:root {
    --bs-primary: 23, 71, 158;
    --bs-primary-rgb: 23, 71, 158;

    --bs-light: 235, 244, 250;
    --bs-light-rgb: 235, 244, 250;

    --bs-light-active: 49, 99, 188;
    --bs-light-active-rgb: 49, 99, 188;

    --bs-dark: 0, 51, 117;
    --bs-dark-rgb: 0, 51, 117;

    --main-bg-image: url("../img/bg-default.svg");
    --nav-bg-image: url("../img/nav-default.svg");
}

@font-face {
    font-family: 'SourceSans3-Regular';
    src: url('../fonts/SourceSans3-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSans3-Black';
    src: url('../fonts/SourceSans3-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSans3-Bold';
    src: url('../fonts/SourceSans3-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSans3-SemiBold';
    src: url('../fonts/SourceSans3-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

.container {
    max-width: 1210px;
}

.container-fluid {
    max-width: 1512px;
}

@media (min-width:992px) {
    .px-lg-5 {
        padding-right: 2.5rem!important;
        padding-left: 2.5rem!important;
    }

    .py-lg-5 {
        padding-top: 2.5rem!important;
        padding-bottom: 2.5rem!important;
    }
}

.btn-primary {
    --bs-btn-bg: #F04E69;
    --bs-btn-border-color: #F04E69;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #FF768D;
    --bs-btn-hover-border-color: #FF768D;
    --bs-btn-active-bg: #FF768D;
    --bs-btn-active-border-color: #FF768D;
    --bs-btn-focus-shadow-rgb: 217, 119, 6;
    --bs-btn-disabled-color: #D2CED0;
    --bs-btn-disabled-bg: #D2CED0;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-border-color: #D2CED0;
}

.btn-outline-primary {
    --bs-btn-color: #F04E69;
    --bs-btn-border-color: #F04E69;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #FF768D;
    --bs-btn-hover-border-color: #FF768D;
    --bs-btn-focus-shadow-rgb: 217, 119, 6;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #FF768D;
    --bs-btn-active-border-color: #FF768D;
    --bs-btn-disabled-color: #D2CED0;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #D2CED0;
}

.btn {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-border-radius: 0.5rem;
    text-box-trim: trim-both;
    font-family: 'SourceSans3-Black';
    letter-spacing: 5%
}

.btn-sm {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: 0.4rem;
}

.btn-lg {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: 1.125rem;
    --bs-btn-border-radius: 0.65rem;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    border-color: transparent
}

#block-article > div.block-elem.text-primary.black.h2.mb-3.mb-lg-5.block-title {
    margin-bottom: .5rem!important;
}


.btn.active {
    border-color: #fff!important;
    box-shadow: 0px 0px 10px 0px rgba(219, 219, 219, 0.5);
}

.footer-bg {
    background-color:  #17479E;
}

.footer-bg-dark {
    background-color: #003375;
}

.bg-light-2 {
    background: rgba(226, 236, 250, 1)!important;
}

.bg-secondary {
    background: #D2CED0!important;
}
table,
.table-secondary
{
    border-color: #D2CED0!important;
    --bs-table-bg: #D2CED0;
}

.border-secondary  {
    border-color: #D2CED0!important;
}

.text-link {
    color: #F04E69!important;
}

.text-link:hover {
    color: #F04E69!important;
}

.text-muted {
    color: rgba(87, 93, 100, 1)!important;
}

.custom-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #D2CED0;
    border-radius: 12px;
    overflow: hidden;
}

.custom-table th,
.custom-table td {
    border-right: 1px solid #D2CED0;
    border-bottom: 1px solid #D2CED0;
    padding: 1rem 1.5rem
}

.custom-table th:last-child,
.custom-table td:last-child {
    border-right: none;
}

.custom-table tbody tr:last-child td,
.custom-table tbody tr:last-child th {
    border-bottom: none;
}


html, body {
    font-family: 'SourceSans3-Regular', sans-serif;
    color: rgb(87, 93, 100);
    scroll-behavior: smooth;
}

body {
    padding-top: 139px;
    scroll-margin-top: 200px
}

.strong, strong, b {
    font-family: 'SourceSans3-Bold';
    font-weight: normal;
}

.black {
    font-family: 'SourceSans3-Black';
    font-weight: normal;
}

small, .small  {
    font-size: .75rem
}

.fs-14 {
    font-size: .875rem;
    line-height: 1rem;
}

.semibold {
    font-family: 'SourceSans3-SemiBold';
}

@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 2.5rem
    }
    h2, .h2 {
        font-size: 2.5rem
    }

    h3, .h3 {
        font-size: 1.75rem
    }

    h4, .h4 {
        font-size: 1.25rem
    }
}

.nav-section {
    background-image: var(--nav-bg-image);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

main {
    background-image: var(--main-bg-image);
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
}

main.main-intro {
    background-image: none
}

.bg-intro {
    background-image: url(../img/bg-intro.svg), url(../img/bg-intro-2.svg);
    background-size: 100%, auto;
    background-position: center top, center calc(100% - 2rem);
    background-repeat: no-repeat;
}

.btn-szallas {
    background: rgb(58, 152, 169);
    border-color: rgb(58, 152, 169);
}

.btn-vendeg {
    background: rgb(224, 126, 39);
    border-color: rgb(224, 126, 39);
}

.btn-attrakcio {
    background: rgb(124, 49, 67);
    border-color: rgb(124, 49, 67);
}

.text-szallas {
    color:  rgb(58, 152, 169);
}

.text-vendeg {
    color: rgb(224, 126, 39);
}

.text-attrakcio {
    color: rgb(124, 49, 67);
}

.text-reg {}

.block {
    border-radius: 10px;
    box-shadow:  0px 8px 16px 0px rgba(219, 219, 219, 0.5)
}

.border-dotted.border-bottom {
    background-image: linear-gradient(to right, rgba(210,206,208,1) 33%, rgba(210,206,208,0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
    border: 0!important
}

.border-dotted.border-bottom.border-dark {
    background-image: linear-gradient(to right, rgba(0,51,117,1) 33%, rgba(0,51,117,0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
    border: 0!important
}

.navgrid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-template-areas:
    "logo mainnav";
}


.mainnav { grid-area: mainnav; }
.logo { grid-area: logo; }
.hamb { grid-area: hamb; display: none }

@media (max-width:1199px) {
    .navgrid {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0px 0px;
        grid-template-areas:
    "logo hamb"
    "mainnav mainnav";
    }

    .hamb { display: block }

    .mainnav { background: rgb(var(--bs-dark))!important;}


    .menu-toggle {
        padding: 0;
        width: 44px;
        height: 44px;
        background: transparent;
        box-shadow: none !important;
    }

    .hamburger-icon {
        display: block;
    }

    .hamburger-icon .line {
        transform-box: fill-box;
        transform-origin: center;
        transition: transform 0.35s ease, opacity 0.25s ease;
    }


    .menu-toggle[aria-expanded="true"] .top {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .middle {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .bottom {
        transform: translateY(-6px) rotate(-45deg);
    }

    .btn-szallas,
    .btn-vendeg,
    .btn-attrakcio,
    .btn-reg {
        padding: .75rem;
        aspect-ratio: 1
    }

}

.btn-lang {
    padding: .75rem;
    width: 51px;
    aspect-ratio: 1
}

.theme-logo, .theme-title {
    display: none;
}

body:has(.theme-page) .theme-logo {
    display: block;
}

body:has(.theme-page) .theme-title {
    display: block;
}

body:has(.theme-page) .non-theme-logo {
    display: none;
}

.btn-lang:hover,
#NtakMenu li:hover,
#NtakMenu li:has(.active) {
    background-color: rgba(var(--bs-light-active))!important
}

.search-expand {
    overflow: hidden;
}

.search-expand__form {
    display: flex;
    align-items: center;
    gap: 0;
}

.search-expand__input {
    width: 220px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

@media (min-width:1200px) {
    .lang-sm {
        display: none!important
    }
}

@media (max-width: 1440px) {
    .search-expand__input {
        width: 0;
        opacity: 0;
        visibility: hidden;
        padding: 0;
        border: 0;
        overflow: hidden;
    }

    .search-expand {
        z-index: 1;
        position: absolute;
        right: 0;
        height: 51px;
        aspect-ratio: 1;
        display: flex;
        justify-content: center
    }

    .search-expand.open  {
        width: 910px;
    }



    .search-expand.open .search-expand__input {
        width: 850px;
        opacity: 1;
        visibility: visible;
        padding-left: .5rem
    }

    .search-expand.open .search-expand__btn {
        padding-left: 1rem!important;
    }

}
.search-expand.open .search-expand__input {
    width: 850px;
    opacity: 1;
    pointer-events: auto;
    margin-right: 10px;
    padding: 0 4px;
}

.search-expand__input::placeholder {
    color: #888;
}

.search-expand__btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1199px) {
    .search-expand.open {
        width: 320px;
    }
    .search-expand.open .search-expand__input {
        width: 264px;
    }
}

@supports (-webkit-hyphens:none) {
    .search-expand.open  {
        width: initial;
    }
}

.block-default .block-elem:last-of-type {
    margin-bottom:0!important;
}

.rounded-3 {
    border-radius: 0.625rem
}

.table-ifa th,
.table-ifa td {
    text-align: center
}

.accordion-button::after {
    display: none
}

.accordion-button {
    font-family: 'SourceSans3-Bold';
    color: #000;
    padding-left: 0
}

.accordion-button.collapsed {
    color: #575D64
}

.accordion-body {
    padding: 0 1.75rem .5rem 2rem;
    margin-top: -.5rem;
    color: #575D64
}

.subaccordion .accordion-body {
    padding: 0 1.75rem .5rem 1.8rem;
}

.accordion-button.collapsed::before {
    content: url(../img/plus-color.svg);
    display: flex;
    width: 24px;
    height: 24px;
    background-image: ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px auto;
    margin-right: .5rem;
}

.accordion-button::before {
    content: url(../img/minus-color.svg);
    display: flex;
    width: 24px;
    height: 24px;
    background-image: ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px auto;
    margin-right: .5rem;
}


.subaccordion .accordion-button.collapsed::before {
    content: url(../img/plus-color2.svg);
    display: flex;
    width: 16px;
    height: 16px;
    background-image: ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px auto;
    margin-right: .5rem;
}

.subaccordion .accordion-button::before {
    content: url(../img/minus-color2.svg);
    display: flex;
    width: 16px;
    height: 16px;
    background-image: ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px auto;
    margin-right: .5rem;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: transparent;
    box-shadow: none;
}

.newsitem {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
    gap: 0px 1rem;
    grid-template-areas:
    "newsitem-image newsitem-text";
}


.newsitem-image { grid-area: newsitem-image; min-height: 365px; background-position: center; background-repeat: no-repeat; background-size:cover }
.newsitem-text { grid-area: newsitem-text; }

@media (max-width: 991px) {
    .newsitem {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 1rem 0;
        grid-template-areas:
    "newsitem-image"
	"newsitem-text";
    }

    .newsitem-image { grid-area: newsitem-image; min-height: 228px; background-position: center; background-repeat: no-repeat; background-size:cover }
    .newsitem-text { grid-area: newsitem-text; }
}

.btn-more {
    background-image: url(../img/icon-next-color.svg); background-position-y: center; background-position-x: calc(100% - 1.25rem); background-repeat: no-repeat; background-size: 8px auto;
    padding-right: 2.75rem
}

.btn-more:hover {
    background-image: url(../img/icon-next-white.svg); background-position-y: center; background-position-x: calc(100% - 1.25rem); background-repeat: no-repeat; background-size: 8px auto;
    padding-right: 2.75rem
}


.btn-prev.btn-outline-primary {
    background-image: url(../img/icon-prev-color.svg); background-position-y: center; background-position-x: 1.25rem; background-repeat: no-repeat; background-size: 8px auto;
    padding-left: 2.75rem
}

.btn-prev.btn-outline-primary:hover {
    background-image: url(../img/icon-prev-white.svg); background-position-y: center; background-position-x: 1.25rem; background-repeat: no-repeat; background-size: 8px auto;
    padding-left: 2.75rem
}


@media (min-width: 992px) {
    .newslist .newsitem:nth-of-type(odd) {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: 1fr;
        gap: 0px 1rem;
        grid-template-areas:
    "newsitem-text newsitem-image";
    }
}

@media (max-width:1199px) {
    .mainnav-inner {
        position: relative;
        display: grid!important;
        grid-template-columns: 51px 51px 51px 51px 51px;
        grid-template-rows: 51px;
        gap: 0px 0px;
        grid-template-areas:
    "btn-szallas btn-vendeg btn-attrakcio btn-reg search-expand";
    }

    .btn-szallas { grid-area: btn-szallas; }
    .btn-vendeg { grid-area: btn-vendeg; }
    .btn-attrakcio { grid-area: btn-attrakcio; }
    .btn-reg { grid-area: btn-reg; }
    .search-expand { grid-area: search-expand; }
}



#main .block-default:last-of-type,
.newslist .block-default:last-of-type {
    margin-bottom: 0!important
}

.form-select {
    min-height: 48px;
    padding-left: 1.5rem;
    padding-right: 2.5rem;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23F04E69' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    border: 0;
    border-radius: 5px!important;
    max-width: fint-content;
    font-size: .875rem;
    box-shadow:  0px 8px 16px 0px rgba(219, 219, 219, 0.5)
}

label:not(.form-check-label) {
    font-family: 'SourceSans3-SemiBold';
}

.get-fixed {
    position: fixed;
    top: 139px;
    left: 0;
    width: 100%;
    z-index: 800;
    padding-top: 0!important;
    padding-bottom: 0!important
}

.form-select.border {
    box-shadow: none;
    max-width:100%
}

.btn-submit {
    background-image: url(../img/icon-send-white.svg); background-position-y: center; background-position-x: 1.25rem; background-repeat: no-repeat; background-size: 24px auto;
    padding-left: 3.25rem
}


.form-select.border,
.form-control {
    min-height: 56px;
}


.form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
    background-color: rgb(23, 71, 158);
}
.form-check-input.is-valid~.form-check-label, .was-validated .form-check-input:valid~.form-check-label {
    color: rgb(23, 71, 158);
}

.form-select.is-valid, .was-validated .form-select:valid {
    border-color: var(--bs-border-color);
    background-image: none
}

.form-control.is-valid, .was-validated .form-control:valid {
    border-color: var(--bs-border-color);
    background-image: none
}

@media(max-width:1199px) {
    body {
        padding-top: 149px
    }

    .get-fixed {
        position: fixed;
        top: 149px;
        left: 0;
        width: 100%;
        z-index: 800
    }

    .get-fixed #subnav {
        justify-content: flex-start !important;
    }
}

.btn-next {
    background-image: url(../img/icon-next-white.svg); background-position-y: center; background-position-x: calc(100% - 1.25rem); background-repeat: no-repeat; background-size: 8px auto;
    padding-right: 2.75rem
}

.btn-next.btn-outline-primary {
    background-image: url(../img/icon-next-color.svg); background-position-y: center; background-position-x: calc(100% - 1.25rem); background-repeat: no-repeat; background-size: 8px auto;
    padding-right: 2.75rem
}

.btn-next.btn-outline-primary:hover {
    background-image: url(../img/icon-next-white.svg); background-position-y: center; background-position-x: calc(100% - 1.25rem); background-repeat: no-repeat; background-size: 8px auto;
    padding-right: 2.75rem
}


.btn-prev.btn-outline-primary {
    background-image: url(../img/icon-prev-color.svg); background-position-y: center; background-position-x: 1.25rem; background-repeat: no-repeat; background-size: 8px auto;
    padding-left: 2.75rem
}

.btn-prev.btn-outline-primary:hover {
    background-image: url(../img/icon-prev-white.svg); background-position-y: center; background-position-x: 1.25rem; background-repeat: no-repeat; background-size: 8px auto;
    padding-left: 2.75rem
}


.btn-dl {
    background-image: url(../img/icon-download-white.svg); background-position-y: center; background-position-x: calc(100% - 1.25rem); background-repeat: no-repeat; background-size: 24px auto;
    padding-right: 3.25rem
}

.block:has(.block-nav) {
    padding-top:0!important
}

.btn-lang {
    display: none;
}

@media (min-width:1200px) {
    .btn-lang {
        display: flex;
        margin-right: 75px
    }

}

@media (min-width:1440px) {
    .btn-lang {
        display: flex;
        margin-right: 0
    }
}


.carousel-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    color: var(--bs-carousel-caption-color);
    text-align: left;
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,51,117,0.8) 100%);

}

.carousel-indicators {
    margin-bottom: -2.5rem;
}

.carousel-indicators [data-bs-target] {
    background-color: transparent;
    border: none;
    width: 25px;
    height: 25px;
    opacity: 1;
    text-indent: initial
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-indicators .active svg path{
    fill: #F04E69
}

.img-news {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (min-width:768px) {
    .carousel-img {
        aspect-ratio: 21 / 9;
        object-fit: cover;
    }

    .img-news {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .carousel-caption {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.btn-caroussel {
    min-width: 200px
}

@media (min-width:992px) {
    .news-card {
        height: 100%
    }
}

.hero {
    aspect-ratio: 4 / 3;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width:992px) {
    .hero {
        aspect-ratio: 21 / 9;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
}

.block-highlighted a {
    color: #fff!important
}

.block-highlighted p:last-of-type {
    margin-bottom: 0
}

.bg-note {
    background-image:
        url("../img/intro-deco.svg"),
        linear-gradient(
            to bottom,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0) 2rem,
            rgba(0, 51, 117) 2rem,
            rgba(0, 51, 117) 50%,
            rgba(0, 51, 117) calc(100% - 16rem),
            rgba(0,0,0,0) calc(100% - 16rem),
            rgba(0,0,0,0) 100%
        );
    background-position: calc(984px + (100% - 984px) / 2) 187px, left top;
    background-repeat: no-repeat, no-repeat;
    min-height: 595px;
    margin-top: -2rem;
    margin-bottom: -12rem;
}

.note-img {
    margin-left: -2rem;
}

@media (max-width:1199px) {
    .bg-note {
        background-image:
            url("../img/intro-deco.svg"),
            linear-gradient(
                to bottom,
                rgba(0,0,0,0) 0%,
                rgba(0,0,0,0) 2rem,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 50%,
                rgba(0, 51, 117) calc(100% - 16rem),
                rgba(0,0,0,0) calc(100% - 16rem),
                rgba(0,0,0,0) 100%
            );
        background-position: calc(784px + (100% - 784px) / 2) 187px, left top;
        background-repeat: no-repeat, no-repeat;
        min-height: 595px;
        margin-top: -2rem;
        margin-bottom: -12rem;
    }
}

@media (max-width:991px) {
    .bg-note {
        background-image:
            url("../img/intro-deco.svg"),
            linear-gradient(
                to bottom,
                rgba(0, 51, 117) 0%,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 50%,
                rgba(0, 51, 117) calc(100% - 78px),
                rgba(0,0,0,0) calc(100% - 78px),
                rgba(0,0,0,0) 100%
            );
        background-position: right calc(100% + 12vw), left top;
        background-size: 40vw, auto;
        background-repeat: no-repeat, no-repeat;
        padding-bottom:100px!important;
        margin-top: 0;
        margin-bottom: -6rem;
    }
}

@media (max-width:768px) {
    .bg-note {
        background-image:
            url("../img/intro-deco.svg"),
            linear-gradient(
                to bottom,
                rgba(0, 51, 117) 0%,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 50%,
                rgba(0, 51, 117) calc(100% - 78px),
                rgba(0,0,0,0) calc(100% - 78px),
                rgba(0,0,0,0) 100%
            );
        background-position: calc(100% - 3rem) calc(100% + 9vw), left top;
        background-size: 40vw, auto;
        background-repeat: no-repeat, no-repeat;
        padding-bottom:100px!important;
        margin-top: 0;
        margin-bottom: -6rem;
    }
}
@media (max-width:560px) {
    .bg-note {
        background-image:
            url("../img/intro-deco.svg"),
            linear-gradient(
                to bottom,
                rgba(0, 51, 117) 0%,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 50%,
                rgba(0, 51, 117) calc(100% - 78px),
                rgba(0,0,0,0) calc(100% - 78px),
                rgba(0,0,0,0) 100%
            );
        background-position:  calc(100% - 2rem) calc(100% + 6vw), left top;
        background-size: 40vw, auto;
        background-repeat: no-repeat, no-repeat;
        padding-bottom:100px!important;
        margin-top: 0;
        margin-bottom: -6rem;
    }
}
@media (max-width:420px) {
    .bg-note {
        background-image:
            url("../img/intro-deco.svg"),
            linear-gradient(
                to bottom,
                rgba(0, 51, 117) 0%,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 2rem,
                rgba(0, 51, 117) 50%,
                rgba(0, 51, 117) calc(100% - 78px),
                rgba(0,0,0,0) calc(100% - 78px),
                rgba(0,0,0,0) 100%
            );
        background-position:  calc(100% - 2rem) calc(100%), left top;
        background-size: 40vw, auto;
        background-repeat: no-repeat, no-repeat;
        padding-bottom:100px!important;
        margin-top: 0;
        margin-bottom: -5rem;
    }

    .note-img {
        margin-left: 0;
    }
}

#subnav.small {
    font-size: .8125rem
}

.block-nav {
    overflow: hidden;
}

#subnav {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: .25rem;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    cursor: grab;
    user-select: none;
}

@media (max-width:991px) {
    #subnav {
        justify-content: flex-start !important;
    }
}

#subnav::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

#subnav.dragging {
    cursor: grabbing;
}

#subnav .nav-item {
    flex: 0 0 auto;
}

#subnav .nav-link {
    white-space: nowrap;
    display: inline-block;
}

#subnav.subnav-hint {
    animation: subnavHint 1.4s ease-in-out 1;
}

@keyframes subnavHint {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-18px); }
    50%  { transform: translateX(0); }
    70%  { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}

.block[id] {
    scroll-margin-top: 400px;
}

@media (max-width: 991px) {
    .btn {
        --bs-btn-padding-y: 0.5rem;
        --bs-btn-padding-x: 1.25rem;
        --bs-btn-font-size: 1rem;
        --bs-btn-border-radius: 0.5rem;
        text-box-trim: trim-both;
        font-family: 'SourceSans3-Black';
        letter-spacing: 5%;
    }

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        --bs-gutter-x: 2rem
    }
}

.glow {
    border: 2px solid rgba(160, 194, 255, 1);
    box-shadow: 0px 0px 10px 0px rgba(219, 219, 219, 0.5);
}

.body-news {
    height: 100px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, white, transparent);
    mask-image: linear-gradient(to bottom, white, transparent);
}

.leadtext {
    height: 175px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, white, transparent);
    mask-image: linear-gradient(to bottom, white, transparent);
}

@media (max-width: 1200px) {
    .body-news {
        height: 210px;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to bottom, white, transparent);
        mask-image: linear-gradient(to bottom, white, transparent);
    }
}

.pt-small {
    padding-top: 4px!important
}



.block-elem.block-text h2,
.paragraph-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'SourceSans3-Bold';
    font-weight: normal;
    color: rgb(var(--bs-primary))
}

.block-elem.block-text h3,
.paragraph-block h3 {
    margin-bottom: 1rem;
    font-family: 'SourceSans3-Bold';
    font-weight: normal;
    color: rgb(var(--bs-primary))
}

.block-elem.block-text h4,
.paragraph-block h4 {
    margin-bottom: 1rem;
    font-family: 'SourceSans3-Bold';
    font-weight: normal;
    color: rgb(var(--bs-primary))
}

