@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');
/** Long Read(feature story) and Long headline(feature story long headline) post Template Layout Styles **/
.long-read-content .breakout,
.long-headline-content .breakout {
    margin-left: -100% !important;
    margin-right: -100% !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative;
}

.long-read-content,
.long-headline-content {
    padding-left: 10%;
    padding-right: 10%;
}

.long-read-content.container,
.long-headline-content.container {
    padding-left: 10%;
    padding-right: 10%;
}

.long-read-content .container .container,
.long-headline-content .container .container {
    width: 970px !important;
}

.long-read section.breakout.image,
.long-headline section.breakout.image {
    text-align: center;
}

.long-read section.breakout.image::after,
.long-headline section.breakout.image::after {
    background-image: none;
    display: none;
}

.long-read section.breakout.image img,
.long-headline section.breakout.image img {
    max-width: 1170px;
}

.long-read section.breakout.image img + p.wp-caption-text,
.long-headline section.breakout.image img + p.wp-caption-text {
    max-width: 1170px;
    margin: 0 auto;
    padding: 10px;
}

.long-read h1 {
    font-weight: 600;
    color: #002145;
    font-size: 85px;
    text-transform: uppercase !important;
}

.long-headline h1 {
    font-weight: 600;
    color: #002145;
    font-size: 85px;
    text-transform: initial !important;
}

@media (max-width: 479px) {
    .long-read h1 {
        font-size: 30px;
    }

    .long-headline h1 {
        font-size: 23px;
        text-transform: initial;
    }
}

@media (max-width: 979px) {
    .long-read h1 {
        font-size: 55px;
    }

    .long-headline h1 {
        font-size: 41px;
        text-transform: initial;
    }
}

@media (min-width: 768px) {
    .long-read h1 {
        font-size: 65px;
    }

    .long-headline h1 {
        font-size: 49px;
        text-transform: initial;
    }
}

@media (min-width: 1200px) {
    .long-read h1 {
        font-size: 85px;
    }

    .long-headline h1 {
        font-size: 65px;
        text-transform: initial;
    }
}

@media (max-width: 979px) {
    body.l2-column-ms #content .breakout .container {
        width: inherit !important;
    }

    .long-read-content .container .container,
    .long-headline-content .container .container {
        width: inherit !important;
        margin-right: none !important;
    }
}

.long-headline .hentry.post .long-headline-title {
    text-transform: initial;
}

