
.usa-label {
    margin-right: 4px;
    border-radius: 5px;
}

.ncbi-sans {
    font-family: "Roboto", "Arial", "Tahoma", sans-serif;
}

#account_info {
    margin-bottom: 0.5rem;
}

table {
    min-width: 100%;
}

table tr {
    vertical-align: top;
}

th.num {
    text-align: right;
}

td.num {
    text-align: right;
}

p {
    line-height: normal;
}


form > :first-child {
    margin-top: 0;
}

form > :last-child {
    margin-bottom: 0;
}


.ncbi-text-small {
    font-size: 1.4rem;
}

.ncbi-text-small-light {
    font-size: 1.4rem;
 }

/* ncbi-popup */

.ncbi-popup-body > :first-child {
    margin-top: 0;
}

.ncbi-popup-body > :last-child {
    margin-bottom: 0;
}


/* ncbi-docsum */

.ncbi-docsum {
    position: relative;
    margin: 0 0 1.5rem 0;
    line-height: initial;
    max-width: 800px;
    overflow: hidden;
}


.ncbi-thumbnail {
    width: 100px;
    margin-right: 2rem;
    border: 1px solid #aeb0b5;
}

@media screen and (min-width: 600px) {
    .ncbi-thumbnail {
        position: absolute;
        top: 4px;
        left: 0;
    }
}

.ncbi-thumbnail img {
    display: block;
    width: 100%;
}

@media screen and (min-width: 600px) {
    .ncbi-beside-thumbnail {
        margin-left: 120px;
        overflow: hidden;
    }
}

.ncbi-beside-thumbnail > :first-child {
    margin-top: 0;
}

.ncbi-beside-thumbnail > :last-child {
    margin-bottom: 0;
}


.ncbi-docsum a:hover {
    text-decoration: underline;
    text-decoration-color: #9bdaf1;
    text-decoration-offset: 1px;
    text-decoration-thickness: 2px;
    -webkit-text-decoration-color: #9bdaf1;
}

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

.ncbi-docsum > :first-child {
    margin-top: 0;
}

.ncbi-docsum > :last-child {
    margin-bottom: 0;
}

.ncbi-doc-title {
    margin: 8px 0;
    font-size: 2rem;
    font-weight: 500;
    line-height: normal;
}

.ncbi-doc-authors {
    margin: 4px 0;
    font-size: 1.4rem;
    line-height: normal;
}

.ncbi-doc-authors a {
    color: #2e8540;
}

.ncbi-doc-authors a:hover {
    /* color: #0071bc; */
    /* text-decoration: underline; */
}

.ncbi-doc-subtitle a {
    color: #2e8540;
    text-decoration: none;
}

.ncbi-doc-subtitle a:hover {
    /* color: #0071bc; */
    /* text-decoration: underline; */
}

.ncbi-doc-excerpt {
    margin: 4px 0;
    line-height: inherit;
}

.ncbi-doc-description {
    margin: 4px 0;
    font-size: 1.7rem;
    line-height: inherit;
}

.ncbi-doc-source {
    margin: 4px 0 !important;
}

.ncbi-doc-details {
    margin: 4px 0;
    font-size: 1.4rem !important;
}

.ncbi-doc-id {
    margin: 4px 0;
    line-height: inherit;
}

.ncbi-doc-id a:hover {
    /* color: #0071bc; */
}

.ncbi-doc-id ul {
    margin:0;
}

.ncbi-doc-links {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: inherit;
    margin: 16px 0;
}

.ncbi-doc-links ul {
    margin: 0;
}

.ncbi-docsum > :first-child {
    margin-top: 0;
}

.ncbi-docsum > :last-child {
    margin-bottom: 0;
}

p.ncbi-doc-source > a {
    /*text-decoration: underline;*/
}


/* definition list */

@media screen and (min-width: 600px) {
    dl.knowpanel {
        /*max-width: 75%;*/
    }
    dl.knowpanel dt {
        width: 50%;
        max-width: 32rem;
    }
    dl.knowpanel dd {
        width: 50%;
        min-width: calc(100% - 32rem)
    }
}

@media screen and (min-width: 600px) {
    dl dd.num {
        text-align: right;
    }
}






.ncbi-docsum .ncbi-thumb-left { /* don't use this */
    float: left;
}

.ncbi-docsum .ncbi-thumb {  /* don't use this - use .ncbi-thumbnail instead */
    float: left;
    /*margin-right: 17px;*/
    max-width: 140px;
    max-height: 100px;
    border: 1px solid #aaa;
}

.ncbi-docsum .ncbi-doc-id {
    font-size: 1.3rem;
}

.ncbi-docsum .ncbi-doc-id a {
    /* color: #5b616b; */
}

.ncbi-docsum .ncbi-doc-id a:hover {
    /* color: #5b616b; */
}



.ncbi-docsum-small {
    margin-bottom: 1rem;
}

.ncbi-docsum-small .ncbi-doc-title {
    font-size: 1.5rem;
}

.ncbi-docsum-small .ncbi-doc-id {
    font-size: 1.3rem;
}

/* labels */

.ncbi-color-green {
    color: #2e8540;
}

.ncbi-label {
    color: white;
    background-color: #5b616b;
    padding: 1px 8px;
    border-radius: 2px;
    border: 1px solid transparent;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.5rem;
}

.ncbi-label.ncbi-bg-green {
    background-color: #2e8540;
}

.ncbi-label-outline {
    color: #5b616b;
    background-color: white;
    border: 1px solid #5b616b;
}

.ncbi-label-outline.ncbi-color-green {
    color: #2e8540;
    border: 1px solid #2e8540;
}

.ncbi-label.ncbi-bg-green {
    background-color: #2e8540;
}

.ncbi-label-outline.ncbi-color-red {
    color: #cd2026;
    background-color: #f9dede;
    border: 1px solid #cd2026;
}

.ncbi-label.ncbi-bg-red {
    background-color: #981b1e;
}


/* tooltip stuff probably obsolete */
.ncbi-label .ncbi-tooltip {
    padding: 4px 16px 8px;
}

.ncbi-label .ncbi-tooltip-text {
    text-transform: none;
    font-size: 1.3rem;
    letter-spacing: normal;
}

.ncbi-popper {  /* should go to standards2 */
    z-index: 100;
}

.ncbi-more-link {  /* should go to standards2 */
    padding: 8px 20px 8px 0;
    margin-right: 1rem;
}
