/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/* make featured images wider in carousel 
.carousel-slider .featured-slider .featured-image img {
    width: 600px;
}*/
/*HOME PAGE*/
.tax-jetpack-portfolio-type div#content:before {
    display: block;
    content: "Explore the Vault";
    font-size: 40px;
    color: #a31d26;
    text-align: center;
    margin-bottom: 32px;
    margin-top: 32px;
    font-weight: bold;
    line-height: 1.2;
}

.tax-jetpack-portfolio-type .main-container {
    margin-top: 0 !important
}

#jp-relatedposts {
    margin: auto;
}
body #jp-relatedposts {
    margin-top: 0;
}
@media only screen and (max-width: 1440px) {
body #jp-relatedposts {
    margin-top: 0;
}
}
@media only screen and (min-width: 768px) {
.entry-content > *, [class*="inner-container"] > * {
 
    margin-bottom: 10px;
}
}
.readview {
    font-size: 0.75rem !important;
}

.readview a {
    font-size: 0.75rem !important;
}

.entry-content .read-more-link {
    display: none;
}

.entry-content li:not(.listing-item) {
    list-style-position: inside;
    text-indent: -1.5em;
    padding-left: 1.5em;
}

.entry-content li.share-facebook,
.entry-content li.share-twitter,
.entry-content li.share-end,
.entry-content li.share-google-plus-1 {
    text-indent: 0;
    padding-left: 0;
}
.insert p {
    margin-bottom: 0.8em !important;
}
.vault-categories li {
    padding-left: 10px !important;
}

.category-filter {
    margin-bottom: 1em;
}

.video-container .wp-video {
    width: 100% !important;
    height: 0px;
    overflow: hidden;
    padding-bottom: 57.7%
}

.video-container .wp-video iframe,
.video-container .wp-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 1025px) {
    .site-content {
        /* border-top: 20px solid #e0e0e0; */
    }

    body.archive div#content {
        margin-top: 22px !important;
    }

    /*     4 across */
    .resource-gallery .floatleft {
        max-width: calc(25%);
    }

    .resource-gallery .floatleft:nth-child(4n+5) {
        clear: both;
        /* background-color:red */
    }
}

@media only screen and (min-width: 768px) {
    .sticky-header .site-header {
        background-color: #e0e0e0;
    }
}

.carousel-slider .featured-slider {
    display: none;
}

@media only screen and (min-width: 1025px) {
    .site-branding {
        width: 450px !important;
    }
}

@media only screen and (min-width: 768px) {

    /*NAV LINKS*/
    .category-filter a {
        color: #000000;
    }

    .entry-title a {
        font-size: .75em;
    }

    .category-filter li {
        margin-left: 15px;
        margin-right: 15px;
    }

    .nav-menu>li {
        margin: 0 0 0 30px;
    }

    /*SIDEBAR TEXT*/
    .textwidget {
        font-size: 1em !important;
    }

    /*CATEGORY LINKS*/
    .site-info,
    .site-info a,
    .widget,
    .widget a,
    .widget .search-form,
    .tagcloud a {
        color: #000000;
    }

    .site-info,
    .site-info a:hover,
    .widget a:hover,
    .tagcloud a:hover {
        color: #a31d26;
        text-decoration: underline;
    }

    /*IMAGE BORDER HOME PAGE*/
    .featured-image a,
    .gallery-size-full {
        border-left: 1px solid #555555;
        border-right: 1px solid #555555;
        border-top: 1px solid #555555;
        border-bottom: 10px solid #a31d26;
        /* display: inline-block; */
        width: 100%;
    }

    /*HOME PAGE TITLES*/
    .masonry .entry-title,
    .masonry .page .entry-title {
        line-height: 1em;
        padding-bottom: 10px;
    }

    /*HOME PAGE SLIDER
                                                .carousel-slider .featured-slider .featured-image img {
                                                    height: 50vh !important; 
                                                }*/
    .carousel-slider .featured-slider article {
        cursor: -webkit-grab;
        cursor: -moz-grab;
        margin: 0;
    }
}

