/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/*Logo*/
.custom-logo {
    margin: 0;
}

.site-branding {
    margin: 0 0 10px;
}

.site-branding .custom-logo {
    margin: 0 1em .6em 0;
    max-width: none;
}

.header-main {
    padding-top: 0;
}

header#masthead.site-header {
    background-image: url('https://circulatingnow.nlm.nih.gov/wp-content/uploads/2017/05/background-image-2.png');
    background-position: 0 -60px;
}

/*FONTS*/
.entry-title h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

.entry-title a:link, .entry-title a:visited {
    font-weight: 500;
}

/*BACKGROUND COLORS*/
.site-content {
    background: #ffffff;
}

body {
    background: url('https://circulatingnow.nlm.nih.gov/wp-content/uploads/2017/05/nih-bkgrd.png') repeat-x;
    background-color: #667b9a;
}

.post-layout-columns .post-wrapper .post-column article {
    background: #e7e7e7;
    border-radius: 13px 0 0 0;
}

.type-page {
    border-color: #a11423;
    background: #e7e7e7;
}

.primary-navigation-wrap {
    background: #2e2e2e;
}

.site-header, .main-navigation-menu ul, .footer-widgets-wrap {
    background: #2e2e2e;
}

/*BORDER COLORS*/
.type-post, .sticky {
    border-color: #e7e7e7;
}

/*POST BOXES*/
.post-layout-columns .post-wrapper .post-column article {
    padding: 30px 0 15px;
}

.post-layout-columns .post-wrapper .post-column article .wp-post-image {
    margin: 0;
}

.entry-title a:link, .entry-title a:visited {
    color: #ffffff !important;
    background: #a11423 !important;
}

.entry-title a:hover {
    color: #ffffff !important;
    background: #a11423;
    text-decoration: underline;
}

.entry-title {
    color: #ffffff;
    background: #a11423;
    margin: 0 0 20px;
    padding: 12px 25px;
    line-height: 1.35em;
}

a, a:link {
    background: none;
    /*color: #ffffff;*/
}

.entry-meta {
    padding: 0 25px;
}

.entry-content p:last-child {
    padding: 0 25px;
}

.more-link:link, .more-link:visited {
    color: #7f161b;
    padding: 10px 25px;
    text-transform: uppercase;
}

.more-link:hover {
    background: #ffffff;
}

/*FEATURE*/
.zeeflex-viewport {
    overflow: visible;
}

type-post, .type-page, .type-attachment, .comments-area {
    border-top: 10px solid #a11423;
}

.post-slider .zeeslide .slide-content {
    padding: 0;
}

.entry-title {
    word-wrap: normal !important;
}

/*WIDGET*/
.widget {
    border-top: 10px solid #a11423;
    background: #e7e7e7;
    border: 24px 0 0 0;
}

.widget a:link {
    color: #000000;
}

.widget a:visited {
    color: #000000;
}

.wp_widget_tag_cloud div a:link, .wp_widget_tag_cloud div a:visited {
    background: #ffffff !important;
    color: #a11423 !important;
    margin: 5px 10px 5px 0 !important;
    border: 1px solid #ffffff;
}

.wp_widget_tag_cloud div a:hover {
    color: #ffffff !important;
    margin: 5px 10px 5px 0 !important;
    border: 1px solid #bbbbbb;
    background-color: #000000 !important;
    text-decoration: none !important;
}

.wf-active .widget-title {
    font-weight: 500;
}

.widget ul {
    list-style: disc inside;
}

.widget a:hover {
    color: #a11423;
    text-decoration: underline;
}

.entry-tags .meta-tags a:link {
    border: solid 1px #bbbbbb !important;
}

/*POST FORMATTING*/
.single .type-post {
    padding: 0;
}

.wp-post-image {
    width: 852px;
}

.type-post p a {
    color: #a11423 !important;
    text-decoration: underline;
}

.type-post p a:hover, a:visited {
    color: #dc1b30;
    text-decoration: underline;
}

.type-page p a:link {
    color: #a11423;
    text-decoration: underline;
}

.type-page p a:hover, a:visited {
    color: #dc1b30;
    text-decoration: underline;
}

.type-post p {
    padding: 0 27px;
}

.type-post li {
    margin-left: 70px;
}

blockquote {
    margin: 27px;
    color: #a11423;
    background-color: #eeeeee;
}

/*.wp-caption {
	margin: 27px;
}*/
.wp-caption-text a:link {
    color: #7f161b;
    text-decoration: underline;
}

