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

iframe {
    max-width: 100vw;
}

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

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

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


/* header */

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

.desktop_only {
    display: none;
}

.mobile_only {
    display: block;
}

.header_inner.mobile_only {
    background: #fffaee;
    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;
}

.header_inner nav,
.header_inner div {}

.header_inner nav.menu_nav {
    width: 15%;
    padding-top: 0;
}

.header_inner nav.searcher {
    width: 15%;
    padding-top: 0;
}

.logo {
    width: 70%;
}

.logo img {
    height: auto;
    max-width: 220px;
    width: 100%;

}

/* burger time */

.burger-wrap {
padding: 10px;
}

.burger-container {
  width: 30px;
  height: 26px;
  position: relative;
  margin: 10px;
  cursor: pointer;
      margin-bottom: 0;
}

.burger-container span {
  background: #323b43;
  display: block;
  position: absolute;
  height: 5px;

  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all .25s cubic-bezier(0.22, 0.61, 0.36, 1);
  -moz-transition: all .25s cubic-bezier(0.22, 0.61, 0.36, 1);
  -o-transition: all .25s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: all .25s cubic-bezier(0.22, 0.61, 0.36, 1);

  opacity: 1;
  width: 100%;
}

.burger span {
  border-radius:10px;
  left: 0;
}

.burger span:nth-child(1) {
  top: 0px;
}

.burger span:nth-child(2), .hamburger span:nth-child(3) {
  top: 10px;
}

.burger span:nth-child(4) {
  top: 20px;
}

#btnControl {
    display: none;
}

#btnControl:checked + .add-heat label > div > span:nth-child(1) {
  
  width: 0%;
  left: 50%;
}

#btnControl:checked + .add-heat label > div > span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 10px;
}

#btnControl:checked + .add-heat label > div > span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 10px;
}

#btnControl:checked + .add-heat label > div > span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}



.burger-time label { 

}

.burger-time ul#menu-main { display: none; }

#btnControl:checked + .add-heat ul#menu-main { 
    display: block;
    background: #fffaee;
    position: absolute;
    padding: 1em;
    z-index: 999; 
    left: 0;
    right: 0;
    border-bottom: 3px solid #000;
    box-shadow: 0 20px 15px #333;
}

.burger-time label:active .add-heat ul#menu-main { display: none;  }

.burger-time .text_assist {
    font-size: 11px;
    line-height: 2;
    text-align: center;
    display: block;
    width: 50px;
}

/* end burger service*/

ul#menu-main li {
    list-style: none;
    margin-left: 0;
    margin-bottom: .5em;

}

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

.mobile_expand {
    background: none repeat scroll 0 0 #f2f2f2;
    left: 0;
    padding-bottom: 2%;
    padding-left: 2%;
    padding-right: 2%;
    position: absolute;
    top: 73px;
    width: 100%;
    z-index: 50;
}

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

.mobile_expand.right {
    right: 0;
    left: inherit;
}

.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;
    margin-top: 1em;
}


/* 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;
    height: 100vh;
    margin-top: 2em;
}

.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: 2em;
    padding:0 1em;
}

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) + 233px);
    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;
}

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;
}


.top-pin-menu .centering_box {
    flex-direction: row;
}

.top-pin-menu .centering_box {
    margin-bottom: 0;
}

.sink_cfields.field_wysiwyg.mission_snippet {

    font-size: .9em;
    padding: 1em 2em;
}

.hero_actions.caption_container h1 {
    font-size: 1.5em; 
    text-shadow: 0 0 2px #000;
    }

    .hero_actions.caption_container {
        bottom: 17%;
    }


    .hero_actions.cta_buttons {
        position: absolute;
        bottom: 5%;
        display: flex;
        justify-content: center;
        width: 100%;
     height:  auto;
     font-size: .7em;
    }

    .homepage .column.offering {
        width: 94%;
        margin-left: auto;
        margin-right: auto;
    }

    .link-follows .col {
        width:  100%;
    }

    .link-follows .col.newslinks {
        padding-left: 0;
    }

    .link-follows .col.newslinks h2:before {
        content: '& Explore ';
    }

    .donation_appeal_text_container > .flexible {
        padding: 1em;
        font-size: .8em;
    }

    .footertext .col p {
        margin-bottom: .1em;
    }


    .footertext .col.right {
        text-align: left;
        margin-top: 1em;
    } 

    .footertext nav.socialmedia {
        margin-top: 1em;
    }

    .footertext nav.socialmedia ul li:first-child {
        margin-left: 0;
    }

    .footertext .media-link-psychwire svg,
    .footertext .media-link-psychwire svg path {
        fill: #000;
        stroke:  #000;
    }

        .footertext .media-link-psychwire svg rect {
            stroke:  #000;
        }


        .top-pin-menu {
            /* padding:  0; */
        }

        .column.offering, .sidebar .column {
            border: 0;
            border-left: 1px solid #cf2e2e;
            border-right: 1px solid #cf2e2e;
        }


        .plugin-filterserver.dashboard-template-side .filtering_controls,
        .plugin-filterserver.dashboard-template-side .filtering_results {
          width: 100%;
        }

        .logged-in .top-pin-menu {
        top: auto;
        }

        .top-pin-menu {
            position: relative;
        }

        #header {
            margin-top: 0;
        }