/*=============================================
=            Pgorgress page from Akhilesh            =
=============================================*/
/* Tab Filters Styling */
.tab-filter-buttons {
    margin-top: 20px;
    display: inline-flex;
    gap: 30px;
}

.page-progress-page .content-block__image {
    right: 25px;
}

.page-progress-page .content-block .wrapper.left .content-block__image {
    left: 25px;
}

.page-progress-page .section.tabbed {
    padding: 10px 0;
}

div.asl_w .probox {
    border: 1px solid var(--green);
    /* 	border-radius: 6px !important; */
    height: 41px;
}

/*
IPLC Custom Post type single page CSS */
/* Ensures the page and content have a white background */
.iplc__container {
    display: flex;
    flex-wrap: wrap;
}

.iplc-post {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2%;
    flex: 0 0 50%;
    /*margin-bottom: 20px;*/
    margin-bottom: 0px;
}

.iplc-post .caption .con .event-thumbnail img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

a.btn.active {
    background-color: var(--dark-blue);
    color: var(--white);
}

.page-events-and-press .page-banner {
    padding-bottom: 0;
}

.customIPLCPost {}

.customIPLCPost .iplc-post {}

.customIPLCPost .iplc-post .caption {
    background: #fff;
    width: 100%;
}

.customIPLCPost .iplc-post .iplcHeader {
    padding: 10px 22px;
    position: relative;
    height: 132px;
    overflow: hidden;
    background: #182843;
}

.customIPLCPost .iplc-post .caption h3 {
    color: #fff;
    display: inline-grid;
    width: calc(100% - 40px);
    font-weight: 500;
    margin: 0;
}

.customIPLCPost .iplc-post .caption .con .event-thumbnail img {
    max-width: 100%;
    margin: 0;
    height: 200px;
    width: 100%;
}

.customIPLCPost .iplc-post .caption .con .event-thumbnail .readStoryBtn {
    position: absolute;
    right: 60px;
    font-size: 15px;
    /*bottom: 30px;*/
    bottom: 84px;
    background: #182843;
    color: #fff;
    border-radius: 5px;
    padding: 2px 10px;
}

.customIPLCPost .iplc-post .caption .con .event-thumbnail .readStoryBtn a {
    color: #fff;
}

.customIPLCPost .iplc-post .caption .con .event-thumbnail .readStoryBtn.readStoryBtn2 {
    background: #c2e564;
}

.customIPLCPost .iplc-post .caption .con .event-thumbnail .readStoryBtn.readStoryBtn2 a {
    color: #182843;
}

.customIPLCPost .iplc-post .iplcHeader span {
    display: inline-block;
    position: relative;
}

.customIPLCPost .iplc-post .iplcHeader span img {
    width: 30px;
    margin-top: 0 ! important;
}

.news__filters__date select {
    font-family: var(--buttonTextFontFamily);
    background-color: var(--green);
}

/******************/
.member-progress-title-progress-wrap {
    padding-top: 48px;
    margin-bottom: 40px;
}

.member-progress-title-progress-wrap .btn.btn-light {
    background: #182843;
    color: #fff;
    border: none;
    margin-bottom: 0;
}

.member-progress-title-progress-wrap .btn.btn-light-outline {
    background: transparent;
    border: 2px solid #182843;
    color: #182843;
    margin-bottom: 0;
}

.member-progress-title-progress-wrap .btn.btn-light-outline:hover,
.member-progress-title-progress-wrap .btn.btn-light-outline.active {
    background: #182843;
    color: #fff;
}

.hacFilteredPosts {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 0 ! important;
    padding-top: 50px;
    background: #f9fafc;
}