.wp-caption-text a:hover {
    color: #dc1b30;
    text-decoration: underline;
}

.wp-caption-text {
    color: #000000;
    text-align: left;
}

.wp-block-image figcaption {
    color: #000000;
}

.wp-caption {
    margin: 1em 1.75em;
}

.tiled-gallery img {
    margin: 0 27px;
}

.type-post, .sticky {
    box-shadow: none;
}

.type-page h2 {
    line-height: 1.25em;
}

.entry-tags .meta-tags a:link {
    color: #a11423;
    background: #ffffff;
    border: solid 1px;
    margin: 0 12px 10px 0;
}

.entry-tags .meta-tags a:hover {
    color: #ffffff;
    background: #000000;
    border: solid 1px;
    margin: 0 12px 0 0;
}

.type-post li a {
    color: #a11423;
    text-decoration: underline;
}

.type-post li a:hover {
    color: #dc1b30;
    text-decoration: underline;
}

/*POST PAGINATION*/
.post-pagination a:link, .post-pagination a:visited {
    color: #a11423;
}

.post-pagination a:hover {
    color: #ffffff;
}

/*RELATED POSTS*/
.jp-relatedposts-post img {
    border: 1px solid #000000;
}

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
    color: #a11423;
    text-decoration: underline;
}

#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
    text-align: center;
}

div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context {
    text-align: center;
}

/*SUPPRESS AUTHOR*/
.author {
    display: none;
}

.meta-author {
    display: none;
}

/*EDIT VERTICAL SPACE AFTER DATE*/
.entry-meta {
    margin: 0 0 .5rem;
}

/*HEADER MOBILE*/
@media only screen and (max-width: 30em) {
    .site-branding .custom-logo {
        float: none !important;
        display: block !important;
        margin: 0 auto !important;
        max-width: 100%;
    }
}

@media only screen and (max-width: 6) {
    .site-branding .custom-logo {
        border: none !important;
        height: auto !important;
        margin: .6em 1em .6em 0 !important;
        max-width: 400px !important;
    }
}

/*MAIN NAV*/
.main-navigation-menu a:link {
    color: #ffffff !important;
}

.main-navigation-menu a:visited {
    color: #ffffff !important;
    background-color: #a11423 !important;
}

.main-navigation-menu a:hover {
    color: #ffffff !important;
    background-color: #a11423;
}

.main-navigation-menu li a:hover {
    color: #ffffff !important;
    background-color: #a11423 !important;
}

.main-navigation-menu li a:visited {
    color: #ffffff !important;
    background-color: #a11423 !important;
}

/*COMMENTS*/
.comment-content a {
    color: #a11423;
    text-decoration: underline;
}

.comment-content a:visited {
    color: #dc1b30;
}

.comment-content a:hover {
    color: #dc1b30;
}

