@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* ==============================
   VARIABLES
============================== */
:root {
    --font-primary: "Nunito Sans", sans-serif;
    --color-primary: #17479e;
    --color-accent: #ff0000;
    --color-dark: #142440;
    --color-bg: #f1f1f1;
    --color-panel: #1e4388;
    --color-alert: #ed8367;
    --color-covid: #ea7575;
}

/* ==============================
   BASE STYLES
============================== */
body {
    font-family: var(--font-primary) !important;
    font-size: 16px;
    font-weight: 500 !important;
    background-color: var(--color-bg);
}

a {
    color: var(--color-primary);
}

    a:hover {
        color: var(--color-primary);
    }

/* ==============================
   IMAGES & MEDIA
============================== */
.diaporama .diaporama-slides img {
    min-height: 450px;
}

.diaporama .diaporama-slides .slider-text, .diaporama .diaporama-slides .slider-text p {
    font-size: 48px;
    font-weight: 800;
}

footer img {
    max-height: 50px;
}

#Diapo {
    height: 500px;
}

/* ==============================
   HEADER & NAVIGATION
============================== */
.navbar-header .navbar-brand:first-of-type img {
    -webkit-filter: none;
}

@media (max-width: 1024px) {
    .navbar-brand {
        padding-top: 8px;
    }
}

.new-header .brand-bar .content {
    height: 70px;
}

.new-header .menu-bar .container a {
    font-family: var(--font-primary) !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}

.new-header .menu-bar .container .content ul.nav.navbar-nav.left-nav > li a {
    padding: 0 12px;
}

/* ==============================
   SECONDARY NAVIGATION (COVID MENU)
============================== */
#second-nav .left-nav > li:nth-child(4) {
    background-color: var(--color-covid);
}

    #second-nav .left-nav > li:nth-child(4) > a {
        color: white;
    }

/* ==============================
   PANEL & PROCEDURE COLORS
============================== */
.panel-header .inner {
    background: var(--color-panel);
}

    .step-list-container .panel-header > .inner::before,
    .panel-header .inner::before {
        border-top: 8px solid var(--color-panel);
    }

/* ==============================
   HOMEPAGE PUSHES
============================== */
.homepage-pushes,
.homepage-push {
    height: 8rem;
    background-color: white;
}

.homepage-push {
    border-right: 1px solid var(--color-bg);
    padding: 1.5rem;
}

.homepage-pushes-content .homepage-push:first-of-type {
    border-left: 1px solid var(--color-bg);
}

.homepage-pushes-content .homepage-push.video:hover,
.homepage-push:hover {
    background-color: #fff;
    height: 180px !important;
    color: black;
    border-radius: 12px;
    box-shadow: 0 0 10px 2px #0000001a;
    z-index: 10000;
}

.homepage-push.video {
    position: relative;
    text-align: center;
}

    .homepage-push.video::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url(/PublicContent/images/circle-play-regular.svg) center center no-repeat;
        background-size: 6rem;
        opacity: 0.08;
        pointer-events: none;
    }

.homepage-push-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: none;
    color: black;
}

.homepage-push-description {
    font-weight: 400;
    color: black;
}

