/****
Responsive Stylesheet, 767px max.
****/

body {
    /*background: teal;*/
}

iframe {
    max-width: 100vw;
}

.onepage {
    max-width: 100%;
    padding: 0 3%;
    width: 100%;
}

#footer {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.header_inner {
    position: relative;
    width: 100%;
}

.centering_box:not('#container') {
    max-width: 95% !important;
}

#header {
    z-index: 9999;
}

.home #header {
    width: 100%;
}

.home aside.sidebar,
aside.sidebar {

display: none;

}

aside.sidebar.mobile_only {
    display: block;
    height: auto;
}

.sink_dropdown li ul li.mobile_only {
    display: block;
}
/* header */

#header {
    padding: .25em 0;
    width: 100%;
    position: relative;
    height: auto;
}

.desktop_only {
    display: none;
}

.mobile_only {
    display: block;
}

.header_inner.mobile_only {
    background: transparent;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
}

.mobile_expansion  label.mobile_expand_search {

    border: none;
    font-size: 9px;
    text-transform: uppercase;
    text-align: center;
    min-width: 55px;
}

.header_inner nav,
.header_inner div {}

.header_inner .logo {
    width: 100px;
}

.header_inner nav.menu_nav {
    padding-top: 0;
    width: 95px;
    margin-left: 10px;
}

.header_inner nav.searcher {
padding-top: 0;
word-wrap: break-word;
max-width: 95px;
}

.searcher label {
    border: none;
    font-size: 9px;
    text-transform: uppercase;
    text-align: center;
    min-width: 55px;
    color: #005da2;
    margin-right: 10px;
}

.logo {
    width: 70%;
}

.logo img {
    height: auto;
    max-width: 120px;
    width: 100%;
    background: #f2f2f2;
}

.text_assist {
    font-size: 10px;
    margin-top: 13px;
    display: block;
}

.mobile_expansion:checked + label .text_assist {
    margin-top: 20px;
    margin-top: 30px;
    margin-left: -9px;
}

.mobile_expand {
    background: #005DA2;
    left: 0;
    padding: 1em;
    position: absolute;
    top: 91px;
    width: 100%;
    z-index: 50;
}

.sink_dropdown > li > a {
    color: #fff;
}

input#mobile_expand_search {
    height: 0;
    width: 0;
    display: none;
}

.mobile_expand.right {
    right: 0;
    left: inherit;
    top: 91px;
}

.mobile_expand input {
    padding: 1em;
    width: 100%;
    border: 0;
    border-top: 2px solid #111;
}

.mobile_expand ul {
    margin-bottom: 0;
}

.mobile_expand li {
    list-style: outside none none;
}

.mobile_expand li a {}


/* flexbox redirect */

