﻿.newsWrapper {
    text-align: center;
}

.newsHeader {
    text-align: center;
    margin-bottom: 10px;
}

    .newsHeader > h1 {
        margin: 0px;
        text-align: center;
    }

.newsHeading {
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    font-style: normal;
    text-decoration: underline;
    text-transform: none;
    white-space: normal;
    -webkit-font-smoothing: antialiased;
    line-height: 67.3933px;
}

.newsAnchor {
    margin: 0 auto;
}

.newsTitle {
    font-weight: 800;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
    padding: 0px 6px 0px 6px;
}

.newsDate {
    text-align: left;
    padding: 0px 6px 0px 6px;
}

.newsDescription {
    text-align: left;
    padding: 0px 6px 0px 6px;
}

.hideControl {
    display: none;
}

.newsContent > ul {
    list-style: none;
    overflow: hidden;
    margin: 0px;
}

    .newsContent > ul > li {
        float: left;
        text-align: center;
        line-height: 2;
        padding: 2px 0px 2px 0px;
    }

        /* Three Items */
        .newsContent > ul > li:first-child:nth-last-child(3),
        .newsContent > ul > li:first-child:nth-last-child(3) ~ li {
            width: 33.3333%;
        }

.NewsNaviagation a {
    float: left;
    padding: 1em 2em;
    background-color: #fafafa;
    width: max-content !important;
}

.PennDotNews .pagination a {
    float: left;
    padding: .4rem;
}

.SearchPager.pagination.row.pageTop, pagination.row.pageBottom, .pagerTop {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.DistrictSearchPanel {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.pagerTop {
    float: center !important;
}

.pageTop div.large-4.small-12.columns {
    padding-right: 0px;
}

.pagination.row.pageBottom {
    padding-left: 0px !important;
}

.SearchNewsTab {
    display: table;
    width: 100%;
}

.SearchNewsLabel {
    display: table-cell;
}

.SearchNewsTextbox {
    display: table-cell;
    width: 100%;
}

.NewsNaviagation.row {
    border-bottom: 1px solid #464646;
    border-top: 1px solid #464646;
    margin-bottom: 1em;
    background-color: rgb(230,231,232);
    padding: 15px;
}

.NewsPreviousButton.arrow {
    float: left !important;
    padding-left: 0px !important;
}

.NewsPreviousButton {
    padding-left: 0px !important;
}

.pagerLabel {
    margin-left: 0;
    line-height: 2.4375rem;
}

.PennDotNews.pageSizerFilter {
    margin: 2em 0;
}

.searchNewsContainer {
    padding: 0px;
    display: inline;
}

/*.row.CountyDropDown .large-3, .row.CountyDropDown .CountyDropDownControl {
    width: 50%;
    float: left;
    line-height: 2.4375rem
}

.PennDotNews .CountyDropDownControl select {
    width: 100%;
}

.row.CountyDropDown {
    margin-bottom: 2em;
}
*/

div.SeachNewsBox input[type=submit].primary-color.button {
    font-family: "Montserrat", "Gotham", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1rem;
}

.DistrictSearchPanel {
    padding-bottom: 30px;
}

.PennDotNews .pagination .NewsPreviousButton, .PennDotNews .pagination .NewsPreviousButton a {
    padding-left: 0px !important;
}

.NumberItems {
    display: inline-block;
    float: left;
    width: 100%;
    text-align: right;
}

.newsHeading {
    margin-bottom: 0px;
    text-align: center center;
}

span.pagerLabel {
    padding-right: 6px;
}

.pagination.SearchPager select {
    width: 20%;
}

@media screen and (min-width: 46.13rem) {
    .DistrictSearchPanel {
        display: table;
        width: 100%;
    }

    .SearchDistrictLabel {
        display: table-cell;
        float: left;
        width: max-content;
        padding-right: 15px;
    }

    .SearchDistrictDropdown select {
        display: table-cell;
        width: 100%;
    }
}


@media screen and (max-width: 46.13rem) {
    .pageSizerFilter .columns {
        padding-left: 0;
        padding-right: 0;
    }

    .SearchDistrictDropdown {
        width: 100%;
        margin-bottom: .5em;
    }

    .NewsNaviagation.row {
        display: inline-block;
        width: 100%;
    }

    .AllNewsTab a, .StateNewsTab a, .DisctrictNewsTab a, .DisctrictOnlyNewsTab a, .SearchNewsTabl a {
        width: 100% !important;
    }

    .pagination.pageTop a, .pagination.pageBottom a {
        padding: .3rem !important;
    }

    span.pagerLabel {
        line-height: 2.4375rem;
        font-size: 1rem;
    }

    .newsContent > ul {
        list-style: none;
        padding: 0px 1px;
        overflow: hidden;
        margin: 0px;
        vertical-align: top;
    }

        .newsContent > ul > li {
            float: left;
            text-align: center;
            line-height: 2;
            padding: 2px 10px 2px 10px;
            width: 100%;
            min-height: 0px;
            display: inline-block;
            vertical-align: top;
        }

            /* Three Items */
            .newsContent > ul > li:first-child:nth-last-child(3),
            .newsContent > ul > li:first-child:nth-last-child(3) ~ li {
                width: 100%;
                vertical-align: top;
            }
}
