.debug-plugins {
    position: fixed;
    z-index: 500;
    left: 0;
    padding: 8px 10px;
    top: 20vh;
    max-width: 80vw;
    max-height: 70vh;
    overflow: auto;
    background-color: #fff;
    color: #444;
    white-space: pre;
    font-size: 13px;
    line-height: 14px;
}

.debug-scripts {
    position: fixed;
    z-index: 500;
    right: 0;
    padding: 8px 10px;
    top: 20vh;
    max-width: 80vw;
    max-height: 70vh;
    overflow: auto;
    background-color: #fff;
    color: #444;
    white-space: pre;
    font-size: 13px;
    line-height: 14px;
}

.debug-generation {
    position: fixed;
    z-index: 500;
    padding: 10px;
    right: 0;
    bottom: 0;
    background: #fd0;
    color: #444;
    font-size: 13px;
    line-height: 14px;
}

.hdn {
    display: none !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.buttons-holder > a {
    min-width: 203px;
}

#header .blk_list_a .prt_btn_a svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1280px) {
    /* hiding primary buttons on mobile. on FE it was done only for special 'chat_btn' */
    #header .blk_list_a .prt_btn_a {
        display: none;
    }
}

.mobile-panel .bottom-buttons a.prt_btn_a svg {
    width: 18px;
    height: 16px;
    color: var(--var-clr-btn-icn-a);
}

/* hero homepage scroll button fix */
.blk_bg_video + div {
    z-index: 5;
}

.warning-msg {
    display: none;
    color: #ff0000;
    margin: 5px 0 15px 0;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
}

.nxl-loader-subscribe {
    border: 6px solid var(--var-clr-lbl-bg-rose);
    border-top-color: var(--var-clr-btn-bg-a);
    border-radius: 50%;
    animation: nxl-subscribe-spin 1s linear infinite;
    margin: 10px auto 0 auto;
    display: none;
    width: 24px;
    height: 24px;
    border-width: 3px;
}

@keyframes nxl-subscribe-spin {
    to {
        transform: rotate(360deg);
    }
}

#blog-listing-form {
    display: flex;
    flex-direction: column;
    gap: var(--tk-spc-36);
}

.nxl-loader-bl, .nxl-loader-hln, .nxl-loader-g {
    border-width: 3px;
    display: block;
    width: 60px;
    height: 60px;
    border: 6px solid var(--var-clr-lbl-bg-rose);
    border-top-color: var(--var-clr-btn-bg-a);
    border-radius: 50%;
    animation: nxl-subscribe-spin 1s linear infinite;
    margin: 0 auto;
    grid-column: 1 / -1;
    position: absolute;
    z-index: 10;
    left: calc(50% - 30px);
    top: 50px;
}

/* header dropdown linkedin container fixes */
.header-linkedin-iframe-container {
    max-height: 400px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.header-linkedin-iframe-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* header menu latest news prt_btn_d fix */
#header .mega-grid li a.nxl-header-latest-article::after {
    content: none;
}

#header .mega-grid li a.nxl-header-latest-article {
    gap: var(--tk-spc-12);
}

#header.homepage-header.no-site-banner {
    top: 42px;
}

#header.homepage-header.no-site-banner .mega-panel {
    top: 162px;
}

/* add loader to header latest news */
.latest-news-loader {
    display: block;
    position: relative;
    height: 100%;
}

.latest-news-loader .nxl-loader-hln,
.careers-results .nxl-loader-hln {
    top: calc(50% - 30px);
}

/* pushing button to the right */
.careers-results .card-meta .prt_btn_c {
    margin-left: auto;
}

/* fix linkedin iframe on contact page */
.nxl-linkedin-embed iframe {
    width: 100%;
}

/* fix form padding on contact page */
.nxl-blk_intro.align-left.blk_intro {
    margin-bottom: var(--tk-spc-28);
}