.flexible,
.topmenu ul,
.topmenu li,
.storymodule:nth-child(even) .flexible {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

.flexible.twocol > div,
.flexible.twocol > .col,
.flexible.leftweighted .col:first-child,
section.socialink-module .flexible.twocol.imagecolumns > div.imgholder,
section.socialink-module .flexible.twocol.imagecolumns > div.textholder,
section.socialink-module.module-key-statistic p,
.archive_post .mainpost,
.content article.archive_post.grid_type,
.filter_containers .filterselectors .tablefilter {
    width: 100%;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}


/* full width and margin bottom only (useful for flex items) */

.flexible,
.topmenu li {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1em;
}


/* clear floats  */

.sidebar,
.content,
.topmenu ul,
.topmenu ul li,
.footermenu .col,
.sitecredits,
.sinkcredits,
.menu_indicator,
.footer_inner .socialmedia,
.tagline,
header .search_container,
.col {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

nav {
    float: none;
}


/* center text */

.logo,
.menu_indicator,
.search_container {
    text-align: center;
}


/* center block level items */

.logo {
    margin: auto;
}


/* margin adjustments */

.search_container {
    margin-bottom: 1.2em;
}


/* padding adjustments */

.content,
.storymodule .textholder,
section.socialink-module.module-key-statistic .textholder,
section.socialink-module.imagecolumns .textholder,
section.socialink-module.module-membergreeting .textholder {
    padding: 1em;
}

.fp_section.add_modules {
    padding: .5em;
}

.home .onepage,
section.socialink-module .textholder {
    padding: 0;
}


/* width adjustments */

.search_container input {
    width: 80%;
}


/* increase font size */

.mobile_friendly {
    font-size: 1.5em;
}


/* unconstrain height */

.slideshow img {
    height: auto;
}


/* bg position */

.herospot {
    background-position: center center;
    height: auto;
    min-height: calc(100vw / 2);
    width: 100%;
    top: inherit;
}

:not(.home) .herospot .hero_actions {
  padding-top: calc(100vw / 6.5);
}

:not(.home) .herospot .hero_actions a.button {
  font-size: .8em;
 
}

/* other, more specific rules */

.home .herospot .fp_layout {
    top: 0;
}

.home .herospot .fp_layout .cappy {
    font-size: .5em;
}

.vidholder .indicative {
    -webkit-transform: scale(.5);
    transform: scale(.5);
}

.vidholder {
    margin-top: -2em;
}

.vidholder .titular {
    font-size: .8em;
    margin-top: -1em;
}

.fp_section.add_icons {
    margin-bottom: 1em;
}

.storymodule .flexible {
    margin-top: -15px;
    margin-bottom: -2px;
}

.storymodule-connect {
    height: 80px;
}

.storymodule .animated svg {
    width: 80%;
    height: 70px;
    margin: auto;
    display: block;
}

.storymodule h2 {
    font-size: 2em;
}

.subfooter {
    color: #fff;
    padding: 1em;

    margin-top: 0;
}

.menu-blockified > ul {
    display: block;
    margin-top: 2em;
}

.menu-blockified > ul > li > a {
    margin-bottom: 0;
}

.menu-blockified > ul > li:first-child > a {
    margin-bottom: 1em;
}

footer ul.sub-menu {
    margin-bottom: 1em;
}

.footerdonate h5 {
    padding: 0 26px;
}

.footerdonate {
    margin-bottom: 2em;
}

.sitecredits p {
    margin-top: 1em;
}

.pageinfo h1 {
    font-size: 1.2em;
}

section.socialink-module.module-key-statistic {
    margin-left: -2em;
    margin-right: -2em;
}

.slideshow_area.herospot {
    background-position: center center;
    background-size: cover;
    height: 400px;
    height: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slideshow_area div.slide {
    background-position: center center;
    background-size: 100%;
    height: 400px;
    height: calc(100vw / 2.36);
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
}

.slidecaption {
    bottom: 0;
    width: 100%;
}

.slide_nav {
    display: none;
}

.metadatum .meta_item .lbl {
    display: block;
}

.results_container {
    background: transparent;
}

.results_container .mainpost {
    background: #fff;
    padding: 10px;
}

nav.socialink-nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    font-size: .6em;
}

.logged-in .subfooter .socialmedia,
.subfooter .socialmedia {
    height: auto;
    margin-top: 15px;
}

section.program-areas .inner {
    height: auto;
    flex-direction: column;
}

.tabs-menu-inner.flexible {
    flex-direction: row;
    margin-bottom: 0;
}

section.resources .sink_cfields {
    flex-direction: column;
}

section.resources .sink_cfields > .item {
    width: 100%;
}

.subfootermenu ul, .footermenu ul {
    display: block;
}

.subfootermenu ul li, .footermenu ul li {
    display: block;
    margin-bottom: .7em
}

section.stories .tab_inner .left {
    padding: 2em;
}

section.stories .tab_inner .right {
    width: 100%;
    justify-content: center;
    margin-left: 0;
}

.p-area{
    width: 100%;
    margin-bottom: 5px;
}

.p-area.highlighted, .p-area:hover {
    width: 100%;
}

.home .events .archive_post .centering_box {
    flex-direction: column;
}

.event_metadata,
.archive_post .event_metadata {
    width: 100%;
    border-left: none;
    margin-top: 1em;
}

.home .events .archive_post .mainpost {
    width: 100%;
    margin-top: .8em;
}

.home .onepage section.member-spotlight {
    height: 100vh;
    padding: 1em;
}

.footer_logos .flexible > div {

 
    margin: auto;
 
    margin-bottom: 1em;

}

.container_inner {
    width: 100%;
}

.pageinfo .headerlabel {
    bottom: 40px;
}


.sink_dropdown > li > a {
    font-size: 14px;
}

.archive_post > .centering_box {
    flex-direction: column;
}

.events_list .mainpost, #pinned-event .mainpost,
.content article.archive_post .event_metadata.small-view {
width: 100%;
margin: 0;
}

.content article.archive_post .event_metadata.small-view {
    margin-top: 1em;
}

.event_overview {
    margin-bottom: 1em;
}

.footercredits .flexible {
    padding: 1em;
    text-align: center;
}

.socialink-nav {
    min-width: 0;
}

a.operations {
    display: block;
    margin-bottom: 1em;
    word-wrap: break-word;
    margin-left: 0;
}

a.operations span {
    display: inline;
}

a.operations span.sinklabel {
    display: inline-block;
    max-width: 90%;
}

aside.readmore .button {
    margin-bottom: 1em;
}


.sink_dropdown > li.hover > ul, .sink_dropdown li li.hover ul {

    padding: 0;
    font-size: 14px;

}

.logo:active {
    margin-top: 0;
}

.home .hero_actions {
    width: 100%;
}

.cta_buttons {
    bottom: 4px;

    }

    .hero_actions h1 {

       font-size: 2em;
        margin-top: 10px;

    }

    .tabs-menu a {
        font-size: 10px;
        width: 100%;
    }

    .socialink-module.small-grid .tab_inner > .archive_post {
        width: 100%;
    }

    .grid_repeater_tabs .tab {

        padding: 0;
        width: 98%;

    }

    .home section.member-spotlight .inner {
        width: 100%;
    }

    .home .herospot {
        width: 100%;
    }

.home .onepage section.in-the-news {
    padding-bottom: 0;
}

    .home .onepage section.in-the-news .flexible .item {
        margin-right: 0;
        
    }
    .sink_cfields.obj-nydis_in_the_news > .item .featimg {
        background: transparent;
    }

    .sink_cfields.obj-nydis_in_the_news > .item .featimg {
        justify-content: center;
    }

    .home .onepage section h1.minified {
        padding-left: 5px;
    }

    .subfooter .socialmedia li {
        margin-left: 0;
    }



.twocolpage .pagecontents .onecol {
    padding: 0;
}

.page-template-page-cc-integration .twocolpage .pagecontents .onecol h2 {
    min-height: 0;
}

.page-template-default .content .maintext {
    font-size: 1em;
}

.sink-emailsignup {
    max-width: 100%;
}

.footer_logos .flexible {
    flex-direction: row;
    justify-content: flex-start;
}

.tabs-menu a.nottab_link {
    padding-top: 1em;
}

.tabs-menu a {
    margin-right: 0;
    border-bottom: 1px solid #002f55;
}

.sidebar section.top {
    min-height: 0;
}

.search_container .search_input {
    margin-bottom: 1em;
}

.content .flexible.related_grid_inner {
    flex-direction: row;
}
.content .flexible.related_grid_inner article.archive_post {
    width: 48%;
}

section.stories .tab_inner .right {
    margin-bottom: 1em;
}

section.socialink-paymaster-render-wrap .convert_to_prettylabels {
    flex-wrap:  wrap;
}

section.socialink-paymaster-render-wrap form.mainform .form-item:not(.noflex) {
    margin-bottom: 0;
    margin-right: 5px;
}

section.socialink-paymaster-render-wrap .wrap-inner {
    padding-top:28px;
        background-position: 95% 8px;
}

.donate a.button {
    background: none repeat scroll 0 0 #36c313;
    margin-bottom: 5px;
    border-radius: 0;
    margin-top: -31px;
    display: block;
    margin-right: 10px;
    font-size: .8em;
    text-align: center;
}

 #footer,
.subfooter {
    margin-right: inherit;
}

.home #container .layout {
    margin-bottom: 0;
}