/* ------------------------ 

COLOURS:


-------------------------------*/

/* ------------------------ BASE -------------------------------*/


/*
 * Font smoothing 
 * http://www.icondeposit.com/blog:how-to-properly-smooth-font-using-css3
 * http://stackoverflow.com/questions/8053389/how-to-reduce-font-weight-in-firefox-on-mac-with-css
 */

html,
html a {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}



/* ------------------------ LAYOUT -------------------------------*/



body {
    /* DUPLICATE blog.css */
    font-family: var(--body_font), 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight: var(--body_font_weight_normal);
    font-size: 108%;
    line-height: 140%;
    color: var(--dark_blue);
    letter-spacing: 0.005rem;
    /* END DUPLICATE blog.css */
    padding: 0;
    margin: 0 auto;
    background-color: var(--light_blue);
}

#page_wrap {
    background: #fff;
    overflow: clip; /* need to use clip with position sticky will work */
}

.wide_width, .page_width, .narrow_width {
    margin: 0 auto;
    padding: 0 var(--page_width_padding);
    box-sizing: border-box;
}

.wide_width {
    max-width: 1430px;
}

.page_width {
    max-width: 1132px;
}

.narrow_width {
    max-width: 800px;
}

.mini_width {
    max-width: 680px;
    margin: 0 auto;
    box-sizing: border-box;
}

#page {
    margin: 0 auto;
    padding: 0 0 30px 0;
}

header {
    display: flex;
    padding: 27px 0px 36px 0px;
    align-items: center;
}

.no_js_message {
    text-align: center;
    padding: 40px 15px 15px 15px;
    color: #fff;
    z-index: 2000;
    position: fixed;
    font-size: 1.8em;
    line-height: 1.5em;
    background: #888;
    opacity: 0.9;
    top: 0px;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    right: 0;
}
.no_js_message a {
    color: #fff;
}

.flex {
	display: flex;
}

.space_around {
    justify-content: space-around;
}

.space_between {
    justify-content: space-between;
}

.videoWrapper { 
    position: relative; 
    padding-bottom: 47.25%; 
    padding-top: 25px; 
    height: 0; 
}
.videoWrapper iframe { 
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

#logo a {
    display: block;
    background: no-repeat center center url('../images/SF-Logo.svg');
    width: 266px;
    height: 68px;
    text-indent: -999em;
}

#menu-main-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    font-weight: var(--body_font_weight_bold);
    font-size: 17px;
    letter-spacing: 0;
}

#menu-main-menu a {
    text-decoration: none;
    margin-right: 33px;
    position: relative;
}

#nav .dbox-donation-button, .menu-header {
    display: inline-block !important;
}

#nav {
    margin-left: auto;
}

#nav .dbox-donation-button img {
    display: none;
}

#menu-main-menu a:after {
    content: '';
    height: 2px;
    position: absolute;
    width: 0%;
    left: -7px;
    right: 0px;
    bottom: -6px;
    background: var(--light_blue);
    transition: all 350ms ease-in-out;
    z-index: -10;
}

#menu-main-menu a:before {
    content: '';
    position: absolute;
    width: 0%;
    left: -7px;
    top: -4px;
    right: 0px;
    bottom: -6px;
    background: #efde3e33;
    transition: all 350ms ease-in-out;
    transition-delay: 150ms;
    z-index: -10;
}

#menu-main-menu a:hover:before, #menu-main-menu a:hover:after {
    width: calc(100% + 14px);
}

/** drop menu **/
#menu-main-menu li { margin: 0; }
#menu-main-menu > li { 
    position: relative; 
    padding-bottom: 10px;
}
#menu-main-menu > li > .sub-menu { 
    visibility: hidden; 
    opacity: 0; 
    position: absolute; 
    top: 50px; 
    z-index: 500; 
    background: var(--purple); 
    padding: 8px 12px; 
    transition: all 250ms ease-in-out; 
	display: block; 
	left: -7px;
	width: 222px;
    box-shadow: 0px 7px 9px 0px rgba(0,0,0,0.19);
}
#menu-main-menu > li:hover > .sub-menu { 
    visibility: visible; 
    opacity: 1; 
    top: 14px; 
    z-index: 500;  
}
#menu-main-menu .sub-menu { text-align: left; color: #fff; }
#menu-main-menu .sub-menu a { 
    display: block; 
    line-height: 1.2em; 
    padding: 3px 0px 3px 0px; 
    font-size: 0.95em; 
    transition: all 350ms ease-in-out; 
    color: #fff;
    margin-right: 0;
}

#menu-main-menu .sub-menu a:after {
    left: 0;
    right: 0;
    bottom: -3px;
}

#menu-main-menu .sub-menu a:hover:after {
    width: 100%;
}

#menu-main-menu .sub-menu a:before {
    display: none;
}

#menu-main-menu > li > .sub-menu li { padding: 4px 0px; display: block; }
/** END drop menu **/


.header_research_wrap {
    background: var(--dark_blue);
    padding: 12px 0;
    position: relative;
    z-index: 10;
}

.header_research_wrap p, .home_topics_wrap .topic_list:before {
    margin: 0 10px 0 0;
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: var(--body_font_weight_medium);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.header_wrap {
    background: #fff;
    position: relative;
    z-index: 100;
    padding: 0 50px;
}

.header_topics_wrap, .header_wrap {
    padding: 0 50px;
}

.header_research_wrap .topic_link:hover {
    background: var(--yellow);
    color: var(--dark_blue);
}

.header_topics_wrap {
    white-space: nowrap;
    overflow: auto;
    display: flex;
    align-items: center;
    width: calc(100% - 67px);
    margin: 0;
}

.esan_header_research_wrap .header_topics_wrap {
    width: calc(100% - 20px);
}

/* width */
.header_topics_wrap::-webkit-scrollbar {
    width: 3px;
    height: 2px;
}

/* Track */
.header_topics_wrap::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.25);
}

/* Handle */
.header_topics_wrap::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
}

/* Handle on hover */
.header_topics_wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

.view_menu_btn { 
    display: none; 
    cursor: pointer;  
    margin: 0 0 0 auto;
    width: 34px;
  	transition: all 450ms ease-out;
}
.bar1, .bar2, .bar3 { 
    width: 100%; height: 2px; background-color: var(--dark_blue); margin: 7px 0; transition: 0.4s; display: block; 
}
.view_menu_btn.active .bar1, .wings_one_content_menu_burger.active .bar1 { transform: rotate(-45deg) translate(-6px, 8px); }
.view_menu_btn.active .bar2, .wings_one_content_menu_burger.active .bar2 { opacity: 0; }
.view_menu_btn.active .bar3, .wings_one_content_menu_burger.active .bar3 { transform: rotate(45deg) translate(-5px, -7px); }

