:root {
    --c360-green: #047940;
    --c360-blue: #1572a6;
    --c360-orange: #d47f35;
    --c360-purple: #94297e;
    --c360-link: #8e132f;
    --c360-darkgrey: #939597;
    --c360-grey: #979696;
    --c360-grey2: #9b9da0;
    --c360-lightgrey: #f5f5f6;
    --c360-fs-small: 0.875rem;
    --bs-body-font-family: Roboto, Arial, Helvetica, sans-serif;
}

.btn-info {
    --bs-btn-color: white;
    --bs-btn-border-color: var(--c360-link);
    --bs-btn-bg: var(--c360-link);
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: var(--bs-dark);
    --bs-btn-hover-border-color: var(--bs-dark);
}

.top-button {
    border: 1px solid var(--c360-link);
    display: inline-flex;
    text-align: center;
    background-color: transparent;
    color: black;
    border-radius: 0.5rem;
}

.top-button:hover {
    background-color: var(--c360-link);
    color: white;
}

.text-c360-link {
    color: var(--c360-link);
}

.bg-c360-link {
    background-color: var(--c360-link);
}

.text-c360-grey {
    color: var(--c360-grey);
}

.text-c360-darkgrey {
    color: var(--c360-darkgrey);
}

.bg-c360-grey {
    background-color: var(--c360-grey);
}

.bg-c360-lightgrey {
    background-color: var(--c360-lightgrey);
}

.fs-c360-08 {
    font-size: var(--c360-fs-small);
}

.fw-c360-xbold {
    font-weight: 900;
}

.text-c360-green,
.text-c360-magazine,
.text-c360-insights,
.text-c360-insight {
    color: var(--c360-green);
}

.bg-c360-green,
.bg-c360-magazine,
.bg-c360-insights,
.bg-c360-insight {
    background-color: var(--c360-green);
}

.text-c360-blue,
.text-c360-opportunities,
.text-c360-opportunity {
    color: var(--c360-blue);
}

.bg-c360-blue,
.bg-c360-opportunities,
.bg-c360-opportunity {
    background: var(--c360-blue);
}

.text-c360-orange,
.text-c360-news-events,
.text-c360-news,
.text-c360-event {
    color: var(--c360-orange);
}

.bg-c360-orange,
.bg-c360-news-events,
.bg-c360-news,
.bg-c360-event {
    background: var(--c360-orange);
}

.text-c360-purple,
.text-c360-resources,
.text-c360-resource {
    color: var(--c360-purple);
}

.bg-c360-purple,
.bg-c360-resources,
.bg-c360-resource {
    background-color: var(--c360-purple);
}

a {
    color: var(--c360-link);
    text-decoration: none;
}

a:hover {
    color: inherit;
}

.show-print {
    display: none
}

.btn-print {
    font-weight: 400;
    background: none;
    margin: 0;
    padding: 0;
    color: var(--c360-link);
}

.btn-print:hover {
    color: #b65d71;
    text-decoration: underline
}

/* NAVBAR */
.navbar-main {
    padding: 0;
    border-bottom: 1px solid var(--c360-grey);
    font-size: 1.5rem;
    font-weight: 900;
}

.navbar-main .nav-link {
    white-space: normal;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50px;
    height: 100%;
}


.navbar-nav .nav-item {
    text-transform: uppercase;
    border-bottom-width: 7px;
    border-bottom-style: solid;
    flex: 1 1 0;
    margin: 0 5px;
    min-width: 80px;
}

.nav-item .nav-link:hover {
    color: white !important;
    transition: all .3s ease-in-out
}

@media (min-width: 992px) {
    .navbar-main .nav-item.dropdown {
        position: relative;
    }
    .navbar-main .dropdown-menu {
        position: absolute !important;
        width: 100%;
        left: 0;
        top: 100%;
        display: none;
    }
    .navbar-main .dropdown-menu.show {
        display: block;
    }
}

/* Mobile Submenu: Natural flow, pushes items down */
@media (max-width: 991.98px) {
    .navbar-main .nav-item {
        flex: none;
        width: 100%;
        margin: 0;
    }
    .navbar-main .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100%;
        border: none;
        box-shadow: none;
    }
}

.navbar-main .dropdown-item {
    text-align: center;
    white-space: normal;
    padding: 0.5rem 0;
    line-height: 1;
}

.navbar-main .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* OUR WORK */
.nav-item.our-work:has(.nav-link:hover),
.nav-item.our-work:hover,
.nav-item.our-work.show {
    background-color: black;
}

/* INSIGHTS */
.nav-item.insights {
    border-bottom-color: var(--c360-green);
}

.nav-item.insights .nav-link {
    color: var(--c360-green);
}

