/*
Theme Name: Stucco Child Theme for D4I
Template: stucco
*/

/***********/
/* General */
/***********/
@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
}


@import url("https://use.typekit.net/avg5qmx.css");


@font-face {
    font-family: 'Source Sans Pro';
    src: url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Black.woff2') format('woff2'),
        url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-BlackIt.woff2') format('woff2'),
        url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-BlackIt.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Bold.woff2') format('woff2'),
        url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Regular.woff2') format('woff2'),
        url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Semibold.woff2') format('woff2'),
        url('https://www.data4impactproject.org/wp-content/themes/stucco-d4i/fonts/source-sans-pro/SourceSansPro-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


.entry-content a,
.entry-content a:link,
.entry-content a:visited,
.entry-content a:visited:hover,
.entry-content a:hover,
.entry-content a:active {
    color: #d44102;
}

/* body {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3em;
    line-height: 1.1em;
} */

body,
.right-column {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1em;
    line-height: 1.2em;
}

.left-column,
.featured-text {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5em;
    line-height: 1.2em;
}

.main-header {
    margin-bottom: 0;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600;
    font-style: normal;
    font-size: 2em;
    color: #264e59;
    line-height: 1.1em;
}

.tagline {
    color: #264e59;
}

.sub-header {
    margin-bottom: 8px;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600;
    font-style: normal;
    color: #264e59;
    font-size: 125%;
    margin-top: 2em;
}

/*******************/
/* Site navigation */
/*******************/

#site-navigation {
    background-color: #264e59;
}

/* Main menu */
#main-menu {
    background-color: #264e59 !important;
    margin-right: 14%;
}

@media (min-width: 961px) and (max-width: 1199px) {
    ul#menu-overall_menu {
        width: 100% !important;
        display: flex;
    }
}


ul#menu-overall_menu>li {
    /* width: 16.6667%; */
}

#menu-overall_menu>li:last-child>a {
    border-right: none;
}

.main-navigation ul ul li a {
    text-transform: capitalize;
}

.main-navigation ul ul {
    border: 1px solid #FFF;
    border-right: 0;
    top: 54px;
}

@media only screen and (max-width: 960px) {

    .main-navigation #main-menu {
        margin-right: unset;
    }

    /* Below Per Denise 7/17/23 */
    /* This helps reduce the width of the green menu bar on small screens */
    .header-menu-button {
        display: block;
        padding: 4px 18px;
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        cursor: pointer;
    }
}

/* Resources and Country sub menus are moved to the left to accomodate long text */
@media (min-width: 767px) {

    .main-navigation ul li:nth-child(6):hover ul {

        left: -350px;
    }
}

/* Our Work sub menus are moved to the left to accomodate long text */

@media (min-width: 961px) {

    /* Target the 3rd item's sub-menu (Generate Evidence) */
    .menu-item:nth-child(3):hover .sub-menu {
        /* Define the amount you want to shift the sub-menu vertically */
        margin-left: -200px;
        /* Adjust this value as needed */
    }

    /* Target the individual items of 3rd item's sub-menu (Generate Evidence) */
    .menu-item:nth-child(3) li:nth-child(1):hover .sub-menu,
    .menu-item:nth-child(3) li:nth-child(2):hover .sub-menu,
    .menu-item:nth-child(3) li:nth-child(5):hover .sub-menu {

        left: 510px;
        white-space: normal !important;
    }

    /* Below is added to wrap the long text in sub menu _ Liz */

    .menu-item:nth-child(3) ul ul a {

        white-space: normal !important;

    }
}

/* Link */
#menu-overall_menu .menu-item a {
    font-family: 'Source Sans Pro', sans-serif !important;
    background-color: #264e59;
    /* border-right: thin solid #fff; */
    font-weight: 400;
    position: relative;
}

/* Hardcode submenu indicator */
/* .menu-item-301>a::after,
.menu-item-306>a::after,
.menu-item-304>a::after {
    content: "\00a0\00a0>";
    color: white;
} */

.menu-item-16440>a::after,
.menu-item-16441>a::after,
.menu-item-16444>a::after {
    content: "\00a0\00a0>";
    color: white;
}

.main-navigation-inner {
    float: right;
    /* margin-right: -15%; */
}

@media screen and (max-width: 960px) {
    .main-navigation-inner {
        float: unset;
    }
}

/* 960px and above screen sizes */
@media (min-width:960px) {

    /* Link */
    #menu-overall_menu>.menu-item>a {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Menu item for current page */
.main-navigation a:hover,
.main-navigation li.current-menu-item>a,
.main-navigation li.current_page_item>a,
.main-navigation li.current-menu-parent>a,
.main-navigation li.current_page_parent>a,
.main-navigation li.current-menu-ancestor>a,
.main-navigation li.current_page_ancestor>a,
.main-navigation button {
    background: unset !important;
    /* color: #a5be37; */
    color: #c6d87d;
}

.main-navigation a {
    font-size: 16px !important;
    text-transform: unset !important;
}

/* Search bar */
.header-top .search-bar {
    position: relative;
    top: 37px;
    border-color: #cccccc;
}

/* .search-bar input[type="text"] {
    font-family: 'Source Sans Pro', sans-serif !important;
} */

#page #masthead .header-top .container .search-bar {
    border-width: 0.75px !important;
    border-radius: 10px;
    /* New Design - SSD */
}

/* Sticky Menu - SSD */
#masthead {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 999;
}

/* @media screen and (max-width: 600px) {
    #masthead {
        position: unset !important;
        top: unset;
        z-index: unset;
    }
} */

.main-navigation.border-bottom {
    /* border-bottom: 2px solid #FFFFFF; */
    border-bottom: unset !important;
}

/* New Design */
.search-bar {
    position: relative;
    border: 2px solid #971D0C;
    padding: 0.5em 0;
    background: #fff;
    margin-right: 5px !important;
}

.gt_container-446z3o .gt_switcher .gt_selected a {
    border: 1px solid #ccc;
    color: #666;
    padding: 3px 5px;
    width: 161px;
    border-radius: 10px !important;
}

/* Social Icons are placed beside search widget - SSD  */

.header-top .social {
    /* position: absolute; */
    /* top: 10px; */
    /* margin-left:-45rem; */
    position: relative;
    top: 37px;

    /*     border-color: #cccccc; */
}

.social a {
    /* margin-left:-8px!important;  */
}

input[type="submit"]:hover,
.social a:hover {
    background-color: unset !important;
}

@media (max-width: 991px) {
    .social {
        display: none;
    }
}

/**********/
/* Header */
/**********/

/* Logo */
img.custom-logo {
    width: 325px !important;
}

.logo-image {
    top: 1.35rem;
    position: relative;
}

#main .page-header h1 {
    display: none;
}

#main header {
    display: none;
}

/* Primary */
#primary {
    padding-top: 0px;
}

/***********/
/* Content */
/***********/
/* New Design to remove the top gap for banner image */
.content-page {
    padding: 0 0 !important;
    /* padding:20px 0; */
}


/* Removed below to remove to match the font color of ol tag with the body text - SSD 1.26.23 */
p,
li {
    /* 	color:rgba(0,0,0,1.0); */
}

.wp-block-columns .wp-block-column ul {
    margin-left: -25px;
}

strong.paragraph-header {
    color: #264e59;
}

.related-link a {
    color: #d44102 !important;
}

.related-content-separator {
    height: 3px;
}

.hentry .wp-block-columns .wp-block-column .left-column-border {
    border-width: 1px;
    border-style: solid;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;

}

.breadcrumbs {
    /* max-width: 1140px; */
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    padding-right: .9375rem !important;
    padding-left: 9rem !important;
    /* margin-bottom: 2rem; */
}

/* Below code to hide the breadcrumbs on Level-1 pages */
.page-id-15387 .breadcrumbs,
.page-id-14310 .breadcrumbs,
.page-id-42 .breadcrumbs,
.page-id-16418 .breadcrumbs,
.page-id-36 .breadcrumbs,
.page-id-34 .breadcrumbs,
.page-id-18031 .breadcrumbs {
    display: none !important;
}


@media (max-width: 767px) {
    .breadcrumbs {
        display: none !important;
    }

    .our-work-sub-heading h2 {
        margin-top: 10px !important;
    }
}

/* @media (min-width:768px) and (max-width: 1200px) {
    .breadcrumbs {
         padding-left: 11rem !important;
    }
} */


.breadcrumbs a {
    color: #737373 !important;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 0.85em;
}

.breadcrumbs span span {
    font-weight: 400;
}

/* Thumbnail for custom post */
.post-image-large {
    height: 200px !important;
}

/* CPC Publication */
article.cpc-publication {
    margin-left: -35px;
    margin-bottom: 0px !important;
    padding-top: 4px;
    padding-bottom: 0px;
}

.cpc-publication div.entry-content {
    font-size: x-large;
    font-weight: bold;
}

.cpc-publication div.entry-content>div {
    font-size: medium;
    font-weight: normal;
}

div.cpc_publication_title {
    margin-top: 16px;
    font-size: larger !important;
    line-height: 1.1;
}

div.cpc_publication_spacer {
    margin: 24px;
}

.cpc-publication a {
    color: #d44102 !important;
}

/* Removed below to remove to match the font color of ol tag with the body text - SSD 1.26.23 */
.cpc-publication li {
    /* 	color: #000000; */
}

.content-section-large {
    margin-top: 0px !important;
}

.wp-block-column>div.publication_sc_list_title {
    margin-bottom: 1rem;
}

.wp-block-column>p.publication_sc_list_author {
    display: none;
}

.wp-block-column>a.page-numbers,
.wp-block-column>span.page-numbers {
    display: inline;
}