.header_search_btn {
    content: '';
    display: block;
    position: absolute;
    background: no-repeat -212px -56px url('../images/sf-sprite.svg?v=6');
    width: 30px;
    height: 30px;
    top: 14px;
    right: 50px;
    cursor: pointer;
    z-index: 5;
}
.header_search_btn:before, .searchform button:before {
    content: '';
    border-radius: 50%;
    position: absolute;
    top: -6px;
    bottom: -6px;
    right: -6px;
    left: -6px;
    background: rgba(255,255,255,0);
    z-index: -1;
    transition: all 350ms ease-in-out;
}
.header_search_btn:hover:before {
    background: rgba(255,255,255,0.2);
}

.searchform button:hover:before {
    background: #0091b026;
}

.main_search_wrap {
    position: fixed;
    top: -2px;
    left: 0;
    right: 0;
    background: var(--light_gray);
    z-index: 2000;    
    bottom: 100%;
    transition: all 400ms ease-in-out; 
    overflow: auto;
}

.main_search_wrap.active {
    bottom: 0%;
}

.main_search_inner {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

.main_search_inner .searchform input[type='text'] {
    width: calc(100% - 46px);
}

.close {
    position: relative;
    cursor: pointer;
    width: 32px;
    height: 32px;
}
.main_search_wrap .close_search {
    margin: 0 auto;
    transition: all 300ms ease-in-out;
    top: -80px;
}
.main_search_wrap.active .close_search {
    top: 0px;
}

.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: var(--dark_blue);
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

.main_search_field {
    margin: 20px 0 0 0;
    transition: all 550ms ease-in-out;
    transform: translateY(120px)
}    
.main_search_wrap.active .main_search_field {
    transform: translateY(0px)
}    

.not_found_page {
    padding: 40px;
    text-align: center;
}

/* ------------------------ BUTTON STYLES - DUPLICATE TO blog.css wp-block-file__button -------------------------------*/

button,
.button,
.wp-block-file__button,
.wp-block-file .wp-block-file__button,
.wp-block-button__link,
.dbox-donation-button {
    border: none;
    background-color: var(--dark_blue);
    text-transform: none;
    cursor: pointer;
    padding: 9px 22px 11px 22px !important;
    /* change in IE STYLES  */
    color: #fff !important;
    font-family: var(--body_font), 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
    width: auto;
    /* IE FIX  */
    overflow: visible;
    /* IE FIX  */
    font-size: 17px !important;
    text-decoration: none;
    transition: all 250ms ease-in-out;
    letter-spacing: 0;
    font-weight: var(--body_font_weight_bold);
    display: inline-block;
    border-radius: 5px;
    line-height: 24px;
    box-sizing: border-box;
    text-align: center;
}

button:hover,
.button:hover,
.wp-block-file__button:hover,
.wp-block-button__link:hover {
    background-color: var(--red);
    text-decoration: none;
}

.btn_sml {
    padding: 7px 18px 7px 18px !important;
    font-size: 15px !important;
}

.btn_red, .dbox-donation-button {
    background-color: var(--red) !important;
}

.btn_red:hover, .dbox-donation-button:hover {
    background-color: var(--dark_blue) !important;
}

.btn_orange {
    background-color: var(--orange);
}

.btn_orange:hover {
    background-color: var(--dark_blue);
}

.btn_white {
    background-color: #fff;
    color: var(--dark_blue) !important;
}

.btn_white:hover {
    background-color: var(--dark_blue);
    color: #fff !important;
}

/* ------------------------ GUTENBERG SWATCH COLOURS - copy colours function.php -------------------------------*/

.has-black-background-color {
    background-color: #656769;
}
.has-grey-background-color {
    background-color: #cccccc;
}
.has-black-color {
    color: #656769;
}
.has-grey-color {
    color: #cccccc;
}

/* ------------------------ HOME STYLES -------------------------------*/

.home_banner {
    position: relative;
}

.home_banner_wrap {
    position: relative;
}

.home_banner_top {
    position: absolute;
    top: 0;
}

.home_banner_top img {
    vertical-align: bottom;
}

.home_banner_spin {
    position: absolute;
    top: -10%;
    left: 27%;
    right: 17.5%;
/*    transition: all 3550ms cubic-bezier(.61,-0.32,.07,1.29);*/
    transform: rotate(360deg);
    opacity: 0;
}
.home_banner_02 .home_banner_spin{
    top: -78%;
}

.active .home_banner_spin {
    animation-duration: 4000ms;
    animation-name: spinner; 
    animation-iteration-count: 1;   
    animation-delay: 550ms;    
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.68,-1.6,0.32,1.6);
}

@keyframes spinner {
    50% {
        opacity: 0.4;
    }
    60% {
        transform: rotate(20deg);
    }
    100% {
        transform: rotate(0deg);
        opacity: 0.4;
    }
}

.home_banner_02 {
    position: absolute;
    top: 0;
    opacity: 0;
    transition: all 350ms ease-in-out;
    height: 39%;
    left: 0;
    right: 0;
}
.home_banner_02.show {
    opacity: 1;
}

.home_banner_01 {
    opacity: 1;
    transition: all 350ms ease-in-out;
}
.home_banner_01.hide {
    opacity: 0;
}


.home_intro {
    position: relative;
    z-index: 50;
    padding-top: 65px;
    padding-bottom: 0px !important;
}

.home_intro h1 {
    font-size: 66px;
    line-height: 100%;
    margin-bottom: 60px;
}

.home_intro h1 strong {
    color: var(--light_blue);
}

.home_intro h2 {
    font-size: 35px;
    font-weight: var(--body_font_weight_light);
    line-height: 130%;
    color: var(--purple);
    padding: 0 0 50px 40px;
    position: relative;
    margin-top: 40px;
    margin-bottom: 0;
}

.home_intro h2:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    top: 10px;
    width: 1px;
    background: var(--purple);
}

.col_10 {
    grid-template-columns: repeat(10, [col-start] 1fr);
    display: grid;
}

.col_10 p, .col_10 ul {
    margin-bottom: 0;
}

.home_block .block_content, .home_intro {
    padding-top: 75px;
    padding-bottom: 75px;
}

.home_block h2, .home_intro h1 {
    grid-column: 1 / 11;
    margin: 0;
}

.home_block h3 {
    grid-column: 1 / 9;
    margin: 7px 0 6px 0;
}

.home_block ul, .home_intro h2, .block_1525 p, .block_1531 p, .block_1531 div {
    grid-column: 3 / 9;
}