.nav-item.insights.show .nav-link,
.nav-item.insights:hover .nav-link,
.nav-item.resources.show .nav-link,
.nav-item.resources:hover .nav-link,
.nav-item.news-events.show .nav-link,
.nav-item.news-events:hover .nav-link,
.nav-item.opportunities.show .nav-link,
.nav-item.opportunities:hover .nav-link,
.nav-item.our-work.show .nav-link,
.nav-item.our-work:hover .nav-link {
    color: white;
}

.nav-item.insights:has(.nav-link:hover),
.nav-item.insights:hover,
.nav-item.insights.show {
    background-color: var(--c360-green);
}

/* RESOURCES */
.nav-item.resources {
    border-bottom-color: var(--c360-purple);
}

.nav-item.resources .nav-link {
    color: var(--c360-purple);
}

.nav-item.resources:has(.nav-link:hover),
.nav-item.resources:hover,
.nav-item.resources.show {
    background-color: var(--c360-purple);
}

/* NEWS & EVENTS */
.nav-item.news-events {
    border-bottom-color: var(--c360-orange);
}

.nav-item.news-events .nav-link {
    color: var(--c360-orange);
}

.nav-item.news-events:has(.nav-link:hover),
.nav-item.news-events:hover,
.nav-item.news-events.show {
    background-color: var(--c360-orange);
}

/* OPPORTUNITIES */
.nav-item.opportunities {
    border-bottom-color: var(--c360-blue);
}

.nav-item.opportunities .nav-link {
    color: var(--c360-blue);
}

.nav-item.opportunities:has(.nav-link:hover),
.nav-item.opportunities:hover,
.nav-item.opportunities.show {
    background-color: var(--c360-blue);
}

/* HOMEPAGE CARDS */

.c360-card {
    --bs-card-border-width: 0;
    /* --bs-card-border-radius: 10px; */
    /* --bs-card-cap-bg: transparent; */
    --bs-card-spacer-x: 0;
    --bs-card-spacer-y: 0;
    --bs-card-cap-padding-x: 0;
    --bs-card-cap-padding-y: 0;
    /* --bs-card-height: 100%; */
    /* --bs-card-bg: var(--c360-lightgrey); */
    --bs-card-cap-bg: transparent;
    cursor: pointer;
}

.c360-card {
    border-width: 0;
}

.c360-card-opportunities div.liner, .c360-card-opportunity div.liner {
    background-color: var(--c360-blue);
}

.c360-card-resources div.liner, .c360-card-resource div.liner {
    background-color: var(--c360-purple);
}

.c360-card-news-events div.liner, .c360-card-news div.liner, .c360-card-event div.liner {
    background-color: var(--c360-orange);
}

.c360-card-magazine div.liner, .c360-card-insight div.liner {
    background-color: var(--c360-green);
}

p.item-header-border {
    margin: 0;
    text-transform: uppercase;
    font-size: var(--c360-fs-small);
    line-height: 1.2;
}

.c360-card h3.title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.c360-card div.liner {
    height: 3px;
    width: 33%;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.c360-card h3.title a {
    color: var(--bs-dark);
    text-decoration: none;
}

h1.page-item-title span {
    color: white;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

h1.page-item-title span {
    line-height: 1.4;
}


.c360-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* padding-bottom: 0.5rem; */
    border-radius: 20px;
}

.c360-card p.abstract {
    position: relative;
    height: 3.6rem;
    line-height: 1.2rem;
    font-size: 0.75rem;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.c360-card p.abstract:after {
    content: "";
    bottom: -0.6rem;
    right: 0;
    width: 60%;
    height: 1.8rem;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    position: absolute;
    text-align: right;
    color: var(--bs-secondary-color);
    font-size: 0.625rem;
    padding-top: 0.25rem;
    padding-right: 0.25rem;
}

.c360-card.with-abstract:hover .card-body p:not(.abstract) {
    display: none;
}

.c360-card.with-abstract:hover p.abstract {
    overflow: visible;
}

.c360-card.with-abstract:hover p.abstract:after {
    content: "more";
    background: transparent;
    bottom: -3.4rem;
}

.c360-card p.item-footer-category,
.c360-card p.item-footer-countries {
    line-height: 1.4;
    font-size: var(--c360-fs-small);
    text-transform: uppercase;
    margin: 0;
}

/* .c360-card p.item-footer-category {
    font-weight: 700;
} */

/* ASEF CULTURE */
.c360-card p.asef-culture {
    width: 17ch;
    line-height: 1.6rem;
    font-size: var(--c360-fs-small);
    text-transform: uppercase;
    background: var(--c360-link);
    color: white;
    text-align: center;
    padding: 0 0.5rem;
    border: 0;
}

.c360-card p.asef-culture a {
    color: white;
}

/* HIGHLIGHTS IN SEARCH RESULTS */
#search-results em {
    background-color: yellow;
}

/* STAR ASEF CULTURE */
/*
.c360-card p.asef-culture {
    width: 5rem;
    height: 5rem;
    background: var(--c360-link);
    color: white;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

p.asef-culture span {
    z-index: 2;
    display: inline-block;
}

.card-body p.asef-culture:before,
.card-body p.asef-culture:after {
    content: "";
    position: absolute;
    width: 5rem;
    height: 5rem;
    top: 0;
    left: 0;
    background: var(--c360-link);
}

.card-body p.asef-culture:before {
    transform: rotate(30deg);
}

.card-body p.asef-culture:after {
    transform: rotate(-30deg);
}
*/

#social-sharing-icons button {
    border: 0;
    margin: 0;
    padding: 0 0.25rem;
    font-size: 2rem;
    line-height: 2rem;
    background: transparent;
}