.no-border tr td {
    padding-bottom: 8px;
    font-size: x-large;
    border-style: none !important;
}

/* CPC PRH */
article.cpc-prh label.formQuestion {
    margin-bottom: 0px !important;
}

article.cpc-prh #content-core a,
article.cpc-prh a,
article.cpc-prh #content u,
article.cpc-prh #content .internal-link {
    color: #d44102 !important;
}

article.cpc-prh .wp-block-table>table {
    /* Tiles */
    border-collapse: collapse;
}

article.cpc-prh .wp-block-table td {
    border: none;
}

.cpc-prh-tiles {
    margin: 15px;
    width: auto-flow;
    align-content: center;
}

.cpc-prh-tiles a {
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.cpc-prh-tile-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.cpc-prh-tile-column {
    display: flex;
    margin: 0px;
    flex-direction: column;
    flex: 1;
}

.hentry .cpc-prh-title {
    /* Hide extra PRH title */
    display: none;
}

button.prh_show_hide_button {
    color: white;
    background-color: #264e59 !important;
}

button.prh_show_hide_button:hover {
    color: white;
    background-color: #264e59 !important;
}

.prh_full_content {
    display: none;
}

/* Style in-content tables */
article.cpc-prh>entry-content>#content>div>table,
th,
td {
    padding-left: 2px;
    border: 1px solid black;
    border-color: rgba(0, 0, 0, 0.5);
}

/* Sidebar accordion */
.prh_accordion_0 {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-radius: .25rem;
}

.prh_accordion_1 {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-radius: .25rem;
}

h2.active:after,
h3.active:after {
    content: "\2212";
}

.active,
.prh_accordion_1:hover {
    background-color: #ccc;
}

.prh_accordion_1:after {
    content: '\002B';
    color: #d44102;
    font-weight: bold;
    float: right;
    margin: 0px 0px 0px 5px;
}

.prh_panel_1 {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
    border-radius: .25rem;
}

ol.prh_panel_1>li {
    padding: 4px 0px 4px 12px;
}

ol.prh_panel_1>li>a:before {
    content: '\25AA ';
    color: #d44102;
    padding-right: 4px;
}

.prh_accordion_2 {
    background-color: #EBE5CE;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-radius: .25rem;
}

.active,
.prh_accordion_2:hover {
    background-color: #ccc;
}

.prh_accordion_2:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin: 0px 0px 0px 5px;
}

.prh_panel_2 {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

ol.prh_panel_2>li {
    margin-left: 4px;
    padding: 4px 0px 4px 12px;
}

ol.prh_panel_2>li:before {
    content: '\25AA ';
    color: #d44102;
}

.widget_cpc_prh_overview_widget ol>li>a,
.widget_cpc_prh_overview_widget p>a {
    color: #d44102;
}

/* Export widget */
.widget_cpc_prh_data_export_widget button[type="submit"] {
    width: 100% !important;
    display: inline-block;
    color: #fff;
    background-color: #264e59;
    padding: .375rem 1rem;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 0px solid transparent;
    border-radius: .25rem;
}

.widget_cpc_prh_data_export_widget button[type="submit"]:hover {
    background-color: #d44102;
}

.widget_cpc_prh_data_export_widget button[type="submit"]>svg {
    margin-right: 8px;
}

/* Thumbnail for custom post */
.post-image-large {
    height: 200px !important;
}

.grass {
    color: #A7BF39;
}

.red {
    color: #D44102;
}

.teal {
    color: #69BC9E;
}

.blue {
    color: #3B5978;
}

.brown {
    color: #754A00;
}

.cpc-publication div.entry-content>img {
    margin: 24px;
    width: 30%;
    float: right;
    border: 2px solid black;
}

.cpc-publication>.post-image {
    margin-left: 24px !important;
    float: right !important;
    border: 2px solid #CCCCCC;
}

.search-stat {
    margin-bottom: 24px;
    padding: 12px 0px 8px 12px;
    text-align: left;
    color: #264e59;
    display: block;
    font-size: x-large;
    font-weight: 500;
    font-family: 'Source Sans Pro', sans-serif;
}

/* Regular cpc pub */
.search-results article.cpc-publication {
    margin-left: 0px !important;
}

/* tag based cpc pub page */
.archive article.cpc-publication {
    margin-left: -15px !important;
}

/*article.page {
	margin-left: -35px !important;
	margin-bottom: 0px !important;
	padding-top: 4px;
	padding-bottom: 0px;
}

.page div.entry-content {
	font-size: x-large;
	font-weight: bold;
}*/

.page>div.card-block>p {
    font-size: medium;
    font-weight: normal;
    color: black !important;
}

h4.card-title a {
    color: #d44102 !important;
}

.btn-readmore {
    display: none;
}



/**********/
/* Footer */
/**********/

/* contact info and social icons*/
footer a {
    color: #d44102 !important;
}

svg {
    vertical-align: middle;
}

footer a.intranet {
    color: rgba(0, 0, 0, 0.85) !important;
}

/* Footer top */
#colophon .footer-top {
    /* padding-left:54px; */
    background-color: #ffffff;
    border-top-style: solid;
    border-top-color: #264e59;
    border-top-width: 8px !important;
    padding-bottom: 0;
    padding-top: 40px;
}

#colophon .footer-top .col-md-6.col-sm-6.footer-column:first-child {
    padding-left: 0;
}

#colophon .footer-top .col-md-6.col-sm-6.footer-column:last-child {
    padding-right: 0;
}

.footer_logos {
    text-align: right;
}


.footer-top strong.contact-info {
    color: rgba(0, 0, 0, 0.50);
    line-height: 0.5em;
}

/* Footer bottom */
#colophon .footer-bottom {
    /* margin-left:28px; */
    /* padding-left:36px; */
    background-color: #ffffff;
    color: #000000;
    font-size: 80%;
}

/* "Theme by" */
.footer-bottom .site-info .theme-by {
    display: none;
}

/* Footer menu */
.footer-menu {
    width: 100%;
    float: left;
    margin: 0;
    padding: 20px 0 20px 0;
    text-align: center;
    border-top: 10px solid #476972;
}

.footer-menu ul {
    list-style: none;
    width: 650px;
    margin: 0 auto;
    padding: 0;
}

.footer-menu li {
    float: left;
}

.footer-menu li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
}

.footer-menu li:first-child a {}

.footer-menu li a:hover {
    color: #c00;
    background-color: #fff;
}

@media screen and (max-width: 600px) {
    .footer-menu li {
        max-width: 100%;
        padding: 0px 5px 0px 5px;
        float: none;
        text-align: center;
        display: block;
    }
}

/* Social menu */
.social-menu {
    width: 100%;
    float: left;
    margin: 0 0 1em 0;
    padding: 0 0 0 28px;
    border-bottom: 10px solid #476972;
}

.social-menu ul {
    list-style: none;
    width: 240px;
    margin: 0 auto;
    padding: 0 0 0 80px;
    float: left;
}

.social-menu li {
    float: left;
}

.social-menu li a {
    display: block;
    padding: 8px 2px;
    text-decoration: none;
    font-weight: bold;
}

.social-menu li:first-child a {}

.social-menu li a:hover {
    /* color: #c00; */
}

@media screen and (max-width: 600px) {
    .social-menu li {
        max-width: 100%;
        padding: 0px 5px 0px 5px;
        float: none;
        text-align: center;
        display: block;
    }
}

/* Footer contact info */
.footer-top .widget p {
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.85);
    ;
}

.textwidget p strong {
    /* color: #476972; */
    color: #264e59;

}

/* Footer USAID logo */
#media_image-3 {
    float: right;
}

.footer-top .widget .wp-image-9 {
    margin-top: -6px;

}

/* Footer D4I logo */
.footer-top .widget .wp-image-51 {
    margin-top: 27px;
}


/*****************/
/* Page specific */
/*****************/

/* "HOME" */

/* Full width image fix by Chien-Yi */
.home-banner {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw !important;
}

body.home .wp-block-columns {
    margin: auto;
    width: 66%;
}

body.home .more_links,
body.home .wp-block-image figcaption {
    padding-left: 12px;
    padding-right: 12px;
    color: #595959;
    text-align: left;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
}

body.home .more_links,
body.home .wp-block-image figcaption a {
    padding-left: 0px;
    padding-right: 0px;
    color: #595959;
    font-size: 1.5em;
    text-align: left;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
}

body.home .more_links,
body.home .wp-block-image figcaption span {
    color: #595959;
    font-size: 1.5em;
    text-align: left;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
}

figure.wp-block-image>a {
    font-size: 1.5em;
    text-align: left;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-style: normal;
}

p.featured-text {
    font-size: 2em !important;
}

.has-3-columns {
    width: 100% !important;
}

.has-3-columns .wp-block-column:not(:last-child) {
    margin-right: 2px;
}

.home-rectangle {
    /* margin-top:16px; */
    /* margin-bottom:0px !important; */
    /* margin-left:24px; */
    margin: 2em 1em 3em 1em;
}

.home_nav_box {
    padding: 2.5em 3em;
    display: block;
    height: 8em;
}

.home-circle {
    /* margin-left:0px !important; */
    /* margin-right:0px !important; */
    /* padding-left:30px; */
    /* padding-right:0px; */
    text-align: center;
}

figure.wp-block-image {
    position: relative;
}

div.overlay-left {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
    font-size: 2em;
    font-weight: bolder;
    background-color: transparent;
    line-height: 1.1;
    text-align: left;
}

div.overlay-middle {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
    font-size: 2em;
    font-weight: bolder;
    background-color: transparent;
    line-height: 1.1;
    text-align: left;
}