.home_block ul {
    list-style: none;
    padding: 0;
}

.block_1525 ul > li > ul {
    list-style: disc;
}

.block_1525 ul > li > ul > li {
    margin-left: 18px;
}

.block_1525 p:first-of-type, .block_1531 p:first-of-type {
    font-size: 24px;
    line-height: 133%;
}

.block_1525 .button {
    background: var(--yellow);
    color: var(--red) !important;
    margin-left: 50%;
}

.block_1525 .button:hover {
    background: #fff;
    color: var(--red) !important;
}

.home_block > .page_width > .block_content > ul {
    font-size: 24px;
    font-weight: var(--body_font_weight_bold);
    letter-spacing: 0;
}

.home_block > .page_width > .block_content > ul > li > ul {
    font-size: 18px;
    font-weight: var(--body_font_weight_normal);
    padding-left: 50%;
    position: relative;
    margin-top: 15px;
    padding-top: 5px;
}

.home_block > .page_width > .block_content > ul > li > ul:after, 
.home_block > .page_width > .block_content > ul > li > ul:before, 
.bottom_line:before, 
.bottom_line:after,
.styled_list:before, 
.styled_list:after {
    content: '';
    position: absolute;
    top: -2.5px;
    left: 100%;
    right: 0;
    background: var(--yellow);
    height: 4px;
    transition: all 350ms ease-in-out;
    transition-delay: 850ms
}

.styled_list:before, 
.styled_list:after {
    right: 0%;
}

.styled_list:before, 
.styled_list:after {
    background-color: var(--dark_blue);
}

.home_block > .page_width > .block_content > ul > li > ul.active:after, 
.bottom_line.active:after {
    left: 50%;
}

.styled_list.active:after {
    left: 20%;
}


.home_block > .page_width > .block_content > ul > li > ul:before, 
.bottom_line:before,
.styled_list:before  {
    left: 0;
    right: 100%;
    height: 1px;
    top: -1px;
    transition-delay: 500ms
}    

.home_block > .page_width > .block_content > ul > li > ul.active:before, 
.bottom_line.active:before {
    right: 0%;
}

.styled_list.active:before {
    right: 0%;
}

.bottom_line {
    position: relative;
    padding-bottom: 15px;
}

.bottom_line:after, .bottom_line:before {
    top: auto;
    bottom: 0;
    background: var(--light_blue);
}

.bottom_line:after {
    bottom: -1.5px;
}

.block_purple {
    background: var(--purple);
    color: #fff;
}

.block_red {
    background: var(--red);
    color: #fff;
}

.block_purple h3, .block_red h3 {
    color: var(--yellow);
}

.mini_header {
    font-size: 24px;
    margin-bottom: 0;
}

.header_lrg {
    font-size: 48px;
}

.mini_header + .header_lrg {
    margin-top: 10px;
}    

.home_block h3 {
    font-size: 48px;
    max-width: 900px;
}

.home_articles_wrap, .ais-Hits-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.home .article_wrap:nth-child(9) {
    display: none;
}

.article_wrap > a {
    display: flex;
    text-decoration: none;
    background: var(--light_gray);
    padding: 15px;
    height: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 15px;
}

.article_wrap a:hover {
    background: var(--light_blue);
    color: #fff;
}

.article_wrap a:hover .read_more {
    color: var(--yellow);
}

.article_wrap h2 {
    font-size: 20px;
    margin: 0;
}

.article_wrap p, .team_wrap p, #post-14 ul {
    font-size: 16px;
    line-height: 140%;
    margin: 0;
}

.article_wrap p:empty {
    display: none;
}

.article_wrap .read_more {
    font-size: 14px;
    font-weight: var(--body_font_weight_bold);
    color: var(--light_blue);
}

.article_wrap .date {
    font-size: 14px;
    margin-top: auto;
}

.home_search_wrap {
    margin: 0 0 20px 0;
}

.home_topics_wrap {
    margin: 20px 0 0 0;
}

.home_topics_wrap .topic_list:before {
    content: 'Topics';
    color: var(--light_blue);
}


.donation_circle {
    width: 280px;
    height: 280px;
    background: var(--yellow);
    text-align: center;
    border-radius: 50%;
    color: var(--red);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: -202px 0 0 78px;
    position: relative;
    z-index: 10;
}

.donation_circle:after {
    content: '';
    display: block;
    position: absolute;
    background: no-repeat center center url('../images/yellow_border_spinner.svg');
    background-size: contain;
    top: -20px;
    bottom: -20px;
    left: -20px;
    right: -20px;
    transition: all 1500ms cubic-bezier(.61,-0.32,0,1.41);
    transition-delay: 1000ms;
    transform: rotate(360deg);
    z-index: -2;
}

.donation_circle.active:after {
    transform: rotate(0deg);
}

.donation_circle h2 {
    margin: 0;
}

.donation_circle p {
    margin: 10px 15px;
}

.block_1531 h3 {
    color: var(--orange);
}

.block_1531 img {
    border-radius: 50%;
}

.block_1531 .block_content > div > p {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
}

.grecaptcha-badge {
	opacity: 0;
	width: 5px;
	height: 5px;
}

/* ------------------------ TOPIC STYLES -------------------------------*/

.topics_page_columns {
    display: grid;
    grid-template-columns: 70% calc(30% - 20px);
    gap: 20px;
    align-items: start;
}    
.single-topic_landing_page h1.bottom_line.active:after {
    left: calc(70% + 20px);
}

.single-topic_landing_page h1 {
    font-size: 25px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    padding-left: 6px;
}

.single-topic_landing_page h1 span {
    display: inline-block;
    position: relative;
    z-index: 10;
    padding-right: 6px;
}

.single-topic_landing_page h1 span:before {
    content: '';
    position: absolute;
    width: 0%;
    left: -7px;
    top: -4px;
    right: 0px;
    bottom: -6px;
    background: #efde3e33;
    transition: all 350ms ease-in-out;
    transition-delay: 150ms;
    z-index: -10;
}
.single-topic_landing_page h1.active span:before {
    width: calc(100% + 7px);
}

.topic_cats_tags {
    background: var(--light_gray);
    padding: 20px;
    position: sticky;
    top: 0;
    align-self: start;
}

.topic_cats_tags_inner {
}

a.topic_cats_tags_post {
    display: block;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding: 3px 3px 3px 35px;
    margin: 5px 0;
    line-height: 1.2rem;
}

a.topic_cats_tags_post:focus {
    background: #fff;
}

a.topic_cats_tags_post:hover {
    background: rgba(255,255,255,0.75);
}