.pagination {
    --bs-pagination-padding-x: 1rem;
    --bs-pagination-padding-y: 0.5rem;
    --bs-pagination-font-size: 1.125rem;
    --bs-pagination-color: var(--c360-link);
    --bs-pagination-border-color: var(--c360-grey);
    --bs-pagination-border-radius: 0;
    --bs-pagination-hover-color: white;
    --bs-pagination-hover-border-color: var(--c360-grey);
    --bs-pagination-hover-bg: var(--c360-grey);
    --bs-pagination-active-bg: var(--bs-gray-900);
    --bs-pagination-active-border-color: var(--bs-gray-900);
}

.sidebar-left-menu h3 {
    font-weight: 900;
    font-size: 1.5rem;
}

.sidebar-left-menu h4 {
    font-size: 1.25rem;
    margin: 0.25rem 0;
}

.sidebar-left-menu a:hover {
    font-weight: 900;
    transition: 0.25s all ease-in-out;
}

div#sidebarFilters li,
div#sidebarFilters a {
    color: var(--c360-darkgrey);
}

div#sidebarFilters a:hover {
    color: var(--bs-dark);
}

.c360-collapse.collapsed {
    max-height: 10rem;
    overflow: hidden;
    position: relative;
}

.c360-collapse+.sidebar-filter-collapse {
    margin: 0;
    cursor: pointer;
    color: var(--c360-link);
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    bottom: 0.5rem;
    background: transparent;
}

/* .c360-collapse.collapsed+.sidebar-filter-collapse {
    background: linear-gradient(to top, rgba(245, 245, 245, 1), rgba(255, 255, 255, 0));
} */


.logo {
    width: auto;
    max-width: 100%;
    max-height: 120px;
    display: inline-block;
    margin: 0;
    padding: 0
}


.country-guide-banner {
    text-align: right;
    position: relative;
    color: white;
    background-color: var(--c360-purple);
    height: 14rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    text-transform: uppercase;
}

.country-guide-banner img {
    position: absolute;
    bottom: -4rem;
    left: 0.5rem;
    transform: rotate(20deg);
    height: 16rem;
}

.country-guide-banner a {
    background-color: white;
    color: var(--c360-purple);
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    font-size: 1.25rem;
}

.country-guide-banner a:hover {
    background-color: var(--bs-dark);
    color: white;
}

.country-banner {
    min-height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    font-optical-sizing: auto;
}

/* @media (min-width: 1200px) {
    .country-banner {
        min-height: 300px;
    }
} */

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-img.with-country {
    min-height: 200px;
    object-position: left center;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banner-content * {
    font-family: "Montserrat", sans-serif;
}

.btn-white {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 0;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
}

.modal-countries {
    --bs-modal-padding: 1rem;
    --bs-modal-header-padding: 1rem 0;
    font-size: --var(--c360-fs-small);
}

@media screen and (min-width: 992px) {
    .modal-countries {
        --bs-modal-padding: 2rem 20vh;
        --bs-modal-header-padding: 2rem 0;
    }

    .modal-countries .modal-body {
        font-size: 1.5rem;
    }
}

article blockquote {
    padding-left: 20px;
    padding-right: 8px;
    font-style: italic;
    border: solid #ccc;
    border-width: 0 0 0 5px
}

.edit-link {
    font-size: 1rem
}

.edit-link a {
    color: #000
}

.search-input {
    border-radius: 0;
    border: 0;
    border-bottom: 2px solid black;
    padding: 0;
    max-width: 100%
}

.search-input:focus-visible {
    background-color: var(--c360-lightgrey);
    border-bottom: 2px solid var(--c360-link);
}

.item-cover-img {
    width: 100%;
    margin-bottom: 2rem
}