/*
# @name: omp_edinburgh_diamond.css
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @purpose: custom CSS for a PKP site
# @website: https://books.ed.ac.uk/
# @application: OMP
# @level (site or journal): site
# @acknowledgements:
*/

@charset "UTF-8";

/* Fix sticky out menu */
.pkp_navigation_primary>li:first-child a {
    margin-left: 0;
}

/* Fix sticky out logged in box */
.pkp_navigation_user.pkp_navigation_user {
    left: -10px;
}

/* Header Image Size */
.pkp_site_name .is_img img {
    max-height: 125px;
}

/* Header Image Size, Mobile Devices and Small Screens */
@media only screen and (max-width: 768px) {

    /* Adjusts for screens smaller than 768px, typical mobile breakpoint */
    .pkp_site_name .is_img img {
        max-height: 25px;
        /* Smaller height for mobile devices */
    }
}

/* move metadata (main_entry) below download details (entry_details) on mobile */
@media (max-width: 768px) {
    .obj_monograph_full .row {
        display: flex;
        flex-direction: column;
    }
    .obj_monograph_full .main_entry {
        order: 2;
        padding-top: 1.5rem;
    }
}

.orcid_icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
}

.orcid {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}