@media print {
    body {
        background: none;
    }

    body, button, input, select, textarea {
        color: #000000;
    }

    #logo img {
        width: 40%;
        max-width: 400px;
    }

    #main-navigation,.jetpack-video-wrapper, .navigation, .widget_search, .widget_blog_subscription, .widget_rss_links,.widget_archive, #footer-widgets-wrap, #footer, .read-more, #infinite-handle, .post-slider-controls, .jetpack-likes-widget-loaded, .sharedaddy, .entry-footer, #comments, #jp-relatedposts {
        display: none !important;
    }

    body:not(.home) #secondary {
        display: none;
    }

    #secondary {
        width: 100%;
        clear: both;
    }

    #secondary .widget-wrap {
        display: inline;
        VERTICAL-ALIGN: TOP;
    }

    #secondary .widget {
        /* width: 31%; */
        /* display: inline-block; */
        /* margin-right: 3%; */
        page-break-inside: avoid;
    }

    #secondary #text-4.widget {
        margin-right: 0 !important;
    }

    #secondary .widget_categories > ul:not(.children) {
        column-count: 2;
        vertical-align: top;
    }

    .widget_tag_cloud div a:link , .widget_tag_cloud div a:visited{
        color: black !important;
        background-color: transparent !important;
    }

    #secondary .widget_categories ul li {
        display: block;
        vertical-align: top;
        font-weight: bold;
    }

    #secondary .widget_categories ul ul li {
        font-weight: normal;
        
    }

    #secondary .widget_categories ul li a {
         
        font-size: 15px;
    }

    .header-main {
        padding-bottom: 0 !important;
    }

    .zeeflex-viewport {
        /*         height: auto !important;
        margin: auto;
        text-align: center; */
        width: 100%;
        overflow: visible !important;
        /* min-height: 100vh; */
    }

    .wf-active .entry-title {
        font-size: 20px;
        /* word-break:break-all */
    }

    .zeeslides {
        transform: none !important;
        width: 100% !important;
    }

    .post-slider .zeeslide {
        display: none !important;
        max-width: 100%;
        float: none !important;
    }

    .post-slider .zeeslide:first-child {
        display: block !important;
        width: 100% !important;
        /* position: absolute; */
        height: 100% !important;
        /* min-height: 50vh !important; */
    }

    .post-slider .zeeslide .slide-image {
        width: 100% !important;
        /*         max-width: 100% !important;
        float: none !important;
        max-height: none;
        overflow: visible;
        margin: auto; */
        float: NONE;
        max-width: none;
        overflow: HIDDEN;
    }

    .post-slider .zeeslide .slide-content {
        /*         width: 100%;
        display: block; */
        display: block;
        width: 100% !important;
        /* FLOAT: none; */
        clear: both;
    }

    #primary {
        width: 100%;
    }

    #post-wrapper {
        display: block !important;
    }

    .post-layout-two-columns .post-wrapper .post-column {
        display: block;
        float: left;
        width: 49% !important;
        padding-right: 0;
    }

    .post-layout-two-columns .post-wrapper .post-column:nth-of-type(2n+1) {
        clear: left !important;
        padding-right: 2%;
    }

    .post-layout-two-columns .post-wrapper .post-column article {
        /* page-break-inside: avoid; */
    }

    .wp-post-image {
        page-break-inside: avoid;
        -webkit-print-color-adjust: exact;
        width: 100% !important;
    }

    .wp-caption img {
        page-break-inside: avoid;
    }

    .zeeflex-viewport .wp-post-image {
        /*         width: 100% !important;
        margin: auto !important;
        max-height: auto;
        max-height: calc(100vh - 170px); */
        /* display: inline; */
        width: 100% !important;
    }

    article.post {
        display: block !important;
        padding-top: 0 !important;
    }

    .resource-gallery .floatleft figure, .resource-gallery .floatleft figure img, .resource-gallery .floatleft img {
        width: 100% !important;
        max-width: none !important;
    }

    .tiled-gallery .gallery-row {
        width: auto !important;
        height: auto !important;
        display: inline !important;
    }

    .tiled-gallery .gallery-group {
        width: auto !important;
        height: auto !important;
        display: inline !important;
        float: none !important;
    }

    .tiled-gallery .tiled-gallery-item {
        width: auto !important;
        height: auto !important;
        float: none !important;
        display: inline-block !important;
        width: 33% !important;
    }

    .tiled-gallery .tiled-gallery-item img {
        width: 100% !important;
        height: auto !important;
        float: none;
        clear: both;
        display: block !important;
        page-break-inside: avoid;
    }
}

@media only print and (min-width: 1025px) {
    /*     4 across */ .resource-gallery .floatleft {
        width: 25%;
    }

    .tiled-gallery .gallery-group {
    }
}

@media only print and (max-width: 1024px) {
    /*     3 across */ .tiled-gallery .tiled-gallery-item {
        width: 32% !important;
    }

    .tiled-gallery .tiled-gallery-item img {
        max-width: none;
        width: 100%;
    }

    .resource-gallery .floatleft {
    }
}

@media only print and (max-width: 1200px) {
    .post-layout-two-columns .post-wrapper .post-column {
        float: none;
        width: 100% !important;
    }

    .wp-caption.alignright, .wp-caption.alignleft {
        width: 100%;
        float: none;
    }

    .wp-caption.alignright .wp-caption-text ,.wp-caption.alignleft .wp-caption-text {
        text-align: center;
    }
}

@media only print and (max-width: 550px) {
    .post-layout-two-columns .post-wrapper .post-column, .post-slider .zeeslide .slide-image .wp-post-image, .post-slider .zeeslide .slide-content {
        width: 100%;
    }

    .post-slider .zeeslide .slide-image {
        float: none;
        width: 100%;
        max-height: none;
        max-width: 100%;
    }

    .post-slider .zeeslide .slide-content {
        float: none;
        width: 100%;
    }

    .post-slider .zeeslide {
        width: 100% !important;
    }

    .resource-gallery .floatleft {
        width: 50%;
        max-width: 50% !important;
    }

    .tiled-gallery .gallery-row, .tiled-gallery .gallery-group {
        width: 100% !important;
    }
}

@media only print and (max-width: 500px) {
}