/*Custom CSS for the UMB In The News page*/

.umb-inthenews {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1em;
    padding-bottom: 1em;
}
.umb-inthenews:not(.itn-visible) {
    display:  none; /*Hide all filtered In the News items*/
}
/*Only display the fist five by default (the pagination script will do the rest)*/
.umb-inthenews.itn-visible {
    display:  none;
}
.umb-inthenews.itn-visible:nth-of-type(1),
.umb-inthenews.itn-visible:nth-of-type(2),
.umb-inthenews.itn-visible:nth-of-type(3),
.umb-inthenews.itn-visible:nth-of-type(4),
.umb-inthenews.itn-visible:nth-of-type(5) {
    display:  block;
}
.umb-inthenews h3,
.umb-inthenews h4,
.umb-inthenews h5 {
    margin-top: 0;
}
.umb-inthenews h3.umb_medium,
.umb-inthenews h4.umb_medium {
    margin-bottom: 1.5em;
    margin-top: 1.5em;
}
.umb-inthenews .umb-itn-expert-photo-container {
    display: inline-block;
    width: 90%;
}
.umb-inthenews img {
    width: 100%;
}
.umb-inthenews .umb-itn-expert-photo-container,
.umb-inthenews img {
    margin: 0 0 .75em 0;
}
@media (max-width: 767px) {

    .umb-inthenews .umb-itn-expert-photo-container,
    .umb-inthenews img {
        max-width: 10em;
    }

    .umb-inthenews .umb-itn-publication {
        margin-top: 1.5em;
    }
}

.umb-inthenews .umb-itn-expert-photo {
    background-color: #3a3a3a;
    background-size: cover;
    background-position: center 25%;
    width: 100%;
    padding-top: 150%;
}