a.topic_cats_tags_post:before {
    content: '';
    display: block;
    position: absolute;
    background: no-repeat -212px -13px url('../images/sf-sprite.svg?v=6');
    width: 25px;
    height: 25px;
    top: -2px;
    left:0;
}
a.topic_cats_tags_post.content_type_slides:before {
    background-position: -276px -10px;
}
a.topic_cats_tags_post.content_type_blog:before {
    background-position: -243px -11px;
}
a.topic_cats_tags_post.content_type_video:before {
    background-position: -313px -11px;
}


.topic_link {
    font-size: 12px;
    text-decoration: none;
    color: #fff;
    background: var(--light_blue);
    border-radius: 50px;
    padding: 7px 15px 6px 15px;
    /* white-space: nowrap;*/
    text-transform: uppercase;
    font-weight: var(--body_font_weight_medium);
    letter-spacing: 0.05rem;
    display: inline-block;
    line-height: 12px;
    margin: 3px 0;
}

.topic_link_light {
    background: var(--purple);
}

.topic_link:hover {
    color: #fff;
    background-color: var(--dark_blue);
}

.topics_page_columns .page_content_inner h2:first-of-type,
.topics_page_columns .page_content_inner h3:first-of-type {
    margin-top: 0;
}

.topic_cats_tags h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
}

h3.topic_themes_header {
    margin-top: 17px;
    border-top: 1px solid #fff;
    padding-top: 17px;
}  

/* ------------------------ TEAM STYLES -------------------------------*/

.team_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.team_wrap h3 {
    font-size: 21px;
    margin: 15px 0 10px 0;    
    color: var(--light_blue);
}

body.wide_page .page_content {
    padding-right: var(--page_width_padding);
    padding-left: var(--page_width_padding);
}

.team_member_img1 {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    transform: translateX(15px) translateY(15px);
    transition: all 350ms ease-in-out;
    position: relative;
}

.team_member_img1 span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.team_member_img1 span:before {
    content: '×';
    color: var(--light_blue);
    font-size: 20px;
}

.team_member_img {
    position: relative;
    width: 180px;
    height: 180px;
    transform: translateX(-17px);
}

.team_member_img:after {
    content: '';
    display: block;
    position: absolute;
    background: no-repeat center center url('../images/blue_border_spinner.svg');
    background-size: contain;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    transition: all 1500ms cubic-bezier(.61,-0.32,0,1.41);
	transition-delay: var(--delay); 
    transform: rotate(360deg);
}
.team_member_img.active:after {
    transform: rotate(0deg);
}

.team_member_img1 img {
    width: 100%;
}

.team_wrap .team_role {
    font-size: 17px;
    font-weight: var(--body_font_weight_medium);
    color: var(--red);
    margin: -4px 0;
}

.team_wrap p {
    margin: 10px 0;
}

/* ------------------------ FOOTER STYLES -------------------------------*/

#footer {
    background: var(--light_blue);
    color: #fff;
    padding: 40px;
}

#footer a {
    color: #fff;
}

.nas_link svg {
    width: 10px;
    opacity: 0.8;
    margin: 0 0 0 5px;
}

#menu-footer-menu {
    list-style: none;
    margin: -11px 0 17px 0;
    padding: 0;
    display: flex;
    font-weight: var(--body_font_weight_bold);
    font-size: 17px;
    letter-spacing: 0;
    position: relative;
    z-index: 10;
}

#menu-footer-menu:before, .paywall_banner > h3:before {
    content: '';
    background: no-repeat center center url('../images/SF-logo-mark-white.svg');
    width: 46px;
    height: 69px;
    display: inline-block;
    margin: 0 -5px 0 0;
    position: relative;
    top: -7px;
}

#footer #menu-footer-menu a:after {
    content: '';
    height: 2px;
    position: absolute;
    width: 0%;
    left: -7px;
    right: 0;
    bottom: -6px;
    background: var(--dark_blue);
    transition: all 350ms ease-in-out;
    z-index: -10;
}

#footer #menu-footer-menu a:before {
    content: '';
    position: absolute;
    width: 0%;
    left: -7px;
    top: -4px;
    right: 0;
    bottom: -6px;
    background: rgba(255,255,255,0.85);
    transition: all 350ms ease-in-out;
    transition-delay: 150ms;
    z-index: -10;
}

#footer #menu-footer-menu a:hover {
    color: var(--dark_blue);
}

#footer #menu-footer-menu a:hover:before, #footer #menu-footer-menu a:hover:after {
    width: calc(100% + 14px);
}

#menu-footer-menu a {
    margin-left: 25px;
    position: relative;
    text-decoration: none;
}

.footer_sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-top: 1px solid #96c8d8;
    border-bottom: 1px solid #96c8d8;
}

.footer_sections h3 {
    font-size: 20px;
    margin: 0;
}

.footer_sections p {
    font-size: 16px;
}

.footer_sections > div {
    padding: 35px 35px;
    position: relative;
}

.footer_sections > div:before, .footer_sections > div:after {
    content: '';
    position: absolute;
    right: 0px;
    top: 100%;
    bottom: 0;
    background: #96c8d8;
    width: 4px;
    transition: all 350ms ease-in-out;
    transition-delay: 850ms;    
}

.footer_sections > div.active:before {
    top: 50%;
}

.footer_sections > div:after {
    top: 0;
    bottom: 100%;
    width: 1px;
    right: 1.5px;
    transition-delay: 500ms;
}

.footer_sections > div.active:after {
    bottom: 0;
}

.footer_sections > div:last-child:after, .footer_sections > div:last-child:before {
    display: none;
}

.imprint {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05rem;
    color: rgba(255,255,255,0.8);
    padding: 35px 0 0 0;
}

#footer .imprint a {
    color: rgba(255,255,255,0.8);
}

#footer .imprint a:hover {
    color: #fff;
}

.imprint p {
    margin: 0;
    line-height: 20px;
}

.imprint p:first-of-type {
    font-weight: var(--body_font_weight_bold);
}

.imprint .nowrap:after {
    content: '•';
    display: inline-block;
    margin: 0 10px;
}

.imprint p .nowrap:last-child:after {
    display: none;
}

#footer  .dbox-donation-button {
    background: var(--dark_blue) !important;
}

#footer .dbox-donation-button:hover, #footer .button:hover, #footer button:hover {
    background: #fff !important;
    color: var(--dark_blue) !important;
}

.social_btn {
	background: var(--dark_blue) no-repeat -7px -0px url('../images/sf-sprite.svg?v=6');
	border-radius: 100%;
	display:inline-block;
	height:48px;
	width:48px;
	margin: 0 3px;
	text-indent:-999em;
	transition:all 400ms ease-out;
}