@media (max-width: 479px) {
    .long-headline .ok-lead {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .long-headline .ok-lead {
        font-size: 27px;
    }
}

@media (min-width: 1200px) {
    .long-headline .ok-lead {
        font-size: 30px;
    }
}

/*Misc stuff added May 21 - TODO Organize this and put these in the right spot in this file */

@media screen and (max-width: 768px) {
    .searchandfilter select {
        width: 100%;
    }
}

.ok-news-excerpt p {
    font-size: 14px;
}

@media (max-width: 767px) {
    .ubco-news-home-page.hfeed.content {
        background: none;
    }
}

@media screen and (max-width: 768px) {
    .ok-news-spotlight {
        margin-left: initial !important;
        margin-right: initial !important;
    }
}

@media (max-width: 979px) {
    .ok-news-spotlight-title .ubconewscard-title {
        margin-top: 15px;
    }
}


/* Search All Stories Button */
.navbar .nav .navbar-blue-search {
    display: block;
    position: relative;
    background: none repeat scroll 0% 0% #6EC4E8 !important;
    float: right;
    margin-left: 3px;
    border-bottom: 1px solid #6EC4E8;
}

.navbar .nav .navbar-blue-search:hover {
    border-bottom: 1px solid #6EC4E8;
}

.navbar .nav .navbar-blue-search a {
    color: #fff !important;
}

@media (max-width: 979px) {
    .navbar .nav .navbar-blue-search {
        width: 100%;
        margin-left: 0;
    }
}

/*Post format layout styles*/
.post-tile {
    width: 270px;
    height: 300px;
    float: left;
    margin: 10px;
    -webkit-box-shadow: 8px 8px 25px -17px rgba(61, 61, 61, 1);
    -moz-box-shadow: 8px 8px 25px -17px rgba(61, 61, 61, 1);
    box-shadow: 8px 8px 25px -17px rgba(61, 61, 61, 1);
}

.post-tile .text-content {
    padding: 0 15px;
}

.post-tile .text-content h4 {
    font-size: 15px;
    margin-bottom: -18px
}

.post-tile .text-content h3 {
    font-size: 16px;
}

.news-lead {
    margin-top: 20px;
    margin-bottom: 20px;
}

.glancewrap {
    margin-top: -80px !important;
    margin-left: 40px !important;
}

h5.glance-topic {
    font-size: 15px;
}

h1.glance-title {
    font-size: 45px;
    font-family: 'Merriweather', serif;
    font-weight: 600;
}

@media (max-width: 479px) {
    h1.glance-title {
        font-size: 38px;
    }
}

.at-a-glance section.ok-lead.news-lead {
    font-size: 28px;
    margin: 30px 0;
}

.at-icon-wrapper {
    line-height: 28px !important;
    height: 28px !important;
    width: 28px !important;
}

.at-icon {
    height: 28px !important;
    width: 28px !important;
}

.glancebox {
    border: 1px solid #0055b7;
    padding: 20px;
    background-color: white;
    position: relative;
    min-height: 425px !important;
    margin-bottom: 40px;
}

.glancebox .glancebox-title {
    font-size: 25px;
    font-weight: bold;
}

.glance-date {
    font-size: 16px;
}

.glancebox p {
    font-size: 15px;
}

.glancebox ul {
    font-size: 14px;
}

.glancebox ol {
    font-size: 14px;
}

.glancequote {
    position: relative;
    margin-top: 150px;
    padding: 20px;
}

.glancequote p {
    font-size: 30px;
    color: #0055b7;
    max-width: 500px;
    margin-right: 35px;
}

.glance-meta * {
    font-size: 16px;
}

.profile .entry-content {
    margin-bottom: 30px;
}

.campus-notice .entry-content {
    margin-bottom: 30px;
}

.newsbox {
    border: 1px solid #0055b7;
    padding: 20px;
    background-color: white;
    position: relative;
}

.prog-link {
    width: 260px;
    font-size: 20px;
    font-family: 'Open Sans';
    font-weight: 600;
    color: #EC503A;
    margin: 20px 0 20px 20px;
    padding: 20px;
    background: #fff;
    float: right;
    line-height: 140%;
    border: 1px silver solid;
}

.prog-link a {
    color: #EC503A !important;
    text-decoration: none;
    margin-right: 20px;
}

.prog-link a:before {
    content: '\f14c';
    font-family: "FontAwesome";
    font-size: 210%;
    margin-top: 10px;
    float: right;
}

.at-a-glance iframe {
    float: right;
    margin: 15px;
}

@media (max-width: 767px) {
    .glancewrap {
        margin-top: 20px !important;
        margin-left: 0 !important;
    }

    .glancebox {
        min-height: initial !important;
    }

    .glancequote {
        position: relative;
        margin-top: 20px;
        padding: 20px;
    }

    .glancequote p {
        max-width: 500px;
        max-width: none;
        margin-right: inherit;
    }
}

/*Media Release Layout Styles*/
h3.media-release-lead {
    font-size: 28px;
    font-weight: 400;
}

.media-release-title {
    margin-bottom: 30px;
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 45px;
}

@media (max-width: 479px) {
    .media-release-title {
        font-size: 38px;
    }
}

.media-release-lead {
    margin-bottom: 30px;
}

.campus-notice.sidebar {
    margin-top: 125px;
}

.media-release.sidebar {
    margin-top: 125px;
}

/*Global and Admin post layouts*/

.ubcogaicon {
    padding: 20px 60px 20px 20px;
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 300;
    width: min-content;
    margin-bottom: 40px;
    margin-top: 20px;
}

.global-colors {
    background: #002145;
    color: #fff;
}

.admin-colors {
    background: #97D4E9;
    color: #0C2344;
}

.event-notification-colors {
    background: #40B4E5;
    color: #0C2344;
}

.event-notification-colors .ubcobold {
    display: block;
    width: 332px;
    padding-top: 12px;
    font-size: 34px;
    font-weight: 600;
}

.blackrule {
    border-top: 2px solid #222222;
}

.ubcobold {
    font-weight: 700;
}

.global-admin-message,
.event-notification-message {
    font-size: 18px;
    font-weight: 600;
    margin-top: 50px;
    font-style: italic;
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ubconews-ga-bottommessage {
    background: #F6F6F6;
    padding: 20px;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    width: initial;
}

hr.bluerule {
    border-top: 1px solid #97D4E9;
    margin-bottom: 30px;
}

/*Photo Essay Layout Styles*/
.all-posts + #primary-secondary.span3 {
    display: none;
}

.photo-essay-content p {
    width: 85%;
}

.photo-essay-content p:after {
    content: "";
    display: block;
    width: 100px;
    padding-top: 35px;
    border-bottom: 5px solid #0055b7;
    margin-bottom: 38px;
}

.photo-essay-content p.wp-caption-text:after {
    content: "";
    display: block;
    width: initial;
    padding-top: initial;
    border-bottom: none;
    margin-bottom: initial;
}

@media (max-width: 767px) {
    .photo-essay-content p {
        width: 100%;
    }
}


/* ======= Page Template STYLES ======= */

/*home page assorted styles*/
body.ubco-news-home {
    background-color: #eff8fb !important;
}

section.ubco-news-top-home {
    background-color: #fff;
    padding-bottom: 50px;
}

.ok-news-spotlight-title .ubconewscard-title {
    color: #97d4e9;
    font-size: 13px;
}

.btn.home-event-button {
    margin: 40px 0;
    display: block;
}

.btn.home-event-button:before {
    font-family: "FontAwesome";
    font-size: 20px;
    content: '\f073';
    padding-right: 10px;
}

.expert-button {
    background: #0055b7;
    color: #fff;
    font-size: 12px;
    border: none;
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.expert-button:hover {
    background: #056add;
}

#input-append input[type="text"] {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #0055b7;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

div#container {
    background: none !important;
}

.ubco-news-top-home h1 {
    font-size: 42px;
    margin-top: 64px;
    text-transform: capitalize;
    margin-bottom: 16px;
    font-family: 'Merriweather', serif;
}

.ubco-news-byline {
    font-size: 18px;
    text-transform: uppercase;
}

.ubco-news-byline:after {
    content: "";
    display: block;
    width: 100px;
    padding-top: 35px;
    border-bottom: 5px solid #0055b7;
    margin-bottom: 38px;
}

.ubco-news-home-page {
    margin-top: 50px;
}

/*Media Contact Authorbox Shortcode on bottom of Media Release Single Template*/
.authorbox.media-contact {
    padding: 20px;
    -webkit-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    margin: 50px 0;
}

.authorbox.media-contact h3 {
    font-weight: 400;
}


/*Boxshadow Widget Styles */

.box-shadow-widget {
    padding: 5px 20px;
    margin: 30px 0;
    display: block;
    -webkit-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
}

.box-shadow-widget h3 {
    font-size: 20px;
    font-weight: 400;
}

.box-shadow-widget p {
    font-size: 15px;
}

/* Trending posts */
.trending-posts {
    padding: 0;
}

.trending-posts ul {
    margin: 0;
    padding: 0 20px;
}

.trending-posts h3 {
    padding: 20px;
}

.trending-posts li {
    list-style: none;
    border-bottom: 1px solid #0055b7;
    padding-bottom: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.trending-posts li:last-of-type {
    border-bottom: none;
}

.trending-posts li a {
    color: #002145;
    font-size: 15px;
    padding-bottom: 12px;
}

.trend-button {
    width: 100%;
    width: -moz-available; /* For Mozzila */
    width: -webkit-fill-available; /* For Chrome */
    width: stretch; /* Unprefixed */
    background: #0055b7;
    color: #fff;
    font-size: 13px;
}

.trend-button:hover {
    background: #056add;
}

.box-shadow-trending {
    margin: 30px 0;
    display: block;
    -webkit-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
}

.box-shadow-trending h3 {
    font-size: 20px;
    font-weight: 400;
}

.box-shadow-trending p {
    font-size: 15px;
}

/*News Template Styles*/

.news-cat-single {
    color: #696969;
    font-size: 15px;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: none;
    margin-top: 40px;
}

/* Three Column Footer Styles */
.ok-footer-icon-32 {
    height: 32px;
    width: auto;
    padding-right: 5px;
}

@media (min-width: 768px) and (max-width: 911px) {

    .ok-footer-icon-32 {
        margin-bottom: 5px;
    }

}

.threecolfooter {
/ / background: #ecedf0;
    padding: 50px 0;
    line-height: 25px;
    border-top: 1px solid #c9c9c9;
    font-size: 14px;
    margin-top: 0;
}

.threecolfooter p {
    font-size: 14px;
}

.threecolfooter h5 {
    color: #0055b7;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 1px;
    font-weight: 600;
    margin-top: 4px;
}

.threecolfooter .socialicon {
    color: #0055b7;
    font-size: 36px;
    padding: 0 3px;
    text-decoration: none;
    cursor: pointer;
}

.threecolfooter a {
    color: #002145;
}

.threecolfooter a:hover {
    color: #0055b7;
}

#ubc7-unit-footer {
    display: none;
}

/*Ajax Load More Button Wrap*/
.alm-btn-wrap {
    margin-top: 20px;
    text-align: center;
}


/* Flex grid for posts on home page and archive page etc. */
.ubconewscards *,
.ubconewscards *::before,
.ubconewscards *::after {
    box-sizing: border-box;
}

.ubconewscards img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.ubconewscards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ubconewscards-item {
    display: flex;
    padding: 10px;
}

.ubconewscards-item {
    width: 33.3333%;
    min-width: 33.3333%;
}

@media (max-width: 979px) {
    .ubconewscards-item {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .ubconewscards-item {
        width: 100%;
    }
}

.all-posts .ubconewscards-item {
    width: 25%;
    min-width: 25%;
}

@media (max-width: 979px) {
    .all-posts .ubconewscards-item {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .all-posts .ubconewscards-item {
        width: 100%;
    }
}

.ubconewscard {
    background-color: white;
    -webkit-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 5px 10px -2px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.ubconewscard:hover {
/ / filter: contrast(100 %);
    -webkit-box-shadow: 2px 5px 10px -2px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 2px 5px 10px -2px rgba(0, 0, 0, 0.50);
    box-shadow: 2px 5px 10px -2px rgba(0, 0, 0, 0.50);
}

.ubconewscard-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1rem;
}

.ubconewscard-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
/ / filter: contrast(70 %);
    overflow: hidden;
    position: relative;
    transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}

.ubconewscard-image::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

@media (min-width: 767px) {
    .ubconewscard-image::before {
        padding-top: 66.6%;
    }
}

.ubconewscard-title {
    color: #696969;
    font-size: 12px;
}

.ubconewscard-text {
    flex: 1 1 auto;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    margin-top: 10px
}

.ubconewscard-text a {
    color: #0055b7;
    font-weight: 600;
    font-family: 'Merriweather', serif;
}

/*TODO: change this URL*/
.placeholder-bg-image {
    XXXbackground-image: url(https://people.ok.ubc.ca/jamedwar/ubc-logo.png);
    background-image: url(/wp-content/plugins/ubco-news-site-elements/img/ubc-logo.png);
}

/*Search and Filter Elements*/
.searchandfilter ul {
    margin: 10px;
}

@media screen and (max-width: 768px) {
    .searchandfilter ul {
        display: inline-grid;
    }
}

.searchandfilter select, .searchandfilter input[type="text"], .searchandfilter input[type="submit"] {
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: #0055b7;
    border: 1px #c5c5c5 solid;
    padding: 10px 15px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.searchandfilter select {
    height: 45px;
    width: min-content;
}

.searchandfilter input[type="submit"] {
    color: #FFF;
    padding: 10px 15px;
    background: #0055b7;
    border: 0;
    margin-top: -10px;
    height: 45px;
}

.searchandfilter ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #0055b7;
}

.searchandfilter ::-moz-placeholder { /* Firefox 19+ */
    color: #0055b7;
    opacity: 1
}

.searchandfilter :-ms-input-placeholder { /* IE 10+ */
    color: #0055b7;
}

.searchandfilter :-moz-placeholder { /* Firefox 18- */
    color: #0055b7;
    opacity: 1
}

.alm-filter--text-wrap {
    display: inline-block;
    position: relative
}

.alm-filter--text-wrap:before {
    font-family: 'FontAwesome';
    content: '\f002';
    color: #0055b7;
    position: absolute;
    right: 8px;
    top: 9px;
}

select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus {
    outline: none;
    outline: 0 auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.searchandfilter :focus {
    outline: -webkit-focus-ring-color auto 0;
}

.searchandfilter > option {
    padding: 0 30px;
    margin: 0 30px;
}

/*Ajax Load More Filter Styles*/
.alm-reveal.alm-filters {
    width: 100%;
}

.alm-reveal *,
.alm-reveal *::before,
.alm-reveal *::after {
    box-sizing: border-box;
}

.alm-reveal img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.alm-reveal {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

select.alm-filter--item option {
    text-transform: initial;
}

#alm-selected-filters {
    padding: 0 0 15px;
    margin: 0
}

#alm-selected-filters li {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 0;
    list-style: none;
    background: none
}

#alm-selected-filters li div {
    display: block;
    padding: 5px 10px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #eff8fb;
    border: 1px solid #e7e7e7;
    color: #002145;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.1;
    cursor: pointer;
    outline: none;
}

#alm-selected-filters li div, #alm-selected-filters li div:before {
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease
}

#alm-selected-filters li div:before {
    content: "\D7";
    display: inline-block;
    vertical-align: top;
    margin: 0 4px 0 0;
    opacity: .3;
    color: #222;
    position: relative;
    left: -2px;
    text-shadow: 0 1px 1px hsla(0, 0%, 100%, .5)
}