@media only screen and (min-width: 1025px) {
    .site-branding {
        display: table-cell;
        text-align: left;
        vertical-align: top;
        width: 380px;
    }

    .standard-menu .main-navigation ul ul a {
        color: #000000;
    }

    .standard-menu .main-navigation ul ul a:hover,
    .standard-menu .main-navigation ul ul a:hover+a,
    .standard-menu .main-navigation ul ul li.menu-item-has-children:hover>a {
        color: #a31d26;
    }
}

/*.slide-text {
    display: none;
}*/
.slide-text .entry-content {
    display: none;
}

.slide-text .entry-meta {
    display: none;
}

.slide-text {
    color: #000000 !important;
    font-size: 1em;
}

.featured-slider {
    background-color: #d2d2d2;
    padding: 25px 0 0;
    border-bottom: 12px solid #a31d26;
}

.carousel-slider .featured-slider-wrap {
    padding-top: 0 !important;
}

.featured-slider-wrap+.site-content .category-filter {
    margin-top: 1rem;
}

.admin-bar.sticky-header .site-header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.featured-slider-wrap+.site-content .category-filter {
    margin-top: 1rem;
    margin-bottom: 0 !important;
}

/*FIX SPACING UNDER FILTER ON HOME PAGE*/
ul .category-filter .container {
    margin-bottom: 0 !important;
}

.main-container {
    margin-top: 3rem !important;
}

.tax-jetpack-portfolio-type .site-content {
    padding-top: 0 !important;
}

.site-header {
    padding: 0 0 10px;
}

a {
    color: #a31d26;
}

.category-filter a:hover {
    color: #a31d26;
    border-bottom: 1px solid #a31d26;
}

.category-filter a {
    color: #a31d26;
    font-size: 13px !important;
}

.entry-content p {
    color: #000000;
}

p.excerpt-links {
    margin-top: 1em;
}

.read-more-link {
    color: #a31d26 !important;
}

.read-more-link a:hover {
    border-bottom: 1px solid #a31d26 !important;
}

.category-list a {
    border-bottom: 1px solid transparent;
}

.category-list a:hover {
    color: #a31d26;
    border-bottom: 1px solid #a31d26;
}

.home .masonry article:first-of-type {
    border: 5px solid #a31d26;
    background: #f3f3f3;
    padding: 10px 10px 0px 10px;
    margin-left: 25px;
    margin-right: 25px;
}

.home .featured-image a,
.home .featured-image img,
.archive .featured-image img {
    width: 100% !important;
}

.masonry .featured-image+.entry-meta {
    margin-top: .5rem;
}

.masonry .entry-title {
    margin-top: 0;
    margin-bottom: 0;
}

.masonry .entry-title a:hover {
    text-decoration: underline;
}

.entry-content a:hover {
    /* text-decoration: underline; */
    border-color: inherit;
}

/*WIDGET*/
.widget-title {
    font-size: 1.5em !important;
}

.custom_html-2.widget_text {
    font-size: 1.5em;
}

.textwidget {
    font-size: 1.25em;
    color: #000000;
}

/*POSTS*/
.single .featured-image {
    display: none;
}

/*.single .featured-image {
    width: 345px !important;
}*/
.single .hero {
    padding-bottom: 5vh !important;
}

.single .site-content {
    padding-top: 20px;
}

.single .featured-image+.entry-header {
    margin-top: 0rem;
}

.single .entry-meta {
    /* display: none; */
}

.single .entry-title {
    margin-top: .5em;
}

.single-video-thumb {
    display: table;
}

.single-video-thumb a:first-child {
    border-color: transparent;
    display: table-caption;
    padding-right: 12px;
}

.single-video-thumb a:last-child {
    margin-top: 10px;
    display: inline-block;
    clear: both;
}

.video {}

a.video-title {
    display: inline-block;
    float: left;
    font-size: 1.35rem;
}

a.video-thumb {
    display: block;
    float: left;
    clear: both;
}

.video img {
    margin-top: 10px !important;
    float: left;
    margin-bottom: 1em !important;
}

.video-meta {
    float: left;
    clear: none;
    padding-left: 20px;
    padding-top: 10px;
    display: inline-block;
    max-width: calc(100% - 200px);
}

.alignnone {
    margin: 0 !important;
    padding: 0;
}

.posttable {}

h1 {
    color: #a31d26 !important;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.2rem;
}

.details {
    font-size: 14px !important;
    line-height: 1.5em !important;
}