.social_btn:hover {
    background-color: #fff;
	background-position: -7px -49px;
}

.social_btn.linkin {
	background-position: -65px -0px;
}
.social_btn.linkin:hover {
	background-position: -65px -49px;
}

.social_btn.insta {
	background-position: -132px -0px;
}
.social_btn.insta:hover {
	background-position: -132px -49px;
}


.footer_section_1538 p {
    display: inline-block;
    margin: 17px 0;
}

/* ------------------------ GENERAL PAGES STYLES -------------------------------*/

.page_cta {
    border-top: 1px solid var(--dark_blue);
    padding: 40px var(--page_width_padding) 15px var(--page_width_padding);
    text-align: center;
}

.page_cta p {
    margin: 0;
    font-size: 29px;
    line-height: 118%;
    font-weight: var(--body_font_weight_light);
}

.page_cta p:first-child {
    margin-bottom: 25px;
}

.page_content {
    padding-top: var(--page_content_padding);
    padding-bottom: var(--page_content_padding);
}

.page .page_content,
.boxed_content_wrap .page_width {
    padding-right: calc(var(--page_content_right_padding) / 2);
    padding-left: calc(var(--page_content_right_padding) / 2);
}

.full_width {    
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.page_content .full_width {
   /* transform: translateX(calc(10% - 10px));*/
}

.banner_image_wrap {
    margin-top: var(--page_content_margin);
    margin-bottom: var(--page_content_margin);
}

.banner_image_wrap img {
    vertical-align: bottom;
}

.top_of_page {
    margin-top: calc(var(--page_content_padding) * -1);
}

.boxed_content_wrap {
    padding-top: calc(var(--page_content_margin) - 20px);
    padding-bottom: var(--page_content_margin);
    margin-top: var(--page_content_margin);
}

.boxed_content_wrap + .banner_image_wrap {
    margin-top: 0;
}

.banner_image_wrap + .boxed_content_wrap {
    margin-top: calc(var(--page_content_margin) * -1);
}

.boxed_content_wrap.red {
    background-color: var(--red);
    color: #fff;
}

.boxed_content_wrap.red .mini_header {
    color: var(--yellow);
}

.boxed_content_wrap.red .styled_list li:before,
.styled_list:before, 
.styled_list:after {
    background-color: var(--yellow);    
}

.txt_orange {
    color: var(--orange);
}

.txt_green {
    color: var(--green);
}

.styled_list {
    list-style: none;
    padding-top: 10px;
    padding-left: 20%;
    position: relative;
}

.styled_list li:before {
    content: '';
    width: 13px;
    height: 1px;
    background-color: var(--dark_blue);
    display: inline-block;
    margin-left: -20px;
    margin-right: 7px;
    position: relative;
    top: -5px;
}

.styled_list_orange li:before {
    background-color: var(--orange);
}

.styled_list_orange:before, .styled_list_orange:after {
    background-color: var(--orange);
}

.styled_list_green li:before {
    background-color: var(--green);
}

.styled_list_green:before, .styled_list_green:after {
    background-color: var(--green);
}

.post_single {
    margin-top: var(--page_content_margin);
    margin-bottom: var(--page_content_margin);
}

.post.type-post:not(.has-post-thumbnail),
.single-esan_events .esan_events {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.has-post-thumbnail.post.type-post {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    position: relative;
    gap: 30px;
    align-items: flex-start;
}

.post_single_feature_img {
    grid-column: span 3;
    position: relative;
    top: -50px;
    padding-bottom: 100%;
}

.post_single_feature_img img {
    border-radius: 50%;
    width: 100%;
    position: absolute;
    height: 100%;
}

.post_single .has-post-thumbnail .entry {
    position: relative;
    grid-column: span 9;
}

h1.pagetitle {
    font-size: 25px;
    margin: 50px 0 25px 0;
}

.index_mini_header + h1.pagetitle {
    margin-top: 0;    
}

.index_mini_header {
    margin: 50px 0 6px 0;
    font-size: 18px;
    color: var(--light_blue);
}


.post_index_wrap {
    margin-bottom: var(--page_content_padding);
}

.navigation {
    padding: 25px 0 0 0;
}

.next-entries a {
    margin-right: 10px;
}

.post_index_search_wrap {
    margin: 0 0 25px 0;
}

.newsletter_sign_up input[name="email"] {
    width: 100%;
    max-width: 250px;
    margin: 0 0 10px 0;
}

#footer .newsletter_sign_up input[name="email"] {
    background: transparent;
    border-color: #96c8d8;
    color: #fff;
}

#footer .newsletter_sign_up input[name="email"]::placeholder {
    color: #fff;
}

.form_response {
    margin: 7px 0 0 0;
}

#post-1509 .block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

#post-1509 .block p {
    margin: 0;
    position: relative;
}

#post-1509 .block p:before, #post-1509 .block p:after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -40px;
    left: 0;
    height: 1px;
    background: var(--light_gray);
}
#post-1509 .block p:after {
    bottom: -20px;
    left: -20px;
    top: -20px;
    right: auto;
    height: auto;
    width: 1px;
}

#post-1509 .block p:nth-child(odd):after{
    display: none;
}
#post-1509 .block p:nth-child(5):before, #post-1509 .block p:nth-child(6):before {
    display: none;
}

.searchform button, .ais-SearchBox-submit {
    background: no-repeat -265px -53px url('../images/sf-sprite.svg?v=6') !important;
    width: 36px;
    height: 36px;
    border: none;
    text-indent: -999em;
    cursor: pointer;
    padding: 0 !important;
    margin: 4px 6px 0 0;
    display: inline-block;
    position: relative;
    z-index: 5;
}

.searchform input[type='text'] {
    width: 350px;
}

.cateory_intro p {
    background: #efde3e33;
    padding: 15px 20px;    
    margin: 0 0 20px 0;
}

