
/* portlet - top blue border, margins around h3, h4 headings*/

.portlet {
    border-top: 1px solid #d6d7d9;   /* $color-gray-lighter */
    margin-bottom: 16px;
}

.portlet h2, .portlet h3 {
    margin: 1.3rem 0;
}

.portlet:last-child {
    /* not working */
    margin-bottom: 0;
}

.portlet .ncbi-docsum {
    margin-bottom: 0;
}




/* mini document summaries for text documents (articles, news, etc) */

.doc-item-small {
    padding-bottom: 2rem;
}

.doc-item-small .source a {
    margin-top: 0.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0071bc;  /* primary */
}
.doc-item-small .source a:visited {
    color: #0071bc;  /* primary */
}
.doc-item-small .source a:hover {
    color: #3e94cf;  /* focus */
}
.doc-item-small .source a:active, a:focus {
    color: #3e94cf;  /* focus */
}

.doc-item-small .date {
    font-size: 1.2rem;
    color: #5b616b;
    text-transform: uppercase;
    margin-left: 1.5rem;
}

.doc-item-small .title {
    margin: 0.25rem 0;
    /*font-family: BlinkMacSystemFont,-apple-system,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;*/
    /* font-family: "Public Sans", "Helvetica Neue", "Arial", sans-serif; */
    font-size: 1.6rem;
    font-weight: 600;
}
.doc-item-small .title a {
    color: #212121; /* base */
}
.doc-item-small .title a:visited {
    color: #806C99; /* gray-violet */
}
.doc-item-small .title a:hover {
    color: #3e94cf;  /* focus */
}
.doc-item-small .title a:active, a:focus {
    color: #3e94cf;  /* focus */
}

.doc-item-small .description {
    margin: 0;
    color: #5b616b;
    font-size: 1.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* media summaries */

.media {
    display: block;
}

a.media {
    color: #212121;
}

a.media:hover {
    /*text-decoration: none;*/
    color: #3e94cf;  /* focus */  /* why is this necessary? */
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    transition-duration: 280ms;
}

.media-small {
    overflow: hidden;
}

.media-small figure {
    margin: 0;
}

.media .image {
    margin-bottom: 4px;
    position: relative;
}

.media .image .aspect-wide {
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #d6d7d9;
}

.media .image .video-play {
    z-index: 10;
    position: absolute;
    font-size: 24px;
    color: white;
    opacity: 0.5;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
}

.media:hover .image .video-play {
    opacity: 0.75;
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
    transition-duration: 280ms;
}

.media-small .title {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2rem;
    max-height: 6rem;
}