.author-box {
    display: none;
}

.widget .search-form input[type=search] {
    background-color: #ffffff;
}

.widget-title {
    margin-bottom: .75rem;
}

.widget+.widget {
    margin-top: 3rem;
}

/*STANDARD PAGE*/
.page .site-content {
    padding-top: 0;
}

/*SIDEBAR STYLE*/
.sidebar {
    max-width: 275px;
    float: right;
    background-color: #f3f3f3;
    padding: 25px;
    border-bottom-right-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    border-top: 35px solid #a31d26 !important;
    border-bottom: 55px solid #a31d26 !important;
}

/*POST FOOTER*/
.entry-footer a {
    color: #000000;
}

.container-small h2 {
    color: #a31d26;
}

.container-small h5 {
    font-size: .75em;
    font-weight: normal;
}

/*.wp-caption img {
    border: 1px solid #999999;
*/
.wp-caption {
    border: 1px solid #999999;
    padding: 10px;
}

.wp-caption-text {
    max-width: 100%;
    color: #000000;
}

.alignright .wp-caption-text {
    background-color: #ffffff;
    text-align: left;
}

.container-small table {
    border: 2px solid #b8b8b8;
    padding: 15px;
    background-color: #f5f5f5;
}

.vaulttable td {
    width: 50%;
}

.container-small table td {
    font-size: 1em !important;
    line-height: 1.6em !important;
}

/*SECONDARY PAGES*/
.page .page-title {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.entry-content h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    padding-top: 0;
    margin-top: 0;
}

.entry-content h3 {
    font-size: 1.35rem;
    color: #000000;
    margin: 0;
    padding: 0px 0px 10px 0px;
}

.entry-content h5 {
    font-size: .75em;
    font-weight: normal;
}

.page .page-header h1 {
    font-size: 2.5rem !important;
}

.comments-area {
    margin-top: 0;
}

.comment-respond {
    padding-top: 0;
}

/* Remove sidebar from chil pages of 'Explore the Vault' GP-7611356-hc 
.parent-pageid-156 #secondary {
  display: none;
}

.parent-pageid-156 #primary,
.parent-pageid-156 #primary .container-small {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
    */
/*--- Remove sidebar from Portfolio projects and Explore the vault page / #7611356-hc ck ---*/
.jetpack-portfolio-template-default .sidebar,
.page-id-156 #secondary,
.page-id-8388 #secondary,
.page-id-8394 #secondary,
.page-id-8397 #secondary,
.page-id-8366 #secondary,
.page-id-8389 #secondary,
.page-id-9487 #secondary,
.page-id-8391 #secondary,
.page-id-8401 #secondary,
.page-id-8399 #secondary {
    display: none;
}

.jetpack-portfolio-template-default #primary,
.page-id-156 #primary,
.page-id-8388 #primary,
.page-id-8394 #primary,
.page-id-8397 #primary,
.page-id-8366 #primary,
.page-id-8389 #primary,
.page-id-9487 #primary,
.page-id-8391 #primary,
.page-id-8401 #primary,
.page-id-8399 #primary {
    width: 100% !important;
    /*to override the media queries*/
}

.page-id-156 .container .container.container-small,
.jetpack-portfolio-template-default .container .container.container-small,
.page-id-8388 .container .container.container-small,
.page-id-8394 .container .container.container-small,
.page-id-8397 .container .container.container-small,
.page-id-8366 .container .container.container-small,
.page-id-8389 .container .container.container-small,
.page-id-9487 .container .container.container-small,
.page-id-8391 .container .container.container-small,
.page-id-8401 .container .container.container-small,
.page-id-8399 .container .container.container-small {
    max-width: none;
    max-width: unset;
}

/*FORMAT VAULT PAGE*/
.jetpack-portfolio-template-default .category-list {
    display: none;
}

.jetpack-portfolio-template-default .entry-content td {
    padding: 18px 15px 8px 18px;
}

.nav-menu li .dropdown-toggle {
    width: 100%;
    right: 0px;
    top: .9em;
    transform: none !important;
    position: absolute;
}

.toggle-on>a>.icon-drop-down {
    float: right;
    /* transform: none; */
    transform: rotate(180deg) !important;
}