.category_children {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.category_children > a {
    display: block;
    color: #fff;
    text-decoration: none;
    background: var(--light_blue);
    padding: 15px 20px;
    margin: 0 0 20px 0;
    font-size: 23px;
    font-weight: var(--body_font_weight_bold);
}

.category_children > a:hover {
    background: var(--dark_blue);
}

.category_children_description {
    font-size: 1rem;
    font-weight: var(--body_font_weight_normal);
}

.col_3, .col_2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.col_2 {
    grid-template-columns: 1fr 1fr;
}

.esan_page .col_3 {
    margin: 50px 0 20px 0;
}

.esan_page .col_2 {
    margin: 20px 0 20px 0;
}

.esan_page .col_3 > div,
.esan_page .col_2 > div {
    background: var(--orange);
    color: #fff;
    padding: 0 20px;
}

.esan_research {
    background: var(--light_gray);
    padding: 20px;
    box-sizing: border-box;
    height: auto !important;
    
}

.esan_research h4,
.event h5 {
    margin: 0 0 -8px 0;
    font-size: 22px;
    line-height: 116%;
}

.esan_research_intro,
.event p {
    font-size: 0.95em;
    line-height: 1.3;
}

.esan_research .button,
.event_registration.button {
    margin-top: auto;
    position: relative;
}

.esan_research .button:after,
.event_registration.button:after {
	content: url(data:image/svg+xml,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Interface%20%2F%20External_Link%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M10.0002%205H8.2002C7.08009%205%206.51962%205%206.0918%205.21799C5.71547%205.40973%205.40973%205.71547%205.21799%206.0918C5%206.51962%205%207.08009%205%208.2002V15.8002C5%2016.9203%205%2017.4801%205.21799%2017.9079C5.40973%2018.2842%205.71547%2018.5905%206.0918%2018.7822C6.5192%2019%207.07899%2019%208.19691%2019H15.8031C16.921%2019%2017.48%2019%2017.9074%2018.7822C18.2837%2018.5905%2018.5905%2018.2839%2018.7822%2017.9076C19%2017.4802%2019%2016.921%2019%2015.8031V14M20%209V4M20%204H15M20%204L13%2011%22%20stroke%3D%22%23CD6D19%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
	display: inline-block;
	margin: 0 8px 0 0;
	position: absolute;
	top: 8px;
    right: 0px;
    transform: scale(0.8);
}

.event_registration.button:after {
	content: url(data:image/svg+xml,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Interface%20%2F%20External_Link%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M10.0002%205H8.2002C7.08009%205%206.51962%205%206.0918%205.21799C5.71547%205.40973%205.40973%205.71547%205.21799%206.0918C5%206.51962%205%207.08009%205%208.2002V15.8002C5%2016.9203%205%2017.4801%205.21799%2017.9079C5.40973%2018.2842%205.71547%2018.5905%206.0918%2018.7822C6.5192%2019%207.07899%2019%208.19691%2019H15.8031C16.921%2019%2017.48%2019%2017.9074%2018.7822C18.2837%2018.5905%2018.5905%2018.2839%2018.7822%2017.9076C19%2017.4802%2019%2016.921%2019%2015.8031V14M20%209V4M20%204H15M20%204L13%2011%22%20stroke%3D%22%230091B0%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);
}

.past_events_wrap .event_registration.button:after {
    display: none;
}

.swiper-pagination {
    position: static !important;
}

.swiper-pagination-bullet-active {
    background: var(--orange) !important;
} 

.swiper-button-next, .swiper-button-prev {
    top: auto !important;
    bottom: 8px;
    color: var(--orange) !important;
    width: auto !important;
}

.swiper {
    padding-bottom: 20px !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 23px !important;
}

.swiper-button-prev {
    left: 0 !important;
}

.swiper-button-next {
    right: 0 !important;
}

.swiper-pagination {
    margin-top: 8px;
}

.swiper-slide {
    display: flex !important;
    flex-direction: column;
}

.upcoming_events_wrap,
.past_events_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.event h5 {
    margin-bottom: -5px;
}

.event {
    background: var(--light_blue);
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.past_events_wrap .event {
    background: var(--green);
}

.event p {
    margin: 10px 0;
}

.event .event_loc,
.event .event_start {
    margin: 0 0 0 0;
    padding: 7px 5px;
    position: relative;
    padding-left: 30px;
    background: var(--dark_blue);
    font-size: 0.85em;
}

.event .event_loc {
    text-transform: uppercase;
    padding-right: 7px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-align: right;
}

.past_events_wrap .event .event_loc,
.past_events_wrap .event .event_start {
    background: #535f25;
}

.event .event_start {
    margin: 15px 0 0 0;
    border-bottom: 1px solid var(--light_blue);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.event .event_loc {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.past_events_wrap .event .event_start {
    border-bottom-color: var(--green);
}

.event .event_loc svg,
.event .event_start svg {
    width: 19px;
    height: 22px;
    position: absolute;
    top: 5px;
    left: 5px;
}

.esan_contact_form_wrap input {
    border-color: #fff;
    width: 100%;
}

.esan_contact_form_wrap input::placeholder {
    color: var(--dark_blue);
}

.esan_contact_form_wrap {
    background: var(--dark_blue);
    color: #fff;
    padding: 20px;
    margin: 20px 0 50px 0;
    text-align: center;
}

.esan_contact_form_wrap h4 {
    margin: 0 0 15px 0;
}

.esan_contact_inputs_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin: 0 0 15px 0;
}

.esan_contact_form_wrap .btn_orange:hover {
    background: var(--light_blue);
}

.esan_header_research_wrap {
    position: relative;
    top: -60px;
    background: var(--orange);
}

.esan_header_research_wrap .topic_link {
    background: var(--dark_blue);
}

.breadcrumb {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--orange);
    letter-spacing: 0.05rem;
    font-weight: var(--body_font_weight_medium);
    margin: 0 0 15px 0;
}

.breadcrumb a {
    color: var(--orange);
}

/* ------------------------ PAYWALL STYLES -------------------------------*/

.paywall_banner {
    background: var(--red);
    padding: 20px 30px;
    color: #fff;
    transition: all 600ms cubic-bezier(.61,-0.32,0,1.41);
    transition-delay: 350ms;
    transform: translateY(150px);
    opacity: 0;
}

.paywall_banner.active {
    transform: translateY(0px);
    opacity: 1;
}

.paywall_banner a {
    color: #fff;
}

.paywall_banner .styled_list:before, .paywall_banner .styled_list:after {
    display: none;
}

.paywall_banner > h3 {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    margin: 0 0 15px 0;
}

.paywall_banner .styled_list {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.paywall_banner .bottom_line.active:after {
    left: 20%;
}

.paywall_banner .styled_list li:before {
    background-color: #fff;
}

.paywall_banner > h3:before {
    margin: 0 10px 0 0;
    top: 0;
}

.paywall_banner .bottom_line:after, .paywall_banner .bottom_line:before {
    background: #fff;
}    

.paywall_banner h2 {
    color: var(--yellow);
}

.paywall_banner h2:last-of-type {
    border-top: 1px solid #fff;
    padding: 25px 0 0 0;
}

.paywall_banner p:last-of-type, .paywall_banner .styled_list {
    font-size: 16px;
}

.paywall_signup button {
    background: var(--yellow);
    color: var(--red) !important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.paywall_signup button:hover {
    color: var(--dark_blue) !important;
}

.paywall_signup input {
    border: none;
    width: 100%;
    max-width: 300px;
    margin: 0 0px 0 0;
    height: 44px;
    vertical-align: bottom;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.paywall_signup input::placeholder {
    color: var(--red);
}

.login_form {
    background: var(--light_gray);
    padding: 20px;
}

.membership_admin_login .form_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.membership_admin_login .form_fields input {
    width: 100%;
    margin: 0 0 10px 0;
}

.forgot_login_link {
    text-decoration: underline;
    font-size: 14px;
    margin: 9px 0 0 0;
    display: block;
    cursor: pointer;
}

.forgot_login_link:hover {
    text-decoration: none;
}

.forgot_login_wrap {
   transition: height 0.35s ease-in-out;
   overflow: hidden;
   padding: 10px 0 0 0;
}
.forgot_login_wrap:not(.active) {
   display: none;
}

input[name="username"] {
    width: 280px;
    margin: 0 0 10px 0;
}

.hide_default_password {
    opacity: 0;
    overflow: hidden;
    width: 0px;
    height: 0px;
    padding: 0;
    border: none;
}

/* ------------------------ SEARCH RESULTS STYLES -------------------------------*/

.ais-SearchBox-form {
    position: relative;
}

.ais-SearchBox-form .ais-SearchBox-input {
    width: 100%;
}

.ais-SearchBox-form .ais-SearchBox-reset svg {
    position: relative;
    top: 2px;
}

.ais-SearchBox-form .ais-SearchBox-reset svg path {
    fill: var(--light_blue); 
}

.ais-SearchBox-submit, .ais-SearchBox-reset {
    position: absolute;
    top: 0;
    right: 0;
}

.ais-SearchBox-reset {
    right: 36px;
}

.ais-SearchBox-reset:hover {
    background-color: transparent;
}

.ais-Hits--empty, .ais-Pagination--noRefinement {
    /*display: none;*/
}

.ais-Hits {
    margin: 20px 0 0 0;
}

.ais-Hits-list .ais-Hits-item {
    margin: 0;
}

.ais-Hits-list .ais-Hits-item .search_item {
    height: 100%;
}

.ais-Hits-list .ais-Hits-item a {
    text-decoration: none;
    background: var(--light_gray);
    padding: 15px;
    font-weight: var(--body_font_weight_bold);
    display: block;
    box-sizing: border-box;
    height: 100%;
}
.ais-Hits-list .ais-Hits-item a:hover {
    background: var(--light_blue) !important;
    color: #fff;
}

.main_search_inner .ais-Hits-list .ais-Hits-item a {
    background: #fff;
}

mark {
    background: #efde3eb5;
    color: var(--dark_blue);
}

.ais-Pagination-item {
    margin: 15px 0px 0 0 !important;
}

.ais-Pagination-item a {
    text-decoration: none;
    width: 30px;
    line-height: 30px;
    background: var(--dark_blue);
    color: #fff;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
    font-size: 14px;
    margin: 0 2px;
}

.ais-Pagination-item.ais-Pagination-item--selected a {
    background: var(--light_blue);
}

.ais-Pagination-item.ais-Pagination-item--lastPage a,
.ais-Pagination-item.ais-Pagination-item--nextPage a,
.ais-Pagination-item.ais-Pagination-item--firstPage a,
.ais-Pagination-item.ais-Pagination-item--previousPage a {
    line-height: 28px;
    font-size: 15px;
    padding-bottom: 2px;
}

.ais-Pagination-item > span {
    /* links with no link */
    display: none;
}

.ais-pagination {
    text-align: center;
}

.algolia_wrapper {
    border-bottom: 1px solid var(--light_blue);
    padding-bottom: 20px;
}

/* ------------------------ SEARCH RESULTS STYLES -------------------------------*/

.tt-widget-inline iframe {
    max-width: none !important;
    border: 1px solid var(--dark_blue) !important;
    padding: 20px 0 0 0;
}

/* ------------------------ RESPONSIVE STYLES -------------------------------*/

/* Stops iphone trying to resize text when rotating */

html { -webkit-text-size-adjust:none; }

/* smartphones, touchscreens */

@media (hover: none) and (pointer: coarse) {

}

@media all and (max-width: 1150px) { 
    .team_member_img {
        transform: translateX(-10px);
    }
    .header_wrap, .header_topics_wrap {
        padding: 0 var(--page_width_padding);
    }    
    .header_search_btn {
        right: var(--page_width_padding);
    }
}

@media all and (max-width: 1050px) { 
    .footer_sections > div {
        padding: 35px 25px;
    }
}

@media all and (max-width: 1280px) { 
    /* nav */
    .view_menu_btn { 
        display: block;
    }
    #nav {
        display: none;
    }
    header #nav {
        display: block;
        position: absolute;
        top:111px;
        right: -250px;
        width: 228px;
        box-sizing: border-box;
        padding: 10px 10px 25px 30px;
      	transition: all 350ms ease-in-out;
      	background: var(--light_blue);
        text-align: left;
        z-index: 1000;
    }
    header #nav.active {
        right: 0px;
        box-shadow: 0px 7px 9px 0px rgba(0,0,0,0.19);        
    }
    #nav a {
        color: #fff;
        padding-left: 0px;
    }
    #menu-main-menu li, #menu-main-menu a {
        display: block;
    }    
    #menu-main-menu li {
        margin-right: 0;
        transition: all 250ms ease-in-out;
        transform: translateX(250px);
    }
    .active #menu-main-menu li {
        transform: translateX(0px);
        transition-delay: 100ms;
    }
    .active #menu-main-menu li:nth-child(2) {
        transition-delay: 150ms;
    }
    .active #menu-main-menu li:nth-child(3) {
        transition-delay: 200ms;
    }
    .active #menu-main-menu li:nth-child(4) {
        transition-delay: 250ms;
    }
    .active #menu-main-menu li:nth-child(5) {
        transition-delay: 300ms;
    }
    .active #menu-main-menu li:nth-child(6) {
        transition-delay: 350ms;
    }
    .active #menu-main-menu li:nth-child(7) {
        transition-delay: 400ms;
    }
    .active #menu-main-menu li:nth-child(8) {
        transition-delay: 450ms;
    }
    header {
        padding: 18px 0 25px 0;
    }
    #menu-main-menu {
        display: block;
    }
    #nav .dbox-donation-button {
        margin-top: 8px;
    }
    #menu-main-menu > li > .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        border-left: 1px solid #fff;
        padding: 0px 12px;
    }
    /* END nav */
}
@media all and (min-width: 1281px) {
    /** NAV - make sure it's displayed even if it has and inline style via jquery  **/
	#nav { display: block !important; }
}

