@media (max-width: 1079px) 
{
.site-main .widget-area {
    margin-right: 0px;
}
#page-title
{
display: none;
}
#page-title-mobile
{
position: absolute;
    color: #fff;
display: block;
top: 0px;
right: 15px;
font-size: 1.6rem;
line-height: 1.6rem;
text-transform: lowercase;
}
ul.nav-menu, div.nav-menu > ul {
    padding: 0 20px;
}
#top-images {
    background-position: center;
    border-bottom: solid 1px #ad0133;
}
.home #top-images
{
    min-height: auto;
}
#primary {
    padding: 0px 15px;
    padding: 0px 20px;
}
.home #primary
{
background-image: none;
}
.home h1
{
min-width: 0px;
}
.metaslider .caption .slider-title {
    margin: 0 !important;
    padding: 0 !important;
}
.site-content {
    max-width: 100%;
    min-width: 100%;
    float: none;
}
.site-main .sidebar-container {
    max-width: 100%;
}
.entry-header, .entry-content, .sidebar .entry-header, .sidebar .entry-content 
{
    max-width: 100%;
    float: none;
}

}

@media (max-width: 775px) 
{
.metaslider .caption .slider-title
{
font-size: 3rem  !important;
line-height: 3rem !important;
}
.foundation-updates .alignleft {
    max-width: 70%;
    display: inline-block;
}
.foundation-updates .alignright {
    max-width: 28%;
    display: inline-block;
}
.grants
{
text-align: center;
}
.grants.list
{
text-align: left;
}

.metaslider .caption h1
{
font-size: 3rem  !important;
line-height: 3rem !important;
}
.metaslider .caption-wrap
{
position: absolute;
height: 90%;
top: 60%;
}
.home .site .widget .pis-thumbnail,
.home .site .widget .pis-thumbnail img 
{
    max-height: 100% !important;
}

}

@media (max-width: 643px) 
{
.metaslider .caption-wrap
{
top: 20%;
}
#primary {
    padding-top: 25px;
    padding: 25px 15px;
padding: 0 15px 15px 15px;
}
#content .entry-header, #content .entry-content, #content .entry-summary, #content footer.entry-meta, #content .featured-gallery, .search.sidebar .page-content, .blog.sidebar .page-content, .sidebar .post-navigation .nav-links, .paging-navigation .nav-links, #content .author-info, .comments-area .comments-title, .comments-area .comment-list, .comments-area .comment-navigation, .comment-respond, .sidebar .site-info, .sidebar .paging-navigation .nav-links {
    padding-left: 10px;
    padding-right: 10px;
float: none;
}
.site-main .widget-area {
    float: none;
    width: auto;
}
.logo-name {
    float: none;
    color: #000;
    font-size: 2rem;
    line-height: 2rem;
}
#logo {
    float: none;
}
#logo a {
    display: block;
    text-decoration: none;
}
#logo img {
    max-width: 25%;
    margin-right: 10px;
    display: inline-block;
    height: 100%;
}
#logo a {
    height: 100%;
    display: block;
    text-decoration: none;
}
.logo-name {
    display: inline-block;
    max-width: 70%;
    float: none;
    color: #000;
    font-size: 2rem;
    line-height: 2rem;
}

.site-content {
    max-width: 100%;
    min-width: 100%;
    float: none;
}

.site-main .sidebar-container {
    width: 100%;
    z-index: 1;
    height: auto;
    position: relative;
float: none;
    top: 0px;
max-width: 100%;
width: 100%;
    z-index: 1;
    background-color: #f6f4f5;
}
#logo-title-container {
text-align: center;
}
.navbar {
    z-index: 500;
}
.toggled-on .nav-menu > li a, 
.toggled-on .nav-menu > li a:focus, 
.toggled-on .nav-menu > ul a:focus 
{
    display: block;
padding: 10px 0;
    background-color: #ad0133;
    color: #fff;
}
.nav-menu li:first-child > a {
    text-align: center;
}
.nav-menu li,
.nav-menu li:first-child 
{
    max-width: 100%;
    min-width: 100%;
    padding: 0;
}
.toggled-on .nav-menu > li a:hover, 
.toggled-on .nav-menu > ul a:hover 
{
    background-color: #000;
    color: #fff;
}


.toggled-on .nav-menu, .toggled-on .nav-menu > ul 
{
    display: block;
    margin-left: 0px;
    padding: 0;
    width: 100%;

text-align: center;
}

.menu-toggle, .menu-toggle:hover, .menu-toggle:focus, .menu-toggle:active {
    background-image: url(https://www.ellislphillipsfoundation.org/wp-content/uploads/menu-icon-35.png);
background-repeat: no-repeat;
background-position: center;
    border: none;
    color: transparent;
    padding: 12px 0 12px 20px;
}
.menu-toggle:focus {
    outline: thin dotted;
outline: none;
}
h1, h2, h3, h4, h3.widget-title, .widget.widget-title, h3.frm_form_title_mine, .grant h1.entry-title, .widget .widget-title,
.slider-title
{
    font-size: 1.8rem;
    line-height: 1.8rem;
}
.post-navigation .nav-links {
    max-width: 100%;
}
.metaslider .caption-wrap
{
position: absolute;
height: 100%;
}
.site-footerx .widget,
.site-footerx #text-2,
.site-footerx #text-3
{
float: none;
max-width: 100%;
padding: 0;
text-align: center;
}
.site-footerx #text-3
{
margin-top: 15px;
}
.home .site-main .sidebar-container {
margin-bottom: 25px;
    width: 100%;
    z-index: 1;
    height: auto;
    position: relative;
    float: none;
    top: 0px;
    max-width: 100%;
    width: 100%;
    z-index: 1;
    background-color: #f6f4f5;
}
.home .site-content {
    max-width: 100%;
    min-width: 100%;
    float: none;
    width: 100%;
    background: #f6f4f5;
}
.home #content .entry-header, 
.home #content .entry-content
{
    padding-left: 0px;
    padding-right: 0px;
    float: none;
}
.home #content .entry-content
{
margin-bottom: 25px;
}
.home h1 {
    vertical-align: bottom;
    display: block;
    bottom: 0px;
    margin-top: 0px;
    padding: 100px 15px 15px 15px;
    min-height: 142px;
    max-height: 142px;
    max-width: 100%;
    min-width: 100%;
    color: #fff;
}
.metaslider .caption .slider-title
{
font-size: 2rem  !important;
line-height: 2rem !important;
}

}
