/**
 * 主题11 站点 Logo 尺寸
 */
:root {
    --theme11-nav-logo-max-h: 43px;
    --theme11-nav-logo-max-w: min(170px, 34vw);
    --theme11-footer-logo-max-h: 42px;
    --theme11-footer-logo-max-w: min(160px, 32vw);
}

@media (max-width: 991.98px) {
    :root {
        --theme11-nav-logo-max-h: 35px;
        --theme11-nav-logo-max-w: min(145px, 42vw);
        --theme11-footer-logo-max-h: 34px;
        --theme11-footer-logo-max-w: min(140px, 38vw);
    }
}

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

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

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

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

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