/*News Title*/
.NewsHeader { font-family: proxima-nova, sans-serif; font-size: 20px; font-weight: bold; margin-top: 28px; margin-bottom: 15px; color: #000000; text-transform: uppercase; line-height: 1.2em; }

/*News List Styles (not to be confused with News DETAIL styles)*/

.NewsRepeater .newsItem {
    margin-bottom:30px;
    display:inline-block;
    width:100%;
}

/*News Photo*/

.newsPhoto {
    width: 230px;
    margin-right: 15px;
    float: left;
    height: 129.357px;
    position: relative;
    background-color: #21557d;
    border: 1px solid #244967;
    border-style: inset;
    overflow: hidden;
    background-size:contain;
    background-repeat: no-repeat;
    background-position:center;
    
}



.newsPhoto.defaultPhoto{
    background-image:url(/App_Themes/Jud4/images/defaultNews/Default_1.jpg);
    
    }
    
.newsPhoto.defaultPhoto:nth-of-type(3n+0){
    
    background-image:url(/App_Themes/Jud4/images/defaultNews/Default_2.jpg);
    
    }
    
.newsPhoto.defaultPhoto:nth-of-type(3n+2){
    
    background-image:url(/App_Themes/Jud4/images/defaultNews/Default_3.jpg);
    
    }


@media screen and (max-width:1280px) {
    .newsPhoto {
        width: 17.85vw;
        margin-right: 1.25vw; 
        height: 10.04vw;
    }
}

@media screen and (max-width:1024px) {
    .newsPhoto {
        width: 230px;
        margin-right: 15px;
        height: 129.357px;
    }
}

@media screen and (max-width:900px) {
    .newsPhoto {
        width: 25.5vw;
        height: 14.34vw;
        margin-right: 1.7vw;
    }
}

@media screen and (max-width:640px) {
    .newsPhoto {
        height: 92px;
    }
}

@media screen and (max-width:300px) {
    .newsPhoto {
        height: 49.5vw;
        margin-right: 0px;
        margin-bottom: 10px;
        float: none;
        width: 100%;
    }
}

.newsPhotoLink { outline:0px; color:white; }

/*Add the "NoPhoto" class to the NewsRepeater to remove news photos & themes*/

.NoPhoto .newsPhoto{ display:none; }

/*News Photo Contents*/

.newsPhoto .themeSource {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 0px;
}

.newsPhoto .themeSource.hideTheme{
    display:none;
}

.newsPhoto .imgSource {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 0px;
}

.newsPhoto .imgSource img {
    display: none
}

.newsPhoto .imgSource .altTag {
    display: none
}

/*News Video*/

.newsItem .videoSource{
    display:none;
}

.newsPhoto .VideoThumbNail {
    display:none;
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    background-image:url(/App_Themes/Jud4/images/menu/DefaultBG.gif);
}

.newsPhoto .VideoThumbNail.True {
    display:block;
}

.newsPhoto .YouTubeThumbnail {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.newsPhoto .VideoPlayButton {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-position:center;
    background-size:120px;
    background-repeat:no-repeat;
    background-image:url(/App_Themes/Jud4/images/menu/YouTubeThumbnail.png);
}

/*News Text*/

.NewsText {
    margin-left: 245px;
}

@media screen and (max-width:1280px) {
    .NewsText {
        margin-left: 19.1vw;
    }
}

@media screen and (max-width:1024px) {
    .NewsText {
        margin-left: 245px;
    }
}

@media screen and (max-width:900px) {
    .NewsText {
        margin-left: 26.95vw;
    }
}

@media screen and (max-width:300px) {
    .NewsText {
        margin-left: 0px;
    }
}

/*Add the "NoPhoto" class to the NewsRepeater to remove news photos & themes*/

.NoPhoto .NewsText {
    margin-left:0px;
}

.NewsRepeater .newsTitle a {
    text-decoration: none;
    color: #3f7aa7;
    font-weight: bold;
    line-height: 1em;
    font-size: 18px;
}

@media screen and (max-width:720px) {
    .NewsRepeater .newsTitle a {
        font-size: 2.5vw;
    }
}

@media screen and (max-width:640px) {
    .NewsRepeater .newsTitle a {
        font-size: 16px;
    }
}

.NewsRepeater .newsTitle a:hover {
    text-decoration: underline;
}

.NewsRepeater .newsDate {
    display: block;
    font-size: 14px;
    color: #435b6d;
    line-height: 1em;
    padding-top: 5px;
    padding-bottom: 5px;
}

@media screen and (max-width:720px) {
    .NewsRepeater .newsDate {
        padding-top: 0.7vw;
        padding-bottom: 0.7vw;
        font-size: 1.95vw;
    }
}

@media screen and (max-width:640px) {
    .NewsRepeater .newsDate {
        padding-top: 4.5px;
        padding-bottom: 4.5px;
        font-size: 12.4px;
    }
}

.NewsRepeater .newsSummary {
    line-height: 1.4em;
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.NewsRepeater .newsSummaryCull{
    max-height: 88px;
    overflow: hidden;
}

@media screen and (max-width:1280px) {
    .NewsRepeater .newsSummary {
        -webkit-line-clamp: 3;
    }
    .NewsRepeater .newsSummaryCull{
        max-height: 65px;
    }
}

@media screen and (max-width:1024px) {
    .NewsRepeater .newsSummary {
        -webkit-line-clamp: 4;
    }
    .NewsRepeater .newsSummaryCull{
        max-height: 86px;
    }
}

@media screen and (max-width:900px) {
    .NewsRepeater .newsSummary {
        -webkit-line-clamp: 3;
    }
    .NewsRepeater .newsSummaryCull{
        max-height: 65px;
    }
}

@media screen and (max-width:720px) {
    .NewsRepeater .newsSummary {
        font-size: 2.25vw;
        line-height: 3.1vw;
    }
    .NewsRepeater .newsSummaryCull{
        max-height: 9.3vw;
    }
}

@media screen and (max-width:640px) {
    .NewsRepeater .newsSummary {
        font-size: 14.4px;
        line-height: 19px;
    }
    .NewsRepeater .newsSummaryCull{
        max-height: 55px;
    }
}

.NewsRepeater .newsSummary p{
    margin:0px;
}

/*News Links*/

.NewsSmartContent{ 
    margin-left: 245px;
}

@media screen and (max-width:1280px) {
    .NewsSmartContent {
        margin-left: 19.1vw;
    }
}

@media screen and (max-width:1024px) {
    .NewsSmartContent {
        margin-left: 245px;
    }
}

@media screen and (max-width:900px) {
    .NewsSmartContent {
        margin-left: 26.95vw;
    }
}

@media screen and (max-width:300px) {
    .NewsSmartContent {
        margin-left: 0px;
    }
}

/*Add the "NoPhoto" class to the NewsRepeater to remove news photos & themes*/

.NoPhoto .NewsSmartContent{
    margin-left:0px;
}

.NewsSmartContent .SmartLinkURL{
    display:none;
}

.EditMode .NewsSmartContent .SmartLinkURL {
    display:block;
}




/*News Smart Link Colors*/
.NewsSmartContent .SmartLinkText { color:#3f7aa7; margin-bottom:10px;}
.NewsSmartContent a{ color:#3f7aa7; text-decoration:none; }
.NewsSmartContent a:hover{ color:#21557d; text-decoration:underline; }
.NewsSmartContent a:active{ color:#6a7b88; text-decoration:underline; }
.NewsSmartContent a:visited{ color:#3f7aa7; text-decoration:none; }

/*Hide Theme Repeaters*/

.ThemeRepeater {
    display: none;
}

.ThemeRepeater .imageItem {
    display: none;
}

.ThemeRepeater img {
    display: none;
}
