:root{
    --site-bg: #eef3f7;
    --card-radius: 18px;
    --header-h: 0px;
    --footer-h: 0px;
}

.bg-site { background: var(--site-bg); }

.card-soft { border-radius: var(--card-radius); }
.card-mini { border-radius: 14px; }

.divider {
    height: 1px;
    background: rgba(0,0,0,.08);
}

.brand-mark{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(13,110,253,.08);
    border: 1px solid rgba(13,110,253,.18);
}

.powered-pill{
    font-size: .9rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
}

.shell-icon{
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.file-thumb{
    height: 90px;
    border-radius: 14px;
    background: rgba(13,110,253,.06);
    border: 1px solid rgba(13,110,253,.10);
}

.tile{
    border-radius: 16px;
    transition: transform .1s ease, box-shadow .1s ease;
}
.tile:hover{
    transform: translateY(-1px);
}
.tile-active{
    outline: 2px solid rgba(13,110,253,.35);
}

.hero-illustration{
    width: min(420px, 100%);
    height: 220px;
    border-radius: 18px;
    background: rgba(0,0,0,.04);
    border: 1px dashed rgba(0,0,0,.15);
}

.welcome-bg{
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: #fff;
}

/* prevent content from being hidden behind sticky header/footer */
#siteMain{
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: calc(var(--footer-h) + 1rem);
}

/* footer: keep a compact single row on mobile */
#siteFooter .footer-row{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.status-type-icon,
.status-type-icon-reduced,
.participation-type-icon
{
    width: 100px;
    height: auto;
}

.status-type-icon-reduced
{
    max-height: 70px;
}

.participation-type-icon
{
    max-height: 42px;
}

.bg-primary-subtle {
    background: linear-gradient(180deg, #0053D9 0%, #cfd5ff 100%)!important;
}

.nav-link.active {
    color: #0053D9!important;
}

.btn.btn-primary {
    background-color: #0053D9;
    padding: 10px 15px;
}

.btn.btn-primary:hover {
    background-color: #0E205E;
}

#welcome-text p {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.social-link-image {
    transition: filter .2s ease;
}

.social-link.facebook:hover img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(94%) saturate(2044%) hue-rotate(203deg) brightness(97%) contrast(101%);
}

.social-link.instagram:hover img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(83%) saturate(2666%) hue-rotate(314deg) brightness(95%) contrast(96%);
}

.social-link.twitter:hover img {
    filter: brightness(0) saturate(100%) invert(0%);
}

.social-link.youtube:hover img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(96%) saturate(7424%) hue-rotate(357deg) brightness(98%) contrast(119%);
}

img.home-banner {
    max-width: 100%;
}

.btn-outline-secondary.active,
.btn-outline-secondary:hover {
    background: #0053D9!important;
    border-color: #0053D9!important;
}

a.tile.card:hover {
    border-color: #0053D9!important;
}

.navbar-brand img {
    width: auto;
    max-height: 60px;
}

.sharethis-inline-share-buttons > * {
    display: inline-block !important;
}

/* Only when navbar is collapsed (mobile) */
@media (max-width: 991.98px) {

    .navbar .brand-centered {
        position: absolute;
        z-index: 1030;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        background: #0053D9;

        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;

        padding: 70px 16px 20px;

        z-index: 1040;
        box-shadow: 0 10px 30px rgba(0,0,0,.15);
    }

    .navbar .mobile-menu .nav-link {
        color: #fff !important;
        padding: .6rem 1rem;
    }

    .navbar .mobile-menu .nav-link:hover,
    .navbar .mobile-menu .nav-link:focus {
        background: rgba(255,255,255,.12);
        color: #fff !important;
    }

    .navbar .mobile-menu .nav-link.active {
        font-weight: 600;
        background: rgba(255,255,255,.14);
        border-radius: 6px;
    }

    .navbar .mobile-toggler {
        position: relative;
        z-index: 1050;
    }

    .navbar-toggler {
        border: none;
    }

    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }

    .navbar-toggler.collapsed .navbar-toggler-icon {
        filter: none;
    }

    .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
        filter: invert(1);
    }

    .mobile-menu .lang-switch .btn {
        border-color: rgba(255,255,255,.7);
        color: #fff;
        background: transparent;
    }

    .mobile-menu .lang-switch .btn:hover {
        background: rgba(255,255,255,.15);
        border-color: #fff;
        color: #fff;
    }

    .mobile-menu .lang-switch .btn.active {
        background: #fff!important;
        color: #0053D9!important;
        border-color: #fff!important;
    }

}