div.overlay-right {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
    font-size: 2em;
    font-weight: bolder;
    background-color: transparent;
    line-height: 1.1;
    text-align: left;
}

div.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

div.flex-container-text {
    position: relative;
    transform: translateX(20%) translateY(-700%);
    align-self: flex-end;
    color: white;
    font-size: 1.6em;
    font-weight: bolder;
    background-color:
        transparent;
    line-height: 1.1;
    text-align: justify;
}

/* "ABOUT US" */
div.about-us {
    margin: -16px;
    text-align: center;
}

.about-us .backdrop {
    min-width: 115px;
}

.about-us .name {
    position: relative;
    top: -150px;
    min-width: 90px;
    padding-left: 11px;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}

.about-us .qualification {
    position: relative;
    top: -148px;
    min-width: 90px;
    padding-left: 11px;
    font-size: 11px;
    color: #ffffff;
}

.about-us .job-title {
    position: relative;
    top: -130px;
    vertical-align: top;
    min-width: 90px;
    padding-left: 11px;
    color: #a7bf39;
    font-size: 11px;
}

/* Table Data */
.personnel-table tr td {
    border-style: none;

}

/* "OUR WORK" */
.our-work {
    margin-left: -8px;
}

.our-work .title {
    margin-right: 16px;
    padding-top: 1.1em;
    padding-bottom: 1.1em;
    color: #fff;
    min-width: 130px;
    min-height: 100px;
    font-size: 24px;
    text-align: center;
    line-height: 1em;
    vertical-align: middle;
}

.our-work .desc {
    margin-right: 16px;
    padding: 8px;
    min-width: 130px;
    min-height: 200px;
    font-size: 14px;
    vertical-align: top;
    color: rgba(0, 0, 0, 0.50);
    border-width: 1px;
    border-style: solid;
}

div.our-work-padding {
    padding: 4px;
}

.our-work-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 20px;
    margin: 0 0 1em 0;
}

.our-work-block {
    border: 1px solid black;
    margin-right: 0px;
    margin: 0;
    padding: 0;
    float: left;
    height: 225px;
}

.our-work-block .header {
    width: 100%;
    color: white;
    background-color: black;
    height: 100px;
    font-size: 24px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    padding: 0 1em 0 1em;
}


.our-work-block .header a,
.our-work-block .header a:link,
.our-work-block .header a:visited,
.our-work-block .header a:visited:hover,
.our-work-block .header a:hover,
.our-work-block .header a:active {
    color: white;
}

.our-work-block .content {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.3em;
    font-size: 90%;
    color: rgba(0, 0, 0, .5);
    padding: 1em;
}

.our-work-block.c1 {
    border-color: #264E59;
}

.our-work-block.c1 .header {
    background-color: #264E59;
}

.our-work-block.c2 {
    border-color: #A7BF39;
}

.our-work-block.c2 .header {
    background-color: #A7BF39;
}

.our-work-block.c3 {
    border-color: #D44102;
}

.our-work-block.c3 .header {
    background-color: #D44102;
}

.our-work-block.c4 {
    border-color: #69BC9E;
}

.our-work-block.c4 .header {
    background-color: #69BC9E;
}

.our-work-block.c5 {
    border-color: #1D456A;
}

.our-work-block.c5 .header {
    background-color: #1D456A;
}

.our-work-block.c6 {
    border-color: #754A00;
}

.our-work-block.c6 .header {
    background-color: #754A00;
}

/* "COUNTRIES" */
.page-id-42 .wp-block-column:nth-child(2n) {
    border: 1px solid #264e59;
    padding: 2em;
    margin-right: 4px;
}

figure.country>img {
    width: 4.5in !important;
}

/* "RESOURCES" */
.resources a img {
    padding: 8px;
    min-height: 110px;
    min-width: 110px;
}

.resources a figurecaption {
    color: #264e59;
    text-align: center;
}

.resources a figure {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: -33px;
}

@media only screen and (max-width: 1200px) {
    .about-us .backdrop {
        min-width: 100px;
    }

    .resources a img {
        min-width: 90px;
        min-height: 90px;
    }

}

@media only screen and (max-width: 1000px) {
    .about-us .backdrop {
        min-width: 90px;
    }

    .resources a img {
        min-width: 70px;
        min-height: 70px;
    }

    .home_nav_box {
        height: 12em;
    }

}

@media only screen and (max-width: 960px) {
    ul#menu-overall_menu>li {
        width: 100%;
    }
}



@media only screen and (max-width: 800px) {
    .footer_logos {
        text-align: left;
    }

    body.home .wp-block-columns {
        margin: auto;
        width: 100%;
    }

    .home_nav_box {
        height: inherit;
    }

}

@media only screen and (max-width: 600px) {
    .about-us .name {
        font-size: 24px;
    }

    .about-us .qualification {
        font-size: 24px;
    }

    .about-us .job-title {
        font-size: 24px;
    }

    .about_us_separator {
        margin-right: 16px !important;
    }

    div.overlay {
        top: 40%;
        font-size: 36px;
    }
}

/* Experiment */
.about_us {
    margin: 16px !important;
    padding: 0px !important;
}

.about_us_separator {
    margin-right: 32px !important;
    padding: 0px !important;
}

.about_us img {
    margin: 0px 4px 0px 0px;
    min-width: 115px;
    width: 50%;
    border-top: 1px solid #d44102;
    border-left: 1px solid #d44102;
    border-right: 1px solid #d44102;
}

.about_us .name {
    margin: 0px 4px 0px 0px;
    min-width: 115px;
    width: 50%;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    background: #002f3b;
    text-align: center;
    border-left: 1px solid #d44102;
    border-right: 1px solid #d44102;
}

.about_us .qualification {
    margin: 0px 4px 0px 0px;
    min-width: 115px;
    width: 50%;
    font-size: 11px;
    color: #ffffff;
    background: #002f3b;
    text-align: center;
    border-left: 1px solid #d44102;
    border-right: 1px solid #d44102;
}

.about_us .job-title {
    margin: 0px 4px 0px 0px;
    padding-top: 8px;
    min-width: 115px;
    min-height: 150px;
    width: 50%;
    color: #a7bf39;
    font-size: 11px;
    background: #002f3b;
    text-align: center;
    border-left: 1px solid #d44102;
    border-right: 1px solid #d44102;
    border-bottom: 1px solid #d44102;
}

div.about-us-padding {
    margin: 0px;
    padding: 0px;
    min-width: 0px;
}

.social_icon {
    height: 22px !important;
}

/********************************************************************/
/* This is done to redesign the OUR WORK page - SSD 5/25/22
/**************************************************************************/
/* minmax changed from 150 to 200px to match the contaner width of 1500 px new design */
.our-work-row-redesign {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* grid-template-columns: repeat(6, 1fr);*/
    grid-gap: 10px;
    margin: 0 1em 1em 0;
}

.our-work-block-redesign {
    border: 1px solid black;
    margin-right: 0px;
    margin-top: 1em;
    padding: 0;
    float: left;
    height: 350px;
}

.our-work-block-redesign .header {
    width: 100%;
    color: white;
    /*	background-color: black;*/
    height: 100px;
    font-size: 24px;

    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    padding: 0 1em 0 1em;
}


.our-work-block-redesign .header a,
.our-work-block-redesign .header a:link,
.our-work-block-redesign .header a:visited,
.our-work-block-redesign .header a:visited:hover,
.our-work-block-redesign .header a:hover,
.our-work-block-redesign .header a:active {
    color: white;
}

.our-work-block-redesign .content {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.3em;
    font-size: 90%;
    /*color: rgba(0,0,0,.5);*/
    padding: 1em;
    margin-top: 2.4em !important;

}

.our-work-block-redesign .my-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    height: 1em;
    font-size: 25px;
    color: #264e59;
    padding: 1em;
    /*letter-spacing:1px;*/
    line-height: 1em;
}


.our-work-block-redesign.c1-redesign {
    border-color: #fff;
}

.our-work-block-redesign.c1-redesign {
    background-color: #fff;
}

.card__img {
    width: 100px;
    height: 100px;
    /*  border-radius: 50%;
    border: 2px solid #996ed9;*/
    margin-right: 10px;
    align-self: center;


}

/***** Added below to reduce the image size to 50% for resources-nigeria page; Testing */
.wp-image-11295 {
    /*width: 15%!important;*/
}

/*************************************************SSD-11/28/22***********/
.testimonial-top {
    /*max-width: 1440px;*/

    padding-top: 20px;
    display: grid;
    grid-template-columns: 80% 20%;
    /*	grid-template-columns:repeat(auto-fill, 1, minmax(100px, 1fr),6 )*/
    /*grid-template-columns: repeat(auto-fill,minmax(150px,1fr));*/
    grid-gap: 20px;
    margin-right: 20px;

}

.info__img {
    width: 80%;
    height: auto;
    border-radius: 50%;
    /* border: 2px solid #996ed9;*/
    margin-right: 10px;
    margin-top: -20px;
    margin-bottom: 1.5em;
    align-self: top;
}

.info {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2em;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 15px;

}

/* for the callout box on the page https://www.data4impactproject.org/resources/news-blogs-videos/moldovas-first-data-review-room-in-stefan-voda/ on mobile version */
@media only screen and (max-width: 767px) {
    p.has-background {
        padding: 0 !important;
    }
}

@media only screen and (max-width: 850px) {
    .info {
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 1.3em;
        font-weight: 400;
        line-height: 1.1;
        margin-bottom: 15px;

    }
}

/* Added below to remove the extra space at the bottom of the ol in cpc publications post - SSD 1.26.23 */

