/* * G E N E R A L * R E S P O N S I V E * S E T T I N G S * */

@media only screen and (max-width: 1024px) {

    /* * G E N E R A L * */

    html, body, .full-width, .auto-responsive { min-width: 375px; width: 100% }
    .container { width: 100%; }

    /* * H E A D E R * */

    #menu > .menu-item { margin: 22px 12px; }

    /* * P A G E S * */

    #blog, #post { width: 66%; }

    .form_align_left, .form_align_right { float: none; margin: 0 auto 30px; max-width: 490px; width: 100%; }

    .faq-right-area { width: 92%; }

}


/* * T A B L E T * S C R E E N S * */

@media only screen and (max-width: 960px ) {

    /* * H E A D E R * */

    #logo-area { padding: 15px; }
    #main-menu { margin-left: 5%; }
        #menu > .menu-item { margin: 22px 10px; }
            #menu > .menu-item > a { font-size: 12px; max-width: 90px; }

    /* * F O O T E R * */

    #copyright { display: block; }
    #left-footer-area { margin-left: 1.2%; width: 47%; }
        #main-footer-menu-area { width: 60%; }
            #main-footer-menu .menu-item a { font-size: 15px; line-height: 20px; }
        #footer-menu-area { margin: 0 0 30px 10px; width: 32%; }
            #footer-menu .menu-item { font-size: 14px; }
    #right-footer-area { margin-right: 1.2%; width: 47%; }
        .footer-address-block { font-size: 13px; line-height: 16px; margin-right: 7%; width: 42%; }
    #site-copyrights { display: none; }
    #authors { margin-right: 1%; }

    /* * H O M E * */

    .headlines { left: 10px; width: 360px; }
        .headlines > h2 { font-size: 26px; line-height: 34px; }

    .home-showcase-screen { width: 640px; }
    .medium-case { display: block; }

    .home-testimony-content { font-size: 16px; line-height: 24px; }
    .home-testimony-thumb { height: 112px; top: 170px; width: 112px; }
        .home-testimony-thumb img { height: 112px; width: 112px; }
    .home-testimony-author { font-size: 10px; line-height: 13px; }
        .home-testimony-author > h3 { font-size: 14px; line-height: 17px; }

    .home-news-block { margin: 20px 3.5% 20px 1.5%; width: 44.5%; }
        .home-news-right-area { width: 75%; }

    .facebook-home-section-title { margin: 0 5% 25px; }
    .facebook-block { margin: 0 1.6%; width: 30%; }
        .facebook-thumb { margin: 0 auto; max-width: 235px; width: 100%; }

    /* * P A G E S * */

    .reduced-content { max-width: 600px; width: 90%; }
    #alumni-link { margin-right: 0; margin-top: 20px; }

}

/* * H E A D E R * A D J U S T M E N T * */

@media only screen and (max-width: 920px) {

    #menu > .menu-item { margin: 22px 5px; }

}

@media only screen and (max-width: 855px) {

    #logo-area { padding: 15px 10px; }

    #main-menu { margin-left: 3%; }
        #menu > .menu-item { margin: 22px 8px; }

    #search { margin: 30px 6px; }

    .searchform { width: 106px; }

    #searchform input#s { width: 52px; }

}

/* * E X T R A * L A R G E * M O B I L E * S C R E E N S * */

@media only screen and (max-width: 780px) {

    #menu > .menu-item { margin: 22px 3px; }

    #blog, #sidebar, #post { width: 100%; }
    #sidebar { margin-bottom: 75px; }
        .cat-item { float: left; }
        .sidebar-section { float: left; margin: 0 20px; }

    #sidebar ul.social-share-list { width: 175px; }
    #sidebar li.whatsapp-share { display: block; }

}

/* * L A R G E * M O B I L E * S C R E E N S * */