.icon-drop-down {
    float: right;
    /* margin-right: -15px; */
}

a.portfolio-featured-image {
    border-left: 1px solid #555555;
    border-right: 1px solid #555555;
    border-top: 1px solid #555555;
    border-bottom: 10px solid #a31d26 !important;
    display: inline-block;
}

a.portfolio-featured-image img {
    display: block;
}

@media only screen and (min-width: 768px) {
    .home .masonry article:first-of-type {
        width: calc(50% - 50px);
    }

    .icon-drop-down {
        margin-right: -15px;
    }

    .jetpack-portfolio-template-default .container-small .authortable table td tr {
        border: 0px;
    }

    .jetpack-portfolio-template-default .entry-content .authortable td {
        padding: 5px 15px 5px 0px;
        background-color: #ffffff;
        border: 0px;
        vertical-align: top;
    }

    .container-small table {
        padding: 15px;
        background-color: #ffffff;
        border: 0px;
    }
}

@media only screen and (min-width: 1200px) {
    .home .masonry article:first-of-type {
        width: calc(33.33333% - 50px);
    }
}

.authortable img {
    clear: left;
    float: left;
    margin: 0px 15px 10px 0px ! important;
}

/*PORTFOLIO DEFAULT PAGE*/
.portfolio-featured-image+.portfolio-entry-title {
    font-size: 1rem;
}

body .portfolio-entry {
    margin-bottom: 1.5em !important;
}

.portfolio-entry-meta span {
    display: none;
}

.portfolio-entry-meta .project-types {
    display: none;
}

.portfolio-entry-meta a {
    font-size: 11px !important;
    text-transform: uppercase;
}

.floatleft {
    float: left;
    padding: 0px 12px 12px 0px;
}

.clearfloatleft {
    clear: left;
}

.single-post .container-small .clearfloatleft {
    height: 20px;
}

.clear {
    clear: both;
}

.vaultnav {
    padding-top: 30px;
    text-align: center;
}