@media all and (max-width: 995px) { 

    .home_intro h1 {
        font-size: 46px;
    }
    .home_block .block_content, .home_intro {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    .home_intro h2 {
        font-size: 28px;
        margin-top: 20px;
    }
    .home_articles_wrap, .ais-Hits-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .category_children {
        gap: 10px;
    }
    .home .article_wrap:nth-child(9) {
        display: block;
    }
    .footer_sections {
        grid-template-columns: 1fr;
        border-top: none;
    }
    .footer_sections > div {
        padding: 35px 0 20px 0;
        padding-left: 50%;
    }
    #footer .dbox-donation-button {
        margin-bottom: 17px;
    }
    .footer_sections > div:before, .footer_sections > div:after {
        top: 0px !important;
        bottom: auto !important;
        left: 100%;
        width: auto;
        height: 4px;
    }
    .footer_sections > div:after {
        top: 1.5px !important;
        bottom: auto !important;
        left: 0;
        right: 100%;
        width: auto;
        height: 1px;
    }
    .footer_sections>div.active:before {
        left: 50%;
    }
    .footer_sections>div.active:after {
        right: 0%;
    }
    .footer_sections > div:last-child:after, .footer_sections > div:last-child:before {
        display: block;
    }
    .team_wrap {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media all and (max-width: 900px) { 
    #menu-footer-menu {
        display: block;
        padding-left: 70px;
        padding-bottom: 1px;
    }
    #menu-footer-menu:before {
        position: absolute;
        top: 0;
        left: 0;
    }
    #menu-footer-menu a {
        margin-left: 0;
    }
}