/* some color overlays overrids for testimonial_a (only 50% changed to 10%) */
.blk_card_testimonial_a.green .holder::after {
    background: radial-gradient(153.83% 141.42% at 100% 0%, rgba(3, 46, 21, 0.02) 10%, #032E15 100%);
}

.blk_card_testimonial_a.rose .holder::after {
    background: radial-gradient(153.83% 141.42% at 100% 0%, rgba(77, 2, 24, 0.02) 10%, #4D0218 100%)
}

.blk_card_testimonial_a.violet .holder::after {
    background: radial-gradient(153.83% 141.42% at 100% 0%, rgba(47, 13, 104, 0.02) 10%, #2F0D68 100%);
}

.blk_card_testimonial_a.blue .holder::after {
    background: radial-gradient(153.83% 141.42% at 100% 0%, rgba(2, 74, 112, 0.02) 10%, #024A70 100%);
}

.blk_card_testimonial_a.orange .holder::after {
    background: radial-gradient(153.83% 141.42% at 100% 0%, rgba(187, 77, 0, 0.02) 10%, #BB4D00 100%)
}

/* featured resource b module fixes */
.featured-resource-b-link:hover {
    text-decoration: unset;
}

.featured-resource-b-link {
    display: contents;
}

.mdl_hero_simple .hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--var-clr-txt-hdr-b);
}
@media (max-width: 1024px) {
    .mdl_hero_simple .hero-subtitle {
        font-size: clamp(1.6rem, 1.4181818182rem + 0.9090909091vw, 2rem);
    }
}

.filter-np-galleries {
    font-size: 2rem;
    color: var(--var-clr-txt-hdr-a);
    font-weight: 600;
    margin: 2rem 0;
}

/* by default no decoration */
.mdl_data_point_b:not(.with-deco)::after {
    display: none;
}

.gallery-bar-empty-gallery {
    top: 125px !important;
}

.gallery-bar-empty-gallery p {
    margin: 0;
    width: 100%;
    color: #ff0000;
    text-align: center;
    font-weight: 500;
    font-size: 1.2rem;
}

.program-listing-b-link {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
    margin: calc(var(--tk-spc-32) * -1) calc(var(--tk-spc-48) * -1);
}

.nxl-custom-button {
    width: auto !important;
    text-decoration: none !important;
}

/* blog subscribe form css fixes */
.nxl-subscribe-box .hsfc-Button {
    width: 100% !important;
}

.nxl-subscribe-box .hsfc-NavigationRow {
    margin-top: 0 !important;
}

.nxl-subscribe-box .hsfc-NavigationRow__Alerts {
    margin-bottom: 5px !important;
    font-size: 14px !important;
}

.nxl-subscribe-box [data-hsfc-id=Renderer] .hsfc-Row:has(.hsfc-ErrorAlert) {
    margin-bottom: 0 !important;
}

.nxl-subscribe-box .hsfc-ErrorAlert {
    font-size: 14px !important;
}

/* fixes smaller video not being full-width in the video_a module */
.prt_video_a video {
    width: 100%;
}

/* fixing autofocus issue */
#header .mega-grid li a:focus-visible:not(:hover) {
    color: var(--tk-clr-gray-600);
    border-bottom: 1px solid rgba(0,0,0,0);
}

#header .mega-grid li a:focus-visible:not(:hover)::after {
    opacity: 0;
    margin-left: 0;
}

/* add small margin bottom to title in Programs B module */
.mdl_programs_b .blk_card_f .c-title {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .mdl_programs_b .blk_card_f .c-title {
        margin-bottom: 5px;
    }
}

/* Safari fallback for data_point_a - static 50 text */
.video-text .static-50-text {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    font-size: 500px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    color: var(--tk-clr-gray-200, #e5e7eb);
    text-align: center;
    line-height: 0.85;
    user-select: none;
}

/* Safari-only: hide video, show static text */
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
    .video-text video,
    .video-text svg {
        display: none !important;
    }
    .video-text .static-50-text {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

[class*="theme_"].utl_bg_transparent {
    background-color: transparent !important;
}


@media(max-width: 1024px) {
    .mdl_cta_a, .mdl_stats_a {
        padding-bottom: var(--tk-spc-64) !important;
    }

    .mdl_cta_a .video-text,
    .mdl_cta_a .img-holder,
    .mdl_stats_a .img-holder {
        display: none;
    }
}

@media(max-width: 645px) {
    #gallery-bar-html {
        max-width: calc(100% - 50px);
        position: static;
        transform: translateX(0);
    }

    #galleryDropdownToggle {
        width: 100%;
    }

    #galleryDropdownToggle > span {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.mdl_career_grid {
    gap: var(--tk-spc-48);
}

.mdl_career_grid .blk_card_m {
    align-items: end;
}

@media (max-width: 1024px) {
    .mdl_hero_c .img-holder, .mdl_hero_c .x-shape {
        display: none;
    }
}

.mdl_card_listing_c .card-wrap-no-link .blk_card_k:hover .txt {
    transform: none;
}

.mdl_article_body figure.alignleft {
    width: auto;
    float: left;
    margin: 0 1.5em 1em 0;
    clear: left;
}

.mdl_article_body figure.alignright {
    width: auto;
    float: right;
    margin: 0 0 1em 1.5em;
    clear: right;
}

.mdl_article_body figure.aligncenter {
    width: auto;
    margin: var(--tk-spc-36) auto;
}

@media(max-width: 850px) {
    .mdl_article_body figure.alignleft,
    .mdl_article_body figure.alignright,
    .mdl_article_body figure.aligncenter {
        width: 100%;
        float: none;
    }
}

/* fixing company_a module on mobile */
@container (max-width: 1280px) {
    .mdl_our_company_a .listing {
        align-self: unset;
    }
}

.mdl_hero_e .place-container {
    opacity: 0.5;
}

/* fixing alignment for alert description */
.mdl_alert_a .blk_intro .b-des {
    margin: 0 auto;
}