.vaultcategories {
    font-size: 13px;
    color: #a31d26;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.tiled-gallery .tiled-gallery-item img,
.tiled-gallery .tiled-gallery-item img:hover {
    padding: 0px 0px 0px 0px;
}

.listing-item img {
    border: 1px solid black;
    border-bottom: 10px solid #a31d26;
}

.listing-item {
    list-style: none;
}

.display-posts-listing .listing-item {
    clear: both;
    margin-bottom: 30px;
    /* display: flex; */
}

.display-posts-listing img {
    float: left;
    margin: 0 20px 30px 0;
}

.portfolio-entry-title+.portfolio-entry-meta {
    margin-top: 0em !important;
}


/*added by Holewinski Group, Jan 2019*/
@media only screen and (max-width: 1165px) {
    .site-header {
        padding: 0 0 1rem;
    }

    .site-branding {
        max-width: 200px;
    }

    .big-search {
        overflow: hidden;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .site-header input[type="search"],
    .no-results input[type="search"],
    .error-404 input[type="search"] {
        width: 80%;
    }

    #big-search-close {
        right: 50px;
    }

    .admin-bar #big-search-close {
        top: 57px;
    }

    .demo-site #big-search-close {
        top: 137px;
    }

    .standard-menu .menu-toggle {
        display: block;
    }

    .standard-menu .menu-toggle:hover {
        background-color: transparent;
    }

    #big-search-trigger {
        right: 30px;
    }

    .menu-toggle {
        background: none;
        border: none;
        display: inline-block;
        font-size: 0 !important;
        height: 40px;
        margin-top: -22px;
        margin-left: -7px;
        padding: 0;
        text-align: center;
        width: 40px;
        position: absolute;
        right: 60px;
        top: 50%;
        z-index: 1001;
    }

    .menu-toggle:focus,
    .menu-toggle:active {
        background: none;
    }

    .menu-toggle i {
        color: #000;
        display: inline-block;
        font-size: 12px;
        font-style: normal;
        margin-top: -7px;
        text-indent: 0;
        text-transform: uppercase;
        position: relative;
        top: 20px;
        left: -1px;
    }

    .menu-toggle span,
    .menu-toggle span:before,
    .menu-toggle span:after {
        background-color: #000;
        height: 2px;
        position: absolute;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
    }

    .menu-toggle span {
        margin-top: 0px;
        width: 33px;
        top: 50%;
        right: 7px;
    }

    .toggled .menu-toggle span {
        right: 12px;
    }

    .menu-toggle span:before,
    .menu-toggle span:after {
        content: "";
        right: 0;
    }

    .menu-toggle span:before {
        width: 33px;
        top: -5px;
    }

    .menu-toggle span:after {
        width: 33px;
        top: 5px;
    }

    .toggled .menu-toggle span {
        background-color: transparent !important;
    }

    .toggled .menu-toggle span:before,
    .toggled .menu-toggle span:after {
        width: 20px;
        top: 0;
    }

    .toggled .menu-toggle span:before {
        -webkit-transform: rotate(45deg) translateZ(0);
        -moz-transform: rotate(45deg) translateZ(0);
        -ms-transform: rotate(45deg) translateZ(0);
        -o-transform: rotate(45deg) translateZ(0);
        transform: rotate(45deg) translateZ(0);
    }

    .toggled .menu-toggle span:after {
        -webkit-transform: rotate(-45deg) translateZ(0);
        -moz-transform: rotate(-45deg) translateZ(0);
        -ms-transform: rotate(-45deg) translateZ(0);
        -o-transform: rotate(-45deg) translateZ(0);
        transform: rotate(-45deg) translateZ(0);
    }

    .site-header nav {
        margin: 0;
        text-transform: none;
    }

    .site-header nav,
    .dropdown-toggle {
        font-size: 20px;
        font-size: 1.375rem;
    }

    .menu-toggle+div,
    .main-navigation>.menu {
        background-color: rgba(255, 255, 255, .95);
        opacity: 0;
        overflow-y: auto;
        overflow-x: hidden;
        text-align: center;
        visibility: hidden;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
    }

    .toggled .menu-toggle+div,
    .toggled.main-navigation>.menu {
        opacity: 1;
        visibility: visible;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
    }

    .menu-toggle+div:before,
    .main-navigation>.menu:before {
        content: "";
        display: inline-block;
        height: 100%;
        margin-right: -0.25em;
        vertical-align: middle;
    }

    .main-navigation .nav-menu {
        display: inline-block;
        padding: 90px 50px;
        text-align: center;
        vertical-align: middle;
        width: 100%;
    }

    .main-navigation .nav-menu li {
        display: block;
        margin: 0 0;
        /* padding: 0; */
        width: 80%;
        margin-left: 10%;
        line-height: 1.1em;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .icon-drop-down:before {
        content: none;
    }

    .main-navigation .nav-menu li.menu-item-has-children>a:first-child:after {
        content: "\e903";
        /* transform: rotate(180deg) !important; */
        font-family: 'icomoon' !important;
        position: relative;
        top: .2em;
        left: 1em;
        display: inline-block;
    }

    .main-navigation .nav-menu li.menu-item-has-children.toggle-on>a:first-child:after {
        /* transform: none !important; */
        transform: rotate(180deg) !important;
    }

    .icon-drop-down {
        position: relative;
        top: 0.8em;
    }

    .main-navigation .nav-menu li a {
        color: black !important;
        /* display: block; */
    }

    .main-navigation .nav-menu>li:first-child {
        margin-top: 0;
    }

    .nav-menu>li {
        font-size: 24px;
        line-height: 1.1em;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .nav-menu>li>a,
    .main-navigation a {
        color: #000;
    }

    .nav-menu>li>a {
        font-weight: 700;
        /* padding-top: 10px; */
        /* padding-bottom: 10px; */
    }

    .nav-menu>li>.dropdown-toggle {
        /* margin-left: 30px; */
        /* margin-right: -53px; */
        height: 100%;
        display: inline-block;
        width: 100%;
        left: 0;
        right: auto;
    }

    .nav-menu .sub-menu li {
        font-size: 15px;
        padding: 5px 0 !important;
    }

    .nav-menu .sub-menu li .dropdown-toggle {
        font-size: 11px;
        /* margin-left: 10px; */
        margin-right: 0;
        height: 100%;
    }

    .main-navigation ul ul {
        text-align: center !important;
        max-height: 0;
        overflow: hidden;
        padding: 0 !important;
        position: static !important;
        width: 100% !important;
    }

    .toggle-on>a~ul {
        max-height: 400px;
        background-color: transparent !important;
    }
}

@media only screen and (max-width: 1024px) {
    .site-branding {
        max-width: 300px;
    }

    /*     3 across */
    .resource-gallery .floatleft {
        width: 33%;
        max-width: 33%;
    }

    .resource-gallery .floatleft figure,
    .resource-gallery .floatleft img {

        width: 100% !important;
        max-width: none !important;

    }

    .resource-gallery .floatleft:nth-child(4n+5) {
        clear: none;
        /* background-color:red */
    }

    .resource-gallery .floatleft:nth-child(3n +4) {
        clear: both;
        /* background-color:red; */
    }


}

@media only screen and (max-width: 991px) {
    #secondary {
        max-width: 100%;
        margin-top: 1em !important;
    }

    #secondary {
        max-width: 100%;
    }

    #secondary .textwidget img {
        max-width: none;
        width: 100% !important;
    }
}