#alm-selected-filters li div:focus, #alm-selected-filters li div:hover {
    background-color: #efefef;
    border-color: #ccc;
    color: #222;
    -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, .075);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .075)
}

#alm-selected-filters li div:focus:before, #alm-selected-filters li div:hover:before {
    opacity: 1
}

.alm-filters-edit {
    display: none;
}

.alm-filters-container {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: baseline;
}

.topicselect select.alm-filter--item {
    margin-right: 20px;
}

.storyselect select.alm-filter--item {
    margin-right: 20px;
    width: 300px;
}

.unitselect select.alm-filter--item {
    margin-right: 40px;
}

.searchinput input.alm-filter--textfield {
    width: 268px;
}

@media (max-width: 767px) {
    .searchinput input.alm-filter--textfield {
        width: 268px;
        margin-left: 0;
    }
}

@media (min-width: 1200px) {
    .searchinput input.alm-filter--textfield {
        width: 400px;
        margin-left: 0;
    }
}

.searchinput {
    order: 1;
    margin-right: 20px;
}

.monthselect {
    order: 2;
    margin-right: 20px;
}

.yearselect {
    order: 3;
    margin-right: 20px;
}

.topicselect {
    order: 4;
}

.storyselect {
    order: 5;
}

.unitselect {
    order: 6;
}