.cpc-publication ol {
    margin-top: 0px !important;
    margin-bottom: -12px !important;
}


div#nigeriaRow {
    margin-left: 100px;
}

#nigeriaRow figurecaption {
    font-size: 20px;
}

/* Container for flexboxes */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Create three equal columns */
.column {
    flex: 33.33%;
    padding: 20px;
}


a.link-nigeria {
    color: #264e59 !important;
}

/* To remove the pagination for Nigeria pub on Naigeria page - SSD */
.nigeria-publication span.page-numbers.current,
.nigeria-publication a.page-numbers,
.nigeria-reports span.page-numbers.current,
.nigeria-reports a.page-numbers {
    display: none;
}




/* To remove the space between heading and actual resources, in Webinar and Reports sections since these are manually written - SSD */
.off-bottom-margin {
    margin-bottom: 0px !important;
}

/* To reduce the gap between two columns for Nigeria Landing page - SSD */
.wp-block-column.nigeria-column-width {
    flex-basis: 20% !important;
}

/* add left margin for time-line image on the Nigeria landing page - SSD */
.wp-block-image.img-timeline-nigeria {
    margin-left: 5rem;
}

/* On screens that are 992px wide or less, go from four columns to two columns */
/* @media screen and (max-width: 992px) {
  .column {
    flex: 50%;
  }
} */

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .row {
        flex-direction: column;
    }

    /*Timeline background color shades set vertical for mobile view */

    .timeline-color {
        background: linear-gradient(-180deg, #d4d4d4 37%, #e2e2e2 37%) !important;
    }

    /* Took off the left border from Reports column for mobile view */
    .nigeria-reports {
        border: none !important;
    }
}

.timeline-color {
    /* 	background: linear-gradient(
    to right,
    pink 0%,
    pink 50%,
    paleturquoise 50%,
    paleturquoise 100%
  ); */

    background: linear-gradient(90deg, #d4d4d4 23%, #e2e2e2 23%);
}

.timeline-column-1 {
    /*  	background-color:#AFAFAF!important;  */
    padding-left: 1rem;
}

/*
.full-bleed {
  background-color: #AFAFAF;
  clip-path: inset(0 50vmax); 
}
*/
.timeline-column-2,
.padding-country {
    /* 	background-color:#e2e2e2!important; */
    padding-left: 1rem;
}

/* Data table adjusted to display in form of the list on page resources-nigeria */

.dataTables_wrapper .dataTables_filter {
    float: left !important;
    text-align: left !important;

}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 0.2rem !important;

}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 8px 10px;
    border: none;
}

table.dataTable.no-footer {
    border-bottom: none !important;
}

div#DataTables_Table_0_info {
    display: none;
}

/* Custom CSS for adjusting search and filter positioning */
/* .dataTables_filter {
	display: flex;
	flex-direction: row;
	align-items: center;
} */

.dataTables_filter label {
    display: flex;
    align-items: baseline;
    margin-top: 1rem;
}

/* New Design for Home Page */

.header-top .gtranslate-position {
    /*position: absolute;
    top: 45px;
    float: right;
   margin-left:-11rem; */

    position: relative;
    top: 40px;
    float: right;

}

/* padding-top changed to 60 from 0 for new design-SSD. This is different from dev-dawalss settings */
.header-top {
    /* padding: 20px 0!important;  */
    padding-top: 0px !important;
    padding-bottom: 30px !important;
    background: #fff;
}

/* Denise's Design 7/17/23 */

@media screen and (max-width: 960px) {
    .header-top {
        /* padding: 20px 0!important;  */
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        background: #fff;
    }

    .logo-image {
        top: unset !important;
    }
}

@media only screen and (max-width: 780px) {
    .logo-image {
        margin-bottom: unset !important;
    }
}

/* ************* Search Bar and GTranslate for mobile and Desktop version */
.search-bar {

    width: 15% !important;

}

.gt_container-446z3o .gt_switcher {
    border-radius: 10px;
}

.mobile-secondary-menu {
    display: none;
}

@media screen and (max-width: 960px) {

    /* .main-navigation li.current-menu-item > a, .main-navigation li.current_page_item > a{
    background: #d44102 !important;
} */

    .gt_container-446z3o .gt_switcher {

        width: 220px !important;
        border-radius: 8px;

    }

    .gt_container-446z3o .gt_switcher .gt_selected a {
        width: 220px !important;
        border-radius: 8px;
    }

    .gt_container-446z3o .gt_switcher .gt_option {

        width: unset !important;

    }

    .gt_container-446z3o .gt_switcher a {
        text-decoration: none;
        /* display: block; */
        /* font-size: 12pt; */
        /* box-sizing: content-box; */
        font-family: 'Source Sans Pro';
        font-weight: normal;
        text-align: justify;
        text-transform: capitalize;
    }

    .secondary-menu {
        display: none;
    }

    .mobile-secondary-menu {
        display: grid;
        justify-content: center;
        margin-bottom: 1.1rem;
    }

    .search-bar {
        width: 100% !important;
        border-radius: 10px;
    }

}

/* Below removes name of the page from display */
/* span[property="name"] {
    display: none;
} */

/* Styles for page builder for home page */

.our-work-section {

    width: 100vw;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    position: relative;

}

/* **************** */
/* Below is the new design for Banner image on home page */

.banner-container {
    /* align-items: center; */
    background-position: right bottom;
    background-size: cover;
    /* background-position: center center;
    object-fit: cover; */
    /* color: #fff; */
    display: flex;
    /* min-height: 400px; */
    /* padding: 70px 15px; */
    padding-top: 270px;
    position: relative;
}


@media (max-width: 767px) {
    .banner-container {
        /* align-items: center; */

        background-position: left 60% bottom;
        padding-top: 200px;


    }


}

/* ****************************** */


/* .banner-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
} */

/* Babber Home page new design css ends */

@media (min-width: 320px) {

    .left-banner-image {
        width: 30%;
        float: left;
        left: 5px;
        position: relative;
        z-index: 9;
        top: 60px;
    }

    .left-image {
        /*left: 20px; /* Adjust the left positioning as needed */
        width: 15%;
        float: left;
        top: -40px;
        left: 15px;
        position: relative;
        z-index: 9;
    }

    .right-image {
        /* right: 200px; /* Adjust the right positioning as needed */
        width: 3%;
        float: right;
        top: -25px;
        right: 15px;
        position: relative;
        z-index: 9;
    }

    .banner-container .my-photo-credit {
        /* bottom: 20px; */
        /* left: 1800px; */
        /* float: right;
        top: -65px;
        right: 60px;
        position: relative; */

        bottom: 10px;
        left: auto;
        position: absolute;
        right: 10px;
        top: auto;
    }

    /* Below is in use when section has custom html for photo credit, assign .featured-work-photo-credit to the section conating image and custom HTML */

    .featured-work-photo-credit .my-photo-credit {

        float: right;
        top: -85px;
        right: 5px;
        position: relative;
    }


    .generate-evidence-photo-credit .my-photo-credit {

        float: left;
        top: -55px;
        left: 5px;
        position: relative;

    }



    .middle {
        opacity: 0;
        position: absolute;
        transition: .3s ease-in .3s;
        top: 47%;
        left: 64%;


    }


}


@media (min-width: 500px) {

    .left-banner-image {
        width: 20%;
        top: 45px;
    }

    .left-image {

        top: -40px;

    }

    .right-image {

        top: -25px;

    }

    .middle {

        top: 47%;
        left: 30%;

    }

}

@media (min-width: 800px) {


    .left-banner-image {
        width: 15%;
        top: 50px;
    }

    .left-image {

        top: -65px;

    }

    .right-image {

        top: -45px;

    }
}

@media (min-width: 1000px) {


    .left-banner-image {
        top: 80px;
    }
}

@media (min-width:1300px) {

    .left-banner-image {

        top: 100px;
    }

    .left-image {

        top: -145px;

    }

    .right-image {

        top: -65px;
        width: 2%;

    }

}

.photo-credit-trigger {
    background-color: #728c93;
    border-radius: 50%;
    height: 38px;
    opacity: .7;
    position: relative;
    transition: .3s ease-in .3s;
    width: 38px;
    /* z-index: 199!important; */
}


.photo-credit-trigger:before {
    /* speak: none; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    bottom: auto;
    /* content: ""; */
    content: "\e902";
    display: inline-block;
    font-family: icomoon !important;
    /* font-size: 15px;
    font-size: .9375rem; */
    font-size: 1.4rem;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    left: 50%;
    line-height: 1;
    position: absolute;
    right: auto;
    text-transform: none;
    top: 50%;
    transform: translate(-50%, -50%) translateY(-1px);
    z-index: 199 !important;

}

.my-text,
.generate-evidence-text {
    align-items: center;
    background-color: #264e59;
    border-radius: 38px;
    bottom: auto;
    display: flex;
    font-size: 12px;
    font-size: .75rem;
    height: 38px;
    left: 0;
    line-height: 1.91667;
    max-width: 80vw;
    opacity: 0;
    overflow: hidden;
    padding-left: 38px;
    position: absolute;
    right: auto;
    top: 0;
    transition: .3s ease-in;
    white-space: nowrap;
    width: 0;
}

.my-photo-credit:active .photo-credit-trigger,
.my-photo-credit:hover .photo-credit-trigger {
    opacity: 1;
    transition: .3s ease-out;
}

.my-photo-credit:active .my-text,
.my-photo-credit:hover .my-text {
    opacity: 1;
    /* padding-right: 15px; */
    transition: .3s ease-out .3s;
    width: auto;
    left: auto;
    right: 0;
    padding-left: 15px;
    padding-right: 38px;
}