@media only screen and (max-width: 768px) {
    .site-branding {
        width: 65%;
        max-width: 65%;
        position: relative;
        left: -30px;
    }

    .home .featured-image {
        text-align: center;
    }

    .home .featured-image img {
        width: 100% !important;
        /* max-width: 400px; */
    }

    .home .grid-sizer,
    body.archive .grid-sizer {
        display: none;
    }

    .home .featured-slider-wrap+.site-content .main-container {
        margin-top: 1em !important;
    }

    .featured-image a {
        font-size: 0;
        background-color: #a31d26;
    }

    .featured-image a,
    .gallery-size-full {
        border-left: 1px solid #555555;
        border-right: 1px solid #555555;
        border-top: 1px solid #555555;
        border-bottom: 10px solid #a31d26;
        width: 100%;
        max-width: 400px;
    }

    .display-posts-listing .excerpt {
        overflow: auto;
        display: block;
        min-height: 100px;
        /* float: right; */
    }

    /*     2 across */
    .resource-gallery .floatleft {
        clear: none !important;
        width: 50% !important;
        max-width: none !important;
    }

    .resource-gallery .floatleft img {

        width: 100% !important;
        max-width: none !important;

    }

    .resource-gallery .floatleft:nth-child(3n +4) {
        clear: none;
        /* background-color:red; */
    }

    .resource-gallery .floatleft:nth-child(2n+3) {
        clear: both !important;
        /* background: red; */
    }

    body #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
        margin-top: 0px;

    }
}

@media only screen and (max-width: 500px) {
    .display-posts-listing img {
        margin-bottom: 50px;
    }

    /*     1 across */
    .resource-gallery .floatleft,
    .resource-gallery .floatleft figure {
        width: 100% !important;
        max-width: none;
    }

    .resource-gallery .floatleft {
        clear: both;
    }
}

table.picture-frame tbody,
table.picture-frame tfoot {
    display: table;
}

.enlarge-link {
    font-size: 10px;
}

.enlarge-link a:hover {
    /* border:none; */
}

table.picture-frame,
table.picture-frame tfoot {
    background-color: #2d232a;
    padding: 0;
    border-width: 0;
}

table.picture-frame th {
    text-align: center;
    font-size: 32px;
    font-weight: normal;
    line-height: 1em;
    color: white;
    padding: 15px;
}

table.picture-frame tbody td {
    padding: 10px;
    padding-top: 0;
}

table.picture-frame td {
    padding-bottom: 0;
    border-right-width: 0;
}

table.picture-frame img {
    width: 100%;
}

table.picture-frame tfoot tr {
    background-color: #2d232a;
    border: 10px solid #2d232a;
    border-top-width: 0;
}

table.picture-frame tfoot td {
    background-color: #ffffff;
    padding: 20px 30px;
}

.search-post-type {
    display: none;
}

@media only screen and (max-width: 768px) {
    .home .masonry article:first-of-type {
        width: calc(100% - 50px);
    }
}

blockquote1 {
    display: block;
    border-width: 2px 0;
    border-style: solid;
    border-color: #ccc;
    padding: 3em 0.5em;
    margin: 1.5em 0;
    position: relative;
    max-width: 800px;
}