/* ==============================
   BUTTONS
============================== */
.transparent-bordered-button,
a.transparent-bordered-button {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 1.7rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .transparent-bordered-button:hover,
    a.transparent-bordered-button:hover {
        border: 2px solid var(--color-accent);
        color: #000;
        font-size: 1.7rem;
        font-weight: 700;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .transparent-bordered-button:hover,
    a.transparent-bordered-button:hover {
        border-color: #000;
        color: #000;
    }

/* ==============================
   FOOTER
============================== */
footer {
    background-color: var(--color-dark);
}

.links-footer-block-section {
    background: white;
}

.link-footer-item-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: none;
}

.link-footer-item.separator {
    padding-top: 24px;
    font-weight: 700;
    text-transform: none;
}

/* ==============================
   PARTNERS & EPING SECTION
============================== */
.partner-section {
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}

.eping-footer-block-image-container {
    width: 15%;
}

.eping-footer-block-image {
    width: 100%;
}

.eping-footer-block-text {
    width: 71%;
    padding-top: 0;
}

.eping-footer-block-button {
    width: 11%;
}

/* ==============================
   ACCORDION & MAIN LINKS
============================== */
.first-level-accordion > .accordion-container > .product-group-items > .product-group-item-title {
    color: var(--color-panel);
    font-weight: 600;
    background-color: transparent !important;
}

.main-link {
    font-weight: 500;
}

    .main-link a {
        color: #33333e;
        border-bottom: 1px dotted var(--color-panel);
        font-weight: 500;
    }

/* ==============================
   MISC
============================== */
.well {
    border-radius: 8px;
}

.announcement.announcement-urgent {
    background-color: var(--color-alert);
}

ul.left-nav > li ul.submenu-dropdown li a {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
}

.bigmenu .sub-menu.active .side-menu-link {
    font-size: 14px;
}

.search-criteria,
.criteria-separator {
    font-weight: 700;
}

.my-expand .expand-description a.btn-link {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 6px;
    font-weight: 600;
}

.objective-filter-container .form-inline .filter-selector {
    font-weight: 600;
}

.search-result-description {
    font-weight: 400;
}

    .search-result-description a,
    .no-expand a.normal-link {
        color: var(--color-primary);
    }

.repositories-menu .navigation a.selected span.title,
.related-products .search-badge,
.directory-thumb-list > .row > div .item .content div.shadow span,
.directory-pagination span.active,
.directory-pagination a.active,
.directory-pagination a:visited.active,
.directory-pagination span.next a,
.directory-pagination span.prev a {
    color: var(--color-primary);
}

.repositories-menu .navigation a.selected span.total,
.filters-tabs .filter-tab.active span.total {
    background: var(--color-primary);
}

.directory-plain-list .product-body .link {
    border: 1px solid var(--color-primary);
    padding: 4px 16px;
    border-radius: 8px;
}

.directory-plain-list .item .link-group a {
    color: var(--color-primary);
}

#menuTexts #mainMenu .page-title,
#ficheStep,
.box .sumTitle h2 {
    font-family: var(--font-primary) !important;
}

.breadcrumbs li,
.panel-header .inner .losSummary,
.panel-header .inner .resumeTitle,
.box .sumTitle h2 {
    font-weight: 700;
}

/* ==========================================================================
   Legacy parity (added by UNCTAD, 2026-10-11)
   The new platform loads a default theme (default-theme.css) before this file.
   The legacy site had no default theme. Each rule below puts back a value that
   was measured on infotradekenya.go.ke on 2026-10-11.
   ========================================================================== */

/* Home page tiles: no blue gradient, white on hover, the play sign stays. */
.homepage-pushes,
.homepage-push {
    background-image: none;
}
.homepage-push.push-link:hover {
    background: #fff;
}
.homepage-push.video.push-link:hover {
    background: #fff url("/assets/images/play-sign.png") center center / 5rem no-repeat;
}

/* The Disclaimer link in the menu footer. */
.disclaimer-color,
.nav > li > a.disclaimer-color {
    display: block;
}

/* Entries of the big menu: 14px, not 17px. */
.bigmenu .sub-menu span {
    font-size: 1.4rem;
}

/* Slider height, footer spacing, procedure page header. */
.diaporama {
    min-height: 440px;
}
footer {
    padding-top: 4rem;
}
footer img {
    margin-bottom: 0;
}
.panel-top > div:first-child {
    flex: 0 1 auto;
}

/* Footer on phones: text on the left, no extra space under each block. */
@media screen and (max-width: 640px) {
    #Footer {
        padding-bottom: 4rem;
    }
    #Footer div {
        margin-bottom: 0;
    }
    #Footer .content-section div {
        text-align: left;
    }
    #Footer .content-section .row > div.col-md-3,
    #Footer .content-section .row > div.col-md-4 {
        margin-bottom: 20px;
    }
}

/* The chat button (new on this platform) must not cover the footer of the open menu. */
.left-sidebar.o ~ div #anything-llm-embed-chat-button-container {
    display: none;
}