.alm-filters--controls {
    order: 2;
}

button.alm-filters--button {
    order: -1;
    font-family: "Whitney SSm A", "Whitney SSm B", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    border: 2px #0055b7 solid;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #FFF;
    padding: 10px 15px;
    background: #0055b7;
    border: 0;
    margin-top: -10px;
    height: 45px;
}

.alm-filter--title {
    float: left;
}

.searchandfilter select {
    height: 45px;
    width: 300px;
}

.alm-filter--title h3 {
    font-size: 18px;
    color: #0C2344;
}

.alm-filters label {
    display: none !important;
}

.alm-filter--text-wrap button {
    display: none !important;
}


/*General sitewide styles*/
.responsive-media {
    margin-bottom: 30px;
}

/*Hide the unit footer and make sure to add a custom three column footer in the footer widget area */

#ubc7-unit-footer {
    display: none;
}

.discover-footer {
    font-family: 'Merriweather', serif;
    font-size: 25px;
    font-weight: 600;
    padding-bottom: 10px;
}

/*Theme Style Overrides*/
.ok-lead {
    margin: 30px 0 !important;
}

/*Expert Opinion Styling*/

.expert-opinion .entry-content {
    margin-bottom: 30px;
}

.expert-opinion.sidebar {
    margin-top: 125px;
}