blockquote1:before {
    content: '\201C';
    position: absolute;
    top: 0em;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 3rem;
    height: 2rem;
    font: 6em/1.08em 'PT Sans', sans-serif;
    color: #666;
    text-align: center;
}

blockquote1:after {
    content: "\2013 \2003"attr(cite);
    display: block;
    text-align: right;
    font-size: 0.875em;
    color: #666;
}

blockquote {
    display: block;
    border-width: 2px 0;
    border-style: solid;
    border-color: #ccc;
    padding: 3em 0.5em;
    margin: 1.5em 0;
    position: relative;
    max-width: 800px;
}

blockquote:before {
    content: '\201C';
    position: absolute;
    top: 0em;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 3rem;
    height: 2rem;
    font: 6em/1.08em 'PT Sans', sans-serif;
    color: #666;
    text-align: center;
}

blockquote:after {
    content: attr(cite);
    display: block;
    text-align: right;
    font-size: 0.875em;
    color: #666;
}

.entry-content li {
    color: #000000;
}

.tiled-gallery .gallery-row {
    overflow: VISIBLE;
}

.tiled-gallery .gallery-group {
    height: auto !important;
}

.container-small table td {
    vertical-align: top;
}

/* Remove sidebar from specific pages  */
.parent-pageid-8366 #secondary {
    display: none;
}

.parent-pageid-8366 #primary,
.parent-pageid-8366 #primary .container-small {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.entry-content th {
    vertical-align: top;
}

/*Border for images*/
.imageborder {
    border: 1px solid #999999;
    padding: 10px;
}