.my-photo-credit:active .generate-evidence-text,
.my-photo-credit:hover .generate-evidence-text {
    opacity: 1;
    /* padding-right: 15px; */
    transition: .3s ease-out .3s;
    width: auto;
    left: 0;
    right: auto;
    padding-left: 40px;
    padding-right: 38px;
}


.my-photo-credit {
    color: #fff;
    cursor: pointer;
    z-index: 19 !important;
}

/* Our Mission Section */

.our-mission-background {

    background-color: #EEF1F2;
    background-size: cover;
    /* background-position: center center; */
    /* background-position: 100% 20%, left bottom; */
    background-repeat: no-repeat;

}

.our-mission-heading h1 {
    font-weight: 700 !important;
    font-family: 'Source Sans Pro', sans-serif !important;

}

.preview-text-ourmission {
    display: -webkit-box;
    /* -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden; */
    line-height: 1.6rem !important;
    font-size: 1.166rem !important;
    text-align: center;
    margin-left: 2em;
    margin-right: 2em;
    /* margin-top: 2em; */
    font-family: 'Source Sans Pro', sans-serif;

}

@media (min-width: 800px) {
    .preview-text-ourmission {
        display: -webkit-box;
        -webkit-line-clamp: 10;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 2.3rem !important;
        font-size: 1.5rem !important;
        text-align: center;
        margin-left: 2em;
        margin-right: 2em;
        /* margin-top: 2em; */
        font-family: 'Source Sans Pro', sans-serif;

    }
}


.content-ourwork {
    flex-grow: 1;
    overflow: hidden;
}

.section-our-mission {
    min-height: 15rem !important;
    /* Adjust the height as needed */
    display: flex !important;
    flex-direction: column;
    /* align-items: center;  */
    /* margin-top:-10rem; */
    /* margin-top: 2em; */
}

@media (min-width: 1600px) {
    .section-our-mission {
        margin-top: 2em;
    }
}

@media (min-width: 320px) {
    .top-margin-our-mission {
        margin-top: -15%;

    }
}

@media (min-width: 2100px) {
    .top-margin-our-mission {
        margin-top: unset;
        /* margin-bottom:3%; */
    }
}


.resources-background {
    background-color: #264e59;
    /* background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/10/Color-block-for-our-work-icons-with-stripes-without-bottom-border-.png'); */
    background-size: contain;
    /* background-position: center center; */
    /* background-position: 100% 20%, left bottom; */
    background-repeat: repeat;

}

@media (min-width: 767px) {

    .resources-background {
        background-color: #264e59;
        /* background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/10/Color-block-for-our-work-icons-with-stripes-without-bottom-border-.png'); */
        background-size: cover;
        /* background-position: top bottom;    */
        /* background-position: 100% 20%, left bottom;  */
        background-repeat: no-repeat;
        border-top: .5px solid #476269;

    }

}

/* Our Work Section */
/* https://www.data4impactproject.org/wp-content/uploads/2023/10/Color-block-for-our-work-icons-with-stripes.png 

https://www.data4impactproject.org/dwp-content/uploads/2023/06/Color-block-for-our-work-icons-with-stripes-1-1.png*/
.our-work-background {

    background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/06/Color-block-for-our-work-icons-with-stripes-1-1.png');
    background-size: contain;
    /* background-position: center center; */
    /* background-position: 100% 20%, left bottom; */
    background-repeat: repeat;

}

@media (min-width: 767px) {

    .our-work-background {
        background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/06/Color-block-for-our-work-icons-with-stripes-1-1.png');
        background-size: cover;
        /* background-position: center center; */
        /* background-position: 100% 20%, left bottom; */
        background-repeat: no-repeat;

    }

}

.home-our-work-background {

    background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/06/Color-block-for-our-work-icons-with-stripes-1-1.png');
    background-size: contain;
    /* background-position: center center; */
    /* background-position: 100% 20%, left bottom; */
    background-repeat: repeat;

}

@media (min-width: 767px) {

    .home-our-work-background {
        background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/06/Color-block-for-our-work-icons-with-stripes-1-1.png');
        background-size: cover;
        /* background-position: center center; */
        /* background-position: 100% 20%, left bottom; */
        background-repeat: no-repeat;

    }

}


.our-work-sub-heading h2 {

    font-weight: 600 !important;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem !important;
}

/* Our Work Section fixed Paragraph */

.preview-text-ourwork {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2rem;

}

p.text-our-work {
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #404040;
    font-size: 1rem;
}

p.read-more-text {
    font-family: 'Source Sans Pro', sans-serif !important;

    font-size: 1rem;
}

/* Denise's Design **************/
@media screen and (max-width: 600px) {
    p.text-our-work {
        text-align: center;
    }

    p.read-more-text {
        text-align: center;
    }

    .our-work-sub-heading h2 {
        text-align: center !important;
    }


}

/* ********************************** */
.section-ourwork {
    height: 12rem;
    /* Adjust the height as needed */
    display: flex !important;
    flex-direction: column;
    align-items: center;
    /* vertical-align: top; */
}

.top-margin {
    margin-top: 1rem;
}

.our-work-media .wp-block-kadence-column {

    flex-direction: unset !important;

}

.top-margin-ourwork {
    margin-top: -0.5rem;
}

.our-work-media .wp-block-media-text__content {
    padding-left: 1% !important;
    padding-right: 4% !important;
}

/* Denise'e  Design ******************/

@media screen and (max-width: 600px) {

    .our-work-media .wp-block-media-text__content {
        padding-left: unset !important;
        padding-right: unset !important;
    }

    .our-work-media img {
        width: 50% !important;
    }

    .wp-block-media-text .wp-block-media-text__media {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin: 0;
        width: 100%;
        margin-left: 25%;
        margin-right: auto;
    }

    .section-ourwork {
        max-height: 10rem;
        vertical-align: top;
        padding-top: unset;
    }

}

/* ****************************************************** */

/*D4I By the numbers Section */


.row-numbers .kt-row-column-wrap {
    display: grid;
    gap: var(--global-row-gutter-md, 3.5rem) var(--global-row-gutter-md, 3.5rem) !important;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    z-index: 1;
}

.by-the-numbers-font {
    font-family: 'Source Sans Pro', sans-serif !important;
    margin-right: 1rem;
}

.text-by-numbers-large {
    font-family: 'Source Sans Pro', sans-serif !important;
    /* color: #404040; */
    padding-top: 2.5rem;
    line-height: 1.5rem;
    margin-right: 2rem;
    /* padding-right: 2rem; */
}

.by-the-numbers-section {
    border-right: 1px solid #a7bf39;
    margin-left: -2.5rem;
    /* padding-right: 2rem; */
}

/* .by-the-numbers-large-section {
    border-right: 1px solid #a7bf39;
    margin-left: -3rem;
} */

@media (max-width: 1024px) {
    .by-the-numbers-section {
        border-bottom: 1px solid #A7BF39 !important;
        padding-bottom: 1rem;
        border-right: unset !important;
        margin-left: unset !important;
    }
}



.text-by-numbers-small {
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #404040;
    padding-top: 2rem;
    line-height: 1.5rem;
    margin-right: 1.2rem;
}

.green-bottom-line {
    border-bottom: unset !important;
    padding-bottom: unset;
    margin-left: -2rem;
}

@media (max-width: 1260px) {
    .green-bottom-line {
        border-bottom: 1px solid #A7BF39 !important;
        padding-bottom: 1rem;
        margin-left: unset !important;
    }
}

@media (min-width: 1025px) and (max-width: 1260px) {
    .row-numbers.kb-row-layout-id_84e6e0-25>.kt-row-column-wrap {
        padding-top: var(--global-kb-spacing-sm, 1.5rem);
        padding-bottom: var(--global-kb-spacing-sm, 1.5rem);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .by-the-numbers-section {
        border-bottom: 1px solid #A7BF39 !important;
        padding-bottom: 1rem;
        border-right: unset !important;
    }

    /* .green-bottom-line {
        border-bottom: 1px solid #A7BF39 !important;
        padding-bottom: 1rem;
        margin-left: -2rem;
    } */
}

/* @media (max-width: 1024px) {
    .kb-row-layout-id_84e6e0-25>.kt-row-column-wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
} */

/* Featured Work Section */
.featured-work-container {
    padding: 0 !important;
}

@media (min-width: 800px) {
    .featured-work-container {
        min-height: 20rem;
        overflow: hidden;
        align-items: center;
    }

}

@media only screen and (max-width: 767px) {

    /* Featured Work Containers Responsiveness */

    /* .featured-work-container {
        padding: 0 !important;
        flex-wrap: nowrap !important;

    } */

    .featured-work-section {
        padding: 1rem 4rem 5rem 2rem !important;
    }
}

.webinar-series-text {
    padding: 0px 16px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    /* margin-top: -1.2rem; */
    font-family: 'Source Sans Pro', sans-serif !important;
}

@media (min-width: 320px) {
    .webinar-series-top-margin {

        margin-top: -3.4rem !important;
        /* margin-top: -5rem !important; */

    }
}

.preview-text-notable {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3rem;
    font-family: 'Source Sans Pro', sans-serif !important;

}

/* Line height removed */
.featured-work-sub-heading h3 {
    font-family: 'Source Sans Pro', sans-serif !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* line-height: 1.2rem; */
    font-weight: 600 !important;
    margin-bottom: .5rem !important;
}

.featured-work-section {
    padding: 1rem 8rem 5rem 8rem !important;
}

/* New and Notable Section */

.new-notable-group-padding {
    padding-top: 2rem;
}

.new-and-notable-sub h3 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600 !important;
}

.new-and-notable-img {
    width: 60%;
}

