:root {
    --bs-font-sans-serif: "Inter",Helvetica,sans-serif;        
    --inform-blue: #1E3754;    
    --inform-green: #3CAD48;    
    --inform-green-transparent: rgba(60, 173, 72, 0.8);
    --inform-colors-transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

img {
    max-width: 100%;
}

#MPOuterFooter {
    padding: 60px 15px;
    background-color: var(--inform-blue);
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    position: relative;
}

h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: 120%;
}

#MPOuterFooter::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 300px 225px 0;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, .2) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.navbar-nav {
    --bs-nav-link-color: var(--inform-blue);
    --bs-navbar-nav-link-padding-x: 15px;
    --bs-nav-link-font-size: 13px;
    --bs-nav-link-font-weight: 580;    
}

.navbar-icon .collapsing {
    display: none;
}

.navbar-icon .collapsing.show {
    height: auto !important;
}

.navbar-toggler {    
    border: none;
}

#MPOuterHeader {
    box-shadow: 0px 2px 8px rgba(131,135,145,.24);
}

.img-chevron {
    position: relative;
}

.img-chevron img {
    object-fit: cover;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.img-chevron::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: var(--inform-green-transparent);
}

.img-chevron-left {
    clip-path: polygon(0 0, 100% 0%, 80% 100%, 0 100%);
}

.img-chevron-right {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 20% 100%);
}

.img-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-center img {
    max-width: 100%;
    object-fit: contain;
}

strong {
    font-weight: 580;
}

.ais-Hits-list {
    display: grid;
    gap: 40px;        
    list-style-type: none;
    padding: 0;
    margin: 0;    
}

.ast-resource-search .ais-Hits-list {
    grid-template-columns: repeat(3, 1fr);
}

.ast-search-result {
    padding: 16px 22px;
    border-radius: 19px;
    box-shadow: 0px 4px 19px 0px #00000040;
    background-color: white;
    color: var(--inform-blue);
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--inform-colors-transition);
    width: 100%;
}

.ast-event-search .ast-search-result {
    padding-bottom: 8px;
}

.ast-search-result svg {
    color: var(--inform-green);
    width: 33px;
    height: 27px;
    transition: color 0.5s ease-in-out;
    margin-right: 12px;
}

.ast-result-meta {
    padding-top: 16px;
    font-size: 14px;
    border-top: 1px solid #dcdcdc;
}

.ast-result-meta svg {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.ast-result-meta span {
    display: inline-block;
    margin-right: 36px;
    margin-bottom: 8px;
}

.ast-result-meta span:last-child {
    margin-right: 0;
}

.ast-search-result.webinar {
    background-color: var(--inform-blue);
    color: white;
}

.ast-search-result:hover {
    background-color: var(--inform-green);
    color: var(--inform-blue);
}

.ast-search-result:hover svg {
    color: white;
}

.ast-search-result:hover .ast-result-meta {
    border-top-color: #22982F;
}

.ast-search-result.webinar .ast-result-meta {
    border-top-color: #274f7c;
}

.ast-resource-search .ast-search-result__main {
    padding: 16px 0;   
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ast-event-search .ast-search-result__main {
    padding: 40px 0;
    display: grid;
    gap: 12px;
}

.ast-search-result__title {
    font-size: 20px;
}

.ast-search-result__type,
.ast-result__location {
    display: flex;
    align-items: flex-end;    
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ast-search-result__type {
    margin-bottom: 14px;
}

.ast-search-controls {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
}

.ast-search-controls input,
.ast-search-controls select {
    min-width: 300px;
    padding: 6px 14px;
    border: 1px solid #88b8c7;
    font-size: 14px;
    flex-grow: 1;
}

.ast-search-controls label {
     font-size: 14px;
     font-weight: 700;
     margin-right: 24px;
}

.ast-input-group {
    display: flex;
    align-items: center;
}

.ais-Pagination-list {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin: 72px 0;
    flex-wrap: wrap;
    padding: 0;
}

.ais-Pagination-link {
    display: inline-flex;
    text-decoration: none;
    width: 38px;
    height: 38px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--inform-blue);
    transition: var(--inform-colors-transition);
    margin: 0 10px;    
}

.ais-Pagination-link:hover,
.ais-Pagination-item--selected .ais-Pagination-link
{
    background-color: var(--inform-blue);
    color: white;
}

.ast-result__description *:first-child {
    margin-top: 0;
}

.ast-result__description *:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .navbar-nav {
        border-top: 1px solid #e7e7e7;
        margin: 0.5rem -1.5rem 0 !important;
        padding: 0.5rem 1.5rem 0;
    }

    #MPOuterHeader .container {
        padding: 0 1.5rem;
        max-width: 100% !important;
    }

    .ast-resource-search .ais-Hits-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .ast-search-controls {
        flex-direction: column;
    }

    .ast-input-group {
        margin-bottom: 1rem;
    }

    .ast-search-controls label {
        min-width: 8.5rem;
    }

    .ast-search-controls input,
    .ast-search-controls select {
        min-width: auto;
    }
}

@media (max-width: 767px) {
    .ais-Hits-list {
        grid-template-columns: 1fr;
    }
}