@media only screen and (max-width: 750px) {

    /* * H E A D E R * */

    .searchform { width: 30px; }
        #searchform input#s { display: none; }

    /* * F O O T E R * */

    #main-footer-menu .menu-item a { font-size: 13px; line-height: 18px; }

    #footer-menu .menu-item { font-size: 13px; }

    #footer-contact { font-size: 15px; }

    .footer-address-block { font-size: 12px; }

    /* * H O M E * */

    .home-showcase-screen { width: 410px; }
    .small-case { display: block; }

    .home-testimony-block { width: 49.8%; }
    .testimony-block-3, .facebook-block-3 { display: none; }

    .home-news-right-area { width: 70%; }

    .facebook-home-section-title { text-align: center; }
    .home-facebook-posts { margin: 0 12px; }
        .facebook-block { margin: 0 2.4%; width: 45%; }

    /* * P A G E S * */

    .faq-right-area { width: 90%; }
    #grant-thumb { display: none; }

}

/* * H E A D E R * A D J U S T M E N T * */

@media only screen and (max-width: 700px) {

    #menu > .menu-item { margin: 22px 3px; }
        #menu > .menu-item > a { font-size: 11px; }
            #menu .sub-menu a { font-size: 10px; }

}

@media only screen and (max-width: 624px) {

    #gallery { height: 61vw; max-width: 100%; }
        .gallery-featured { height: 61vw; max-width: 100%; }
            .gallery-featured img { height: auto; max-width: 100%; }
        #gallery-slides { height: 9vw; top: 52vw; width: 100%; }
            #gallery-slides-stripe, #slides-stripe, .gallery-slide { height: 6vw; }
            #gallery-slides-stripe { margin: 1.6vw auto }
                .gallery-slide { width: 9.3vw; }
                    .gallery-slide.selected > img { max-height: 100%; max-width: 100%; }

}

/* * M E D I U M * M O B I L E * S C R E E N S * */