/*fix floats*/
.clearfix:after {
    content: "";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

/* Vertical space for vault table content */
.tableverticalspace {
    min-height: 5px;
    margin: 0px;
    padding: 0px;
    line-height: 1.25em;
}

.portfolio-featured-image img {
    width: 100%;
}

/*Fix anchor tag position*/
:target:before {
    content: "";
    display: block;
    height: 150px;
    /* fixed header height*/
    margin: -150px 0 0;
    /* negative fixed header height */
}

/* Print Style Sheet */
@media print {
    #primary {
        width: 100% !important;
    }

    .archive .site-content {

        padding-top: 0px;

    }

    .main-container {
        margin-top: 2rem !important;
    }

    .archive .category-filter,
    .archive .grid-sizer,
    .home .category-filter,
    .home .grid-sizer,
    p.excerpt-links {
        display: none;
    }

    .site-branding {
        text-align: left;

    }

    .site-branding img {
        width: 40%;
        max-width: 400px;
    }

    element {
        display: none;
    }

    #site-navigation,
    #big-search-trigger {
        display: none;
    }

    .sticky-header .site-header {
        background-color: transparent;
        position: absolute;
    }

    .fullwidth-slider .add-bg-color {
        display: none;
    }

    .category-list a {
        display: none;
    }

    #content div.sharedaddy,
    #main div.sharedaddy,
    div.sharedaddy {
        display: none;
    }

    body {
        background: #fff none !important;
        color: #000;

    }

    #wrapper {
        clear: both !important;
        display: block !important;
        float: none !important;
        position: relative !important;
    }

    #header {
        border-bottom: 2pt solid #000;
        padding-bottom: 18pt;
    }

    #colophon {
        border-top: 2pt solid #000;
    }

    #site-title,
    #site-description {
        float: none;
        line-height: 1.4em;
        margin: 0;
        padding: 0;
    }

    #site-title {
        font-size: 13pt;
    }

    .entry-content {
        font-size: 14pt;
        line-height: 1.6em;
    }

    .entry-title {
        font-size: 21pt;
    }

    #access,
    #branding img,
    #respond,
    .comment-edit-link,
    .edit-link,
    .navigation,
    .page-link,
    .widget-area {
        display: none !important;
    }

    #container,
    #header,
    #footer {
        margin: 0;
        width: 100%;
    }

    #content,
    .one-column #content {
        margin: 24pt 0 0;
        width: 100%;
    }

    .single .site-content,
    .blog:not(.fullwidth-slider):not(.carousel-slider) .site-content,
    .page .site-content,
    .archive .site-content,
    .search .site-content,
    .search.infinite-scroll .site-content,
    .error404 .site-content {

        padding-bottom: 1em;
    }

    .wp-caption p {
        font-size: 11pt;
    }

    #site-info,
    #site-generator {
        float: none;
        width: auto;
    }

    #colophon {
        width: auto;
    }

    img#wpstats {
        display: none;
    }

    #site-generator a {
        margin: 0;
        padding: 0;
    }

    #entry-author-info {
        border: 1px solid #e7e7e7;
    }

    #main {
        display: inline;
    }

    .home .sticky {
        border: none;
    }

    .archive .masonry article,
    .home .masonry article {
        position: static !important;
        width: 33% !important;
        float: left !important;
        display: block;
        margin: 0 !important;
    }

    .archive .masonry article:nth-of-type(3n+1),
    .home .masonry article:nth-of-type(3n+1) {
        clear: left !important;
    }

    #infinite-footer {
        position: static;
    }

    button.back-to-top,
    .blog-credits {
        display: none !important;
    }

    body.home span.readview-sep,
    #post-5 span.readview-sep,
    .vault-categories {
        display: none;

    }

    body.archive article.post,
    body.home article.post,
    #post-5 .listing-item,
    figure.wp-caption,
    table.picture-frame,
    .print-full-width,
    .vaulttable,
    .video-container,
    .mejs-overlay,
    .video,
    .video-thumb,
    .video-thumb img {
        page-break-inside: avoid;
    }

    .print-full-width {
        clear: both;
    }

    .display-posts-listing .listing-item {
        clear: both;



    }

    .display-posts-listing img {

        margin-bottom: 0;
    }

    .listing-item a {
        position: relative;
    }

    .display-posts-listing .excerpt:after {
        content: "";
        visibility: hidden;
        display: block;
        height: 0;
        clear: both;
    }



    .readview-link,
    body.archive article span.readview,
    .home article span.readview,
    .listing-item span.readview {
        text-indent: -2999px;
        font-size: 0px;
        min-width: 1em;
        display: inline-block;
        background: white;
        right: -1em;
        position: relative;

    }

    .video-player iframe,
    .jetpack-video-wrapper,
    .mejs-poster,
    .mejs-overlay-button {

        -webkit-print-color-adjust: exact;
    }

    body #jp-relatedposts {
        margin-top: 0;
        margin-bottom: 0;
    }

    .single .site-content {
        margin-bottom: 0;
    }

    #colophon,
    .vaultnav {
        display: none;
    }

    .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;

    }

    .jp-relatedposts-post .jp-relatedposts-post-a img {

        width: 100% !important;
        max-width: none !important;
    }

    .video-container.r56 .wp-video {

        padding-bottom: 56% !important;
    }

    .video-container video {
        background-repeat: no-repeat;
        object-fit: cover
    }

    .video-container,
    .video-container .wp-video,
    .mejs-container,
    .mejs-container .mejs-controls,
    .mejs-embed,
    .mejs-embed body {

        background-color: white !important;
    }

    .video-container .wp-video {
        background-color: white !important;

    }

    .jetpack-video-wrapper {
        display: none !important;
    }


    .mejs-poster {
        background-size: cover !important;
        background-repeat: no-repeat;
    }
	.single.single-jetpack-portfolio .featured-image {
      display: block;  
		    max-width: 300px;
    margin: auto;

}
}

@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: 768px) {

    /*     2 across */
    .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) {


    /*     1 across */
    .resource-gallery .floatleft,
    .resource-gallery .floatleft figure {
        width: 100% !important;
        max-width: none;
    }




}
/**
* START: CUSTOM CSS TO CHANGE SUBSCRIBER MODAL TEXT
*/
.jetpack-subscribe-modal h2,
.jetpack-subscribe-modal h2 + p {
  visibility: hidden;
  letter-spacing: -100rem;
  --subscribe-title: "See What's Screening Now";
  --subscribe-tagline: "Subscribe to stay current on film research in the NLM collection";
}
 
.jetpack-subscribe-modal h2::after {
  letter-spacing: initial;
  visibility: visible;
  content: var(--subscribe-title);
}
 
.jetpack-subscribe-modal h2 + p::after {
  letter-spacing: initial;
  visibility: visible;
  content: var(--subscribe-tagline);
}
/**
* END: CUSTOM CSS TO CHANGE SUBSCRIBER MODAL TEXT
*/