@charset "utf-8";

/* CSS Document */



/* ---------------------------------------------------------------------- */

/* Media Queries

/* ---------------------------------------------------------------------- */



/* Standard 959 or larger (browsers) */

@media only screen and (min-width: 1035px) {

    

}



/* Smaller than standard 959 (devices and browsers) */

@media only screen and (max-width: 1035px) {
 
iframe {
    max-width: 100%;
}


    ul.iconbox-carousel {

        width: 530px !important;

        margin: 0 auto !important;

    }

    #nav ul#navlist li{

        min-width: 80px;

        margin-top: 0px;

    }

    #nav ul#navlist li a{

        padding: 0 10px;

        font-size: 12px;

    }



    input#s{

        right: -16px !important;

    }

    input#search-submit{

        right: -26px;

    }

    

    .related-posts iframe, 

    .related-posts .entry-image,

    .related-posts .entry-audio,

    .related-posts .entry-slider{

        height: 102px !important;

    }

}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
 #DonateSide {
	display: none;
}

.featured-hpnews {
	display: none;	
}
}

/* Tablet Portrait size to standard 960 (devices and browsers)@media only screen and (min-width: 768px) and (max-width: 1035px)  */


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {


.advps-slide {
width: 197px !important;	
}

.bx-wrapper img {
max-width: 43% !important;
position: relative !important;
top: 20px !important;
}
.bx-wrapper {
	max-width: 590px !important;} 
/*.advps-slide-container	{
	max-width: 590px !important;
}*/


    #header, #header-top {

        width: 100% !important;

    }



    /* Container */



    .container {

        width: 748px;

    }



    /* Carousel */

	.single-book  .iconbox-carousel > li, .single-book .project-carousel > li, .single-book .post-carousel > li {

display: block;

clear: both;

}



    .iconbox-carousel > li,

    .project-carousel > li,

    .post-carousel > li {

        margin-right: 44px;

    }



    /* Program Grid */



    ul.program-grid {

        margin-right: -44px;

    }



    ul.program-grid > li.one-fourth {

        margin-right: 44px;

    }



    /* Related Posts */



    .related-posts .post-carousel > li {

        width: 172px;

        margin-right: 20px;

    }
    .single-book .related-posts li{ width: 25% !important;}


    /* Newsletter Form */



    #newsletter-form input#newsletter {

        width: 248px;

    }



    /* Clients */



    .clients {

        margin: 0 -20px 20px 0;

    }



    .clients li {

        width: 170px;

        margin: 0 20px 20px 0;

    }



    #nav { float: none; }



}



/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 767px) {
#DonateSide {
	display: none;
}
.featured-hpnews {
	display: none;
}


    /* Tiny Nav */



    .js .tinynav {

        display: block;

        margin: 5px auto !important;

    }



    .js #navlist {

        display: none;

    }



    #nav { float: none; }



    /* Slider */



    .flex-caption {

        display: none;

    }



    /* Columns */



    .one-half, .one-third, .one-fourth, .two-thirds, .three-fourths {

        float: none;

        display: block;

        margin-right: 0;

        width: 100%;

        max-width: none;

    }



    /* Floats */



    .float-left, .float-right,

	.alignleft, .alignright {

        float: none;

    }



    /* Containers */



    #main, #sidebar {

        margin-bottom: 40px;

    }



    /* Header */

    #header, #header-top {

        width: 100% !important;

    }



    #header-top .one-half:first-child {

        text-align: center;

    }



    #header-top .one-half.column-last:after {

        content: "";

        display: block;

        height: 0;

        overflow: hidden;

        clear: both;

    }



    #header-top .one-half.column-last {

        margin-top: 20px;

    }



    #logo {

        float: none;

        margin: 0 auto;

        display: block !important;

    }



    #logo, #logo a, #logo img {

        display: inline;

    }



    #tagline {

        float: none;

        margin-top: 5px;

    }



    #polyglotLanguageSwitcher {

        margin-top: 0;

    }



    #header .contact-info {

        float: left;

        margin-top: 0;

    }



    #header .contact-info p {

        float: none;

        margin-top: 5px;

        margin-left: 0;

    }



    #header .contact-info p:first-child {

        margin-top: 0;

    }



    #search-form { display: none; }

    /*Jetpack Slider/Gallery */
    .gallery .gallery-item{width: 33% !important;}
    .single-book .related-posts li{ width: 40% !important;}
    /* Footer */



    #footer-nav ul {

        text-align: left;

    }



    #footer-top > .one-half, #footer-top > .one-third, #footer-top > .one-fourth, #footer-top > .two-thirds, #footer-top > .three-fourths {

        margin-top: 40px;

    }



    #footer-top > .one-half:first-child, #footer-top > .one-third:first-child, #footer-top > .one-fourth:first-child, #footer-top > .two-thirds:first-child, #footer-top > .three-fourths:first-child {

        margin-top: 0;

    }



    /* Pagination */



    .page-nav li, .page-nav > span {

        margin-bottom: 10px;

    }



    /* About Us */



    .team-member {

        margin-right: 0;

    }



    /* Responsive Tables */



    .table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; }

    .table-wrapper table { margin-bottom: 0; }

    .table-wrapper .scrollable table { margin-left: 37.3%; }

    .table-wrapper .scrollable { overflow: scroll; overflow-y: hidden; }

    .table-wrapper caption { display: none; }



    .pinned { position: absolute; left: 0; top: 0; width: 37.3%; height: 100%; background-color: #fff; overflow: hidden; overflow-x: scroll; }

    .pinned table th, .pinned table td { white-space: nowrap; border-right: none; }

    .pinned .empty-left-top, table.responsive th { height: 88px; }



    table.responsive td, table.responsive th { white-space: nowrap; overflow: hidden;}

    table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td { display: none; }



    /* Images */



    .entry-image.float-left, .float-left.caption,

	.entry-image.alignleft, .alignleft.caption,

    .entry-image.float-right, .float-right.caption,

	.entry-image.alignright, .alignright.caption {

        margin: 20px 0;

    }

	

	.entry-image.aligncenter, .aligncenter.caption {

		margin-top: 20px;

		margin-bottom: 20px;

	}



    /* Comment Form and Contact Form */



    #comment-form input, .content-form input {

        width: 80%;

    }



    #comment-form textarea, .content-form textarea, .content-form select {

        width: 90%;

    }



    /* Related Posts */



    .related-posts iframe, 

    .related-posts .entry-image,

    .related-posts .entry-audio,

    .related-posts .entry-slider{

        height: 118px !important;

    }

}



