/*
* RDP V0.1
*/
@media screen and (max-width: 1300px) {
    .article-listing-card-wrapper {
        padding: 50px 8%;
    }

    .homepage-article-bottom {
        margin: 50px 5%;
    }
}

@media screen and (max-width: 1260px){
    .home-in-news .rdp-news-card:first-of-type {
        margin-top: 0;
    }
}

@media screen and (max-width: 1150px) {
    .footer-logo-a {
        margin: 30px auto;
        width: 85%;
    }
}

@media screen and (max-width: 1100px){
    .in-news-filter.article-filter .chosen-container {
        width: 50% !important;
    }

    /* .in-news-page-wrapper .in-news-filter form .filter {
        margin-top: 10px;
    } */
}

@media screen and (max-width: 1050px) {
    .article-listing-card .article-listing-summary-p p {
        font-size: 15px;
    }

    .article-listing-card-wrapper {
        padding: 50px 5%;
    }

    .article-listing-card h2 {
        font-size: 23px;
    }

    .homepage-projects .project-card {
        width: 46%;
    }

    .homepage-hero-inner h1 {
        font-size: 49px;
        /* line-height: 56px; */
    }

    .homepage-hero-inner {
        top: 100px;
    }
}

@media screen and (max-width: 1000px) {
    .basic-page-wrapper {
        width: 100%;
    }

    .author-content-wrapper {
        width: 95%;
    }

    .basic-page-wrapper h1 {
        margin: 20px 3%;
    }

    .article-wrapper {
        width: 95%;
    }

    .in-news-page-wrapper .rdp-news-card-wrapper {
        padding: 30px 5% 70px;
    }

    .home-article-listing {
        width: 60%;
    }

    .home-in-news {
        width: 40%;
    }

    .home-in-news .rdp-news-card:first-of-type {
        margin-top: 60px;
    }

    .search-form-wrapper .chosen-container-single .chosen-single {
        width: 250px !important;
    }

    .search-form-wrapper .chosen-container.chosen-container-single {
        width: 250px !important;
    }

    .search-form-wrapper input {
        width: 250px;
    }

    .search-form-wrapper input.flatpickr-input {
        width: 110px;
        min-width: 100px;
        margin-right: 0;
        padding: 7px;
    }

    .search-form-wrapper-dates {
        width: 250px;
    }

    .search-results-wrapper {
        width: 90%;
    }

    .search-wrapper {
        left: 10%;
        width: 80%;
    }

    .author-card {  
        width: 40%;
    }

    .twitter-home-card {
        display: inline-block;
        width: 49%;
        vertical-align: top;
        padding: 20px;
        text-align: left;
    }
}

@media screen and (max-width: 950px) {
    .article-listing-card .article-listing-card-img-wrapper {
        width: 225px;
    }

    .article-listing-card .article-listing-card-img-right-wrapper {
        width: calc(100% - 246px);
    }

    .article-listing-card .article-listing-img {
        height: 180px;
    }
}

@media screen and (max-width: 875px) {
    .footer-left-inner {
        max-width: none;
        width: 100%;
    }

    .footer-right-inner {
        max-width: none;
        width: 100%;
    }

    .footer-logo-a {
        margin: 0 auto 55px;
        min-width: 180px;
        width: 55%;
    }

    .footer-social-div {
        text-align: right;
    }

    .footer-nav {
        text-align: center;
    }

    /* .social-a {
        margin: 0 0 30px 15px;
    } */
    
}