.hacFilteredPosts li {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.hacFilteredPosts li:before {
    content: none ! important;
}

.hacFilteredPosts li .wp-post-image {
    margin-top: 0 ! important;
    height: auto;
    max-width: 100% ! important;
    height: 200px;
}

.hacFilteredPosts li .listHeader {
    padding: 10px 22px;
    position: relative;
    height: 132px;
    overflow: hidden;
    background: #182843;
}

.hacFilteredPosts li .listHeader h3 {
    color: #fff;
    display: inline-grid;
    width: calc(100% - 40px);
    font-weight: 500;
    margin: 0;
}

.hacFilteredPosts li .listHeader span {
    display: inline-block;
    position: relative;
}

.hacFilteredPosts li .listHeader span img {
    width: 30px;
    margin-top: 0 ! important;
}

.hacFilteredPosts li .readStoryBtn2 {
    position: absolute;
    right: 60px;
    font-size: 15px;
    bottom: 30px;
    background: #c2e564;
    color: #fff;
    border-radius: 5px;
    padding: 2px 10px;
}

.hacFilteredPosts li .readStoryBtn2 a {
    color: #182843;
}

/****************/
.page-progress-page .section:nth-child(8) {
    background-color: #f9fafc;
    padding-top: 370px;
}

.page-progress-page .section:nth-child(6) {
    margin-bottom: -185px;
    z-index: 999999;
}

.page-progress-page .section:nth-child(7) {
    padding-bottom: 0;
    background: none;
    background-color: #fff;
    position: relative;
}

.page-progress-page .section:nth-child(7) .wrapper {
    position: relative;
    bottom: -336px;
}

#map-wrapper-progress-page {
    position: relative;
    height: auto;
    padding-bottom: 10px;
}

#map-wrapper-progress-page #map-container-progress-page svg {
    width: 100%;
    height: auto;
}

#map-wrapper-progress-page #map-content-progress-page {
    position: absolute;
    width: 100%;
    display: block;
    top: 0;
}

#map-wrapper-progress-page .map-item {
    position: absolute;
    background-color: var(--dark-blue);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#map-wrapper-progress-page .map-item span {
    color: #fff;
    font-size: var(--map-font-size-1);
    /* font-family: "Sen", sans-serif; */
    font-family: var(--buttonTextFontFamily);
}

/*=============================================
=            Regions position - Start            =
=============================================*/
#map-wrapper-progress-page #region-subsaharan-africa {
    top: 63%;
    left: 51%;
    height: 5rem;
    width: 5rem;
}

#map-wrapper-progress-page #region-north-america {
    top: 32%;
    left: 19%;
    height: 3rem;
    width: 3rem;
}

#map-wrapper-progress-page #region-latin-america-and-caribbean {
    top: 68%;
    left: 29%;
    height: 3rem;
    width: 3rem;
}

#map-wrapper-progress-page #region-europe {
    top: 27%;
    left: 52%;
    height: 3rem;
    width: 3rem;
}

#map-wrapper-progress-page #region-northern-africa-and-western-asia {
    top: 46%;
    left: 52%;
    height: 3rem;
    width: 3rem;
}

#map-wrapper-progress-page #region-oceania-and-pacific {
    top: 75%;
    left: 81%;
    height: 3rem;
    width: 3rem;
}

#map-wrapper-progress-page #region-sub-saharan-africa {
    top: 64%;
    left: 51%;
    height: 3rem;
    width: 3rem;
}

#map-wrapper-progress-page #region-eastern-and-southeastern-asia {
    top: 41%;
    left: 73%;
    height: 3rem;
    width: 3rem;
}

#map-wrapper-progress-page #region-central-and-southern-asia {
    top: 43%;
    left: 63%;
    height: 3rem;
    width: 3rem;
}

/*=====  End of Regions position - End  ======*/
#map-wrapper-progress-page .progress-map-bubble-item,
#map-wrapper-progress-page .progress-map-bubble-item span,
.region-item-map {
    transition: 350ms;
}

#map-wrapper-progress-page .progress-map-bubble-item:hover {
    background-color: #fff;
}

#map-wrapper-progress-page .progress-map-bubble-item:hover span {
    color: #182843;
}

.progress-map-area-section-wrap {
    background-color: #EDF6FB;
}

.progress-map-bubble-item {
    border: 2px solid #182843;
}

/* Load more btn */
.hac-load-more-btn {
    display: flex;
    align-items: center;
    background-color: #182843;
    color: #fff;
    border-width: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
    border-radius: 5px;
    padding: 6px 15px;
    transition: 350ms;
    font-family: var(--buttonTextFontFamily);
}

.hac-load-more-btn:hover {
    background-color: #c2e564;
    color: #182843;
}

.hac-load-more-btn img {
    max-width: 12px !important;
    margin-top: 0 !important;
    margin-left: 5px;
}