.wp-block-media-text .wp-block-media-text__content {
    direction: ltr;
    grid-column: 2;
    grid-row: 1;
    padding: 0 4% !important;
    word-break: break-word;
}

@media (max-width: 1200px) {
    .new-and-notable-img {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .new-and-notable-img {
        width: 30% !important;
    }

    .new-and-notable-sub h3 {
        font-size: 1em !important;
        max-width: none;
    }

    .wp-block-media-text .wp-block-media-text__content {
        direction: ltr;
        grid-column: 2;
        grid-row: 1;
        padding: 0 6% !important;
        word-break: break-word;
    }
}

@media (min-width:768px) {

    .new-and-notable-top-margin {
        margin-top: -8rem;
    }

}

.wrapper {
    display: flex;
    gap: 1rem;

}

.left {
    width: 70%;
    font-size: 1.16rem;
}

.right {
    width: 30%;
}

/* .tag-post-image {
  display: block;
  max-width: auto;
  height: 100%;
  /* margin: 10px 0; */
/*} */


.latest-posts {
    display: flex;
    flex-wrap: wrap;
    /* padding-top:2rem; */
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1.16rem;
}

.latest-post {
    width: 100%;
    /* margin-bottom: 30px; */
    box-sizing: border-box;
}

/* New and Notable icon */
/* @media (min-width: 1200px){ */
.new-and-notable-img {
    width: 60%;
}

/* Where We Work Section */

.map-margin {
    margin-top: 2.5rem;
    /*margin-bottom: 2rem; */
}

.map-paragraph-bottom {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1.5rem;
}

/* Featured Work Group Box */

.featured-work-background {

    background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/06/Color-block-for-featured-work-with-stripes-1-1.png');
    background-size: contain;
    /* background-position: center center; */
    /* background-position: 100% 20%, left bottom; */
    background-repeat: repeat;

}

@media (min-width: 767px) {

    .featured-work-background {
        background-image: url('https://www.data4impactproject.org/wp-content/uploads/2023/06/Color-block-for-featured-work-with-stripes-1-1.png');
        background-size: cover;
        /* background-position: center center; */
        /* background-position: 100% 20%, left bottom; */
        background-repeat: no-repeat;

    }

}

.featured-work-box {
    /* min-height: 20rem;
    overflow: hidden;
    align-items: center; */
    height: 12rem;
    /* Adjust the height as needed */
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* This needs to be applied to the section below if Photo credit is added */
.webinar-first-column {
    padding: 0px 16px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    margin-top: -2rem;
    font-family: 'Source Sans Pro' !important;
}

/* New Footer Design */

.container-footer {

    display: flex;
    column-gap: 2rem;

}

.box-1 {
    width: 75%;
    /* padding-left:20rem; */
    /* background-color: yellow; */

}

.box-2 {
    width: 25%;
    /* padding-left:1rem; */
    /* background-color: #00ff7b; */

}

.container-footer .box-1 p,
.container-footer .box-2 p {
    font-family: 'Source Sans Pro', sans-serif;
    color: #262626;
}



/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 767px) {
    .container-footer {
        display: block;
    }

    .box-2 {
        width: 100%;
        box-sizing: border-box;
    }

    .box-1 {
        width: 100%;
        box-sizing: border-box;
    }

}

/* To hide "Powered by wordpress" in the footer  */
.footer-bottom {
    display: none !important;
}

/* on wordpress default posts a link color */
.content-single .entry-content a {
    color: #d44102 !important;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Black.woff2') format('woff2'),
        url('SourceSansPro-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-BlackIt.woff2') format('woff2'),
        url('SourceSansPro-BlackIt.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Bold.woff2') format('woff2'),
        url('SourceSansPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Regular.woff2') format('woff2'),
        url('SourceSansPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('SourceSansPro-Semibold.woff2') format('woff2'),
        url('SourceSansPro-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Parent OurWork Page */

.preview-text-parent-ourwork {
    display: -webkit-box;
    /* -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden; */
    line-height: 1.6rem !important;
    font-size: 1.166rem !important;
    color: #fff;
    text-align: center;
    margin-left: 2em;
    margin-right: 2em;
    /* margin-top: 2em; */
    font-family: 'Source Sans Pro', sans-serif;
}

@media (min-width: 800px) {
    .preview-text-parent-ourwork {
        /* display: -webkit-box; */
        -webkit-line-clamp: 4;
        line-height: 2.3rem !important;
        font-size: 1.5rem !important;

    }
}

/* Work with us page Css */


.new-work-with-us-banner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
}

.new-work-with-us-banner-image {
    width: 100%;
    height: auto;
}

.new-work-with-us-photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    /* background-color: rgba(255, 255, 255, 0.7); */
    padding: 5px 10px;
    font-size: 12px;
}

@media (min-width: 768px) {
    .new-work-with-us-banner-image.desktop {
        display: block;
    }

    .new-work-with-us-banner-image.mobile {
        display: none;
    }
}

/* Media query for mobile screens */
@media (max-width: 767px) {
    .new-work-with-us-banner-image.desktop {
        display: none;
    }

    .new-work-with-us-banner-image.mobile {
        display: block;
        /* width: 100vw;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important; */
    }
}

/* ************************************** */


.work-with-us-paragraph {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0px !important;
}

/* About Us page */

.about-us-secondary-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.75rem;
    color: #264e59;
    line-height: 1.8rem;
}

.title-secondary-page {
    font-size: 1.5rem;
    color: #264E59;
    font-weight: 600;
    margin-bottom: 15px;
}

.data-for-impact-paragraph {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4rem;
    line-height: 1.7rem;
    color: #262626;
    /* This is 85% black */
}

/* ********** */
/* Default styles for all screen sizes */
.content-container {

    margin-right: auto;
    margin-left: auto;
}

/* Responsive styles for screen widths up to 768px */
@media (max-width: 767px) {
    .content-container {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }

    .content-container br {
        display: none !important;
    }

    /* Below is added to keep the br on the list of cpc publications on publications page */
    .content-page br {
        display: block !important;
    }

}

/* Responsive styles for screen widths between 769px and 1200px */
@media (min-width: 768px) and (max-width: 1200px) {
    .content-container {
        padding-right: 7rem !important;
        padding-left: 7rem !important;
    }
}

/* Responsive styles for screen widths greater than 1200px */
@media (min-width: 1201px) {
    .content-container {
        padding-right: 8rem !important;
        padding-left: 8rem !important;
    }
}




/**************************  */

/* .content-container {
        padding-right: 8rem !important;
        padding-left: 8rem !important;
        margin-right: auto;
        margin-left: auto;
        
    }


@media (max-width:767px ){
    
    .content-container {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
        margin-right: auto;
        margin-left: auto;
    }

    .content-container br {
        display: none !important;
    }

    /* Below is added to keep the br on the list of cpc publications on publications page 
    .content-page br {
        display: block !important;
    }
} */

/* .single-cpc-publication  .single-pub-content-container {
        padding-right: unset !important;
        padding-left: 15rem !important;
        margin-right: auto;
        margin-left: auto;
        
    }

    @media (max-width:991px ){
    
   .single-cpc-publication .single-pub-content-container {
       
        padding-left: unset !important;
        
    }
} */

/* @media (min-width: 768px) and (max-width: 1200px) {
    .content-container-category {
        padding-right: 8rem !important;
        padding-left: 8rem !important;
        margin-right: auto;
        margin-left: auto;
    } */
/* @media (min-width: 768px) and (max-width: 1200px) {
    .content-container {
        padding-right: 8rem !important;
        padding-left: 8rem !important;
        margin-right: auto;
        margin-left: auto;
    } */




/* New Design The Data for Impact page */
@supports (grid-area: auto) {

    .main {
        display: grid;
        background-color: #EEF1F2;
        background-size: cover;
        /* background-position: center center; */
        /* background-position: 100% 20%, left bottom; */
        background-repeat: no-repeat;
        justify-content: center;
    }

    .team-cpc-card {
        width: 220px;
        /* width: calc(20% - 5px); */
        background-color: #A7BF39;
        /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
        /* border-radius: 8px; */
        text-align: center;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;

    }

    .team-cpc-heading {
        display: grid;
        text-align: center;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 1.3rem;
        color: #264E59;
        font-weight: 600;
    }

    @media screen and (min-width: 500px) {
        /* .team-cpc-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;

        } */

        /* .team-cpc-column {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
        } */

        .team-cpc-heading {
            /* display: grid;
                    text-align: left; */
            grid-column: span 2;


        }
    }

    @media screen and (min-width: 800px) {

        .team-cpc-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 40px;

        }

        .team-cpc-column {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            /* gap: 20px; */
            row-gap: 10px;
            column-gap: 20px;
        }

        .team-cpc-heading {
            /* display: grid; */
            font-size: 1.6rem;
            text-align: left;
            grid-column: span 2;
        }

    }

    @media screen and (min-width: 991px) {
        .team-cpc-column {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            row-gap: 0px;
            column-gap: 20px;
        }

        .team-cpc-heading {
            /* display: grid;
                text-align: left; */
            grid-column: span 4;
        }
    }

    .photo {
        width: 220px;
        /* width: calc(20% - 5px); */
        height: 260px;
        /* border-radius: 50%; */
        object-fit: cover;
        margin: 0 auto;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .photo-placeholder {
        background-color: #264e59;
        width: 220px;
        /* Adjust to your desired width */
        height: 260px;
        /* Adjust to your desired height */
        margin: 0 auto;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border: 1px solid black;
    }

    .divider {
        border: none;
        border-top: 10px solid #264e59;
        margin-top: 0.1px;
        width: 220px;
    }



    .name {
        font-size: 20px;
        color: #264e59;
        margin-bottom: 5px;
    }

    .designation {
        font-size: 16px;
        color: #264e59;
    }
}

/* **************************************** */

.data-for-impact-heading {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    /* line-height: 1.5rem; */
    color: #264E59;
    font-weight: bold;
    margin-bottom: 0px;
    /* This is 85% black */
}

/* ******************************* */

/* Generate Evidence Page */


.banner-secondary {
    /* width: 100vw; */
    height: 100vh;
    overflow: hidden;
    object-fit: cover;
    /* object-position: center center; */
}

@media screen and (max-width: 500px) {
    .banner-secondary {
        object-fit: cover;
        object-position: center;
    }
}


.preview-text-evidence {

    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7rem !important;
    font-size: 1.4rem !important;
    /* text-align: center; */
    /* margin-left: 3em;
    margin-right: 3em; */
    /* margin-top: 2em; */
    color: #404040;
    font-family: 'Source Sans Pro', sans-serif;

    max-width: 100%;

}

@media (max-width: 767px) {
    .preview-text-evidence {
        -webkit-line-clamp: unset !important;
        line-height: 1.3rem !important;
        font-size: 1.1rem !important;
        /* text-align: center; */
        /* margin-left: 3em;
        margin-right: 3em; */
        /* margin-top: 2em; */


    }
}

/* ***************************** */
/* Generate Evidence Banner Styles */
.new-banner-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
}

