/************************************************/
/******************** MEDIUM ********************/
/************************************************/
@media only screen and ( max-width: 64em ) {



    /*** PAGE ***/
    /* Image Block */
    #zone-image-block #image-block {
        padding: 0;
    }

    #zone-image-block #image-block #image-caption {
        background: rgba(51,51,51,1);
        bottom: 0;
        float: left;
        position: relative;
        max-width: inherit;
    }

    #zone-image-block #image-credit {
        margin-top: 0;
        padding-bottom: 0;
    }



    /*** POSTS ***/
    body.blog ol#posts > li {
        width: 50%;
    }

    /* First Post */
    body.blog:not(.paged) ol#posts > li:first-of-type .post-container.featured-image > *:not(.post) {
        padding-left: 0;
    }

    body.blog:not(.paged) ol#posts > li:first-of-type .post-container.featured-image img {
        float: left;
        position: relative;
        top: 0;
    }

    body.blog:not(.paged) ol#posts > li:first-of-type .post-container.featured-image .post {
        min-height: inherit;
    }

    /* Second/Third Posts */
    body.blog:not(.paged) ol#posts > li:nth-of-type(n+2):nth-of-type(-n+3) .post-container img, 
    body.blog:not(.paged) ol#posts > li:nth-of-type(n+2):nth-of-type(-n+3) .post-container img + .post {
        max-width: 100%;
    }

    body.blog:not(.paged) ol#posts > li:nth-of-type(n+2):nth-of-type(-n+3) .post-container img {
        display: block;
        float: none;
        width: inherit;
    }

    /* Last Six */
    body.blog:not(.paged) ol#posts > li#last-six,
    body.blog:not(.paged) ol#posts > li#in-the-news {
        width: 100%;
    }



    /*** HOME ***/
    /* News */
    body.home #section-news ul.news-list {
        flex-wrap: wrap;
    }

    body.home #section-news ul.news-list > li {
        width: 100%;
    }

    body.home #section-news ul.news-list > li + li {
        flex-wrap: nowrap;
        max-width: inherit;
    }

    body.home #section-news ul.news-list > li + li > a + a {
        margin-left: calc(0.9375rem * 2);
        margin-top: 0;
    }

    /* Initiatives */
    body.home #section-initiatives ul.initiatives-list > li {
        width: calc(100% / 2);
    }



    /*** GOOGLE SEARCH ***/
    /* Image */
    body.search_gcse .gs-result img.gs-image {
        max-height: 75px;
        max-width: 75px;
    }



    /*** FOOTER ***/
    /* Copyright */
    #footer-content #widget-footer_information > .widget:last-of-type > .columns {
        clear: left;
        float: left;
    }

    #footer-content .copyright,
    #footer-content .credit {
        text-align: left;
    }
  


}





/************************************************/
/********************* SMALL ********************/
/************************************************/
@media only screen and ( max-width: 40em ) {



    /*** GENERAL SETTINGS ***/
    /* Images */
    *[class^='align'], 
    *[class*=' align'] {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    /* Table */
    .table {
        overflow-x: scroll;
        overflow-y: hidden;
        width: 100%;
    }

    /* Wrapper */
    #wrapper {
        min-height: inherit;
        padding-bottom: inherit;
    }



    /*** HEADER ***/
    /* Branding */
    #zone-header-prefix + #zone-header-branding {
        margin-top: 0;
    }

    #zone-header-branding .columns {
        margin-bottom: 0.9375rem;
    }

    #zone-header-branding .logo-title,
    #zone-header-branding h1.logo,
    form.search-form {
        max-width: 100%;
    }

    #zone-header-branding h1.logo a {
        margin: 5px 0;
    }



    /*** POSTS ***/
    body.blog ol#posts > li,
    body.blog:not(.paged) ol#posts > li:nth-of-type(n+2):nth-of-type(-n+3),
    body.blog:not(.paged) ol#posts > li#last-six > ol > li {
        width: 100%;
    }

    body.blog ol#posts > li,
    body.blog:not(.paged) ol#posts > li#last-six > ol > li {
        padding-bottom: 3em;
    }

    body.blog ol#posts > li:not(#last-six):not(#in-the-news):after,
    body.blog:not(.paged) ol#posts > li#last-six > ol > li:after {
        background: #cc6600;
        bottom: calc(3em / 2);
        content: '';
        height: 1px;
        left: 0.9375rem;
        position: absolute;
        width: calc(100% - (0.9375rem * 2));
    }

    /* First Post */
    body.blog:not(.paged) ol#posts > li:first-of-type {
        padding-bottom: 0.9375rem;
    }

    body.blog:not(.paged) ol#posts > li:first-of-type:after {
        display: none;
    }

    body.blog:not(.paged) ol#posts > li:first-of-type .post-container.featured-image img {
        display: block;
        float: none;
        max-width: 100%;
    }

    body.blog:not(.paged) ol#posts > li:first-of-type .post-container.featured-image .post {
        padding-left: 0;
    }

    /* Second/Third Posts */
    body.blog:not(.paged) ol#posts > li:nth-of-type(n+2):nth-of-type(-n+3):after {
        left: 0.9375rem;
        width: calc(100% - (0.9375rem * 2));
    }



    /*** HOME ***/
    /* Content */
    body.home #content-main .post > h2 {
        font-size: 3.5em;
    }

    /* News */
    body.home #section-news ul.news-list > li + li {
        flex-wrap: wrap;
    }

    body.home #section-news ul.news-list > li + li > a + a {
        margin-left: 0;
        margin-top: calc(0.9375rem * 2);
    }

    /* Initiatives */
    body.home #section-initiatives ul.initiatives-list > li {
        width: 100%;
    }

    /* Blockquote */
    body.home #section-blockquote blockquote > * {
        font-size: 1.5em!important;
    }



    /*** FOOTER ***/
    #section-footer {
        float: left;
        height: inherit;
        position: relative;
        width: 100%;
    }

    #footer-content #widget-footer_information > .widget > .columns {
        clear: left!important;
        float: left!important;
        padding-left: 0!important;
    }

    /* Menu */
    #footer-content .widget_nav_menu .menu {
        float: left;
    }
  


}