/**
 * 主题12 站点 Logo 尺寸
 */
:root {
    --theme12-nav-logo-max-h: 47px;
    --theme12-nav-logo-max-w: min(180px, 34vw);
    --theme12-footer-logo-max-h: 44px;
    --theme12-footer-logo-max-w: min(170px, 32vw);
}

@media (max-width: 991.98px) {
    :root {
        --theme12-nav-logo-max-h: 39px;
        --theme12-nav-logo-max-w: min(155px, 42vw);
        --theme12-footer-logo-max-h: 36px;
        --theme12-footer-logo-max-w: min(150px, 38vw);
    }
}

.tocit-main-menu .logo a img {
    max-height: var(--theme12-nav-logo-max-h) !important;
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    max-width: var(--theme12-nav-logo-max-w) !important;
    object-fit: contain !important;
    object-position: left center;
}

.em_footer_area .tocit-description-area a img.logo,
.em_footer_area .tocit-description-area a img,
.em_footer_area img.logo {
    max-height: var(--theme12-footer-logo-max-h) !important;
    height: auto !important;
    width: auto !important;
    max-width: var(--theme12-footer-logo-max-w) !important;
    object-fit: contain !important;
}

header img[src*="logo/img"],
header img[src*="resource/logo"] {
    max-height: var(--theme12-nav-logo-max-h) !important;
    max-width: var(--theme12-nav-logo-max-w) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.tocit-main-menu .logo img,
.em_footer_area .tocit-description-area img,
.em_footer_area img.logo {
    background: transparent !important;
    background-image: none !important;
}

.tocit-main-menu .logo a img,
.em_footer_area .tocit-description-area a img.logo {
    background-color: transparent !important;
    background-size: auto !important;
}
