/* Removed @import rules. Ensure base.css, header.css, media-viewer.css, and dialog.css are linked in the HTML where needed. */

body {
    overflow-y: scroll;
}
the-media {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    /* overflow: hidden; */
}

the-media media-viewer {
    /* max-width: 100%; */
    align-self: center;
    padding: 0 1rem;
    margin: 0;
    overflow-y: hidden;
}

the-media.not-found {
    justify-content: center;
    align-items: center;
}
the-media.not-found p {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

/*********** MEDIA QUERIES START HERE ***********/
@media only screen and (max-width: 720px) {

}

@media only screen and (max-width: 540px) {
    the-header[type="media"] {
        flex: 0 0 3.125rem;
        height: 3.125rem;
    }
}
/*********** MEDIA QUERIES END HERE ***********/