/* @media screen and (max-width: 800px) {
    #map-content-progress-page > div:not(#region-eurasia, #region-americas, #region-world) {
        display: none !important;
    }

    #region-eurasia,
    #region-americas {
        display: flex;
    }
} */
/*=============================================
=            Slider HAc - Progress - 08/01/2025 - Ion            =
=============================================*/
.hac-progress-slider-wrap {
    position: relative;
    overflow: hidden;
}

.hac-progress-slider-wrap .swiper-pagination {
    position: static;
    transform: none;
    margin-top: 30px;
}

.hac-progress-slider-wrap .swiper-slide {
    flex-direction: column;
}

.hac-progress-slider-wrap .progress-map-bubble-item {
    border-radius: 50%;
    width: 55px;
    height: 55px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 47%;
    cursor: pointer;
}

.hac-progress-slider-wrap .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hac-progress-slider-wrap {
    display: none;
}

/*=====  End of Slider HAc - Progress - 08/01/2025 - Ion  ======*/
/******************/
.news__filters__buttons a {
    width: auto;
    /* Make all links take full width of container */
    /* max-width: 200px; */
}

.member-progress-title-progress-wrap {
    display: flex;
    /* justify-content: center; */
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
}

/* .member-progress-title-progress-wrap .btn {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
} */
/* .hac-progress-slider-wrap {
    display: block;
} */
/* #map-wrapper-progress-page {
    display: none;
} */
.hac-progress-slider-wrap {
    display: none;
}

@media (max-width: 767px) {
    .iplc-post {
        flex: 0 0 100%;
    }

    .hacFilteredPosts li {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hacFilteredPosts li .listHeader h3 {
        font-size: 20px;
    }

    .news__filters__buttons {
        /* display: flex; */
        /* flex-direction: column; */
        /* Stack links vertically */
        align-items: center;
        /* Center the blocks horizontally */
        gap: 15px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .news__filters__buttons a {
        /* Make all links take full width of container */
        max-width: 100%;
    }

    #map-wrapper-progress-page {
        display: none;
    }

    .hac-progress-slider-wrap {
        display: block;
    }

    .member-progress-title-progress-wrap {
        align-items: center;
    }
}

@media (max-width: 500px) {
    .news__filters__buttons {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }

    .tab-filter-buttons{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 10px;
    }
}

.iplc-post .caption .con .event-thumbnail .readStoryBtn {
    bottom: 82px !important;
}

/*=====  End of Pgorgress page from Akhilesh  ======*/
/*=============================================
=            Progress page - new style 07/01/2025 - Ion            =
=============================================*/
/*  IPLC Section*/
.iplc-grid .iplc-grid-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.iplc-grid .iplc-grid-items .iplc-item .iplc-item-header {
    background-color: var(--dark-blue);
    display: flex;
    align-items: flex-start;
    color: #fff;
    padding: 30px;
    justify-content: space-between;
    flex: 1;
}

.iplc-grid .iplc-grid-items .iplc-item .iplc-item-header img {
    max-width: 50px;
    margin-top: 0;
    margin-left: 15px;
}

.iplc-grid .iplc-grid-items .iplc-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.iplc-item-image-wrap img {
    max-width: 100% !important;
    margin-top: 0 !important;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.iplc-item-image-wrap {
    height: 300px;
}

.iplc-item-btn {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 6px 15px;
    font-size: 1.125rem;
    font-weight: 400;
    border-radius: 5px;
    position: absolute;
    bottom: 30px;
    right: 30px;
    transition: 350ms;
    font-family: var(--buttonTextFontFamily);
}

.iplc-grid .iplc-grid-items .iplc-item:hover .iplc-item-btn {
    background-color: #c2e564;
    color: var(--dark-blue);
}

.iplc-wrap-page-content .wrapper > .plain-content__inner > h2 {
    font-size: 1.125rem;
    border: 2px solid var(--dark-blue);
    border-radius: 5px;
    padding: 7px 20px;
    position: relative;
    z-index: 2;
    text-align: center;
    white-space: nowrap;
    display: block;
    width: fit-content;
    cursor: pointer;
    background-color: var(--dark-blue);
    color: var(--white);
    line-height: 1.4;
}

.iplc-grid {
    margin-bottom: 20px;
}

@media only screen and (max-width: 870px) {
    .iplc-grid .iplc-grid-items {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*=====  End of Progress page - new style 07/01/2025 - Ion  ======*/