/* Related Posts */

div.ok-news-related-posts-wrapper {
    border-top: 1px solid #dcdcdc;
    margin-top: 50px;
    padding-top: 10px;
}

div.ok-news-related-posts {
    display: grid;
    grid-column-gap: 3em;
    grid-row-gap: 2em;
    /* Example of minmax width to adjust number of items per row */
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

div#content.span9 .ok-news-related-posts {
    display: grid;
    grid-column-gap: 2em;
    grid-row-gap: 2em;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

h3.ok-news-rp-heading {
    font-family: 'Merriweather', serif;
    font-size: 25px;
    font-weight: 600;
    padding-bottom: 20px;
}

.ok-json-news-item {
    position: relative;
    padding-bottom: 40px;
}

.span4 .ok-json-news-thumbnail-wrapper {
    max-height: initial;
}

@media screen and (min-width: 1200px) {
    .ok-json-news-thumbnail-wrapper {
        max-height: 200px;
        overflow: hidden;
        padding: 0 !important;
        margin: 0;
    }

    .span9 .ok-json-news-thumbnail-wrapper {
        max-height: 200px;
    }

    .span8 .ok-json-news-thumbnail-wrapper {
        max-height: 200px;
    }

    .span6 .ok-json-news-thumbnail-wrapper {
        max-height: 200px;
    }

    .span4 .ok-json-news-thumbnail-wrapper {
        max-height: initial;
    }
}

img.ok-json-news-thumbnail {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}

p.ok-json-news-title {
    margin-top: 10px;
    font-weight: bold;
    color: #0055b7;
    /* Multiline ellipsis */
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.ok-bg-primaryblue p.ok-json-news-title a, .ok-bg-secondaryblue p.ok-json-news-title a, .ok-bg-brightblue p.ok-json-news-title a {
    text-decoration: none;
}

.ok-bg-primaryblue p.ok-json-news-title a:hover, .ok-bg-secondaryblue p.ok-json-news-title a:hover, .ok-bg-brightblue p.ok-json-news-title a:hover {
    text-decoration: underline;
}

div.ok-json-news-date {
    font-size: 80%;
    position: absolute;
    bottom: 0px;
    border-top: 1px solid #00a7e1;
    width: 65%;
    padding-top: 15px;
    font-style: italic;
}

.ok-bg-primaryblue div.ok-json-news-date, .ok-bg-secondaryblue div.ok-json-news-date, .ok-bg-brightblue div.ok-json-news-date {
    border-top: 1px solid #eff8fb;
}

.ok-json-news-excerpt p {
    font-size: 85%;
    /* Multiline ellipsis */
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.ok-json-news-topics {
    margin-top: 10px;
}