@media screen and (max-width: 850px) {
    .article-wrapper .article-card {
        width: 50%;
    }


    .home-article-listing {
        display: inline-block;
        width: 100%;
        padding-right: 0;
    }

    .home-in-news {
        width: 100%;
    }

    .home-in-news .rdp-news-card,
    .home-in-news .rdp-news-card:first-of-type {
        margin: 30px auto;
        width: 95%;
    }

    .home-in-news .rdp-news-card:last-of-type {
        margin-bottom: 60px;
    }

    .homepage-section .homepage-a.orange-a {
        background-color: #FE650E;
        position: static;
        bottom: 0;
    }

    .homepage-mailing-list form input,
    .homepage-mailing-list #NVSignupForm523103 .at-row.at-row-solo.PostalCode,
    .homepage-mailing-list #NVSignupForm523103 .at-text.LastName,
    .homepage-mailing-list #NVSignupForm523103 .at-text.FirstName,
    .homepage-mailing-list #NVSignupForm523103 .at-row.at-row-solo.EmailAddress,
    .homepage-mailing-list #NVSignupForm523103 .at-form-submit {
        margin: 0 2%;
        width: 46%;
    }

    /* .homepage-mailing-list form input[type=submit],
    .homepage-mailing-list #NVSignupForm523103 .at-form-submit {
        display: block;
        margin: auto;
    } */

    .article-listing-card .article-listing-card-img-wrapper {
        width: 100%;
    }

    .article-listing-card .article-listing-card-img-right-wrapper {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
}

@media screen and (max-width: 830px) {
    .search-form-wrapper .chosen-container-single .chosen-single {
        width: 100% !important;
    }

    .search-form-wrapper .chosen-container.chosen-container-single {
        width: 48% !important;
        margin-right: 0 !important
    }

    .search-form-wrapper .chosen-container.chosen-container-single:nth-of-type(2) {
        margin-right: 4% !important;
    }

    .search-form-wrapper input {
        width: 48%;
        margin-right: 4%;
    }

    .search-form-wrapper {
        padding: 45px 5% 25px;
        font-size: 0;
    }

    .search-form-wrapper-dates {
        width: 48%;
        margin-right: 4%;
    }

    .search-form-wrapper input.flatpickr-input:first-of-type {
        margin-right: 4%;
    }

    .search-form-wrapper input.flatpickr-input {
        width: 48%;
        margin-right: 0;
    }

    a.search-filter-a {
        margin: 21px auto 0;
    }
}

@media screen and (max-width: 800px) {
    .author-inner-top-content p,
    .author-inner-top-content a {
        font-size: 20px;
        margin: 15px 0;
    }

    .author-inner-top-content h1 {
        font-size: 45px;
    }
}

@media screen and (max-width: 720px) {
    .in-news-filter form .filter {
        margin-top: 20px;
        width: 100%;
        max-width: 294px;
    }

    .in-news-page-wrapper .chosen-container {
        display: block;
        margin: auto;
    }

}

@media screen and (max-width: 700px) {
    .author-inner-top-content {
        margin-left: 3%;
        width: 57%;
    }

    .author-image-wrapper {
        width: 40%;
    }

    .homepage-hero-inner {
        width: 80%;
    }
} 

@media screen and (max-width: 650px) {
    .homepage-projects .project-card {
        width: 100%;
        margin: 0 0 30px
    }

    .article-listing-card:first-of-type {
        margin-top: 0;
    }
}