@media only screen and (max-width: 640px) {

    /* * H E A D E R * */

    #header { background-color: #FFFFFF; }
        .header-stripe { display: none; }
        #header-content { height: 100%; }
            #logo-area { left: 50%; margin-left: -63px; padding: 15px 10px; }
                #logo { background-size: 100% 100% !important; height: 45px; margin: 6px 0 0 13px; width: 101px; }
            #search { display: none; }
            #search.opened { display: block; float: none; left: 8%; margin: 0; position: absolute; top: 92%; width: 200px; }
                #search.opened #searchform input#s { display: block; width: 150px; }
            #main-menu { float: right; margin-left: 0; margin-right: 10px; }
                #menu { display: none; }
                #mobile-menu { display: block; margin: 30px 10px 0 0; position: relative; }
                    a.mobile-menu span { border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; display: block; height: 5px; position: relative; width: 50px; }
                    .stripe, .background-fill .stripe, .page .stripe { background-color: #00306B; }
                        #menu.opened > .menu-item > a { font-size: 16px; padding: 4px 5%; text-align: left; }
                        #menu.opened > .menu-item:hover, #menu > .current-menu-item { margin-top: -2px; padding: 2px 0 1px; }
                            #menu.opened .sub-menu a { font-size: 14px; padding: 0 5%; text-align: left; width: 90%; }

    /* * F O O T E R * */

    #footer-menus-area { margin: 30px 10px 10px; }
        #left-footer-area, #right-footer-area { float: none; margin: 0 auto 40px; max-width: 400px; overflow: auto; width: 95%; }
            #social-menu-area { margin: 0 auto; width: 310px; }
            #footer-menu-area { margin: 30px -80px 0 0; position: relative; right: 50%; width: 160px; }
            #main-footer-menu-area { margin: 0 18% 0 8%; width: 74%; }
                #main-footer-menu .menu-item a { display: block; position: relative; text-align: center; width: 100%; }
                #main-footer-menu .menu-item-has-children a { text-align: right; width: 49%; }
                    #main-footer-menu .menu-item-has-children .sub-menu a { width: 100%; }
            #footer-contact { margin: 12px auto; width: 250px; }
            #footer-address { padding: 10px 0; }
                .footer-address-block { margin: 20px 18%; text-align: center; width: 64%; }
        #facebook-like { float: none; height: 75px; margin: 0 auto; width: 250px; }
        #authors { float: none; margin: 0 auto; width: 82px; }
            .fb-like_desktop { display: none !important; }
            .fb-like_mobile { display: block !important; }

    /* * H O M E * */

    .headlines { left: 10px; top: 240px; width: 360px; }
        .headlines > h2 { font-size: 20px; line-height: 30px; }

    .home-grants-showcase-title { width: 360px; }
        .home-grants-showcase-subtitle { display: none; }
            .home-showcase-screen { width: 180px; }
            .mobile-case { display: block; }

    .home-testimony-block { width: 100%; }
    .testimony-block-2 { display: none; }

    .home-news-block { margin: 20px 5%; width: 90%; }
    .news-block-3, .news-block-4 { display: none; }
        .home-news-left-area { height: 90px; width: 100%; }
        .home-news-right-area { width: 100%; }

    .facebook-block { float: none; margin: 0 auto; width: 235px; }
    .facebook-block-2 { display: none; }

    /* * P A G E S * */

    #flex-mosaic, #mosaic, .mosaic-line { height: 230px; }
        .mosaic-line { width: 156px; }
            .mosaic-image { height: 102px; width: 102px; }
            .mosaic-down { margin: -23px 0 0 104px; }
                .mosaic-image > img { height: 144px; left: -21px; top: -21px; width: 144px; }

    .category-group-post { float: none; margin: 0 auto 20px; width: 300px; }
    .category-post-group-post-entry { font-size: 14px; }

    .form_large_size { max-width: 490px; width: 100%; }
    .form_small_size { max-width: 400px; width: 100%; }

    .faq-left-area { max-height: 68px; }
    .faq-right-area { width: 100%; }

    #grants-header #page-title { font-size: 16px; line-height: 25px; width: auto; }
    #grants-registration .category-group-post-flex-info { font-size: 12px; }

    .featured_box-entry ul { margin-left: 60px; }

}

/* * S M A L L * T A B L E T * S C R E E N S * */

@media only screen and (max-width: 500px) {

    .post-block-thumbnail-area { float: none; margin-bottom: 30px; }
    .has-post-thumbnail .post-block-entry { padding-left: 0; }

    .sidebar-section { float: none; margin: 0 auto; }

}

/* * S M A L L * M O B I L E * S C R E E N S * */

@media only screen and (max-width: 375px) {

    html, body, .full-width, .auto-responsive { min-width: 320px; width: 100% }

    /* * H E A D E R * */

    #logo-area { padding: 15px 5px; }
    #search { margin: 30px 0 30px -8px; width: 100px; }
        #searchform input#s { width: 50px; }

    /* * F O O T E R * */

    #social-menu-area { width: 100%; }
    #main-footer-menu-area { float: none; margin: 0 auto; position: relative; width: 250px; }
        .footer-address-block { font-size: 14px; margin: 20px 5%; text-align: center; width: 90%; }

    /* * H O M E * */

    #featured { height: 255px; margin: 90px 0 100px; }
        #controllers { top: 220px; }
        #banners { height: 355px; }
            .banner { height: 250px; }
                .headlines { left: 0; padding: 0 10px; text-align: center; top: 270px; width: auto; }
                    .headlines > h2 { font-size: 18px; width: auto; }

    .home-grants-showcase-title { width: 300px; }
        .home-grants-showcase-title > h2 { font-size: 24px; }

    .news-block-2 { display: none; }


    /* * P A G E S * */

    .testimony-block { float: none; margin: 46px auto; }

    .post-block-thumbnail-area { margin: 0 auto 30px; }

    .featured_box-entry ul { margin-left: 20px; }

}