@media all and (max-width: 850px) { 
    .donation_circle {
        margin-left: 20px;
    }
}

@media all and (max-width: 800px) { 
    .topics_page_columns {
        grid-template-columns: 1fr;
    }
    .single-topic_landing_page h1.bottom_line.active:after {
        left: 50%;
    }
    #post-1509 .block {
        grid-template-columns: 1fr;
    }
    #post-1509 .block p:after {
        display: none;
    }
    #post-1509 .block p:before {
        display: block !important;
        right: 0px;
    }
}

@media all and (max-width: 750px) { 
    :root {
        --page_content_right_padding: var(--page_width_padding);
    }
    .page_content .full_width {
        transform: translateX(0px);
    }
    .home .article_wrap:nth-child(9) {
        display: none;
    }
    .donation_circle {
        margin: 0 auto;
    }
    .donation_circle_wrap {
        background: var(--red);
        padding: 0 0 50px 0;
    }
    .imprint .nowrap:after {
        display: none;
    }
    .imprint .nowrap {
        display: block;
    }
    .esan_contact_inputs_wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media all and (max-width: 650px) { 
    #footer {
        padding: 40px 20px;
    }
    .footer_sections > div {
        padding-left: 0%;
    }
    .team_wrap {
        grid-template-columns: 1fr 1fr;
    }
    .col_3, .col_2 {
        grid-template-columns: 1fr;
    }
    .upcoming_events_wrap,
    .past_events_wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media all and (max-width: 550px) { 

    #logo a {
        background-size: contain;
        width: 230px;
        height: 59px;
    }
    header #nav {
        top: 102px;
    }
    
    .home_banner_base {
        padding-bottom: 46%;
        overflow: hidden;
    }
    .banner_image_wrap {
        padding-bottom: 50%;
        overflow: hidden;
    }
    .home_banner_base img, .home_banner_top img, .banner_image_wrap img {
        position: absolute;
        width: 162vw;
        max-width: none;
    }
    .banner_image_wrap img {
        left: -46%;
    }
    .home_banner_base img, .home_banner_top {
        left: -26%;
    }
    .home_banner_spin {
        top: 1%;
        left: 23%;
        right: -4.5%;
    }
    .home_banner_02 .home_banner_spin {
        left: 23%;
        right: -6.5%;
    }    
    
    .home_intro h1, .home_block h3 {
        font-size: 41px;
    }
    .header_lrg {
        font-size: 35px;
    }
    .home_block ul, .home_intro h2, .block_1525 p, .block_1531 p, .home_block h3, .block_1531 div {
        grid-column: 1 / 11;
    }
    .home_intro h2 {
        font-size: 22px;
        margin-top: 20px;
        padding-left: 20px;
    }
    .home_intro h2:before {
        top: 5px;
    }
    .home_articles_wrap, .ais-Hits-list {
        grid-template-columns: 1fr;
    }
    .styled_list {
        padding-right: 0;
    }
    .styled_list.active:before {
        right: 0%;
    }
    .styled_list:after {
        right: 0%;
    }
    :root {
        --page_content_margin: 40px;
    }
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 29px;
    }
    .post_single_feature_img, .post_single .has-post-thumbnail .entry {
        grid-column: span 12;
    }
    .post_single_feature_img {
        top: 0;
        padding-bottom: 50%;
        overflow: hidden;
        margin-top: calc(var(--page_content_margin) * -1);
        margin-left: calc(var(--page_width_padding) * -1);
        margin-right: calc(var(--page_width_padding) * -1);
    }
    .post_single_feature_img img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 0;
    }
    .post_single_feature_img img {
        height: auto; 
    }    
    .has-post-thumbnail.post.type-post {
        gap: 10px;
    }
    .paywall_signup input {
        width: calc(100% - 102px);
        max-width: none;
    }
    .team_wrap {
        grid-template-columns: 1fr;
    }
    .block_1531 .block_content > div > p {
        grid-template-columns: 1fr 1fr;
    }
    .category_children {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    .category_children > a {
        margin-bottom: 0;
    }
}

@media all and (max-width: 485px) { 
    .upcoming_events_wrap,
    .past_events_wrap {
        grid-template-columns: 1fr;
    }
}

@media all and (max-width: 450px) { 
    .paywall_banner > h3 {
        font-size: 21px;
    }
    .paywall_banner {
        padding-left: var(--page_width_padding);
        padding-right: var(--page_width_padding);
        margin-left: calc(var(--page_width_padding) * -1);
        margin-right: calc(var(--page_width_padding) * -1);
    }
    input[name="username"] {
        width: 100%;
    }
    .searchform input[type='text'] {
        width: calc(100% - 46px);
    }
    .esan_contact_inputs_wrap {
        grid-template-columns: 1fr;
    }
}

/*** prevents FOUC ****/

html {
    visibility: visible;
    opacity: 1;
}

/*** no ie support ****/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #old_browser { display: block; }
}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