@media screen and (max-width: 600px) {
    .campaign-logos a {
        width: 45%;
    }

    .leftfloated img {
        margin: 10px auto;
        width: 100%;
    }

    .rightfloated img {
        margin: 10px auto;
        width: 100%;
    }

    .author-inner-top-content {
        display: block;
        margin: 30px auto 0;
        text-align: center;
        width: 95%;
    }

    .author-image-wrapper {
        display: block;
        margin: 0 auto;
        max-width: 400px;
        width: 90%;
    }

    .in-news-page-wrapper h1 {
        margin-left: 5%;
    }

    .in-news-page-wrapper .rdp-news-card-wrapper {
        padding: 30px 5% 70px;
    }

    .search-form-wrapper .chosen-container.chosen-container-single {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .search-form-wrapper .chosen-container.chosen-container-single:nth-of-type(2) {
        margin-right: 0 !important;
    }

    .search-form-wrapper input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .search-form-wrapper-dates {
        width: 100%;
        margin-right: 0;
    }

    .article-listing-card .inline-p {
        /* display: block; */
        /* margin: 12px 0; */
    }

    .article-listing-card .cat-tag:first-of-type {
        margin-left: 0;
    }

    /* .article-listing-card .issue-tag:first-of-type {
        margin-left: 0;
    } */

    .article-wrapper h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .article-wrapper .article-card {
        width: 100%;
    }

    .article-wrapper .svg-a {
        display: inline-block;
        margin: 0 10px;
    }

    .article-wrapper .share-p:last-of-type {
        margin: 10px 0;
    }

    .article-wrapper .article-body {
        margin: 30px auto 50px;
        width: 90%;
    }

    .author-card {
        width: 50%;
    }

    a.search-filter-a {
        margin: 0 auto 0;
    }

    .twitter-home-card {
        width: 100%;
    }

    .main-content ul li, .main-content ol li {
        width: 85%;
        margin: 20px auto 20px 5%;
    }
}
@media screen and (max-width: 560px){
    .homepage-hero.desktop {
        display: none;
    }
    .homepage-hero.mobile {
        display: block;
    }
    .homepage-hero {
        position: relative;
        background-size: cover;
        min-height: 500px;
        background-position: center center;
    }
}

@media screen and (max-width: 500px) {
    .homepage-hero-inner h2 {
        line-height:1.7em;
    }

    .header-mobile-wrapper {
        border-right: none;
        width: 100%;
    }

    .article-wrapper .article-card .article-title-a {
        font-size: 15px;
    }

    .article-wrapper .article-card .type-tag {
        font-size: 15px;
    }

    .article-wrapper .article-card h2 {
        line-height: 25px;
    }

    a.article-h2-a {
        font-size: 20px;
    }

    .article-wrapper .article-top-share .share-p {
        display: block;
        margin: 15px 0 0;
    }

    .homepage-mailing-list form input,
    .homepage-mailing-list #NVSignupForm523103 .at-row.at-row-solo.PostalCode,
    .homepage-mailing-list #NVSignupForm523103 .at-text.LastName,
    .homepage-mailing-list #NVSignupForm523103 .at-text.FirstName,
    .homepage-mailing-list #NVSignupForm523103 .at-row.at-row-solo.EmailAddress,
    .homepage-mailing-list #NVSignupForm523103 .at-form-submit {
        margin: 0;
        width: 100%;
    }

    .homepage-mailing-list form input[type=submit],
    .homepage-mailing-list #NVSignupForm523103 .at-form-submit {
        display: block;
        margin: 0 auto;
    }

    /* .article-listing-card .issue-tag {
        margin: 10px 10px 0;
    } */

    .homepage-inner p {
        width: 90%;
        margin: 20px auto;
    }

    .in-news-filter.article-filter .chosen-container {
        width: 90% !important;
        margin: 10px auto;
    }

    .in-news-page-wrapper .in-news-filter form .filter {
        width: 90%;
    }

    .search-wrapper a {
        top: -50px;
    }

    .search-wrapper form input[type=submit] {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .search-wrapper form input {
        width: 100%;
    }

    .fourofour h1 {
        font-size: 30px;
    }

    .search-form-wrapper input.flatpickr-input:first-of-type {
        margin-right: 0;
    }

    .search-form-wrapper input.flatpickr-input {
        display: block !important;
        min-width: 95% !important;
        width: 100% !important;
        height: 33px;
        box-sizing: border-box;
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box;
        text-align: left !important;

    }

    .search-page-wrapper h1 {
        color: #1153A3;
        font-family: 'Abril Fatface', cursive;
        margin: 20px 0 20px 5%;
        font-size: 40px;
    }
}

@media screen and (max-width: 450px) {
    .footer-nav li {
        display: block;
        margin: 0 0 20px;
    }

    .homepage-hero-inner h1 {
        font-size: 40px;
        /* line-height: 48px; */
    }

    .author-card {
        width: 90%;
    }

    .author-card h2 {
        font-size: 25px;
    }
}

@media screen and (max-width: 400px) {
    .in-news-page-wrapper .chosen-container {
        width: 100% !important;
        margin-right: 0px;
    }

    .in-news-page-wrapper .in-news-filter form .filter {
        width: 100%;
        max-width: 100%;
    }

    .campaign-logos a {
        width: 94%;
    }
}