.new-banner-image {
    width: 100%;
    height: auto;
}

.new-photo-credit {
    position: absolute;
    bottom: 10px;
    left: 10px;
    /* background-color: rgba(255, 255, 255, 0.7); */
    padding: 5px 10px;
    font-size: 12px;
}

@media (min-width: 768px) {
    .new-banner-image.desktop {
        display: block;
    }

    .new-banner-image.mobile {
        display: none;
    }
}

/* Media query for mobile screens */
@media (max-width: 767px) {
    .new-banner-image.desktop {
        display: none;
    }

    .new-banner-image.mobile {
        display: block;
        width: 100vw;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 47.6%) !important;
    }
}

/* Related Resources Section on Generate Evidence */


.related-resources-image img {
    max-width: 100%;
    height: auto;
}



.related-resources-paragraph {
    width: 100%;
    margin: 0;
    grid-column: span 2;
    /* flex-grow: 1; */
    /* Spans across two columns */

    /* display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.3rem; */
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 1.16rem;
}

.related-resources-sub h3 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600 !important;
}

@media (max-width: 767px) {


    .related-resources-sub h3 {
        font-size: 1em !important;
        max-width: 100%;
    }

    .wp-block-media-text .wp-block-media-text__content {
        direction: ltr;
        grid-column: 2;
        grid-row: 1;
        padding: 0 6%;
        word-break: break-word;
    }
}

.related-resources-icon {
    width: 60%;
}

/* @media (max-width: 1200px) {
    .new-and-notable-img {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .new-and-notable-img {
        width: 30% !important;
    }

    .new-and-notable-sub h3 {
        font-size: 1em !important;
        max-width: none;
    }

    .wp-block-media-text .wp-block-media-text__content {
        direction: ltr;
        grid-column: 2;
        grid-row: 1;
        padding: 0 4% !important;
        word-break: break-word;
    }
} */


.preview-text-related-resources {

    display: -webkit-box;
    /* -webkit-line-clamp: 4; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3rem;
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #404040;
}

@media screen and (min-width: 1200px) {
    .preview-text-related-resources {
        -webkit-line-clamp: 6;

    }
}

/* ************************************* */

/* Strengthen Capacity -New Design */
@supports (grid-area: auto) {

    .grid-container {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr 1fr 1fr;
        /* grid-template-rows: repeat(2, 1fr); */
        grid-template-rows: auto;
        justify-items: center;
    }

    /* Center the 4th and 5th images in the middle of the second row */
    .center {
        /* grid-column: 1 / span 3;
        display: flex;
        justify-content: space-between; */
        gap: 1rem;

        grid-column: 1 / -1;
        /* Span all columns */
        display: flex;
        justify-content: center;
        /* Center the images */
        grid-row: 2;
        /* Place in the second row */
    }

    /* .key-pub-heading {
        display: grid;
        text-align: left;
        grid-column: span 3;
    } */


    .photo-pub {
        /* width: 300px;
        height: auto; */
        width: auto;
        height: 400px;
        /* border-radius: 50%; */
        object-fit: cover;
        margin: 0 auto;

        display: flex;
        align-items: center;
        justify-content: center;
        /* background-color: #f0f0f0; */
        /* padding: 20px; */
        /* font-size: 20px;
                text-align: center; */

    }

    /* Media query for mobile devices (max-width: 767px) */
    @media screen and (max-width: 767px) {
        .grid-container {
            grid-template-columns: 1fr;
            grid-template-rows: repeat(6, auto);
        }

        .center {
            grid-column: 1;
            display: block;
        }
    }


    @media screen and (min-width: 768px) and (max-width: 920px) {
        .photo-pub {
            /* width: 300px;
                height: auto; */
            width: auto;
            height: 250px;
        }

    }

    /* Media query for screens between mobile and large screens (max-width: 1023px) */
    @media screen and (min-width: 921px) and (max-width: 1200px) {
        .grid-container {
            /* grid-template-columns: repeat(3, 1fr);
            justify-items: center; */
            /* grid-template-columns: repeat(2, 1fr); */
            /* grid-template-rows: repeat(2, 1fr); */
        }

        .photo-pub {
            /* width: 300px;
                height: auto; */
            width: auto;
            height: 300px;
        }

        /* .center {
            grid-column: 1 / span 3;
            display: flex;
            justify-content: space-between;


        } */
    }

}

/* section#category-post .entry-meta a {
    color: black !important;
} */

/* ***************************** */

/* Learn Page */

/* Custom HTML css for video */
.my-video-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* padding: 20px; */
    /* border: 1px solid #ccc; 
    padding: 0px 20px 0px 20px;
    margin: 10px;*/
}

@media (max-width: 1024px) {
    .my-video-container {
        justify-content: center;
    }
}

.my-video-title {
    font-size: 1rem;
    margin-right: 20px;
}

.my-download-button {
    background-color: #d44102;
    color: #fff;
    border: none;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
}

a.my-download-button {
    color: white !important;
}

@media (max-width: 991px) {
    .wp-block-embed figcaption {
        margin-top: 0.5em;
        margin-bottom: 1em;
        margin-left: 30px;
        margin-right: 0px;
    }
}

