#file-and-image .right {
    order: 2;
}

#file-and-image .exhibit-items {
    border: 0 !important;
    -webkit-box-shadow: none;
    box-shadow:none;
    border-image-width: 0;
}

#file-and-image .exhibit-item-caption {
    padding: 1rem 0;
}

 

#file-and-image .exhibit-items-textblock {
}

#file-and-image .exhibit-items-textblock img, .exhibit-items-textblock p img {
 max-height: 100%;
-o-object-fit: cover;
object-fit: cover;
width: auto;
box-shadow: 0 6px 12px -2px rgba(50,50,93,.25),0 3px 7px -3px rgba(0,0,0,.3);
}

#file-and-image .layout-file-text .exhibit-items .download-file {
    clear: both;
    border: 0;
    overflow: visible;
}

 #file-and-image .exhibit-items.left {
 
  order: 1 !important;
 
}

#file-and-image .exhibit-items.right {
  order: 2 !important;
}

#file-and-image .layout-file-text .exhibit-items .fullsize img {
    max-width: 100%;
    margin-bottom: 1em;
}

#file-and-image .full {
    max-height: 100%;
-o-object-fit: cover;
object-fit: cover;
width: auto;
box-shadow: 0 6px 12px -2px rgba(50,50,93,.25),0 3px 7px -3px rgba(0,0,0,.3);
}

#file-and-image .exhibit-item-caption p {
    margin: 0;
    clear: both;
}



#file-and-image .exhibit-item-metadata {
    font-size: 1.1rem;
}
#file-and-image .captions-center .exhibit-item-caption, .captions-center .exhibit-item-metadata {
    text-align: center;
}

#file-and-image .captions-left .exhibit-item-caption, .captions-left .exhibit-item-metadata {
    text-align: left;
}

.captions-right .exhibit-item-caption, .captions-right .exhibit-item-metadata {
    text-align: right;
}


/* hide the menu/navigation if there's only 1 item */
/* two items */
#exhibit-pages  li:first-child:nth-last-child(2),
#exhibit-pages li:first-child:nth-last-child(2) ~ li {
    display:none;
}

/* show the menu if there's more than 1 item in the list */

#exhibit-pages li:nth-last-child(n+2) ~ div:last-child{
    display:block;
}


/* Medium and up */
@media screen and (min-width: 40em) {
/*//using the tinymce block wraps images in a p tag*/
.exhibit-items-textblock p {
    padding-top: 0;
}



}

@media screen and (max-width: 39.9375em) {
.layout-ghl-file-text .full {

    padding: 1rem 0;
}
}