/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */

@media only screen and (min-width: 480px) and (max-width: 767px) {
#DonateSide {
	display: none;
}
.featured-hpnews {
	display: none;
}


    /* Container */



    .container {

        width: 420px;

    }



    /* Tiny Nav */



    .tinynav {

        width: 340px;

    }



    /* Carousel */

	

	.single-book  .iconbox-carousel > li, .single-book .project-carousel > li, .single-book .post-carousel > li {

display: block;

clear: both;

}



    .iconbox-carousel > li,

    .project-carousel > li,

    .post-carousel > li {

        width: 200px;

    }



    /* Program Grid */



    ul.program-grid > li.one-fourth {

        width: 200px;

    }



    /* Newsletter Form */



    #newsletter-form input#newsletter {

        width: 302px;

    }




    /* Clients */



    .clients li {

        width: 131px;

    }

    /*Jetpack Slider/Gallery */
    .gallery .gallery-item{width: 50% !important;}
    .gallery br {display:none;}

    /* Footer widget */

    #footer .widget{

        border-right: none;

    }



}



/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width: 479px) {
#DonateSide {
	display: none;
}
.featured-hpnews {
	display: none;
}

	.centeredicons {

width: auto;

	}



    /* Container */



    .container {

        width: 300px;

    }



    /* Tiny Nav */



    .tinynav {

        width: 220px;

    }



    /* Carousel */

	.single-book  .iconbox-carousel > li, .single-book .project-carousel > li, .single-book .post-carousel > li {

display: block;

clear: both;

width: 30%;

}



    .iconbox-carousel > li,

    .project-carousel > li,

    .post-carousel > li {

        margin-left: 40px;

        margin-right: 40px;

        width: 300px;/*steven-fix*/

    }



    /* Program Grid */



    ul.program-grid {

        margin: 0;

    }



    ul.program-grid > li.one-fourth {

        margin-left: 40px;

        margin-right: 40px;

    }



    /* Newsletter Form */



    #newsletter-form input#newsletter {

        width: 182px;

    }



    /* Infobox */



    .infobox div.with-button {

        display: block;

    }



    .infobox .button {

        display: none;

    }



    .infobox .mobile-button {

        float: none;

        display: inline-block;

        margin-left: 0;

        margin-top: 20px;

    }



    /* Clients */



    .clients li {

        width: 143px;

    }

    /*Jetpack Slider/Gallery */
    .gallery .gallery-item{width: 100% !important;}

    /*Publications Overview*/
    #gallery li {
        width: 90%;
    }
    #gallery li .entry-image{
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    #gallery li .entry-title{
        margin-left: auto;
        margin-right: auto;
        width: 65%;
    }
    .single-book .related-posts li{ width: 70% !important;}
    /* Footer widget */

    #footer .widget{

        border-right: none;

    }

}