@media (min-width: 992px) and (max-width: 1024px) {
    .wp-block-embed figcaption {
        margin-left: 150px;

    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .wp-block-embed figcaption {
        margin-left: 0px;

    }
}

@media (min-width: 1401px) {
    .wp-block-embed figcaption {
        margin-left: 30px;

    }
}

iframe {
    /* width: 100%; */
    height: 220px;
    /* Adjust the height as needed */
    border: none;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    iframe {
        height: 200px;
    }
}

/* Videos Page  */
iframe.videos-page {
    height: 360px;
}


/* Category-based Landing Pages */

.content-category-list {
    clear: both;
    padding: 0px;
    /* border-bottom: 1px solid transparent; */
    overflow: hidden;
    background: #fff;
    margin: 0px;
}

.content-category-list .post-image {
    margin: 0 30px 0px 0;
    float: left;
    position: relative;
    overflow: hidden;

}

.content-category-list .card-block {
    position: relative;
    overflow: hidden;
    margin-top: 0px;
    padding: 0;

}

/* .title-post-type {
    display: flex;
}

div.category,
span.post-type {
    margin-left: 10px;
    font-size: 1.5rem;
} */

.content-list h4.card-title,
.content-category-list h4.card-title {
    font-size: 1.5rem;
    margin: 0;
}

@media (max-width: 1200px) {
    .content-category-list h4.card-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.content-category-list .entry-meta {
    font-size: 14px;
    font-style: italic;
    /* margin-left: 10px; */

}

.content-category-list .card-text {
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2rem;
}

/* section#category-post .hentry {
    margin-bottom: 1rem;
} */



.content-category-list .post-image img:hover,
.home-latest .post-image img:hover {
    -webkit-transform: scale(1.25);
    -moz-transform: scale(1.25);
    -ms-transform: scale(1.25);
    -o-transform: scale(1.25);
    transform: scale(1.25);
}

.content-category-list .post-image img,
.home-latest .post-image img {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.custom-thumbnail-class {
    height: 120px;
    width: 250px;
    object-fit: cover;
}

@media screen and (max-width: 980px) {
    .content-category-list .post-image {
        width: 40%;
    }
}

@media screen and (max-width: 300px) {
    .content-category-list .post-image {
        width: 100%;
        text-align: center;
        float: none;
        margin: 0 0 20px 0;
    }
}


/* Default Post Settings on Search page */
article.post {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
    padding-top: 4px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    /* margin-left: -10px !important; */
}

/* Adjusted left margin for the tag based display page */
.archive section#category-post {
    margin-left: 1rem;
}

/* Resources Page - New Design */

.wp-block-media-text.alignwide.is-stacked-on-mobile.resources-media {
    margin-left: 40px;
}

@media screen and (max-width: 600px) {
    .resources-media img {
        width: 40% !important;
        margin-top: 1rem;
    }

    .wp-block-media-text.alignwide.is-stacked-on-mobile.resources-media {
        margin-left: 0px !important;
    }
}

.section-resources {
    height: 8rem;
    display: flex !important;
    flex-direction: column;
    /* align-items: center; */
    /* vertical-align: top; */
    /* padding-top: 20px; */
    justify-content: center;
}


p.text-resources {
    margin-left: 1.5rem;
    margin-bottom: 0px !important;

}

.heading-top-resources {
    margin-left: 1.5rem;
}

.preview-text-resources {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.preview-text-resources-oneline {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 600px) {

    .our-work-media .wp-block-media-text__content {
        padding-left: unset !important;
        padding-right: unset !important;
    }

    /* .resources-media img {
        width: 80% !important;
        margin-top: 2rem;
    } */

    .top-margin {
        margin-top: 0.5rem;
    }

    /* .wp-block-media-text .wp-block-media-text__media {
        grid-column: 1 !important;
        grid-row: 1 !important;
        margin: 0;
        width: 100%;
        margin-left: 25%;
        margin-right: auto;
    } */

    .resources-media>figure.wp-block-media-text__media {
        margin-left: 30% !important;
        margin-right: 15% !important;
    }

    .section-resources {

        height: unset !important;
        justify-content: start !important;
        margin-bottom: 15px;
        margin-top: 10px;
    }

    p.text-resources {
        margin-left: unset !important;
    }

    .heading-top-resources {
        margin-left: unset !important;
    }

}


/* Media query for small screens */
@media (max-width: 791px) {

    /* Reduce the font size for the specific element- FPR element we want */
    .adjust-font-size h2 {
        font-size: 1.2rem !important;
        /* Adjust to your desired smaller font size */
    }
}


/* Search Widget on search.php styles */

/* @media (min-width: 768px){
.col-md-4 {
    width: unset !important;
}
} */

/* *************Countries********* */


/* ********************* */

.grid-item {
    font-weight: bold;
    margin: 10px;
}

/* Default styles for the table */
.countries-table {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.main-container-table {
    flex-direction: row;
    display: flex;
    gap: 30px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .main-container-table {
        gap: 10px !important;
    }
}

.main-col2 {
    gap: 25px;
}

.column {
    flex: 1;
    /* Add any other styling you want for the columns here */
    flex-direction: column;
    display: flex;
}

.main-col1,
.main-col2 {
    flex-direction: row;
    display: flex;

}

/* Media query for small screens */
@media (max-width: 768px) {
    /* Change the flex-direction to stack columns on top of each other */

    .main-col1,
    .main-col2 {
        flex-direction: column;
    }

}

/* ********************** */

/* section.my-all-columns{
-webkit-column-count: 4;
   
}

@media (max-width: 767px ){
    .my-all-columns{
        column-count: 2;
    }
}

@media (min-width: 768px ) and (max-width: 991px) {
    section.my-all-columns{

    column-width: 100px;
    column-gap: 20px;
    margin:20px;
}
}

@media (min-width: 992px ){
     section.my-all-columns{
        -webkit-column-count: 4;
     column-width: 200px;
    column-gap: 20px;
    
     }
}

.my-column-one,
.my-column-two,
.my-column-three,
.my-column-four{
    break-inside: avoid;
} */

/* side bar on single publication page */
/* Below is to tackle single publication page for search bar and text */
@media (min-width: 768px) {

    .col-md-8,
    .col-md-4 {
        width: 100% !important;
    }
}

@media (min-width: 991px) {
    .col-md-8 {
        width: 66.66% !important;
    }

    .col-md-4 {
        width: 33.33% !important;
    }
}

/* .site-content .sidebar {
    padding-right: 9.5rem !important;
} */
@media (min-width: 768px) and (max-width: 991px) {
    .wp-block-column.publications-search-col.is-layout-flow {
        flex-basis: 50% !important;
    }
}

/* For new Publication Search page with Datatable */
div#test-custom-publications-table_filter>label,
div#test-custom-publications-table_length>label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

div#test-custom-publications-table_length>label>select {
    margin: 8px;
}

.hidden_table_header,
.hidden_table_cell {
    display: none;
}

.page-id-16700 .dataTables_wrapper .dataTables_filter,
.page-id-17277 .dataTables_wrapper .dataTables_filter {
    float: right !important;
    text-align: left !important;

}

#test-custom-publications-table_filter.dataTables_filter label {
    margin-top: unset !important;
}

/* Adjusted to remove borders from upper thead - SSD  */
table.dataTable,
table.dataTable th,
table.dataTable td {
    box-sizing: content-box;
    border-top: 1px solid #8080802b;
    border-left: none;
    border-right: none;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #8080802b !important;
}

#input.form-control {
    font-weight: 500 !important;
}

div#test-custom-publications-table_wrapper {
    overflow-x: scroll;
}



@media screen and (max-width: 640px) {

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: left !important;
        text-align: center;
    }

    #test-custom-publications-table_filter.dataTables_filter label {
        margin-top: -8px !important;
        padding-left: 15px !important;
    }

    .page-id-16700 .dataTables_wrapper .dataTables_filter,
    .page-id-17277 .dataTables_wrapper .dataTables_filter {
        float: unset !important;

    }

}

/* ************************************************ */

/* End Datatable css */

/* Countries Pages - Bangladesh */

.title-countries {
    font-size: 1.5rem;
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #264E59;
    font-weight: bold;
    margin-bottom: 10px;
}

.link-countries {
    font-size: .8331rem;
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #ab3b03;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* .kb-row-layout-wrap.kb-row-layout-id17415_994329-c2.alignnone.countries-activity-layout.wp-block-kadence-rowlayout.kb-row-layout-id17415_994329-c2>.kt-row-column-wrap {

    grid-template-columns: minmax(0, 35%) minmax(0, 60%);
} */

/* ***************************** */
.country-container {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;

    /* Ensure the container takes the full height of the viewport */
}

.activity-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    /* margin: 20px;
    border: 1px solid #ccc;
    padding: 20px; */
    margin-top: 80px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 60%;
    /* Set a maximum width for the card */
    width: 100%;
    /* Take the full width of the container */

}

.activity-card img {
    width: 100%;
    height: auto;
    max-height: 95%;
    /* height: 300px; */
    /* max-width: 400px; */
    /* Adjust the fixed size of the image */
    border-radius: 10px;
    /* object-fit: cover;
    object-position: right top; */

}

.activity-photo-credit {
    position: absolute;
    /* bottom: 10px; */
    /* left: 10px; */
    /* background-color: rgba(255, 255, 255, 0.7); */
    padding: 25px 20px;
    font-size: 12px;
}

.horizontal-line {
    border-top: 1px solid #a7bf39;
    margin-bottom: 10px;
}

.text-column {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 2rem;
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #264E59;
    font-weight: normal;
    line-height: 2.3rem;
    margin-bottom: 10px;
    margin-left: 20px;
}

.description {
    display: -webkit-box;
    /* -webkit-line-clamp: 5; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7rem;
    font-size: 1.4rem !important;
    color: #404040;
    font-family: 'Source Sans Pro', sans-serif;
    max-width: 100%;
    margin-left: 20px;
}

.countries-read-more {
    margin-left: 20px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .activity-card {
        grid-template-columns: 1fr;
    }

    .text-column {
        margin-top: 10px;
    }

    .activity-card img {
        /* max-width: 100%; */
        /* Make the image responsive within a single column layout */
        /* height: auto; */
    }

    .title {
        font-size: 1.2rem;
        /* -webkit-line-clamp: 4; */
        line-height: 1.5rem;
    }

    .description {
        /* -webkit-line-clamp: 5; */
        line-height: 1.5rem;
        font-size: 1.2rem !important;

    }
}

@media (min-width: 601px) and (max-width: 829px) {
    .title {
        font-size: 1rem;
        /* -webkit-line-clamp: 4; */
        line-height: 1.25rem;
    }

    .description {
        /* -webkit-line-clamp: 5; */
        line-height: 1.25rem;
        font-size: 1rem !important;

    }
}

@media (min-width: 830px) and (max-width: 1200px) {
    .title {
        font-size: 1.3rem;
        /* -webkit-line-clamp: 3; */
        line-height: 1.45rem;
    }

    .description {
        /* -webkit-line-clamp: 5; */
        line-height: 1.45rem;
        font-size: 1.3rem !important;

    }
}

@media (min-width: 601px) and (max-width: 1200px) {

    .activity-card {
        grid-template-columns: .4fr .6fr;
    }

    .activity-card img {
        /* max-width: 300px !important; */
        /* Make the image responsive within a single column layout */
        /* height: 200px; */
    }




}

/* Nigeria page - SSD */

.title-timeline {
    font-size: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #264E59;
    font-weight: normal;
    line-height: 2.3rem;
    margin-bottom: 20px;

}

/* Individual Activity Page */

.banner-border {
    border-radius: 1rem;
}

/* For Activities page */

.page-id-18031 .content-container br {
    display: none !important;
}

.activities-subhead {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    color: #264e59;
    line-height: 1.6rem;
}

/* Activities page without banner */

.activity-description {
    line-height: 1.7rem;
}

.activity-title {
    padding-top: 1.3rem;
}

/* Below is for replacing Default Search with Programmable Google Search Widget */

.gsc-control-cse {
    padding: 0px !important;
}

form.gsc-search-box {

    margin-bottom: 0px !important;
    /* height: 25px !important; */

}

table .gsc-input,
table.gsc-search-box {
    margin: 0px !important;
    border: none !important;
}

td.gsib_a,
td.gsib_b,
td.gsc-search-button {
    border: none !important;
    padding: 0px !important;
}

.gsc-search-button-v2 {

    padding: 0px !important;

}

.gsc-search-button {
    width: 20% !important;
}

.gsc-input-box {
    padding-left: 10px;
}

/* .page-id-18476 div#adBlock {
    display: none !important;
} */